Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gtk+ 2.24.33.
4 #
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
90
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159 fi
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
175 ;;
176 esac
177 fi
178 "
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193 exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
211 as_have_required=yes
212 else
213 as_have_required=no
214 fi
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217 else
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222 IFS=$as_save_IFS
223 test -z "$as_dir" && as_dir=.
224 as_found=:
225 case $as_dir in #(
226 /*)
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234 break 2
235 fi
236 fi
237 done;;
238 esac
239 as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248 if test "x$CONFIG_SHELL" != x; then :
249 export CONFIG_SHELL
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258 *v*x* | *x*v* ) as_opts=-vx ;;
259 *v* ) as_opts=-v ;;
260 *x* ) as_opts=-x ;;
261 * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276 else
277 $as_echo "$0: Please tell [email protected] and
278 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
282 $0: have one."
283 fi
284 exit 1
285 fi
286 fi
287 fi
288 SHELL=${CONFIG_SHELL-/bin/sh}
289 export SHELL
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
293
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
297 # as_fn_unset VAR
298 # ---------------
299 # Portably unset VAR.
300 as_fn_unset ()
301 {
302 { eval $1=; unset $1;}
303 }
304 as_unset=as_fn_unset
305
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
309 as_fn_set_status ()
310 {
311 return $1
312 } # as_fn_set_status
313
314 # as_fn_exit STATUS
315 # -----------------
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 as_fn_exit ()
318 {
319 set +e
320 as_fn_set_status $1
321 exit $1
322 } # as_fn_exit
323
324 # as_fn_mkdir_p
325 # -------------
326 # Create "$as_dir" as a directory, including parents if necessary.
327 as_fn_mkdir_p ()
328 {
329
330 case $as_dir in #(
331 -*) as_dir=./$as_dir;;
332 esac
333 test -d "$as_dir" || eval $as_mkdir_p || {
334 as_dirs=
335 while :; do
336 case $as_dir in #(
337 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338 *) as_qdir=$as_dir;;
339 esac
340 as_dirs="'$as_qdir' $as_dirs"
341 as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
348 s//\1/
349 q
350 }
351 /^X\(\/\/\)[^/].*/{
352 s//\1/
353 q
354 }
355 /^X\(\/\/\)$/{
356 s//\1/
357 q
358 }
359 /^X\(\/\).*/{
360 s//\1/
361 q
362 }
363 s/.*/./; q'`
364 test -d "$as_dir" && break
365 done
366 test -z "$as_dirs" || eval "mkdir $as_dirs"
367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368
369
370 } # as_fn_mkdir_p
371
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
376 {
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
384 # implementations.
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386 eval 'as_fn_append ()
387 {
388 eval $1+=\$2
389 }'
390 else
391 as_fn_append ()
392 {
393 eval $1=\$$1\$2
394 }
395 fi # as_fn_append
396
397 # as_fn_arith ARG...
398 # ------------------
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
403 eval 'as_fn_arith ()
404 {
405 as_val=$(( $* ))
406 }'
407 else
408 as_fn_arith ()
409 {
410 as_val=`expr "$@" || test $? -eq 1`
411 }
412 fi # as_fn_arith
413
414
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
420 as_fn_error ()
421 {
422 as_status=$1; test $as_status -eq 0 && as_status=1
423 if test "$4"; then
424 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 fi
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit $as_status
429 } # as_fn_error
430
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001; then
433 as_expr=expr
434 else
435 as_expr=false
436 fi
437
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
439 as_basename=basename
440 else
441 as_basename=false
442 fi
443
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
445 as_dirname=dirname
446 else
447 as_dirname=false
448 fi
449
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 $as_echo X/"$0" |
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
456 s//\1/
457 q
458 }
459 /^X\/\(\/\/\)$/{
460 s//\1/
461 q
462 }
463 /^X\/\(\/\).*/{
464 s//\1/
465 q
466 }
467 s/.*/./; q'`
468
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
475
476
477 as_lineno_1=$LINENO as_lineno_1a=$LINENO
478 as_lineno_2=$LINENO as_lineno_2a=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
482 sed -n '
483 p
484 /[$]LINENO/=
485 ' <$as_myself |
486 sed '
487 s/[$]LINENO.*/&-/
488 t lineno
489 b
490 :lineno
491 N
492 :loop
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
494 t loop
495 s/-\n.*//
496 ' >$as_me.lineno &&
497 chmod +x "$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec=no; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
507 . "./$as_me.lineno"
508 # Exit status is that of the last command.
509 exit
510 }
511
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
514 -n*)
515 case `echo 'xy\c'` in
516 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
517 xy) ECHO_C='\c';;
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
519 ECHO_T=' ';;
520 esac;;
521 *)
522 ECHO_N='-n';;
523 esac
524
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527 rm -f conf$$.dir/conf$$.file
528 else
529 rm -f conf$$.dir
530 mkdir conf$$.dir 2>/dev/null
531 fi
532 if (echo >conf$$.file) 2>/dev/null; then
533 if ln -s conf$$.file conf$$ 2>/dev/null; then
534 as_ln_s='ln -s'
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 as_ln_s='cp -pR'
541 elif ln conf$$.file conf$$ 2>/dev/null; then
542 as_ln_s=ln
543 else
544 as_ln_s='cp -pR'
545 fi
546 else
547 as_ln_s='cp -pR'
548 fi
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
551
552 if mkdir -p . 2>/dev/null; then
553 as_mkdir_p='mkdir -p "$as_dir"'
554 else
555 test -d ./-p && rmdir ./-p
556 as_mkdir_p=false
557 fi
558
559 as_test_x='test -x'
560 as_executable_p=as_fn_executable_p
561
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567
568 SHELL=${CONFIG_SHELL-/bin/sh}
569
570
571 test -n "$DJDIR" || exec 7<&0 </dev/null
572 exec 6>&1
573
574 # Name of the host.
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
578
579 #
580 # Initializations.
581 #
582 ac_default_prefix=/usr/local
583 ac_clean_files=
584 ac_config_libobj_dir=.
585 LIBOBJS=
586 cross_compiling=no
587 subdirs=
588 MFLAGS=
589 MAKEFLAGS=
590
591 # Identity of this package.
592 PACKAGE_NAME='gtk+'
593 PACKAGE_TARNAME='gtk+'
594 PACKAGE_VERSION='2.24.33'
595 PACKAGE_STRING='gtk+ 2.24.33'
596 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B'
597 PACKAGE_URL=''
598
599 ac_unique_file="gdk/gdktypes.h"
600 # Factoring default headers for most tests.
601 ac_includes_default="\
602 #include <stdio.h>
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
605 #endif
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
608 #endif
609 #ifdef STDC_HEADERS
610 # include <stdlib.h>
611 # include <stddef.h>
612 #else
613 # ifdef HAVE_STDLIB_H
614 # include <stdlib.h>
615 # endif
616 #endif
617 #ifdef HAVE_STRING_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 # include <memory.h>
620 # endif
621 # include <string.h>
622 #endif
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
625 #endif
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
628 #endif
629 #ifdef HAVE_STDINT_H
630 # include <stdint.h>
631 #endif
632 #ifdef HAVE_UNISTD_H
633 # include <unistd.h>
634 #endif"
635
636 ac_header_list=
637 ac_subst_vars='am__EXEEXT_FALSE
638 am__EXEEXT_TRUE
639 LTLIBOBJS
640 LIBOBJS
641 MSVC_NO_TOOLSET_SET_FALSE
642 MSVC_NO_TOOLSET_SET_TRUE
643 MSVC_BASE_NO_TOOLSET_SET_FALSE
644 MSVC_BASE_NO_TOOLSET_SET_TRUE
645 ENABLE_MAN_FALSE
646 ENABLE_MAN_TRUE
647 XMLCATALOG
648 XML_CATALOG_FILE
649 XSLTPROC
650 HAVE_DOCBOOK_FALSE
651 HAVE_DOCBOOK_TRUE
652 DB2HTML
653 GTK_DOC_USE_REBASE_FALSE
654 GTK_DOC_USE_REBASE_TRUE
655 GTK_DOC_USE_LIBTOOL_FALSE
656 GTK_DOC_USE_LIBTOOL_TRUE
657 GTK_DOC_BUILD_PDF_FALSE
658 GTK_DOC_BUILD_PDF_TRUE
659 GTK_DOC_BUILD_HTML_FALSE
660 GTK_DOC_BUILD_HTML_TRUE
661 ENABLE_GTK_DOC_FALSE
662 ENABLE_GTK_DOC_TRUE
663 HAVE_GTK_DOC_FALSE
664 HAVE_GTK_DOC_TRUE
665 GTKDOC_DEPS_LIBS
666 GTKDOC_DEPS_CFLAGS
667 HTML_DIR
668 GTKDOC_MKPDF
669 GTKDOC_REBASE
670 GTKDOC_CHECK_PATH
671 GTKDOC_CHECK
672 HAVE_INTROSPECTION_FALSE
673 HAVE_INTROSPECTION_TRUE
674 INTROSPECTION_MAKEFILE
675 INTROSPECTION_LIBS
676 INTROSPECTION_CFLAGS
677 INTROSPECTION_TYPELIBDIR
678 INTROSPECTION_GIRDIR
679 INTROSPECTION_GENERATE
680 INTROSPECTION_COMPILER
681 INTROSPECTION_SCANNER
682 TEST_PRINT_BACKEND_FALSE
683 TEST_PRINT_BACKEND_TRUE
684 HAVE_PAPI_CUPS_FALSE
685 HAVE_PAPI_CUPS_TRUE
686 HAVE_PAPI_FALSE
687 HAVE_PAPI_TRUE
688 HAVE_HTTP_AUTHSTRING
689 CUPS_LIBS
690 CUPS_CFLAGS
691 CUPS_API_MINOR
692 CUPS_API_MAJOR
693 CUPS_CONFIG
694 HAVE_CUPS_FALSE
695 HAVE_CUPS_TRUE
696 GAIL_INET_LIBS
697 GDK_PIXBUF_LIBS
698 GTK_XIM_FLAGS
699 GTK_DEBUG_FLAGS
700 CAIRO_PREFIX
701 PANGO_PREFIX
702 ATK_PREFIX
703 GLIB_PREFIX
704 GTK_DEP_CFLAGS
705 GTK_DEP_LIBS
706 GTK_EXTRA_CFLAGS
707 GTK_EXTRA_LIBS
708 GTK_PACKAGES
709 GDK_DEP_CFLAGS
710 GDK_DEP_LIBS
711 GDK_EXTRA_CFLAGS
712 GDK_EXTRA_LIBS
713 GDK_PACKAGES
714 USE_DIRECTFB_FALSE
715 USE_DIRECTFB_TRUE
716 DIRECTFB_LIBS
717 DIRECTFB_CFLAGS
718 USE_QUARTZ_FALSE
719 USE_QUARTZ_TRUE
720 USE_WIN32_FALSE
721 USE_WIN32_TRUE
722 USE_X11_FALSE
723 USE_X11_TRUE
724 XINPUT_XFREE_FALSE
725 XINPUT_XFREE_TRUE
726 HAVE_X11R6_FALSE
727 HAVE_X11R6_TRUE
728 X_EXTRA_LIBS
729 X_LIBS
730 X_PRE_LIBS
731 X_CFLAGS
732 XMKMF
733 GDK_PIXBUF_CSOURCE
734 GTK_UPDATE_ICON_CACHE
735 CROSS_COMPILING_FALSE
736 CROSS_COMPILING_TRUE
737 USE_MEDIALIB25_FALSE
738 USE_MEDIALIB25_TRUE
739 USE_MEDIALIB_FALSE
740 USE_MEDIALIB_TRUE
741 INCLUDE_IM_XIM_FALSE
742 INCLUDE_IM_XIM_TRUE
743 INCLUDE_IM_VIQR_FALSE
744 INCLUDE_IM_VIQR_TRUE
745 INCLUDE_IM_TI_ET_FALSE
746 INCLUDE_IM_TI_ET_TRUE
747 INCLUDE_IM_TI_ER_FALSE
748 INCLUDE_IM_TI_ER_TRUE
749 INCLUDE_IM_THAI_FALSE
750 INCLUDE_IM_THAI_TRUE
751 INCLUDE_IM_QUARTZ_FALSE
752 INCLUDE_IM_QUARTZ_TRUE
753 INCLUDE_IM_MULTIPRESS_FALSE
754 INCLUDE_IM_MULTIPRESS_TRUE
755 INCLUDE_IM_IPA_FALSE
756 INCLUDE_IM_IPA_TRUE
757 INCLUDE_IM_INUKTITUT_FALSE
758 INCLUDE_IM_INUKTITUT_TRUE
759 INCLUDE_IM_IME_FALSE
760 INCLUDE_IM_IME_TRUE
761 INCLUDE_IM_CYRILLIC_TRANSLIT_FALSE
762 INCLUDE_IM_CYRILLIC_TRANSLIT_TRUE
763 INCLUDE_IM_CEDILLA_FALSE
764 INCLUDE_IM_CEDILLA_TRUE
765 INCLUDE_IM_AM_ET_FALSE
766 INCLUDE_IM_AM_ET_TRUE
767 INCLUDED_IMMODULE_DEFINE
768 INCLUDED_IMMODULE_OBJ
769 HAVE_INCLUDED_IMMMODULES_FALSE
770 HAVE_INCLUDED_IMMMODULES_TRUE
771 BUILD_DYNAMIC_MODULES_FALSE
772 BUILD_DYNAMIC_MODULES_TRUE
773 GDK_WLIBS
774 GLIB_COMPILE_RESOURCES
775 GLIB_MKENUMS
776 GOBJECT_QUERY
777 GLIB_GENMARSHAL
778 GLIB_LIBS
779 GLIB_CFLAGS
780 MATH_LIB
781 MKINSTALLDIRS
782 POSUB
783 POFILES
784 PO_IN_DATADIR_FALSE
785 PO_IN_DATADIR_TRUE
786 INTLLIBS
787 INSTOBJEXT
788 GMOFILES
789 DATADIRNAME
790 CATOBJEXT
791 CATALOGS
792 XGETTEXT
793 GMSGFMT
794 MSGFMT_OPTS
795 MSGFMT
796 INTL_MACOSX_LIBS
797 USE_NLS
798 REBUILD
799 INDENT
800 PERL
801 DISABLE_EXPLICIT_DEPS_FALSE
802 DISABLE_EXPLICIT_DEPS_TRUE
803 LIBTOOL_EXPORT_OPTIONS
804 GMODULE_LIBS
805 GMODULE_CFLAGS
806 CAIRO_BACKEND_LIBS
807 CAIRO_BACKEND_CFLAGS
808 BASE_DEPENDENCIES_LIBS
809 BASE_DEPENDENCIES_CFLAGS
810 PKG_CONFIG_LIBDIR
811 PKG_CONFIG_PATH
812 PKG_CONFIG
813 gtktargetlib
814 gdktargetlib
815 gdktarget
816 MS_LIB_AVAILABLE_FALSE
817 MS_LIB_AVAILABLE_TRUE
818 ms_librarian
819 WINDRES
820 OS_LINUX_FALSE
821 OS_LINUX_TRUE
822 OS_UNIX_FALSE
823 OS_UNIX_TRUE
824 OS_WIN32_FALSE
825 OS_WIN32_TRUE
826 PLATFORM_WIN32_FALSE
827 PLATFORM_WIN32_TRUE
828 MAINT
829 MAINTAINER_MODE_FALSE
830 MAINTAINER_MODE_TRUE
831 am__fastdepCCAS_FALSE
832 am__fastdepCCAS_TRUE
833 CCASDEPMODE
834 CCASFLAGS
835 CCAS
836 CXXCPP
837 CPP
838 LT_SYS_LIBRARY_PATH
839 OTOOL64
840 OTOOL
841 LIPO
842 NMEDIT
843 DSYMUTIL
844 MANIFEST_TOOL
845 RANLIB
846 ac_ct_AR
847 AR
848 LN_S
849 NM
850 ac_ct_DUMPBIN
851 DUMPBIN
852 LD
853 FGREP
854 EGREP
855 GREP
856 SED
857 LIBTOOL
858 OBJDUMP
859 DLLTOOL
860 AS
861 HAVE_OBJC_FALSE
862 HAVE_OBJC_TRUE
863 HAVE_CXX_FALSE
864 HAVE_CXX_TRUE
865 am__fastdepCXX_FALSE
866 am__fastdepCXX_TRUE
867 CXXDEPMODE
868 CXXFLAGS
869 ac_ct_CXX
870 CXX
871 am__fastdepCC_FALSE
872 am__fastdepCC_TRUE
873 CCDEPMODE
874 am__nodep
875 AMDEPBACKSLASH
876 AMDEP_FALSE
877 AMDEP_TRUE
878 am__include
879 DEPDIR
880 OBJEXT
881 EXEEXT
882 ac_ct_CC
883 CPPFLAGS
884 LDFLAGS
885 CFLAGS
886 CC
887 EXE_MANIFEST_ARCHITECTURE
888 LIB_EXE_MACHINE_FLAG
889 host_os
890 host_vendor
891 host_cpu
892 host
893 build_os
894 build_vendor
895 build_cpu
896 build
897 GETTEXT_PACKAGE
898 GAIL_LT_CURRENT_MINUS_AGE
899 GAIL_LT_VERSION_INFO
900 LT_CURRENT_MINUS_AGE
901 LT_VERSION_INFO
902 GTK_BINARY_VERSION
903 GTK_VERSION
904 GTK_API_VERSION
905 GTK_BINARY_AGE
906 GTK_INTERFACE_AGE
907 GTK_MICRO_VERSION
908 GTK_MINOR_VERSION
909 GTK_MAJOR_VERSION
910 AM_BACKSLASH
911 AM_DEFAULT_VERBOSITY
912 AM_DEFAULT_V
913 AM_V
914 am__untar
915 am__tar
916 AMTAR
917 am__leading_dot
918 SET_MAKE
919 AWK
920 mkdir_p
921 MKDIR_P
922 INSTALL_STRIP_PROGRAM
923 STRIP
924 install_sh
925 MAKEINFO
926 AUTOHEADER
927 AUTOMAKE
928 AUTOCONF
929 ACLOCAL
930 VERSION
931 PACKAGE
932 CYGPATH_W
933 am__isrc
934 INSTALL_DATA
935 INSTALL_SCRIPT
936 INSTALL_PROGRAM
937 target_alias
938 host_alias
939 build_alias
940 LIBS
941 ECHO_T
942 ECHO_N
943 ECHO_C
944 DEFS
945 mandir
946 localedir
947 libdir
948 psdir
949 pdfdir
950 dvidir
951 htmldir
952 infodir
953 docdir
954 oldincludedir
955 includedir
956 localstatedir
957 sharedstatedir
958 sysconfdir
959 datadir
960 datarootdir
961 libexecdir
962 sbindir
963 bindir
964 program_transform_name
965 prefix
966 exec_prefix
967 PACKAGE_URL
968 PACKAGE_BUGREPORT
969 PACKAGE_STRING
970 PACKAGE_VERSION
971 PACKAGE_TARNAME
972 PACKAGE_NAME
973 PATH_SEPARATOR
974 SHELL
975 am__quote'
976 ac_subst_files=''
977 ac_user_opts='
978 enable_option_checking
979 enable_silent_rules
980 enable_dependency_tracking
981 enable_static
982 enable_shared
983 with_pic
984 enable_fast_install
985 with_aix_soname
986 with_gnu_ld
987 with_sysroot
988 enable_libtool_lock
989 enable_largefile
990 enable_maintainer_mode
991 enable_debug
992 enable_shm
993 enable_xkb
994 enable_xinerama
995 enable_rebuilds
996 enable_visibility
997 with_xinput
998 with_gdktarget
999 enable_explicit_deps
1000 enable_glibtest
1001 enable_modules
1002 with_included_immodules
1003 with_x
1004 enable_quartz_relocation
1005 enable_cups
1006 enable_papi
1007 enable_test_print_backend
1008 enable_introspection
1009 with_html_dir
1010 enable_gtk_doc
1011 enable_gtk_doc_html
1012 enable_gtk_doc_pdf
1013 enable_man
1014 with_xml_catalog
1015 '
1016 ac_precious_vars='build_alias
1017 host_alias
1018 target_alias
1019 CC
1020 CFLAGS
1021 LDFLAGS
1022 LIBS
1023 CPPFLAGS
1024 CXX
1025 CXXFLAGS
1026 CCC
1027 LT_SYS_LIBRARY_PATH
1028 CPP
1029 CXXCPP
1030 CCAS
1031 CCASFLAGS
1032 PKG_CONFIG
1033 PKG_CONFIG_PATH
1034 PKG_CONFIG_LIBDIR
1035 BASE_DEPENDENCIES_CFLAGS
1036 BASE_DEPENDENCIES_LIBS
1037 CAIRO_BACKEND_CFLAGS
1038 CAIRO_BACKEND_LIBS
1039 GMODULE_CFLAGS
1040 GMODULE_LIBS
1041 GLIB_CFLAGS
1042 GLIB_LIBS
1043 GLIB_GENMARSHAL
1044 GOBJECT_QUERY
1045 GLIB_MKENUMS
1046 GLIB_COMPILE_RESOURCES
1047 XMKMF
1048 DIRECTFB_CFLAGS
1049 DIRECTFB_LIBS
1050 GTKDOC_DEPS_CFLAGS
1051 GTKDOC_DEPS_LIBS'
1052
1053
1054 # Initialize some variables set by options.
1055 ac_init_help=
1056 ac_init_version=false
1057 ac_unrecognized_opts=
1058 ac_unrecognized_sep=
1059 # The variables have the same names as the options, with
1060 # dashes changed to underlines.
1061 cache_file=/dev/null
1062 exec_prefix=NONE
1063 no_create=
1064 no_recursion=
1065 prefix=NONE
1066 program_prefix=NONE
1067 program_suffix=NONE
1068 program_transform_name=s,x,x,
1069 silent=
1070 site=
1071 srcdir=
1072 verbose=
1073 x_includes=NONE
1074 x_libraries=NONE
1075
1076 # Installation directory options.
1077 # These are left unexpanded so users can "make install exec_prefix=/foo"
1078 # and all the variables that are supposed to be based on exec_prefix
1079 # by default will actually change.
1080 # Use braces instead of parens because sh, perl, etc. also accept them.
1081 # (The list follows the same order as the GNU Coding Standards.)
1082 bindir='${exec_prefix}/bin'
1083 sbindir='${exec_prefix}/sbin'
1084 libexecdir='${exec_prefix}/libexec'
1085 datarootdir='${prefix}/share'
1086 datadir='${datarootdir}'
1087 sysconfdir='${prefix}/etc'
1088 sharedstatedir='${prefix}/com'
1089 localstatedir='${prefix}/var'
1090 includedir='${prefix}/include'
1091 oldincludedir='/usr/include'
1092 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1093 infodir='${datarootdir}/info'
1094 htmldir='${docdir}'
1095 dvidir='${docdir}'
1096 pdfdir='${docdir}'
1097 psdir='${docdir}'
1098 libdir='${exec_prefix}/lib'
1099 localedir='${datarootdir}/locale'
1100 mandir='${datarootdir}/man'
1101
1102 ac_prev=
1103 ac_dashdash=
1104 for ac_option
1105 do
1106 # If the previous option needs an argument, assign it.
1107 if test -n "$ac_prev"; then
1108 eval $ac_prev=\$ac_option
1109 ac_prev=
1110 continue
1111 fi
1112
1113 case $ac_option in
1114 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1115 *=) ac_optarg= ;;
1116 *) ac_optarg=yes ;;
1117 esac
1118
1119 # Accept the important Cygnus configure options, so we can diagnose typos.
1120
1121 case $ac_dashdash$ac_option in
1122 --)
1123 ac_dashdash=yes ;;
1124
1125 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1126 ac_prev=bindir ;;
1127 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1128 bindir=$ac_optarg ;;
1129
1130 -build | --build | --buil | --bui | --bu)
1131 ac_prev=build_alias ;;
1132 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1133 build_alias=$ac_optarg ;;
1134
1135 -cache-file | --cache-file | --cache-fil | --cache-fi \
1136 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1137 ac_prev=cache_file ;;
1138 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1139 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1140 cache_file=$ac_optarg ;;
1141
1142 --config-cache | -C)
1143 cache_file=config.cache ;;
1144
1145 -datadir | --datadir | --datadi | --datad)
1146 ac_prev=datadir ;;
1147 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1148 datadir=$ac_optarg ;;
1149
1150 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1151 | --dataroo | --dataro | --datar)
1152 ac_prev=datarootdir ;;
1153 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1154 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1155 datarootdir=$ac_optarg ;;
1156
1157 -disable-* | --disable-*)
1158 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1159 # Reject names that are not valid shell variable names.
1160 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1161 as_fn_error $? "invalid feature name: $ac_useropt"
1162 ac_useropt_orig=$ac_useropt
1163 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1164 case $ac_user_opts in
1165 *"
1166 "enable_$ac_useropt"
1167 "*) ;;
1168 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1169 ac_unrecognized_sep=', ';;
1170 esac
1171 eval enable_$ac_useropt=no ;;
1172
1173 -docdir | --docdir | --docdi | --doc | --do)
1174 ac_prev=docdir ;;
1175 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1176 docdir=$ac_optarg ;;
1177
1178 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1179 ac_prev=dvidir ;;
1180 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1181 dvidir=$ac_optarg ;;
1182
1183 -enable-* | --enable-*)
1184 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1185 # Reject names that are not valid shell variable names.
1186 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1187 as_fn_error $? "invalid feature name: $ac_useropt"
1188 ac_useropt_orig=$ac_useropt
1189 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1190 case $ac_user_opts in
1191 *"
1192 "enable_$ac_useropt"
1193 "*) ;;
1194 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1195 ac_unrecognized_sep=', ';;
1196 esac
1197 eval enable_$ac_useropt=\$ac_optarg ;;
1198
1199 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1200 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1201 | --exec | --exe | --ex)
1202 ac_prev=exec_prefix ;;
1203 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1204 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1205 | --exec=* | --exe=* | --ex=*)
1206 exec_prefix=$ac_optarg ;;
1207
1208 -gas | --gas | --ga | --g)
1209 # Obsolete; use --with-gas.
1210 with_gas=yes ;;
1211
1212 -help | --help | --hel | --he | -h)
1213 ac_init_help=long ;;
1214 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1215 ac_init_help=recursive ;;
1216 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1217 ac_init_help=short ;;
1218
1219 -host | --host | --hos | --ho)
1220 ac_prev=host_alias ;;
1221 -host=* | --host=* | --hos=* | --ho=*)
1222 host_alias=$ac_optarg ;;
1223
1224 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1225 ac_prev=htmldir ;;
1226 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1227 | --ht=*)
1228 htmldir=$ac_optarg ;;
1229
1230 -includedir | --includedir | --includedi | --included | --include \
1231 | --includ | --inclu | --incl | --inc)
1232 ac_prev=includedir ;;
1233 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1234 | --includ=* | --inclu=* | --incl=* | --inc=*)
1235 includedir=$ac_optarg ;;
1236
1237 -infodir | --infodir | --infodi | --infod | --info | --inf)
1238 ac_prev=infodir ;;
1239 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1240 infodir=$ac_optarg ;;
1241
1242 -libdir | --libdir | --libdi | --libd)
1243 ac_prev=libdir ;;
1244 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1245 libdir=$ac_optarg ;;
1246
1247 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1248 | --libexe | --libex | --libe)
1249 ac_prev=libexecdir ;;
1250 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1251 | --libexe=* | --libex=* | --libe=*)
1252 libexecdir=$ac_optarg ;;
1253
1254 -localedir | --localedir | --localedi | --localed | --locale)
1255 ac_prev=localedir ;;
1256 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1257 localedir=$ac_optarg ;;
1258
1259 -localstatedir | --localstatedir | --localstatedi | --localstated \
1260 | --localstate | --localstat | --localsta | --localst | --locals)
1261 ac_prev=localstatedir ;;
1262 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1263 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1264 localstatedir=$ac_optarg ;;
1265
1266 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1267 ac_prev=mandir ;;
1268 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1269 mandir=$ac_optarg ;;
1270
1271 -nfp | --nfp | --nf)
1272 # Obsolete; use --without-fp.
1273 with_fp=no ;;
1274
1275 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1276 | --no-cr | --no-c | -n)
1277 no_create=yes ;;
1278
1279 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1280 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1281 no_recursion=yes ;;
1282
1283 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1284 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1285 | --oldin | --oldi | --old | --ol | --o)
1286 ac_prev=oldincludedir ;;
1287 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1288 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1289 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1290 oldincludedir=$ac_optarg ;;
1291
1292 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1293 ac_prev=prefix ;;
1294 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1295 prefix=$ac_optarg ;;
1296
1297 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1298 | --program-pre | --program-pr | --program-p)
1299 ac_prev=program_prefix ;;
1300 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1301 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1302 program_prefix=$ac_optarg ;;
1303
1304 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1305 | --program-suf | --program-su | --program-s)
1306 ac_prev=program_suffix ;;
1307 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1308 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1309 program_suffix=$ac_optarg ;;
1310
1311 -program-transform-name | --program-transform-name \
1312 | --program-transform-nam | --program-transform-na \
1313 | --program-transform-n | --program-transform- \
1314 | --program-transform | --program-transfor \
1315 | --program-transfo | --program-transf \
1316 | --program-trans | --program-tran \
1317 | --progr-tra | --program-tr | --program-t)
1318 ac_prev=program_transform_name ;;
1319 -program-transform-name=* | --program-transform-name=* \
1320 | --program-transform-nam=* | --program-transform-na=* \
1321 | --program-transform-n=* | --program-transform-=* \
1322 | --program-transform=* | --program-transfor=* \
1323 | --program-transfo=* | --program-transf=* \
1324 | --program-trans=* | --program-tran=* \
1325 | --progr-tra=* | --program-tr=* | --program-t=*)
1326 program_transform_name=$ac_optarg ;;
1327
1328 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1329 ac_prev=pdfdir ;;
1330 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1331 pdfdir=$ac_optarg ;;
1332
1333 -psdir | --psdir | --psdi | --psd | --ps)
1334 ac_prev=psdir ;;
1335 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1336 psdir=$ac_optarg ;;
1337
1338 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1339 | -silent | --silent | --silen | --sile | --sil)
1340 silent=yes ;;
1341
1342 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1343 ac_prev=sbindir ;;
1344 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1345 | --sbi=* | --sb=*)
1346 sbindir=$ac_optarg ;;
1347
1348 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1349 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1350 | --sharedst | --shareds | --shared | --share | --shar \
1351 | --sha | --sh)
1352 ac_prev=sharedstatedir ;;
1353 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1354 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1355 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1356 | --sha=* | --sh=*)
1357 sharedstatedir=$ac_optarg ;;
1358
1359 -site | --site | --sit)
1360 ac_prev=site ;;
1361 -site=* | --site=* | --sit=*)
1362 site=$ac_optarg ;;
1363
1364 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1365 ac_prev=srcdir ;;
1366 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1367 srcdir=$ac_optarg ;;
1368
1369 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1370 | --syscon | --sysco | --sysc | --sys | --sy)
1371 ac_prev=sysconfdir ;;
1372 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1373 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1374 sysconfdir=$ac_optarg ;;
1375
1376 -target | --target | --targe | --targ | --tar | --ta | --t)
1377 ac_prev=target_alias ;;
1378 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1379 target_alias=$ac_optarg ;;
1380
1381 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1382 verbose=yes ;;
1383
1384 -version | --version | --versio | --versi | --vers | -V)
1385 ac_init_version=: ;;
1386
1387 -with-* | --with-*)
1388 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1389 # Reject names that are not valid shell variable names.
1390 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1391 as_fn_error $? "invalid package name: $ac_useropt"
1392 ac_useropt_orig=$ac_useropt
1393 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1394 case $ac_user_opts in
1395 *"
1396 "with_$ac_useropt"
1397 "*) ;;
1398 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1399 ac_unrecognized_sep=', ';;
1400 esac
1401 eval with_$ac_useropt=\$ac_optarg ;;
1402
1403 -without-* | --without-*)
1404 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1405 # Reject names that are not valid shell variable names.
1406 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1407 as_fn_error $? "invalid package name: $ac_useropt"
1408 ac_useropt_orig=$ac_useropt
1409 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1410 case $ac_user_opts in
1411 *"
1412 "with_$ac_useropt"
1413 "*) ;;
1414 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1415 ac_unrecognized_sep=', ';;
1416 esac
1417 eval with_$ac_useropt=no ;;
1418
1419 --x)
1420 # Obsolete; use --with-x.
1421 with_x=yes ;;
1422
1423 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1424 | --x-incl | --x-inc | --x-in | --x-i)
1425 ac_prev=x_includes ;;
1426 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1427 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1428 x_includes=$ac_optarg ;;
1429
1430 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1431 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1432 ac_prev=x_libraries ;;
1433 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1434 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1435 x_libraries=$ac_optarg ;;
1436
1437 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1438 Try \`$0 --help' for more information"
1439 ;;
1440
1441 *=*)
1442 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1443 # Reject names that are not valid shell variable names.
1444 case $ac_envvar in #(
1445 '' | [0-9]* | *[!_$as_cr_alnum]* )
1446 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1447 esac
1448 eval $ac_envvar=\$ac_optarg
1449 export $ac_envvar ;;
1450
1451 *)
1452 # FIXME: should be removed in autoconf 3.0.
1453 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1454 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1455 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1456 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1457 ;;
1458
1459 esac
1460 done
1461
1462 if test -n "$ac_prev"; then
1463 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1464 as_fn_error $? "missing argument to $ac_option"
1465 fi
1466
1467 if test -n "$ac_unrecognized_opts"; then
1468 case $enable_option_checking in
1469 no) ;;
1470 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1471 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1472 esac
1473 fi
1474
1475 # Check all directory arguments for consistency.
1476 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1477 datadir sysconfdir sharedstatedir localstatedir includedir \
1478 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1479 libdir localedir mandir
1480 do
1481 eval ac_val=\$$ac_var
1482 # Remove trailing slashes.
1483 case $ac_val in
1484 */ )
1485 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1486 eval $ac_var=\$ac_val;;
1487 esac
1488 # Be sure to have absolute directory names.
1489 case $ac_val in
1490 [\\/$]* | ?:[\\/]* ) continue;;
1491 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1492 esac
1493 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1494 done
1495
1496 # There might be people who depend on the old broken behavior: `$host'
1497 # used to hold the argument of --host etc.
1498 # FIXME: To remove some day.
1499 build=$build_alias
1500 host=$host_alias
1501 target=$target_alias
1502
1503 # FIXME: To remove some day.
1504 if test "x$host_alias" != x; then
1505 if test "x$build_alias" = x; then
1506 cross_compiling=maybe
1507 elif test "x$build_alias" != "x$host_alias"; then
1508 cross_compiling=yes
1509 fi
1510 fi
1511
1512 ac_tool_prefix=
1513 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1514
1515 test "$silent" = yes && exec 6>/dev/null
1516
1517
1518 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1519 ac_ls_di=`ls -di .` &&
1520 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1521 as_fn_error $? "working directory cannot be determined"
1522 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1523 as_fn_error $? "pwd does not report name of working directory"
1524
1525
1526 # Find the source files, if location was not specified.
1527 if test -z "$srcdir"; then
1528 ac_srcdir_defaulted=yes
1529 # Try the directory containing this script, then the parent directory.
1530 ac_confdir=`$as_dirname -- "$as_myself" ||
1531 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1532 X"$as_myself" : 'X\(//\)[^/]' \| \
1533 X"$as_myself" : 'X\(//\)$' \| \
1534 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1535 $as_echo X"$as_myself" |
1536 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1537 s//\1/
1538 q
1539 }
1540 /^X\(\/\/\)[^/].*/{
1541 s//\1/
1542 q
1543 }
1544 /^X\(\/\/\)$/{
1545 s//\1/
1546 q
1547 }
1548 /^X\(\/\).*/{
1549 s//\1/
1550 q
1551 }
1552 s/.*/./; q'`
1553 srcdir=$ac_confdir
1554 if test ! -r "$srcdir/$ac_unique_file"; then
1555 srcdir=..
1556 fi
1557 else
1558 ac_srcdir_defaulted=no
1559 fi
1560 if test ! -r "$srcdir/$ac_unique_file"; then
1561 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1562 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1563 fi
1564 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1565 ac_abs_confdir=`(
1566 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1567 pwd)`
1568 # When building in place, set srcdir=.
1569 if test "$ac_abs_confdir" = "$ac_pwd"; then
1570 srcdir=.
1571 fi
1572 # Remove unnecessary trailing slashes from srcdir.
1573 # Double slashes in file names in object file debugging info
1574 # mess up M-x gdb in Emacs.
1575 case $srcdir in
1576 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1577 esac
1578 for ac_var in $ac_precious_vars; do
1579 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1580 eval ac_env_${ac_var}_value=\$${ac_var}
1581 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1582 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1583 done
1584
1585 #
1586 # Report the --help message.
1587 #
1588 if test "$ac_init_help" = "long"; then
1589 # Omit some internal or obsolete options to make the list less imposing.
1590 # This message is too long to be a string in the A/UX 3.1 sh.
1591 cat <<_ACEOF
1592 \`configure' configures gtk+ 2.24.33 to adapt to many kinds of systems.
1593
1594 Usage: $0 [OPTION]... [VAR=VALUE]...
1595
1596 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1597 VAR=VALUE. See below for descriptions of some of the useful variables.
1598
1599 Defaults for the options are specified in brackets.
1600
1601 Configuration:
1602 -h, --help display this help and exit
1603 --help=short display options specific to this package
1604 --help=recursive display the short help of all the included packages
1605 -V, --version display version information and exit
1606 -q, --quiet, --silent do not print \`checking ...' messages
1607 --cache-file=FILE cache test results in FILE [disabled]
1608 -C, --config-cache alias for \`--cache-file=config.cache'
1609 -n, --no-create do not create output files
1610 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1611
1612 Installation directories:
1613 --prefix=PREFIX install architecture-independent files in PREFIX
1614 [$ac_default_prefix]
1615 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1616 [PREFIX]
1617
1618 By default, \`make install' will install all the files in
1619 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1620 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1621 for instance \`--prefix=\$HOME'.
1622
1623 For better control, use the options below.
1624
1625 Fine tuning of the installation directories:
1626 --bindir=DIR user executables [EPREFIX/bin]
1627 --sbindir=DIR system admin executables [EPREFIX/sbin]
1628 --libexecdir=DIR program executables [EPREFIX/libexec]
1629 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1630 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1631 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1632 --libdir=DIR object code libraries [EPREFIX/lib]
1633 --includedir=DIR C header files [PREFIX/include]
1634 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1635 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1636 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1637 --infodir=DIR info documentation [DATAROOTDIR/info]
1638 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1639 --mandir=DIR man documentation [DATAROOTDIR/man]
1640 --docdir=DIR documentation root [DATAROOTDIR/doc/gtk+]
1641 --htmldir=DIR html documentation [DOCDIR]
1642 --dvidir=DIR dvi documentation [DOCDIR]
1643 --pdfdir=DIR pdf documentation [DOCDIR]
1644 --psdir=DIR ps documentation [DOCDIR]
1645 _ACEOF
1646
1647 cat <<\_ACEOF
1648
1649 Program names:
1650 --program-prefix=PREFIX prepend PREFIX to installed program names
1651 --program-suffix=SUFFIX append SUFFIX to installed program names
1652 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1653
1654 X features:
1655 --x-includes=DIR X include files are in DIR
1656 --x-libraries=DIR X library files are in DIR
1657
1658 System types:
1659 --build=BUILD configure for building on BUILD [guessed]
1660 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1661 _ACEOF
1662 fi
1663
1664 if test -n "$ac_init_help"; then
1665 case $ac_init_help in
1666 short | recursive ) echo "Configuration of gtk+ 2.24.33:";;
1667 esac
1668 cat <<\_ACEOF
1669
1670 Optional Features:
1671 --disable-option-checking ignore unrecognized --enable/--with options
1672 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1673 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1674 --enable-silent-rules less verbose build output (undo: "make V=1")
1675 --disable-silent-rules verbose build output (undo: "make V=0")
1676 --enable-dependency-tracking
1677 do not reject slow dependency extractors
1678 --disable-dependency-tracking
1679 speeds up one-time build
1680 --enable-static[=PKGS] build static libraries [default=no]
1681 --enable-shared[=PKGS] build shared libraries [default=yes]
1682 --enable-fast-install[=PKGS]
1683 optimize for fast installation [default=yes]
1684 --disable-libtool-lock avoid locking (might break parallel builds)
1685 --disable-largefile omit support for large files
1686 --disable-maintainer-mode
1687 disable make rules and dependencies not useful (and
1688 sometimes confusing) to the casual installer
1689 --enable-debug=[no/minimum/yes]
1690 turn on debugging [default=minimum]
1691 --enable-shm support shared memory if available [default=yes]
1692 --enable-xkb support XKB [default=maybe]
1693 --enable-xinerama support xinerama extension if available
1694 [default=yes]
1695 --disable-rebuilds disable all source autogeneration rules
1696 --disable-visibility don't use ELF visibility attributes
1697 --enable-explicit-deps=[yes/no/auto]
1698 use explicit dependencies in .pc files
1699 [default=auto]
1700 --disable-glibtest do not try to compile and run a test GLIB program
1701 --disable-modules disable dynamic module loading
1702 --enable-quartz-relocation
1703 enable bundle-based relocation functions
1704 --disable-cups
1705 disable cups print backend
1706
1707 --disable-papi
1708 disable papi print backend
1709
1710 --enable-test-print-backend
1711 build test print backend
1712 --enable-introspection=[no/auto/yes]
1713 Enable introspection for this build
1714 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1715 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1716 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1717 --enable-man regenerate man pages from Docbook [default=no]
1718
1719 Optional Packages:
1720 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1721 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1722 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1723 both]
1724 --with-aix-soname=aix|svr4|both
1725 shared library versioning (aka "SONAME") variant to
1726 provide on AIX, [default=aix].
1727 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1728 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1729 compiler's sysroot if not specified).
1730 --with-xinput=[no/yes] support XInput
1731 --with-gdktarget=[x11/win32/quartz/directfb] select non-default GDK target
1732 --with-included-immodules=MODULE1,MODULE2,...
1733 build the specified input methods into gtk
1734 --with-x use the X Window System
1735 --with-html-dir=PATH path to installed docs
1736 --with-xml-catalog=CATALOG
1737 path to xml catalog to use
1738
1739 Some influential environment variables:
1740 CC C compiler command
1741 CFLAGS C compiler flags
1742 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1743 nonstandard directory <lib dir>
1744 LIBS libraries to pass to the linker, e.g. -l<library>
1745 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1746 you have headers in a nonstandard directory <include dir>
1747 CXX C++ compiler command
1748 CXXFLAGS C++ compiler flags
1749 LT_SYS_LIBRARY_PATH
1750 User-defined run-time library search path.
1751 CPP C preprocessor
1752 CXXCPP C++ preprocessor
1753 CCAS assembler compiler command (defaults to CC)
1754 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1755 PKG_CONFIG path to pkg-config utility
1756 PKG_CONFIG_PATH
1757 directories to add to pkg-config's search path
1758 PKG_CONFIG_LIBDIR
1759 path overriding pkg-config's built-in search path
1760 BASE_DEPENDENCIES_CFLAGS
1761 C compiler flags for BASE_DEPENDENCIES, overriding pkg-config
1762 BASE_DEPENDENCIES_LIBS
1763 linker flags for BASE_DEPENDENCIES, overriding pkg-config
1764 CAIRO_BACKEND_CFLAGS
1765 C compiler flags for CAIRO_BACKEND, overriding pkg-config
1766 CAIRO_BACKEND_LIBS
1767 linker flags for CAIRO_BACKEND, overriding pkg-config
1768 GMODULE_CFLAGS
1769 C compiler flags for GMODULE, overriding pkg-config
1770 GMODULE_LIBS
1771 linker flags for GMODULE, overriding pkg-config
1772 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1773 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1774 GLIB_GENMARSHAL
1775 value of glib_genmarshal for glib-2.0, overriding pkg-config
1776 GOBJECT_QUERY
1777 value of gobject_query for glib-2.0, overriding pkg-config
1778 GLIB_MKENUMS
1779 value of glib_mkenums for glib-2.0, overriding pkg-config
1780 GLIB_COMPILE_RESOURCES
1781 value of glib_compile_resources for gio-2.0, overriding
1782 pkg-config
1783 XMKMF Path to xmkmf, Makefile generator for X Window System
1784 DIRECTFB_CFLAGS
1785 C compiler flags for DIRECTFB, overriding pkg-config
1786 DIRECTFB_LIBS
1787 linker flags for DIRECTFB, overriding pkg-config
1788 GTKDOC_DEPS_CFLAGS
1789 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1790 GTKDOC_DEPS_LIBS
1791 linker flags for GTKDOC_DEPS, overriding pkg-config
1792
1793 Use these variables to override the choices made by `configure' or to help
1794 it to find libraries and programs with nonstandard names/locations.
1795
1796 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B>.
1797 _ACEOF
1798 ac_status=$?
1799 fi
1800
1801 if test "$ac_init_help" = "recursive"; then
1802 # If there are subdirs, report their specific --help.
1803 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1804 test -d "$ac_dir" ||
1805 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1806 continue
1807 ac_builddir=.
1808
1809 case "$ac_dir" in
1810 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1811 *)
1812 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1813 # A ".." for each directory in $ac_dir_suffix.
1814 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1815 case $ac_top_builddir_sub in
1816 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1817 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1818 esac ;;
1819 esac
1820 ac_abs_top_builddir=$ac_pwd
1821 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1822 # for backward compatibility:
1823 ac_top_builddir=$ac_top_build_prefix
1824
1825 case $srcdir in
1826 .) # We are building in place.
1827 ac_srcdir=.
1828 ac_top_srcdir=$ac_top_builddir_sub
1829 ac_abs_top_srcdir=$ac_pwd ;;
1830 [\\/]* | ?:[\\/]* ) # Absolute name.
1831 ac_srcdir=$srcdir$ac_dir_suffix;
1832 ac_top_srcdir=$srcdir
1833 ac_abs_top_srcdir=$srcdir ;;
1834 *) # Relative name.
1835 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1836 ac_top_srcdir=$ac_top_build_prefix$srcdir
1837 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1838 esac
1839 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1840
1841 cd "$ac_dir" || { ac_status=$?; continue; }
1842 # Check for guested configure.
1843 if test -f "$ac_srcdir/configure.gnu"; then
1844 echo &&
1845 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1846 elif test -f "$ac_srcdir/configure"; then
1847 echo &&
1848 $SHELL "$ac_srcdir/configure" --help=recursive
1849 else
1850 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1851 fi || ac_status=$?
1852 cd "$ac_pwd" || { ac_status=$?; break; }
1853 done
1854 fi
1855
1856 test -n "$ac_init_help" && exit $ac_status
1857 if $ac_init_version; then
1858 cat <<\_ACEOF
1859 gtk+ configure 2.24.33
1860 generated by GNU Autoconf 2.69
1861
1862 Copyright (C) 2012 Free Software Foundation, Inc.
1863 This configure script is free software; the Free Software Foundation
1864 gives unlimited permission to copy, distribute and modify it.
1865 _ACEOF
1866 exit
1867 fi
1868
1869 ## ------------------------ ##
1870 ## Autoconf initialization. ##
1871 ## ------------------------ ##
1872
1873 # ac_fn_c_try_compile LINENO
1874 # --------------------------
1875 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1876 ac_fn_c_try_compile ()
1877 {
1878 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1879 rm -f conftest.$ac_objext
1880 if { { ac_try="$ac_compile"
1881 case "(($ac_try" in
1882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1883 *) ac_try_echo=$ac_try;;
1884 esac
1885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1886 $as_echo "$ac_try_echo"; } >&5
1887 (eval "$ac_compile") 2>conftest.err
1888 ac_status=$?
1889 if test -s conftest.err; then
1890 grep -v '^ *+' conftest.err >conftest.er1
1891 cat conftest.er1 >&5
1892 mv -f conftest.er1 conftest.err
1893 fi
1894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1895 test $ac_status = 0; } && {
1896 test -z "$ac_c_werror_flag" ||
1897 test ! -s conftest.err
1898 } && test -s conftest.$ac_objext; then :
1899 ac_retval=0
1900 else
1901 $as_echo "$as_me: failed program was:" >&5
1902 sed 's/^/| /' conftest.$ac_ext >&5
1903
1904 ac_retval=1
1905 fi
1906 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1907 as_fn_set_status $ac_retval
1908
1909 } # ac_fn_c_try_compile
1910
1911 # ac_fn_cxx_try_compile LINENO
1912 # ----------------------------
1913 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1914 ac_fn_cxx_try_compile ()
1915 {
1916 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1917 rm -f conftest.$ac_objext
1918 if { { ac_try="$ac_compile"
1919 case "(($ac_try" in
1920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1921 *) ac_try_echo=$ac_try;;
1922 esac
1923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1924 $as_echo "$ac_try_echo"; } >&5
1925 (eval "$ac_compile") 2>conftest.err
1926 ac_status=$?
1927 if test -s conftest.err; then
1928 grep -v '^ *+' conftest.err >conftest.er1
1929 cat conftest.er1 >&5
1930 mv -f conftest.er1 conftest.err
1931 fi
1932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1933 test $ac_status = 0; } && {
1934 test -z "$ac_cxx_werror_flag" ||
1935 test ! -s conftest.err
1936 } && test -s conftest.$ac_objext; then :
1937 ac_retval=0
1938 else
1939 $as_echo "$as_me: failed program was:" >&5
1940 sed 's/^/| /' conftest.$ac_ext >&5
1941
1942 ac_retval=1
1943 fi
1944 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1945 as_fn_set_status $ac_retval
1946
1947 } # ac_fn_cxx_try_compile
1948
1949 # ac_fn_c_try_link LINENO
1950 # -----------------------
1951 # Try to link conftest.$ac_ext, and return whether this succeeded.
1952 ac_fn_c_try_link ()
1953 {
1954 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1955 rm -f conftest.$ac_objext conftest$ac_exeext
1956 if { { ac_try="$ac_link"
1957 case "(($ac_try" in
1958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1959 *) ac_try_echo=$ac_try;;
1960 esac
1961 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1962 $as_echo "$ac_try_echo"; } >&5
1963 (eval "$ac_link") 2>conftest.err
1964 ac_status=$?
1965 if test -s conftest.err; then
1966 grep -v '^ *+' conftest.err >conftest.er1
1967 cat conftest.er1 >&5
1968 mv -f conftest.er1 conftest.err
1969 fi
1970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1971 test $ac_status = 0; } && {
1972 test -z "$ac_c_werror_flag" ||
1973 test ! -s conftest.err
1974 } && test -s conftest$ac_exeext && {
1975 test "$cross_compiling" = yes ||
1976 test -x conftest$ac_exeext
1977 }; then :
1978 ac_retval=0
1979 else
1980 $as_echo "$as_me: failed program was:" >&5
1981 sed 's/^/| /' conftest.$ac_ext >&5
1982
1983 ac_retval=1
1984 fi
1985 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1986 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1987 # interfere with the next link command; also delete a directory that is
1988 # left behind by Apple's compiler. We do this before executing the actions.
1989 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1990 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1991 as_fn_set_status $ac_retval
1992
1993 } # ac_fn_c_try_link
1994
1995 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1996 # -------------------------------------------------------
1997 # Tests whether HEADER exists and can be compiled using the include files in
1998 # INCLUDES, setting the cache variable VAR accordingly.
1999 ac_fn_c_check_header_compile ()
2000 {
2001 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2003 $as_echo_n "checking for $2... " >&6; }
2004 if eval \${$3+:} false; then :
2005 $as_echo_n "(cached) " >&6
2006 else
2007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2008 /* end confdefs.h. */
2009 $4
2010 #include <$2>
2011 _ACEOF
2012 if ac_fn_c_try_compile "$LINENO"; then :
2013 eval "$3=yes"
2014 else
2015 eval "$3=no"
2016 fi
2017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2018 fi
2019 eval ac_res=\$$3
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2021 $as_echo "$ac_res" >&6; }
2022 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2023
2024 } # ac_fn_c_check_header_compile
2025
2026 # ac_fn_c_try_cpp LINENO
2027 # ----------------------
2028 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2029 ac_fn_c_try_cpp ()
2030 {
2031 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2032 if { { ac_try="$ac_cpp conftest.$ac_ext"
2033 case "(($ac_try" in
2034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2035 *) ac_try_echo=$ac_try;;
2036 esac
2037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2038 $as_echo "$ac_try_echo"; } >&5
2039 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2040 ac_status=$?
2041 if test -s conftest.err; then
2042 grep -v '^ *+' conftest.err >conftest.er1
2043 cat conftest.er1 >&5
2044 mv -f conftest.er1 conftest.err
2045 fi
2046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2047 test $ac_status = 0; } > conftest.i && {
2048 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2049 test ! -s conftest.err
2050 }; then :
2051 ac_retval=0
2052 else
2053 $as_echo "$as_me: failed program was:" >&5
2054 sed 's/^/| /' conftest.$ac_ext >&5
2055
2056 ac_retval=1
2057 fi
2058 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2059 as_fn_set_status $ac_retval
2060
2061 } # ac_fn_c_try_cpp
2062
2063 # ac_fn_c_try_run LINENO
2064 # ----------------------
2065 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2066 # that executables *can* be run.
2067 ac_fn_c_try_run ()
2068 {
2069 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2070 if { { ac_try="$ac_link"
2071 case "(($ac_try" in
2072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2073 *) ac_try_echo=$ac_try;;
2074 esac
2075 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2076 $as_echo "$ac_try_echo"; } >&5
2077 (eval "$ac_link") 2>&5
2078 ac_status=$?
2079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2080 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2081 { { case "(($ac_try" in
2082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2083 *) ac_try_echo=$ac_try;;
2084 esac
2085 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2086 $as_echo "$ac_try_echo"; } >&5
2087 (eval "$ac_try") 2>&5
2088 ac_status=$?
2089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2090 test $ac_status = 0; }; }; then :
2091 ac_retval=0
2092 else
2093 $as_echo "$as_me: program exited with status $ac_status" >&5
2094 $as_echo "$as_me: failed program was:" >&5
2095 sed 's/^/| /' conftest.$ac_ext >&5
2096
2097 ac_retval=$ac_status
2098 fi
2099 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2100 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2101 as_fn_set_status $ac_retval
2102
2103 } # ac_fn_c_try_run
2104
2105 # ac_fn_c_check_func LINENO FUNC VAR
2106 # ----------------------------------
2107 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2108 ac_fn_c_check_func ()
2109 {
2110 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2112 $as_echo_n "checking for $2... " >&6; }
2113 if eval \${$3+:} false; then :
2114 $as_echo_n "(cached) " >&6
2115 else
2116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2117 /* end confdefs.h. */
2118 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2120 #define $2 innocuous_$2
2121
2122 /* System header to define __stub macros and hopefully few prototypes,
2123 which can conflict with char $2 (); below.
2124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2125 <limits.h> exists even on freestanding compilers. */
2126
2127 #ifdef __STDC__
2128 # include <limits.h>
2129 #else
2130 # include <assert.h>
2131 #endif
2132
2133 #undef $2
2134
2135 /* Override any GCC internal prototype to avoid an error.
2136 Use char because int might match the return type of a GCC
2137 builtin and then its argument prototype would still apply. */
2138 #ifdef __cplusplus
2139 extern "C"
2140 #endif
2141 char $2 ();
2142 /* The GNU C library defines this for functions which it implements
2143 to always fail with ENOSYS. Some functions are actually named
2144 something starting with __ and the normal name is an alias. */
2145 #if defined __stub_$2 || defined __stub___$2
2146 choke me
2147 #endif
2148
2149 int
2150 main ()
2151 {
2152 return $2 ();
2153 ;
2154 return 0;
2155 }
2156 _ACEOF
2157 if ac_fn_c_try_link "$LINENO"; then :
2158 eval "$3=yes"
2159 else
2160 eval "$3=no"
2161 fi
2162 rm -f core conftest.err conftest.$ac_objext \
2163 conftest$ac_exeext conftest.$ac_ext
2164 fi
2165 eval ac_res=\$$3
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2167 $as_echo "$ac_res" >&6; }
2168 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2169
2170 } # ac_fn_c_check_func
2171
2172 # ac_fn_cxx_try_cpp LINENO
2173 # ------------------------
2174 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2175 ac_fn_cxx_try_cpp ()
2176 {
2177 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2178 if { { ac_try="$ac_cpp conftest.$ac_ext"
2179 case "(($ac_try" in
2180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2181 *) ac_try_echo=$ac_try;;
2182 esac
2183 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2184 $as_echo "$ac_try_echo"; } >&5
2185 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2186 ac_status=$?
2187 if test -s conftest.err; then
2188 grep -v '^ *+' conftest.err >conftest.er1
2189 cat conftest.er1 >&5
2190 mv -f conftest.er1 conftest.err
2191 fi
2192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2193 test $ac_status = 0; } > conftest.i && {
2194 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2195 test ! -s conftest.err
2196 }; then :
2197 ac_retval=0
2198 else
2199 $as_echo "$as_me: failed program was:" >&5
2200 sed 's/^/| /' conftest.$ac_ext >&5
2201
2202 ac_retval=1
2203 fi
2204 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2205 as_fn_set_status $ac_retval
2206
2207 } # ac_fn_cxx_try_cpp
2208
2209 # ac_fn_cxx_try_link LINENO
2210 # -------------------------
2211 # Try to link conftest.$ac_ext, and return whether this succeeded.
2212 ac_fn_cxx_try_link ()
2213 {
2214 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2215 rm -f conftest.$ac_objext conftest$ac_exeext
2216 if { { ac_try="$ac_link"
2217 case "(($ac_try" in
2218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2219 *) ac_try_echo=$ac_try;;
2220 esac
2221 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2222 $as_echo "$ac_try_echo"; } >&5
2223 (eval "$ac_link") 2>conftest.err
2224 ac_status=$?
2225 if test -s conftest.err; then
2226 grep -v '^ *+' conftest.err >conftest.er1
2227 cat conftest.er1 >&5
2228 mv -f conftest.er1 conftest.err
2229 fi
2230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2231 test $ac_status = 0; } && {
2232 test -z "$ac_cxx_werror_flag" ||
2233 test ! -s conftest.err
2234 } && test -s conftest$ac_exeext && {
2235 test "$cross_compiling" = yes ||
2236 test -x conftest$ac_exeext
2237 }; then :
2238 ac_retval=0
2239 else
2240 $as_echo "$as_me: failed program was:" >&5
2241 sed 's/^/| /' conftest.$ac_ext >&5
2242
2243 ac_retval=1
2244 fi
2245 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2246 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2247 # interfere with the next link command; also delete a directory that is
2248 # left behind by Apple's compiler. We do this before executing the actions.
2249 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2250 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2251 as_fn_set_status $ac_retval
2252
2253 } # ac_fn_cxx_try_link
2254
2255 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2256 # -------------------------------------------------------
2257 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2258 # the include files in INCLUDES and setting the cache variable VAR
2259 # accordingly.
2260 ac_fn_c_check_header_mongrel ()
2261 {
2262 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2263 if eval \${$3+:} false; then :
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2265 $as_echo_n "checking for $2... " >&6; }
2266 if eval \${$3+:} false; then :
2267 $as_echo_n "(cached) " >&6
2268 fi
2269 eval ac_res=\$$3
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2271 $as_echo "$ac_res" >&6; }
2272 else
2273 # Is the header compilable?
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2275 $as_echo_n "checking $2 usability... " >&6; }
2276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2277 /* end confdefs.h. */
2278 $4
2279 #include <$2>
2280 _ACEOF
2281 if ac_fn_c_try_compile "$LINENO"; then :
2282 ac_header_compiler=yes
2283 else
2284 ac_header_compiler=no
2285 fi
2286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2288 $as_echo "$ac_header_compiler" >&6; }
2289
2290 # Is the header present?
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2292 $as_echo_n "checking $2 presence... " >&6; }
2293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2294 /* end confdefs.h. */
2295 #include <$2>
2296 _ACEOF
2297 if ac_fn_c_try_cpp "$LINENO"; then :
2298 ac_header_preproc=yes
2299 else
2300 ac_header_preproc=no
2301 fi
2302 rm -f conftest.err conftest.i conftest.$ac_ext
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2304 $as_echo "$ac_header_preproc" >&6; }
2305
2306 # So? What about this header?
2307 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2308 yes:no: )
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2310 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2312 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2313 ;;
2314 no:yes:* )
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2316 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2318 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2320 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2322 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2324 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2325 ( $as_echo "## --------------------------------------------------------------------- ##
2326 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B ##
2327 ## --------------------------------------------------------------------- ##"
2328 ) | sed "s/^/$as_me: WARNING: /" >&2
2329 ;;
2330 esac
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2332 $as_echo_n "checking for $2... " >&6; }
2333 if eval \${$3+:} false; then :
2334 $as_echo_n "(cached) " >&6
2335 else
2336 eval "$3=\$ac_header_compiler"
2337 fi
2338 eval ac_res=\$$3
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2340 $as_echo "$ac_res" >&6; }
2341 fi
2342 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2343
2344 } # ac_fn_c_check_header_mongrel
2345
2346 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2347 # ----------------------------------------------------
2348 # Tries to find if the field MEMBER exists in type AGGR, after including
2349 # INCLUDES, setting cache variable VAR accordingly.
2350 ac_fn_c_check_member ()
2351 {
2352 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2354 $as_echo_n "checking for $2.$3... " >&6; }
2355 if eval \${$4+:} false; then :
2356 $as_echo_n "(cached) " >&6
2357 else
2358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2359 /* end confdefs.h. */
2360 $5
2361 int
2362 main ()
2363 {
2364 static $2 ac_aggr;
2365 if (ac_aggr.$3)
2366 return 0;
2367 ;
2368 return 0;
2369 }
2370 _ACEOF
2371 if ac_fn_c_try_compile "$LINENO"; then :
2372 eval "$4=yes"
2373 else
2374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2375 /* end confdefs.h. */
2376 $5
2377 int
2378 main ()
2379 {
2380 static $2 ac_aggr;
2381 if (sizeof ac_aggr.$3)
2382 return 0;
2383 ;
2384 return 0;
2385 }
2386 _ACEOF
2387 if ac_fn_c_try_compile "$LINENO"; then :
2388 eval "$4=yes"
2389 else
2390 eval "$4=no"
2391 fi
2392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2393 fi
2394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2395 fi
2396 eval ac_res=\$$4
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2398 $as_echo "$ac_res" >&6; }
2399 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2400
2401 } # ac_fn_c_check_member
2402
2403 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2404 # -------------------------------------------
2405 # Tests whether TYPE exists after having included INCLUDES, setting cache
2406 # variable VAR accordingly.
2407 ac_fn_c_check_type ()
2408 {
2409 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2411 $as_echo_n "checking for $2... " >&6; }
2412 if eval \${$3+:} false; then :
2413 $as_echo_n "(cached) " >&6
2414 else
2415 eval "$3=no"
2416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2417 /* end confdefs.h. */
2418 $4
2419 int
2420 main ()
2421 {
2422 if (sizeof ($2))
2423 return 0;
2424 ;
2425 return 0;
2426 }
2427 _ACEOF
2428 if ac_fn_c_try_compile "$LINENO"; then :
2429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2430 /* end confdefs.h. */
2431 $4
2432 int
2433 main ()
2434 {
2435 if (sizeof (($2)))
2436 return 0;
2437 ;
2438 return 0;
2439 }
2440 _ACEOF
2441 if ac_fn_c_try_compile "$LINENO"; then :
2442
2443 else
2444 eval "$3=yes"
2445 fi
2446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2447 fi
2448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2449 fi
2450 eval ac_res=\$$3
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2452 $as_echo "$ac_res" >&6; }
2453 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2454
2455 } # ac_fn_c_check_type
2456 cat >config.log <<_ACEOF
2457 This file contains any messages produced by compilers while
2458 running configure, to aid debugging if configure makes a mistake.
2459
2460 It was created by gtk+ $as_me 2.24.33, which was
2461 generated by GNU Autoconf 2.69. Invocation command line was
2462
2463 $ $0 $@
2464
2465 _ACEOF
2466 exec 5>>config.log
2467 {
2468 cat <<_ASUNAME
2469 ## --------- ##
2470 ## Platform. ##
2471 ## --------- ##
2472
2473 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2474 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2475 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2476 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2477 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2478
2479 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2480 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2481
2482 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2483 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2484 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2485 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2486 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2487 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2488 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2489
2490 _ASUNAME
2491
2492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2493 for as_dir in $PATH
2494 do
2495 IFS=$as_save_IFS
2496 test -z "$as_dir" && as_dir=.
2497 $as_echo "PATH: $as_dir"
2498 done
2499 IFS=$as_save_IFS
2500
2501 } >&5
2502
2503 cat >&5 <<_ACEOF
2504
2505
2506 ## ----------- ##
2507 ## Core tests. ##
2508 ## ----------- ##
2509
2510 _ACEOF
2511
2512
2513 # Keep a trace of the command line.
2514 # Strip out --no-create and --no-recursion so they do not pile up.
2515 # Strip out --silent because we don't want to record it for future runs.
2516 # Also quote any args containing shell meta-characters.
2517 # Make two passes to allow for proper duplicate-argument suppression.
2518 ac_configure_args=
2519 ac_configure_args0=
2520 ac_configure_args1=
2521 ac_must_keep_next=false
2522 for ac_pass in 1 2
2523 do
2524 for ac_arg
2525 do
2526 case $ac_arg in
2527 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2528 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2529 | -silent | --silent | --silen | --sile | --sil)
2530 continue ;;
2531 *\'*)
2532 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2533 esac
2534 case $ac_pass in
2535 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2536 2)
2537 as_fn_append ac_configure_args1 " '$ac_arg'"
2538 if test $ac_must_keep_next = true; then
2539 ac_must_keep_next=false # Got value, back to normal.
2540 else
2541 case $ac_arg in
2542 *=* | --config-cache | -C | -disable-* | --disable-* \
2543 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2544 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2545 | -with-* | --with-* | -without-* | --without-* | --x)
2546 case "$ac_configure_args0 " in
2547 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2548 esac
2549 ;;
2550 -* ) ac_must_keep_next=true ;;
2551 esac
2552 fi
2553 as_fn_append ac_configure_args " '$ac_arg'"
2554 ;;
2555 esac
2556 done
2557 done
2558 { ac_configure_args0=; unset ac_configure_args0;}
2559 { ac_configure_args1=; unset ac_configure_args1;}
2560
2561 # When interrupted or exit'd, cleanup temporary files, and complete
2562 # config.log. We remove comments because anyway the quotes in there
2563 # would cause problems or look ugly.
2564 # WARNING: Use '\'' to represent an apostrophe within the trap.
2565 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2566 trap 'exit_status=$?
2567 # Save into config.log some information that might help in debugging.
2568 {
2569 echo
2570
2571 $as_echo "## ---------------- ##
2572 ## Cache variables. ##
2573 ## ---------------- ##"
2574 echo
2575 # The following way of writing the cache mishandles newlines in values,
2576 (
2577 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2578 eval ac_val=\$$ac_var
2579 case $ac_val in #(
2580 *${as_nl}*)
2581 case $ac_var in #(
2582 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2583 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2584 esac
2585 case $ac_var in #(
2586 _ | IFS | as_nl) ;; #(
2587 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2588 *) { eval $ac_var=; unset $ac_var;} ;;
2589 esac ;;
2590 esac
2591 done
2592 (set) 2>&1 |
2593 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2594 *${as_nl}ac_space=\ *)
2595 sed -n \
2596 "s/'\''/'\''\\\\'\'''\''/g;
2597 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2598 ;; #(
2599 *)
2600 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2601 ;;
2602 esac |
2603 sort
2604 )
2605 echo
2606
2607 $as_echo "## ----------------- ##
2608 ## Output variables. ##
2609 ## ----------------- ##"
2610 echo
2611 for ac_var in $ac_subst_vars
2612 do
2613 eval ac_val=\$$ac_var
2614 case $ac_val in
2615 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2616 esac
2617 $as_echo "$ac_var='\''$ac_val'\''"
2618 done | sort
2619 echo
2620
2621 if test -n "$ac_subst_files"; then
2622 $as_echo "## ------------------- ##
2623 ## File substitutions. ##
2624 ## ------------------- ##"
2625 echo
2626 for ac_var in $ac_subst_files
2627 do
2628 eval ac_val=\$$ac_var
2629 case $ac_val in
2630 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2631 esac
2632 $as_echo "$ac_var='\''$ac_val'\''"
2633 done | sort
2634 echo
2635 fi
2636
2637 if test -s confdefs.h; then
2638 $as_echo "## ----------- ##
2639 ## confdefs.h. ##
2640 ## ----------- ##"
2641 echo
2642 cat confdefs.h
2643 echo
2644 fi
2645 test "$ac_signal" != 0 &&
2646 $as_echo "$as_me: caught signal $ac_signal"
2647 $as_echo "$as_me: exit $exit_status"
2648 } >&5
2649 rm -f core *.core core.conftest.* &&
2650 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2651 exit $exit_status
2652 ' 0
2653 for ac_signal in 1 2 13 15; do
2654 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2655 done
2656 ac_signal=0
2657
2658 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2659 rm -f -r conftest* confdefs.h
2660
2661 $as_echo "/* confdefs.h */" > confdefs.h
2662
2663 # Predefined preprocessor variables.
2664
2665 cat >>confdefs.h <<_ACEOF
2666 #define PACKAGE_NAME "$PACKAGE_NAME"
2667 _ACEOF
2668
2669 cat >>confdefs.h <<_ACEOF
2670 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2671 _ACEOF
2672
2673 cat >>confdefs.h <<_ACEOF
2674 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2675 _ACEOF
2676
2677 cat >>confdefs.h <<_ACEOF
2678 #define PACKAGE_STRING "$PACKAGE_STRING"
2679 _ACEOF
2680
2681 cat >>confdefs.h <<_ACEOF
2682 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2683 _ACEOF
2684
2685 cat >>confdefs.h <<_ACEOF
2686 #define PACKAGE_URL "$PACKAGE_URL"
2687 _ACEOF
2688
2689
2690 # Let the site file select an alternate cache file if it wants to.
2691 # Prefer an explicitly selected file to automatically selected ones.
2692 ac_site_file1=NONE
2693 ac_site_file2=NONE
2694 if test -n "$CONFIG_SITE"; then
2695 # We do not want a PATH search for config.site.
2696 case $CONFIG_SITE in #((
2697 -*) ac_site_file1=./$CONFIG_SITE;;
2698 */*) ac_site_file1=$CONFIG_SITE;;
2699 *) ac_site_file1=./$CONFIG_SITE;;
2700 esac
2701 elif test "x$prefix" != xNONE; then
2702 ac_site_file1=$prefix/share/config.site
2703 ac_site_file2=$prefix/etc/config.site
2704 else
2705 ac_site_file1=$ac_default_prefix/share/config.site
2706 ac_site_file2=$ac_default_prefix/etc/config.site
2707 fi
2708 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2709 do
2710 test "x$ac_site_file" = xNONE && continue
2711 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2713 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2714 sed 's/^/| /' "$ac_site_file" >&5
2715 . "$ac_site_file" \
2716 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2717 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2718 as_fn_error $? "failed to load site script $ac_site_file
2719 See \`config.log' for more details" "$LINENO" 5; }
2720 fi
2721 done
2722
2723 if test -r "$cache_file"; then
2724 # Some versions of bash will fail to source /dev/null (special files
2725 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2726 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2728 $as_echo "$as_me: loading cache $cache_file" >&6;}
2729 case $cache_file in
2730 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2731 *) . "./$cache_file";;
2732 esac
2733 fi
2734 else
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2736 $as_echo "$as_me: creating cache $cache_file" >&6;}
2737 >$cache_file
2738 fi
2739
2740 as_fn_append ac_header_list " stdlib.h"
2741 as_fn_append ac_header_list " unistd.h"
2742 as_fn_append ac_header_list " sys/param.h"
2743 # Check that the precious variables saved in the cache have kept the same
2744 # value.
2745 ac_cache_corrupted=false
2746 for ac_var in $ac_precious_vars; do
2747 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2748 eval ac_new_set=\$ac_env_${ac_var}_set
2749 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2750 eval ac_new_val=\$ac_env_${ac_var}_value
2751 case $ac_old_set,$ac_new_set in
2752 set,)
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2754 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2755 ac_cache_corrupted=: ;;
2756 ,set)
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2758 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2759 ac_cache_corrupted=: ;;
2760 ,);;
2761 *)
2762 if test "x$ac_old_val" != "x$ac_new_val"; then
2763 # differences in whitespace do not lead to failure.
2764 ac_old_val_w=`echo x $ac_old_val`
2765 ac_new_val_w=`echo x $ac_new_val`
2766 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2768 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2769 ac_cache_corrupted=:
2770 else
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2772 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2773 eval $ac_var=\$ac_old_val
2774 fi
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2776 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2778 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2779 fi;;
2780 esac
2781 # Pass precious variables to config.status.
2782 if test "$ac_new_set" = set; then
2783 case $ac_new_val in
2784 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2785 *) ac_arg=$ac_var=$ac_new_val ;;
2786 esac
2787 case " $ac_configure_args " in
2788 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2789 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2790 esac
2791 fi
2792 done
2793 if $ac_cache_corrupted; then
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2795 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2797 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2798 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2799 fi
2800 ## -------------------- ##
2801 ## Main body of script. ##
2802 ## -------------------- ##
2803
2804 ac_ext=c
2805 ac_cpp='$CPP $CPPFLAGS'
2806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2809
2810
2811
2812
2813 ac_config_headers="$ac_config_headers config.h"
2814
2815
2816
2817 # Save this value here, since automake will set cflags later
2818 cflags_set=${CFLAGS+set}
2819
2820 am__api_version='1.16'
2821
2822 ac_aux_dir=
2823 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2824 if test -f "$ac_dir/install-sh"; then
2825 ac_aux_dir=$ac_dir
2826 ac_install_sh="$ac_aux_dir/install-sh -c"
2827 break
2828 elif test -f "$ac_dir/install.sh"; then
2829 ac_aux_dir=$ac_dir
2830 ac_install_sh="$ac_aux_dir/install.sh -c"
2831 break
2832 elif test -f "$ac_dir/shtool"; then
2833 ac_aux_dir=$ac_dir
2834 ac_install_sh="$ac_aux_dir/shtool install -c"
2835 break
2836 fi
2837 done
2838 if test -z "$ac_aux_dir"; then
2839 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2840 fi
2841
2842 # These three variables are undocumented and unsupported,
2843 # and are intended to be withdrawn in a future Autoconf release.
2844 # They can cause serious problems if a builder's source tree is in a directory
2845 # whose full name contains unusual characters.
2846 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2847 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2848 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2849
2850
2851 # Find a good install program. We prefer a C program (faster),
2852 # so one script is as good as another. But avoid the broken or
2853 # incompatible versions:
2854 # SysV /etc/install, /usr/sbin/install
2855 # SunOS /usr/etc/install
2856 # IRIX /sbin/install
2857 # AIX /bin/install
2858 # AmigaOS /C/install, which installs bootblocks on floppy discs
2859 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2860 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2861 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2862 # OS/2's system install, which has a completely different semantic
2863 # ./install, which can be erroneously created by make from ./install.sh.
2864 # Reject install programs that cannot install multiple files.
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2866 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2867 if test -z "$INSTALL"; then
2868 if ${ac_cv_path_install+:} false; then :
2869 $as_echo_n "(cached) " >&6
2870 else
2871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2872 for as_dir in $PATH
2873 do
2874 IFS=$as_save_IFS
2875 test -z "$as_dir" && as_dir=.
2876 # Account for people who put trailing slashes in PATH elements.
2877 case $as_dir/ in #((
2878 ./ | .// | /[cC]/* | \
2879 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2880 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2881 /usr/ucb/* ) ;;
2882 *)
2883 # OSF1 and SCO ODT 3.0 have their own names for install.
2884 # Don't use installbsd from OSF since it installs stuff as root
2885 # by default.
2886 for ac_prog in ginstall scoinst install; do
2887 for ac_exec_ext in '' $ac_executable_extensions; do
2888 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2889 if test $ac_prog = install &&
2890 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2891 # AIX install. It has an incompatible calling convention.
2892 :
2893 elif test $ac_prog = install &&
2894 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2895 # program-specific install script used by HP pwplus--don't use.
2896 :
2897 else
2898 rm -rf conftest.one conftest.two conftest.dir
2899 echo one > conftest.one
2900 echo two > conftest.two
2901 mkdir conftest.dir
2902 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2903 test -s conftest.one && test -s conftest.two &&
2904 test -s conftest.dir/conftest.one &&
2905 test -s conftest.dir/conftest.two
2906 then
2907 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2908 break 3
2909 fi
2910 fi
2911 fi
2912 done
2913 done
2914 ;;
2915 esac
2916
2917 done
2918 IFS=$as_save_IFS
2919
2920 rm -rf conftest.one conftest.two conftest.dir
2921
2922 fi
2923 if test "${ac_cv_path_install+set}" = set; then
2924 INSTALL=$ac_cv_path_install
2925 else
2926 # As a last resort, use the slow shell script. Don't cache a
2927 # value for INSTALL within a source directory, because that will
2928 # break other packages using the cache if that directory is
2929 # removed, or if the value is a relative name.
2930 INSTALL=$ac_install_sh
2931 fi
2932 fi
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2934 $as_echo "$INSTALL" >&6; }
2935
2936 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2937 # It thinks the first close brace ends the variable substitution.
2938 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2939
2940 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2941
2942 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2943
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2945 $as_echo_n "checking whether build environment is sane... " >&6; }
2946 # Reject unsafe characters in $srcdir or the absolute working directory
2947 # name. Accept space and tab only in the latter.
2948 am_lf='
2949 '
2950 case `pwd` in
2951 *[\\\"\#\$\&\'\`$am_lf]*)
2952 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2953 esac
2954 case $srcdir in
2955 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2956 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2957 esac
2958
2959 # Do 'set' in a subshell so we don't clobber the current shell's
2960 # arguments. Must try -L first in case configure is actually a
2961 # symlink; some systems play weird games with the mod time of symlinks
2962 # (eg FreeBSD returns the mod time of the symlink's containing
2963 # directory).
2964 if (
2965 am_has_slept=no
2966 for am_try in 1 2; do
2967 echo "timestamp, slept: $am_has_slept" > conftest.file
2968 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2969 if test "$*" = "X"; then
2970 # -L didn't work.
2971 set X `ls -t "$srcdir/configure" conftest.file`
2972 fi
2973 if test "$*" != "X $srcdir/configure conftest.file" \
2974 && test "$*" != "X conftest.file $srcdir/configure"; then
2975
2976 # If neither matched, then we have a broken ls. This can happen
2977 # if, for instance, CONFIG_SHELL is bash and it inherits a
2978 # broken ls alias from the environment. This has actually
2979 # happened. Such a system could not be considered "sane".
2980 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2981 alias in your environment" "$LINENO" 5
2982 fi
2983 if test "$2" = conftest.file || test $am_try -eq 2; then
2984 break
2985 fi
2986 # Just in case.
2987 sleep 1
2988 am_has_slept=yes
2989 done
2990 test "$2" = conftest.file
2991 )
2992 then
2993 # Ok.
2994 :
2995 else
2996 as_fn_error $? "newly created file is older than distributed files!
2997 Check your system clock" "$LINENO" 5
2998 fi
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3000 $as_echo "yes" >&6; }
3001 # If we didn't sleep, we still need to ensure time stamps of config.status and
3002 # generated files are strictly newer.
3003 am_sleep_pid=
3004 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3005 ( sleep 1 ) &
3006 am_sleep_pid=$!
3007 fi
3008
3009 rm -f conftest.file
3010
3011 test "$program_prefix" != NONE &&
3012 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3013 # Use a double $ so make ignores it.
3014 test "$program_suffix" != NONE &&
3015 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3016 # Double any \ or $.
3017 # By default was `s,x,x', remove it if useless.
3018 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3019 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3020
3021 # Expand $ac_aux_dir to an absolute path.
3022 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3023
3024 if test x"${MISSING+set}" != xset; then
3025 case $am_aux_dir in
3026 *\ * | *\ *)
3027 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3028 *)
3029 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3030 esac
3031 fi
3032 # Use eval to expand $SHELL
3033 if eval "$MISSING --is-lightweight"; then
3034 am_missing_run="$MISSING "
3035 else
3036 am_missing_run=
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3038 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3039 fi
3040
3041 if test x"${install_sh+set}" != xset; then
3042 case $am_aux_dir in
3043 *\ * | *\ *)
3044 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3045 *)
3046 install_sh="\${SHELL} $am_aux_dir/install-sh"
3047 esac
3048 fi
3049
3050 # Installed binaries are usually stripped using 'strip' when the user
3051 # run "make install-strip". However 'strip' might not be the right
3052 # tool to use in cross-compilation environments, therefore Automake
3053 # will honor the 'STRIP' environment variable to overrule this program.
3054 if test "$cross_compiling" != no; then
3055 if test -n "$ac_tool_prefix"; then
3056 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3057 set dummy ${ac_tool_prefix}strip; ac_word=$2
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3059 $as_echo_n "checking for $ac_word... " >&6; }
3060 if ${ac_cv_prog_STRIP+:} false; then :
3061 $as_echo_n "(cached) " >&6
3062 else
3063 if test -n "$STRIP"; then
3064 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3065 else
3066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3067 for as_dir in $PATH
3068 do
3069 IFS=$as_save_IFS
3070 test -z "$as_dir" && as_dir=.
3071 for ac_exec_ext in '' $ac_executable_extensions; do
3072 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3073 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3075 break 2
3076 fi
3077 done
3078 done
3079 IFS=$as_save_IFS
3080
3081 fi
3082 fi
3083 STRIP=$ac_cv_prog_STRIP
3084 if test -n "$STRIP"; then
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3086 $as_echo "$STRIP" >&6; }
3087 else
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3089 $as_echo "no" >&6; }
3090 fi
3091
3092
3093 fi
3094 if test -z "$ac_cv_prog_STRIP"; then
3095 ac_ct_STRIP=$STRIP
3096 # Extract the first word of "strip", so it can be a program name with args.
3097 set dummy strip; ac_word=$2
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3099 $as_echo_n "checking for $ac_word... " >&6; }
3100 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3101 $as_echo_n "(cached) " >&6
3102 else
3103 if test -n "$ac_ct_STRIP"; then
3104 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3105 else
3106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3107 for as_dir in $PATH
3108 do
3109 IFS=$as_save_IFS
3110 test -z "$as_dir" && as_dir=.
3111 for ac_exec_ext in '' $ac_executable_extensions; do
3112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3113 ac_cv_prog_ac_ct_STRIP="strip"
3114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3115 break 2
3116 fi
3117 done
3118 done
3119 IFS=$as_save_IFS
3120
3121 fi
3122 fi
3123 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3124 if test -n "$ac_ct_STRIP"; then
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3126 $as_echo "$ac_ct_STRIP" >&6; }
3127 else
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3129 $as_echo "no" >&6; }
3130 fi
3131
3132 if test "x$ac_ct_STRIP" = x; then
3133 STRIP=":"
3134 else
3135 case $cross_compiling:$ac_tool_warned in
3136 yes:)
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3138 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3139 ac_tool_warned=yes ;;
3140 esac
3141 STRIP=$ac_ct_STRIP
3142 fi
3143 else
3144 STRIP="$ac_cv_prog_STRIP"
3145 fi
3146
3147 fi
3148 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3149
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3151 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3152 if test -z "$MKDIR_P"; then
3153 if ${ac_cv_path_mkdir+:} false; then :
3154 $as_echo_n "(cached) " >&6
3155 else
3156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3157 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3158 do
3159 IFS=$as_save_IFS
3160 test -z "$as_dir" && as_dir=.
3161 for ac_prog in mkdir gmkdir; do
3162 for ac_exec_ext in '' $ac_executable_extensions; do
3163 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3164 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3165 'mkdir (GNU coreutils) '* | \
3166 'mkdir (coreutils) '* | \
3167 'mkdir (fileutils) '4.1*)
3168 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3169 break 3;;
3170 esac
3171 done
3172 done
3173 done
3174 IFS=$as_save_IFS
3175
3176 fi
3177
3178 test -d ./--version && rmdir ./--version
3179 if test "${ac_cv_path_mkdir+set}" = set; then
3180 MKDIR_P="$ac_cv_path_mkdir -p"
3181 else
3182 # As a last resort, use the slow shell script. Don't cache a
3183 # value for MKDIR_P within a source directory, because that will
3184 # break other packages using the cache if that directory is
3185 # removed, or if the value is a relative name.
3186 MKDIR_P="$ac_install_sh -d"
3187 fi
3188 fi
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3190 $as_echo "$MKDIR_P" >&6; }
3191
3192 for ac_prog in gawk mawk nawk awk
3193 do
3194 # Extract the first word of "$ac_prog", so it can be a program name with args.
3195 set dummy $ac_prog; ac_word=$2
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3197 $as_echo_n "checking for $ac_word... " >&6; }
3198 if ${ac_cv_prog_AWK+:} false; then :
3199 $as_echo_n "(cached) " >&6
3200 else
3201 if test -n "$AWK"; then
3202 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3203 else
3204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3205 for as_dir in $PATH
3206 do
3207 IFS=$as_save_IFS
3208 test -z "$as_dir" && as_dir=.
3209 for ac_exec_ext in '' $ac_executable_extensions; do
3210 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3211 ac_cv_prog_AWK="$ac_prog"
3212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3213 break 2
3214 fi
3215 done
3216 done
3217 IFS=$as_save_IFS
3218
3219 fi
3220 fi
3221 AWK=$ac_cv_prog_AWK
3222 if test -n "$AWK"; then
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3224 $as_echo "$AWK" >&6; }
3225 else
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3227 $as_echo "no" >&6; }
3228 fi
3229
3230
3231 test -n "$AWK" && break
3232 done
3233
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3235 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3236 set x ${MAKE-make}
3237 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3238 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3239 $as_echo_n "(cached) " >&6
3240 else
3241 cat >conftest.make <<\_ACEOF
3242 SHELL = /bin/sh
3243 all:
3244 @echo '@@@%%%=$(MAKE)=@@@%%%'
3245 _ACEOF
3246 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3247 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3248 *@@@%%%=?*=@@@%%%*)
3249 eval ac_cv_prog_make_${ac_make}_set=yes;;
3250 *)
3251 eval ac_cv_prog_make_${ac_make}_set=no;;
3252 esac
3253 rm -f conftest.make
3254 fi
3255 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3257 $as_echo "yes" >&6; }
3258 SET_MAKE=
3259 else
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3261 $as_echo "no" >&6; }
3262 SET_MAKE="MAKE=${MAKE-make}"
3263 fi
3264
3265 rm -rf .tst 2>/dev/null
3266 mkdir .tst 2>/dev/null
3267 if test -d .tst; then
3268 am__leading_dot=.
3269 else
3270 am__leading_dot=_
3271 fi
3272 rmdir .tst 2>/dev/null
3273
3274 # Check whether --enable-silent-rules was given.
3275 if test "${enable_silent_rules+set}" = set; then :
3276 enableval=$enable_silent_rules;
3277 fi
3278
3279 case $enable_silent_rules in # (((
3280 yes) AM_DEFAULT_VERBOSITY=0;;
3281 no) AM_DEFAULT_VERBOSITY=1;;
3282 *) AM_DEFAULT_VERBOSITY=1;;
3283 esac
3284 am_make=${MAKE-make}
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3286 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3287 if ${am_cv_make_support_nested_variables+:} false; then :
3288 $as_echo_n "(cached) " >&6
3289 else
3290 if $as_echo 'TRUE=$(BAR$(V))
3291 BAR0=false
3292 BAR1=true
3293 V=1
3294 am__doit:
3295 @$(TRUE)
3296 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3297 am_cv_make_support_nested_variables=yes
3298 else
3299 am_cv_make_support_nested_variables=no
3300 fi
3301 fi
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3303 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3304 if test $am_cv_make_support_nested_variables = yes; then
3305 AM_V='$(V)'
3306 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3307 else
3308 AM_V=$AM_DEFAULT_VERBOSITY
3309 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3310 fi
3311 AM_BACKSLASH='\'
3312
3313 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3314 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3315 # is not polluted with repeated "-I."
3316 am__isrc=' -I$(srcdir)'
3317 # test to see if srcdir already configured
3318 if test -f $srcdir/config.status; then
3319 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3320 fi
3321 fi
3322
3323 # test whether we have cygpath
3324 if test -z "$CYGPATH_W"; then
3325 if (cygpath --version) >/dev/null 2>/dev/null; then
3326 CYGPATH_W='cygpath -w'
3327 else
3328 CYGPATH_W=echo
3329 fi
3330 fi
3331
3332
3333 # Define the identity of the package.
3334 PACKAGE='gtk+'
3335 VERSION='2.24.33'
3336
3337
3338 # Some tools Automake needs.
3339
3340 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3341
3342
3343 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3344
3345
3346 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3347
3348
3349 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3350
3351
3352 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3353
3354 # For better backward compatibility. To be removed once Automake 1.9.x
3355 # dies out for good. For more background, see:
3356 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3357 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3358 mkdir_p='$(MKDIR_P)'
3359
3360 # We need awk for the "check" target (and possibly the TAP driver). The
3361 # system "awk" is bad on some platforms.
3362 # Always define AMTAR for backward compatibility. Yes, it's still used
3363 # in the wild :-( We should find a proper way to deprecate it ...
3364 AMTAR='$${TAR-tar}'
3365
3366
3367 # We'll loop over all known methods to create a tar archive until one works.
3368 _am_tools='gnutar pax cpio none'
3369
3370 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3371
3372
3373
3374
3375
3376
3377 # POSIX will say in a future version that running "rm -f" with no argument
3378 # is OK; and we want to be able to make that assumption in our Makefile
3379 # recipes. So use an aggressive probe to check that the usage we want is
3380 # actually supported "in the wild" to an acceptable degree.
3381 # See automake bug#10828.
3382 # To make any issue more visible, cause the running configure to be aborted
3383 # by default if the 'rm' program in use doesn't match our expectations; the
3384 # user can still override this though.
3385 if rm -f && rm -fr && rm -rf; then : OK; else
3386 cat >&2 <<'END'
3387 Oops!
3388
3389 Your 'rm' program seems unable to run without file operands specified
3390 on the command line, even when the '-f' option is present. This is contrary
3391 to the behaviour of most rm programs out there, and not conforming with
3392 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3393
3394 Please tell [email protected] about your system, including the value
3395 of your $PATH and any error possibly output before this message. This
3396 can help us improve future automake versions.
3397
3398 END
3399 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3400 echo 'Configuration will proceed anyway, since you have set the' >&2
3401 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3402 echo >&2
3403 else
3404 cat >&2 <<'END'
3405 Aborting the configuration process, to ensure you take notice of the issue.
3406
3407 You can download and install GNU coreutils to get an 'rm' implementation
3408 that behaves properly: <https://www.gnu.org/software/coreutils/>.
3409
3410 If you want to complete the configuration process using your problematic
3411 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3412 to "yes", and re-run configure.
3413
3414 END
3415 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3416 fi
3417 fi
3418
3419
3420 # Support silent build rules, requires at least automake-1.11. Enable
3421 # by either passing --enable-silent-rules to configure or passing V=0
3422 # to make
3423 # Check whether --enable-silent-rules was given.
3424 if test "${enable_silent_rules+set}" = set; then :
3425 enableval=$enable_silent_rules;
3426 fi
3427
3428 case $enable_silent_rules in # (((
3429 yes) AM_DEFAULT_VERBOSITY=0;;
3430 no) AM_DEFAULT_VERBOSITY=1;;
3431 *) AM_DEFAULT_VERBOSITY=1;;
3432 esac
3433 am_make=${MAKE-make}
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3435 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3436 if ${am_cv_make_support_nested_variables+:} false; then :
3437 $as_echo_n "(cached) " >&6
3438 else
3439 if $as_echo 'TRUE=$(BAR$(V))
3440 BAR0=false
3441 BAR1=true
3442 V=1
3443 am__doit:
3444 @$(TRUE)
3445 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3446 am_cv_make_support_nested_variables=yes
3447 else
3448 am_cv_make_support_nested_variables=no
3449 fi
3450 fi
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3452 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3453 if test $am_cv_make_support_nested_variables = yes; then
3454 AM_V='$(V)'
3455 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3456 else
3457 AM_V=$AM_DEFAULT_VERBOSITY
3458 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3459 fi
3460 AM_BACKSLASH='\'
3461
3462
3463 #
3464 # For each of the libraries we build, we define the following
3465
3466 # substituted variables:
3467 #
3468 # foo_PACKAGES: pkg-config packages this library requires
3469 # foo_EXTRA_LIBS: Libraries this module requires not pulled in by pkg-config
3470 # foo_EXTRA_CFLAGS: cflags this module requires not pulled in by pkg-config
3471 # foo_DEP_LIBS: All libraries this module requires
3472 # foo_DEP_CFLAGS: All cflags this module requires
3473
3474
3475 GTK_MAJOR_VERSION=2
3476 GTK_MINOR_VERSION=24
3477 GTK_MICRO_VERSION=33
3478 GTK_INTERFACE_AGE=33
3479 GTK_BINARY_AGE=2433
3480 GTK_VERSION=2.24.33
3481 GTK_API_VERSION=2.0
3482 GTK_BINARY_VERSION=2.10.0
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492 # libtool versioning
3493 #LT_RELEASE=$GTK_MAJOR_VERSION.$GTK_MINOR_VERSION
3494 #LT_CURRENT=`expr $GTK_MICRO_VERSION - $GTK_INTERFACE_AGE`
3495 #LT_REVISION=$GTK_INTERFACE_AGE
3496 #LT_AGE=`expr $GTK_BINARY_AGE - $GTK_INTERFACE_AGE`
3497 #LT_CURRENT_MINUS_AGE=`expr $LT_CURRENT - $LT_AGE`
3498
3499
3500
3501
3502 LT_VERSION_INFO="2400:33:2400"
3503 LT_CURRENT_MINUS_AGE=0
3504
3505
3506
3507
3508
3509
3510
3511
3512 GAIL_LT_VERSION_INFO=18:1:0
3513
3514 GAIL_LT_CURRENT_MINUS_AGE=18
3515
3516
3517 GETTEXT_PACKAGE=gtk20
3518
3519
3520 cat >>confdefs.h <<_ACEOF
3521 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
3522 _ACEOF
3523
3524
3525 # Make sure we can run config.sub.
3526 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3527 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3528
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3530 $as_echo_n "checking build system type... " >&6; }
3531 if ${ac_cv_build+:} false; then :
3532 $as_echo_n "(cached) " >&6
3533 else
3534 ac_build_alias=$build_alias
3535 test "x$ac_build_alias" = x &&
3536 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3537 test "x$ac_build_alias" = x &&
3538 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3539 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3540 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3541
3542 fi
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3544 $as_echo "$ac_cv_build" >&6; }
3545 case $ac_cv_build in
3546 *-*-*) ;;
3547 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3548 esac
3549 build=$ac_cv_build
3550 ac_save_IFS=$IFS; IFS='-'
3551 set x $ac_cv_build
3552 shift
3553 build_cpu=$1
3554 build_vendor=$2
3555 shift; shift
3556 # Remember, the first character of IFS is used to create $*,
3557 # except with old shells:
3558 build_os=$*
3559 IFS=$ac_save_IFS
3560 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3561
3562
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3564 $as_echo_n "checking host system type... " >&6; }
3565 if ${ac_cv_host+:} false; then :
3566 $as_echo_n "(cached) " >&6
3567 else
3568 if test "x$host_alias" = x; then
3569 ac_cv_host=$ac_cv_build
3570 else
3571 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3572 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3573 fi
3574
3575 fi
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3577 $as_echo "$ac_cv_host" >&6; }
3578 case $ac_cv_host in
3579 *-*-*) ;;
3580 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3581 esac
3582 host=$ac_cv_host
3583 ac_save_IFS=$IFS; IFS='-'
3584 set x $ac_cv_host
3585 shift
3586 host_cpu=$1
3587 host_vendor=$2
3588 shift; shift
3589 # Remember, the first character of IFS is used to create $*,
3590 # except with old shells:
3591 host_os=$*
3592 IFS=$ac_save_IFS
3593 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3594
3595
3596
3597 MATH_LIB=-lm
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
3599 $as_echo_n "checking for native Win32... " >&6; }
3600 LIB_EXE_MACHINE_FLAG=X86
3601 EXE_MANIFEST_ARCHITECTURE=X86
3602 case "$host" in
3603 *-*-mingw*)
3604 os_win32=yes
3605 gio_can_sniff=no
3606 MATH_LIB=
3607 case "$host" in
3608 x86_64-*-*)
3609 LIB_EXE_MACHINE_FLAG=X64
3610 EXE_MANIFEST_ARCHITECTURE=AMD64
3611 ;;
3612 esac
3613 ;;
3614 *)
3615 os_win32=no
3616 ;;
3617 esac
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5
3619 $as_echo "$os_win32" >&6; }
3620
3621
3622
3623
3624 case $host in
3625 *-*-linux*)
3626 os_linux=yes
3627 ;;
3628 esac
3629
3630 ac_ext=c
3631 ac_cpp='$CPP $CPPFLAGS'
3632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3635 if test -n "$ac_tool_prefix"; then
3636 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3637 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3639 $as_echo_n "checking for $ac_word... " >&6; }
3640 if ${ac_cv_prog_CC+:} false; then :
3641 $as_echo_n "(cached) " >&6
3642 else
3643 if test -n "$CC"; then
3644 ac_cv_prog_CC="$CC" # Let the user override the test.
3645 else
3646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3647 for as_dir in $PATH
3648 do
3649 IFS=$as_save_IFS
3650 test -z "$as_dir" && as_dir=.
3651 for ac_exec_ext in '' $ac_executable_extensions; do
3652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3653 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3655 break 2
3656 fi
3657 done
3658 done
3659 IFS=$as_save_IFS
3660
3661 fi
3662 fi
3663 CC=$ac_cv_prog_CC
3664 if test -n "$CC"; then
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3666 $as_echo "$CC" >&6; }
3667 else
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3669 $as_echo "no" >&6; }
3670 fi
3671
3672
3673 fi
3674 if test -z "$ac_cv_prog_CC"; then
3675 ac_ct_CC=$CC
3676 # Extract the first word of "gcc", so it can be a program name with args.
3677 set dummy gcc; ac_word=$2
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3679 $as_echo_n "checking for $ac_word... " >&6; }
3680 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3681 $as_echo_n "(cached) " >&6
3682 else
3683 if test -n "$ac_ct_CC"; then
3684 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3685 else
3686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3687 for as_dir in $PATH
3688 do
3689 IFS=$as_save_IFS
3690 test -z "$as_dir" && as_dir=.
3691 for ac_exec_ext in '' $ac_executable_extensions; do
3692 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3693 ac_cv_prog_ac_ct_CC="gcc"
3694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3695 break 2
3696 fi
3697 done
3698 done
3699 IFS=$as_save_IFS
3700
3701 fi
3702 fi
3703 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3704 if test -n "$ac_ct_CC"; then
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3706 $as_echo "$ac_ct_CC" >&6; }
3707 else
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3709 $as_echo "no" >&6; }
3710 fi
3711
3712 if test "x$ac_ct_CC" = x; then
3713 CC=""
3714 else
3715 case $cross_compiling:$ac_tool_warned in
3716 yes:)
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3719 ac_tool_warned=yes ;;
3720 esac
3721 CC=$ac_ct_CC
3722 fi
3723 else
3724 CC="$ac_cv_prog_CC"
3725 fi
3726
3727 if test -z "$CC"; then
3728 if test -n "$ac_tool_prefix"; then
3729 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3730 set dummy ${ac_tool_prefix}cc; ac_word=$2
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3732 $as_echo_n "checking for $ac_word... " >&6; }
3733 if ${ac_cv_prog_CC+:} false; then :
3734 $as_echo_n "(cached) " >&6
3735 else
3736 if test -n "$CC"; then
3737 ac_cv_prog_CC="$CC" # Let the user override the test.
3738 else
3739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3740 for as_dir in $PATH
3741 do
3742 IFS=$as_save_IFS
3743 test -z "$as_dir" && as_dir=.
3744 for ac_exec_ext in '' $ac_executable_extensions; do
3745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3746 ac_cv_prog_CC="${ac_tool_prefix}cc"
3747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3748 break 2
3749 fi
3750 done
3751 done
3752 IFS=$as_save_IFS
3753
3754 fi
3755 fi
3756 CC=$ac_cv_prog_CC
3757 if test -n "$CC"; then
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3759 $as_echo "$CC" >&6; }
3760 else
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3762 $as_echo "no" >&6; }
3763 fi
3764
3765
3766 fi
3767 fi
3768 if test -z "$CC"; then
3769 # Extract the first word of "cc", so it can be a program name with args.
3770 set dummy cc; ac_word=$2
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3772 $as_echo_n "checking for $ac_word... " >&6; }
3773 if ${ac_cv_prog_CC+:} false; then :
3774 $as_echo_n "(cached) " >&6
3775 else
3776 if test -n "$CC"; then
3777 ac_cv_prog_CC="$CC" # Let the user override the test.
3778 else
3779 ac_prog_rejected=no
3780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3781 for as_dir in $PATH
3782 do
3783 IFS=$as_save_IFS
3784 test -z "$as_dir" && as_dir=.
3785 for ac_exec_ext in '' $ac_executable_extensions; do
3786 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3787 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3788 ac_prog_rejected=yes
3789 continue
3790 fi
3791 ac_cv_prog_CC="cc"
3792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3793 break 2
3794 fi
3795 done
3796 done
3797 IFS=$as_save_IFS
3798
3799 if test $ac_prog_rejected = yes; then
3800 # We found a bogon in the path, so make sure we never use it.
3801 set dummy $ac_cv_prog_CC
3802 shift
3803 if test $# != 0; then
3804 # We chose a different compiler from the bogus one.
3805 # However, it has the same basename, so the bogon will be chosen
3806 # first if we set CC to just the basename; use the full file name.
3807 shift
3808 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3809 fi
3810 fi
3811 fi
3812 fi
3813 CC=$ac_cv_prog_CC
3814 if test -n "$CC"; then
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3816 $as_echo "$CC" >&6; }
3817 else
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3819 $as_echo "no" >&6; }
3820 fi
3821
3822
3823 fi
3824 if test -z "$CC"; then
3825 if test -n "$ac_tool_prefix"; then
3826 for ac_prog in cl.exe
3827 do
3828 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3829 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3831 $as_echo_n "checking for $ac_word... " >&6; }
3832 if ${ac_cv_prog_CC+:} false; then :
3833 $as_echo_n "(cached) " >&6
3834 else
3835 if test -n "$CC"; then
3836 ac_cv_prog_CC="$CC" # Let the user override the test.
3837 else
3838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3839 for as_dir in $PATH
3840 do
3841 IFS=$as_save_IFS
3842 test -z "$as_dir" && as_dir=.
3843 for ac_exec_ext in '' $ac_executable_extensions; do
3844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3845 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3847 break 2
3848 fi
3849 done
3850 done
3851 IFS=$as_save_IFS
3852
3853 fi
3854 fi
3855 CC=$ac_cv_prog_CC
3856 if test -n "$CC"; then
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3858 $as_echo "$CC" >&6; }
3859 else
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3861 $as_echo "no" >&6; }
3862 fi
3863
3864
3865 test -n "$CC" && break
3866 done
3867 fi
3868 if test -z "$CC"; then
3869 ac_ct_CC=$CC
3870 for ac_prog in cl.exe
3871 do
3872 # Extract the first word of "$ac_prog", so it can be a program name with args.
3873 set dummy $ac_prog; ac_word=$2
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3875 $as_echo_n "checking for $ac_word... " >&6; }
3876 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3877 $as_echo_n "(cached) " >&6
3878 else
3879 if test -n "$ac_ct_CC"; then
3880 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3881 else
3882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3883 for as_dir in $PATH
3884 do
3885 IFS=$as_save_IFS
3886 test -z "$as_dir" && as_dir=.
3887 for ac_exec_ext in '' $ac_executable_extensions; do
3888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3889 ac_cv_prog_ac_ct_CC="$ac_prog"
3890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3891 break 2
3892 fi
3893 done
3894 done
3895 IFS=$as_save_IFS
3896
3897 fi
3898 fi
3899 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3900 if test -n "$ac_ct_CC"; then
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3902 $as_echo "$ac_ct_CC" >&6; }
3903 else
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3905 $as_echo "no" >&6; }
3906 fi
3907
3908
3909 test -n "$ac_ct_CC" && break
3910 done
3911
3912 if test "x$ac_ct_CC" = x; then
3913 CC=""
3914 else
3915 case $cross_compiling:$ac_tool_warned in
3916 yes:)
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3918 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3919 ac_tool_warned=yes ;;
3920 esac
3921 CC=$ac_ct_CC
3922 fi
3923 fi
3924
3925 fi
3926
3927
3928 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3929 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3930 as_fn_error $? "no acceptable C compiler found in \$PATH
3931 See \`config.log' for more details" "$LINENO" 5; }
3932
3933 # Provide some information about the compiler.
3934 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3935 set X $ac_compile
3936 ac_compiler=$2
3937 for ac_option in --version -v -V -qversion; do
3938 { { ac_try="$ac_compiler $ac_option >&5"
3939 case "(($ac_try" in
3940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3941 *) ac_try_echo=$ac_try;;
3942 esac
3943 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3944 $as_echo "$ac_try_echo"; } >&5
3945 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3946 ac_status=$?
3947 if test -s conftest.err; then
3948 sed '10a\
3949 ... rest of stderr output deleted ...
3950 10q' conftest.err >conftest.er1
3951 cat conftest.er1 >&5
3952 fi
3953 rm -f conftest.er1 conftest.err
3954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3955 test $ac_status = 0; }
3956 done
3957
3958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3959 /* end confdefs.h. */
3960
3961 int
3962 main ()
3963 {
3964
3965 ;
3966 return 0;
3967 }
3968 _ACEOF
3969 ac_clean_files_save=$ac_clean_files
3970 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3971 # Try to create an executable without -o first, disregard a.out.
3972 # It will help us diagnose broken compilers, and finding out an intuition
3973 # of exeext.
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3975 $as_echo_n "checking whether the C compiler works... " >&6; }
3976 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3977
3978 # The possible output files:
3979 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3980
3981 ac_rmfiles=
3982 for ac_file in $ac_files
3983 do
3984 case $ac_file in
3985 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3986 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3987 esac
3988 done
3989 rm -f $ac_rmfiles
3990
3991 if { { ac_try="$ac_link_default"
3992 case "(($ac_try" in
3993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3994 *) ac_try_echo=$ac_try;;
3995 esac
3996 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3997 $as_echo "$ac_try_echo"; } >&5
3998 (eval "$ac_link_default") 2>&5
3999 ac_status=$?
4000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4001 test $ac_status = 0; }; then :
4002 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4003 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4004 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4005 # so that the user can short-circuit this test for compilers unknown to
4006 # Autoconf.
4007 for ac_file in $ac_files ''
4008 do
4009 test -f "$ac_file" || continue
4010 case $ac_file in
4011 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4012 ;;
4013 [ab].out )
4014 # We found the default executable, but exeext='' is most
4015 # certainly right.
4016 break;;
4017 *.* )
4018 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4019 then :; else
4020 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4021 fi
4022 # We set ac_cv_exeext here because the later test for it is not
4023 # safe: cross compilers may not add the suffix if given an `-o'
4024 # argument, so we may need to know it at that point already.
4025 # Even if this section looks crufty: it has the advantage of
4026 # actually working.
4027 break;;
4028 * )
4029 break;;
4030 esac
4031 done
4032 test "$ac_cv_exeext" = no && ac_cv_exeext=
4033
4034 else
4035 ac_file=''
4036 fi
4037 if test -z "$ac_file"; then :
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4039 $as_echo "no" >&6; }
4040 $as_echo "$as_me: failed program was:" >&5
4041 sed 's/^/| /' conftest.$ac_ext >&5
4042
4043 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4044 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4045 as_fn_error 77 "C compiler cannot create executables
4046 See \`config.log' for more details" "$LINENO" 5; }
4047 else
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4049 $as_echo "yes" >&6; }
4050 fi
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4052 $as_echo_n "checking for C compiler default output file name... " >&6; }
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4054 $as_echo "$ac_file" >&6; }
4055 ac_exeext=$ac_cv_exeext
4056
4057 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4058 ac_clean_files=$ac_clean_files_save
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4060 $as_echo_n "checking for suffix of executables... " >&6; }
4061 if { { ac_try="$ac_link"
4062 case "(($ac_try" in
4063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4064 *) ac_try_echo=$ac_try;;
4065 esac
4066 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4067 $as_echo "$ac_try_echo"; } >&5
4068 (eval "$ac_link") 2>&5
4069 ac_status=$?
4070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4071 test $ac_status = 0; }; then :
4072 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4073 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4074 # work properly (i.e., refer to `conftest.exe'), while it won't with
4075 # `rm'.
4076 for ac_file in conftest.exe conftest conftest.*; do
4077 test -f "$ac_file" || continue
4078 case $ac_file in
4079 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4080 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4081 break;;
4082 * ) break;;
4083 esac
4084 done
4085 else
4086 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4087 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4088 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4089 See \`config.log' for more details" "$LINENO" 5; }
4090 fi
4091 rm -f conftest conftest$ac_cv_exeext
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4093 $as_echo "$ac_cv_exeext" >&6; }
4094
4095 rm -f conftest.$ac_ext
4096 EXEEXT=$ac_cv_exeext
4097 ac_exeext=$EXEEXT
4098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4099 /* end confdefs.h. */
4100 #include <stdio.h>
4101 int
4102 main ()
4103 {
4104 FILE *f = fopen ("conftest.out", "w");
4105 return ferror (f) || fclose (f) != 0;
4106
4107 ;
4108 return 0;
4109 }
4110 _ACEOF
4111 ac_clean_files="$ac_clean_files conftest.out"
4112 # Check that the compiler produces executables we can run. If not, either
4113 # the compiler is broken, or we cross compile.
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4115 $as_echo_n "checking whether we are cross compiling... " >&6; }
4116 if test "$cross_compiling" != yes; then
4117 { { ac_try="$ac_link"
4118 case "(($ac_try" in
4119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4120 *) ac_try_echo=$ac_try;;
4121 esac
4122 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4123 $as_echo "$ac_try_echo"; } >&5
4124 (eval "$ac_link") 2>&5
4125 ac_status=$?
4126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4127 test $ac_status = 0; }
4128 if { ac_try='./conftest$ac_cv_exeext'
4129 { { case "(($ac_try" in
4130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4131 *) ac_try_echo=$ac_try;;
4132 esac
4133 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4134 $as_echo "$ac_try_echo"; } >&5
4135 (eval "$ac_try") 2>&5
4136 ac_status=$?
4137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4138 test $ac_status = 0; }; }; then
4139 cross_compiling=no
4140 else
4141 if test "$cross_compiling" = maybe; then
4142 cross_compiling=yes
4143 else
4144 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4146 as_fn_error $? "cannot run C compiled programs.
4147 If you meant to cross compile, use \`--host'.
4148 See \`config.log' for more details" "$LINENO" 5; }
4149 fi
4150 fi
4151 fi
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4153 $as_echo "$cross_compiling" >&6; }
4154
4155 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4156 ac_clean_files=$ac_clean_files_save
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4158 $as_echo_n "checking for suffix of object files... " >&6; }
4159 if ${ac_cv_objext+:} false; then :
4160 $as_echo_n "(cached) " >&6
4161 else
4162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4163 /* end confdefs.h. */
4164
4165 int
4166 main ()
4167 {
4168
4169 ;
4170 return 0;
4171 }
4172 _ACEOF
4173 rm -f conftest.o conftest.obj
4174 if { { ac_try="$ac_compile"
4175 case "(($ac_try" in
4176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4177 *) ac_try_echo=$ac_try;;
4178 esac
4179 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4180 $as_echo "$ac_try_echo"; } >&5
4181 (eval "$ac_compile") 2>&5
4182 ac_status=$?
4183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4184 test $ac_status = 0; }; then :
4185 for ac_file in conftest.o conftest.obj conftest.*; do
4186 test -f "$ac_file" || continue;
4187 case $ac_file in
4188 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4189 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4190 break;;
4191 esac
4192 done
4193 else
4194 $as_echo "$as_me: failed program was:" >&5
4195 sed 's/^/| /' conftest.$ac_ext >&5
4196
4197 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4199 as_fn_error $? "cannot compute suffix of object files: cannot compile
4200 See \`config.log' for more details" "$LINENO" 5; }
4201 fi
4202 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4203 fi
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4205 $as_echo "$ac_cv_objext" >&6; }
4206 OBJEXT=$ac_cv_objext
4207 ac_objext=$OBJEXT
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4209 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4210 if ${ac_cv_c_compiler_gnu+:} false; then :
4211 $as_echo_n "(cached) " >&6
4212 else
4213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4214 /* end confdefs.h. */
4215
4216 int
4217 main ()
4218 {
4219 #ifndef __GNUC__
4220 choke me
4221 #endif
4222
4223 ;
4224 return 0;
4225 }
4226 _ACEOF
4227 if ac_fn_c_try_compile "$LINENO"; then :
4228 ac_compiler_gnu=yes
4229 else
4230 ac_compiler_gnu=no
4231 fi
4232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4233 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4234
4235 fi
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4237 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4238 if test $ac_compiler_gnu = yes; then
4239 GCC=yes
4240 else
4241 GCC=
4242 fi
4243 ac_test_CFLAGS=${CFLAGS+set}
4244 ac_save_CFLAGS=$CFLAGS
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4246 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4247 if ${ac_cv_prog_cc_g+:} false; then :
4248 $as_echo_n "(cached) " >&6
4249 else
4250 ac_save_c_werror_flag=$ac_c_werror_flag
4251 ac_c_werror_flag=yes
4252 ac_cv_prog_cc_g=no
4253 CFLAGS="-g"
4254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4255 /* end confdefs.h. */
4256
4257 int
4258 main ()
4259 {
4260
4261 ;
4262 return 0;
4263 }
4264 _ACEOF
4265 if ac_fn_c_try_compile "$LINENO"; then :
4266 ac_cv_prog_cc_g=yes
4267 else
4268 CFLAGS=""
4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4270 /* end confdefs.h. */
4271
4272 int
4273 main ()
4274 {
4275
4276 ;
4277 return 0;
4278 }
4279 _ACEOF
4280 if ac_fn_c_try_compile "$LINENO"; then :
4281
4282 else
4283 ac_c_werror_flag=$ac_save_c_werror_flag
4284 CFLAGS="-g"
4285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4286 /* end confdefs.h. */
4287
4288 int
4289 main ()
4290 {
4291
4292 ;
4293 return 0;
4294 }
4295 _ACEOF
4296 if ac_fn_c_try_compile "$LINENO"; then :
4297 ac_cv_prog_cc_g=yes
4298 fi
4299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4300 fi
4301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4302 fi
4303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4304 ac_c_werror_flag=$ac_save_c_werror_flag
4305 fi
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4307 $as_echo "$ac_cv_prog_cc_g" >&6; }
4308 if test "$ac_test_CFLAGS" = set; then
4309 CFLAGS=$ac_save_CFLAGS
4310 elif test $ac_cv_prog_cc_g = yes; then
4311 if test "$GCC" = yes; then
4312 CFLAGS="-g -O2"
4313 else
4314 CFLAGS="-g"
4315 fi
4316 else
4317 if test "$GCC" = yes; then
4318 CFLAGS="-O2"
4319 else
4320 CFLAGS=
4321 fi
4322 fi
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4324 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4325 if ${ac_cv_prog_cc_c89+:} false; then :
4326 $as_echo_n "(cached) " >&6
4327 else
4328 ac_cv_prog_cc_c89=no
4329 ac_save_CC=$CC
4330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4331 /* end confdefs.h. */
4332 #include <stdarg.h>
4333 #include <stdio.h>
4334 struct stat;
4335 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4336 struct buf { int x; };
4337 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4338 static char *e (p, i)
4339 char **p;
4340 int i;
4341 {
4342 return p[i];
4343 }
4344 static char *f (char * (*g) (char **, int), char **p, ...)
4345 {
4346 char *s;
4347 va_list v;
4348 va_start (v,p);
4349 s = g (p, va_arg (v,int));
4350 va_end (v);
4351 return s;
4352 }
4353
4354 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4355 function prototypes and stuff, but not '\xHH' hex character constants.
4356 These don't provoke an error unfortunately, instead are silently treated
4357 as 'x'. The following induces an error, until -std is added to get
4358 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4359 array size at least. It's necessary to write '\x00'==0 to get something
4360 that's true only with -std. */
4361 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4362
4363 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4364 inside strings and character constants. */
4365 #define FOO(x) 'x'
4366 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4367
4368 int test (int i, double x);
4369 struct s1 {int (*f) (int a);};
4370 struct s2 {int (*f) (double a);};
4371 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4372 int argc;
4373 char **argv;
4374 int
4375 main ()
4376 {
4377 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4378 ;
4379 return 0;
4380 }
4381 _ACEOF
4382 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4383 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4384 do
4385 CC="$ac_save_CC $ac_arg"
4386 if ac_fn_c_try_compile "$LINENO"; then :
4387 ac_cv_prog_cc_c89=$ac_arg
4388 fi
4389 rm -f core conftest.err conftest.$ac_objext
4390 test "x$ac_cv_prog_cc_c89" != "xno" && break
4391 done
4392 rm -f conftest.$ac_ext
4393 CC=$ac_save_CC
4394
4395 fi
4396 # AC_CACHE_VAL
4397 case "x$ac_cv_prog_cc_c89" in
4398 x)
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4400 $as_echo "none needed" >&6; } ;;
4401 xno)
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4403 $as_echo "unsupported" >&6; } ;;
4404 *)
4405 CC="$CC $ac_cv_prog_cc_c89"
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4407 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4408 esac
4409 if test "x$ac_cv_prog_cc_c89" != xno; then :
4410
4411 fi
4412
4413 ac_ext=c
4414 ac_cpp='$CPP $CPPFLAGS'
4415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4418
4419 ac_ext=c
4420 ac_cpp='$CPP $CPPFLAGS'
4421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4425 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4426 if ${am_cv_prog_cc_c_o+:} false; then :
4427 $as_echo_n "(cached) " >&6
4428 else
4429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4430 /* end confdefs.h. */
4431
4432 int
4433 main ()
4434 {
4435
4436 ;
4437 return 0;
4438 }
4439 _ACEOF
4440 # Make sure it works both with $CC and with simple cc.
4441 # Following AC_PROG_CC_C_O, we do the test twice because some
4442 # compilers refuse to overwrite an existing .o file with -o,
4443 # though they will create one.
4444 am_cv_prog_cc_c_o=yes
4445 for am_i in 1 2; do
4446 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4447 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4448 ac_status=$?
4449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4450 (exit $ac_status); } \
4451 && test -f conftest2.$ac_objext; then
4452 : OK
4453 else
4454 am_cv_prog_cc_c_o=no
4455 break
4456 fi
4457 done
4458 rm -f core conftest*
4459 unset am_i
4460 fi
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4462 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4463 if test "$am_cv_prog_cc_c_o" != yes; then
4464 # Losing compiler, so override with the script.
4465 # FIXME: It is wrong to rewrite CC.
4466 # But if we don't then we get into trouble of one sort or another.
4467 # A longer-term fix would be to have automake use am__CC in this case,
4468 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4469 CC="$am_aux_dir/compile $CC"
4470 fi
4471 ac_ext=c
4472 ac_cpp='$CPP $CPPFLAGS'
4473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4476
4477 DEPDIR="${am__leading_dot}deps"
4478
4479 ac_config_commands="$ac_config_commands depfiles"
4480
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4482 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
4483 cat > confinc.mk << 'END'
4484 am__doit:
4485 @echo this is the am__doit target >confinc.out
4486 .PHONY: am__doit
4487 END
4488 am__include="#"
4489 am__quote=
4490 # BSD make does it like this.
4491 echo '.include "confinc.mk" # ignored' > confmf.BSD
4492 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
4493 echo 'include confinc.mk # ignored' > confmf.GNU
4494 _am_result=no
4495 for s in GNU BSD; do
4496 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4497 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4498 ac_status=$?
4499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4500 (exit $ac_status); }
4501 case $?:`cat confinc.out 2>/dev/null` in #(
4502 '0:this is the am__doit target') :
4503 case $s in #(
4504 BSD) :
4505 am__include='.include' am__quote='"' ;; #(
4506 *) :
4507 am__include='include' am__quote='' ;;
4508 esac ;; #(
4509 *) :
4510 ;;
4511 esac
4512 if test "$am__include" != "#"; then
4513 _am_result="yes ($s style)"
4514 break
4515 fi
4516 done
4517 rm -f confinc.* confmf.*
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4519 $as_echo "${_am_result}" >&6; }
4520
4521 # Check whether --enable-dependency-tracking was given.
4522 if test "${enable_dependency_tracking+set}" = set; then :
4523 enableval=$enable_dependency_tracking;
4524 fi
4525
4526 if test "x$enable_dependency_tracking" != xno; then
4527 am_depcomp="$ac_aux_dir/depcomp"
4528 AMDEPBACKSLASH='\'
4529 am__nodep='_no'
4530 fi
4531 if test "x$enable_dependency_tracking" != xno; then
4532 AMDEP_TRUE=
4533 AMDEP_FALSE='#'
4534 else
4535 AMDEP_TRUE='#'
4536 AMDEP_FALSE=
4537 fi
4538
4539
4540
4541 depcc="$CC" am_compiler_list=
4542
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4544 $as_echo_n "checking dependency style of $depcc... " >&6; }
4545 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4546 $as_echo_n "(cached) " >&6
4547 else
4548 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4549 # We make a subdir and do the tests there. Otherwise we can end up
4550 # making bogus files that we don't know about and never remove. For
4551 # instance it was reported that on HP-UX the gcc test will end up
4552 # making a dummy file named 'D' -- because '-MD' means "put the output
4553 # in D".
4554 rm -rf conftest.dir
4555 mkdir conftest.dir
4556 # Copy depcomp to subdir because otherwise we won't find it if we're
4557 # using a relative directory.
4558 cp "$am_depcomp" conftest.dir
4559 cd conftest.dir
4560 # We will build objects and dependencies in a subdirectory because
4561 # it helps to detect inapplicable dependency modes. For instance
4562 # both Tru64's cc and ICC support -MD to output dependencies as a
4563 # side effect of compilation, but ICC will put the dependencies in
4564 # the current directory while Tru64 will put them in the object
4565 # directory.
4566 mkdir sub
4567
4568 am_cv_CC_dependencies_compiler_type=none
4569 if test "$am_compiler_list" = ""; then
4570 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4571 fi
4572 am__universal=false
4573 case " $depcc " in #(
4574 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4575 esac
4576
4577 for depmode in $am_compiler_list; do
4578 # Setup a source with many dependencies, because some compilers
4579 # like to wrap large dependency lists on column 80 (with \), and
4580 # we should not choose a depcomp mode which is confused by this.
4581 #
4582 # We need to recreate these files for each test, as the compiler may
4583 # overwrite some of them when testing with obscure command lines.
4584 # This happens at least with the AIX C compiler.
4585 : > sub/conftest.c
4586 for i in 1 2 3 4 5 6; do
4587 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4588 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4589 # Solaris 10 /bin/sh.
4590 echo '/* dummy */' > sub/conftst$i.h
4591 done
4592 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4593
4594 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4595 # mode. It turns out that the SunPro C++ compiler does not properly
4596 # handle '-M -o', and we need to detect this. Also, some Intel
4597 # versions had trouble with output in subdirs.
4598 am__obj=sub/conftest.${OBJEXT-o}
4599 am__minus_obj="-o $am__obj"
4600 case $depmode in
4601 gcc)
4602 # This depmode causes a compiler race in universal mode.
4603 test "$am__universal" = false || continue
4604 ;;
4605 nosideeffect)
4606 # After this tag, mechanisms are not by side-effect, so they'll
4607 # only be used when explicitly requested.
4608 if test "x$enable_dependency_tracking" = xyes; then
4609 continue
4610 else
4611 break
4612 fi
4613 ;;
4614 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4615 # This compiler won't grok '-c -o', but also, the minuso test has
4616 # not run yet. These depmodes are late enough in the game, and
4617 # so weak that their functioning should not be impacted.
4618 am__obj=conftest.${OBJEXT-o}
4619 am__minus_obj=
4620 ;;
4621 none) break ;;
4622 esac
4623 if depmode=$depmode \
4624 source=sub/conftest.c object=$am__obj \
4625 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4626 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4627 >/dev/null 2>conftest.err &&
4628 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4629 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4630 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4631 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4632 # icc doesn't choke on unknown options, it will just issue warnings
4633 # or remarks (even with -Werror). So we grep stderr for any message
4634 # that says an option was ignored or not supported.
4635 # When given -MP, icc 7.0 and 7.1 complain thusly:
4636 # icc: Command line warning: ignoring option '-M'; no argument required
4637 # The diagnosis changed in icc 8.0:
4638 # icc: Command line remark: option '-MP' not supported
4639 if (grep 'ignoring option' conftest.err ||
4640 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4641 am_cv_CC_dependencies_compiler_type=$depmode
4642 break
4643 fi
4644 fi
4645 done
4646
4647 cd ..
4648 rm -rf conftest.dir
4649 else
4650 am_cv_CC_dependencies_compiler_type=none
4651 fi
4652
4653 fi
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4655 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4656 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4657
4658 if
4659 test "x$enable_dependency_tracking" != xno \
4660 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4661 am__fastdepCC_TRUE=
4662 am__fastdepCC_FALSE='#'
4663 else
4664 am__fastdepCC_TRUE='#'
4665 am__fastdepCC_FALSE=
4666 fi
4667
4668
4669 # Check whether --enable-static was given.
4670 if test "${enable_static+set}" = set; then :
4671 enableval=$enable_static; p=${PACKAGE-default}
4672 case $enableval in
4673 yes) enable_static=yes ;;
4674 no) enable_static=no ;;
4675 *)
4676 enable_static=no
4677 # Look at the argument we got. We use all the common list separators.
4678 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
4679 for pkg in $enableval; do
4680 IFS=$lt_save_ifs
4681 if test "X$pkg" = "X$p"; then
4682 enable_static=yes
4683 fi
4684 done
4685 IFS=$lt_save_ifs
4686 ;;
4687 esac
4688 else
4689 enable_static=no
4690 fi
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701 if test -n "$ac_tool_prefix"; then
4702 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
4703 do
4704 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4705 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4707 $as_echo_n "checking for $ac_word... " >&6; }
4708 if ${ac_cv_prog_CXX+:} false; then :
4709 $as_echo_n "(cached) " >&6
4710 else
4711 if test -n "$CXX"; then
4712 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4713 else
4714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4715 for as_dir in $PATH
4716 do
4717 IFS=$as_save_IFS
4718 test -z "$as_dir" && as_dir=.
4719 for ac_exec_ext in '' $ac_executable_extensions; do
4720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4721 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4723 break 2
4724 fi
4725 done
4726 done
4727 IFS=$as_save_IFS
4728
4729 fi
4730 fi
4731 CXX=$ac_cv_prog_CXX
4732 if test -n "$CXX"; then
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4734 $as_echo "$CXX" >&6; }
4735 else
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4737 $as_echo "no" >&6; }
4738 fi
4739
4740
4741 test -n "$CXX" && break
4742 done
4743 fi
4744 if test -z "$CXX"; then
4745 ac_ct_CXX=$CXX
4746 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
4747 do
4748 # Extract the first word of "$ac_prog", so it can be a program name with args.
4749 set dummy $ac_prog; ac_word=$2
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4751 $as_echo_n "checking for $ac_word... " >&6; }
4752 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4753 $as_echo_n "(cached) " >&6
4754 else
4755 if test -n "$ac_ct_CXX"; then
4756 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4757 else
4758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4759 for as_dir in $PATH
4760 do
4761 IFS=$as_save_IFS
4762 test -z "$as_dir" && as_dir=.
4763 for ac_exec_ext in '' $ac_executable_extensions; do
4764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4765 ac_cv_prog_ac_ct_CXX="$ac_prog"
4766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4767 break 2
4768 fi
4769 done
4770 done
4771 IFS=$as_save_IFS
4772
4773 fi
4774 fi
4775 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4776 if test -n "$ac_ct_CXX"; then
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4778 $as_echo "$ac_ct_CXX" >&6; }
4779 else
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4781 $as_echo "no" >&6; }
4782 fi
4783
4784
4785 test -n "$ac_ct_CXX" && break
4786 done
4787
4788 if test "x$ac_ct_CXX" = x; then
4789 CXX="gcc"
4790 else
4791 case $cross_compiling:$ac_tool_warned in
4792 yes:)
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4794 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4795 ac_tool_warned=yes ;;
4796 esac
4797 CXX=$ac_ct_CXX
4798 fi
4799 fi
4800
4801
4802 ac_ext=cpp
4803 ac_cpp='$CXXCPP $CPPFLAGS'
4804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4807
4808
4809 ac_ext=cpp
4810 ac_cpp='$CXXCPP $CPPFLAGS'
4811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4814 if test -z "$CXX"; then
4815 if test -n "$CCC"; then
4816 CXX=$CCC
4817 else
4818 if test -n "$ac_tool_prefix"; then
4819 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4820 do
4821 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4822 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4824 $as_echo_n "checking for $ac_word... " >&6; }
4825 if ${ac_cv_prog_CXX+:} false; then :
4826 $as_echo_n "(cached) " >&6
4827 else
4828 if test -n "$CXX"; then
4829 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4830 else
4831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4832 for as_dir in $PATH
4833 do
4834 IFS=$as_save_IFS
4835 test -z "$as_dir" && as_dir=.
4836 for ac_exec_ext in '' $ac_executable_extensions; do
4837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4838 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4840 break 2
4841 fi
4842 done
4843 done
4844 IFS=$as_save_IFS
4845
4846 fi
4847 fi
4848 CXX=$ac_cv_prog_CXX
4849 if test -n "$CXX"; then
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4851 $as_echo "$CXX" >&6; }
4852 else
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4854 $as_echo "no" >&6; }
4855 fi
4856
4857
4858 test -n "$CXX" && break
4859 done
4860 fi
4861 if test -z "$CXX"; then
4862 ac_ct_CXX=$CXX
4863 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4864 do
4865 # Extract the first word of "$ac_prog", so it can be a program name with args.
4866 set dummy $ac_prog; ac_word=$2
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4868 $as_echo_n "checking for $ac_word... " >&6; }
4869 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4870 $as_echo_n "(cached) " >&6
4871 else
4872 if test -n "$ac_ct_CXX"; then
4873 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4874 else
4875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4876 for as_dir in $PATH
4877 do
4878 IFS=$as_save_IFS
4879 test -z "$as_dir" && as_dir=.
4880 for ac_exec_ext in '' $ac_executable_extensions; do
4881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4882 ac_cv_prog_ac_ct_CXX="$ac_prog"
4883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4884 break 2
4885 fi
4886 done
4887 done
4888 IFS=$as_save_IFS
4889
4890 fi
4891 fi
4892 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4893 if test -n "$ac_ct_CXX"; then
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4895 $as_echo "$ac_ct_CXX" >&6; }
4896 else
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4898 $as_echo "no" >&6; }
4899 fi
4900
4901
4902 test -n "$ac_ct_CXX" && break
4903 done
4904
4905 if test "x$ac_ct_CXX" = x; then
4906 CXX="g++"
4907 else
4908 case $cross_compiling:$ac_tool_warned in
4909 yes:)
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4912 ac_tool_warned=yes ;;
4913 esac
4914 CXX=$ac_ct_CXX
4915 fi
4916 fi
4917
4918 fi
4919 fi
4920 # Provide some information about the compiler.
4921 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4922 set X $ac_compile
4923 ac_compiler=$2
4924 for ac_option in --version -v -V -qversion; do
4925 { { ac_try="$ac_compiler $ac_option >&5"
4926 case "(($ac_try" in
4927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4928 *) ac_try_echo=$ac_try;;
4929 esac
4930 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4931 $as_echo "$ac_try_echo"; } >&5
4932 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4933 ac_status=$?
4934 if test -s conftest.err; then
4935 sed '10a\
4936 ... rest of stderr output deleted ...
4937 10q' conftest.err >conftest.er1
4938 cat conftest.er1 >&5
4939 fi
4940 rm -f conftest.er1 conftest.err
4941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4942 test $ac_status = 0; }
4943 done
4944
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4946 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4947 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4948 $as_echo_n "(cached) " >&6
4949 else
4950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4951 /* end confdefs.h. */
4952
4953 int
4954 main ()
4955 {
4956 #ifndef __GNUC__
4957 choke me
4958 #endif
4959
4960 ;
4961 return 0;
4962 }
4963 _ACEOF
4964 if ac_fn_cxx_try_compile "$LINENO"; then :
4965 ac_compiler_gnu=yes
4966 else
4967 ac_compiler_gnu=no
4968 fi
4969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4970 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4971
4972 fi
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4974 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4975 if test $ac_compiler_gnu = yes; then
4976 GXX=yes
4977 else
4978 GXX=
4979 fi
4980 ac_test_CXXFLAGS=${CXXFLAGS+set}
4981 ac_save_CXXFLAGS=$CXXFLAGS
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4983 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4984 if ${ac_cv_prog_cxx_g+:} false; then :
4985 $as_echo_n "(cached) " >&6
4986 else
4987 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4988 ac_cxx_werror_flag=yes
4989 ac_cv_prog_cxx_g=no
4990 CXXFLAGS="-g"
4991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4992 /* end confdefs.h. */
4993
4994 int
4995 main ()
4996 {
4997
4998 ;
4999 return 0;
5000 }
5001 _ACEOF
5002 if ac_fn_cxx_try_compile "$LINENO"; then :
5003 ac_cv_prog_cxx_g=yes
5004 else
5005 CXXFLAGS=""
5006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5007 /* end confdefs.h. */
5008
5009 int
5010 main ()
5011 {
5012
5013 ;
5014 return 0;
5015 }
5016 _ACEOF
5017 if ac_fn_cxx_try_compile "$LINENO"; then :
5018
5019 else
5020 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5021 CXXFLAGS="-g"
5022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5023 /* end confdefs.h. */
5024
5025 int
5026 main ()
5027 {
5028
5029 ;
5030 return 0;
5031 }
5032 _ACEOF
5033 if ac_fn_cxx_try_compile "$LINENO"; then :
5034 ac_cv_prog_cxx_g=yes
5035 fi
5036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5037 fi
5038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5039 fi
5040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5041 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5042 fi
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5044 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5045 if test "$ac_test_CXXFLAGS" = set; then
5046 CXXFLAGS=$ac_save_CXXFLAGS
5047 elif test $ac_cv_prog_cxx_g = yes; then
5048 if test "$GXX" = yes; then
5049 CXXFLAGS="-g -O2"
5050 else
5051 CXXFLAGS="-g"
5052 fi
5053 else
5054 if test "$GXX" = yes; then
5055 CXXFLAGS="-O2"
5056 else
5057 CXXFLAGS=
5058 fi
5059 fi
5060 ac_ext=cpp
5061 ac_cpp='$CXXCPP $CPPFLAGS'
5062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5065
5066 depcc="$CXX" am_compiler_list=
5067
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5069 $as_echo_n "checking dependency style of $depcc... " >&6; }
5070 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
5071 $as_echo_n "(cached) " >&6
5072 else
5073 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5074 # We make a subdir and do the tests there. Otherwise we can end up
5075 # making bogus files that we don't know about and never remove. For
5076 # instance it was reported that on HP-UX the gcc test will end up
5077 # making a dummy file named 'D' -- because '-MD' means "put the output
5078 # in D".
5079 rm -rf conftest.dir
5080 mkdir conftest.dir
5081 # Copy depcomp to subdir because otherwise we won't find it if we're
5082 # using a relative directory.
5083 cp "$am_depcomp" conftest.dir
5084 cd conftest.dir
5085 # We will build objects and dependencies in a subdirectory because
5086 # it helps to detect inapplicable dependency modes. For instance
5087 # both Tru64's cc and ICC support -MD to output dependencies as a
5088 # side effect of compilation, but ICC will put the dependencies in
5089 # the current directory while Tru64 will put them in the object
5090 # directory.
5091 mkdir sub
5092
5093 am_cv_CXX_dependencies_compiler_type=none
5094 if test "$am_compiler_list" = ""; then
5095 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5096 fi
5097 am__universal=false
5098 case " $depcc " in #(
5099 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5100 esac
5101
5102 for depmode in $am_compiler_list; do
5103 # Setup a source with many dependencies, because some compilers
5104 # like to wrap large dependency lists on column 80 (with \), and
5105 # we should not choose a depcomp mode which is confused by this.
5106 #
5107 # We need to recreate these files for each test, as the compiler may
5108 # overwrite some of them when testing with obscure command lines.
5109 # This happens at least with the AIX C compiler.
5110 : > sub/conftest.c
5111 for i in 1 2 3 4 5 6; do
5112 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5113 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5114 # Solaris 10 /bin/sh.
5115 echo '/* dummy */' > sub/conftst$i.h
5116 done
5117 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5118
5119 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5120 # mode. It turns out that the SunPro C++ compiler does not properly
5121 # handle '-M -o', and we need to detect this. Also, some Intel
5122 # versions had trouble with output in subdirs.
5123 am__obj=sub/conftest.${OBJEXT-o}
5124 am__minus_obj="-o $am__obj"
5125 case $depmode in
5126 gcc)
5127 # This depmode causes a compiler race in universal mode.
5128 test "$am__universal" = false || continue
5129 ;;
5130 nosideeffect)
5131 # After this tag, mechanisms are not by side-effect, so they'll
5132 # only be used when explicitly requested.
5133 if test "x$enable_dependency_tracking" = xyes; then
5134 continue
5135 else
5136 break
5137 fi
5138 ;;
5139 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5140 # This compiler won't grok '-c -o', but also, the minuso test has
5141 # not run yet. These depmodes are late enough in the game, and
5142 # so weak that their functioning should not be impacted.
5143 am__obj=conftest.${OBJEXT-o}
5144 am__minus_obj=
5145 ;;
5146 none) break ;;
5147 esac
5148 if depmode=$depmode \
5149 source=sub/conftest.c object=$am__obj \
5150 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5151 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5152 >/dev/null 2>conftest.err &&
5153 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5154 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5155 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5156 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5157 # icc doesn't choke on unknown options, it will just issue warnings
5158 # or remarks (even with -Werror). So we grep stderr for any message
5159 # that says an option was ignored or not supported.
5160 # When given -MP, icc 7.0 and 7.1 complain thusly:
5161 # icc: Command line warning: ignoring option '-M'; no argument required
5162 # The diagnosis changed in icc 8.0:
5163 # icc: Command line remark: option '-MP' not supported
5164 if (grep 'ignoring option' conftest.err ||
5165 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5166 am_cv_CXX_dependencies_compiler_type=$depmode
5167 break
5168 fi
5169 fi
5170 done
5171
5172 cd ..
5173 rm -rf conftest.dir
5174 else
5175 am_cv_CXX_dependencies_compiler_type=none
5176 fi
5177
5178 fi
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5180 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5181 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5182
5183 if
5184 test "x$enable_dependency_tracking" != xno \
5185 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5186 am__fastdepCXX_TRUE=
5187 am__fastdepCXX_FALSE='#'
5188 else
5189 am__fastdepCXX_TRUE='#'
5190 am__fastdepCXX_FALSE=
5191 fi
5192
5193
5194
5195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5196 /* end confdefs.h. */
5197
5198 int
5199 main ()
5200 {
5201 class a { int b; } c;
5202 ;
5203 return 0;
5204 }
5205 _ACEOF
5206 if ac_fn_cxx_try_compile "$LINENO"; then :
5207
5208 else
5209 CXX=
5210 fi
5211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5212 if test "$CXX" != ""; then
5213 HAVE_CXX_TRUE=
5214 HAVE_CXX_FALSE='#'
5215 else
5216 HAVE_CXX_TRUE='#'
5217 HAVE_CXX_FALSE=
5218 fi
5219
5220
5221 gtk_save_cxxflags="$CXXFLAGS"
5222 CXXFLAGS="$CXXFLAGS -x objective-c++"
5223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5224 /* end confdefs.h. */
5225 @interface Foo @end
5226 int
5227 main ()
5228 {
5229
5230 ;
5231 return 0;
5232 }
5233 _ACEOF
5234 if ac_fn_cxx_try_compile "$LINENO"; then :
5235 OBJC=yes
5236 else
5237 OBJC=no
5238 fi
5239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5240 if test "$OBJC" = "yes"; then
5241 HAVE_OBJC_TRUE=
5242 HAVE_OBJC_FALSE='#'
5243 else
5244 HAVE_OBJC_TRUE='#'
5245 HAVE_OBJC_FALSE=
5246 fi
5247
5248 CXXFLAGS="$gtk_save_cxxflags"
5249 ac_ext=c
5250 ac_cpp='$CPP $CPPFLAGS'
5251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5254
5255
5256 if test "$os_win32" = "yes"; then
5257 if test x$enable_static = xyes -o x$enable_static = x; then
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling static library build, must build as DLL on Windows." >&5
5259 $as_echo "$as_me: WARNING: Disabling static library build, must build as DLL on Windows." >&2;}
5260 enable_static=no
5261 fi
5262 if test x$enable_shared = xno; then
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enabling shared library build, must build as DLL on Windows." >&5
5264 $as_echo "$as_me: WARNING: Enabling shared library build, must build as DLL on Windows." >&2;}
5265 fi
5266 enable_shared=yes
5267 fi
5268
5269 enable_win32_dll=yes
5270
5271 case $host in
5272 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
5273 if test -n "$ac_tool_prefix"; then
5274 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5275 set dummy ${ac_tool_prefix}as; ac_word=$2
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5277 $as_echo_n "checking for $ac_word... " >&6; }
5278 if ${ac_cv_prog_AS+:} false; then :
5279 $as_echo_n "(cached) " >&6
5280 else
5281 if test -n "$AS"; then
5282 ac_cv_prog_AS="$AS" # Let the user override the test.
5283 else
5284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5285 for as_dir in $PATH
5286 do
5287 IFS=$as_save_IFS
5288 test -z "$as_dir" && as_dir=.
5289 for ac_exec_ext in '' $ac_executable_extensions; do
5290 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5291 ac_cv_prog_AS="${ac_tool_prefix}as"
5292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5293 break 2
5294 fi
5295 done
5296 done
5297 IFS=$as_save_IFS
5298
5299 fi
5300 fi
5301 AS=$ac_cv_prog_AS
5302 if test -n "$AS"; then
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5304 $as_echo "$AS" >&6; }
5305 else
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5307 $as_echo "no" >&6; }
5308 fi
5309
5310
5311 fi
5312 if test -z "$ac_cv_prog_AS"; then
5313 ac_ct_AS=$AS
5314 # Extract the first word of "as", so it can be a program name with args.
5315 set dummy as; ac_word=$2
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5317 $as_echo_n "checking for $ac_word... " >&6; }
5318 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5319 $as_echo_n "(cached) " >&6
5320 else
5321 if test -n "$ac_ct_AS"; then
5322 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5323 else
5324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5325 for as_dir in $PATH
5326 do
5327 IFS=$as_save_IFS
5328 test -z "$as_dir" && as_dir=.
5329 for ac_exec_ext in '' $ac_executable_extensions; do
5330 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5331 ac_cv_prog_ac_ct_AS="as"
5332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5333 break 2
5334 fi
5335 done
5336 done
5337 IFS=$as_save_IFS
5338
5339 fi
5340 fi
5341 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5342 if test -n "$ac_ct_AS"; then
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5344 $as_echo "$ac_ct_AS" >&6; }
5345 else
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5347 $as_echo "no" >&6; }
5348 fi
5349
5350 if test "x$ac_ct_AS" = x; then
5351 AS="false"
5352 else
5353 case $cross_compiling:$ac_tool_warned in
5354 yes:)
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5356 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5357 ac_tool_warned=yes ;;
5358 esac
5359 AS=$ac_ct_AS
5360 fi
5361 else
5362 AS="$ac_cv_prog_AS"
5363 fi
5364
5365 if test -n "$ac_tool_prefix"; then
5366 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5367 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5369 $as_echo_n "checking for $ac_word... " >&6; }
5370 if ${ac_cv_prog_DLLTOOL+:} false; then :
5371 $as_echo_n "(cached) " >&6
5372 else
5373 if test -n "$DLLTOOL"; then
5374 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5375 else
5376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5377 for as_dir in $PATH
5378 do
5379 IFS=$as_save_IFS
5380 test -z "$as_dir" && as_dir=.
5381 for ac_exec_ext in '' $ac_executable_extensions; do
5382 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5383 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5385 break 2
5386 fi
5387 done
5388 done
5389 IFS=$as_save_IFS
5390
5391 fi
5392 fi
5393 DLLTOOL=$ac_cv_prog_DLLTOOL
5394 if test -n "$DLLTOOL"; then
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5396 $as_echo "$DLLTOOL" >&6; }
5397 else
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5399 $as_echo "no" >&6; }
5400 fi
5401
5402
5403 fi
5404 if test -z "$ac_cv_prog_DLLTOOL"; then
5405 ac_ct_DLLTOOL=$DLLTOOL
5406 # Extract the first word of "dlltool", so it can be a program name with args.
5407 set dummy dlltool; ac_word=$2
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5409 $as_echo_n "checking for $ac_word... " >&6; }
5410 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5411 $as_echo_n "(cached) " >&6
5412 else
5413 if test -n "$ac_ct_DLLTOOL"; then
5414 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5415 else
5416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5417 for as_dir in $PATH
5418 do
5419 IFS=$as_save_IFS
5420 test -z "$as_dir" && as_dir=.
5421 for ac_exec_ext in '' $ac_executable_extensions; do
5422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5423 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5425 break 2
5426 fi
5427 done
5428 done
5429 IFS=$as_save_IFS
5430
5431 fi
5432 fi
5433 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5434 if test -n "$ac_ct_DLLTOOL"; then
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5436 $as_echo "$ac_ct_DLLTOOL" >&6; }
5437 else
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5439 $as_echo "no" >&6; }
5440 fi
5441
5442 if test "x$ac_ct_DLLTOOL" = x; then
5443 DLLTOOL="false"
5444 else
5445 case $cross_compiling:$ac_tool_warned in
5446 yes:)
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5448 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5449 ac_tool_warned=yes ;;
5450 esac
5451 DLLTOOL=$ac_ct_DLLTOOL
5452 fi
5453 else
5454 DLLTOOL="$ac_cv_prog_DLLTOOL"
5455 fi
5456
5457 if test -n "$ac_tool_prefix"; then
5458 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5459 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5461 $as_echo_n "checking for $ac_word... " >&6; }
5462 if ${ac_cv_prog_OBJDUMP+:} false; then :
5463 $as_echo_n "(cached) " >&6
5464 else
5465 if test -n "$OBJDUMP"; then
5466 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5467 else
5468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5469 for as_dir in $PATH
5470 do
5471 IFS=$as_save_IFS
5472 test -z "$as_dir" && as_dir=.
5473 for ac_exec_ext in '' $ac_executable_extensions; do
5474 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5475 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5477 break 2
5478 fi
5479 done
5480 done
5481 IFS=$as_save_IFS
5482
5483 fi
5484 fi
5485 OBJDUMP=$ac_cv_prog_OBJDUMP
5486 if test -n "$OBJDUMP"; then
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5488 $as_echo "$OBJDUMP" >&6; }
5489 else
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5491 $as_echo "no" >&6; }
5492 fi
5493
5494
5495 fi
5496 if test -z "$ac_cv_prog_OBJDUMP"; then
5497 ac_ct_OBJDUMP=$OBJDUMP
5498 # Extract the first word of "objdump", so it can be a program name with args.
5499 set dummy objdump; ac_word=$2
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5501 $as_echo_n "checking for $ac_word... " >&6; }
5502 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5503 $as_echo_n "(cached) " >&6
5504 else
5505 if test -n "$ac_ct_OBJDUMP"; then
5506 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5507 else
5508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5509 for as_dir in $PATH
5510 do
5511 IFS=$as_save_IFS
5512 test -z "$as_dir" && as_dir=.
5513 for ac_exec_ext in '' $ac_executable_extensions; do
5514 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5515 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5517 break 2
5518 fi
5519 done
5520 done
5521 IFS=$as_save_IFS
5522
5523 fi
5524 fi
5525 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5526 if test -n "$ac_ct_OBJDUMP"; then
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5528 $as_echo "$ac_ct_OBJDUMP" >&6; }
5529 else
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5531 $as_echo "no" >&6; }
5532 fi
5533
5534 if test "x$ac_ct_OBJDUMP" = x; then
5535 OBJDUMP="false"
5536 else
5537 case $cross_compiling:$ac_tool_warned in
5538 yes:)
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5540 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5541 ac_tool_warned=yes ;;
5542 esac
5543 OBJDUMP=$ac_ct_OBJDUMP
5544 fi
5545 else
5546 OBJDUMP="$ac_cv_prog_OBJDUMP"
5547 fi
5548
5549 ;;
5550 esac
5551
5552 test -z "$AS" && AS=as
5553
5554
5555
5556
5557
5558 test -z "$DLLTOOL" && DLLTOOL=dlltool
5559
5560
5561
5562
5563
5564 test -z "$OBJDUMP" && OBJDUMP=objdump
5565
5566
5567
5568
5569
5570
5571
5572 case `pwd` in
5573 *\ * | *\ *)
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5575 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5576 esac
5577
5578
5579
5580 macro_version='2.4.6'
5581 macro_revision='2.4.6'
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595 ltmain=$ac_aux_dir/ltmain.sh
5596
5597 # Backslashify metacharacters that are still active within
5598 # double-quoted strings.
5599 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5600
5601 # Same as above, but do not quote variable references.
5602 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5603
5604 # Sed substitution to delay expansion of an escaped shell variable in a
5605 # double_quote_subst'ed string.
5606 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5607
5608 # Sed substitution to delay expansion of an escaped single quote.
5609 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5610
5611 # Sed substitution to avoid accidental globbing in evaled expressions
5612 no_glob_subst='s/\*/\\\*/g'
5613
5614 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5615 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5616 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5617
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5619 $as_echo_n "checking how to print strings... " >&6; }
5620 # Test print first, because it will be a builtin if present.
5621 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5622 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5623 ECHO='print -r --'
5624 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5625 ECHO='printf %s\n'
5626 else
5627 # Use this function as a fallback that always works.
5628 func_fallback_echo ()
5629 {
5630 eval 'cat <<_LTECHO_EOF
5631 $1
5632 _LTECHO_EOF'
5633 }
5634 ECHO='func_fallback_echo'
5635 fi
5636
5637 # func_echo_all arg...
5638 # Invoke $ECHO with all args, space-separated.
5639 func_echo_all ()
5640 {
5641 $ECHO ""
5642 }
5643
5644 case $ECHO in
5645 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5646 $as_echo "printf" >&6; } ;;
5647 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5648 $as_echo "print -r" >&6; } ;;
5649 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5650 $as_echo "cat" >&6; } ;;
5651 esac
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5667 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5668 if ${ac_cv_path_SED+:} false; then :
5669 $as_echo_n "(cached) " >&6
5670 else
5671 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5672 for ac_i in 1 2 3 4 5 6 7; do
5673 ac_script="$ac_script$as_nl$ac_script"
5674 done
5675 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5676 { ac_script=; unset ac_script;}
5677 if test -z "$SED"; then
5678 ac_path_SED_found=false
5679 # Loop through the user's path and test for each of PROGNAME-LIST
5680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5681 for as_dir in $PATH
5682 do
5683 IFS=$as_save_IFS
5684 test -z "$as_dir" && as_dir=.
5685 for ac_prog in sed gsed; do
5686 for ac_exec_ext in '' $ac_executable_extensions; do
5687 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5688 as_fn_executable_p "$ac_path_SED" || continue
5689 # Check for GNU ac_path_SED and select it if it is found.
5690 # Check for GNU $ac_path_SED
5691 case `"$ac_path_SED" --version 2>&1` in
5692 *GNU*)
5693 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5694 *)
5695 ac_count=0
5696 $as_echo_n 0123456789 >"conftest.in"
5697 while :
5698 do
5699 cat "conftest.in" "conftest.in" >"conftest.tmp"
5700 mv "conftest.tmp" "conftest.in"
5701 cp "conftest.in" "conftest.nl"
5702 $as_echo '' >> "conftest.nl"
5703 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5704 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5705 as_fn_arith $ac_count + 1 && ac_count=$as_val
5706 if test $ac_count -gt ${ac_path_SED_max-0}; then
5707 # Best one so far, save it but keep looking for a better one
5708 ac_cv_path_SED="$ac_path_SED"
5709 ac_path_SED_max=$ac_count
5710 fi
5711 # 10*(2^10) chars as input seems more than enough
5712 test $ac_count -gt 10 && break
5713 done
5714 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5715 esac
5716
5717 $ac_path_SED_found && break 3
5718 done
5719 done
5720 done
5721 IFS=$as_save_IFS
5722 if test -z "$ac_cv_path_SED"; then
5723 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5724 fi
5725 else
5726 ac_cv_path_SED=$SED
5727 fi
5728
5729 fi
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5731 $as_echo "$ac_cv_path_SED" >&6; }
5732 SED="$ac_cv_path_SED"
5733 rm -f conftest.sed
5734
5735 test -z "$SED" && SED=sed
5736 Xsed="$SED -e 1s/^X//"
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5749 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5750 if ${ac_cv_path_GREP+:} false; then :
5751 $as_echo_n "(cached) " >&6
5752 else
5753 if test -z "$GREP"; then
5754 ac_path_GREP_found=false
5755 # Loop through the user's path and test for each of PROGNAME-LIST
5756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5757 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5758 do
5759 IFS=$as_save_IFS
5760 test -z "$as_dir" && as_dir=.
5761 for ac_prog in grep ggrep; do
5762 for ac_exec_ext in '' $ac_executable_extensions; do
5763 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5764 as_fn_executable_p "$ac_path_GREP" || continue
5765 # Check for GNU ac_path_GREP and select it if it is found.
5766 # Check for GNU $ac_path_GREP
5767 case `"$ac_path_GREP" --version 2>&1` in
5768 *GNU*)
5769 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5770 *)
5771 ac_count=0
5772 $as_echo_n 0123456789 >"conftest.in"
5773 while :
5774 do
5775 cat "conftest.in" "conftest.in" >"conftest.tmp"
5776 mv "conftest.tmp" "conftest.in"
5777 cp "conftest.in" "conftest.nl"
5778 $as_echo 'GREP' >> "conftest.nl"
5779 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5780 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5781 as_fn_arith $ac_count + 1 && ac_count=$as_val
5782 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5783 # Best one so far, save it but keep looking for a better one
5784 ac_cv_path_GREP="$ac_path_GREP"
5785 ac_path_GREP_max=$ac_count
5786 fi
5787 # 10*(2^10) chars as input seems more than enough
5788 test $ac_count -gt 10 && break
5789 done
5790 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5791 esac
5792
5793 $ac_path_GREP_found && break 3
5794 done
5795 done
5796 done
5797 IFS=$as_save_IFS
5798 if test -z "$ac_cv_path_GREP"; then
5799 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5800 fi
5801 else
5802 ac_cv_path_GREP=$GREP
5803 fi
5804
5805 fi
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5807 $as_echo "$ac_cv_path_GREP" >&6; }
5808 GREP="$ac_cv_path_GREP"
5809
5810
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5812 $as_echo_n "checking for egrep... " >&6; }
5813 if ${ac_cv_path_EGREP+:} false; then :
5814 $as_echo_n "(cached) " >&6
5815 else
5816 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5817 then ac_cv_path_EGREP="$GREP -E"
5818 else
5819 if test -z "$EGREP"; then
5820 ac_path_EGREP_found=false
5821 # Loop through the user's path and test for each of PROGNAME-LIST
5822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5823 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5824 do
5825 IFS=$as_save_IFS
5826 test -z "$as_dir" && as_dir=.
5827 for ac_prog in egrep; do
5828 for ac_exec_ext in '' $ac_executable_extensions; do
5829 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5830 as_fn_executable_p "$ac_path_EGREP" || continue
5831 # Check for GNU ac_path_EGREP and select it if it is found.
5832 # Check for GNU $ac_path_EGREP
5833 case `"$ac_path_EGREP" --version 2>&1` in
5834 *GNU*)
5835 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5836 *)
5837 ac_count=0
5838 $as_echo_n 0123456789 >"conftest.in"
5839 while :
5840 do
5841 cat "conftest.in" "conftest.in" >"conftest.tmp"
5842 mv "conftest.tmp" "conftest.in"
5843 cp "conftest.in" "conftest.nl"
5844 $as_echo 'EGREP' >> "conftest.nl"
5845 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5846 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5847 as_fn_arith $ac_count + 1 && ac_count=$as_val
5848 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5849 # Best one so far, save it but keep looking for a better one
5850 ac_cv_path_EGREP="$ac_path_EGREP"
5851 ac_path_EGREP_max=$ac_count
5852 fi
5853 # 10*(2^10) chars as input seems more than enough
5854 test $ac_count -gt 10 && break
5855 done
5856 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5857 esac
5858
5859 $ac_path_EGREP_found && break 3
5860 done
5861 done
5862 done
5863 IFS=$as_save_IFS
5864 if test -z "$ac_cv_path_EGREP"; then
5865 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5866 fi
5867 else
5868 ac_cv_path_EGREP=$EGREP
5869 fi
5870
5871 fi
5872 fi
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5874 $as_echo "$ac_cv_path_EGREP" >&6; }
5875 EGREP="$ac_cv_path_EGREP"
5876
5877
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5879 $as_echo_n "checking for fgrep... " >&6; }
5880 if ${ac_cv_path_FGREP+:} false; then :
5881 $as_echo_n "(cached) " >&6
5882 else
5883 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5884 then ac_cv_path_FGREP="$GREP -F"
5885 else
5886 if test -z "$FGREP"; then
5887 ac_path_FGREP_found=false
5888 # Loop through the user's path and test for each of PROGNAME-LIST
5889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5890 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5891 do
5892 IFS=$as_save_IFS
5893 test -z "$as_dir" && as_dir=.
5894 for ac_prog in fgrep; do
5895 for ac_exec_ext in '' $ac_executable_extensions; do
5896 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5897 as_fn_executable_p "$ac_path_FGREP" || continue
5898 # Check for GNU ac_path_FGREP and select it if it is found.
5899 # Check for GNU $ac_path_FGREP
5900 case `"$ac_path_FGREP" --version 2>&1` in
5901 *GNU*)
5902 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5903 *)
5904 ac_count=0
5905 $as_echo_n 0123456789 >"conftest.in"
5906 while :
5907 do
5908 cat "conftest.in" "conftest.in" >"conftest.tmp"
5909 mv "conftest.tmp" "conftest.in"
5910 cp "conftest.in" "conftest.nl"
5911 $as_echo 'FGREP' >> "conftest.nl"
5912 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5913 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5914 as_fn_arith $ac_count + 1 && ac_count=$as_val
5915 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5916 # Best one so far, save it but keep looking for a better one
5917 ac_cv_path_FGREP="$ac_path_FGREP"
5918 ac_path_FGREP_max=$ac_count
5919 fi
5920 # 10*(2^10) chars as input seems more than enough
5921 test $ac_count -gt 10 && break
5922 done
5923 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5924 esac
5925
5926 $ac_path_FGREP_found && break 3
5927 done
5928 done
5929 done
5930 IFS=$as_save_IFS
5931 if test -z "$ac_cv_path_FGREP"; then
5932 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5933 fi
5934 else
5935 ac_cv_path_FGREP=$FGREP
5936 fi
5937
5938 fi
5939 fi
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5941 $as_echo "$ac_cv_path_FGREP" >&6; }
5942 FGREP="$ac_cv_path_FGREP"
5943
5944
5945 test -z "$GREP" && GREP=grep
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965 # Check whether --with-gnu-ld was given.
5966 if test "${with_gnu_ld+set}" = set; then :
5967 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5968 else
5969 with_gnu_ld=no
5970 fi
5971
5972 ac_prog=ld
5973 if test yes = "$GCC"; then
5974 # Check if gcc -print-prog-name=ld gives a path.
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5976 $as_echo_n "checking for ld used by $CC... " >&6; }
5977 case $host in
5978 *-*-mingw*)
5979 # gcc leaves a trailing carriage return, which upsets mingw
5980 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5981 *)
5982 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5983 esac
5984 case $ac_prog in
5985 # Accept absolute paths.
5986 [\\/]* | ?:[\\/]*)
5987 re_direlt='/[^/][^/]*/\.\./'
5988 # Canonicalize the pathname of ld
5989 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5990 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5991 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5992 done
5993 test -z "$LD" && LD=$ac_prog
5994 ;;
5995 "")
5996 # If it fails, then pretend we aren't using GCC.
5997 ac_prog=ld
5998 ;;
5999 *)
6000 # If it is relative, then search for the first ld in PATH.
6001 with_gnu_ld=unknown
6002 ;;
6003 esac
6004 elif test yes = "$with_gnu_ld"; then
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6006 $as_echo_n "checking for GNU ld... " >&6; }
6007 else
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6009 $as_echo_n "checking for non-GNU ld... " >&6; }
6010 fi
6011 if ${lt_cv_path_LD+:} false; then :
6012 $as_echo_n "(cached) " >&6
6013 else
6014 if test -z "$LD"; then
6015 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6016 for ac_dir in $PATH; do
6017 IFS=$lt_save_ifs
6018 test -z "$ac_dir" && ac_dir=.
6019 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6020 lt_cv_path_LD=$ac_dir/$ac_prog
6021 # Check to see if the program is GNU ld. I'd rather use --version,
6022 # but apparently some variants of GNU ld only accept -v.
6023 # Break only if it was the GNU/non-GNU ld that we prefer.
6024 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6025 *GNU* | *'with BFD'*)
6026 test no != "$with_gnu_ld" && break
6027 ;;
6028 *)
6029 test yes != "$with_gnu_ld" && break
6030 ;;
6031 esac
6032 fi
6033 done
6034 IFS=$lt_save_ifs
6035 else
6036 lt_cv_path_LD=$LD # Let the user override the test with a path.
6037 fi
6038 fi
6039
6040 LD=$lt_cv_path_LD
6041 if test -n "$LD"; then
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6043 $as_echo "$LD" >&6; }
6044 else
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6046 $as_echo "no" >&6; }
6047 fi
6048 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6050 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6051 if ${lt_cv_prog_gnu_ld+:} false; then :
6052 $as_echo_n "(cached) " >&6
6053 else
6054 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6055 case `$LD -v 2>&1 </dev/null` in
6056 *GNU* | *'with BFD'*)
6057 lt_cv_prog_gnu_ld=yes
6058 ;;
6059 *)
6060 lt_cv_prog_gnu_ld=no
6061 ;;
6062 esac
6063 fi
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6065 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6066 with_gnu_ld=$lt_cv_prog_gnu_ld
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6077 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6078 if ${lt_cv_path_NM+:} false; then :
6079 $as_echo_n "(cached) " >&6
6080 else
6081 if test -n "$NM"; then
6082 # Let the user override the test.
6083 lt_cv_path_NM=$NM
6084 else
6085 lt_nm_to_check=${ac_tool_prefix}nm
6086 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6087 lt_nm_to_check="$lt_nm_to_check nm"
6088 fi
6089 for lt_tmp_nm in $lt_nm_to_check; do
6090 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6091 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6092 IFS=$lt_save_ifs
6093 test -z "$ac_dir" && ac_dir=.
6094 tmp_nm=$ac_dir/$lt_tmp_nm
6095 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
6096 # Check to see if the nm accepts a BSD-compat flag.
6097 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6098 # nm: unknown option "B" ignored
6099 # Tru64's nm complains that /dev/null is an invalid object file
6100 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
6101 case $build_os in
6102 mingw*) lt_bad_file=conftest.nm/nofile ;;
6103 *) lt_bad_file=/dev/null ;;
6104 esac
6105 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
6106 *$lt_bad_file* | *'Invalid file or object type'*)
6107 lt_cv_path_NM="$tmp_nm -B"
6108 break 2
6109 ;;
6110 *)
6111 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6112 */dev/null*)
6113 lt_cv_path_NM="$tmp_nm -p"
6114 break 2
6115 ;;
6116 *)
6117 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6118 continue # so that we can try to find one that supports BSD flags
6119 ;;
6120 esac
6121 ;;
6122 esac
6123 fi
6124 done
6125 IFS=$lt_save_ifs
6126 done
6127 : ${lt_cv_path_NM=no}
6128 fi
6129 fi
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6131 $as_echo "$lt_cv_path_NM" >&6; }
6132 if test no != "$lt_cv_path_NM"; then
6133 NM=$lt_cv_path_NM
6134 else
6135 # Didn't find any BSD compatible name lister, look for dumpbin.
6136 if test -n "$DUMPBIN"; then :
6137 # Let the user override the test.
6138 else
6139 if test -n "$ac_tool_prefix"; then
6140 for ac_prog in dumpbin "link -dump"
6141 do
6142 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6143 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6145 $as_echo_n "checking for $ac_word... " >&6; }
6146 if ${ac_cv_prog_DUMPBIN+:} false; then :
6147 $as_echo_n "(cached) " >&6
6148 else
6149 if test -n "$DUMPBIN"; then
6150 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6151 else
6152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6153 for as_dir in $PATH
6154 do
6155 IFS=$as_save_IFS
6156 test -z "$as_dir" && as_dir=.
6157 for ac_exec_ext in '' $ac_executable_extensions; do
6158 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6159 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6161 break 2
6162 fi
6163 done
6164 done
6165 IFS=$as_save_IFS
6166
6167 fi
6168 fi
6169 DUMPBIN=$ac_cv_prog_DUMPBIN
6170 if test -n "$DUMPBIN"; then
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6172 $as_echo "$DUMPBIN" >&6; }
6173 else
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6175 $as_echo "no" >&6; }
6176 fi
6177
6178
6179 test -n "$DUMPBIN" && break
6180 done
6181 fi
6182 if test -z "$DUMPBIN"; then
6183 ac_ct_DUMPBIN=$DUMPBIN
6184 for ac_prog in dumpbin "link -dump"
6185 do
6186 # Extract the first word of "$ac_prog", so it can be a program name with args.
6187 set dummy $ac_prog; ac_word=$2
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6189 $as_echo_n "checking for $ac_word... " >&6; }
6190 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6191 $as_echo_n "(cached) " >&6
6192 else
6193 if test -n "$ac_ct_DUMPBIN"; then
6194 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6195 else
6196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6197 for as_dir in $PATH
6198 do
6199 IFS=$as_save_IFS
6200 test -z "$as_dir" && as_dir=.
6201 for ac_exec_ext in '' $ac_executable_extensions; do
6202 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6203 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6205 break 2
6206 fi
6207 done
6208 done
6209 IFS=$as_save_IFS
6210
6211 fi
6212 fi
6213 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6214 if test -n "$ac_ct_DUMPBIN"; then
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6216 $as_echo "$ac_ct_DUMPBIN" >&6; }
6217 else
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6219 $as_echo "no" >&6; }
6220 fi
6221
6222
6223 test -n "$ac_ct_DUMPBIN" && break
6224 done
6225
6226 if test "x$ac_ct_DUMPBIN" = x; then
6227 DUMPBIN=":"
6228 else
6229 case $cross_compiling:$ac_tool_warned in
6230 yes:)
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6232 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6233 ac_tool_warned=yes ;;
6234 esac
6235 DUMPBIN=$ac_ct_DUMPBIN
6236 fi
6237 fi
6238
6239 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6240 *COFF*)
6241 DUMPBIN="$DUMPBIN -symbols -headers"
6242 ;;
6243 *)
6244 DUMPBIN=:
6245 ;;
6246 esac
6247 fi
6248
6249 if test : != "$DUMPBIN"; then
6250 NM=$DUMPBIN
6251 fi
6252 fi
6253 test -z "$NM" && NM=nm
6254
6255
6256
6257
6258
6259
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6261 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6262 if ${lt_cv_nm_interface+:} false; then :
6263 $as_echo_n "(cached) " >&6
6264 else
6265 lt_cv_nm_interface="BSD nm"
6266 echo "int some_variable = 0;" > conftest.$ac_ext
6267 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6268 (eval "$ac_compile" 2>conftest.err)
6269 cat conftest.err >&5
6270 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6271 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6272 cat conftest.err >&5
6273 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6274 cat conftest.out >&5
6275 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6276 lt_cv_nm_interface="MS dumpbin"
6277 fi
6278 rm -f conftest*
6279 fi
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6281 $as_echo "$lt_cv_nm_interface" >&6; }
6282
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6284 $as_echo_n "checking whether ln -s works... " >&6; }
6285 LN_S=$as_ln_s
6286 if test "$LN_S" = "ln -s"; then
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6288 $as_echo "yes" >&6; }
6289 else
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6291 $as_echo "no, using $LN_S" >&6; }
6292 fi
6293
6294 # find the maximum length of command line arguments
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6296 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6297 if ${lt_cv_sys_max_cmd_len+:} false; then :
6298 $as_echo_n "(cached) " >&6
6299 else
6300 i=0
6301 teststring=ABCD
6302
6303 case $build_os in
6304 msdosdjgpp*)
6305 # On DJGPP, this test can blow up pretty badly due to problems in libc
6306 # (any single argument exceeding 2000 bytes causes a buffer overrun
6307 # during glob expansion). Even if it were fixed, the result of this
6308 # check would be larger than it should be.
6309 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6310 ;;
6311
6312 gnu*)
6313 # Under GNU Hurd, this test is not required because there is
6314 # no limit to the length of command line arguments.
6315 # Libtool will interpret -1 as no limit whatsoever
6316 lt_cv_sys_max_cmd_len=-1;
6317 ;;
6318
6319 cygwin* | mingw* | cegcc*)
6320 # On Win9x/ME, this test blows up -- it succeeds, but takes
6321 # about 5 minutes as the teststring grows exponentially.
6322 # Worse, since 9x/ME are not pre-emptively multitasking,
6323 # you end up with a "frozen" computer, even though with patience
6324 # the test eventually succeeds (with a max line length of 256k).
6325 # Instead, let's just punt: use the minimum linelength reported by
6326 # all of the supported platforms: 8192 (on NT/2K/XP).
6327 lt_cv_sys_max_cmd_len=8192;
6328 ;;
6329
6330 mint*)
6331 # On MiNT this can take a long time and run out of memory.
6332 lt_cv_sys_max_cmd_len=8192;
6333 ;;
6334
6335 amigaos*)
6336 # On AmigaOS with pdksh, this test takes hours, literally.
6337 # So we just punt and use a minimum line length of 8192.
6338 lt_cv_sys_max_cmd_len=8192;
6339 ;;
6340
6341 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6342 # This has been around since 386BSD, at least. Likely further.
6343 if test -x /sbin/sysctl; then
6344 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6345 elif test -x /usr/sbin/sysctl; then
6346 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6347 else
6348 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6349 fi
6350 # And add a safety zone
6351 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6352 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6353 ;;
6354
6355 interix*)
6356 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6357 lt_cv_sys_max_cmd_len=196608
6358 ;;
6359
6360 os2*)
6361 # The test takes a long time on OS/2.
6362 lt_cv_sys_max_cmd_len=8192
6363 ;;
6364
6365 osf*)
6366 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6367 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6368 # nice to cause kernel panics so lets avoid the loop below.
6369 # First set a reasonable default.
6370 lt_cv_sys_max_cmd_len=16384
6371 #
6372 if test -x /sbin/sysconfig; then
6373 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6374 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6375 esac
6376 fi
6377 ;;
6378 sco3.2v5*)
6379 lt_cv_sys_max_cmd_len=102400
6380 ;;
6381 sysv5* | sco5v6* | sysv4.2uw2*)
6382 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6383 if test -n "$kargmax"; then
6384 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6385 else
6386 lt_cv_sys_max_cmd_len=32768
6387 fi
6388 ;;
6389 *)
6390 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6391 if test -n "$lt_cv_sys_max_cmd_len" && \
6392 test undefined != "$lt_cv_sys_max_cmd_len"; then
6393 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6394 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6395 else
6396 # Make teststring a little bigger before we do anything with it.
6397 # a 1K string should be a reasonable start.
6398 for i in 1 2 3 4 5 6 7 8; do
6399 teststring=$teststring$teststring
6400 done
6401 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6402 # If test is not a shell built-in, we'll probably end up computing a
6403 # maximum length that is only half of the actual maximum length, but
6404 # we can't tell.
6405 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6406 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6407 test 17 != "$i" # 1/2 MB should be enough
6408 do
6409 i=`expr $i + 1`
6410 teststring=$teststring$teststring
6411 done
6412 # Only check the string length outside the loop.
6413 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6414 teststring=
6415 # Add a significant safety factor because C++ compilers can tack on
6416 # massive amounts of additional arguments before passing them to the
6417 # linker. It appears as though 1/2 is a usable value.
6418 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6419 fi
6420 ;;
6421 esac
6422
6423 fi
6424
6425 if test -n "$lt_cv_sys_max_cmd_len"; then
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6427 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6428 else
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6430 $as_echo "none" >&6; }
6431 fi
6432 max_cmd_len=$lt_cv_sys_max_cmd_len
6433
6434
6435
6436
6437
6438
6439 : ${CP="cp -f"}
6440 : ${MV="mv -f"}
6441 : ${RM="rm -f"}
6442
6443 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6444 lt_unset=unset
6445 else
6446 lt_unset=false
6447 fi
6448
6449
6450
6451
6452
6453 # test EBCDIC or ASCII
6454 case `echo X|tr X '\101'` in
6455 A) # ASCII based system
6456 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6457 lt_SP2NL='tr \040 \012'
6458 lt_NL2SP='tr \015\012 \040\040'
6459 ;;
6460 *) # EBCDIC based system
6461 lt_SP2NL='tr \100 \n'
6462 lt_NL2SP='tr \r\n \100\100'
6463 ;;
6464 esac
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6475 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6476 if ${lt_cv_to_host_file_cmd+:} false; then :
6477 $as_echo_n "(cached) " >&6
6478 else
6479 case $host in
6480 *-*-mingw* )
6481 case $build in
6482 *-*-mingw* ) # actually msys
6483 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6484 ;;
6485 *-*-cygwin* )
6486 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6487 ;;
6488 * ) # otherwise, assume *nix
6489 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6490 ;;
6491 esac
6492 ;;
6493 *-*-cygwin* )
6494 case $build in
6495 *-*-mingw* ) # actually msys
6496 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6497 ;;
6498 *-*-cygwin* )
6499 lt_cv_to_host_file_cmd=func_convert_file_noop
6500 ;;
6501 * ) # otherwise, assume *nix
6502 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6503 ;;
6504 esac
6505 ;;
6506 * ) # unhandled hosts (and "normal" native builds)
6507 lt_cv_to_host_file_cmd=func_convert_file_noop
6508 ;;
6509 esac
6510
6511 fi
6512
6513 to_host_file_cmd=$lt_cv_to_host_file_cmd
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6515 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6516
6517
6518
6519
6520
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6522 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6523 if ${lt_cv_to_tool_file_cmd+:} false; then :
6524 $as_echo_n "(cached) " >&6
6525 else
6526 #assume ordinary cross tools, or native build.
6527 lt_cv_to_tool_file_cmd=func_convert_file_noop
6528 case $host in
6529 *-*-mingw* )
6530 case $build in
6531 *-*-mingw* ) # actually msys
6532 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6533 ;;
6534 esac
6535 ;;
6536 esac
6537
6538 fi
6539
6540 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6542 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6543
6544
6545
6546
6547
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6549 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6550 if ${lt_cv_ld_reload_flag+:} false; then :
6551 $as_echo_n "(cached) " >&6
6552 else
6553 lt_cv_ld_reload_flag='-r'
6554 fi
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6556 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6557 reload_flag=$lt_cv_ld_reload_flag
6558 case $reload_flag in
6559 "" | " "*) ;;
6560 *) reload_flag=" $reload_flag" ;;
6561 esac
6562 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6563 case $host_os in
6564 cygwin* | mingw* | pw32* | cegcc*)
6565 if test yes != "$GCC"; then
6566 reload_cmds=false
6567 fi
6568 ;;
6569 darwin*)
6570 if test yes = "$GCC"; then
6571 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6572 else
6573 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6574 fi
6575 ;;
6576 esac
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586 if test -n "$ac_tool_prefix"; then
6587 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6588 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6590 $as_echo_n "checking for $ac_word... " >&6; }
6591 if ${ac_cv_prog_OBJDUMP+:} false; then :
6592 $as_echo_n "(cached) " >&6
6593 else
6594 if test -n "$OBJDUMP"; then
6595 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6596 else
6597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6598 for as_dir in $PATH
6599 do
6600 IFS=$as_save_IFS
6601 test -z "$as_dir" && as_dir=.
6602 for ac_exec_ext in '' $ac_executable_extensions; do
6603 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6604 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6606 break 2
6607 fi
6608 done
6609 done
6610 IFS=$as_save_IFS
6611
6612 fi
6613 fi
6614 OBJDUMP=$ac_cv_prog_OBJDUMP
6615 if test -n "$OBJDUMP"; then
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6617 $as_echo "$OBJDUMP" >&6; }
6618 else
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6620 $as_echo "no" >&6; }
6621 fi
6622
6623
6624 fi
6625 if test -z "$ac_cv_prog_OBJDUMP"; then
6626 ac_ct_OBJDUMP=$OBJDUMP
6627 # Extract the first word of "objdump", so it can be a program name with args.
6628 set dummy objdump; ac_word=$2
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6630 $as_echo_n "checking for $ac_word... " >&6; }
6631 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6632 $as_echo_n "(cached) " >&6
6633 else
6634 if test -n "$ac_ct_OBJDUMP"; then
6635 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6636 else
6637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6638 for as_dir in $PATH
6639 do
6640 IFS=$as_save_IFS
6641 test -z "$as_dir" && as_dir=.
6642 for ac_exec_ext in '' $ac_executable_extensions; do
6643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6644 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6646 break 2
6647 fi
6648 done
6649 done
6650 IFS=$as_save_IFS
6651
6652 fi
6653 fi
6654 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6655 if test -n "$ac_ct_OBJDUMP"; then
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6657 $as_echo "$ac_ct_OBJDUMP" >&6; }
6658 else
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6660 $as_echo "no" >&6; }
6661 fi
6662
6663 if test "x$ac_ct_OBJDUMP" = x; then
6664 OBJDUMP="false"
6665 else
6666 case $cross_compiling:$ac_tool_warned in
6667 yes:)
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6669 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6670 ac_tool_warned=yes ;;
6671 esac
6672 OBJDUMP=$ac_ct_OBJDUMP
6673 fi
6674 else
6675 OBJDUMP="$ac_cv_prog_OBJDUMP"
6676 fi
6677
6678 test -z "$OBJDUMP" && OBJDUMP=objdump
6679
6680
6681
6682
6683
6684
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6686 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6687 if ${lt_cv_deplibs_check_method+:} false; then :
6688 $as_echo_n "(cached) " >&6
6689 else
6690 lt_cv_file_magic_cmd='$MAGIC_CMD'
6691 lt_cv_file_magic_test_file=
6692 lt_cv_deplibs_check_method='unknown'
6693 # Need to set the preceding variable on all platforms that support
6694 # interlibrary dependencies.
6695 # 'none' -- dependencies not supported.
6696 # 'unknown' -- same as none, but documents that we really don't know.
6697 # 'pass_all' -- all dependencies passed with no checks.
6698 # 'test_compile' -- check by making test program.
6699 # 'file_magic [[regex]]' -- check by looking for files in library path
6700 # that responds to the $file_magic_cmd with a given extended regex.
6701 # If you have 'file' or equivalent on your system and you're not sure
6702 # whether 'pass_all' will *always* work, you probably want this one.
6703
6704 case $host_os in
6705 aix[4-9]*)
6706 lt_cv_deplibs_check_method=pass_all
6707 ;;
6708
6709 beos*)
6710 lt_cv_deplibs_check_method=pass_all
6711 ;;
6712
6713 bsdi[45]*)
6714 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6715 lt_cv_file_magic_cmd='/usr/bin/file -L'
6716 lt_cv_file_magic_test_file=/shlib/libc.so
6717 ;;
6718
6719 cygwin*)
6720 # func_win32_libid is a shell function defined in ltmain.sh
6721 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6722 lt_cv_file_magic_cmd='func_win32_libid'
6723 ;;
6724
6725 mingw* | pw32*)
6726 # Base MSYS/MinGW do not provide the 'file' command needed by
6727 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6728 # unless we find 'file', for example because we are cross-compiling.
6729 if ( file / ) >/dev/null 2>&1; then
6730 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6731 lt_cv_file_magic_cmd='func_win32_libid'
6732 else
6733 # Keep this pattern in sync with the one in func_win32_libid.
6734 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6735 lt_cv_file_magic_cmd='$OBJDUMP -f'
6736 fi
6737 ;;
6738
6739 cegcc*)
6740 # use the weaker test based on 'objdump'. See mingw*.
6741 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6742 lt_cv_file_magic_cmd='$OBJDUMP -f'
6743 ;;
6744
6745 darwin* | rhapsody*)
6746 lt_cv_deplibs_check_method=pass_all
6747 ;;
6748
6749 freebsd* | dragonfly*)
6750 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6751 case $host_cpu in
6752 i*86 )
6753 # Not sure whether the presence of OpenBSD here was a mistake.
6754 # Let's accept both of them until this is cleared up.
6755 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6756 lt_cv_file_magic_cmd=/usr/bin/file
6757 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6758 ;;
6759 esac
6760 else
6761 lt_cv_deplibs_check_method=pass_all
6762 fi
6763 ;;
6764
6765 haiku*)
6766 lt_cv_deplibs_check_method=pass_all
6767 ;;
6768
6769 hpux10.20* | hpux11*)
6770 lt_cv_file_magic_cmd=/usr/bin/file
6771 case $host_cpu in
6772 ia64*)
6773 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6774 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6775 ;;
6776 hppa*64*)
6777 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]'
6778 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6779 ;;
6780 *)
6781 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6782 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6783 ;;
6784 esac
6785 ;;
6786
6787 interix[3-9]*)
6788 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6789 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6790 ;;
6791
6792 irix5* | irix6* | nonstopux*)
6793 case $LD in
6794 *-32|*"-32 ") libmagic=32-bit;;
6795 *-n32|*"-n32 ") libmagic=N32;;
6796 *-64|*"-64 ") libmagic=64-bit;;
6797 *) libmagic=never-match;;
6798 esac
6799 lt_cv_deplibs_check_method=pass_all
6800 ;;
6801
6802 # This must be glibc/ELF.
6803 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6804 lt_cv_deplibs_check_method=pass_all
6805 ;;
6806
6807 netbsd*)
6808 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6809 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6810 else
6811 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6812 fi
6813 ;;
6814
6815 newos6*)
6816 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6817 lt_cv_file_magic_cmd=/usr/bin/file
6818 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6819 ;;
6820
6821 *nto* | *qnx*)
6822 lt_cv_deplibs_check_method=pass_all
6823 ;;
6824
6825 openbsd* | bitrig*)
6826 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6827 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6828 else
6829 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6830 fi
6831 ;;
6832
6833 osf3* | osf4* | osf5*)
6834 lt_cv_deplibs_check_method=pass_all
6835 ;;
6836
6837 rdos*)
6838 lt_cv_deplibs_check_method=pass_all
6839 ;;
6840
6841 solaris*)
6842 lt_cv_deplibs_check_method=pass_all
6843 ;;
6844
6845 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6846 lt_cv_deplibs_check_method=pass_all
6847 ;;
6848
6849 sysv4 | sysv4.3*)
6850 case $host_vendor in
6851 motorola)
6852 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]'
6853 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6854 ;;
6855 ncr)
6856 lt_cv_deplibs_check_method=pass_all
6857 ;;
6858 sequent)
6859 lt_cv_file_magic_cmd='/bin/file'
6860 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6861 ;;
6862 sni)
6863 lt_cv_file_magic_cmd='/bin/file'
6864 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6865 lt_cv_file_magic_test_file=/lib/libc.so
6866 ;;
6867 siemens)
6868 lt_cv_deplibs_check_method=pass_all
6869 ;;
6870 pc)
6871 lt_cv_deplibs_check_method=pass_all
6872 ;;
6873 esac
6874 ;;
6875
6876 tpf*)
6877 lt_cv_deplibs_check_method=pass_all
6878 ;;
6879 os2*)
6880 lt_cv_deplibs_check_method=pass_all
6881 ;;
6882 esac
6883
6884 fi
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6886 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6887
6888 file_magic_glob=
6889 want_nocaseglob=no
6890 if test "$build" = "$host"; then
6891 case $host_os in
6892 mingw* | pw32*)
6893 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6894 want_nocaseglob=yes
6895 else
6896 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6897 fi
6898 ;;
6899 esac
6900 fi
6901
6902 file_magic_cmd=$lt_cv_file_magic_cmd
6903 deplibs_check_method=$lt_cv_deplibs_check_method
6904 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927 if test -n "$ac_tool_prefix"; then
6928 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6929 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6931 $as_echo_n "checking for $ac_word... " >&6; }
6932 if ${ac_cv_prog_DLLTOOL+:} false; then :
6933 $as_echo_n "(cached) " >&6
6934 else
6935 if test -n "$DLLTOOL"; then
6936 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6937 else
6938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6939 for as_dir in $PATH
6940 do
6941 IFS=$as_save_IFS
6942 test -z "$as_dir" && as_dir=.
6943 for ac_exec_ext in '' $ac_executable_extensions; do
6944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6945 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6947 break 2
6948 fi
6949 done
6950 done
6951 IFS=$as_save_IFS
6952
6953 fi
6954 fi
6955 DLLTOOL=$ac_cv_prog_DLLTOOL
6956 if test -n "$DLLTOOL"; then
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6958 $as_echo "$DLLTOOL" >&6; }
6959 else
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6961 $as_echo "no" >&6; }
6962 fi
6963
6964
6965 fi
6966 if test -z "$ac_cv_prog_DLLTOOL"; then
6967 ac_ct_DLLTOOL=$DLLTOOL
6968 # Extract the first word of "dlltool", so it can be a program name with args.
6969 set dummy dlltool; ac_word=$2
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6971 $as_echo_n "checking for $ac_word... " >&6; }
6972 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6973 $as_echo_n "(cached) " >&6
6974 else
6975 if test -n "$ac_ct_DLLTOOL"; then
6976 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6977 else
6978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6979 for as_dir in $PATH
6980 do
6981 IFS=$as_save_IFS
6982 test -z "$as_dir" && as_dir=.
6983 for ac_exec_ext in '' $ac_executable_extensions; do
6984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6985 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6987 break 2
6988 fi
6989 done
6990 done
6991 IFS=$as_save_IFS
6992
6993 fi
6994 fi
6995 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6996 if test -n "$ac_ct_DLLTOOL"; then
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6998 $as_echo "$ac_ct_DLLTOOL" >&6; }
6999 else
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7001 $as_echo "no" >&6; }
7002 fi
7003
7004 if test "x$ac_ct_DLLTOOL" = x; then
7005 DLLTOOL="false"
7006 else
7007 case $cross_compiling:$ac_tool_warned in
7008 yes:)
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7010 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7011 ac_tool_warned=yes ;;
7012 esac
7013 DLLTOOL=$ac_ct_DLLTOOL
7014 fi
7015 else
7016 DLLTOOL="$ac_cv_prog_DLLTOOL"
7017 fi
7018
7019 test -z "$DLLTOOL" && DLLTOOL=dlltool
7020
7021
7022
7023
7024
7025
7026
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7028 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7029 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7030 $as_echo_n "(cached) " >&6
7031 else
7032 lt_cv_sharedlib_from_linklib_cmd='unknown'
7033
7034 case $host_os in
7035 cygwin* | mingw* | pw32* | cegcc*)
7036 # two different shell functions defined in ltmain.sh;
7037 # decide which one to use based on capabilities of $DLLTOOL
7038 case `$DLLTOOL --help 2>&1` in
7039 *--identify-strict*)
7040 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7041 ;;
7042 *)
7043 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7044 ;;
7045 esac
7046 ;;
7047 *)
7048 # fallback: assume linklib IS sharedlib
7049 lt_cv_sharedlib_from_linklib_cmd=$ECHO
7050 ;;
7051 esac
7052
7053 fi
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7055 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7056 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7057 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7058
7059
7060
7061
7062
7063
7064
7065
7066 if test -n "$ac_tool_prefix"; then
7067 for ac_prog in ar
7068 do
7069 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7070 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7072 $as_echo_n "checking for $ac_word... " >&6; }
7073 if ${ac_cv_prog_AR+:} false; then :
7074 $as_echo_n "(cached) " >&6
7075 else
7076 if test -n "$AR"; then
7077 ac_cv_prog_AR="$AR" # Let the user override the test.
7078 else
7079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7080 for as_dir in $PATH
7081 do
7082 IFS=$as_save_IFS
7083 test -z "$as_dir" && as_dir=.
7084 for ac_exec_ext in '' $ac_executable_extensions; do
7085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7086 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7088 break 2
7089 fi
7090 done
7091 done
7092 IFS=$as_save_IFS
7093
7094 fi
7095 fi
7096 AR=$ac_cv_prog_AR
7097 if test -n "$AR"; then
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7099 $as_echo "$AR" >&6; }
7100 else
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7102 $as_echo "no" >&6; }
7103 fi
7104
7105
7106 test -n "$AR" && break
7107 done
7108 fi
7109 if test -z "$AR"; then
7110 ac_ct_AR=$AR
7111 for ac_prog in ar
7112 do
7113 # Extract the first word of "$ac_prog", so it can be a program name with args.
7114 set dummy $ac_prog; ac_word=$2
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7116 $as_echo_n "checking for $ac_word... " >&6; }
7117 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7118 $as_echo_n "(cached) " >&6
7119 else
7120 if test -n "$ac_ct_AR"; then
7121 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7122 else
7123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7124 for as_dir in $PATH
7125 do
7126 IFS=$as_save_IFS
7127 test -z "$as_dir" && as_dir=.
7128 for ac_exec_ext in '' $ac_executable_extensions; do
7129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7130 ac_cv_prog_ac_ct_AR="$ac_prog"
7131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7132 break 2
7133 fi
7134 done
7135 done
7136 IFS=$as_save_IFS
7137
7138 fi
7139 fi
7140 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7141 if test -n "$ac_ct_AR"; then
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7143 $as_echo "$ac_ct_AR" >&6; }
7144 else
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7146 $as_echo "no" >&6; }
7147 fi
7148
7149
7150 test -n "$ac_ct_AR" && break
7151 done
7152
7153 if test "x$ac_ct_AR" = x; then
7154 AR="false"
7155 else
7156 case $cross_compiling:$ac_tool_warned in
7157 yes:)
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7159 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7160 ac_tool_warned=yes ;;
7161 esac
7162 AR=$ac_ct_AR
7163 fi
7164 fi
7165
7166 : ${AR=ar}
7167 : ${AR_FLAGS=cru}
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7180 $as_echo_n "checking for archiver @FILE support... " >&6; }
7181 if ${lt_cv_ar_at_file+:} false; then :
7182 $as_echo_n "(cached) " >&6
7183 else
7184 lt_cv_ar_at_file=no
7185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7186 /* end confdefs.h. */
7187
7188 int
7189 main ()
7190 {
7191
7192 ;
7193 return 0;
7194 }
7195 _ACEOF
7196 if ac_fn_c_try_compile "$LINENO"; then :
7197 echo conftest.$ac_objext > conftest.lst
7198 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7199 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7200 (eval $lt_ar_try) 2>&5
7201 ac_status=$?
7202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7203 test $ac_status = 0; }
7204 if test 0 -eq "$ac_status"; then
7205 # Ensure the archiver fails upon bogus file names.
7206 rm -f conftest.$ac_objext libconftest.a
7207 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7208 (eval $lt_ar_try) 2>&5
7209 ac_status=$?
7210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7211 test $ac_status = 0; }
7212 if test 0 -ne "$ac_status"; then
7213 lt_cv_ar_at_file=@
7214 fi
7215 fi
7216 rm -f conftest.* libconftest.a
7217
7218 fi
7219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7220
7221 fi
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7223 $as_echo "$lt_cv_ar_at_file" >&6; }
7224
7225 if test no = "$lt_cv_ar_at_file"; then
7226 archiver_list_spec=
7227 else
7228 archiver_list_spec=$lt_cv_ar_at_file
7229 fi
7230
7231
7232
7233
7234
7235
7236
7237 if test -n "$ac_tool_prefix"; then
7238 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7239 set dummy ${ac_tool_prefix}strip; ac_word=$2
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7241 $as_echo_n "checking for $ac_word... " >&6; }
7242 if ${ac_cv_prog_STRIP+:} false; then :
7243 $as_echo_n "(cached) " >&6
7244 else
7245 if test -n "$STRIP"; then
7246 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7247 else
7248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7249 for as_dir in $PATH
7250 do
7251 IFS=$as_save_IFS
7252 test -z "$as_dir" && as_dir=.
7253 for ac_exec_ext in '' $ac_executable_extensions; do
7254 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7255 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7257 break 2
7258 fi
7259 done
7260 done
7261 IFS=$as_save_IFS
7262
7263 fi
7264 fi
7265 STRIP=$ac_cv_prog_STRIP
7266 if test -n "$STRIP"; then
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7268 $as_echo "$STRIP" >&6; }
7269 else
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7271 $as_echo "no" >&6; }
7272 fi
7273
7274
7275 fi
7276 if test -z "$ac_cv_prog_STRIP"; then
7277 ac_ct_STRIP=$STRIP
7278 # Extract the first word of "strip", so it can be a program name with args.
7279 set dummy strip; ac_word=$2
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7281 $as_echo_n "checking for $ac_word... " >&6; }
7282 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7283 $as_echo_n "(cached) " >&6
7284 else
7285 if test -n "$ac_ct_STRIP"; then
7286 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7287 else
7288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7289 for as_dir in $PATH
7290 do
7291 IFS=$as_save_IFS
7292 test -z "$as_dir" && as_dir=.
7293 for ac_exec_ext in '' $ac_executable_extensions; do
7294 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7295 ac_cv_prog_ac_ct_STRIP="strip"
7296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7297 break 2
7298 fi
7299 done
7300 done
7301 IFS=$as_save_IFS
7302
7303 fi
7304 fi
7305 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7306 if test -n "$ac_ct_STRIP"; then
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7308 $as_echo "$ac_ct_STRIP" >&6; }
7309 else
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7311 $as_echo "no" >&6; }
7312 fi
7313
7314 if test "x$ac_ct_STRIP" = x; then
7315 STRIP=":"
7316 else
7317 case $cross_compiling:$ac_tool_warned in
7318 yes:)
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7320 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7321 ac_tool_warned=yes ;;
7322 esac
7323 STRIP=$ac_ct_STRIP
7324 fi
7325 else
7326 STRIP="$ac_cv_prog_STRIP"
7327 fi
7328
7329 test -z "$STRIP" && STRIP=:
7330
7331
7332
7333
7334
7335
7336 if test -n "$ac_tool_prefix"; then
7337 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7338 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7340 $as_echo_n "checking for $ac_word... " >&6; }
7341 if ${ac_cv_prog_RANLIB+:} false; then :
7342 $as_echo_n "(cached) " >&6
7343 else
7344 if test -n "$RANLIB"; then
7345 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7346 else
7347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7348 for as_dir in $PATH
7349 do
7350 IFS=$as_save_IFS
7351 test -z "$as_dir" && as_dir=.
7352 for ac_exec_ext in '' $ac_executable_extensions; do
7353 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7354 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7356 break 2
7357 fi
7358 done
7359 done
7360 IFS=$as_save_IFS
7361
7362 fi
7363 fi
7364 RANLIB=$ac_cv_prog_RANLIB
7365 if test -n "$RANLIB"; then
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7367 $as_echo "$RANLIB" >&6; }
7368 else
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7370 $as_echo "no" >&6; }
7371 fi
7372
7373
7374 fi
7375 if test -z "$ac_cv_prog_RANLIB"; then
7376 ac_ct_RANLIB=$RANLIB
7377 # Extract the first word of "ranlib", so it can be a program name with args.
7378 set dummy ranlib; ac_word=$2
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7380 $as_echo_n "checking for $ac_word... " >&6; }
7381 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7382 $as_echo_n "(cached) " >&6
7383 else
7384 if test -n "$ac_ct_RANLIB"; then
7385 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7386 else
7387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7388 for as_dir in $PATH
7389 do
7390 IFS=$as_save_IFS
7391 test -z "$as_dir" && as_dir=.
7392 for ac_exec_ext in '' $ac_executable_extensions; do
7393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7394 ac_cv_prog_ac_ct_RANLIB="ranlib"
7395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7396 break 2
7397 fi
7398 done
7399 done
7400 IFS=$as_save_IFS
7401
7402 fi
7403 fi
7404 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7405 if test -n "$ac_ct_RANLIB"; then
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7407 $as_echo "$ac_ct_RANLIB" >&6; }
7408 else
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7410 $as_echo "no" >&6; }
7411 fi
7412
7413 if test "x$ac_ct_RANLIB" = x; then
7414 RANLIB=":"
7415 else
7416 case $cross_compiling:$ac_tool_warned in
7417 yes:)
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7419 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7420 ac_tool_warned=yes ;;
7421 esac
7422 RANLIB=$ac_ct_RANLIB
7423 fi
7424 else
7425 RANLIB="$ac_cv_prog_RANLIB"
7426 fi
7427
7428 test -z "$RANLIB" && RANLIB=:
7429
7430
7431
7432
7433
7434
7435 # Determine commands to create old-style static archives.
7436 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7437 old_postinstall_cmds='chmod 644 $oldlib'
7438 old_postuninstall_cmds=
7439
7440 if test -n "$RANLIB"; then
7441 case $host_os in
7442 bitrig* | openbsd*)
7443 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7444 ;;
7445 *)
7446 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7447 ;;
7448 esac
7449 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7450 fi
7451
7452 case $host_os in
7453 darwin*)
7454 lock_old_archive_extraction=yes ;;
7455 *)
7456 lock_old_archive_extraction=no ;;
7457 esac
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497 # If no C compiler was specified, use CC.
7498 LTCC=${LTCC-"$CC"}
7499
7500 # If no C compiler flags were specified, use CFLAGS.
7501 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7502
7503 # Allow CC to be a program name with arguments.
7504 compiler=$CC
7505
7506
7507 # Check for command to grab the raw symbol name followed by C symbol from nm.
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7509 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7510 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7511 $as_echo_n "(cached) " >&6
7512 else
7513
7514 # These are sane defaults that work on at least a few old systems.
7515 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7516
7517 # Character class describing NM global symbol codes.
7518 symcode='[BCDEGRST]'
7519
7520 # Regexp to match symbols that can be accessed directly from C.
7521 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7522
7523 # Define system-specific variables.
7524 case $host_os in
7525 aix*)
7526 symcode='[BCDT]'
7527 ;;
7528 cygwin* | mingw* | pw32* | cegcc*)
7529 symcode='[ABCDGISTW]'
7530 ;;
7531 hpux*)
7532 if test ia64 = "$host_cpu"; then
7533 symcode='[ABCDEGRST]'
7534 fi
7535 ;;
7536 irix* | nonstopux*)
7537 symcode='[BCDEGRST]'
7538 ;;
7539 osf*)
7540 symcode='[BCDEGQRST]'
7541 ;;
7542 solaris*)
7543 symcode='[BDRT]'
7544 ;;
7545 sco3.2v5*)
7546 symcode='[DT]'
7547 ;;
7548 sysv4.2uw2*)
7549 symcode='[DT]'
7550 ;;
7551 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7552 symcode='[ABDT]'
7553 ;;
7554 sysv4)
7555 symcode='[DFNSTU]'
7556 ;;
7557 esac
7558
7559 # If we're using GNU nm, then use its standard symbol codes.
7560 case `$NM -V 2>&1` in
7561 *GNU* | *'with BFD'*)
7562 symcode='[ABCDGIRSTW]' ;;
7563 esac
7564
7565 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7566 # Gets list of data symbols to import.
7567 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7568 # Adjust the below global symbol transforms to fixup imported variables.
7569 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7570 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7571 lt_c_name_lib_hook="\
7572 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7573 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7574 else
7575 # Disable hooks by default.
7576 lt_cv_sys_global_symbol_to_import=
7577 lt_cdecl_hook=
7578 lt_c_name_hook=
7579 lt_c_name_lib_hook=
7580 fi
7581
7582 # Transform an extracted symbol line into a proper C declaration.
7583 # Some systems (esp. on ia64) link data and code symbols differently,
7584 # so use this general approach.
7585 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7586 $lt_cdecl_hook\
7587 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7588 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7589
7590 # Transform an extracted symbol line into symbol name and symbol address
7591 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7592 $lt_c_name_hook\
7593 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7594 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7595
7596 # Transform an extracted symbol line into symbol name with lib prefix and
7597 # symbol address.
7598 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7599 $lt_c_name_lib_hook\
7600 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7601 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7602 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7603
7604 # Handle CRLF in mingw tool chain
7605 opt_cr=
7606 case $build_os in
7607 mingw*)
7608 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7609 ;;
7610 esac
7611
7612 # Try without a prefix underscore, then with it.
7613 for ac_symprfx in "" "_"; do
7614
7615 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7616 symxfrm="\\1 $ac_symprfx\\2 \\2"
7617
7618 # Write the raw and C identifiers.
7619 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7620 # Fake it for dumpbin and say T for any non-static function,
7621 # D for any global variable and I for any imported variable.
7622 # Also find C++ and __fastcall symbols from MSVC++,
7623 # which start with @ or ?.
7624 lt_cv_sys_global_symbol_pipe="$AWK '"\
7625 " {last_section=section; section=\$ 3};"\
7626 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7627 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7628 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7629 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7630 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7631 " \$ 0!~/External *\|/{next};"\
7632 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7633 " {if(hide[section]) next};"\
7634 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7635 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7636 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7637 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7638 " ' prfx=^$ac_symprfx"
7639 else
7640 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7641 fi
7642 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7643
7644 # Check to see that the pipe works correctly.
7645 pipe_works=no
7646
7647 rm -f conftest*
7648 cat > conftest.$ac_ext <<_LT_EOF
7649 #ifdef __cplusplus
7650 extern "C" {
7651 #endif
7652 char nm_test_var;
7653 void nm_test_func(void);
7654 void nm_test_func(void){}
7655 #ifdef __cplusplus
7656 }
7657 #endif
7658 int main(){nm_test_var='a';nm_test_func();return(0);}
7659 _LT_EOF
7660
7661 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7662 (eval $ac_compile) 2>&5
7663 ac_status=$?
7664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7665 test $ac_status = 0; }; then
7666 # Now try to grab the symbols.
7667 nlist=conftest.nm
7668 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7669 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7670 ac_status=$?
7671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7672 test $ac_status = 0; } && test -s "$nlist"; then
7673 # Try sorting and uniquifying the output.
7674 if sort "$nlist" | uniq > "$nlist"T; then
7675 mv -f "$nlist"T "$nlist"
7676 else
7677 rm -f "$nlist"T
7678 fi
7679
7680 # Make sure that we snagged all the symbols we need.
7681 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7682 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7683 cat <<_LT_EOF > conftest.$ac_ext
7684 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7685 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7686 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7687 relocations are performed -- see ld's documentation on pseudo-relocs. */
7688 # define LT_DLSYM_CONST
7689 #elif defined __osf__
7690 /* This system does not cope well with relocations in const data. */
7691 # define LT_DLSYM_CONST
7692 #else
7693 # define LT_DLSYM_CONST const
7694 #endif
7695
7696 #ifdef __cplusplus
7697 extern "C" {
7698 #endif
7699
7700 _LT_EOF
7701 # Now generate the symbol file.
7702 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7703
7704 cat <<_LT_EOF >> conftest.$ac_ext
7705
7706 /* The mapping between symbol names and symbols. */
7707 LT_DLSYM_CONST struct {
7708 const char *name;
7709 void *address;
7710 }
7711 lt__PROGRAM__LTX_preloaded_symbols[] =
7712 {
7713 { "@PROGRAM@", (void *) 0 },
7714 _LT_EOF
7715 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7716 cat <<\_LT_EOF >> conftest.$ac_ext
7717 {0, (void *) 0}
7718 };
7719
7720 /* This works around a problem in FreeBSD linker */
7721 #ifdef FREEBSD_WORKAROUND
7722 static const void *lt_preloaded_setup() {
7723 return lt__PROGRAM__LTX_preloaded_symbols;
7724 }
7725 #endif
7726
7727 #ifdef __cplusplus
7728 }
7729 #endif
7730 _LT_EOF
7731 # Now try linking the two files.
7732 mv conftest.$ac_objext conftstm.$ac_objext
7733 lt_globsym_save_LIBS=$LIBS
7734 lt_globsym_save_CFLAGS=$CFLAGS
7735 LIBS=conftstm.$ac_objext
7736 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7737 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7738 (eval $ac_link) 2>&5
7739 ac_status=$?
7740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7741 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7742 pipe_works=yes
7743 fi
7744 LIBS=$lt_globsym_save_LIBS
7745 CFLAGS=$lt_globsym_save_CFLAGS
7746 else
7747 echo "cannot find nm_test_func in $nlist" >&5
7748 fi
7749 else
7750 echo "cannot find nm_test_var in $nlist" >&5
7751 fi
7752 else
7753 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7754 fi
7755 else
7756 echo "$progname: failed program was:" >&5
7757 cat conftest.$ac_ext >&5
7758 fi
7759 rm -rf conftest* conftst*
7760
7761 # Do not use the global_symbol_pipe unless it works.
7762 if test yes = "$pipe_works"; then
7763 break
7764 else
7765 lt_cv_sys_global_symbol_pipe=
7766 fi
7767 done
7768
7769 fi
7770
7771 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7772 lt_cv_sys_global_symbol_to_cdecl=
7773 fi
7774 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7776 $as_echo "failed" >&6; }
7777 else
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7779 $as_echo "ok" >&6; }
7780 fi
7781
7782 # Response file support.
7783 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7784 nm_file_list_spec='@'
7785 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7786 nm_file_list_spec='@'
7787 fi
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7826 $as_echo_n "checking for sysroot... " >&6; }
7827
7828 # Check whether --with-sysroot was given.
7829 if test "${with_sysroot+set}" = set; then :
7830 withval=$with_sysroot;
7831 else
7832 with_sysroot=no
7833 fi
7834
7835
7836 lt_sysroot=
7837 case $with_sysroot in #(
7838 yes)
7839 if test yes = "$GCC"; then
7840 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7841 fi
7842 ;; #(
7843 /*)
7844 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7845 ;; #(
7846 no|'')
7847 ;; #(
7848 *)
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7850 $as_echo "$with_sysroot" >&6; }
7851 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7852 ;;
7853 esac
7854
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7856 $as_echo "${lt_sysroot:-no}" >&6; }
7857
7858
7859
7860
7861
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7863 $as_echo_n "checking for a working dd... " >&6; }
7864 if ${ac_cv_path_lt_DD+:} false; then :
7865 $as_echo_n "(cached) " >&6
7866 else
7867 printf 0123456789abcdef0123456789abcdef >conftest.i
7868 cat conftest.i conftest.i >conftest2.i
7869 : ${lt_DD:=$DD}
7870 if test -z "$lt_DD"; then
7871 ac_path_lt_DD_found=false
7872 # Loop through the user's path and test for each of PROGNAME-LIST
7873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7874 for as_dir in $PATH
7875 do
7876 IFS=$as_save_IFS
7877 test -z "$as_dir" && as_dir=.
7878 for ac_prog in dd; do
7879 for ac_exec_ext in '' $ac_executable_extensions; do
7880 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7881 as_fn_executable_p "$ac_path_lt_DD" || continue
7882 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7883 cmp -s conftest.i conftest.out \
7884 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7885 fi
7886 $ac_path_lt_DD_found && break 3
7887 done
7888 done
7889 done
7890 IFS=$as_save_IFS
7891 if test -z "$ac_cv_path_lt_DD"; then
7892 :
7893 fi
7894 else
7895 ac_cv_path_lt_DD=$lt_DD
7896 fi
7897
7898 rm -f conftest.i conftest2.i conftest.out
7899 fi
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7901 $as_echo "$ac_cv_path_lt_DD" >&6; }
7902
7903
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7905 $as_echo_n "checking how to truncate binary pipes... " >&6; }
7906 if ${lt_cv_truncate_bin+:} false; then :
7907 $as_echo_n "(cached) " >&6
7908 else
7909 printf 0123456789abcdef0123456789abcdef >conftest.i
7910 cat conftest.i conftest.i >conftest2.i
7911 lt_cv_truncate_bin=
7912 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7913 cmp -s conftest.i conftest.out \
7914 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7915 fi
7916 rm -f conftest.i conftest2.i conftest.out
7917 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7918 fi
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7920 $as_echo "$lt_cv_truncate_bin" >&6; }
7921
7922
7923
7924
7925
7926
7927
7928 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7929 func_cc_basename ()
7930 {
7931 for cc_temp in $*""; do
7932 case $cc_temp in
7933 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7934 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7935 \-*) ;;
7936 *) break;;
7937 esac
7938 done
7939 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7940 }
7941
7942 # Check whether --enable-libtool-lock was given.
7943 if test "${enable_libtool_lock+set}" = set; then :
7944 enableval=$enable_libtool_lock;
7945 fi
7946
7947 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7948
7949 # Some flags need to be propagated to the compiler or linker for good
7950 # libtool support.
7951 case $host in
7952 ia64-*-hpux*)
7953 # Find out what ABI is being produced by ac_compile, and set mode
7954 # options accordingly.
7955 echo 'int i;' > conftest.$ac_ext
7956 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7957 (eval $ac_compile) 2>&5
7958 ac_status=$?
7959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7960 test $ac_status = 0; }; then
7961 case `/usr/bin/file conftest.$ac_objext` in
7962 *ELF-32*)
7963 HPUX_IA64_MODE=32
7964 ;;
7965 *ELF-64*)
7966 HPUX_IA64_MODE=64
7967 ;;
7968 esac
7969 fi
7970 rm -rf conftest*
7971 ;;
7972 *-*-irix6*)
7973 # Find out what ABI is being produced by ac_compile, and set linker
7974 # options accordingly.
7975 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7976 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7977 (eval $ac_compile) 2>&5
7978 ac_status=$?
7979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7980 test $ac_status = 0; }; then
7981 if test yes = "$lt_cv_prog_gnu_ld"; then
7982 case `/usr/bin/file conftest.$ac_objext` in
7983 *32-bit*)
7984 LD="${LD-ld} -melf32bsmip"
7985 ;;
7986 *N32*)
7987 LD="${LD-ld} -melf32bmipn32"
7988 ;;
7989 *64-bit*)
7990 LD="${LD-ld} -melf64bmip"
7991 ;;
7992 esac
7993 else
7994 case `/usr/bin/file conftest.$ac_objext` in
7995 *32-bit*)
7996 LD="${LD-ld} -32"
7997 ;;
7998 *N32*)
7999 LD="${LD-ld} -n32"
8000 ;;
8001 *64-bit*)
8002 LD="${LD-ld} -64"
8003 ;;
8004 esac
8005 fi
8006 fi
8007 rm -rf conftest*
8008 ;;
8009
8010 mips64*-*linux*)
8011 # Find out what ABI is being produced by ac_compile, and set linker
8012 # options accordingly.
8013 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8014 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8015 (eval $ac_compile) 2>&5
8016 ac_status=$?
8017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8018 test $ac_status = 0; }; then
8019 emul=elf
8020 case `/usr/bin/file conftest.$ac_objext` in
8021 *32-bit*)
8022 emul="${emul}32"
8023 ;;
8024 *64-bit*)
8025 emul="${emul}64"
8026 ;;
8027 esac
8028 case `/usr/bin/file conftest.$ac_objext` in
8029 *MSB*)
8030 emul="${emul}btsmip"
8031 ;;
8032 *LSB*)
8033 emul="${emul}ltsmip"
8034 ;;
8035 esac
8036 case `/usr/bin/file conftest.$ac_objext` in
8037 *N32*)
8038 emul="${emul}n32"
8039 ;;
8040 esac
8041 LD="${LD-ld} -m $emul"
8042 fi
8043 rm -rf conftest*
8044 ;;
8045
8046 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8047 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8048 # Find out what ABI is being produced by ac_compile, and set linker
8049 # options accordingly. Note that the listed cases only cover the
8050 # situations where additional linker options are needed (such as when
8051 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8052 # vice versa); the common cases where no linker options are needed do
8053 # not appear in the list.
8054 echo 'int i;' > conftest.$ac_ext
8055 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8056 (eval $ac_compile) 2>&5
8057 ac_status=$?
8058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8059 test $ac_status = 0; }; then
8060 case `/usr/bin/file conftest.o` in
8061 *32-bit*)
8062 case $host in
8063 x86_64-*kfreebsd*-gnu)
8064 LD="${LD-ld} -m elf_i386_fbsd"
8065 ;;
8066 x86_64-*linux*)
8067 case `/usr/bin/file conftest.o` in
8068 *x86-64*)
8069 LD="${LD-ld} -m elf32_x86_64"
8070 ;;
8071 *)
8072 LD="${LD-ld} -m elf_i386"
8073 ;;
8074 esac
8075 ;;
8076 powerpc64le-*linux*)
8077 LD="${LD-ld} -m elf32lppclinux"
8078 ;;
8079 powerpc64-*linux*)
8080 LD="${LD-ld} -m elf32ppclinux"
8081 ;;
8082 s390x-*linux*)
8083 LD="${LD-ld} -m elf_s390"
8084 ;;
8085 sparc64-*linux*)
8086 LD="${LD-ld} -m elf32_sparc"
8087 ;;
8088 esac
8089 ;;
8090 *64-bit*)
8091 case $host in
8092 x86_64-*kfreebsd*-gnu)
8093 LD="${LD-ld} -m elf_x86_64_fbsd"
8094 ;;
8095 x86_64-*linux*)
8096 LD="${LD-ld} -m elf_x86_64"
8097 ;;
8098 powerpcle-*linux*)
8099 LD="${LD-ld} -m elf64lppc"
8100 ;;
8101 powerpc-*linux*)
8102 LD="${LD-ld} -m elf64ppc"
8103 ;;
8104 s390*-*linux*|s390*-*tpf*)
8105 LD="${LD-ld} -m elf64_s390"
8106 ;;
8107 sparc*-*linux*)
8108 LD="${LD-ld} -m elf64_sparc"
8109 ;;
8110 esac
8111 ;;
8112 esac
8113 fi
8114 rm -rf conftest*
8115 ;;
8116
8117 *-*-sco3.2v5*)
8118 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8119 SAVE_CFLAGS=$CFLAGS
8120 CFLAGS="$CFLAGS -belf"
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8122 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8123 if ${lt_cv_cc_needs_belf+:} false; then :
8124 $as_echo_n "(cached) " >&6
8125 else
8126 ac_ext=c
8127 ac_cpp='$CPP $CPPFLAGS'
8128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8131
8132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8133 /* end confdefs.h. */
8134
8135 int
8136 main ()
8137 {
8138
8139 ;
8140 return 0;
8141 }
8142 _ACEOF
8143 if ac_fn_c_try_link "$LINENO"; then :
8144 lt_cv_cc_needs_belf=yes
8145 else
8146 lt_cv_cc_needs_belf=no
8147 fi
8148 rm -f core conftest.err conftest.$ac_objext \
8149 conftest$ac_exeext conftest.$ac_ext
8150 ac_ext=c
8151 ac_cpp='$CPP $CPPFLAGS'
8152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8155
8156 fi
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8158 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8159 if test yes != "$lt_cv_cc_needs_belf"; then
8160 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8161 CFLAGS=$SAVE_CFLAGS
8162 fi
8163 ;;
8164 *-*solaris*)
8165 # Find out what ABI is being produced by ac_compile, and set linker
8166 # options accordingly.
8167 echo 'int i;' > conftest.$ac_ext
8168 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8169 (eval $ac_compile) 2>&5
8170 ac_status=$?
8171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8172 test $ac_status = 0; }; then
8173 case `/usr/bin/file conftest.o` in
8174 *64-bit*)
8175 case $lt_cv_prog_gnu_ld in
8176 yes*)
8177 case $host in
8178 i?86-*-solaris*|x86_64-*-solaris*)
8179 LD="${LD-ld} -m elf_x86_64"
8180 ;;
8181 sparc*-*-solaris*)
8182 LD="${LD-ld} -m elf64_sparc"
8183 ;;
8184 esac
8185 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8186 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8187 LD=${LD-ld}_sol2
8188 fi
8189 ;;
8190 *)
8191 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8192 LD="${LD-ld} -64"
8193 fi
8194 ;;
8195 esac
8196 ;;
8197 esac
8198 fi
8199 rm -rf conftest*
8200 ;;
8201 esac
8202
8203 need_locks=$enable_libtool_lock
8204
8205 if test -n "$ac_tool_prefix"; then
8206 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8207 set dummy ${ac_tool_prefix}mt; ac_word=$2
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8209 $as_echo_n "checking for $ac_word... " >&6; }
8210 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8211 $as_echo_n "(cached) " >&6
8212 else
8213 if test -n "$MANIFEST_TOOL"; then
8214 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8215 else
8216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8217 for as_dir in $PATH
8218 do
8219 IFS=$as_save_IFS
8220 test -z "$as_dir" && as_dir=.
8221 for ac_exec_ext in '' $ac_executable_extensions; do
8222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8223 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8225 break 2
8226 fi
8227 done
8228 done
8229 IFS=$as_save_IFS
8230
8231 fi
8232 fi
8233 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8234 if test -n "$MANIFEST_TOOL"; then
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8236 $as_echo "$MANIFEST_TOOL" >&6; }
8237 else
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8239 $as_echo "no" >&6; }
8240 fi
8241
8242
8243 fi
8244 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8245 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8246 # Extract the first word of "mt", so it can be a program name with args.
8247 set dummy mt; ac_word=$2
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8249 $as_echo_n "checking for $ac_word... " >&6; }
8250 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8251 $as_echo_n "(cached) " >&6
8252 else
8253 if test -n "$ac_ct_MANIFEST_TOOL"; then
8254 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8255 else
8256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8257 for as_dir in $PATH
8258 do
8259 IFS=$as_save_IFS
8260 test -z "$as_dir" && as_dir=.
8261 for ac_exec_ext in '' $ac_executable_extensions; do
8262 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8263 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8265 break 2
8266 fi
8267 done
8268 done
8269 IFS=$as_save_IFS
8270
8271 fi
8272 fi
8273 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8274 if test -n "$ac_ct_MANIFEST_TOOL"; then
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8276 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8277 else
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8279 $as_echo "no" >&6; }
8280 fi
8281
8282 if test "x$ac_ct_MANIFEST_TOOL" = x; then
8283 MANIFEST_TOOL=":"
8284 else
8285 case $cross_compiling:$ac_tool_warned in
8286 yes:)
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8289 ac_tool_warned=yes ;;
8290 esac
8291 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8292 fi
8293 else
8294 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8295 fi
8296
8297 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8299 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8300 if ${lt_cv_path_mainfest_tool+:} false; then :
8301 $as_echo_n "(cached) " >&6
8302 else
8303 lt_cv_path_mainfest_tool=no
8304 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8305 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8306 cat conftest.err >&5
8307 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8308 lt_cv_path_mainfest_tool=yes
8309 fi
8310 rm -f conftest*
8311 fi
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8313 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8314 if test yes != "$lt_cv_path_mainfest_tool"; then
8315 MANIFEST_TOOL=:
8316 fi
8317
8318
8319
8320
8321
8322
8323 case $host_os in
8324 rhapsody* | darwin*)
8325 if test -n "$ac_tool_prefix"; then
8326 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8327 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8329 $as_echo_n "checking for $ac_word... " >&6; }
8330 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8331 $as_echo_n "(cached) " >&6
8332 else
8333 if test -n "$DSYMUTIL"; then
8334 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8335 else
8336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8337 for as_dir in $PATH
8338 do
8339 IFS=$as_save_IFS
8340 test -z "$as_dir" && as_dir=.
8341 for ac_exec_ext in '' $ac_executable_extensions; do
8342 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8343 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8345 break 2
8346 fi
8347 done
8348 done
8349 IFS=$as_save_IFS
8350
8351 fi
8352 fi
8353 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8354 if test -n "$DSYMUTIL"; then
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8356 $as_echo "$DSYMUTIL" >&6; }
8357 else
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8359 $as_echo "no" >&6; }
8360 fi
8361
8362
8363 fi
8364 if test -z "$ac_cv_prog_DSYMUTIL"; then
8365 ac_ct_DSYMUTIL=$DSYMUTIL
8366 # Extract the first word of "dsymutil", so it can be a program name with args.
8367 set dummy dsymutil; ac_word=$2
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8369 $as_echo_n "checking for $ac_word... " >&6; }
8370 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8371 $as_echo_n "(cached) " >&6
8372 else
8373 if test -n "$ac_ct_DSYMUTIL"; then
8374 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8375 else
8376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8377 for as_dir in $PATH
8378 do
8379 IFS=$as_save_IFS
8380 test -z "$as_dir" && as_dir=.
8381 for ac_exec_ext in '' $ac_executable_extensions; do
8382 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8383 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8385 break 2
8386 fi
8387 done
8388 done
8389 IFS=$as_save_IFS
8390
8391 fi
8392 fi
8393 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8394 if test -n "$ac_ct_DSYMUTIL"; then
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8396 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8397 else
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8399 $as_echo "no" >&6; }
8400 fi
8401
8402 if test "x$ac_ct_DSYMUTIL" = x; then
8403 DSYMUTIL=":"
8404 else
8405 case $cross_compiling:$ac_tool_warned in
8406 yes:)
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8408 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8409 ac_tool_warned=yes ;;
8410 esac
8411 DSYMUTIL=$ac_ct_DSYMUTIL
8412 fi
8413 else
8414 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8415 fi
8416
8417 if test -n "$ac_tool_prefix"; then
8418 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8419 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8421 $as_echo_n "checking for $ac_word... " >&6; }
8422 if ${ac_cv_prog_NMEDIT+:} false; then :
8423 $as_echo_n "(cached) " >&6
8424 else
8425 if test -n "$NMEDIT"; then
8426 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8427 else
8428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8429 for as_dir in $PATH
8430 do
8431 IFS=$as_save_IFS
8432 test -z "$as_dir" && as_dir=.
8433 for ac_exec_ext in '' $ac_executable_extensions; do
8434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8435 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8437 break 2
8438 fi
8439 done
8440 done
8441 IFS=$as_save_IFS
8442
8443 fi
8444 fi
8445 NMEDIT=$ac_cv_prog_NMEDIT
8446 if test -n "$NMEDIT"; then
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8448 $as_echo "$NMEDIT" >&6; }
8449 else
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8451 $as_echo "no" >&6; }
8452 fi
8453
8454
8455 fi
8456 if test -z "$ac_cv_prog_NMEDIT"; then
8457 ac_ct_NMEDIT=$NMEDIT
8458 # Extract the first word of "nmedit", so it can be a program name with args.
8459 set dummy nmedit; ac_word=$2
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8461 $as_echo_n "checking for $ac_word... " >&6; }
8462 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8463 $as_echo_n "(cached) " >&6
8464 else
8465 if test -n "$ac_ct_NMEDIT"; then
8466 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8467 else
8468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8469 for as_dir in $PATH
8470 do
8471 IFS=$as_save_IFS
8472 test -z "$as_dir" && as_dir=.
8473 for ac_exec_ext in '' $ac_executable_extensions; do
8474 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8475 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8477 break 2
8478 fi
8479 done
8480 done
8481 IFS=$as_save_IFS
8482
8483 fi
8484 fi
8485 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8486 if test -n "$ac_ct_NMEDIT"; then
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8488 $as_echo "$ac_ct_NMEDIT" >&6; }
8489 else
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8491 $as_echo "no" >&6; }
8492 fi
8493
8494 if test "x$ac_ct_NMEDIT" = x; then
8495 NMEDIT=":"
8496 else
8497 case $cross_compiling:$ac_tool_warned in
8498 yes:)
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8500 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8501 ac_tool_warned=yes ;;
8502 esac
8503 NMEDIT=$ac_ct_NMEDIT
8504 fi
8505 else
8506 NMEDIT="$ac_cv_prog_NMEDIT"
8507 fi
8508
8509 if test -n "$ac_tool_prefix"; then
8510 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8511 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8513 $as_echo_n "checking for $ac_word... " >&6; }
8514 if ${ac_cv_prog_LIPO+:} false; then :
8515 $as_echo_n "(cached) " >&6
8516 else
8517 if test -n "$LIPO"; then
8518 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8519 else
8520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8521 for as_dir in $PATH
8522 do
8523 IFS=$as_save_IFS
8524 test -z "$as_dir" && as_dir=.
8525 for ac_exec_ext in '' $ac_executable_extensions; do
8526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8527 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8529 break 2
8530 fi
8531 done
8532 done
8533 IFS=$as_save_IFS
8534
8535 fi
8536 fi
8537 LIPO=$ac_cv_prog_LIPO
8538 if test -n "$LIPO"; then
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8540 $as_echo "$LIPO" >&6; }
8541 else
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8543 $as_echo "no" >&6; }
8544 fi
8545
8546
8547 fi
8548 if test -z "$ac_cv_prog_LIPO"; then
8549 ac_ct_LIPO=$LIPO
8550 # Extract the first word of "lipo", so it can be a program name with args.
8551 set dummy lipo; ac_word=$2
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8553 $as_echo_n "checking for $ac_word... " >&6; }
8554 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8555 $as_echo_n "(cached) " >&6
8556 else
8557 if test -n "$ac_ct_LIPO"; then
8558 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8559 else
8560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8561 for as_dir in $PATH
8562 do
8563 IFS=$as_save_IFS
8564 test -z "$as_dir" && as_dir=.
8565 for ac_exec_ext in '' $ac_executable_extensions; do
8566 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8567 ac_cv_prog_ac_ct_LIPO="lipo"
8568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8569 break 2
8570 fi
8571 done
8572 done
8573 IFS=$as_save_IFS
8574
8575 fi
8576 fi
8577 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8578 if test -n "$ac_ct_LIPO"; then
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8580 $as_echo "$ac_ct_LIPO" >&6; }
8581 else
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8583 $as_echo "no" >&6; }
8584 fi
8585
8586 if test "x$ac_ct_LIPO" = x; then
8587 LIPO=":"
8588 else
8589 case $cross_compiling:$ac_tool_warned in
8590 yes:)
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8592 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8593 ac_tool_warned=yes ;;
8594 esac
8595 LIPO=$ac_ct_LIPO
8596 fi
8597 else
8598 LIPO="$ac_cv_prog_LIPO"
8599 fi
8600
8601 if test -n "$ac_tool_prefix"; then
8602 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8603 set dummy ${ac_tool_prefix}otool; ac_word=$2
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8605 $as_echo_n "checking for $ac_word... " >&6; }
8606 if ${ac_cv_prog_OTOOL+:} false; then :
8607 $as_echo_n "(cached) " >&6
8608 else
8609 if test -n "$OTOOL"; then
8610 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8611 else
8612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8613 for as_dir in $PATH
8614 do
8615 IFS=$as_save_IFS
8616 test -z "$as_dir" && as_dir=.
8617 for ac_exec_ext in '' $ac_executable_extensions; do
8618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8619 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8621 break 2
8622 fi
8623 done
8624 done
8625 IFS=$as_save_IFS
8626
8627 fi
8628 fi
8629 OTOOL=$ac_cv_prog_OTOOL
8630 if test -n "$OTOOL"; then
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8632 $as_echo "$OTOOL" >&6; }
8633 else
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8635 $as_echo "no" >&6; }
8636 fi
8637
8638
8639 fi
8640 if test -z "$ac_cv_prog_OTOOL"; then
8641 ac_ct_OTOOL=$OTOOL
8642 # Extract the first word of "otool", so it can be a program name with args.
8643 set dummy otool; ac_word=$2
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8645 $as_echo_n "checking for $ac_word... " >&6; }
8646 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8647 $as_echo_n "(cached) " >&6
8648 else
8649 if test -n "$ac_ct_OTOOL"; then
8650 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8651 else
8652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8653 for as_dir in $PATH
8654 do
8655 IFS=$as_save_IFS
8656 test -z "$as_dir" && as_dir=.
8657 for ac_exec_ext in '' $ac_executable_extensions; do
8658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8659 ac_cv_prog_ac_ct_OTOOL="otool"
8660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8661 break 2
8662 fi
8663 done
8664 done
8665 IFS=$as_save_IFS
8666
8667 fi
8668 fi
8669 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8670 if test -n "$ac_ct_OTOOL"; then
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8672 $as_echo "$ac_ct_OTOOL" >&6; }
8673 else
8674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8675 $as_echo "no" >&6; }
8676 fi
8677
8678 if test "x$ac_ct_OTOOL" = x; then
8679 OTOOL=":"
8680 else
8681 case $cross_compiling:$ac_tool_warned in
8682 yes:)
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8684 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8685 ac_tool_warned=yes ;;
8686 esac
8687 OTOOL=$ac_ct_OTOOL
8688 fi
8689 else
8690 OTOOL="$ac_cv_prog_OTOOL"
8691 fi
8692
8693 if test -n "$ac_tool_prefix"; then
8694 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8695 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8697 $as_echo_n "checking for $ac_word... " >&6; }
8698 if ${ac_cv_prog_OTOOL64+:} false; then :
8699 $as_echo_n "(cached) " >&6
8700 else
8701 if test -n "$OTOOL64"; then
8702 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8703 else
8704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8705 for as_dir in $PATH
8706 do
8707 IFS=$as_save_IFS
8708 test -z "$as_dir" && as_dir=.
8709 for ac_exec_ext in '' $ac_executable_extensions; do
8710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8711 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8713 break 2
8714 fi
8715 done
8716 done
8717 IFS=$as_save_IFS
8718
8719 fi
8720 fi
8721 OTOOL64=$ac_cv_prog_OTOOL64
8722 if test -n "$OTOOL64"; then
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8724 $as_echo "$OTOOL64" >&6; }
8725 else
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8727 $as_echo "no" >&6; }
8728 fi
8729
8730
8731 fi
8732 if test -z "$ac_cv_prog_OTOOL64"; then
8733 ac_ct_OTOOL64=$OTOOL64
8734 # Extract the first word of "otool64", so it can be a program name with args.
8735 set dummy otool64; ac_word=$2
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8737 $as_echo_n "checking for $ac_word... " >&6; }
8738 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8739 $as_echo_n "(cached) " >&6
8740 else
8741 if test -n "$ac_ct_OTOOL64"; then
8742 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8743 else
8744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8745 for as_dir in $PATH
8746 do
8747 IFS=$as_save_IFS
8748 test -z "$as_dir" && as_dir=.
8749 for ac_exec_ext in '' $ac_executable_extensions; do
8750 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8751 ac_cv_prog_ac_ct_OTOOL64="otool64"
8752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8753 break 2
8754 fi
8755 done
8756 done
8757 IFS=$as_save_IFS
8758
8759 fi
8760 fi
8761 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8762 if test -n "$ac_ct_OTOOL64"; then
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8764 $as_echo "$ac_ct_OTOOL64" >&6; }
8765 else
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8767 $as_echo "no" >&6; }
8768 fi
8769
8770 if test "x$ac_ct_OTOOL64" = x; then
8771 OTOOL64=":"
8772 else
8773 case $cross_compiling:$ac_tool_warned in
8774 yes:)
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8776 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8777 ac_tool_warned=yes ;;
8778 esac
8779 OTOOL64=$ac_ct_OTOOL64
8780 fi
8781 else
8782 OTOOL64="$ac_cv_prog_OTOOL64"
8783 fi
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8812 $as_echo_n "checking for -single_module linker flag... " >&6; }
8813 if ${lt_cv_apple_cc_single_mod+:} false; then :
8814 $as_echo_n "(cached) " >&6
8815 else
8816 lt_cv_apple_cc_single_mod=no
8817 if test -z "$LT_MULTI_MODULE"; then
8818 # By default we will add the -single_module flag. You can override
8819 # by either setting the environment variable LT_MULTI_MODULE
8820 # non-empty at configure time, or by adding -multi_module to the
8821 # link flags.
8822 rm -rf libconftest.dylib*
8823 echo "int foo(void){return 1;}" > conftest.c
8824 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8825 -dynamiclib -Wl,-single_module conftest.c" >&5
8826 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8827 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8828 _lt_result=$?
8829 # If there is a non-empty error log, and "single_module"
8830 # appears in it, assume the flag caused a linker warning
8831 if test -s conftest.err && $GREP single_module conftest.err; then
8832 cat conftest.err >&5
8833 # Otherwise, if the output was created with a 0 exit code from
8834 # the compiler, it worked.
8835 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8836 lt_cv_apple_cc_single_mod=yes
8837 else
8838 cat conftest.err >&5
8839 fi
8840 rm -rf libconftest.dylib*
8841 rm -f conftest.*
8842 fi
8843 fi
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8845 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8846
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8848 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8849 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8850 $as_echo_n "(cached) " >&6
8851 else
8852 lt_cv_ld_exported_symbols_list=no
8853 save_LDFLAGS=$LDFLAGS
8854 echo "_main" > conftest.sym
8855 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8857 /* end confdefs.h. */
8858
8859 int
8860 main ()
8861 {
8862
8863 ;
8864 return 0;
8865 }
8866 _ACEOF
8867 if ac_fn_c_try_link "$LINENO"; then :
8868 lt_cv_ld_exported_symbols_list=yes
8869 else
8870 lt_cv_ld_exported_symbols_list=no
8871 fi
8872 rm -f core conftest.err conftest.$ac_objext \
8873 conftest$ac_exeext conftest.$ac_ext
8874 LDFLAGS=$save_LDFLAGS
8875
8876 fi
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8878 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8879
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8881 $as_echo_n "checking for -force_load linker flag... " >&6; }
8882 if ${lt_cv_ld_force_load+:} false; then :
8883 $as_echo_n "(cached) " >&6
8884 else
8885 lt_cv_ld_force_load=no
8886 cat > conftest.c << _LT_EOF
8887 int forced_loaded() { return 2;}
8888 _LT_EOF
8889 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8890 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8891 echo "$AR cru libconftest.a conftest.o" >&5
8892 $AR cru libconftest.a conftest.o 2>&5
8893 echo "$RANLIB libconftest.a" >&5
8894 $RANLIB libconftest.a 2>&5
8895 cat > conftest.c << _LT_EOF
8896 int main() { return 0;}
8897 _LT_EOF
8898 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8899 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8900 _lt_result=$?
8901 if test -s conftest.err && $GREP force_load conftest.err; then
8902 cat conftest.err >&5
8903 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8904 lt_cv_ld_force_load=yes
8905 else
8906 cat conftest.err >&5
8907 fi
8908 rm -f conftest.err libconftest.a conftest conftest.c
8909 rm -rf conftest.dSYM
8910
8911 fi
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8913 $as_echo "$lt_cv_ld_force_load" >&6; }
8914 case $host_os in
8915 rhapsody* | darwin1.[012])
8916 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8917 darwin1.*)
8918 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8919 darwin*) # darwin 5.x on
8920 # if running on 10.5 or later, the deployment target defaults
8921 # to the OS version, if on x86, and 10.4, the deployment
8922 # target defaults to 10.4. Don't you love it?
8923 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8924 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8925 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8926 10.[012][,.]*)
8927 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8928 10.*)
8929 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8930 esac
8931 ;;
8932 esac
8933 if test yes = "$lt_cv_apple_cc_single_mod"; then
8934 _lt_dar_single_mod='$single_module'
8935 fi
8936 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8937 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8938 else
8939 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8940 fi
8941 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8942 _lt_dsymutil='~$DSYMUTIL $lib || :'
8943 else
8944 _lt_dsymutil=
8945 fi
8946 ;;
8947 esac
8948
8949 # func_munge_path_list VARIABLE PATH
8950 # -----------------------------------
8951 # VARIABLE is name of variable containing _space_ separated list of
8952 # directories to be munged by the contents of PATH, which is string
8953 # having a format:
8954 # "DIR[:DIR]:"
8955 # string "DIR[ DIR]" will be prepended to VARIABLE
8956 # ":DIR[:DIR]"
8957 # string "DIR[ DIR]" will be appended to VARIABLE
8958 # "DIRP[:DIRP]::[DIRA:]DIRA"
8959 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8960 # "DIRA[ DIRA]" will be appended to VARIABLE
8961 # "DIR[:DIR]"
8962 # VARIABLE will be replaced by "DIR[ DIR]"
8963 func_munge_path_list ()
8964 {
8965 case x$2 in
8966 x)
8967 ;;
8968 *:)
8969 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8970 ;;
8971 x:*)
8972 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8973 ;;
8974 *::*)
8975 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8976 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8977 ;;
8978 *)
8979 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8980 ;;
8981 esac
8982 }
8983
8984 ac_ext=c
8985 ac_cpp='$CPP $CPPFLAGS'
8986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8990 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8991 # On Suns, sometimes $CPP names a directory.
8992 if test -n "$CPP" && test -d "$CPP"; then
8993 CPP=
8994 fi
8995 if test -z "$CPP"; then
8996 if ${ac_cv_prog_CPP+:} false; then :
8997 $as_echo_n "(cached) " >&6
8998 else
8999 # Double quotes because CPP needs to be expanded
9000 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
9001 do
9002 ac_preproc_ok=false
9003 for ac_c_preproc_warn_flag in '' yes
9004 do
9005 # Use a header file that comes with gcc, so configuring glibc
9006 # with a fresh cross-compiler works.
9007 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9008 # <limits.h> exists even on freestanding compilers.
9009 # On the NeXT, cc -E runs the code through the compiler's parser,
9010 # not just through cpp. "Syntax error" is here to catch this case.
9011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9012 /* end confdefs.h. */
9013 #ifdef __STDC__
9014 # include <limits.h>
9015 #else
9016 # include <assert.h>
9017 #endif
9018 Syntax error
9019 _ACEOF
9020 if ac_fn_c_try_cpp "$LINENO"; then :
9021
9022 else
9023 # Broken: fails on valid input.
9024 continue
9025 fi
9026 rm -f conftest.err conftest.i conftest.$ac_ext
9027
9028 # OK, works on sane cases. Now check whether nonexistent headers
9029 # can be detected and how.
9030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9031 /* end confdefs.h. */
9032 #include <ac_nonexistent.h>
9033 _ACEOF
9034 if ac_fn_c_try_cpp "$LINENO"; then :
9035 # Broken: success on invalid input.
9036 continue
9037 else
9038 # Passes both tests.
9039 ac_preproc_ok=:
9040 break
9041 fi
9042 rm -f conftest.err conftest.i conftest.$ac_ext
9043
9044 done
9045 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9046 rm -f conftest.i conftest.err conftest.$ac_ext
9047 if $ac_preproc_ok; then :
9048 break
9049 fi
9050
9051 done
9052 ac_cv_prog_CPP=$CPP
9053
9054 fi
9055 CPP=$ac_cv_prog_CPP
9056 else
9057 ac_cv_prog_CPP=$CPP
9058 fi
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
9060 $as_echo "$CPP" >&6; }
9061 ac_preproc_ok=false
9062 for ac_c_preproc_warn_flag in '' yes
9063 do
9064 # Use a header file that comes with gcc, so configuring glibc
9065 # with a fresh cross-compiler works.
9066 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9067 # <limits.h> exists even on freestanding compilers.
9068 # On the NeXT, cc -E runs the code through the compiler's parser,
9069 # not just through cpp. "Syntax error" is here to catch this case.
9070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9071 /* end confdefs.h. */
9072 #ifdef __STDC__
9073 # include <limits.h>
9074 #else
9075 # include <assert.h>
9076 #endif
9077 Syntax error
9078 _ACEOF
9079 if ac_fn_c_try_cpp "$LINENO"; then :
9080
9081 else
9082 # Broken: fails on valid input.
9083 continue
9084 fi
9085 rm -f conftest.err conftest.i conftest.$ac_ext
9086
9087 # OK, works on sane cases. Now check whether nonexistent headers
9088 # can be detected and how.
9089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9090 /* end confdefs.h. */
9091 #include <ac_nonexistent.h>
9092 _ACEOF
9093 if ac_fn_c_try_cpp "$LINENO"; then :
9094 # Broken: success on invalid input.
9095 continue
9096 else
9097 # Passes both tests.
9098 ac_preproc_ok=:
9099 break
9100 fi
9101 rm -f conftest.err conftest.i conftest.$ac_ext
9102
9103 done
9104 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9105 rm -f conftest.i conftest.err conftest.$ac_ext
9106 if $ac_preproc_ok; then :
9107
9108 else
9109 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9110 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9111 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
9112 See \`config.log' for more details" "$LINENO" 5; }
9113 fi
9114
9115 ac_ext=c
9116 ac_cpp='$CPP $CPPFLAGS'
9117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9120
9121
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
9123 $as_echo_n "checking for ANSI C header files... " >&6; }
9124 if ${ac_cv_header_stdc+:} false; then :
9125 $as_echo_n "(cached) " >&6
9126 else
9127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9128 /* end confdefs.h. */
9129 #include <stdlib.h>
9130 #include <stdarg.h>
9131 #include <string.h>
9132 #include <float.h>
9133
9134 int
9135 main ()
9136 {
9137
9138 ;
9139 return 0;
9140 }
9141 _ACEOF
9142 if ac_fn_c_try_compile "$LINENO"; then :
9143 ac_cv_header_stdc=yes
9144 else
9145 ac_cv_header_stdc=no
9146 fi
9147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9148
9149 if test $ac_cv_header_stdc = yes; then
9150 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9152 /* end confdefs.h. */
9153 #include <string.h>
9154
9155 _ACEOF
9156 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9157 $EGREP "memchr" >/dev/null 2>&1; then :
9158
9159 else
9160 ac_cv_header_stdc=no
9161 fi
9162 rm -f conftest*
9163
9164 fi
9165
9166 if test $ac_cv_header_stdc = yes; then
9167 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9169 /* end confdefs.h. */
9170 #include <stdlib.h>
9171
9172 _ACEOF
9173 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9174 $EGREP "free" >/dev/null 2>&1; then :
9175
9176 else
9177 ac_cv_header_stdc=no
9178 fi
9179 rm -f conftest*
9180
9181 fi
9182
9183 if test $ac_cv_header_stdc = yes; then
9184 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9185 if test "$cross_compiling" = yes; then :
9186 :
9187 else
9188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9189 /* end confdefs.h. */
9190 #include <ctype.h>
9191 #include <stdlib.h>
9192 #if ((' ' & 0x0FF) == 0x020)
9193 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9194 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9195 #else
9196 # define ISLOWER(c) \
9197 (('a' <= (c) && (c) <= 'i') \
9198 || ('j' <= (c) && (c) <= 'r') \
9199 || ('s' <= (c) && (c) <= 'z'))
9200 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9201 #endif
9202
9203 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9204 int
9205 main ()
9206 {
9207 int i;
9208 for (i = 0; i < 256; i++)
9209 if (XOR (islower (i), ISLOWER (i))
9210 || toupper (i) != TOUPPER (i))
9211 return 2;
9212 return 0;
9213 }
9214 _ACEOF
9215 if ac_fn_c_try_run "$LINENO"; then :
9216
9217 else
9218 ac_cv_header_stdc=no
9219 fi
9220 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9221 conftest.$ac_objext conftest.beam conftest.$ac_ext
9222 fi
9223
9224 fi
9225 fi
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
9227 $as_echo "$ac_cv_header_stdc" >&6; }
9228 if test $ac_cv_header_stdc = yes; then
9229
9230 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9231
9232 fi
9233
9234 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9235 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
9236 inttypes.h stdint.h unistd.h
9237 do :
9238 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9239 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9240 "
9241 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9242 cat >>confdefs.h <<_ACEOF
9243 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9244 _ACEOF
9245
9246 fi
9247
9248 done
9249
9250
9251 for ac_header in dlfcn.h
9252 do :
9253 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9254 "
9255 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9256 cat >>confdefs.h <<_ACEOF
9257 #define HAVE_DLFCN_H 1
9258 _ACEOF
9259
9260 fi
9261
9262 done
9263
9264
9265
9266 func_stripname_cnf ()
9267 {
9268 case $2 in
9269 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
9270 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
9271 esac
9272 } # func_stripname_cnf
9273
9274
9275
9276
9277
9278 # Set options
9279
9280
9281
9282 enable_dlopen=no
9283
9284
9285
9286 # Check whether --enable-shared was given.
9287 if test "${enable_shared+set}" = set; then :
9288 enableval=$enable_shared; p=${PACKAGE-default}
9289 case $enableval in
9290 yes) enable_shared=yes ;;
9291 no) enable_shared=no ;;
9292 *)
9293 enable_shared=no
9294 # Look at the argument we got. We use all the common list separators.
9295 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9296 for pkg in $enableval; do
9297 IFS=$lt_save_ifs
9298 if test "X$pkg" = "X$p"; then
9299 enable_shared=yes
9300 fi
9301 done
9302 IFS=$lt_save_ifs
9303 ;;
9304 esac
9305 else
9306 enable_shared=yes
9307 fi
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319 # Check whether --with-pic was given.
9320 if test "${with_pic+set}" = set; then :
9321 withval=$with_pic; lt_p=${PACKAGE-default}
9322 case $withval in
9323 yes|no) pic_mode=$withval ;;
9324 *)
9325 pic_mode=default
9326 # Look at the argument we got. We use all the common list separators.
9327 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9328 for lt_pkg in $withval; do
9329 IFS=$lt_save_ifs
9330 if test "X$lt_pkg" = "X$lt_p"; then
9331 pic_mode=yes
9332 fi
9333 done
9334 IFS=$lt_save_ifs
9335 ;;
9336 esac
9337 else
9338 pic_mode=default
9339 fi
9340
9341
9342
9343
9344
9345
9346
9347
9348 # Check whether --enable-fast-install was given.
9349 if test "${enable_fast_install+set}" = set; then :
9350 enableval=$enable_fast_install; p=${PACKAGE-default}
9351 case $enableval in
9352 yes) enable_fast_install=yes ;;
9353 no) enable_fast_install=no ;;
9354 *)
9355 enable_fast_install=no
9356 # Look at the argument we got. We use all the common list separators.
9357 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9358 for pkg in $enableval; do
9359 IFS=$lt_save_ifs
9360 if test "X$pkg" = "X$p"; then
9361 enable_fast_install=yes
9362 fi
9363 done
9364 IFS=$lt_save_ifs
9365 ;;
9366 esac
9367 else
9368 enable_fast_install=yes
9369 fi
9370
9371
9372
9373
9374
9375
9376
9377
9378 shared_archive_member_spec=
9379 case $host,$enable_shared in
9380 power*-*-aix[5-9]*,yes)
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9382 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9383
9384 # Check whether --with-aix-soname was given.
9385 if test "${with_aix_soname+set}" = set; then :
9386 withval=$with_aix_soname; case $withval in
9387 aix|svr4|both)
9388 ;;
9389 *)
9390 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9391 ;;
9392 esac
9393 lt_cv_with_aix_soname=$with_aix_soname
9394 else
9395 if ${lt_cv_with_aix_soname+:} false; then :
9396 $as_echo_n "(cached) " >&6
9397 else
9398 lt_cv_with_aix_soname=aix
9399 fi
9400
9401 with_aix_soname=$lt_cv_with_aix_soname
9402 fi
9403
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9405 $as_echo "$with_aix_soname" >&6; }
9406 if test aix != "$with_aix_soname"; then
9407 # For the AIX way of multilib, we name the shared archive member
9408 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9409 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9410 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9411 # the AIX toolchain works better with OBJECT_MODE set (default 32).
9412 if test 64 = "${OBJECT_MODE-32}"; then
9413 shared_archive_member_spec=shr_64
9414 else
9415 shared_archive_member_spec=shr
9416 fi
9417 fi
9418 ;;
9419 *)
9420 with_aix_soname=aix
9421 ;;
9422 esac
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433 # This can be used to rebuild libtool when needed
9434 LIBTOOL_DEPS=$ltmain
9435
9436 # Always use our own libtool.
9437 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468 test -z "$LN_S" && LN_S="ln -s"
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483 if test -n "${ZSH_VERSION+set}"; then
9484 setopt NO_GLOB_SUBST
9485 fi
9486
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9488 $as_echo_n "checking for objdir... " >&6; }
9489 if ${lt_cv_objdir+:} false; then :
9490 $as_echo_n "(cached) " >&6
9491 else
9492 rm -f .libs 2>/dev/null
9493 mkdir .libs 2>/dev/null
9494 if test -d .libs; then
9495 lt_cv_objdir=.libs
9496 else
9497 # MS-DOS does not allow filenames that begin with a dot.
9498 lt_cv_objdir=_libs
9499 fi
9500 rmdir .libs 2>/dev/null
9501 fi
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9503 $as_echo "$lt_cv_objdir" >&6; }
9504 objdir=$lt_cv_objdir
9505
9506
9507
9508
9509
9510 cat >>confdefs.h <<_ACEOF
9511 #define LT_OBJDIR "$lt_cv_objdir/"
9512 _ACEOF
9513
9514
9515
9516
9517 case $host_os in
9518 aix3*)
9519 # AIX sometimes has problems with the GCC collect2 program. For some
9520 # reason, if we set the COLLECT_NAMES environment variable, the problems
9521 # vanish in a puff of smoke.
9522 if test set != "${COLLECT_NAMES+set}"; then
9523 COLLECT_NAMES=
9524 export COLLECT_NAMES
9525 fi
9526 ;;
9527 esac
9528
9529 # Global variables:
9530 ofile=libtool
9531 can_build_shared=yes
9532
9533 # All known linkers require a '.a' archive for static linking (except MSVC,
9534 # which needs '.lib').
9535 libext=a
9536
9537 with_gnu_ld=$lt_cv_prog_gnu_ld
9538
9539 old_CC=$CC
9540 old_CFLAGS=$CFLAGS
9541
9542 # Set sane defaults for various variables
9543 test -z "$CC" && CC=cc
9544 test -z "$LTCC" && LTCC=$CC
9545 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9546 test -z "$LD" && LD=ld
9547 test -z "$ac_objext" && ac_objext=o
9548
9549 func_cc_basename $compiler
9550 cc_basename=$func_cc_basename_result
9551
9552
9553 # Only perform the check for file, if the check method requires it
9554 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9555 case $deplibs_check_method in
9556 file_magic*)
9557 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9559 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9560 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9561 $as_echo_n "(cached) " >&6
9562 else
9563 case $MAGIC_CMD in
9564 [\\/*] | ?:[\\/]*)
9565 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9566 ;;
9567 *)
9568 lt_save_MAGIC_CMD=$MAGIC_CMD
9569 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9570 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9571 for ac_dir in $ac_dummy; do
9572 IFS=$lt_save_ifs
9573 test -z "$ac_dir" && ac_dir=.
9574 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9575 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9576 if test -n "$file_magic_test_file"; then
9577 case $deplibs_check_method in
9578 "file_magic "*)
9579 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9580 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9581 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9582 $EGREP "$file_magic_regex" > /dev/null; then
9583 :
9584 else
9585 cat <<_LT_EOF 1>&2
9586
9587 *** Warning: the command libtool uses to detect shared libraries,
9588 *** $file_magic_cmd, produces output that libtool cannot recognize.
9589 *** The result is that libtool may fail to recognize shared libraries
9590 *** as such. This will affect the creation of libtool libraries that
9591 *** depend on shared libraries, but programs linked with such libtool
9592 *** libraries will work regardless of this problem. Nevertheless, you
9593 *** may want to report the problem to your system manager and/or to
9594 *** [email protected]
9595
9596 _LT_EOF
9597 fi ;;
9598 esac
9599 fi
9600 break
9601 fi
9602 done
9603 IFS=$lt_save_ifs
9604 MAGIC_CMD=$lt_save_MAGIC_CMD
9605 ;;
9606 esac
9607 fi
9608
9609 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9610 if test -n "$MAGIC_CMD"; then
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9612 $as_echo "$MAGIC_CMD" >&6; }
9613 else
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9615 $as_echo "no" >&6; }
9616 fi
9617
9618
9619
9620
9621
9622 if test -z "$lt_cv_path_MAGIC_CMD"; then
9623 if test -n "$ac_tool_prefix"; then
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9625 $as_echo_n "checking for file... " >&6; }
9626 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9627 $as_echo_n "(cached) " >&6
9628 else
9629 case $MAGIC_CMD in
9630 [\\/*] | ?:[\\/]*)
9631 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9632 ;;
9633 *)
9634 lt_save_MAGIC_CMD=$MAGIC_CMD
9635 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9636 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9637 for ac_dir in $ac_dummy; do
9638 IFS=$lt_save_ifs
9639 test -z "$ac_dir" && ac_dir=.
9640 if test -f "$ac_dir/file"; then
9641 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9642 if test -n "$file_magic_test_file"; then
9643 case $deplibs_check_method in
9644 "file_magic "*)
9645 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9646 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9647 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9648 $EGREP "$file_magic_regex" > /dev/null; then
9649 :
9650 else
9651 cat <<_LT_EOF 1>&2
9652
9653 *** Warning: the command libtool uses to detect shared libraries,
9654 *** $file_magic_cmd, produces output that libtool cannot recognize.
9655 *** The result is that libtool may fail to recognize shared libraries
9656 *** as such. This will affect the creation of libtool libraries that
9657 *** depend on shared libraries, but programs linked with such libtool
9658 *** libraries will work regardless of this problem. Nevertheless, you
9659 *** may want to report the problem to your system manager and/or to
9660 *** [email protected]
9661
9662 _LT_EOF
9663 fi ;;
9664 esac
9665 fi
9666 break
9667 fi
9668 done
9669 IFS=$lt_save_ifs
9670 MAGIC_CMD=$lt_save_MAGIC_CMD
9671 ;;
9672 esac
9673 fi
9674
9675 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9676 if test -n "$MAGIC_CMD"; then
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9678 $as_echo "$MAGIC_CMD" >&6; }
9679 else
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9681 $as_echo "no" >&6; }
9682 fi
9683
9684
9685 else
9686 MAGIC_CMD=:
9687 fi
9688 fi
9689
9690 fi
9691 ;;
9692 esac
9693
9694 # Use C for the default configuration in the libtool script
9695
9696 lt_save_CC=$CC
9697 ac_ext=c
9698 ac_cpp='$CPP $CPPFLAGS'
9699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9702
9703
9704 # Source file extension for C test sources.
9705 ac_ext=c
9706
9707 # Object file extension for compiled C test sources.
9708 objext=o
9709 objext=$objext
9710
9711 # Code to be used in simple compile tests
9712 lt_simple_compile_test_code="int some_variable = 0;"
9713
9714 # Code to be used in simple link tests
9715 lt_simple_link_test_code='int main(){return(0);}'
9716
9717
9718
9719
9720
9721
9722
9723 # If no C compiler was specified, use CC.
9724 LTCC=${LTCC-"$CC"}
9725
9726 # If no C compiler flags were specified, use CFLAGS.
9727 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9728
9729 # Allow CC to be a program name with arguments.
9730 compiler=$CC
9731
9732 # Save the default compiler, since it gets overwritten when the other
9733 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9734 compiler_DEFAULT=$CC
9735
9736 # save warnings/boilerplate of simple test code
9737 ac_outfile=conftest.$ac_objext
9738 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9739 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9740 _lt_compiler_boilerplate=`cat conftest.err`
9741 $RM conftest*
9742
9743 ac_outfile=conftest.$ac_objext
9744 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9745 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9746 _lt_linker_boilerplate=`cat conftest.err`
9747 $RM -r conftest*
9748
9749
9750 if test -n "$compiler"; then
9751
9752 lt_prog_compiler_no_builtin_flag=
9753
9754 if test yes = "$GCC"; then
9755 case $cc_basename in
9756 nvcc*)
9757 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9758 *)
9759 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9760 esac
9761
9762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9763 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9764 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9765 $as_echo_n "(cached) " >&6
9766 else
9767 lt_cv_prog_compiler_rtti_exceptions=no
9768 ac_outfile=conftest.$ac_objext
9769 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9770 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9771 # Insert the option either (1) after the last *FLAGS variable, or
9772 # (2) before a word containing "conftest.", or (3) at the end.
9773 # Note that $ac_compile itself does not contain backslashes and begins
9774 # with a dollar sign (not a hyphen), so the echo should work correctly.
9775 # The option is referenced via a variable to avoid confusing sed.
9776 lt_compile=`echo "$ac_compile" | $SED \
9777 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9778 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9779 -e 's:$: $lt_compiler_flag:'`
9780 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9781 (eval "$lt_compile" 2>conftest.err)
9782 ac_status=$?
9783 cat conftest.err >&5
9784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9785 if (exit $ac_status) && test -s "$ac_outfile"; then
9786 # The compiler can only warn and ignore the option if not recognized
9787 # So say no if there are warnings other than the usual output.
9788 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9789 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9790 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9791 lt_cv_prog_compiler_rtti_exceptions=yes
9792 fi
9793 fi
9794 $RM conftest*
9795
9796 fi
9797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9798 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9799
9800 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9801 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9802 else
9803 :
9804 fi
9805
9806 fi
9807
9808
9809
9810
9811
9812
9813 lt_prog_compiler_wl=
9814 lt_prog_compiler_pic=
9815 lt_prog_compiler_static=
9816
9817
9818 if test yes = "$GCC"; then
9819 lt_prog_compiler_wl='-Wl,'
9820 lt_prog_compiler_static='-static'
9821
9822 case $host_os in
9823 aix*)
9824 # All AIX code is PIC.
9825 if test ia64 = "$host_cpu"; then
9826 # AIX 5 now supports IA64 processor
9827 lt_prog_compiler_static='-Bstatic'
9828 fi
9829 lt_prog_compiler_pic='-fPIC'
9830 ;;
9831
9832 amigaos*)
9833 case $host_cpu in
9834 powerpc)
9835 # see comment about AmigaOS4 .so support
9836 lt_prog_compiler_pic='-fPIC'
9837 ;;
9838 m68k)
9839 # FIXME: we need at least 68020 code to build shared libraries, but
9840 # adding the '-m68020' flag to GCC prevents building anything better,
9841 # like '-m68040'.
9842 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9843 ;;
9844 esac
9845 ;;
9846
9847 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9848 # PIC is the default for these OSes.
9849 ;;
9850
9851 mingw* | cygwin* | pw32* | os2* | cegcc*)
9852 # This hack is so that the source file can tell whether it is being
9853 # built for inclusion in a dll (and should export symbols for example).
9854 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9855 # (--disable-auto-import) libraries
9856 lt_prog_compiler_pic='-DDLL_EXPORT'
9857 case $host_os in
9858 os2*)
9859 lt_prog_compiler_static='$wl-static'
9860 ;;
9861 esac
9862 ;;
9863
9864 darwin* | rhapsody*)
9865 # PIC is the default on this platform
9866 # Common symbols not allowed in MH_DYLIB files
9867 lt_prog_compiler_pic='-fno-common'
9868 ;;
9869
9870 haiku*)
9871 # PIC is the default for Haiku.
9872 # The "-static" flag exists, but is broken.
9873 lt_prog_compiler_static=
9874 ;;
9875
9876 hpux*)
9877 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9878 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9879 # sets the default TLS model and affects inlining.
9880 case $host_cpu in
9881 hppa*64*)
9882 # +Z the default
9883 ;;
9884 *)
9885 lt_prog_compiler_pic='-fPIC'
9886 ;;
9887 esac
9888 ;;
9889
9890 interix[3-9]*)
9891 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9892 # Instead, we relocate shared libraries at runtime.
9893 ;;
9894
9895 msdosdjgpp*)
9896 # Just because we use GCC doesn't mean we suddenly get shared libraries
9897 # on systems that don't support them.
9898 lt_prog_compiler_can_build_shared=no
9899 enable_shared=no
9900 ;;
9901
9902 *nto* | *qnx*)
9903 # QNX uses GNU C++, but need to define -shared option too, otherwise
9904 # it will coredump.
9905 lt_prog_compiler_pic='-fPIC -shared'
9906 ;;
9907
9908 sysv4*MP*)
9909 if test -d /usr/nec; then
9910 lt_prog_compiler_pic=-Kconform_pic
9911 fi
9912 ;;
9913
9914 *)
9915 lt_prog_compiler_pic='-fPIC'
9916 ;;
9917 esac
9918
9919 case $cc_basename in
9920 nvcc*) # Cuda Compiler Driver 2.2
9921 lt_prog_compiler_wl='-Xlinker '
9922 if test -n "$lt_prog_compiler_pic"; then
9923 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9924 fi
9925 ;;
9926 esac
9927 else
9928 # PORTME Check for flag to pass linker flags through the system compiler.
9929 case $host_os in
9930 aix*)
9931 lt_prog_compiler_wl='-Wl,'
9932 if test ia64 = "$host_cpu"; then
9933 # AIX 5 now supports IA64 processor
9934 lt_prog_compiler_static='-Bstatic'
9935 else
9936 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9937 fi
9938 ;;
9939
9940 darwin* | rhapsody*)
9941 # PIC is the default on this platform
9942 # Common symbols not allowed in MH_DYLIB files
9943 lt_prog_compiler_pic='-fno-common'
9944 case $cc_basename in
9945 nagfor*)
9946 # NAG Fortran compiler
9947 lt_prog_compiler_wl='-Wl,-Wl,,'
9948 lt_prog_compiler_pic='-PIC'
9949 lt_prog_compiler_static='-Bstatic'
9950 ;;
9951 esac
9952 ;;
9953
9954 mingw* | cygwin* | pw32* | os2* | cegcc*)
9955 # This hack is so that the source file can tell whether it is being
9956 # built for inclusion in a dll (and should export symbols for example).
9957 lt_prog_compiler_pic='-DDLL_EXPORT'
9958 case $host_os in
9959 os2*)
9960 lt_prog_compiler_static='$wl-static'
9961 ;;
9962 esac
9963 ;;
9964
9965 hpux9* | hpux10* | hpux11*)
9966 lt_prog_compiler_wl='-Wl,'
9967 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9968 # not for PA HP-UX.
9969 case $host_cpu in
9970 hppa*64*|ia64*)
9971 # +Z the default
9972 ;;
9973 *)
9974 lt_prog_compiler_pic='+Z'
9975 ;;
9976 esac
9977 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9978 lt_prog_compiler_static='$wl-a ${wl}archive'
9979 ;;
9980
9981 irix5* | irix6* | nonstopux*)
9982 lt_prog_compiler_wl='-Wl,'
9983 # PIC (with -KPIC) is the default.
9984 lt_prog_compiler_static='-non_shared'
9985 ;;
9986
9987 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9988 case $cc_basename in
9989 # old Intel for x86_64, which still supported -KPIC.
9990 ecc*)
9991 lt_prog_compiler_wl='-Wl,'
9992 lt_prog_compiler_pic='-KPIC'
9993 lt_prog_compiler_static='-static'
9994 ;;
9995 # icc used to be incompatible with GCC.
9996 # ICC 10 doesn't accept -KPIC any more.
9997 icc* | ifort*)
9998 lt_prog_compiler_wl='-Wl,'
9999 lt_prog_compiler_pic='-fPIC'
10000 lt_prog_compiler_static='-static'
10001 ;;
10002 # Lahey Fortran 8.1.
10003 lf95*)
10004 lt_prog_compiler_wl='-Wl,'
10005 lt_prog_compiler_pic='--shared'
10006 lt_prog_compiler_static='--static'
10007 ;;
10008 nagfor*)
10009 # NAG Fortran compiler
10010 lt_prog_compiler_wl='-Wl,-Wl,,'
10011 lt_prog_compiler_pic='-PIC'
10012 lt_prog_compiler_static='-Bstatic'
10013 ;;
10014 tcc*)
10015 # Fabrice Bellard et al's Tiny C Compiler
10016 lt_prog_compiler_wl='-Wl,'
10017 lt_prog_compiler_pic='-fPIC'
10018 lt_prog_compiler_static='-static'
10019 ;;
10020 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10021 # Portland Group compilers (*not* the Pentium gcc compiler,
10022 # which looks to be a dead project)
10023 lt_prog_compiler_wl='-Wl,'
10024 lt_prog_compiler_pic='-fpic'
10025 lt_prog_compiler_static='-Bstatic'
10026 ;;
10027 ccc*)
10028 lt_prog_compiler_wl='-Wl,'
10029 # All Alpha code is PIC.
10030 lt_prog_compiler_static='-non_shared'
10031 ;;
10032 xl* | bgxl* | bgf* | mpixl*)
10033 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10034 lt_prog_compiler_wl='-Wl,'
10035 lt_prog_compiler_pic='-qpic'
10036 lt_prog_compiler_static='-qstaticlink'
10037 ;;
10038 *)
10039 case `$CC -V 2>&1 | sed 5q` in
10040 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10041 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10042 lt_prog_compiler_pic='-KPIC'
10043 lt_prog_compiler_static='-Bstatic'
10044 lt_prog_compiler_wl=''
10045 ;;
10046 *Sun\ F* | *Sun*Fortran*)
10047 lt_prog_compiler_pic='-KPIC'
10048 lt_prog_compiler_static='-Bstatic'
10049 lt_prog_compiler_wl='-Qoption ld '
10050 ;;
10051 *Sun\ C*)
10052 # Sun C 5.9
10053 lt_prog_compiler_pic='-KPIC'
10054 lt_prog_compiler_static='-Bstatic'
10055 lt_prog_compiler_wl='-Wl,'
10056 ;;
10057 *Intel*\ [CF]*Compiler*)
10058 lt_prog_compiler_wl='-Wl,'
10059 lt_prog_compiler_pic='-fPIC'
10060 lt_prog_compiler_static='-static'
10061 ;;
10062 *Portland\ Group*)
10063 lt_prog_compiler_wl='-Wl,'
10064 lt_prog_compiler_pic='-fpic'
10065 lt_prog_compiler_static='-Bstatic'
10066 ;;
10067 esac
10068 ;;
10069 esac
10070 ;;
10071
10072 newsos6)
10073 lt_prog_compiler_pic='-KPIC'
10074 lt_prog_compiler_static='-Bstatic'
10075 ;;
10076
10077 *nto* | *qnx*)
10078 # QNX uses GNU C++, but need to define -shared option too, otherwise
10079 # it will coredump.
10080 lt_prog_compiler_pic='-fPIC -shared'
10081 ;;
10082
10083 osf3* | osf4* | osf5*)
10084 lt_prog_compiler_wl='-Wl,'
10085 # All OSF/1 code is PIC.
10086 lt_prog_compiler_static='-non_shared'
10087 ;;
10088
10089 rdos*)
10090 lt_prog_compiler_static='-non_shared'
10091 ;;
10092
10093 solaris*)
10094 lt_prog_compiler_pic='-KPIC'
10095 lt_prog_compiler_static='-Bstatic'
10096 case $cc_basename in
10097 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10098 lt_prog_compiler_wl='-Qoption ld ';;
10099 *)
10100 lt_prog_compiler_wl='-Wl,';;
10101 esac
10102 ;;
10103
10104 sunos4*)
10105 lt_prog_compiler_wl='-Qoption ld '
10106 lt_prog_compiler_pic='-PIC'
10107 lt_prog_compiler_static='-Bstatic'
10108 ;;
10109
10110 sysv4 | sysv4.2uw2* | sysv4.3*)
10111 lt_prog_compiler_wl='-Wl,'
10112 lt_prog_compiler_pic='-KPIC'
10113 lt_prog_compiler_static='-Bstatic'
10114 ;;
10115
10116 sysv4*MP*)
10117 if test -d /usr/nec; then
10118 lt_prog_compiler_pic='-Kconform_pic'
10119 lt_prog_compiler_static='-Bstatic'
10120 fi
10121 ;;
10122
10123 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10124 lt_prog_compiler_wl='-Wl,'
10125 lt_prog_compiler_pic='-KPIC'
10126 lt_prog_compiler_static='-Bstatic'
10127 ;;
10128
10129 unicos*)
10130 lt_prog_compiler_wl='-Wl,'
10131 lt_prog_compiler_can_build_shared=no
10132 ;;
10133
10134 uts4*)
10135 lt_prog_compiler_pic='-pic'
10136 lt_prog_compiler_static='-Bstatic'
10137 ;;
10138
10139 *)
10140 lt_prog_compiler_can_build_shared=no
10141 ;;
10142 esac
10143 fi
10144
10145 case $host_os in
10146 # For platforms that do not support PIC, -DPIC is meaningless:
10147 *djgpp*)
10148 lt_prog_compiler_pic=
10149 ;;
10150 *)
10151 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10152 ;;
10153 esac
10154
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10156 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10157 if ${lt_cv_prog_compiler_pic+:} false; then :
10158 $as_echo_n "(cached) " >&6
10159 else
10160 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10161 fi
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10163 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10164 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10165
10166 #
10167 # Check to make sure the PIC flag actually works.
10168 #
10169 if test -n "$lt_prog_compiler_pic"; then
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10171 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10172 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10173 $as_echo_n "(cached) " >&6
10174 else
10175 lt_cv_prog_compiler_pic_works=no
10176 ac_outfile=conftest.$ac_objext
10177 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10178 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
10179 # Insert the option either (1) after the last *FLAGS variable, or
10180 # (2) before a word containing "conftest.", or (3) at the end.
10181 # Note that $ac_compile itself does not contain backslashes and begins
10182 # with a dollar sign (not a hyphen), so the echo should work correctly.
10183 # The option is referenced via a variable to avoid confusing sed.
10184 lt_compile=`echo "$ac_compile" | $SED \
10185 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10186 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10187 -e 's:$: $lt_compiler_flag:'`
10188 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10189 (eval "$lt_compile" 2>conftest.err)
10190 ac_status=$?
10191 cat conftest.err >&5
10192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10193 if (exit $ac_status) && test -s "$ac_outfile"; then
10194 # The compiler can only warn and ignore the option if not recognized
10195 # So say no if there are warnings other than the usual output.
10196 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10197 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10198 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10199 lt_cv_prog_compiler_pic_works=yes
10200 fi
10201 fi
10202 $RM conftest*
10203
10204 fi
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10206 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10207
10208 if test yes = "$lt_cv_prog_compiler_pic_works"; then
10209 case $lt_prog_compiler_pic in
10210 "" | " "*) ;;
10211 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10212 esac
10213 else
10214 lt_prog_compiler_pic=
10215 lt_prog_compiler_can_build_shared=no
10216 fi
10217
10218 fi
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230 #
10231 # Check to make sure the static flag actually works.
10232 #
10233 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10235 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10236 if ${lt_cv_prog_compiler_static_works+:} false; then :
10237 $as_echo_n "(cached) " >&6
10238 else
10239 lt_cv_prog_compiler_static_works=no
10240 save_LDFLAGS=$LDFLAGS
10241 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10242 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10243 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10244 # The linker can only warn and ignore the option if not recognized
10245 # So say no if there are warnings
10246 if test -s conftest.err; then
10247 # Append any errors to the config.log.
10248 cat conftest.err 1>&5
10249 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10250 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10251 if diff conftest.exp conftest.er2 >/dev/null; then
10252 lt_cv_prog_compiler_static_works=yes
10253 fi
10254 else
10255 lt_cv_prog_compiler_static_works=yes
10256 fi
10257 fi
10258 $RM -r conftest*
10259 LDFLAGS=$save_LDFLAGS
10260
10261 fi
10262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10263 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10264
10265 if test yes = "$lt_cv_prog_compiler_static_works"; then
10266 :
10267 else
10268 lt_prog_compiler_static=
10269 fi
10270
10271
10272
10273
10274
10275
10276
10277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10278 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10279 if ${lt_cv_prog_compiler_c_o+:} false; then :
10280 $as_echo_n "(cached) " >&6
10281 else
10282 lt_cv_prog_compiler_c_o=no
10283 $RM -r conftest 2>/dev/null
10284 mkdir conftest
10285 cd conftest
10286 mkdir out
10287 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10288
10289 lt_compiler_flag="-o out/conftest2.$ac_objext"
10290 # Insert the option either (1) after the last *FLAGS variable, or
10291 # (2) before a word containing "conftest.", or (3) at the end.
10292 # Note that $ac_compile itself does not contain backslashes and begins
10293 # with a dollar sign (not a hyphen), so the echo should work correctly.
10294 lt_compile=`echo "$ac_compile" | $SED \
10295 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10296 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10297 -e 's:$: $lt_compiler_flag:'`
10298 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10299 (eval "$lt_compile" 2>out/conftest.err)
10300 ac_status=$?
10301 cat out/conftest.err >&5
10302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10303 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10304 then
10305 # The compiler can only warn and ignore the option if not recognized
10306 # So say no if there are warnings
10307 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10308 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10309 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10310 lt_cv_prog_compiler_c_o=yes
10311 fi
10312 fi
10313 chmod u+w . 2>&5
10314 $RM conftest*
10315 # SGI C++ compiler will create directory out/ii_files/ for
10316 # template instantiation
10317 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10318 $RM out/* && rmdir out
10319 cd ..
10320 $RM -r conftest
10321 $RM conftest*
10322
10323 fi
10324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10325 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10326
10327
10328
10329
10330
10331
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10333 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10334 if ${lt_cv_prog_compiler_c_o+:} false; then :
10335 $as_echo_n "(cached) " >&6
10336 else
10337 lt_cv_prog_compiler_c_o=no
10338 $RM -r conftest 2>/dev/null
10339 mkdir conftest
10340 cd conftest
10341 mkdir out
10342 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10343
10344 lt_compiler_flag="-o out/conftest2.$ac_objext"
10345 # Insert the option either (1) after the last *FLAGS variable, or
10346 # (2) before a word containing "conftest.", or (3) at the end.
10347 # Note that $ac_compile itself does not contain backslashes and begins
10348 # with a dollar sign (not a hyphen), so the echo should work correctly.
10349 lt_compile=`echo "$ac_compile" | $SED \
10350 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10351 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10352 -e 's:$: $lt_compiler_flag:'`
10353 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10354 (eval "$lt_compile" 2>out/conftest.err)
10355 ac_status=$?
10356 cat out/conftest.err >&5
10357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10358 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10359 then
10360 # The compiler can only warn and ignore the option if not recognized
10361 # So say no if there are warnings
10362 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10363 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10364 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10365 lt_cv_prog_compiler_c_o=yes
10366 fi
10367 fi
10368 chmod u+w . 2>&5
10369 $RM conftest*
10370 # SGI C++ compiler will create directory out/ii_files/ for
10371 # template instantiation
10372 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10373 $RM out/* && rmdir out
10374 cd ..
10375 $RM -r conftest
10376 $RM conftest*
10377
10378 fi
10379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10380 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10381
10382
10383
10384
10385 hard_links=nottested
10386 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10387 # do not overwrite the value of need_locks provided by the user
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10389 $as_echo_n "checking if we can lock with hard links... " >&6; }
10390 hard_links=yes
10391 $RM conftest*
10392 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10393 touch conftest.a
10394 ln conftest.a conftest.b 2>&5 || hard_links=no
10395 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10397 $as_echo "$hard_links" >&6; }
10398 if test no = "$hard_links"; then
10399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10400 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10401 need_locks=warn
10402 fi
10403 else
10404 need_locks=no
10405 fi
10406
10407
10408
10409
10410
10411
10412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10413 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10414
10415 runpath_var=
10416 allow_undefined_flag=
10417 always_export_symbols=no
10418 archive_cmds=
10419 archive_expsym_cmds=
10420 compiler_needs_object=no
10421 enable_shared_with_static_runtimes=no
10422 export_dynamic_flag_spec=
10423 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10424 hardcode_automatic=no
10425 hardcode_direct=no
10426 hardcode_direct_absolute=no
10427 hardcode_libdir_flag_spec=
10428 hardcode_libdir_separator=
10429 hardcode_minus_L=no
10430 hardcode_shlibpath_var=unsupported
10431 inherit_rpath=no
10432 link_all_deplibs=unknown
10433 module_cmds=
10434 module_expsym_cmds=
10435 old_archive_from_new_cmds=
10436 old_archive_from_expsyms_cmds=
10437 thread_safe_flag_spec=
10438 whole_archive_flag_spec=
10439 # include_expsyms should be a list of space-separated symbols to be *always*
10440 # included in the symbol list
10441 include_expsyms=
10442 # exclude_expsyms can be an extended regexp of symbols to exclude
10443 # it will be wrapped by ' (' and ')$', so one must not match beginning or
10444 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10445 # as well as any symbol that contains 'd'.
10446 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10447 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10448 # platforms (ab)use it in PIC code, but their linkers get confused if
10449 # the symbol is explicitly referenced. Since portable code cannot
10450 # rely on this symbol name, it's probably fine to never include it in
10451 # preloaded symbol tables.
10452 # Exclude shared library initialization/finalization symbols.
10453 extract_expsyms_cmds=
10454
10455 case $host_os in
10456 cygwin* | mingw* | pw32* | cegcc*)
10457 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10458 # When not using gcc, we currently assume that we are using
10459 # Microsoft Visual C++.
10460 if test yes != "$GCC"; then
10461 with_gnu_ld=no
10462 fi
10463 ;;
10464 interix*)
10465 # we just hope/assume this is gcc and not c89 (= MSVC++)
10466 with_gnu_ld=yes
10467 ;;
10468 openbsd* | bitrig*)
10469 with_gnu_ld=no
10470 ;;
10471 esac
10472
10473 ld_shlibs=yes
10474
10475 # On some targets, GNU ld is compatible enough with the native linker
10476 # that we're better off using the native interface for both.
10477 lt_use_gnu_ld_interface=no
10478 if test yes = "$with_gnu_ld"; then
10479 case $host_os in
10480 aix*)
10481 # The AIX port of GNU ld has always aspired to compatibility
10482 # with the native linker. However, as the warning in the GNU ld
10483 # block says, versions before 2.19.5* couldn't really create working
10484 # shared libraries, regardless of the interface used.
10485 case `$LD -v 2>&1` in
10486 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10487 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10488 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10489 *)
10490 lt_use_gnu_ld_interface=yes
10491 ;;
10492 esac
10493 ;;
10494 *)
10495 lt_use_gnu_ld_interface=yes
10496 ;;
10497 esac
10498 fi
10499
10500 if test yes = "$lt_use_gnu_ld_interface"; then
10501 # If archive_cmds runs LD, not CC, wlarc should be empty
10502 wlarc='$wl'
10503
10504 # Set some defaults for GNU ld with shared library support. These
10505 # are reset later if shared libraries are not supported. Putting them
10506 # here allows them to be overridden if necessary.
10507 runpath_var=LD_RUN_PATH
10508 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10509 export_dynamic_flag_spec='$wl--export-dynamic'
10510 # ancient GNU ld didn't support --whole-archive et. al.
10511 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10512 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10513 else
10514 whole_archive_flag_spec=
10515 fi
10516 supports_anon_versioning=no
10517 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10518 *GNU\ gold*) supports_anon_versioning=yes ;;
10519 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10520 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10521 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10522 *\ 2.11.*) ;; # other 2.11 versions
10523 *) supports_anon_versioning=yes ;;
10524 esac
10525
10526 # See if GNU ld supports shared libraries.
10527 case $host_os in
10528 aix[3-9]*)
10529 # On AIX/PPC, the GNU linker is very broken
10530 if test ia64 != "$host_cpu"; then
10531 ld_shlibs=no
10532 cat <<_LT_EOF 1>&2
10533
10534 *** Warning: the GNU linker, at least up to release 2.19, is reported
10535 *** to be unable to reliably create shared libraries on AIX.
10536 *** Therefore, libtool is disabling shared libraries support. If you
10537 *** really care for shared libraries, you may want to install binutils
10538 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10539 *** You will then need to restart the configuration process.
10540
10541 _LT_EOF
10542 fi
10543 ;;
10544
10545 amigaos*)
10546 case $host_cpu in
10547 powerpc)
10548 # see comment about AmigaOS4 .so support
10549 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10550 archive_expsym_cmds=''
10551 ;;
10552 m68k)
10553 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)'
10554 hardcode_libdir_flag_spec='-L$libdir'
10555 hardcode_minus_L=yes
10556 ;;
10557 esac
10558 ;;
10559
10560 beos*)
10561 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10562 allow_undefined_flag=unsupported
10563 # Joseph Beckenbach <[email protected]> says some releases of gcc
10564 # support --undefined. This deserves some investigation. FIXME
10565 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10566 else
10567 ld_shlibs=no
10568 fi
10569 ;;
10570
10571 cygwin* | mingw* | pw32* | cegcc*)
10572 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10573 # as there is no search path for DLLs.
10574 hardcode_libdir_flag_spec='-L$libdir'
10575 export_dynamic_flag_spec='$wl--export-all-symbols'
10576 allow_undefined_flag=unsupported
10577 always_export_symbols=no
10578 enable_shared_with_static_runtimes=yes
10579 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'
10580 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10581
10582 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10583 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10584 # If the export-symbols file already is a .def file, use it as
10585 # is; otherwise, prepend EXPORTS...
10586 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10587 cp $export_symbols $output_objdir/$soname.def;
10588 else
10589 echo EXPORTS > $output_objdir/$soname.def;
10590 cat $export_symbols >> $output_objdir/$soname.def;
10591 fi~
10592 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10593 else
10594 ld_shlibs=no
10595 fi
10596 ;;
10597
10598 haiku*)
10599 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10600 link_all_deplibs=yes
10601 ;;
10602
10603 os2*)
10604 hardcode_libdir_flag_spec='-L$libdir'
10605 hardcode_minus_L=yes
10606 allow_undefined_flag=unsupported
10607 shrext_cmds=.dll
10608 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10609 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10610 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10611 $ECHO EXPORTS >> $output_objdir/$libname.def~
10612 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10613 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10614 emximp -o $lib $output_objdir/$libname.def'
10615 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10616 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10617 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10618 $ECHO EXPORTS >> $output_objdir/$libname.def~
10619 prefix_cmds="$SED"~
10620 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10621 prefix_cmds="$prefix_cmds -e 1d";
10622 fi~
10623 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10624 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10625 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10626 emximp -o $lib $output_objdir/$libname.def'
10627 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10628 enable_shared_with_static_runtimes=yes
10629 ;;
10630
10631 interix[3-9]*)
10632 hardcode_direct=no
10633 hardcode_shlibpath_var=no
10634 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10635 export_dynamic_flag_spec='$wl-E'
10636 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10637 # Instead, shared libraries are loaded at an image base (0x10000000 by
10638 # default) and relocated if they conflict, which is a slow very memory
10639 # consuming and fragmenting process. To avoid this, we pick a random,
10640 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10641 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10642 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10643 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'
10644 ;;
10645
10646 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10647 tmp_diet=no
10648 if test linux-dietlibc = "$host_os"; then
10649 case $cc_basename in
10650 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10651 esac
10652 fi
10653 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10654 && test no = "$tmp_diet"
10655 then
10656 tmp_addflag=' $pic_flag'
10657 tmp_sharedflag='-shared'
10658 case $cc_basename,$host_cpu in
10659 pgcc*) # Portland Group C compiler
10660 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'
10661 tmp_addflag=' $pic_flag'
10662 ;;
10663 pgf77* | pgf90* | pgf95* | pgfortran*)
10664 # Portland Group f77 and f90 compilers
10665 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'
10666 tmp_addflag=' $pic_flag -Mnomain' ;;
10667 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10668 tmp_addflag=' -i_dynamic' ;;
10669 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10670 tmp_addflag=' -i_dynamic -nofor_main' ;;
10671 ifc* | ifort*) # Intel Fortran compiler
10672 tmp_addflag=' -nofor_main' ;;
10673 lf95*) # Lahey Fortran 8.1
10674 whole_archive_flag_spec=
10675 tmp_sharedflag='--shared' ;;
10676 nagfor*) # NAGFOR 5.3
10677 tmp_sharedflag='-Wl,-shared' ;;
10678 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10679 tmp_sharedflag='-qmkshrobj'
10680 tmp_addflag= ;;
10681 nvcc*) # Cuda Compiler Driver 2.2
10682 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'
10683 compiler_needs_object=yes
10684 ;;
10685 esac
10686 case `$CC -V 2>&1 | sed 5q` in
10687 *Sun\ C*) # Sun C 5.9
10688 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'
10689 compiler_needs_object=yes
10690 tmp_sharedflag='-G' ;;
10691 *Sun\ F*) # Sun Fortran 8.3
10692 tmp_sharedflag='-G' ;;
10693 esac
10694 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10695
10696 if test yes = "$supports_anon_versioning"; then
10697 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10698 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10699 echo "local: *; };" >> $output_objdir/$libname.ver~
10700 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10701 fi
10702
10703 case $cc_basename in
10704 tcc*)
10705 export_dynamic_flag_spec='-rdynamic'
10706 ;;
10707 xlf* | bgf* | bgxlf* | mpixlf*)
10708 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10709 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10710 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10711 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10712 if test yes = "$supports_anon_versioning"; then
10713 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10714 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10715 echo "local: *; };" >> $output_objdir/$libname.ver~
10716 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10717 fi
10718 ;;
10719 esac
10720 else
10721 ld_shlibs=no
10722 fi
10723 ;;
10724
10725 netbsd*)
10726 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10727 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10728 wlarc=
10729 else
10730 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10731 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10732 fi
10733 ;;
10734
10735 solaris*)
10736 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10737 ld_shlibs=no
10738 cat <<_LT_EOF 1>&2
10739
10740 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10741 *** create shared libraries on Solaris systems. Therefore, libtool
10742 *** is disabling shared libraries support. We urge you to upgrade GNU
10743 *** binutils to release 2.9.1 or newer. Another option is to modify
10744 *** your PATH or compiler configuration so that the native linker is
10745 *** used, and then restart.
10746
10747 _LT_EOF
10748 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10749 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10750 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10751 else
10752 ld_shlibs=no
10753 fi
10754 ;;
10755
10756 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10757 case `$LD -v 2>&1` in
10758 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10759 ld_shlibs=no
10760 cat <<_LT_EOF 1>&2
10761
10762 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10763 *** reliably create shared libraries on SCO systems. Therefore, libtool
10764 *** is disabling shared libraries support. We urge you to upgrade GNU
10765 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10766 *** your PATH or compiler configuration so that the native linker is
10767 *** used, and then restart.
10768
10769 _LT_EOF
10770 ;;
10771 *)
10772 # For security reasons, it is highly recommended that you always
10773 # use absolute paths for naming shared libraries, and exclude the
10774 # DT_RUNPATH tag from executables and libraries. But doing so
10775 # requires that you compile everything twice, which is a pain.
10776 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10777 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10778 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10779 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10780 else
10781 ld_shlibs=no
10782 fi
10783 ;;
10784 esac
10785 ;;
10786
10787 sunos4*)
10788 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10789 wlarc=
10790 hardcode_direct=yes
10791 hardcode_shlibpath_var=no
10792 ;;
10793
10794 *)
10795 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10796 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10797 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10798 else
10799 ld_shlibs=no
10800 fi
10801 ;;
10802 esac
10803
10804 if test no = "$ld_shlibs"; then
10805 runpath_var=
10806 hardcode_libdir_flag_spec=
10807 export_dynamic_flag_spec=
10808 whole_archive_flag_spec=
10809 fi
10810 else
10811 # PORTME fill in a description of your system's linker (not GNU ld)
10812 case $host_os in
10813 aix3*)
10814 allow_undefined_flag=unsupported
10815 always_export_symbols=yes
10816 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'
10817 # Note: this linker hardcodes the directories in LIBPATH if there
10818 # are no directories specified by -L.
10819 hardcode_minus_L=yes
10820 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10821 # Neither direct hardcoding nor static linking is supported with a
10822 # broken collect2.
10823 hardcode_direct=unsupported
10824 fi
10825 ;;
10826
10827 aix[4-9]*)
10828 if test ia64 = "$host_cpu"; then
10829 # On IA64, the linker does run time linking by default, so we don't
10830 # have to do anything special.
10831 aix_use_runtimelinking=no
10832 exp_sym_flag='-Bexport'
10833 no_entry_flag=
10834 else
10835 # If we're using GNU nm, then we don't want the "-C" option.
10836 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10837 # Without the "-l" option, or with the "-B" option, AIX nm treats
10838 # weak defined symbols like other global defined symbols, whereas
10839 # GNU nm marks them as "W".
10840 # While the 'weak' keyword is ignored in the Export File, we need
10841 # it in the Import File for the 'aix-soname' feature, so we have
10842 # to replace the "-B" option with "-P" for AIX nm.
10843 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10844 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'
10845 else
10846 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 == "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'
10847 fi
10848 aix_use_runtimelinking=no
10849
10850 # Test if we are trying to use run time linking or normal
10851 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10852 # have runtime linking enabled, and use it for executables.
10853 # For shared libraries, we enable/disable runtime linking
10854 # depending on the kind of the shared library created -
10855 # when "with_aix_soname,aix_use_runtimelinking" is:
10856 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10857 # "aix,yes" lib.so shared, rtl:yes, for executables
10858 # lib.a static archive
10859 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10860 # lib.a(lib.so.V) shared, rtl:no, for executables
10861 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10862 # lib.a(lib.so.V) shared, rtl:no
10863 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10864 # lib.a static archive
10865 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10866 for ld_flag in $LDFLAGS; do
10867 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10868 aix_use_runtimelinking=yes
10869 break
10870 fi
10871 done
10872 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10873 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10874 # so we don't have lib.a shared libs to link our executables.
10875 # We have to force runtime linking in this case.
10876 aix_use_runtimelinking=yes
10877 LDFLAGS="$LDFLAGS -Wl,-brtl"
10878 fi
10879 ;;
10880 esac
10881
10882 exp_sym_flag='-bexport'
10883 no_entry_flag='-bnoentry'
10884 fi
10885
10886 # When large executables or shared objects are built, AIX ld can
10887 # have problems creating the table of contents. If linking a library
10888 # or program results in "error TOC overflow" add -mminimal-toc to
10889 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10890 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10891
10892 archive_cmds=''
10893 hardcode_direct=yes
10894 hardcode_direct_absolute=yes
10895 hardcode_libdir_separator=':'
10896 link_all_deplibs=yes
10897 file_list_spec='$wl-f,'
10898 case $with_aix_soname,$aix_use_runtimelinking in
10899 aix,*) ;; # traditional, no import file
10900 svr4,* | *,yes) # use import file
10901 # The Import File defines what to hardcode.
10902 hardcode_direct=no
10903 hardcode_direct_absolute=no
10904 ;;
10905 esac
10906
10907 if test yes = "$GCC"; then
10908 case $host_os in aix4.[012]|aix4.[012].*)
10909 # We only want to do this on AIX 4.2 and lower, the check
10910 # below for broken collect2 doesn't work under 4.3+
10911 collect2name=`$CC -print-prog-name=collect2`
10912 if test -f "$collect2name" &&
10913 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10914 then
10915 # We have reworked collect2
10916 :
10917 else
10918 # We have old collect2
10919 hardcode_direct=unsupported
10920 # It fails to find uninstalled libraries when the uninstalled
10921 # path is not listed in the libpath. Setting hardcode_minus_L
10922 # to unsupported forces relinking
10923 hardcode_minus_L=yes
10924 hardcode_libdir_flag_spec='-L$libdir'
10925 hardcode_libdir_separator=
10926 fi
10927 ;;
10928 esac
10929 shared_flag='-shared'
10930 if test yes = "$aix_use_runtimelinking"; then
10931 shared_flag="$shared_flag "'$wl-G'
10932 fi
10933 # Need to ensure runtime linking is disabled for the traditional
10934 # shared library, or the linker may eventually find shared libraries
10935 # /with/ Import File - we do not want to mix them.
10936 shared_flag_aix='-shared'
10937 shared_flag_svr4='-shared $wl-G'
10938 else
10939 # not using gcc
10940 if test ia64 = "$host_cpu"; then
10941 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10942 # chokes on -Wl,-G. The following line is correct:
10943 shared_flag='-G'
10944 else
10945 if test yes = "$aix_use_runtimelinking"; then
10946 shared_flag='$wl-G'
10947 else
10948 shared_flag='$wl-bM:SRE'
10949 fi
10950 shared_flag_aix='$wl-bM:SRE'
10951 shared_flag_svr4='$wl-G'
10952 fi
10953 fi
10954
10955 export_dynamic_flag_spec='$wl-bexpall'
10956 # It seems that -bexpall does not export symbols beginning with
10957 # underscore (_), so it is better to generate a list of symbols to export.
10958 always_export_symbols=yes
10959 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10960 # Warning - without using the other runtime loading flags (-brtl),
10961 # -berok will link without error, but may produce a broken library.
10962 allow_undefined_flag='-berok'
10963 # Determine the default libpath from the value encoded in an
10964 # empty executable.
10965 if test set = "${lt_cv_aix_libpath+set}"; then
10966 aix_libpath=$lt_cv_aix_libpath
10967 else
10968 if ${lt_cv_aix_libpath_+:} false; then :
10969 $as_echo_n "(cached) " >&6
10970 else
10971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10972 /* end confdefs.h. */
10973
10974 int
10975 main ()
10976 {
10977
10978 ;
10979 return 0;
10980 }
10981 _ACEOF
10982 if ac_fn_c_try_link "$LINENO"; then :
10983
10984 lt_aix_libpath_sed='
10985 /Import File Strings/,/^$/ {
10986 /^0/ {
10987 s/^0 *\([^ ]*\) *$/\1/
10988 p
10989 }
10990 }'
10991 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10992 # Check for a 64-bit object if we didn't find anything.
10993 if test -z "$lt_cv_aix_libpath_"; then
10994 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10995 fi
10996 fi
10997 rm -f core conftest.err conftest.$ac_objext \
10998 conftest$ac_exeext conftest.$ac_ext
10999 if test -z "$lt_cv_aix_libpath_"; then
11000 lt_cv_aix_libpath_=/usr/lib:/lib
11001 fi
11002
11003 fi
11004
11005 aix_libpath=$lt_cv_aix_libpath_
11006 fi
11007
11008 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11009 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
11010 else
11011 if test ia64 = "$host_cpu"; then
11012 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
11013 allow_undefined_flag="-z nodefs"
11014 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"
11015 else
11016 # Determine the default libpath from the value encoded in an
11017 # empty executable.
11018 if test set = "${lt_cv_aix_libpath+set}"; then
11019 aix_libpath=$lt_cv_aix_libpath
11020 else
11021 if ${lt_cv_aix_libpath_+:} false; then :
11022 $as_echo_n "(cached) " >&6
11023 else
11024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11025 /* end confdefs.h. */
11026
11027 int
11028 main ()
11029 {
11030
11031 ;
11032 return 0;
11033 }
11034 _ACEOF
11035 if ac_fn_c_try_link "$LINENO"; then :
11036
11037 lt_aix_libpath_sed='
11038 /Import File Strings/,/^$/ {
11039 /^0/ {
11040 s/^0 *\([^ ]*\) *$/\1/
11041 p
11042 }
11043 }'
11044 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11045 # Check for a 64-bit object if we didn't find anything.
11046 if test -z "$lt_cv_aix_libpath_"; then
11047 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11048 fi
11049 fi
11050 rm -f core conftest.err conftest.$ac_objext \
11051 conftest$ac_exeext conftest.$ac_ext
11052 if test -z "$lt_cv_aix_libpath_"; then
11053 lt_cv_aix_libpath_=/usr/lib:/lib
11054 fi
11055
11056 fi
11057
11058 aix_libpath=$lt_cv_aix_libpath_
11059 fi
11060
11061 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11062 # Warning - without using the other run time loading flags,
11063 # -berok will link without error, but may produce a broken library.
11064 no_undefined_flag=' $wl-bernotok'
11065 allow_undefined_flag=' $wl-berok'
11066 if test yes = "$with_gnu_ld"; then
11067 # We only use this code for GNU lds that support --whole-archive.
11068 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11069 else
11070 # Exported symbols can be pulled into shared objects from archives
11071 whole_archive_flag_spec='$convenience'
11072 fi
11073 archive_cmds_need_lc=yes
11074 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11075 # -brtl affects multiple linker settings, -berok does not and is overridden later
11076 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11077 if test svr4 != "$with_aix_soname"; then
11078 # This is similar to how AIX traditionally builds its shared libraries.
11079 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'
11080 fi
11081 if test aix != "$with_aix_soname"; then
11082 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'
11083 else
11084 # used by -dlpreopen to get the symbols
11085 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
11086 fi
11087 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11088 fi
11089 fi
11090 ;;
11091
11092 amigaos*)
11093 case $host_cpu in
11094 powerpc)
11095 # see comment about AmigaOS4 .so support
11096 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11097 archive_expsym_cmds=''
11098 ;;
11099 m68k)
11100 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)'
11101 hardcode_libdir_flag_spec='-L$libdir'
11102 hardcode_minus_L=yes
11103 ;;
11104 esac
11105 ;;
11106
11107 bsdi[45]*)
11108 export_dynamic_flag_spec=-rdynamic
11109 ;;
11110
11111 cygwin* | mingw* | pw32* | cegcc*)
11112 # When not using gcc, we currently assume that we are using
11113 # Microsoft Visual C++.
11114 # hardcode_libdir_flag_spec is actually meaningless, as there is
11115 # no search path for DLLs.
11116 case $cc_basename in
11117 cl*)
11118 # Native MSVC
11119 hardcode_libdir_flag_spec=' '
11120 allow_undefined_flag=unsupported
11121 always_export_symbols=yes
11122 file_list_spec='@'
11123 # Tell ltmain to make .lib files, not .a files.
11124 libext=lib
11125 # Tell ltmain to make .dll files, not .so files.
11126 shrext_cmds=.dll
11127 # FIXME: Setting linknames here is a bad hack.
11128 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11129 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11130 cp "$export_symbols" "$output_objdir/$soname.def";
11131 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11132 else
11133 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11134 fi~
11135 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11136 linknames='
11137 # The linker will not automatically build a static lib if we build a DLL.
11138 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11139 enable_shared_with_static_runtimes=yes
11140 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11141 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11142 # Don't use ranlib
11143 old_postinstall_cmds='chmod 644 $oldlib'
11144 postlink_cmds='lt_outputfile="@OUTPUT@"~
11145 lt_tool_outputfile="@TOOL_OUTPUT@"~
11146 case $lt_outputfile in
11147 *.exe|*.EXE) ;;
11148 *)
11149 lt_outputfile=$lt_outputfile.exe
11150 lt_tool_outputfile=$lt_tool_outputfile.exe
11151 ;;
11152 esac~
11153 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11154 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11155 $RM "$lt_outputfile.manifest";
11156 fi'
11157 ;;
11158 *)
11159 # Assume MSVC wrapper
11160 hardcode_libdir_flag_spec=' '
11161 allow_undefined_flag=unsupported
11162 # Tell ltmain to make .lib files, not .a files.
11163 libext=lib
11164 # Tell ltmain to make .dll files, not .so files.
11165 shrext_cmds=.dll
11166 # FIXME: Setting linknames here is a bad hack.
11167 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11168 # The linker will automatically build a .lib file if we build a DLL.
11169 old_archive_from_new_cmds='true'
11170 # FIXME: Should let the user specify the lib program.
11171 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11172 enable_shared_with_static_runtimes=yes
11173 ;;
11174 esac
11175 ;;
11176
11177 darwin* | rhapsody*)
11178
11179
11180 archive_cmds_need_lc=no
11181 hardcode_direct=no
11182 hardcode_automatic=yes
11183 hardcode_shlibpath_var=unsupported
11184 if test yes = "$lt_cv_ld_force_load"; then
11185 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\"`'
11186
11187 else
11188 whole_archive_flag_spec=''
11189 fi
11190 link_all_deplibs=yes
11191 allow_undefined_flag=$_lt_dar_allow_undefined
11192 case $cc_basename in
11193 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11194 *) _lt_dar_can_shared=$GCC ;;
11195 esac
11196 if test yes = "$_lt_dar_can_shared"; then
11197 output_verbose_link_cmd=func_echo_all
11198 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11199 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11200 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"
11201 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"
11202
11203 else
11204 ld_shlibs=no
11205 fi
11206
11207 ;;
11208
11209 dgux*)
11210 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11211 hardcode_libdir_flag_spec='-L$libdir'
11212 hardcode_shlibpath_var=no
11213 ;;
11214
11215 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11216 # support. Future versions do this automatically, but an explicit c++rt0.o
11217 # does not break anything, and helps significantly (at the cost of a little
11218 # extra space).
11219 freebsd2.2*)
11220 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11221 hardcode_libdir_flag_spec='-R$libdir'
11222 hardcode_direct=yes
11223 hardcode_shlibpath_var=no
11224 ;;
11225
11226 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11227 freebsd2.*)
11228 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11229 hardcode_direct=yes
11230 hardcode_minus_L=yes
11231 hardcode_shlibpath_var=no
11232 ;;
11233
11234 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11235 freebsd* | dragonfly*)
11236 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11237 hardcode_libdir_flag_spec='-R$libdir'
11238 hardcode_direct=yes
11239 hardcode_shlibpath_var=no
11240 ;;
11241
11242 hpux9*)
11243 if test yes = "$GCC"; then
11244 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'
11245 else
11246 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'
11247 fi
11248 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11249 hardcode_libdir_separator=:
11250 hardcode_direct=yes
11251
11252 # hardcode_minus_L: Not really in the search PATH,
11253 # but as the default location of the library.
11254 hardcode_minus_L=yes
11255 export_dynamic_flag_spec='$wl-E'
11256 ;;
11257
11258 hpux10*)
11259 if test yes,no = "$GCC,$with_gnu_ld"; then
11260 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11261 else
11262 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11263 fi
11264 if test no = "$with_gnu_ld"; then
11265 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11266 hardcode_libdir_separator=:
11267 hardcode_direct=yes
11268 hardcode_direct_absolute=yes
11269 export_dynamic_flag_spec='$wl-E'
11270 # hardcode_minus_L: Not really in the search PATH,
11271 # but as the default location of the library.
11272 hardcode_minus_L=yes
11273 fi
11274 ;;
11275
11276 hpux11*)
11277 if test yes,no = "$GCC,$with_gnu_ld"; then
11278 case $host_cpu in
11279 hppa*64*)
11280 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11281 ;;
11282 ia64*)
11283 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11284 ;;
11285 *)
11286 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11287 ;;
11288 esac
11289 else
11290 case $host_cpu in
11291 hppa*64*)
11292 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11293 ;;
11294 ia64*)
11295 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11296 ;;
11297 *)
11298
11299 # Older versions of the 11.00 compiler do not understand -b yet
11300 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11302 $as_echo_n "checking if $CC understands -b... " >&6; }
11303 if ${lt_cv_prog_compiler__b+:} false; then :
11304 $as_echo_n "(cached) " >&6
11305 else
11306 lt_cv_prog_compiler__b=no
11307 save_LDFLAGS=$LDFLAGS
11308 LDFLAGS="$LDFLAGS -b"
11309 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11310 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11311 # The linker can only warn and ignore the option if not recognized
11312 # So say no if there are warnings
11313 if test -s conftest.err; then
11314 # Append any errors to the config.log.
11315 cat conftest.err 1>&5
11316 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11317 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11318 if diff conftest.exp conftest.er2 >/dev/null; then
11319 lt_cv_prog_compiler__b=yes
11320 fi
11321 else
11322 lt_cv_prog_compiler__b=yes
11323 fi
11324 fi
11325 $RM -r conftest*
11326 LDFLAGS=$save_LDFLAGS
11327
11328 fi
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11330 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11331
11332 if test yes = "$lt_cv_prog_compiler__b"; then
11333 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11334 else
11335 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11336 fi
11337
11338 ;;
11339 esac
11340 fi
11341 if test no = "$with_gnu_ld"; then
11342 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11343 hardcode_libdir_separator=:
11344
11345 case $host_cpu in
11346 hppa*64*|ia64*)
11347 hardcode_direct=no
11348 hardcode_shlibpath_var=no
11349 ;;
11350 *)
11351 hardcode_direct=yes
11352 hardcode_direct_absolute=yes
11353 export_dynamic_flag_spec='$wl-E'
11354
11355 # hardcode_minus_L: Not really in the search PATH,
11356 # but as the default location of the library.
11357 hardcode_minus_L=yes
11358 ;;
11359 esac
11360 fi
11361 ;;
11362
11363 irix5* | irix6* | nonstopux*)
11364 if test yes = "$GCC"; then
11365 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'
11366 # Try to use the -exported_symbol ld option, if it does not
11367 # work, assume that -exports_file does not work either and
11368 # implicitly export all symbols.
11369 # This should be the same for all languages, so no per-tag cache variable.
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11371 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11372 if ${lt_cv_irix_exported_symbol+:} false; then :
11373 $as_echo_n "(cached) " >&6
11374 else
11375 save_LDFLAGS=$LDFLAGS
11376 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11378 /* end confdefs.h. */
11379 int foo (void) { return 0; }
11380 _ACEOF
11381 if ac_fn_c_try_link "$LINENO"; then :
11382 lt_cv_irix_exported_symbol=yes
11383 else
11384 lt_cv_irix_exported_symbol=no
11385 fi
11386 rm -f core conftest.err conftest.$ac_objext \
11387 conftest$ac_exeext conftest.$ac_ext
11388 LDFLAGS=$save_LDFLAGS
11389 fi
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11391 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11392 if test yes = "$lt_cv_irix_exported_symbol"; then
11393 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'
11394 fi
11395 else
11396 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'
11397 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'
11398 fi
11399 archive_cmds_need_lc='no'
11400 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11401 hardcode_libdir_separator=:
11402 inherit_rpath=yes
11403 link_all_deplibs=yes
11404 ;;
11405
11406 linux*)
11407 case $cc_basename in
11408 tcc*)
11409 # Fabrice Bellard et al's Tiny C Compiler
11410 ld_shlibs=yes
11411 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11412 ;;
11413 esac
11414 ;;
11415
11416 netbsd*)
11417 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11418 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11419 else
11420 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11421 fi
11422 hardcode_libdir_flag_spec='-R$libdir'
11423 hardcode_direct=yes
11424 hardcode_shlibpath_var=no
11425 ;;
11426
11427 newsos6)
11428 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11429 hardcode_direct=yes
11430 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11431 hardcode_libdir_separator=:
11432 hardcode_shlibpath_var=no
11433 ;;
11434
11435 *nto* | *qnx*)
11436 ;;
11437
11438 openbsd* | bitrig*)
11439 if test -f /usr/libexec/ld.so; then
11440 hardcode_direct=yes
11441 hardcode_shlibpath_var=no
11442 hardcode_direct_absolute=yes
11443 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11444 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11445 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11446 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11447 export_dynamic_flag_spec='$wl-E'
11448 else
11449 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11450 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11451 fi
11452 else
11453 ld_shlibs=no
11454 fi
11455 ;;
11456
11457 os2*)
11458 hardcode_libdir_flag_spec='-L$libdir'
11459 hardcode_minus_L=yes
11460 allow_undefined_flag=unsupported
11461 shrext_cmds=.dll
11462 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11463 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11464 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11465 $ECHO EXPORTS >> $output_objdir/$libname.def~
11466 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11467 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11468 emximp -o $lib $output_objdir/$libname.def'
11469 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11470 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11471 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11472 $ECHO EXPORTS >> $output_objdir/$libname.def~
11473 prefix_cmds="$SED"~
11474 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11475 prefix_cmds="$prefix_cmds -e 1d";
11476 fi~
11477 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11478 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11479 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11480 emximp -o $lib $output_objdir/$libname.def'
11481 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11482 enable_shared_with_static_runtimes=yes
11483 ;;
11484
11485 osf3*)
11486 if test yes = "$GCC"; then
11487 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11488 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'
11489 else
11490 allow_undefined_flag=' -expect_unresolved \*'
11491 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'
11492 fi
11493 archive_cmds_need_lc='no'
11494 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11495 hardcode_libdir_separator=:
11496 ;;
11497
11498 osf4* | osf5*) # as osf3* with the addition of -msym flag
11499 if test yes = "$GCC"; then
11500 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11501 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'
11502 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11503 else
11504 allow_undefined_flag=' -expect_unresolved \*'
11505 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'
11506 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~
11507 $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'
11508
11509 # Both c and cxx compiler support -rpath directly
11510 hardcode_libdir_flag_spec='-rpath $libdir'
11511 fi
11512 archive_cmds_need_lc='no'
11513 hardcode_libdir_separator=:
11514 ;;
11515
11516 solaris*)
11517 no_undefined_flag=' -z defs'
11518 if test yes = "$GCC"; then
11519 wlarc='$wl'
11520 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11521 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11522 $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'
11523 else
11524 case `$CC -V 2>&1` in
11525 *"Compilers 5.0"*)
11526 wlarc=''
11527 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11528 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11529 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11530 ;;
11531 *)
11532 wlarc='$wl'
11533 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11534 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11535 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11536 ;;
11537 esac
11538 fi
11539 hardcode_libdir_flag_spec='-R$libdir'
11540 hardcode_shlibpath_var=no
11541 case $host_os in
11542 solaris2.[0-5] | solaris2.[0-5].*) ;;
11543 *)
11544 # The compiler driver will combine and reorder linker options,
11545 # but understands '-z linker_flag'. GCC discards it without '$wl',
11546 # but is careful enough not to reorder.
11547 # Supported since Solaris 2.6 (maybe 2.5.1?)
11548 if test yes = "$GCC"; then
11549 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11550 else
11551 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11552 fi
11553 ;;
11554 esac
11555 link_all_deplibs=yes
11556 ;;
11557
11558 sunos4*)
11559 if test sequent = "$host_vendor"; then
11560 # Use $CC to link under sequent, because it throws in some extra .o
11561 # files that make .init and .fini sections work.
11562 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11563 else
11564 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11565 fi
11566 hardcode_libdir_flag_spec='-L$libdir'
11567 hardcode_direct=yes
11568 hardcode_minus_L=yes
11569 hardcode_shlibpath_var=no
11570 ;;
11571
11572 sysv4)
11573 case $host_vendor in
11574 sni)
11575 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11576 hardcode_direct=yes # is this really true???
11577 ;;
11578 siemens)
11579 ## LD is ld it makes a PLAMLIB
11580 ## CC just makes a GrossModule.
11581 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11582 reload_cmds='$CC -r -o $output$reload_objs'
11583 hardcode_direct=no
11584 ;;
11585 motorola)
11586 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11587 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11588 ;;
11589 esac
11590 runpath_var='LD_RUN_PATH'
11591 hardcode_shlibpath_var=no
11592 ;;
11593
11594 sysv4.3*)
11595 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11596 hardcode_shlibpath_var=no
11597 export_dynamic_flag_spec='-Bexport'
11598 ;;
11599
11600 sysv4*MP*)
11601 if test -d /usr/nec; then
11602 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11603 hardcode_shlibpath_var=no
11604 runpath_var=LD_RUN_PATH
11605 hardcode_runpath_var=yes
11606 ld_shlibs=yes
11607 fi
11608 ;;
11609
11610 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11611 no_undefined_flag='$wl-z,text'
11612 archive_cmds_need_lc=no
11613 hardcode_shlibpath_var=no
11614 runpath_var='LD_RUN_PATH'
11615
11616 if test yes = "$GCC"; then
11617 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11618 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11619 else
11620 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11621 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11622 fi
11623 ;;
11624
11625 sysv5* | sco3.2v5* | sco5v6*)
11626 # Note: We CANNOT use -z defs as we might desire, because we do not
11627 # link with -lc, and that would cause any symbols used from libc to
11628 # always be unresolved, which means just about no library would
11629 # ever link correctly. If we're not using GNU ld we use -z text
11630 # though, which does catch some bad symbols but isn't as heavy-handed
11631 # as -z defs.
11632 no_undefined_flag='$wl-z,text'
11633 allow_undefined_flag='$wl-z,nodefs'
11634 archive_cmds_need_lc=no
11635 hardcode_shlibpath_var=no
11636 hardcode_libdir_flag_spec='$wl-R,$libdir'
11637 hardcode_libdir_separator=':'
11638 link_all_deplibs=yes
11639 export_dynamic_flag_spec='$wl-Bexport'
11640 runpath_var='LD_RUN_PATH'
11641
11642 if test yes = "$GCC"; then
11643 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11644 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11645 else
11646 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11647 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11648 fi
11649 ;;
11650
11651 uts4*)
11652 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11653 hardcode_libdir_flag_spec='-L$libdir'
11654 hardcode_shlibpath_var=no
11655 ;;
11656
11657 *)
11658 ld_shlibs=no
11659 ;;
11660 esac
11661
11662 if test sni = "$host_vendor"; then
11663 case $host in
11664 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11665 export_dynamic_flag_spec='$wl-Blargedynsym'
11666 ;;
11667 esac
11668 fi
11669 fi
11670
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11672 $as_echo "$ld_shlibs" >&6; }
11673 test no = "$ld_shlibs" && can_build_shared=no
11674
11675 with_gnu_ld=$with_gnu_ld
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691 #
11692 # Do we need to explicitly link libc?
11693 #
11694 case "x$archive_cmds_need_lc" in
11695 x|xyes)
11696 # Assume -lc should be added
11697 archive_cmds_need_lc=yes
11698
11699 if test yes,yes = "$GCC,$enable_shared"; then
11700 case $archive_cmds in
11701 *'~'*)
11702 # FIXME: we may have to deal with multi-command sequences.
11703 ;;
11704 '$CC '*)
11705 # Test whether the compiler implicitly links with -lc since on some
11706 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11707 # to ld, don't add -lc before -lgcc.
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11709 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11710 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11711 $as_echo_n "(cached) " >&6
11712 else
11713 $RM conftest*
11714 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11715
11716 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11717 (eval $ac_compile) 2>&5
11718 ac_status=$?
11719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11720 test $ac_status = 0; } 2>conftest.err; then
11721 soname=conftest
11722 lib=conftest
11723 libobjs=conftest.$ac_objext
11724 deplibs=
11725 wl=$lt_prog_compiler_wl
11726 pic_flag=$lt_prog_compiler_pic
11727 compiler_flags=-v
11728 linker_flags=-v
11729 verstring=
11730 output_objdir=.
11731 libname=conftest
11732 lt_save_allow_undefined_flag=$allow_undefined_flag
11733 allow_undefined_flag=
11734 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11735 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11736 ac_status=$?
11737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11738 test $ac_status = 0; }
11739 then
11740 lt_cv_archive_cmds_need_lc=no
11741 else
11742 lt_cv_archive_cmds_need_lc=yes
11743 fi
11744 allow_undefined_flag=$lt_save_allow_undefined_flag
11745 else
11746 cat conftest.err 1>&5
11747 fi
11748 $RM conftest*
11749
11750 fi
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11752 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11753 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11754 ;;
11755 esac
11756 fi
11757 ;;
11758 esac
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11912 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11913
11914 if test yes = "$GCC"; then
11915 case $host_os in
11916 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11917 *) lt_awk_arg='/^libraries:/' ;;
11918 esac
11919 case $host_os in
11920 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11921 *) lt_sed_strip_eq='s|=/|/|g' ;;
11922 esac
11923 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11924 case $lt_search_path_spec in
11925 *\;*)
11926 # if the path contains ";" then we assume it to be the separator
11927 # otherwise default to the standard path separator (i.e. ":") - it is
11928 # assumed that no part of a normal pathname contains ";" but that should
11929 # okay in the real world where ";" in dirpaths is itself problematic.
11930 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11931 ;;
11932 *)
11933 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11934 ;;
11935 esac
11936 # Ok, now we have the path, separated by spaces, we can step through it
11937 # and add multilib dir if necessary...
11938 lt_tmp_lt_search_path_spec=
11939 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11940 # ...but if some path component already ends with the multilib dir we assume
11941 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11942 case "$lt_multi_os_dir; $lt_search_path_spec " in
11943 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11944 lt_multi_os_dir=
11945 ;;
11946 esac
11947 for lt_sys_path in $lt_search_path_spec; do
11948 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11949 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11950 elif test -n "$lt_multi_os_dir"; then
11951 test -d "$lt_sys_path" && \
11952 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11953 fi
11954 done
11955 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11956 BEGIN {RS = " "; FS = "/|\n";} {
11957 lt_foo = "";
11958 lt_count = 0;
11959 for (lt_i = NF; lt_i > 0; lt_i--) {
11960 if ($lt_i != "" && $lt_i != ".") {
11961 if ($lt_i == "..") {
11962 lt_count++;
11963 } else {
11964 if (lt_count == 0) {
11965 lt_foo = "/" $lt_i lt_foo;
11966 } else {
11967 lt_count--;
11968 }
11969 }
11970 }
11971 }
11972 if (lt_foo != "") { lt_freq[lt_foo]++; }
11973 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11974 }'`
11975 # AWK program above erroneously prepends '/' to C:/dos/paths
11976 # for these hosts.
11977 case $host_os in
11978 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11979 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11980 esac
11981 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11982 else
11983 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11984 fi
11985 library_names_spec=
11986 libname_spec='lib$name'
11987 soname_spec=
11988 shrext_cmds=.so
11989 postinstall_cmds=
11990 postuninstall_cmds=
11991 finish_cmds=
11992 finish_eval=
11993 shlibpath_var=
11994 shlibpath_overrides_runpath=unknown
11995 version_type=none
11996 dynamic_linker="$host_os ld.so"
11997 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11998 need_lib_prefix=unknown
11999 hardcode_into_libs=no
12000
12001 # when you set need_version to no, make sure it does not cause -set_version
12002 # flags to be left without arguments
12003 need_version=unknown
12004
12005
12006
12007 case $host_os in
12008 aix3*)
12009 version_type=linux # correct to gnu/linux during the next big refactor
12010 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
12011 shlibpath_var=LIBPATH
12012
12013 # AIX 3 has no versioning support, so we append a major version to the name.
12014 soname_spec='$libname$release$shared_ext$major'
12015 ;;
12016
12017 aix[4-9]*)
12018 version_type=linux # correct to gnu/linux during the next big refactor
12019 need_lib_prefix=no
12020 need_version=no
12021 hardcode_into_libs=yes
12022 if test ia64 = "$host_cpu"; then
12023 # AIX 5 supports IA64
12024 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12025 shlibpath_var=LD_LIBRARY_PATH
12026 else
12027 # With GCC up to 2.95.x, collect2 would create an import file
12028 # for dependence libraries. The import file would start with
12029 # the line '#! .'. This would cause the generated library to
12030 # depend on '.', always an invalid library. This was fixed in
12031 # development snapshots of GCC prior to 3.0.
12032 case $host_os in
12033 aix4 | aix4.[01] | aix4.[01].*)
12034 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12035 echo ' yes '
12036 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12037 :
12038 else
12039 can_build_shared=no
12040 fi
12041 ;;
12042 esac
12043 # Using Import Files as archive members, it is possible to support
12044 # filename-based versioning of shared library archives on AIX. While
12045 # this would work for both with and without runtime linking, it will
12046 # prevent static linking of such archives. So we do filename-based
12047 # shared library versioning with .so extension only, which is used
12048 # when both runtime linking and shared linking is enabled.
12049 # Unfortunately, runtime linking may impact performance, so we do
12050 # not want this to be the default eventually. Also, we use the
12051 # versioned .so libs for executables only if there is the -brtl
12052 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12053 # To allow for filename-based versioning support, we need to create
12054 # libNAME.so.V as an archive file, containing:
12055 # *) an Import File, referring to the versioned filename of the
12056 # archive as well as the shared archive member, telling the
12057 # bitwidth (32 or 64) of that shared object, and providing the
12058 # list of exported symbols of that shared object, eventually
12059 # decorated with the 'weak' keyword
12060 # *) the shared object with the F_LOADONLY flag set, to really avoid
12061 # it being seen by the linker.
12062 # At run time we better use the real file rather than another symlink,
12063 # but for link time we create the symlink libNAME.so -> libNAME.so.V
12064
12065 case $with_aix_soname,$aix_use_runtimelinking in
12066 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12067 # soname into executable. Probably we can add versioning support to
12068 # collect2, so additional links can be useful in future.
12069 aix,yes) # traditional libtool
12070 dynamic_linker='AIX unversionable lib.so'
12071 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12072 # instead of lib<name>.a to let people know that these are not
12073 # typical AIX shared libraries.
12074 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12075 ;;
12076 aix,no) # traditional AIX only
12077 dynamic_linker='AIX lib.a(lib.so.V)'
12078 # We preserve .a as extension for shared libraries through AIX4.2
12079 # and later when we are not doing run time linking.
12080 library_names_spec='$libname$release.a $libname.a'
12081 soname_spec='$libname$release$shared_ext$major'
12082 ;;
12083 svr4,*) # full svr4 only
12084 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12085 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12086 # We do not specify a path in Import Files, so LIBPATH fires.
12087 shlibpath_overrides_runpath=yes
12088 ;;
12089 *,yes) # both, prefer svr4
12090 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12091 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12092 # unpreferred sharedlib libNAME.a needs extra handling
12093 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"'
12094 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"'
12095 # We do not specify a path in Import Files, so LIBPATH fires.
12096 shlibpath_overrides_runpath=yes
12097 ;;
12098 *,no) # both, prefer aix
12099 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12100 library_names_spec='$libname$release.a $libname.a'
12101 soname_spec='$libname$release$shared_ext$major'
12102 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12103 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)'
12104 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"'
12105 ;;
12106 esac
12107 shlibpath_var=LIBPATH
12108 fi
12109 ;;
12110
12111 amigaos*)
12112 case $host_cpu in
12113 powerpc)
12114 # Since July 2007 AmigaOS4 officially supports .so libraries.
12115 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12116 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12117 ;;
12118 m68k)
12119 library_names_spec='$libname.ixlibrary $libname.a'
12120 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12121 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'
12122 ;;
12123 esac
12124 ;;
12125
12126 beos*)
12127 library_names_spec='$libname$shared_ext'
12128 dynamic_linker="$host_os ld.so"
12129 shlibpath_var=LIBRARY_PATH
12130 ;;
12131
12132 bsdi[45]*)
12133 version_type=linux # correct to gnu/linux during the next big refactor
12134 need_version=no
12135 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12136 soname_spec='$libname$release$shared_ext$major'
12137 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12138 shlibpath_var=LD_LIBRARY_PATH
12139 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12140 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12141 # the default ld.so.conf also contains /usr/contrib/lib and
12142 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12143 # libtool to hard-code these into programs
12144 ;;
12145
12146 cygwin* | mingw* | pw32* | cegcc*)
12147 version_type=windows
12148 shrext_cmds=.dll
12149 need_version=no
12150 need_lib_prefix=no
12151
12152 case $GCC,$cc_basename in
12153 yes,*)
12154 # gcc
12155 library_names_spec='$libname.dll.a'
12156 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12157 postinstall_cmds='base_file=`basename \$file`~
12158 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12159 dldir=$destdir/`dirname \$dlpath`~
12160 test -d \$dldir || mkdir -p \$dldir~
12161 $install_prog $dir/$dlname \$dldir/$dlname~
12162 chmod a+x \$dldir/$dlname~
12163 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12164 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12165 fi'
12166 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12167 dlpath=$dir/\$dldll~
12168 $RM \$dlpath'
12169 shlibpath_overrides_runpath=yes
12170
12171 case $host_os in
12172 cygwin*)
12173 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12174 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12175
12176 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12177 ;;
12178 mingw* | cegcc*)
12179 # MinGW DLLs use traditional 'lib' prefix
12180 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12181 ;;
12182 pw32*)
12183 # pw32 DLLs use 'pw' prefix rather than 'lib'
12184 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12185 ;;
12186 esac
12187 dynamic_linker='Win32 ld.exe'
12188 ;;
12189
12190 *,cl*)
12191 # Native MSVC
12192 libname_spec='$name'
12193 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12194 library_names_spec='$libname.dll.lib'
12195
12196 case $build_os in
12197 mingw*)
12198 sys_lib_search_path_spec=
12199 lt_save_ifs=$IFS
12200 IFS=';'
12201 for lt_path in $LIB
12202 do
12203 IFS=$lt_save_ifs
12204 # Let DOS variable expansion print the short 8.3 style file name.
12205 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12206 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12207 done
12208 IFS=$lt_save_ifs
12209 # Convert to MSYS style.
12210 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12211 ;;
12212 cygwin*)
12213 # Convert to unix form, then to dos form, then back to unix form
12214 # but this time dos style (no spaces!) so that the unix form looks
12215 # like /cygdrive/c/PROGRA~1:/cygdr...
12216 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12217 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12218 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12219 ;;
12220 *)
12221 sys_lib_search_path_spec=$LIB
12222 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12223 # It is most probably a Windows format PATH.
12224 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12225 else
12226 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12227 fi
12228 # FIXME: find the short name or the path components, as spaces are
12229 # common. (e.g. "Program Files" -> "PROGRA~1")
12230 ;;
12231 esac
12232
12233 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12234 postinstall_cmds='base_file=`basename \$file`~
12235 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12236 dldir=$destdir/`dirname \$dlpath`~
12237 test -d \$dldir || mkdir -p \$dldir~
12238 $install_prog $dir/$dlname \$dldir/$dlname'
12239 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12240 dlpath=$dir/\$dldll~
12241 $RM \$dlpath'
12242 shlibpath_overrides_runpath=yes
12243 dynamic_linker='Win32 link.exe'
12244 ;;
12245
12246 *)
12247 # Assume MSVC wrapper
12248 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
12249 dynamic_linker='Win32 ld.exe'
12250 ;;
12251 esac
12252 # FIXME: first we should search . and the directory the executable is in
12253 shlibpath_var=PATH
12254 ;;
12255
12256 darwin* | rhapsody*)
12257 dynamic_linker="$host_os dyld"
12258 version_type=darwin
12259 need_lib_prefix=no
12260 need_version=no
12261 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
12262 soname_spec='$libname$release$major$shared_ext'
12263 shlibpath_overrides_runpath=yes
12264 shlibpath_var=DYLD_LIBRARY_PATH
12265 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12266
12267 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12268 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12269 ;;
12270
12271 dgux*)
12272 version_type=linux # correct to gnu/linux during the next big refactor
12273 need_lib_prefix=no
12274 need_version=no
12275 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12276 soname_spec='$libname$release$shared_ext$major'
12277 shlibpath_var=LD_LIBRARY_PATH
12278 ;;
12279
12280 freebsd* | dragonfly*)
12281 # DragonFly does not have aout. When/if they implement a new
12282 # versioning mechanism, adjust this.
12283 if test -x /usr/bin/objformat; then
12284 objformat=`/usr/bin/objformat`
12285 else
12286 case $host_os in
12287 freebsd[23].*) objformat=aout ;;
12288 *) objformat=elf ;;
12289 esac
12290 fi
12291 version_type=freebsd-$objformat
12292 case $version_type in
12293 freebsd-elf*)
12294 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12295 soname_spec='$libname$release$shared_ext$major'
12296 need_version=no
12297 need_lib_prefix=no
12298 ;;
12299 freebsd-*)
12300 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12301 need_version=yes
12302 ;;
12303 esac
12304 shlibpath_var=LD_LIBRARY_PATH
12305 case $host_os in
12306 freebsd2.*)
12307 shlibpath_overrides_runpath=yes
12308 ;;
12309 freebsd3.[01]* | freebsdelf3.[01]*)
12310 shlibpath_overrides_runpath=yes
12311 hardcode_into_libs=yes
12312 ;;
12313 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12314 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12315 shlibpath_overrides_runpath=no
12316 hardcode_into_libs=yes
12317 ;;
12318 *) # from 4.6 on, and DragonFly
12319 shlibpath_overrides_runpath=yes
12320 hardcode_into_libs=yes
12321 ;;
12322 esac
12323 ;;
12324
12325 haiku*)
12326 version_type=linux # correct to gnu/linux during the next big refactor
12327 need_lib_prefix=no
12328 need_version=no
12329 dynamic_linker="$host_os runtime_loader"
12330 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12331 soname_spec='$libname$release$shared_ext$major'
12332 shlibpath_var=LIBRARY_PATH
12333 shlibpath_overrides_runpath=no
12334 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12335 hardcode_into_libs=yes
12336 ;;
12337
12338 hpux9* | hpux10* | hpux11*)
12339 # Give a soname corresponding to the major version so that dld.sl refuses to
12340 # link against other versions.
12341 version_type=sunos
12342 need_lib_prefix=no
12343 need_version=no
12344 case $host_cpu in
12345 ia64*)
12346 shrext_cmds='.so'
12347 hardcode_into_libs=yes
12348 dynamic_linker="$host_os dld.so"
12349 shlibpath_var=LD_LIBRARY_PATH
12350 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12351 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12352 soname_spec='$libname$release$shared_ext$major'
12353 if test 32 = "$HPUX_IA64_MODE"; then
12354 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12355 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12356 else
12357 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12358 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12359 fi
12360 ;;
12361 hppa*64*)
12362 shrext_cmds='.sl'
12363 hardcode_into_libs=yes
12364 dynamic_linker="$host_os dld.sl"
12365 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12366 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12367 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12368 soname_spec='$libname$release$shared_ext$major'
12369 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12370 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12371 ;;
12372 *)
12373 shrext_cmds='.sl'
12374 dynamic_linker="$host_os dld.sl"
12375 shlibpath_var=SHLIB_PATH
12376 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12377 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12378 soname_spec='$libname$release$shared_ext$major'
12379 ;;
12380 esac
12381 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12382 postinstall_cmds='chmod 555 $lib'
12383 # or fails outright, so override atomically:
12384 install_override_mode=555
12385 ;;
12386
12387 interix[3-9]*)
12388 version_type=linux # correct to gnu/linux during the next big refactor
12389 need_lib_prefix=no
12390 need_version=no
12391 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12392 soname_spec='$libname$release$shared_ext$major'
12393 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12394 shlibpath_var=LD_LIBRARY_PATH
12395 shlibpath_overrides_runpath=no
12396 hardcode_into_libs=yes
12397 ;;
12398
12399 irix5* | irix6* | nonstopux*)
12400 case $host_os in
12401 nonstopux*) version_type=nonstopux ;;
12402 *)
12403 if test yes = "$lt_cv_prog_gnu_ld"; then
12404 version_type=linux # correct to gnu/linux during the next big refactor
12405 else
12406 version_type=irix
12407 fi ;;
12408 esac
12409 need_lib_prefix=no
12410 need_version=no
12411 soname_spec='$libname$release$shared_ext$major'
12412 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12413 case $host_os in
12414 irix5* | nonstopux*)
12415 libsuff= shlibsuff=
12416 ;;
12417 *)
12418 case $LD in # libtool.m4 will add one of these switches to LD
12419 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12420 libsuff= shlibsuff= libmagic=32-bit;;
12421 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12422 libsuff=32 shlibsuff=N32 libmagic=N32;;
12423 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12424 libsuff=64 shlibsuff=64 libmagic=64-bit;;
12425 *) libsuff= shlibsuff= libmagic=never-match;;
12426 esac
12427 ;;
12428 esac
12429 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12430 shlibpath_overrides_runpath=no
12431 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12432 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12433 hardcode_into_libs=yes
12434 ;;
12435
12436 # No shared lib support for Linux oldld, aout, or coff.
12437 linux*oldld* | linux*aout* | linux*coff*)
12438 dynamic_linker=no
12439 ;;
12440
12441 linux*android*)
12442 version_type=none # Android doesn't support versioned libraries.
12443 need_lib_prefix=no
12444 need_version=no
12445 library_names_spec='$libname$release$shared_ext'
12446 soname_spec='$libname$release$shared_ext'
12447 finish_cmds=
12448 shlibpath_var=LD_LIBRARY_PATH
12449 shlibpath_overrides_runpath=yes
12450
12451 # This implies no fast_install, which is unacceptable.
12452 # Some rework will be needed to allow for fast_install
12453 # before this can be enabled.
12454 hardcode_into_libs=yes
12455
12456 dynamic_linker='Android linker'
12457 # Don't embed -rpath directories since the linker doesn't support them.
12458 hardcode_libdir_flag_spec='-L$libdir'
12459 ;;
12460
12461 # This must be glibc/ELF.
12462 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12463 version_type=linux # correct to gnu/linux during the next big refactor
12464 need_lib_prefix=no
12465 need_version=no
12466 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12467 soname_spec='$libname$release$shared_ext$major'
12468 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12469 shlibpath_var=LD_LIBRARY_PATH
12470 shlibpath_overrides_runpath=no
12471
12472 # Some binutils ld are patched to set DT_RUNPATH
12473 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12474 $as_echo_n "(cached) " >&6
12475 else
12476 lt_cv_shlibpath_overrides_runpath=no
12477 save_LDFLAGS=$LDFLAGS
12478 save_libdir=$libdir
12479 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12480 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12482 /* end confdefs.h. */
12483
12484 int
12485 main ()
12486 {
12487
12488 ;
12489 return 0;
12490 }
12491 _ACEOF
12492 if ac_fn_c_try_link "$LINENO"; then :
12493 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12494 lt_cv_shlibpath_overrides_runpath=yes
12495 fi
12496 fi
12497 rm -f core conftest.err conftest.$ac_objext \
12498 conftest$ac_exeext conftest.$ac_ext
12499 LDFLAGS=$save_LDFLAGS
12500 libdir=$save_libdir
12501
12502 fi
12503
12504 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12505
12506 # This implies no fast_install, which is unacceptable.
12507 # Some rework will be needed to allow for fast_install
12508 # before this can be enabled.
12509 hardcode_into_libs=yes
12510
12511 # Add ABI-specific directories to the system library path.
12512 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
12513
12514 # Ideally, we could use ldconfig to report *all* directores which are
12515 # searched for libraries, however this is still not possible. Aside from not
12516 # being certain /sbin/ldconfig is available, command
12517 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12518 # even though it is searched at run-time. Try to do the best guess by
12519 # appending ld.so.conf contents (and includes) to the search path.
12520 if test -f /etc/ld.so.conf; then
12521 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' ' '`
12522 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
12523 fi
12524
12525 # We used to test for /lib/ld.so.1 and disable shared libraries on
12526 # powerpc, because MkLinux only supported shared libraries with the
12527 # GNU dynamic linker. Since this was broken with cross compilers,
12528 # most powerpc-linux boxes support dynamic linking these days and
12529 # people can always --disable-shared, the test was removed, and we
12530 # assume the GNU/Linux dynamic linker is in use.
12531 dynamic_linker='GNU/Linux ld.so'
12532 ;;
12533
12534 netbsd*)
12535 version_type=sunos
12536 need_lib_prefix=no
12537 need_version=no
12538 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12539 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12540 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12541 dynamic_linker='NetBSD (a.out) ld.so'
12542 else
12543 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12544 soname_spec='$libname$release$shared_ext$major'
12545 dynamic_linker='NetBSD ld.elf_so'
12546 fi
12547 shlibpath_var=LD_LIBRARY_PATH
12548 shlibpath_overrides_runpath=yes
12549 hardcode_into_libs=yes
12550 ;;
12551
12552 newsos6)
12553 version_type=linux # correct to gnu/linux during the next big refactor
12554 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12555 shlibpath_var=LD_LIBRARY_PATH
12556 shlibpath_overrides_runpath=yes
12557 ;;
12558
12559 *nto* | *qnx*)
12560 version_type=qnx
12561 need_lib_prefix=no
12562 need_version=no
12563 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12564 soname_spec='$libname$release$shared_ext$major'
12565 shlibpath_var=LD_LIBRARY_PATH
12566 shlibpath_overrides_runpath=no
12567 hardcode_into_libs=yes
12568 dynamic_linker='ldqnx.so'
12569 ;;
12570
12571 openbsd* | bitrig*)
12572 version_type=sunos
12573 sys_lib_dlsearch_path_spec=/usr/lib
12574 need_lib_prefix=no
12575 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12576 need_version=no
12577 else
12578 need_version=yes
12579 fi
12580 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12581 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12582 shlibpath_var=LD_LIBRARY_PATH
12583 shlibpath_overrides_runpath=yes
12584 ;;
12585
12586 os2*)
12587 libname_spec='$name'
12588 version_type=windows
12589 shrext_cmds=.dll
12590 need_version=no
12591 need_lib_prefix=no
12592 # OS/2 can only load a DLL with a base name of 8 characters or less.
12593 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12594 v=$($ECHO $release$versuffix | tr -d .-);
12595 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12596 $ECHO $n$v`$shared_ext'
12597 library_names_spec='${libname}_dll.$libext'
12598 dynamic_linker='OS/2 ld.exe'
12599 shlibpath_var=BEGINLIBPATH
12600 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12601 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12602 postinstall_cmds='base_file=`basename \$file`~
12603 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12604 dldir=$destdir/`dirname \$dlpath`~
12605 test -d \$dldir || mkdir -p \$dldir~
12606 $install_prog $dir/$dlname \$dldir/$dlname~
12607 chmod a+x \$dldir/$dlname~
12608 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12609 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12610 fi'
12611 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12612 dlpath=$dir/\$dldll~
12613 $RM \$dlpath'
12614 ;;
12615
12616 osf3* | osf4* | osf5*)
12617 version_type=osf
12618 need_lib_prefix=no
12619 need_version=no
12620 soname_spec='$libname$release$shared_ext$major'
12621 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12622 shlibpath_var=LD_LIBRARY_PATH
12623 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12624 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12625 ;;
12626
12627 rdos*)
12628 dynamic_linker=no
12629 ;;
12630
12631 solaris*)
12632 version_type=linux # correct to gnu/linux during the next big refactor
12633 need_lib_prefix=no
12634 need_version=no
12635 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12636 soname_spec='$libname$release$shared_ext$major'
12637 shlibpath_var=LD_LIBRARY_PATH
12638 shlibpath_overrides_runpath=yes
12639 hardcode_into_libs=yes
12640 # ldd complains unless libraries are executable
12641 postinstall_cmds='chmod +x $lib'
12642 ;;
12643
12644 sunos4*)
12645 version_type=sunos
12646 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12647 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12648 shlibpath_var=LD_LIBRARY_PATH
12649 shlibpath_overrides_runpath=yes
12650 if test yes = "$with_gnu_ld"; then
12651 need_lib_prefix=no
12652 fi
12653 need_version=yes
12654 ;;
12655
12656 sysv4 | sysv4.3*)
12657 version_type=linux # correct to gnu/linux during the next big refactor
12658 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12659 soname_spec='$libname$release$shared_ext$major'
12660 shlibpath_var=LD_LIBRARY_PATH
12661 case $host_vendor in
12662 sni)
12663 shlibpath_overrides_runpath=no
12664 need_lib_prefix=no
12665 runpath_var=LD_RUN_PATH
12666 ;;
12667 siemens)
12668 need_lib_prefix=no
12669 ;;
12670 motorola)
12671 need_lib_prefix=no
12672 need_version=no
12673 shlibpath_overrides_runpath=no
12674 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12675 ;;
12676 esac
12677 ;;
12678
12679 sysv4*MP*)
12680 if test -d /usr/nec; then
12681 version_type=linux # correct to gnu/linux during the next big refactor
12682 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12683 soname_spec='$libname$shared_ext.$major'
12684 shlibpath_var=LD_LIBRARY_PATH
12685 fi
12686 ;;
12687
12688 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12689 version_type=sco
12690 need_lib_prefix=no
12691 need_version=no
12692 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12693 soname_spec='$libname$release$shared_ext$major'
12694 shlibpath_var=LD_LIBRARY_PATH
12695 shlibpath_overrides_runpath=yes
12696 hardcode_into_libs=yes
12697 if test yes = "$with_gnu_ld"; then
12698 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12699 else
12700 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12701 case $host_os in
12702 sco3.2v5*)
12703 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12704 ;;
12705 esac
12706 fi
12707 sys_lib_dlsearch_path_spec='/usr/lib'
12708 ;;
12709
12710 tpf*)
12711 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12712 version_type=linux # correct to gnu/linux during the next big refactor
12713 need_lib_prefix=no
12714 need_version=no
12715 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12716 shlibpath_var=LD_LIBRARY_PATH
12717 shlibpath_overrides_runpath=no
12718 hardcode_into_libs=yes
12719 ;;
12720
12721 uts4*)
12722 version_type=linux # correct to gnu/linux during the next big refactor
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 shlibpath_var=LD_LIBRARY_PATH
12726 ;;
12727
12728 *)
12729 dynamic_linker=no
12730 ;;
12731 esac
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12733 $as_echo "$dynamic_linker" >&6; }
12734 test no = "$dynamic_linker" && can_build_shared=no
12735
12736 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12737 if test yes = "$GCC"; then
12738 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12739 fi
12740
12741 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12742 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12743 fi
12744
12745 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12746 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12747 fi
12748
12749 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12750 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12751
12752 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12753 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12754
12755 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12756 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12855 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12856 hardcode_action=
12857 if test -n "$hardcode_libdir_flag_spec" ||
12858 test -n "$runpath_var" ||
12859 test yes = "$hardcode_automatic"; then
12860
12861 # We can hardcode non-existent directories.
12862 if test no != "$hardcode_direct" &&
12863 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12864 # have to relink, otherwise we might link with an installed library
12865 # when we should be linking with a yet-to-be-installed one
12866 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12867 test no != "$hardcode_minus_L"; then
12868 # Linking always hardcodes the temporary library directory.
12869 hardcode_action=relink
12870 else
12871 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12872 hardcode_action=immediate
12873 fi
12874 else
12875 # We cannot hardcode anything, or else we can only hardcode existing
12876 # directories.
12877 hardcode_action=unsupported
12878 fi
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12880 $as_echo "$hardcode_action" >&6; }
12881
12882 if test relink = "$hardcode_action" ||
12883 test yes = "$inherit_rpath"; then
12884 # Fast installation is not supported
12885 enable_fast_install=no
12886 elif test yes = "$shlibpath_overrides_runpath" ||
12887 test no = "$enable_shared"; then
12888 # Fast installation is not necessary
12889 enable_fast_install=needless
12890 fi
12891
12892
12893
12894
12895
12896
12897 if test yes != "$enable_dlopen"; then
12898 enable_dlopen=unknown
12899 enable_dlopen_self=unknown
12900 enable_dlopen_self_static=unknown
12901 else
12902 lt_cv_dlopen=no
12903 lt_cv_dlopen_libs=
12904
12905 case $host_os in
12906 beos*)
12907 lt_cv_dlopen=load_add_on
12908 lt_cv_dlopen_libs=
12909 lt_cv_dlopen_self=yes
12910 ;;
12911
12912 mingw* | pw32* | cegcc*)
12913 lt_cv_dlopen=LoadLibrary
12914 lt_cv_dlopen_libs=
12915 ;;
12916
12917 cygwin*)
12918 lt_cv_dlopen=dlopen
12919 lt_cv_dlopen_libs=
12920 ;;
12921
12922 darwin*)
12923 # if libdl is installed we need to link against it
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12925 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12926 if ${ac_cv_lib_dl_dlopen+:} false; then :
12927 $as_echo_n "(cached) " >&6
12928 else
12929 ac_check_lib_save_LIBS=$LIBS
12930 LIBS="-ldl $LIBS"
12931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12932 /* end confdefs.h. */
12933
12934 /* Override any GCC internal prototype to avoid an error.
12935 Use char because int might match the return type of a GCC
12936 builtin and then its argument prototype would still apply. */
12937 #ifdef __cplusplus
12938 extern "C"
12939 #endif
12940 char dlopen ();
12941 int
12942 main ()
12943 {
12944 return dlopen ();
12945 ;
12946 return 0;
12947 }
12948 _ACEOF
12949 if ac_fn_c_try_link "$LINENO"; then :
12950 ac_cv_lib_dl_dlopen=yes
12951 else
12952 ac_cv_lib_dl_dlopen=no
12953 fi
12954 rm -f core conftest.err conftest.$ac_objext \
12955 conftest$ac_exeext conftest.$ac_ext
12956 LIBS=$ac_check_lib_save_LIBS
12957 fi
12958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12959 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12960 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12961 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12962 else
12963
12964 lt_cv_dlopen=dyld
12965 lt_cv_dlopen_libs=
12966 lt_cv_dlopen_self=yes
12967
12968 fi
12969
12970 ;;
12971
12972 tpf*)
12973 # Don't try to run any link tests for TPF. We know it's impossible
12974 # because TPF is a cross-compiler, and we know how we open DSOs.
12975 lt_cv_dlopen=dlopen
12976 lt_cv_dlopen_libs=
12977 lt_cv_dlopen_self=no
12978 ;;
12979
12980 *)
12981 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12982 if test "x$ac_cv_func_shl_load" = xyes; then :
12983 lt_cv_dlopen=shl_load
12984 else
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12986 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12987 if ${ac_cv_lib_dld_shl_load+:} false; then :
12988 $as_echo_n "(cached) " >&6
12989 else
12990 ac_check_lib_save_LIBS=$LIBS
12991 LIBS="-ldld $LIBS"
12992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12993 /* end confdefs.h. */
12994
12995 /* Override any GCC internal prototype to avoid an error.
12996 Use char because int might match the return type of a GCC
12997 builtin and then its argument prototype would still apply. */
12998 #ifdef __cplusplus
12999 extern "C"
13000 #endif
13001 char shl_load ();
13002 int
13003 main ()
13004 {
13005 return shl_load ();
13006 ;
13007 return 0;
13008 }
13009 _ACEOF
13010 if ac_fn_c_try_link "$LINENO"; then :
13011 ac_cv_lib_dld_shl_load=yes
13012 else
13013 ac_cv_lib_dld_shl_load=no
13014 fi
13015 rm -f core conftest.err conftest.$ac_objext \
13016 conftest$ac_exeext conftest.$ac_ext
13017 LIBS=$ac_check_lib_save_LIBS
13018 fi
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13020 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13021 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13022 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
13023 else
13024 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13025 if test "x$ac_cv_func_dlopen" = xyes; then :
13026 lt_cv_dlopen=dlopen
13027 else
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13029 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13030 if ${ac_cv_lib_dl_dlopen+:} false; then :
13031 $as_echo_n "(cached) " >&6
13032 else
13033 ac_check_lib_save_LIBS=$LIBS
13034 LIBS="-ldl $LIBS"
13035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13036 /* end confdefs.h. */
13037
13038 /* Override any GCC internal prototype to avoid an error.
13039 Use char because int might match the return type of a GCC
13040 builtin and then its argument prototype would still apply. */
13041 #ifdef __cplusplus
13042 extern "C"
13043 #endif
13044 char dlopen ();
13045 int
13046 main ()
13047 {
13048 return dlopen ();
13049 ;
13050 return 0;
13051 }
13052 _ACEOF
13053 if ac_fn_c_try_link "$LINENO"; then :
13054 ac_cv_lib_dl_dlopen=yes
13055 else
13056 ac_cv_lib_dl_dlopen=no
13057 fi
13058 rm -f core conftest.err conftest.$ac_objext \
13059 conftest$ac_exeext conftest.$ac_ext
13060 LIBS=$ac_check_lib_save_LIBS
13061 fi
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13063 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13064 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13065 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13066 else
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13068 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13069 if ${ac_cv_lib_svld_dlopen+:} false; then :
13070 $as_echo_n "(cached) " >&6
13071 else
13072 ac_check_lib_save_LIBS=$LIBS
13073 LIBS="-lsvld $LIBS"
13074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13075 /* end confdefs.h. */
13076
13077 /* Override any GCC internal prototype to avoid an error.
13078 Use char because int might match the return type of a GCC
13079 builtin and then its argument prototype would still apply. */
13080 #ifdef __cplusplus
13081 extern "C"
13082 #endif
13083 char dlopen ();
13084 int
13085 main ()
13086 {
13087 return dlopen ();
13088 ;
13089 return 0;
13090 }
13091 _ACEOF
13092 if ac_fn_c_try_link "$LINENO"; then :
13093 ac_cv_lib_svld_dlopen=yes
13094 else
13095 ac_cv_lib_svld_dlopen=no
13096 fi
13097 rm -f core conftest.err conftest.$ac_objext \
13098 conftest$ac_exeext conftest.$ac_ext
13099 LIBS=$ac_check_lib_save_LIBS
13100 fi
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13102 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13103 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13104 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
13105 else
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13107 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13108 if ${ac_cv_lib_dld_dld_link+:} false; then :
13109 $as_echo_n "(cached) " >&6
13110 else
13111 ac_check_lib_save_LIBS=$LIBS
13112 LIBS="-ldld $LIBS"
13113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13114 /* end confdefs.h. */
13115
13116 /* Override any GCC internal prototype to avoid an error.
13117 Use char because int might match the return type of a GCC
13118 builtin and then its argument prototype would still apply. */
13119 #ifdef __cplusplus
13120 extern "C"
13121 #endif
13122 char dld_link ();
13123 int
13124 main ()
13125 {
13126 return dld_link ();
13127 ;
13128 return 0;
13129 }
13130 _ACEOF
13131 if ac_fn_c_try_link "$LINENO"; then :
13132 ac_cv_lib_dld_dld_link=yes
13133 else
13134 ac_cv_lib_dld_dld_link=no
13135 fi
13136 rm -f core conftest.err conftest.$ac_objext \
13137 conftest$ac_exeext conftest.$ac_ext
13138 LIBS=$ac_check_lib_save_LIBS
13139 fi
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13141 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13142 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13143 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
13144 fi
13145
13146
13147 fi
13148
13149
13150 fi
13151
13152
13153 fi
13154
13155
13156 fi
13157
13158
13159 fi
13160
13161 ;;
13162 esac
13163
13164 if test no = "$lt_cv_dlopen"; then
13165 enable_dlopen=no
13166 else
13167 enable_dlopen=yes
13168 fi
13169
13170 case $lt_cv_dlopen in
13171 dlopen)
13172 save_CPPFLAGS=$CPPFLAGS
13173 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13174
13175 save_LDFLAGS=$LDFLAGS
13176 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13177
13178 save_LIBS=$LIBS
13179 LIBS="$lt_cv_dlopen_libs $LIBS"
13180
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13182 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13183 if ${lt_cv_dlopen_self+:} false; then :
13184 $as_echo_n "(cached) " >&6
13185 else
13186 if test yes = "$cross_compiling"; then :
13187 lt_cv_dlopen_self=cross
13188 else
13189 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13190 lt_status=$lt_dlunknown
13191 cat > conftest.$ac_ext <<_LT_EOF
13192 #line $LINENO "configure"
13193 #include "confdefs.h"
13194
13195 #if HAVE_DLFCN_H
13196 #include <dlfcn.h>
13197 #endif
13198
13199 #include <stdio.h>
13200
13201 #ifdef RTLD_GLOBAL
13202 # define LT_DLGLOBAL RTLD_GLOBAL
13203 #else
13204 # ifdef DL_GLOBAL
13205 # define LT_DLGLOBAL DL_GLOBAL
13206 # else
13207 # define LT_DLGLOBAL 0
13208 # endif
13209 #endif
13210
13211 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13212 find out it does not work in some platform. */
13213 #ifndef LT_DLLAZY_OR_NOW
13214 # ifdef RTLD_LAZY
13215 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13216 # else
13217 # ifdef DL_LAZY
13218 # define LT_DLLAZY_OR_NOW DL_LAZY
13219 # else
13220 # ifdef RTLD_NOW
13221 # define LT_DLLAZY_OR_NOW RTLD_NOW
13222 # else
13223 # ifdef DL_NOW
13224 # define LT_DLLAZY_OR_NOW DL_NOW
13225 # else
13226 # define LT_DLLAZY_OR_NOW 0
13227 # endif
13228 # endif
13229 # endif
13230 # endif
13231 #endif
13232
13233 /* When -fvisibility=hidden is used, assume the code has been annotated
13234 correspondingly for the symbols needed. */
13235 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13236 int fnord () __attribute__((visibility("default")));
13237 #endif
13238
13239 int fnord () { return 42; }
13240 int main ()
13241 {
13242 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13243 int status = $lt_dlunknown;
13244
13245 if (self)
13246 {
13247 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13248 else
13249 {
13250 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13251 else puts (dlerror ());
13252 }
13253 /* dlclose (self); */
13254 }
13255 else
13256 puts (dlerror ());
13257
13258 return status;
13259 }
13260 _LT_EOF
13261 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13262 (eval $ac_link) 2>&5
13263 ac_status=$?
13264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13265 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13266 (./conftest; exit; ) >&5 2>/dev/null
13267 lt_status=$?
13268 case x$lt_status in
13269 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13270 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13271 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13272 esac
13273 else :
13274 # compilation failed
13275 lt_cv_dlopen_self=no
13276 fi
13277 fi
13278 rm -fr conftest*
13279
13280
13281 fi
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13283 $as_echo "$lt_cv_dlopen_self" >&6; }
13284
13285 if test yes = "$lt_cv_dlopen_self"; then
13286 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13288 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13289 if ${lt_cv_dlopen_self_static+:} false; then :
13290 $as_echo_n "(cached) " >&6
13291 else
13292 if test yes = "$cross_compiling"; then :
13293 lt_cv_dlopen_self_static=cross
13294 else
13295 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13296 lt_status=$lt_dlunknown
13297 cat > conftest.$ac_ext <<_LT_EOF
13298 #line $LINENO "configure"
13299 #include "confdefs.h"
13300
13301 #if HAVE_DLFCN_H
13302 #include <dlfcn.h>
13303 #endif
13304
13305 #include <stdio.h>
13306
13307 #ifdef RTLD_GLOBAL
13308 # define LT_DLGLOBAL RTLD_GLOBAL
13309 #else
13310 # ifdef DL_GLOBAL
13311 # define LT_DLGLOBAL DL_GLOBAL
13312 # else
13313 # define LT_DLGLOBAL 0
13314 # endif
13315 #endif
13316
13317 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13318 find out it does not work in some platform. */
13319 #ifndef LT_DLLAZY_OR_NOW
13320 # ifdef RTLD_LAZY
13321 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13322 # else
13323 # ifdef DL_LAZY
13324 # define LT_DLLAZY_OR_NOW DL_LAZY
13325 # else
13326 # ifdef RTLD_NOW
13327 # define LT_DLLAZY_OR_NOW RTLD_NOW
13328 # else
13329 # ifdef DL_NOW
13330 # define LT_DLLAZY_OR_NOW DL_NOW
13331 # else
13332 # define LT_DLLAZY_OR_NOW 0
13333 # endif
13334 # endif
13335 # endif
13336 # endif
13337 #endif
13338
13339 /* When -fvisibility=hidden is used, assume the code has been annotated
13340 correspondingly for the symbols needed. */
13341 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13342 int fnord () __attribute__((visibility("default")));
13343 #endif
13344
13345 int fnord () { return 42; }
13346 int main ()
13347 {
13348 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13349 int status = $lt_dlunknown;
13350
13351 if (self)
13352 {
13353 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13354 else
13355 {
13356 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13357 else puts (dlerror ());
13358 }
13359 /* dlclose (self); */
13360 }
13361 else
13362 puts (dlerror ());
13363
13364 return status;
13365 }
13366 _LT_EOF
13367 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13368 (eval $ac_link) 2>&5
13369 ac_status=$?
13370 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13371 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13372 (./conftest; exit; ) >&5 2>/dev/null
13373 lt_status=$?
13374 case x$lt_status in
13375 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13376 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13377 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13378 esac
13379 else :
13380 # compilation failed
13381 lt_cv_dlopen_self_static=no
13382 fi
13383 fi
13384 rm -fr conftest*
13385
13386
13387 fi
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13389 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13390 fi
13391
13392 CPPFLAGS=$save_CPPFLAGS
13393 LDFLAGS=$save_LDFLAGS
13394 LIBS=$save_LIBS
13395 ;;
13396 esac
13397
13398 case $lt_cv_dlopen_self in
13399 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13400 *) enable_dlopen_self=unknown ;;
13401 esac
13402
13403 case $lt_cv_dlopen_self_static in
13404 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13405 *) enable_dlopen_self_static=unknown ;;
13406 esac
13407 fi
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425 striplib=
13426 old_striplib=
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13428 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13429 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13430 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13431 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13433 $as_echo "yes" >&6; }
13434 else
13435 # FIXME - insert some real tests, host_os isn't really good enough
13436 case $host_os in
13437 darwin*)
13438 if test -n "$STRIP"; then
13439 striplib="$STRIP -x"
13440 old_striplib="$STRIP -S"
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13442 $as_echo "yes" >&6; }
13443 else
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13445 $as_echo "no" >&6; }
13446 fi
13447 ;;
13448 *)
13449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13450 $as_echo "no" >&6; }
13451 ;;
13452 esac
13453 fi
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466 # Report what library types will actually be built
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13468 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13470 $as_echo "$can_build_shared" >&6; }
13471
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13473 $as_echo_n "checking whether to build shared libraries... " >&6; }
13474 test no = "$can_build_shared" && enable_shared=no
13475
13476 # On AIX, shared libraries and static libraries use the same namespace, and
13477 # are all built from PIC.
13478 case $host_os in
13479 aix3*)
13480 test yes = "$enable_shared" && enable_static=no
13481 if test -n "$RANLIB"; then
13482 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13483 postinstall_cmds='$RANLIB $lib'
13484 fi
13485 ;;
13486
13487 aix[4-9]*)
13488 if test ia64 != "$host_cpu"; then
13489 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13490 yes,aix,yes) ;; # shared object as lib.so file only
13491 yes,svr4,*) ;; # shared object as lib.so archive member only
13492 yes,*) enable_static=no ;; # shared object in lib.a archive as well
13493 esac
13494 fi
13495 ;;
13496 esac
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13498 $as_echo "$enable_shared" >&6; }
13499
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13501 $as_echo_n "checking whether to build static libraries... " >&6; }
13502 # Make sure either enable_shared or enable_static is yes.
13503 test yes = "$enable_shared" || enable_static=yes
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13505 $as_echo "$enable_static" >&6; }
13506
13507
13508
13509
13510 fi
13511 ac_ext=c
13512 ac_cpp='$CPP $CPPFLAGS'
13513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13516
13517 CC=$lt_save_CC
13518
13519 if test -n "$CXX" && ( test no != "$CXX" &&
13520 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
13521 (test g++ != "$CXX"))); then
13522 ac_ext=cpp
13523 ac_cpp='$CXXCPP $CPPFLAGS'
13524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13528 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13529 if test -z "$CXXCPP"; then
13530 if ${ac_cv_prog_CXXCPP+:} false; then :
13531 $as_echo_n "(cached) " >&6
13532 else
13533 # Double quotes because CXXCPP needs to be expanded
13534 for CXXCPP in "$CXX -E" "/lib/cpp"
13535 do
13536 ac_preproc_ok=false
13537 for ac_cxx_preproc_warn_flag in '' yes
13538 do
13539 # Use a header file that comes with gcc, so configuring glibc
13540 # with a fresh cross-compiler works.
13541 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13542 # <limits.h> exists even on freestanding compilers.
13543 # On the NeXT, cc -E runs the code through the compiler's parser,
13544 # not just through cpp. "Syntax error" is here to catch this case.
13545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13546 /* end confdefs.h. */
13547 #ifdef __STDC__
13548 # include <limits.h>
13549 #else
13550 # include <assert.h>
13551 #endif
13552 Syntax error
13553 _ACEOF
13554 if ac_fn_cxx_try_cpp "$LINENO"; then :
13555
13556 else
13557 # Broken: fails on valid input.
13558 continue
13559 fi
13560 rm -f conftest.err conftest.i conftest.$ac_ext
13561
13562 # OK, works on sane cases. Now check whether nonexistent headers
13563 # can be detected and how.
13564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13565 /* end confdefs.h. */
13566 #include <ac_nonexistent.h>
13567 _ACEOF
13568 if ac_fn_cxx_try_cpp "$LINENO"; then :
13569 # Broken: success on invalid input.
13570 continue
13571 else
13572 # Passes both tests.
13573 ac_preproc_ok=:
13574 break
13575 fi
13576 rm -f conftest.err conftest.i conftest.$ac_ext
13577
13578 done
13579 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13580 rm -f conftest.i conftest.err conftest.$ac_ext
13581 if $ac_preproc_ok; then :
13582 break
13583 fi
13584
13585 done
13586 ac_cv_prog_CXXCPP=$CXXCPP
13587
13588 fi
13589 CXXCPP=$ac_cv_prog_CXXCPP
13590 else
13591 ac_cv_prog_CXXCPP=$CXXCPP
13592 fi
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13594 $as_echo "$CXXCPP" >&6; }
13595 ac_preproc_ok=false
13596 for ac_cxx_preproc_warn_flag in '' yes
13597 do
13598 # Use a header file that comes with gcc, so configuring glibc
13599 # with a fresh cross-compiler works.
13600 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13601 # <limits.h> exists even on freestanding compilers.
13602 # On the NeXT, cc -E runs the code through the compiler's parser,
13603 # not just through cpp. "Syntax error" is here to catch this case.
13604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13605 /* end confdefs.h. */
13606 #ifdef __STDC__
13607 # include <limits.h>
13608 #else
13609 # include <assert.h>
13610 #endif
13611 Syntax error
13612 _ACEOF
13613 if ac_fn_cxx_try_cpp "$LINENO"; then :
13614
13615 else
13616 # Broken: fails on valid input.
13617 continue
13618 fi
13619 rm -f conftest.err conftest.i conftest.$ac_ext
13620
13621 # OK, works on sane cases. Now check whether nonexistent headers
13622 # can be detected and how.
13623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13624 /* end confdefs.h. */
13625 #include <ac_nonexistent.h>
13626 _ACEOF
13627 if ac_fn_cxx_try_cpp "$LINENO"; then :
13628 # Broken: success on invalid input.
13629 continue
13630 else
13631 # Passes both tests.
13632 ac_preproc_ok=:
13633 break
13634 fi
13635 rm -f conftest.err conftest.i conftest.$ac_ext
13636
13637 done
13638 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13639 rm -f conftest.i conftest.err conftest.$ac_ext
13640 if $ac_preproc_ok; then :
13641
13642 else
13643 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13644 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13645 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13646 See \`config.log' for more details" "$LINENO" 5; }
13647 fi
13648
13649 ac_ext=c
13650 ac_cpp='$CPP $CPPFLAGS'
13651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13654
13655 else
13656 _lt_caught_CXX_error=yes
13657 fi
13658
13659 ac_ext=cpp
13660 ac_cpp='$CXXCPP $CPPFLAGS'
13661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13664
13665 archive_cmds_need_lc_CXX=no
13666 allow_undefined_flag_CXX=
13667 always_export_symbols_CXX=no
13668 archive_expsym_cmds_CXX=
13669 compiler_needs_object_CXX=no
13670 export_dynamic_flag_spec_CXX=
13671 hardcode_direct_CXX=no
13672 hardcode_direct_absolute_CXX=no
13673 hardcode_libdir_flag_spec_CXX=
13674 hardcode_libdir_separator_CXX=
13675 hardcode_minus_L_CXX=no
13676 hardcode_shlibpath_var_CXX=unsupported
13677 hardcode_automatic_CXX=no
13678 inherit_rpath_CXX=no
13679 module_cmds_CXX=
13680 module_expsym_cmds_CXX=
13681 link_all_deplibs_CXX=unknown
13682 old_archive_cmds_CXX=$old_archive_cmds
13683 reload_flag_CXX=$reload_flag
13684 reload_cmds_CXX=$reload_cmds
13685 no_undefined_flag_CXX=
13686 whole_archive_flag_spec_CXX=
13687 enable_shared_with_static_runtimes_CXX=no
13688
13689 # Source file extension for C++ test sources.
13690 ac_ext=cpp
13691
13692 # Object file extension for compiled C++ test sources.
13693 objext=o
13694 objext_CXX=$objext
13695
13696 # No sense in running all these tests if we already determined that
13697 # the CXX compiler isn't working. Some variables (like enable_shared)
13698 # are currently assumed to apply to all compilers on this platform,
13699 # and will be corrupted by setting them based on a non-working compiler.
13700 if test yes != "$_lt_caught_CXX_error"; then
13701 # Code to be used in simple compile tests
13702 lt_simple_compile_test_code="int some_variable = 0;"
13703
13704 # Code to be used in simple link tests
13705 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13706
13707 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13708
13709
13710
13711
13712
13713
13714 # If no C compiler was specified, use CC.
13715 LTCC=${LTCC-"$CC"}
13716
13717 # If no C compiler flags were specified, use CFLAGS.
13718 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13719
13720 # Allow CC to be a program name with arguments.
13721 compiler=$CC
13722
13723
13724 # save warnings/boilerplate of simple test code
13725 ac_outfile=conftest.$ac_objext
13726 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13727 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13728 _lt_compiler_boilerplate=`cat conftest.err`
13729 $RM conftest*
13730
13731 ac_outfile=conftest.$ac_objext
13732 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13733 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13734 _lt_linker_boilerplate=`cat conftest.err`
13735 $RM -r conftest*
13736
13737
13738 # Allow CC to be a program name with arguments.
13739 lt_save_CC=$CC
13740 lt_save_CFLAGS=$CFLAGS
13741 lt_save_LD=$LD
13742 lt_save_GCC=$GCC
13743 GCC=$GXX
13744 lt_save_with_gnu_ld=$with_gnu_ld
13745 lt_save_path_LD=$lt_cv_path_LD
13746 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13747 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13748 else
13749 $as_unset lt_cv_prog_gnu_ld
13750 fi
13751 if test -n "${lt_cv_path_LDCXX+set}"; then
13752 lt_cv_path_LD=$lt_cv_path_LDCXX
13753 else
13754 $as_unset lt_cv_path_LD
13755 fi
13756 test -z "${LDCXX+set}" || LD=$LDCXX
13757 CC=${CXX-"c++"}
13758 CFLAGS=$CXXFLAGS
13759 compiler=$CC
13760 compiler_CXX=$CC
13761 func_cc_basename $compiler
13762 cc_basename=$func_cc_basename_result
13763
13764
13765 if test -n "$compiler"; then
13766 # We don't want -fno-exception when compiling C++ code, so set the
13767 # no_builtin_flag separately
13768 if test yes = "$GXX"; then
13769 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13770 else
13771 lt_prog_compiler_no_builtin_flag_CXX=
13772 fi
13773
13774 if test yes = "$GXX"; then
13775 # Set up default GNU C++ configuration
13776
13777
13778
13779 # Check whether --with-gnu-ld was given.
13780 if test "${with_gnu_ld+set}" = set; then :
13781 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
13782 else
13783 with_gnu_ld=no
13784 fi
13785
13786 ac_prog=ld
13787 if test yes = "$GCC"; then
13788 # Check if gcc -print-prog-name=ld gives a path.
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13790 $as_echo_n "checking for ld used by $CC... " >&6; }
13791 case $host in
13792 *-*-mingw*)
13793 # gcc leaves a trailing carriage return, which upsets mingw
13794 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13795 *)
13796 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13797 esac
13798 case $ac_prog in
13799 # Accept absolute paths.
13800 [\\/]* | ?:[\\/]*)
13801 re_direlt='/[^/][^/]*/\.\./'
13802 # Canonicalize the pathname of ld
13803 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13804 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13805 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13806 done
13807 test -z "$LD" && LD=$ac_prog
13808 ;;
13809 "")
13810 # If it fails, then pretend we aren't using GCC.
13811 ac_prog=ld
13812 ;;
13813 *)
13814 # If it is relative, then search for the first ld in PATH.
13815 with_gnu_ld=unknown
13816 ;;
13817 esac
13818 elif test yes = "$with_gnu_ld"; then
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13820 $as_echo_n "checking for GNU ld... " >&6; }
13821 else
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13823 $as_echo_n "checking for non-GNU ld... " >&6; }
13824 fi
13825 if ${lt_cv_path_LD+:} false; then :
13826 $as_echo_n "(cached) " >&6
13827 else
13828 if test -z "$LD"; then
13829 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
13830 for ac_dir in $PATH; do
13831 IFS=$lt_save_ifs
13832 test -z "$ac_dir" && ac_dir=.
13833 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13834 lt_cv_path_LD=$ac_dir/$ac_prog
13835 # Check to see if the program is GNU ld. I'd rather use --version,
13836 # but apparently some variants of GNU ld only accept -v.
13837 # Break only if it was the GNU/non-GNU ld that we prefer.
13838 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13839 *GNU* | *'with BFD'*)
13840 test no != "$with_gnu_ld" && break
13841 ;;
13842 *)
13843 test yes != "$with_gnu_ld" && break
13844 ;;
13845 esac
13846 fi
13847 done
13848 IFS=$lt_save_ifs
13849 else
13850 lt_cv_path_LD=$LD # Let the user override the test with a path.
13851 fi
13852 fi
13853
13854 LD=$lt_cv_path_LD
13855 if test -n "$LD"; then
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13857 $as_echo "$LD" >&6; }
13858 else
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13860 $as_echo "no" >&6; }
13861 fi
13862 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13864 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13865 if ${lt_cv_prog_gnu_ld+:} false; then :
13866 $as_echo_n "(cached) " >&6
13867 else
13868 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13869 case `$LD -v 2>&1 </dev/null` in
13870 *GNU* | *'with BFD'*)
13871 lt_cv_prog_gnu_ld=yes
13872 ;;
13873 *)
13874 lt_cv_prog_gnu_ld=no
13875 ;;
13876 esac
13877 fi
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13879 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13880 with_gnu_ld=$lt_cv_prog_gnu_ld
13881
13882
13883
13884
13885
13886
13887
13888 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13889 # archiving commands below assume that GNU ld is being used.
13890 if test yes = "$with_gnu_ld"; then
13891 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13892 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'
13893
13894 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
13895 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13896
13897 # If archive_cmds runs LD, not CC, wlarc should be empty
13898 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13899 # investigate it a little bit more. (MM)
13900 wlarc='$wl'
13901
13902 # ancient GNU ld didn't support --whole-archive et. al.
13903 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13904 $GREP 'no-whole-archive' > /dev/null; then
13905 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13906 else
13907 whole_archive_flag_spec_CXX=
13908 fi
13909 else
13910 with_gnu_ld=no
13911 wlarc=
13912
13913 # A generic and very simple default shared library creation
13914 # command for GNU C++ for the case where it uses the native
13915 # linker, instead of GNU ld. If possible, this setting should
13916 # overridden to take advantage of the native linker features on
13917 # the platform it is being used on.
13918 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13919 fi
13920
13921 # Commands to make compiler produce verbose output that lists
13922 # what "hidden" libraries, object files and flags are used when
13923 # linking a shared library.
13924 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13925
13926 else
13927 GXX=no
13928 with_gnu_ld=no
13929 wlarc=
13930 fi
13931
13932 # PORTME: fill in a description of your system's C++ link characteristics
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13934 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13935 ld_shlibs_CXX=yes
13936 case $host_os in
13937 aix3*)
13938 # FIXME: insert proper C++ library support
13939 ld_shlibs_CXX=no
13940 ;;
13941 aix[4-9]*)
13942 if test ia64 = "$host_cpu"; then
13943 # On IA64, the linker does run time linking by default, so we don't
13944 # have to do anything special.
13945 aix_use_runtimelinking=no
13946 exp_sym_flag='-Bexport'
13947 no_entry_flag=
13948 else
13949 aix_use_runtimelinking=no
13950
13951 # Test if we are trying to use run time linking or normal
13952 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13953 # have runtime linking enabled, and use it for executables.
13954 # For shared libraries, we enable/disable runtime linking
13955 # depending on the kind of the shared library created -
13956 # when "with_aix_soname,aix_use_runtimelinking" is:
13957 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
13958 # "aix,yes" lib.so shared, rtl:yes, for executables
13959 # lib.a static archive
13960 # "both,no" lib.so.V(shr.o) shared, rtl:yes
13961 # lib.a(lib.so.V) shared, rtl:no, for executables
13962 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
13963 # lib.a(lib.so.V) shared, rtl:no
13964 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
13965 # lib.a static archive
13966 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13967 for ld_flag in $LDFLAGS; do
13968 case $ld_flag in
13969 *-brtl*)
13970 aix_use_runtimelinking=yes
13971 break
13972 ;;
13973 esac
13974 done
13975 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
13976 # With aix-soname=svr4, we create the lib.so.V shared archives only,
13977 # so we don't have lib.a shared libs to link our executables.
13978 # We have to force runtime linking in this case.
13979 aix_use_runtimelinking=yes
13980 LDFLAGS="$LDFLAGS -Wl,-brtl"
13981 fi
13982 ;;
13983 esac
13984
13985 exp_sym_flag='-bexport'
13986 no_entry_flag='-bnoentry'
13987 fi
13988
13989 # When large executables or shared objects are built, AIX ld can
13990 # have problems creating the table of contents. If linking a library
13991 # or program results in "error TOC overflow" add -mminimal-toc to
13992 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13993 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13994
13995 archive_cmds_CXX=''
13996 hardcode_direct_CXX=yes
13997 hardcode_direct_absolute_CXX=yes
13998 hardcode_libdir_separator_CXX=':'
13999 link_all_deplibs_CXX=yes
14000 file_list_spec_CXX='$wl-f,'
14001 case $with_aix_soname,$aix_use_runtimelinking in
14002 aix,*) ;; # no import file
14003 svr4,* | *,yes) # use import file
14004 # The Import File defines what to hardcode.
14005 hardcode_direct_CXX=no
14006 hardcode_direct_absolute_CXX=no
14007 ;;
14008 esac
14009
14010 if test yes = "$GXX"; then
14011 case $host_os in aix4.[012]|aix4.[012].*)
14012 # We only want to do this on AIX 4.2 and lower, the check
14013 # below for broken collect2 doesn't work under 4.3+
14014 collect2name=`$CC -print-prog-name=collect2`
14015 if test -f "$collect2name" &&
14016 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14017 then
14018 # We have reworked collect2
14019 :
14020 else
14021 # We have old collect2
14022 hardcode_direct_CXX=unsupported
14023 # It fails to find uninstalled libraries when the uninstalled
14024 # path is not listed in the libpath. Setting hardcode_minus_L
14025 # to unsupported forces relinking
14026 hardcode_minus_L_CXX=yes
14027 hardcode_libdir_flag_spec_CXX='-L$libdir'
14028 hardcode_libdir_separator_CXX=
14029 fi
14030 esac
14031 shared_flag='-shared'
14032 if test yes = "$aix_use_runtimelinking"; then
14033 shared_flag=$shared_flag' $wl-G'
14034 fi
14035 # Need to ensure runtime linking is disabled for the traditional
14036 # shared library, or the linker may eventually find shared libraries
14037 # /with/ Import File - we do not want to mix them.
14038 shared_flag_aix='-shared'
14039 shared_flag_svr4='-shared $wl-G'
14040 else
14041 # not using gcc
14042 if test ia64 = "$host_cpu"; then
14043 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14044 # chokes on -Wl,-G. The following line is correct:
14045 shared_flag='-G'
14046 else
14047 if test yes = "$aix_use_runtimelinking"; then
14048 shared_flag='$wl-G'
14049 else
14050 shared_flag='$wl-bM:SRE'
14051 fi
14052 shared_flag_aix='$wl-bM:SRE'
14053 shared_flag_svr4='$wl-G'
14054 fi
14055 fi
14056
14057 export_dynamic_flag_spec_CXX='$wl-bexpall'
14058 # It seems that -bexpall does not export symbols beginning with
14059 # underscore (_), so it is better to generate a list of symbols to
14060 # export.
14061 always_export_symbols_CXX=yes
14062 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
14063 # Warning - without using the other runtime loading flags (-brtl),
14064 # -berok will link without error, but may produce a broken library.
14065 # The "-G" linker flag allows undefined symbols.
14066 no_undefined_flag_CXX='-bernotok'
14067 # Determine the default libpath from the value encoded in an empty
14068 # executable.
14069 if test set = "${lt_cv_aix_libpath+set}"; then
14070 aix_libpath=$lt_cv_aix_libpath
14071 else
14072 if ${lt_cv_aix_libpath__CXX+:} false; then :
14073 $as_echo_n "(cached) " >&6
14074 else
14075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14076 /* end confdefs.h. */
14077
14078 int
14079 main ()
14080 {
14081
14082 ;
14083 return 0;
14084 }
14085 _ACEOF
14086 if ac_fn_cxx_try_link "$LINENO"; then :
14087
14088 lt_aix_libpath_sed='
14089 /Import File Strings/,/^$/ {
14090 /^0/ {
14091 s/^0 *\([^ ]*\) *$/\1/
14092 p
14093 }
14094 }'
14095 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14096 # Check for a 64-bit object if we didn't find anything.
14097 if test -z "$lt_cv_aix_libpath__CXX"; then
14098 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14099 fi
14100 fi
14101 rm -f core conftest.err conftest.$ac_objext \
14102 conftest$ac_exeext conftest.$ac_ext
14103 if test -z "$lt_cv_aix_libpath__CXX"; then
14104 lt_cv_aix_libpath__CXX=/usr/lib:/lib
14105 fi
14106
14107 fi
14108
14109 aix_libpath=$lt_cv_aix_libpath__CXX
14110 fi
14111
14112 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14113
14114 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
14115 else
14116 if test ia64 = "$host_cpu"; then
14117 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
14118 allow_undefined_flag_CXX="-z nodefs"
14119 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"
14120 else
14121 # Determine the default libpath from the value encoded in an
14122 # empty executable.
14123 if test set = "${lt_cv_aix_libpath+set}"; then
14124 aix_libpath=$lt_cv_aix_libpath
14125 else
14126 if ${lt_cv_aix_libpath__CXX+:} false; then :
14127 $as_echo_n "(cached) " >&6
14128 else
14129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14130 /* end confdefs.h. */
14131
14132 int
14133 main ()
14134 {
14135
14136 ;
14137 return 0;
14138 }
14139 _ACEOF
14140 if ac_fn_cxx_try_link "$LINENO"; then :
14141
14142 lt_aix_libpath_sed='
14143 /Import File Strings/,/^$/ {
14144 /^0/ {
14145 s/^0 *\([^ ]*\) *$/\1/
14146 p
14147 }
14148 }'
14149 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14150 # Check for a 64-bit object if we didn't find anything.
14151 if test -z "$lt_cv_aix_libpath__CXX"; then
14152 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14153 fi
14154 fi
14155 rm -f core conftest.err conftest.$ac_objext \
14156 conftest$ac_exeext conftest.$ac_ext
14157 if test -z "$lt_cv_aix_libpath__CXX"; then
14158 lt_cv_aix_libpath__CXX=/usr/lib:/lib
14159 fi
14160
14161 fi
14162
14163 aix_libpath=$lt_cv_aix_libpath__CXX
14164 fi
14165
14166 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14167 # Warning - without using the other run time loading flags,
14168 # -berok will link without error, but may produce a broken library.
14169 no_undefined_flag_CXX=' $wl-bernotok'
14170 allow_undefined_flag_CXX=' $wl-berok'
14171 if test yes = "$with_gnu_ld"; then
14172 # We only use this code for GNU lds that support --whole-archive.
14173 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14174 else
14175 # Exported symbols can be pulled into shared objects from archives
14176 whole_archive_flag_spec_CXX='$convenience'
14177 fi
14178 archive_cmds_need_lc_CXX=yes
14179 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
14180 # -brtl affects multiple linker settings, -berok does not and is overridden later
14181 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
14182 if test svr4 != "$with_aix_soname"; then
14183 # This is similar to how AIX traditionally builds its shared
14184 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
14185 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'
14186 fi
14187 if test aix != "$with_aix_soname"; then
14188 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'
14189 else
14190 # used by -dlpreopen to get the symbols
14191 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
14192 fi
14193 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
14194 fi
14195 fi
14196 ;;
14197
14198 beos*)
14199 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14200 allow_undefined_flag_CXX=unsupported
14201 # Joseph Beckenbach <[email protected]> says some releases of gcc
14202 # support --undefined. This deserves some investigation. FIXME
14203 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14204 else
14205 ld_shlibs_CXX=no
14206 fi
14207 ;;
14208
14209 chorus*)
14210 case $cc_basename in
14211 *)
14212 # FIXME: insert proper C++ library support
14213 ld_shlibs_CXX=no
14214 ;;
14215 esac
14216 ;;
14217
14218 cygwin* | mingw* | pw32* | cegcc*)
14219 case $GXX,$cc_basename in
14220 ,cl* | no,cl*)
14221 # Native MSVC
14222 # hardcode_libdir_flag_spec is actually meaningless, as there is
14223 # no search path for DLLs.
14224 hardcode_libdir_flag_spec_CXX=' '
14225 allow_undefined_flag_CXX=unsupported
14226 always_export_symbols_CXX=yes
14227 file_list_spec_CXX='@'
14228 # Tell ltmain to make .lib files, not .a files.
14229 libext=lib
14230 # Tell ltmain to make .dll files, not .so files.
14231 shrext_cmds=.dll
14232 # FIXME: Setting linknames here is a bad hack.
14233 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
14234 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
14235 cp "$export_symbols" "$output_objdir/$soname.def";
14236 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
14237 else
14238 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
14239 fi~
14240 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14241 linknames='
14242 # The linker will not automatically build a static lib if we build a DLL.
14243 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14244 enable_shared_with_static_runtimes_CXX=yes
14245 # Don't use ranlib
14246 old_postinstall_cmds_CXX='chmod 644 $oldlib'
14247 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14248 lt_tool_outputfile="@TOOL_OUTPUT@"~
14249 case $lt_outputfile in
14250 *.exe|*.EXE) ;;
14251 *)
14252 lt_outputfile=$lt_outputfile.exe
14253 lt_tool_outputfile=$lt_tool_outputfile.exe
14254 ;;
14255 esac~
14256 func_to_tool_file "$lt_outputfile"~
14257 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
14258 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14259 $RM "$lt_outputfile.manifest";
14260 fi'
14261 ;;
14262 *)
14263 # g++
14264 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14265 # as there is no search path for DLLs.
14266 hardcode_libdir_flag_spec_CXX='-L$libdir'
14267 export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
14268 allow_undefined_flag_CXX=unsupported
14269 always_export_symbols_CXX=no
14270 enable_shared_with_static_runtimes_CXX=yes
14271
14272 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14273 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'
14274 # If the export-symbols file already is a .def file, use it as
14275 # is; otherwise, prepend EXPORTS...
14276 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
14277 cp $export_symbols $output_objdir/$soname.def;
14278 else
14279 echo EXPORTS > $output_objdir/$soname.def;
14280 cat $export_symbols >> $output_objdir/$soname.def;
14281 fi~
14282 $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'
14283 else
14284 ld_shlibs_CXX=no
14285 fi
14286 ;;
14287 esac
14288 ;;
14289 darwin* | rhapsody*)
14290
14291
14292 archive_cmds_need_lc_CXX=no
14293 hardcode_direct_CXX=no
14294 hardcode_automatic_CXX=yes
14295 hardcode_shlibpath_var_CXX=unsupported
14296 if test yes = "$lt_cv_ld_force_load"; then
14297 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\"`'
14298
14299 else
14300 whole_archive_flag_spec_CXX=''
14301 fi
14302 link_all_deplibs_CXX=yes
14303 allow_undefined_flag_CXX=$_lt_dar_allow_undefined
14304 case $cc_basename in
14305 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
14306 *) _lt_dar_can_shared=$GCC ;;
14307 esac
14308 if test yes = "$_lt_dar_can_shared"; then
14309 output_verbose_link_cmd=func_echo_all
14310 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"
14311 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
14312 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"
14313 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"
14314 if test yes != "$lt_cv_apple_cc_single_mod"; then
14315 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"
14316 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"
14317 fi
14318
14319 else
14320 ld_shlibs_CXX=no
14321 fi
14322
14323 ;;
14324
14325 os2*)
14326 hardcode_libdir_flag_spec_CXX='-L$libdir'
14327 hardcode_minus_L_CXX=yes
14328 allow_undefined_flag_CXX=unsupported
14329 shrext_cmds=.dll
14330 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14331 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14332 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14333 $ECHO EXPORTS >> $output_objdir/$libname.def~
14334 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14335 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14336 emximp -o $lib $output_objdir/$libname.def'
14337 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14338 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14339 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14340 $ECHO EXPORTS >> $output_objdir/$libname.def~
14341 prefix_cmds="$SED"~
14342 if test EXPORTS = "`$SED 1q $export_symbols`"; then
14343 prefix_cmds="$prefix_cmds -e 1d";
14344 fi~
14345 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14346 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14347 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14348 emximp -o $lib $output_objdir/$libname.def'
14349 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14350 enable_shared_with_static_runtimes_CXX=yes
14351 ;;
14352
14353 dgux*)
14354 case $cc_basename in
14355 ec++*)
14356 # FIXME: insert proper C++ library support
14357 ld_shlibs_CXX=no
14358 ;;
14359 ghcx*)
14360 # Green Hills C++ Compiler
14361 # FIXME: insert proper C++ library support
14362 ld_shlibs_CXX=no
14363 ;;
14364 *)
14365 # FIXME: insert proper C++ library support
14366 ld_shlibs_CXX=no
14367 ;;
14368 esac
14369 ;;
14370
14371 freebsd2.*)
14372 # C++ shared libraries reported to be fairly broken before
14373 # switch to ELF
14374 ld_shlibs_CXX=no
14375 ;;
14376
14377 freebsd-elf*)
14378 archive_cmds_need_lc_CXX=no
14379 ;;
14380
14381 freebsd* | dragonfly*)
14382 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14383 # conventions
14384 ld_shlibs_CXX=yes
14385 ;;
14386
14387 haiku*)
14388 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14389 link_all_deplibs_CXX=yes
14390 ;;
14391
14392 hpux9*)
14393 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14394 hardcode_libdir_separator_CXX=:
14395 export_dynamic_flag_spec_CXX='$wl-E'
14396 hardcode_direct_CXX=yes
14397 hardcode_minus_L_CXX=yes # Not in the search PATH,
14398 # but as the default
14399 # location of the library.
14400
14401 case $cc_basename in
14402 CC*)
14403 # FIXME: insert proper C++ library support
14404 ld_shlibs_CXX=no
14405 ;;
14406 aCC*)
14407 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'
14408 # Commands to make compiler produce verbose output that lists
14409 # what "hidden" libraries, object files and flags are used when
14410 # linking a shared library.
14411 #
14412 # There doesn't appear to be a way to prevent this compiler from
14413 # explicitly linking system object files so we need to strip them
14414 # from the output so that they don't get included in the library
14415 # dependencies.
14416 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"'
14417 ;;
14418 *)
14419 if test yes = "$GXX"; then
14420 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'
14421 else
14422 # FIXME: insert proper C++ library support
14423 ld_shlibs_CXX=no
14424 fi
14425 ;;
14426 esac
14427 ;;
14428
14429 hpux10*|hpux11*)
14430 if test no = "$with_gnu_ld"; then
14431 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14432 hardcode_libdir_separator_CXX=:
14433
14434 case $host_cpu in
14435 hppa*64*|ia64*)
14436 ;;
14437 *)
14438 export_dynamic_flag_spec_CXX='$wl-E'
14439 ;;
14440 esac
14441 fi
14442 case $host_cpu in
14443 hppa*64*|ia64*)
14444 hardcode_direct_CXX=no
14445 hardcode_shlibpath_var_CXX=no
14446 ;;
14447 *)
14448 hardcode_direct_CXX=yes
14449 hardcode_direct_absolute_CXX=yes
14450 hardcode_minus_L_CXX=yes # Not in the search PATH,
14451 # but as the default
14452 # location of the library.
14453 ;;
14454 esac
14455
14456 case $cc_basename in
14457 CC*)
14458 # FIXME: insert proper C++ library support
14459 ld_shlibs_CXX=no
14460 ;;
14461 aCC*)
14462 case $host_cpu in
14463 hppa*64*)
14464 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14465 ;;
14466 ia64*)
14467 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14468 ;;
14469 *)
14470 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14471 ;;
14472 esac
14473 # Commands to make compiler produce verbose output that lists
14474 # what "hidden" libraries, object files and flags are used when
14475 # linking a shared library.
14476 #
14477 # There doesn't appear to be a way to prevent this compiler from
14478 # explicitly linking system object files so we need to strip them
14479 # from the output so that they don't get included in the library
14480 # dependencies.
14481 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"'
14482 ;;
14483 *)
14484 if test yes = "$GXX"; then
14485 if test no = "$with_gnu_ld"; then
14486 case $host_cpu in
14487 hppa*64*)
14488 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14489 ;;
14490 ia64*)
14491 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14492 ;;
14493 *)
14494 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'
14495 ;;
14496 esac
14497 fi
14498 else
14499 # FIXME: insert proper C++ library support
14500 ld_shlibs_CXX=no
14501 fi
14502 ;;
14503 esac
14504 ;;
14505
14506 interix[3-9]*)
14507 hardcode_direct_CXX=no
14508 hardcode_shlibpath_var_CXX=no
14509 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14510 export_dynamic_flag_spec_CXX='$wl-E'
14511 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14512 # Instead, shared libraries are loaded at an image base (0x10000000 by
14513 # default) and relocated if they conflict, which is a slow very memory
14514 # consuming and fragmenting process. To avoid this, we pick a random,
14515 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14516 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14517 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'
14518 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'
14519 ;;
14520 irix5* | irix6*)
14521 case $cc_basename in
14522 CC*)
14523 # SGI C++
14524 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'
14525
14526 # Archives containing C++ object files must be created using
14527 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14528 # necessary to make sure instantiated templates are included
14529 # in the archive.
14530 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14531 ;;
14532 *)
14533 if test yes = "$GXX"; then
14534 if test no = "$with_gnu_ld"; then
14535 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'
14536 else
14537 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'
14538 fi
14539 fi
14540 link_all_deplibs_CXX=yes
14541 ;;
14542 esac
14543 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14544 hardcode_libdir_separator_CXX=:
14545 inherit_rpath_CXX=yes
14546 ;;
14547
14548 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14549 case $cc_basename in
14550 KCC*)
14551 # Kuck and Associates, Inc. (KAI) C++ Compiler
14552
14553 # KCC will only create a shared library if the output file
14554 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14555 # to its proper name (with version) after linking.
14556 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'
14557 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'
14558 # Commands to make compiler produce verbose output that lists
14559 # what "hidden" libraries, object files and flags are used when
14560 # linking a shared library.
14561 #
14562 # There doesn't appear to be a way to prevent this compiler from
14563 # explicitly linking system object files so we need to strip them
14564 # from the output so that they don't get included in the library
14565 # dependencies.
14566 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"'
14567
14568 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14569 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14570
14571 # Archives containing C++ object files must be created using
14572 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14573 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14574 ;;
14575 icpc* | ecpc* )
14576 # Intel C++
14577 with_gnu_ld=yes
14578 # version 8.0 and above of icpc choke on multiply defined symbols
14579 # if we add $predep_objects and $postdep_objects, however 7.1 and
14580 # earlier do not add the objects themselves.
14581 case `$CC -V 2>&1` in
14582 *"Version 7."*)
14583 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14584 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'
14585 ;;
14586 *) # Version 8.0 or newer
14587 tmp_idyn=
14588 case $host_cpu in
14589 ia64*) tmp_idyn=' -i_dynamic';;
14590 esac
14591 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14592 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'
14593 ;;
14594 esac
14595 archive_cmds_need_lc_CXX=no
14596 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14597 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14598 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14599 ;;
14600 pgCC* | pgcpp*)
14601 # Portland Group C++ compiler
14602 case `$CC -V` in
14603 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14604 prelink_cmds_CXX='tpldir=Template.dir~
14605 rm -rf $tpldir~
14606 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14607 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14608 old_archive_cmds_CXX='tpldir=Template.dir~
14609 rm -rf $tpldir~
14610 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14611 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14612 $RANLIB $oldlib'
14613 archive_cmds_CXX='tpldir=Template.dir~
14614 rm -rf $tpldir~
14615 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14616 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14617 archive_expsym_cmds_CXX='tpldir=Template.dir~
14618 rm -rf $tpldir~
14619 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14620 $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'
14621 ;;
14622 *) # Version 6 and above use weak symbols
14623 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14624 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'
14625 ;;
14626 esac
14627
14628 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
14629 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14630 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'
14631 ;;
14632 cxx*)
14633 # Compaq C++
14634 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14635 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'
14636
14637 runpath_var=LD_RUN_PATH
14638 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14639 hardcode_libdir_separator_CXX=:
14640
14641 # Commands to make compiler produce verbose output that lists
14642 # what "hidden" libraries, object files and flags are used when
14643 # linking a shared library.
14644 #
14645 # There doesn't appear to be a way to prevent this compiler from
14646 # explicitly linking system object files so we need to strip them
14647 # from the output so that they don't get included in the library
14648 # dependencies.
14649 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'
14650 ;;
14651 xl* | mpixl* | bgxl*)
14652 # IBM XL 8.0 on PPC, with GNU ld
14653 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14654 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14655 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14656 if test yes = "$supports_anon_versioning"; then
14657 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14658 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14659 echo "local: *; };" >> $output_objdir/$libname.ver~
14660 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14661 fi
14662 ;;
14663 *)
14664 case `$CC -V 2>&1 | sed 5q` in
14665 *Sun\ C*)
14666 # Sun C++ 5.9
14667 no_undefined_flag_CXX=' -zdefs'
14668 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14669 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'
14670 hardcode_libdir_flag_spec_CXX='-R$libdir'
14671 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'
14672 compiler_needs_object_CXX=yes
14673
14674 # Not sure whether something based on
14675 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14676 # would be better.
14677 output_verbose_link_cmd='func_echo_all'
14678
14679 # Archives containing C++ object files must be created using
14680 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14681 # necessary to make sure instantiated templates are included
14682 # in the archive.
14683 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14684 ;;
14685 esac
14686 ;;
14687 esac
14688 ;;
14689
14690 lynxos*)
14691 # FIXME: insert proper C++ library support
14692 ld_shlibs_CXX=no
14693 ;;
14694
14695 m88k*)
14696 # FIXME: insert proper C++ library support
14697 ld_shlibs_CXX=no
14698 ;;
14699
14700 mvs*)
14701 case $cc_basename in
14702 cxx*)
14703 # FIXME: insert proper C++ library support
14704 ld_shlibs_CXX=no
14705 ;;
14706 *)
14707 # FIXME: insert proper C++ library support
14708 ld_shlibs_CXX=no
14709 ;;
14710 esac
14711 ;;
14712
14713 netbsd*)
14714 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14715 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14716 wlarc=
14717 hardcode_libdir_flag_spec_CXX='-R$libdir'
14718 hardcode_direct_CXX=yes
14719 hardcode_shlibpath_var_CXX=no
14720 fi
14721 # Workaround some broken pre-1.5 toolchains
14722 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14723 ;;
14724
14725 *nto* | *qnx*)
14726 ld_shlibs_CXX=yes
14727 ;;
14728
14729 openbsd* | bitrig*)
14730 if test -f /usr/libexec/ld.so; then
14731 hardcode_direct_CXX=yes
14732 hardcode_shlibpath_var_CXX=no
14733 hardcode_direct_absolute_CXX=yes
14734 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14735 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14736 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
14737 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
14738 export_dynamic_flag_spec_CXX='$wl-E'
14739 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14740 fi
14741 output_verbose_link_cmd=func_echo_all
14742 else
14743 ld_shlibs_CXX=no
14744 fi
14745 ;;
14746
14747 osf3* | osf4* | osf5*)
14748 case $cc_basename in
14749 KCC*)
14750 # Kuck and Associates, Inc. (KAI) C++ Compiler
14751
14752 # KCC will only create a shared library if the output file
14753 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14754 # to its proper name (with version) after linking.
14755 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'
14756
14757 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14758 hardcode_libdir_separator_CXX=:
14759
14760 # Archives containing C++ object files must be created using
14761 # the KAI C++ compiler.
14762 case $host in
14763 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14764 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14765 esac
14766 ;;
14767 RCC*)
14768 # Rational C++ 2.4.1
14769 # FIXME: insert proper C++ library support
14770 ld_shlibs_CXX=no
14771 ;;
14772 cxx*)
14773 case $host in
14774 osf3*)
14775 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14776 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'
14777 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14778 ;;
14779 *)
14780 allow_undefined_flag_CXX=' -expect_unresolved \*'
14781 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'
14782 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14783 echo "-hidden">> $lib.exp~
14784 $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~
14785 $RM $lib.exp'
14786 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14787 ;;
14788 esac
14789
14790 hardcode_libdir_separator_CXX=:
14791
14792 # Commands to make compiler produce verbose output that lists
14793 # what "hidden" libraries, object files and flags are used when
14794 # linking a shared library.
14795 #
14796 # There doesn't appear to be a way to prevent this compiler from
14797 # explicitly linking system object files so we need to strip them
14798 # from the output so that they don't get included in the library
14799 # dependencies.
14800 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"'
14801 ;;
14802 *)
14803 if test yes,no = "$GXX,$with_gnu_ld"; then
14804 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14805 case $host in
14806 osf3*)
14807 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'
14808 ;;
14809 *)
14810 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'
14811 ;;
14812 esac
14813
14814 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14815 hardcode_libdir_separator_CXX=:
14816
14817 # Commands to make compiler produce verbose output that lists
14818 # what "hidden" libraries, object files and flags are used when
14819 # linking a shared library.
14820 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14821
14822 else
14823 # FIXME: insert proper C++ library support
14824 ld_shlibs_CXX=no
14825 fi
14826 ;;
14827 esac
14828 ;;
14829
14830 psos*)
14831 # FIXME: insert proper C++ library support
14832 ld_shlibs_CXX=no
14833 ;;
14834
14835 sunos4*)
14836 case $cc_basename in
14837 CC*)
14838 # Sun C++ 4.x
14839 # FIXME: insert proper C++ library support
14840 ld_shlibs_CXX=no
14841 ;;
14842 lcc*)
14843 # Lucid
14844 # FIXME: insert proper C++ library support
14845 ld_shlibs_CXX=no
14846 ;;
14847 *)
14848 # FIXME: insert proper C++ library support
14849 ld_shlibs_CXX=no
14850 ;;
14851 esac
14852 ;;
14853
14854 solaris*)
14855 case $cc_basename in
14856 CC* | sunCC*)
14857 # Sun C++ 4.2, 5.x and Centerline C++
14858 archive_cmds_need_lc_CXX=yes
14859 no_undefined_flag_CXX=' -zdefs'
14860 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14861 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14862 $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'
14863
14864 hardcode_libdir_flag_spec_CXX='-R$libdir'
14865 hardcode_shlibpath_var_CXX=no
14866 case $host_os in
14867 solaris2.[0-5] | solaris2.[0-5].*) ;;
14868 *)
14869 # The compiler driver will combine and reorder linker options,
14870 # but understands '-z linker_flag'.
14871 # Supported since Solaris 2.6 (maybe 2.5.1?)
14872 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14873 ;;
14874 esac
14875 link_all_deplibs_CXX=yes
14876
14877 output_verbose_link_cmd='func_echo_all'
14878
14879 # Archives containing C++ object files must be created using
14880 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14881 # necessary to make sure instantiated templates are included
14882 # in the archive.
14883 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14884 ;;
14885 gcx*)
14886 # Green Hills C++ Compiler
14887 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14888
14889 # The C++ compiler must be used to create the archive.
14890 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14891 ;;
14892 *)
14893 # GNU C++ compiler with Solaris linker
14894 if test yes,no = "$GXX,$with_gnu_ld"; then
14895 no_undefined_flag_CXX=' $wl-z ${wl}defs'
14896 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14897 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14898 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14899 $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'
14900
14901 # Commands to make compiler produce verbose output that lists
14902 # what "hidden" libraries, object files and flags are used when
14903 # linking a shared library.
14904 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14905 else
14906 # g++ 2.7 appears to require '-G' NOT '-shared' on this
14907 # platform.
14908 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14909 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14910 $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'
14911
14912 # Commands to make compiler produce verbose output that lists
14913 # what "hidden" libraries, object files and flags are used when
14914 # linking a shared library.
14915 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14916 fi
14917
14918 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
14919 case $host_os in
14920 solaris2.[0-5] | solaris2.[0-5].*) ;;
14921 *)
14922 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14923 ;;
14924 esac
14925 fi
14926 ;;
14927 esac
14928 ;;
14929
14930 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14931 no_undefined_flag_CXX='$wl-z,text'
14932 archive_cmds_need_lc_CXX=no
14933 hardcode_shlibpath_var_CXX=no
14934 runpath_var='LD_RUN_PATH'
14935
14936 case $cc_basename in
14937 CC*)
14938 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14939 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14940 ;;
14941 *)
14942 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14943 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14944 ;;
14945 esac
14946 ;;
14947
14948 sysv5* | sco3.2v5* | sco5v6*)
14949 # Note: We CANNOT use -z defs as we might desire, because we do not
14950 # link with -lc, and that would cause any symbols used from libc to
14951 # always be unresolved, which means just about no library would
14952 # ever link correctly. If we're not using GNU ld we use -z text
14953 # though, which does catch some bad symbols but isn't as heavy-handed
14954 # as -z defs.
14955 no_undefined_flag_CXX='$wl-z,text'
14956 allow_undefined_flag_CXX='$wl-z,nodefs'
14957 archive_cmds_need_lc_CXX=no
14958 hardcode_shlibpath_var_CXX=no
14959 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
14960 hardcode_libdir_separator_CXX=':'
14961 link_all_deplibs_CXX=yes
14962 export_dynamic_flag_spec_CXX='$wl-Bexport'
14963 runpath_var='LD_RUN_PATH'
14964
14965 case $cc_basename in
14966 CC*)
14967 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14968 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14969 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14970 '"$old_archive_cmds_CXX"
14971 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14972 '"$reload_cmds_CXX"
14973 ;;
14974 *)
14975 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14976 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14977 ;;
14978 esac
14979 ;;
14980
14981 tandem*)
14982 case $cc_basename in
14983 NCC*)
14984 # NonStop-UX NCC 3.20
14985 # FIXME: insert proper C++ library support
14986 ld_shlibs_CXX=no
14987 ;;
14988 *)
14989 # FIXME: insert proper C++ library support
14990 ld_shlibs_CXX=no
14991 ;;
14992 esac
14993 ;;
14994
14995 vxworks*)
14996 # FIXME: insert proper C++ library support
14997 ld_shlibs_CXX=no
14998 ;;
14999
15000 *)
15001 # FIXME: insert proper C++ library support
15002 ld_shlibs_CXX=no
15003 ;;
15004 esac
15005
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15007 $as_echo "$ld_shlibs_CXX" >&6; }
15008 test no = "$ld_shlibs_CXX" && can_build_shared=no
15009
15010 GCC_CXX=$GXX
15011 LD_CXX=$LD
15012
15013 ## CAVEAT EMPTOR:
15014 ## There is no encapsulation within the following macros, do not change
15015 ## the running order or otherwise move them around unless you know exactly
15016 ## what you are doing...
15017 # Dependencies to place before and after the object being linked:
15018 predep_objects_CXX=
15019 postdep_objects_CXX=
15020 predeps_CXX=
15021 postdeps_CXX=
15022 compiler_lib_search_path_CXX=
15023
15024 cat > conftest.$ac_ext <<_LT_EOF
15025 class Foo
15026 {
15027 public:
15028 Foo (void) { a = 0; }
15029 private:
15030 int a;
15031 };
15032 _LT_EOF
15033
15034
15035 _lt_libdeps_save_CFLAGS=$CFLAGS
15036 case "$CC $CFLAGS " in #(
15037 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
15038 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
15039 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
15040 esac
15041
15042 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15043 (eval $ac_compile) 2>&5
15044 ac_status=$?
15045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15046 test $ac_status = 0; }; then
15047 # Parse the compiler output and extract the necessary
15048 # objects, libraries and library flags.
15049
15050 # Sentinel used to keep track of whether or not we are before
15051 # the conftest object file.
15052 pre_test_object_deps_done=no
15053
15054 for p in `eval "$output_verbose_link_cmd"`; do
15055 case $prev$p in
15056
15057 -L* | -R* | -l*)
15058 # Some compilers place space between "-{L,R}" and the path.
15059 # Remove the space.
15060 if test x-L = "$p" ||
15061 test x-R = "$p"; then
15062 prev=$p
15063 continue
15064 fi
15065
15066 # Expand the sysroot to ease extracting the directories later.
15067 if test -z "$prev"; then
15068 case $p in
15069 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
15070 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
15071 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
15072 esac
15073 fi
15074 case $p in
15075 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
15076 esac
15077 if test no = "$pre_test_object_deps_done"; then
15078 case $prev in
15079 -L | -R)
15080 # Internal compiler library paths should come after those
15081 # provided the user. The postdeps already come after the
15082 # user supplied libs so there is no need to process them.
15083 if test -z "$compiler_lib_search_path_CXX"; then
15084 compiler_lib_search_path_CXX=$prev$p
15085 else
15086 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
15087 fi
15088 ;;
15089 # The "-l" case would never come before the object being
15090 # linked, so don't bother handling this case.
15091 esac
15092 else
15093 if test -z "$postdeps_CXX"; then
15094 postdeps_CXX=$prev$p
15095 else
15096 postdeps_CXX="${postdeps_CXX} $prev$p"
15097 fi
15098 fi
15099 prev=
15100 ;;
15101
15102 *.lto.$objext) ;; # Ignore GCC LTO objects
15103 *.$objext)
15104 # This assumes that the test object file only shows up
15105 # once in the compiler output.
15106 if test "$p" = "conftest.$objext"; then
15107 pre_test_object_deps_done=yes
15108 continue
15109 fi
15110
15111 if test no = "$pre_test_object_deps_done"; then
15112 if test -z "$predep_objects_CXX"; then
15113 predep_objects_CXX=$p
15114 else
15115 predep_objects_CXX="$predep_objects_CXX $p"
15116 fi
15117 else
15118 if test -z "$postdep_objects_CXX"; then
15119 postdep_objects_CXX=$p
15120 else
15121 postdep_objects_CXX="$postdep_objects_CXX $p"
15122 fi
15123 fi
15124 ;;
15125
15126 *) ;; # Ignore the rest.
15127
15128 esac
15129 done
15130
15131 # Clean up.
15132 rm -f a.out a.exe
15133 else
15134 echo "libtool.m4: error: problem compiling CXX test program"
15135 fi
15136
15137 $RM -f confest.$objext
15138 CFLAGS=$_lt_libdeps_save_CFLAGS
15139
15140 # PORTME: override above test on systems where it is broken
15141 case $host_os in
15142 interix[3-9]*)
15143 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15144 # hack all around it, let's just trust "g++" to DTRT.
15145 predep_objects_CXX=
15146 postdep_objects_CXX=
15147 postdeps_CXX=
15148 ;;
15149 esac
15150
15151
15152 case " $postdeps_CXX " in
15153 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15154 esac
15155 compiler_lib_search_dirs_CXX=
15156 if test -n "${compiler_lib_search_path_CXX}"; then
15157 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
15158 fi
15159
15160
15161
15162
15163
15164
15165
15166
15167
15168
15169
15170
15171
15172
15173
15174
15175
15176
15177
15178
15179
15180
15181
15182
15183
15184
15185
15186
15187
15188
15189
15190 lt_prog_compiler_wl_CXX=
15191 lt_prog_compiler_pic_CXX=
15192 lt_prog_compiler_static_CXX=
15193
15194
15195 # C++ specific cases for pic, static, wl, etc.
15196 if test yes = "$GXX"; then
15197 lt_prog_compiler_wl_CXX='-Wl,'
15198 lt_prog_compiler_static_CXX='-static'
15199
15200 case $host_os in
15201 aix*)
15202 # All AIX code is PIC.
15203 if test ia64 = "$host_cpu"; then
15204 # AIX 5 now supports IA64 processor
15205 lt_prog_compiler_static_CXX='-Bstatic'
15206 fi
15207 lt_prog_compiler_pic_CXX='-fPIC'
15208 ;;
15209
15210 amigaos*)
15211 case $host_cpu in
15212 powerpc)
15213 # see comment about AmigaOS4 .so support
15214 lt_prog_compiler_pic_CXX='-fPIC'
15215 ;;
15216 m68k)
15217 # FIXME: we need at least 68020 code to build shared libraries, but
15218 # adding the '-m68020' flag to GCC prevents building anything better,
15219 # like '-m68040'.
15220 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15221 ;;
15222 esac
15223 ;;
15224
15225 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15226 # PIC is the default for these OSes.
15227 ;;
15228 mingw* | cygwin* | os2* | pw32* | cegcc*)
15229 # This hack is so that the source file can tell whether it is being
15230 # built for inclusion in a dll (and should export symbols for example).
15231 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15232 # (--disable-auto-import) libraries
15233 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15234 case $host_os in
15235 os2*)
15236 lt_prog_compiler_static_CXX='$wl-static'
15237 ;;
15238 esac
15239 ;;
15240 darwin* | rhapsody*)
15241 # PIC is the default on this platform
15242 # Common symbols not allowed in MH_DYLIB files
15243 lt_prog_compiler_pic_CXX='-fno-common'
15244 ;;
15245 *djgpp*)
15246 # DJGPP does not support shared libraries at all
15247 lt_prog_compiler_pic_CXX=
15248 ;;
15249 haiku*)
15250 # PIC is the default for Haiku.
15251 # The "-static" flag exists, but is broken.
15252 lt_prog_compiler_static_CXX=
15253 ;;
15254 interix[3-9]*)
15255 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15256 # Instead, we relocate shared libraries at runtime.
15257 ;;
15258 sysv4*MP*)
15259 if test -d /usr/nec; then
15260 lt_prog_compiler_pic_CXX=-Kconform_pic
15261 fi
15262 ;;
15263 hpux*)
15264 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15265 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15266 # sets the default TLS model and affects inlining.
15267 case $host_cpu in
15268 hppa*64*)
15269 ;;
15270 *)
15271 lt_prog_compiler_pic_CXX='-fPIC'
15272 ;;
15273 esac
15274 ;;
15275 *qnx* | *nto*)
15276 # QNX uses GNU C++, but need to define -shared option too, otherwise
15277 # it will coredump.
15278 lt_prog_compiler_pic_CXX='-fPIC -shared'
15279 ;;
15280 *)
15281 lt_prog_compiler_pic_CXX='-fPIC'
15282 ;;
15283 esac
15284 else
15285 case $host_os in
15286 aix[4-9]*)
15287 # All AIX code is PIC.
15288 if test ia64 = "$host_cpu"; then
15289 # AIX 5 now supports IA64 processor
15290 lt_prog_compiler_static_CXX='-Bstatic'
15291 else
15292 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15293 fi
15294 ;;
15295 chorus*)
15296 case $cc_basename in
15297 cxch68*)
15298 # Green Hills C++ Compiler
15299 # _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"
15300 ;;
15301 esac
15302 ;;
15303 mingw* | cygwin* | os2* | pw32* | cegcc*)
15304 # This hack is so that the source file can tell whether it is being
15305 # built for inclusion in a dll (and should export symbols for example).
15306 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15307 ;;
15308 dgux*)
15309 case $cc_basename in
15310 ec++*)
15311 lt_prog_compiler_pic_CXX='-KPIC'
15312 ;;
15313 ghcx*)
15314 # Green Hills C++ Compiler
15315 lt_prog_compiler_pic_CXX='-pic'
15316 ;;
15317 *)
15318 ;;
15319 esac
15320 ;;
15321 freebsd* | dragonfly*)
15322 # FreeBSD uses GNU C++
15323 ;;
15324 hpux9* | hpux10* | hpux11*)
15325 case $cc_basename in
15326 CC*)
15327 lt_prog_compiler_wl_CXX='-Wl,'
15328 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15329 if test ia64 != "$host_cpu"; then
15330 lt_prog_compiler_pic_CXX='+Z'
15331 fi
15332 ;;
15333 aCC*)
15334 lt_prog_compiler_wl_CXX='-Wl,'
15335 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15336 case $host_cpu in
15337 hppa*64*|ia64*)
15338 # +Z the default
15339 ;;
15340 *)
15341 lt_prog_compiler_pic_CXX='+Z'
15342 ;;
15343 esac
15344 ;;
15345 *)
15346 ;;
15347 esac
15348 ;;
15349 interix*)
15350 # This is c89, which is MS Visual C++ (no shared libs)
15351 # Anyone wants to do a port?
15352 ;;
15353 irix5* | irix6* | nonstopux*)
15354 case $cc_basename in
15355 CC*)
15356 lt_prog_compiler_wl_CXX='-Wl,'
15357 lt_prog_compiler_static_CXX='-non_shared'
15358 # CC pic flag -KPIC is the default.
15359 ;;
15360 *)
15361 ;;
15362 esac
15363 ;;
15364 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15365 case $cc_basename in
15366 KCC*)
15367 # KAI C++ Compiler
15368 lt_prog_compiler_wl_CXX='--backend -Wl,'
15369 lt_prog_compiler_pic_CXX='-fPIC'
15370 ;;
15371 ecpc* )
15372 # old Intel C++ for x86_64, which still supported -KPIC.
15373 lt_prog_compiler_wl_CXX='-Wl,'
15374 lt_prog_compiler_pic_CXX='-KPIC'
15375 lt_prog_compiler_static_CXX='-static'
15376 ;;
15377 icpc* )
15378 # Intel C++, used to be incompatible with GCC.
15379 # ICC 10 doesn't accept -KPIC any more.
15380 lt_prog_compiler_wl_CXX='-Wl,'
15381 lt_prog_compiler_pic_CXX='-fPIC'
15382 lt_prog_compiler_static_CXX='-static'
15383 ;;
15384 pgCC* | pgcpp*)
15385 # Portland Group C++ compiler
15386 lt_prog_compiler_wl_CXX='-Wl,'
15387 lt_prog_compiler_pic_CXX='-fpic'
15388 lt_prog_compiler_static_CXX='-Bstatic'
15389 ;;
15390 cxx*)
15391 # Compaq C++
15392 # Make sure the PIC flag is empty. It appears that all Alpha
15393 # Linux and Compaq Tru64 Unix objects are PIC.
15394 lt_prog_compiler_pic_CXX=
15395 lt_prog_compiler_static_CXX='-non_shared'
15396 ;;
15397 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15398 # IBM XL 8.0, 9.0 on PPC and BlueGene
15399 lt_prog_compiler_wl_CXX='-Wl,'
15400 lt_prog_compiler_pic_CXX='-qpic'
15401 lt_prog_compiler_static_CXX='-qstaticlink'
15402 ;;
15403 *)
15404 case `$CC -V 2>&1 | sed 5q` in
15405 *Sun\ C*)
15406 # Sun C++ 5.9
15407 lt_prog_compiler_pic_CXX='-KPIC'
15408 lt_prog_compiler_static_CXX='-Bstatic'
15409 lt_prog_compiler_wl_CXX='-Qoption ld '
15410 ;;
15411 esac
15412 ;;
15413 esac
15414 ;;
15415 lynxos*)
15416 ;;
15417 m88k*)
15418 ;;
15419 mvs*)
15420 case $cc_basename in
15421 cxx*)
15422 lt_prog_compiler_pic_CXX='-W c,exportall'
15423 ;;
15424 *)
15425 ;;
15426 esac
15427 ;;
15428 netbsd*)
15429 ;;
15430 *qnx* | *nto*)
15431 # QNX uses GNU C++, but need to define -shared option too, otherwise
15432 # it will coredump.
15433 lt_prog_compiler_pic_CXX='-fPIC -shared'
15434 ;;
15435 osf3* | osf4* | osf5*)
15436 case $cc_basename in
15437 KCC*)
15438 lt_prog_compiler_wl_CXX='--backend -Wl,'
15439 ;;
15440 RCC*)
15441 # Rational C++ 2.4.1
15442 lt_prog_compiler_pic_CXX='-pic'
15443 ;;
15444 cxx*)
15445 # Digital/Compaq C++
15446 lt_prog_compiler_wl_CXX='-Wl,'
15447 # Make sure the PIC flag is empty. It appears that all Alpha
15448 # Linux and Compaq Tru64 Unix objects are PIC.
15449 lt_prog_compiler_pic_CXX=
15450 lt_prog_compiler_static_CXX='-non_shared'
15451 ;;
15452 *)
15453 ;;
15454 esac
15455 ;;
15456 psos*)
15457 ;;
15458 solaris*)
15459 case $cc_basename in
15460 CC* | sunCC*)
15461 # Sun C++ 4.2, 5.x and Centerline C++
15462 lt_prog_compiler_pic_CXX='-KPIC'
15463 lt_prog_compiler_static_CXX='-Bstatic'
15464 lt_prog_compiler_wl_CXX='-Qoption ld '
15465 ;;
15466 gcx*)
15467 # Green Hills C++ Compiler
15468 lt_prog_compiler_pic_CXX='-PIC'
15469 ;;
15470 *)
15471 ;;
15472 esac
15473 ;;
15474 sunos4*)
15475 case $cc_basename in
15476 CC*)
15477 # Sun C++ 4.x
15478 lt_prog_compiler_pic_CXX='-pic'
15479 lt_prog_compiler_static_CXX='-Bstatic'
15480 ;;
15481 lcc*)
15482 # Lucid
15483 lt_prog_compiler_pic_CXX='-pic'
15484 ;;
15485 *)
15486 ;;
15487 esac
15488 ;;
15489 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15490 case $cc_basename in
15491 CC*)
15492 lt_prog_compiler_wl_CXX='-Wl,'
15493 lt_prog_compiler_pic_CXX='-KPIC'
15494 lt_prog_compiler_static_CXX='-Bstatic'
15495 ;;
15496 esac
15497 ;;
15498 tandem*)
15499 case $cc_basename in
15500 NCC*)
15501 # NonStop-UX NCC 3.20
15502 lt_prog_compiler_pic_CXX='-KPIC'
15503 ;;
15504 *)
15505 ;;
15506 esac
15507 ;;
15508 vxworks*)
15509 ;;
15510 *)
15511 lt_prog_compiler_can_build_shared_CXX=no
15512 ;;
15513 esac
15514 fi
15515
15516 case $host_os in
15517 # For platforms that do not support PIC, -DPIC is meaningless:
15518 *djgpp*)
15519 lt_prog_compiler_pic_CXX=
15520 ;;
15521 *)
15522 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15523 ;;
15524 esac
15525
15526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15527 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15528 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15529 $as_echo_n "(cached) " >&6
15530 else
15531 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15532 fi
15533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15534 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15535 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15536
15537 #
15538 # Check to make sure the PIC flag actually works.
15539 #
15540 if test -n "$lt_prog_compiler_pic_CXX"; then
15541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15542 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15543 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15544 $as_echo_n "(cached) " >&6
15545 else
15546 lt_cv_prog_compiler_pic_works_CXX=no
15547 ac_outfile=conftest.$ac_objext
15548 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15549 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
15550 # Insert the option either (1) after the last *FLAGS variable, or
15551 # (2) before a word containing "conftest.", or (3) at the end.
15552 # Note that $ac_compile itself does not contain backslashes and begins
15553 # with a dollar sign (not a hyphen), so the echo should work correctly.
15554 # The option is referenced via a variable to avoid confusing sed.
15555 lt_compile=`echo "$ac_compile" | $SED \
15556 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15557 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15558 -e 's:$: $lt_compiler_flag:'`
15559 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15560 (eval "$lt_compile" 2>conftest.err)
15561 ac_status=$?
15562 cat conftest.err >&5
15563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15564 if (exit $ac_status) && test -s "$ac_outfile"; then
15565 # The compiler can only warn and ignore the option if not recognized
15566 # So say no if there are warnings other than the usual output.
15567 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15568 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15569 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15570 lt_cv_prog_compiler_pic_works_CXX=yes
15571 fi
15572 fi
15573 $RM conftest*
15574
15575 fi
15576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15577 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15578
15579 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
15580 case $lt_prog_compiler_pic_CXX in
15581 "" | " "*) ;;
15582 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15583 esac
15584 else
15585 lt_prog_compiler_pic_CXX=
15586 lt_prog_compiler_can_build_shared_CXX=no
15587 fi
15588
15589 fi
15590
15591
15592
15593
15594
15595 #
15596 # Check to make sure the static flag actually works.
15597 #
15598 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15600 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15601 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15602 $as_echo_n "(cached) " >&6
15603 else
15604 lt_cv_prog_compiler_static_works_CXX=no
15605 save_LDFLAGS=$LDFLAGS
15606 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15607 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15608 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15609 # The linker can only warn and ignore the option if not recognized
15610 # So say no if there are warnings
15611 if test -s conftest.err; then
15612 # Append any errors to the config.log.
15613 cat conftest.err 1>&5
15614 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15615 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15616 if diff conftest.exp conftest.er2 >/dev/null; then
15617 lt_cv_prog_compiler_static_works_CXX=yes
15618 fi
15619 else
15620 lt_cv_prog_compiler_static_works_CXX=yes
15621 fi
15622 fi
15623 $RM -r conftest*
15624 LDFLAGS=$save_LDFLAGS
15625
15626 fi
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15628 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15629
15630 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
15631 :
15632 else
15633 lt_prog_compiler_static_CXX=
15634 fi
15635
15636
15637
15638
15639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15640 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15641 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15642 $as_echo_n "(cached) " >&6
15643 else
15644 lt_cv_prog_compiler_c_o_CXX=no
15645 $RM -r conftest 2>/dev/null
15646 mkdir conftest
15647 cd conftest
15648 mkdir out
15649 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15650
15651 lt_compiler_flag="-o out/conftest2.$ac_objext"
15652 # Insert the option either (1) after the last *FLAGS variable, or
15653 # (2) before a word containing "conftest.", or (3) at the end.
15654 # Note that $ac_compile itself does not contain backslashes and begins
15655 # with a dollar sign (not a hyphen), so the echo should work correctly.
15656 lt_compile=`echo "$ac_compile" | $SED \
15657 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15658 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15659 -e 's:$: $lt_compiler_flag:'`
15660 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15661 (eval "$lt_compile" 2>out/conftest.err)
15662 ac_status=$?
15663 cat out/conftest.err >&5
15664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15666 then
15667 # The compiler can only warn and ignore the option if not recognized
15668 # So say no if there are warnings
15669 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15670 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15671 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15672 lt_cv_prog_compiler_c_o_CXX=yes
15673 fi
15674 fi
15675 chmod u+w . 2>&5
15676 $RM conftest*
15677 # SGI C++ compiler will create directory out/ii_files/ for
15678 # template instantiation
15679 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15680 $RM out/* && rmdir out
15681 cd ..
15682 $RM -r conftest
15683 $RM conftest*
15684
15685 fi
15686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15687 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15688
15689
15690
15691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15692 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15693 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15694 $as_echo_n "(cached) " >&6
15695 else
15696 lt_cv_prog_compiler_c_o_CXX=no
15697 $RM -r conftest 2>/dev/null
15698 mkdir conftest
15699 cd conftest
15700 mkdir out
15701 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15702
15703 lt_compiler_flag="-o out/conftest2.$ac_objext"
15704 # Insert the option either (1) after the last *FLAGS variable, or
15705 # (2) before a word containing "conftest.", or (3) at the end.
15706 # Note that $ac_compile itself does not contain backslashes and begins
15707 # with a dollar sign (not a hyphen), so the echo should work correctly.
15708 lt_compile=`echo "$ac_compile" | $SED \
15709 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15710 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15711 -e 's:$: $lt_compiler_flag:'`
15712 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15713 (eval "$lt_compile" 2>out/conftest.err)
15714 ac_status=$?
15715 cat out/conftest.err >&5
15716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15717 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15718 then
15719 # The compiler can only warn and ignore the option if not recognized
15720 # So say no if there are warnings
15721 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15722 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15723 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15724 lt_cv_prog_compiler_c_o_CXX=yes
15725 fi
15726 fi
15727 chmod u+w . 2>&5
15728 $RM conftest*
15729 # SGI C++ compiler will create directory out/ii_files/ for
15730 # template instantiation
15731 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15732 $RM out/* && rmdir out
15733 cd ..
15734 $RM -r conftest
15735 $RM conftest*
15736
15737 fi
15738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15739 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15740
15741
15742
15743
15744 hard_links=nottested
15745 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
15746 # do not overwrite the value of need_locks provided by the user
15747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15748 $as_echo_n "checking if we can lock with hard links... " >&6; }
15749 hard_links=yes
15750 $RM conftest*
15751 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15752 touch conftest.a
15753 ln conftest.a conftest.b 2>&5 || hard_links=no
15754 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15756 $as_echo "$hard_links" >&6; }
15757 if test no = "$hard_links"; then
15758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
15759 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
15760 need_locks=warn
15761 fi
15762 else
15763 need_locks=no
15764 fi
15765
15766
15767
15768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15769 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15770
15771 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15772 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15773 case $host_os in
15774 aix[4-9]*)
15775 # If we're using GNU nm, then we don't want the "-C" option.
15776 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
15777 # Without the "-l" option, or with the "-B" option, AIX nm treats
15778 # weak defined symbols like other global defined symbols, whereas
15779 # GNU nm marks them as "W".
15780 # While the 'weak' keyword is ignored in the Export File, we need
15781 # it in the Import File for the 'aix-soname' feature, so we have
15782 # to replace the "-B" option with "-P" for AIX nm.
15783 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15784 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'
15785 else
15786 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 == "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'
15787 fi
15788 ;;
15789 pw32*)
15790 export_symbols_cmds_CXX=$ltdll_cmds
15791 ;;
15792 cygwin* | mingw* | cegcc*)
15793 case $cc_basename in
15794 cl*)
15795 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15796 ;;
15797 *)
15798 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'
15799 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15800 ;;
15801 esac
15802 ;;
15803 *)
15804 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15805 ;;
15806 esac
15807
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15809 $as_echo "$ld_shlibs_CXX" >&6; }
15810 test no = "$ld_shlibs_CXX" && can_build_shared=no
15811
15812 with_gnu_ld_CXX=$with_gnu_ld
15813
15814
15815
15816
15817
15818
15819 #
15820 # Do we need to explicitly link libc?
15821 #
15822 case "x$archive_cmds_need_lc_CXX" in
15823 x|xyes)
15824 # Assume -lc should be added
15825 archive_cmds_need_lc_CXX=yes
15826
15827 if test yes,yes = "$GCC,$enable_shared"; then
15828 case $archive_cmds_CXX in
15829 *'~'*)
15830 # FIXME: we may have to deal with multi-command sequences.
15831 ;;
15832 '$CC '*)
15833 # Test whether the compiler implicitly links with -lc since on some
15834 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15835 # to ld, don't add -lc before -lgcc.
15836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15837 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15838 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15839 $as_echo_n "(cached) " >&6
15840 else
15841 $RM conftest*
15842 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15843
15844 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15845 (eval $ac_compile) 2>&5
15846 ac_status=$?
15847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15848 test $ac_status = 0; } 2>conftest.err; then
15849 soname=conftest
15850 lib=conftest
15851 libobjs=conftest.$ac_objext
15852 deplibs=
15853 wl=$lt_prog_compiler_wl_CXX
15854 pic_flag=$lt_prog_compiler_pic_CXX
15855 compiler_flags=-v
15856 linker_flags=-v
15857 verstring=
15858 output_objdir=.
15859 libname=conftest
15860 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15861 allow_undefined_flag_CXX=
15862 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15863 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15864 ac_status=$?
15865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15866 test $ac_status = 0; }
15867 then
15868 lt_cv_archive_cmds_need_lc_CXX=no
15869 else
15870 lt_cv_archive_cmds_need_lc_CXX=yes
15871 fi
15872 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15873 else
15874 cat conftest.err 1>&5
15875 fi
15876 $RM conftest*
15877
15878 fi
15879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15880 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15881 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15882 ;;
15883 esac
15884 fi
15885 ;;
15886 esac
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
15897
15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919
15920
15921
15922
15923
15924
15925
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15950 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15951
15952 library_names_spec=
15953 libname_spec='lib$name'
15954 soname_spec=
15955 shrext_cmds=.so
15956 postinstall_cmds=
15957 postuninstall_cmds=
15958 finish_cmds=
15959 finish_eval=
15960 shlibpath_var=
15961 shlibpath_overrides_runpath=unknown
15962 version_type=none
15963 dynamic_linker="$host_os ld.so"
15964 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15965 need_lib_prefix=unknown
15966 hardcode_into_libs=no
15967
15968 # when you set need_version to no, make sure it does not cause -set_version
15969 # flags to be left without arguments
15970 need_version=unknown
15971
15972
15973
15974 case $host_os in
15975 aix3*)
15976 version_type=linux # correct to gnu/linux during the next big refactor
15977 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
15978 shlibpath_var=LIBPATH
15979
15980 # AIX 3 has no versioning support, so we append a major version to the name.
15981 soname_spec='$libname$release$shared_ext$major'
15982 ;;
15983
15984 aix[4-9]*)
15985 version_type=linux # correct to gnu/linux during the next big refactor
15986 need_lib_prefix=no
15987 need_version=no
15988 hardcode_into_libs=yes
15989 if test ia64 = "$host_cpu"; then
15990 # AIX 5 supports IA64
15991 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
15992 shlibpath_var=LD_LIBRARY_PATH
15993 else
15994 # With GCC up to 2.95.x, collect2 would create an import file
15995 # for dependence libraries. The import file would start with
15996 # the line '#! .'. This would cause the generated library to
15997 # depend on '.', always an invalid library. This was fixed in
15998 # development snapshots of GCC prior to 3.0.
15999 case $host_os in
16000 aix4 | aix4.[01] | aix4.[01].*)
16001 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16002 echo ' yes '
16003 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
16004 :
16005 else
16006 can_build_shared=no
16007 fi
16008 ;;
16009 esac
16010 # Using Import Files as archive members, it is possible to support
16011 # filename-based versioning of shared library archives on AIX. While
16012 # this would work for both with and without runtime linking, it will
16013 # prevent static linking of such archives. So we do filename-based
16014 # shared library versioning with .so extension only, which is used
16015 # when both runtime linking and shared linking is enabled.
16016 # Unfortunately, runtime linking may impact performance, so we do
16017 # not want this to be the default eventually. Also, we use the
16018 # versioned .so libs for executables only if there is the -brtl
16019 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
16020 # To allow for filename-based versioning support, we need to create
16021 # libNAME.so.V as an archive file, containing:
16022 # *) an Import File, referring to the versioned filename of the
16023 # archive as well as the shared archive member, telling the
16024 # bitwidth (32 or 64) of that shared object, and providing the
16025 # list of exported symbols of that shared object, eventually
16026 # decorated with the 'weak' keyword
16027 # *) the shared object with the F_LOADONLY flag set, to really avoid
16028 # it being seen by the linker.
16029 # At run time we better use the real file rather than another symlink,
16030 # but for link time we create the symlink libNAME.so -> libNAME.so.V
16031
16032 case $with_aix_soname,$aix_use_runtimelinking in
16033 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
16034 # soname into executable. Probably we can add versioning support to
16035 # collect2, so additional links can be useful in future.
16036 aix,yes) # traditional libtool
16037 dynamic_linker='AIX unversionable lib.so'
16038 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16039 # instead of lib<name>.a to let people know that these are not
16040 # typical AIX shared libraries.
16041 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16042 ;;
16043 aix,no) # traditional AIX only
16044 dynamic_linker='AIX lib.a(lib.so.V)'
16045 # We preserve .a as extension for shared libraries through AIX4.2
16046 # and later when we are not doing run time linking.
16047 library_names_spec='$libname$release.a $libname.a'
16048 soname_spec='$libname$release$shared_ext$major'
16049 ;;
16050 svr4,*) # full svr4 only
16051 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
16052 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16053 # We do not specify a path in Import Files, so LIBPATH fires.
16054 shlibpath_overrides_runpath=yes
16055 ;;
16056 *,yes) # both, prefer svr4
16057 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
16058 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16059 # unpreferred sharedlib libNAME.a needs extra handling
16060 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"'
16061 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"'
16062 # We do not specify a path in Import Files, so LIBPATH fires.
16063 shlibpath_overrides_runpath=yes
16064 ;;
16065 *,no) # both, prefer aix
16066 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
16067 library_names_spec='$libname$release.a $libname.a'
16068 soname_spec='$libname$release$shared_ext$major'
16069 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
16070 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)'
16071 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"'
16072 ;;
16073 esac
16074 shlibpath_var=LIBPATH
16075 fi
16076 ;;
16077
16078 amigaos*)
16079 case $host_cpu in
16080 powerpc)
16081 # Since July 2007 AmigaOS4 officially supports .so libraries.
16082 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16083 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16084 ;;
16085 m68k)
16086 library_names_spec='$libname.ixlibrary $libname.a'
16087 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16088 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'
16089 ;;
16090 esac
16091 ;;
16092
16093 beos*)
16094 library_names_spec='$libname$shared_ext'
16095 dynamic_linker="$host_os ld.so"
16096 shlibpath_var=LIBRARY_PATH
16097 ;;
16098
16099 bsdi[45]*)
16100 version_type=linux # correct to gnu/linux during the next big refactor
16101 need_version=no
16102 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16103 soname_spec='$libname$release$shared_ext$major'
16104 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16105 shlibpath_var=LD_LIBRARY_PATH
16106 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16107 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16108 # the default ld.so.conf also contains /usr/contrib/lib and
16109 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16110 # libtool to hard-code these into programs
16111 ;;
16112
16113 cygwin* | mingw* | pw32* | cegcc*)
16114 version_type=windows
16115 shrext_cmds=.dll
16116 need_version=no
16117 need_lib_prefix=no
16118
16119 case $GCC,$cc_basename in
16120 yes,*)
16121 # gcc
16122 library_names_spec='$libname.dll.a'
16123 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16124 postinstall_cmds='base_file=`basename \$file`~
16125 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16126 dldir=$destdir/`dirname \$dlpath`~
16127 test -d \$dldir || mkdir -p \$dldir~
16128 $install_prog $dir/$dlname \$dldir/$dlname~
16129 chmod a+x \$dldir/$dlname~
16130 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16131 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16132 fi'
16133 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16134 dlpath=$dir/\$dldll~
16135 $RM \$dlpath'
16136 shlibpath_overrides_runpath=yes
16137
16138 case $host_os in
16139 cygwin*)
16140 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16141 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16142
16143 ;;
16144 mingw* | cegcc*)
16145 # MinGW DLLs use traditional 'lib' prefix
16146 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16147 ;;
16148 pw32*)
16149 # pw32 DLLs use 'pw' prefix rather than 'lib'
16150 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16151 ;;
16152 esac
16153 dynamic_linker='Win32 ld.exe'
16154 ;;
16155
16156 *,cl*)
16157 # Native MSVC
16158 libname_spec='$name'
16159 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16160 library_names_spec='$libname.dll.lib'
16161
16162 case $build_os in
16163 mingw*)
16164 sys_lib_search_path_spec=
16165 lt_save_ifs=$IFS
16166 IFS=';'
16167 for lt_path in $LIB
16168 do
16169 IFS=$lt_save_ifs
16170 # Let DOS variable expansion print the short 8.3 style file name.
16171 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16172 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16173 done
16174 IFS=$lt_save_ifs
16175 # Convert to MSYS style.
16176 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16177 ;;
16178 cygwin*)
16179 # Convert to unix form, then to dos form, then back to unix form
16180 # but this time dos style (no spaces!) so that the unix form looks
16181 # like /cygdrive/c/PROGRA~1:/cygdr...
16182 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16183 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16184 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16185 ;;
16186 *)
16187 sys_lib_search_path_spec=$LIB
16188 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16189 # It is most probably a Windows format PATH.
16190 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16191 else
16192 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16193 fi
16194 # FIXME: find the short name or the path components, as spaces are
16195 # common. (e.g. "Program Files" -> "PROGRA~1")
16196 ;;
16197 esac
16198
16199 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16200 postinstall_cmds='base_file=`basename \$file`~
16201 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16202 dldir=$destdir/`dirname \$dlpath`~
16203 test -d \$dldir || mkdir -p \$dldir~
16204 $install_prog $dir/$dlname \$dldir/$dlname'
16205 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16206 dlpath=$dir/\$dldll~
16207 $RM \$dlpath'
16208 shlibpath_overrides_runpath=yes
16209 dynamic_linker='Win32 link.exe'
16210 ;;
16211
16212 *)
16213 # Assume MSVC wrapper
16214 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
16215 dynamic_linker='Win32 ld.exe'
16216 ;;
16217 esac
16218 # FIXME: first we should search . and the directory the executable is in
16219 shlibpath_var=PATH
16220 ;;
16221
16222 darwin* | rhapsody*)
16223 dynamic_linker="$host_os dyld"
16224 version_type=darwin
16225 need_lib_prefix=no
16226 need_version=no
16227 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
16228 soname_spec='$libname$release$major$shared_ext'
16229 shlibpath_overrides_runpath=yes
16230 shlibpath_var=DYLD_LIBRARY_PATH
16231 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16232
16233 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16234 ;;
16235
16236 dgux*)
16237 version_type=linux # correct to gnu/linux during the next big refactor
16238 need_lib_prefix=no
16239 need_version=no
16240 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16241 soname_spec='$libname$release$shared_ext$major'
16242 shlibpath_var=LD_LIBRARY_PATH
16243 ;;
16244
16245 freebsd* | dragonfly*)
16246 # DragonFly does not have aout. When/if they implement a new
16247 # versioning mechanism, adjust this.
16248 if test -x /usr/bin/objformat; then
16249 objformat=`/usr/bin/objformat`
16250 else
16251 case $host_os in
16252 freebsd[23].*) objformat=aout ;;
16253 *) objformat=elf ;;
16254 esac
16255 fi
16256 version_type=freebsd-$objformat
16257 case $version_type in
16258 freebsd-elf*)
16259 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16260 soname_spec='$libname$release$shared_ext$major'
16261 need_version=no
16262 need_lib_prefix=no
16263 ;;
16264 freebsd-*)
16265 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16266 need_version=yes
16267 ;;
16268 esac
16269 shlibpath_var=LD_LIBRARY_PATH
16270 case $host_os in
16271 freebsd2.*)
16272 shlibpath_overrides_runpath=yes
16273 ;;
16274 freebsd3.[01]* | freebsdelf3.[01]*)
16275 shlibpath_overrides_runpath=yes
16276 hardcode_into_libs=yes
16277 ;;
16278 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16279 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16280 shlibpath_overrides_runpath=no
16281 hardcode_into_libs=yes
16282 ;;
16283 *) # from 4.6 on, and DragonFly
16284 shlibpath_overrides_runpath=yes
16285 hardcode_into_libs=yes
16286 ;;
16287 esac
16288 ;;
16289
16290 haiku*)
16291 version_type=linux # correct to gnu/linux during the next big refactor
16292 need_lib_prefix=no
16293 need_version=no
16294 dynamic_linker="$host_os runtime_loader"
16295 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16296 soname_spec='$libname$release$shared_ext$major'
16297 shlibpath_var=LIBRARY_PATH
16298 shlibpath_overrides_runpath=no
16299 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16300 hardcode_into_libs=yes
16301 ;;
16302
16303 hpux9* | hpux10* | hpux11*)
16304 # Give a soname corresponding to the major version so that dld.sl refuses to
16305 # link against other versions.
16306 version_type=sunos
16307 need_lib_prefix=no
16308 need_version=no
16309 case $host_cpu in
16310 ia64*)
16311 shrext_cmds='.so'
16312 hardcode_into_libs=yes
16313 dynamic_linker="$host_os dld.so"
16314 shlibpath_var=LD_LIBRARY_PATH
16315 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16316 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16317 soname_spec='$libname$release$shared_ext$major'
16318 if test 32 = "$HPUX_IA64_MODE"; then
16319 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16320 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
16321 else
16322 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16323 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
16324 fi
16325 ;;
16326 hppa*64*)
16327 shrext_cmds='.sl'
16328 hardcode_into_libs=yes
16329 dynamic_linker="$host_os dld.sl"
16330 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16331 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16332 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16333 soname_spec='$libname$release$shared_ext$major'
16334 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16335 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16336 ;;
16337 *)
16338 shrext_cmds='.sl'
16339 dynamic_linker="$host_os dld.sl"
16340 shlibpath_var=SHLIB_PATH
16341 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16342 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16343 soname_spec='$libname$release$shared_ext$major'
16344 ;;
16345 esac
16346 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16347 postinstall_cmds='chmod 555 $lib'
16348 # or fails outright, so override atomically:
16349 install_override_mode=555
16350 ;;
16351
16352 interix[3-9]*)
16353 version_type=linux # correct to gnu/linux during the next big refactor
16354 need_lib_prefix=no
16355 need_version=no
16356 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16357 soname_spec='$libname$release$shared_ext$major'
16358 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16359 shlibpath_var=LD_LIBRARY_PATH
16360 shlibpath_overrides_runpath=no
16361 hardcode_into_libs=yes
16362 ;;
16363
16364 irix5* | irix6* | nonstopux*)
16365 case $host_os in
16366 nonstopux*) version_type=nonstopux ;;
16367 *)
16368 if test yes = "$lt_cv_prog_gnu_ld"; then
16369 version_type=linux # correct to gnu/linux during the next big refactor
16370 else
16371 version_type=irix
16372 fi ;;
16373 esac
16374 need_lib_prefix=no
16375 need_version=no
16376 soname_spec='$libname$release$shared_ext$major'
16377 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16378 case $host_os in
16379 irix5* | nonstopux*)
16380 libsuff= shlibsuff=
16381 ;;
16382 *)
16383 case $LD in # libtool.m4 will add one of these switches to LD
16384 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16385 libsuff= shlibsuff= libmagic=32-bit;;
16386 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16387 libsuff=32 shlibsuff=N32 libmagic=N32;;
16388 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16389 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16390 *) libsuff= shlibsuff= libmagic=never-match;;
16391 esac
16392 ;;
16393 esac
16394 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16395 shlibpath_overrides_runpath=no
16396 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16397 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
16398 hardcode_into_libs=yes
16399 ;;
16400
16401 # No shared lib support for Linux oldld, aout, or coff.
16402 linux*oldld* | linux*aout* | linux*coff*)
16403 dynamic_linker=no
16404 ;;
16405
16406 linux*android*)
16407 version_type=none # Android doesn't support versioned libraries.
16408 need_lib_prefix=no
16409 need_version=no
16410 library_names_spec='$libname$release$shared_ext'
16411 soname_spec='$libname$release$shared_ext'
16412 finish_cmds=
16413 shlibpath_var=LD_LIBRARY_PATH
16414 shlibpath_overrides_runpath=yes
16415
16416 # This implies no fast_install, which is unacceptable.
16417 # Some rework will be needed to allow for fast_install
16418 # before this can be enabled.
16419 hardcode_into_libs=yes
16420
16421 dynamic_linker='Android linker'
16422 # Don't embed -rpath directories since the linker doesn't support them.
16423 hardcode_libdir_flag_spec_CXX='-L$libdir'
16424 ;;
16425
16426 # This must be glibc/ELF.
16427 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16428 version_type=linux # correct to gnu/linux during the next big refactor
16429 need_lib_prefix=no
16430 need_version=no
16431 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16432 soname_spec='$libname$release$shared_ext$major'
16433 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16434 shlibpath_var=LD_LIBRARY_PATH
16435 shlibpath_overrides_runpath=no
16436
16437 # Some binutils ld are patched to set DT_RUNPATH
16438 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16439 $as_echo_n "(cached) " >&6
16440 else
16441 lt_cv_shlibpath_overrides_runpath=no
16442 save_LDFLAGS=$LDFLAGS
16443 save_libdir=$libdir
16444 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16445 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16447 /* end confdefs.h. */
16448
16449 int
16450 main ()
16451 {
16452
16453 ;
16454 return 0;
16455 }
16456 _ACEOF
16457 if ac_fn_cxx_try_link "$LINENO"; then :
16458 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16459 lt_cv_shlibpath_overrides_runpath=yes
16460 fi
16461 fi
16462 rm -f core conftest.err conftest.$ac_objext \
16463 conftest$ac_exeext conftest.$ac_ext
16464 LDFLAGS=$save_LDFLAGS
16465 libdir=$save_libdir
16466
16467 fi
16468
16469 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16470
16471 # This implies no fast_install, which is unacceptable.
16472 # Some rework will be needed to allow for fast_install
16473 # before this can be enabled.
16474 hardcode_into_libs=yes
16475
16476 # Add ABI-specific directories to the system library path.
16477 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
16478
16479 # Ideally, we could use ldconfig to report *all* directores which are
16480 # searched for libraries, however this is still not possible. Aside from not
16481 # being certain /sbin/ldconfig is available, command
16482 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16483 # even though it is searched at run-time. Try to do the best guess by
16484 # appending ld.so.conf contents (and includes) to the search path.
16485 if test -f /etc/ld.so.conf; then
16486 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' ' '`
16487 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
16488 fi
16489
16490 # We used to test for /lib/ld.so.1 and disable shared libraries on
16491 # powerpc, because MkLinux only supported shared libraries with the
16492 # GNU dynamic linker. Since this was broken with cross compilers,
16493 # most powerpc-linux boxes support dynamic linking these days and
16494 # people can always --disable-shared, the test was removed, and we
16495 # assume the GNU/Linux dynamic linker is in use.
16496 dynamic_linker='GNU/Linux ld.so'
16497 ;;
16498
16499 netbsd*)
16500 version_type=sunos
16501 need_lib_prefix=no
16502 need_version=no
16503 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16504 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16505 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16506 dynamic_linker='NetBSD (a.out) ld.so'
16507 else
16508 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16509 soname_spec='$libname$release$shared_ext$major'
16510 dynamic_linker='NetBSD ld.elf_so'
16511 fi
16512 shlibpath_var=LD_LIBRARY_PATH
16513 shlibpath_overrides_runpath=yes
16514 hardcode_into_libs=yes
16515 ;;
16516
16517 newsos6)
16518 version_type=linux # correct to gnu/linux during the next big refactor
16519 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16520 shlibpath_var=LD_LIBRARY_PATH
16521 shlibpath_overrides_runpath=yes
16522 ;;
16523
16524 *nto* | *qnx*)
16525 version_type=qnx
16526 need_lib_prefix=no
16527 need_version=no
16528 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16529 soname_spec='$libname$release$shared_ext$major'
16530 shlibpath_var=LD_LIBRARY_PATH
16531 shlibpath_overrides_runpath=no
16532 hardcode_into_libs=yes
16533 dynamic_linker='ldqnx.so'
16534 ;;
16535
16536 openbsd* | bitrig*)
16537 version_type=sunos
16538 sys_lib_dlsearch_path_spec=/usr/lib
16539 need_lib_prefix=no
16540 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16541 need_version=no
16542 else
16543 need_version=yes
16544 fi
16545 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16546 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16547 shlibpath_var=LD_LIBRARY_PATH
16548 shlibpath_overrides_runpath=yes
16549 ;;
16550
16551 os2*)
16552 libname_spec='$name'
16553 version_type=windows
16554 shrext_cmds=.dll
16555 need_version=no
16556 need_lib_prefix=no
16557 # OS/2 can only load a DLL with a base name of 8 characters or less.
16558 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
16559 v=$($ECHO $release$versuffix | tr -d .-);
16560 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16561 $ECHO $n$v`$shared_ext'
16562 library_names_spec='${libname}_dll.$libext'
16563 dynamic_linker='OS/2 ld.exe'
16564 shlibpath_var=BEGINLIBPATH
16565 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16566 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16567 postinstall_cmds='base_file=`basename \$file`~
16568 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16569 dldir=$destdir/`dirname \$dlpath`~
16570 test -d \$dldir || mkdir -p \$dldir~
16571 $install_prog $dir/$dlname \$dldir/$dlname~
16572 chmod a+x \$dldir/$dlname~
16573 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16574 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16575 fi'
16576 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16577 dlpath=$dir/\$dldll~
16578 $RM \$dlpath'
16579 ;;
16580
16581 osf3* | osf4* | osf5*)
16582 version_type=osf
16583 need_lib_prefix=no
16584 need_version=no
16585 soname_spec='$libname$release$shared_ext$major'
16586 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16587 shlibpath_var=LD_LIBRARY_PATH
16588 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16589 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16590 ;;
16591
16592 rdos*)
16593 dynamic_linker=no
16594 ;;
16595
16596 solaris*)
16597 version_type=linux # correct to gnu/linux during the next big refactor
16598 need_lib_prefix=no
16599 need_version=no
16600 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16601 soname_spec='$libname$release$shared_ext$major'
16602 shlibpath_var=LD_LIBRARY_PATH
16603 shlibpath_overrides_runpath=yes
16604 hardcode_into_libs=yes
16605 # ldd complains unless libraries are executable
16606 postinstall_cmds='chmod +x $lib'
16607 ;;
16608
16609 sunos4*)
16610 version_type=sunos
16611 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16612 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16613 shlibpath_var=LD_LIBRARY_PATH
16614 shlibpath_overrides_runpath=yes
16615 if test yes = "$with_gnu_ld"; then
16616 need_lib_prefix=no
16617 fi
16618 need_version=yes
16619 ;;
16620
16621 sysv4 | sysv4.3*)
16622 version_type=linux # correct to gnu/linux during the next big refactor
16623 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16624 soname_spec='$libname$release$shared_ext$major'
16625 shlibpath_var=LD_LIBRARY_PATH
16626 case $host_vendor in
16627 sni)
16628 shlibpath_overrides_runpath=no
16629 need_lib_prefix=no
16630 runpath_var=LD_RUN_PATH
16631 ;;
16632 siemens)
16633 need_lib_prefix=no
16634 ;;
16635 motorola)
16636 need_lib_prefix=no
16637 need_version=no
16638 shlibpath_overrides_runpath=no
16639 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16640 ;;
16641 esac
16642 ;;
16643
16644 sysv4*MP*)
16645 if test -d /usr/nec; then
16646 version_type=linux # correct to gnu/linux during the next big refactor
16647 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16648 soname_spec='$libname$shared_ext.$major'
16649 shlibpath_var=LD_LIBRARY_PATH
16650 fi
16651 ;;
16652
16653 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16654 version_type=sco
16655 need_lib_prefix=no
16656 need_version=no
16657 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16658 soname_spec='$libname$release$shared_ext$major'
16659 shlibpath_var=LD_LIBRARY_PATH
16660 shlibpath_overrides_runpath=yes
16661 hardcode_into_libs=yes
16662 if test yes = "$with_gnu_ld"; then
16663 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16664 else
16665 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16666 case $host_os in
16667 sco3.2v5*)
16668 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16669 ;;
16670 esac
16671 fi
16672 sys_lib_dlsearch_path_spec='/usr/lib'
16673 ;;
16674
16675 tpf*)
16676 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16677 version_type=linux # correct to gnu/linux during the next big refactor
16678 need_lib_prefix=no
16679 need_version=no
16680 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16681 shlibpath_var=LD_LIBRARY_PATH
16682 shlibpath_overrides_runpath=no
16683 hardcode_into_libs=yes
16684 ;;
16685
16686 uts4*)
16687 version_type=linux # correct to gnu/linux during the next big refactor
16688 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16689 soname_spec='$libname$release$shared_ext$major'
16690 shlibpath_var=LD_LIBRARY_PATH
16691 ;;
16692
16693 *)
16694 dynamic_linker=no
16695 ;;
16696 esac
16697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16698 $as_echo "$dynamic_linker" >&6; }
16699 test no = "$dynamic_linker" && can_build_shared=no
16700
16701 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16702 if test yes = "$GCC"; then
16703 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16704 fi
16705
16706 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16707 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
16708 fi
16709
16710 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16711 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
16712 fi
16713
16714 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16715 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
16716
16717 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16718 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
16719
16720 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16721 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
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
16756
16757
16758
16759
16760
16761
16762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16763 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16764 hardcode_action_CXX=
16765 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16766 test -n "$runpath_var_CXX" ||
16767 test yes = "$hardcode_automatic_CXX"; then
16768
16769 # We can hardcode non-existent directories.
16770 if test no != "$hardcode_direct_CXX" &&
16771 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16772 # have to relink, otherwise we might link with an installed library
16773 # when we should be linking with a yet-to-be-installed one
16774 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
16775 test no != "$hardcode_minus_L_CXX"; then
16776 # Linking always hardcodes the temporary library directory.
16777 hardcode_action_CXX=relink
16778 else
16779 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16780 hardcode_action_CXX=immediate
16781 fi
16782 else
16783 # We cannot hardcode anything, or else we can only hardcode existing
16784 # directories.
16785 hardcode_action_CXX=unsupported
16786 fi
16787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16788 $as_echo "$hardcode_action_CXX" >&6; }
16789
16790 if test relink = "$hardcode_action_CXX" ||
16791 test yes = "$inherit_rpath_CXX"; then
16792 # Fast installation is not supported
16793 enable_fast_install=no
16794 elif test yes = "$shlibpath_overrides_runpath" ||
16795 test no = "$enable_shared"; then
16796 # Fast installation is not necessary
16797 enable_fast_install=needless
16798 fi
16799
16800
16801
16802
16803
16804
16805
16806 fi # test -n "$compiler"
16807
16808 CC=$lt_save_CC
16809 CFLAGS=$lt_save_CFLAGS
16810 LDCXX=$LD
16811 LD=$lt_save_LD
16812 GCC=$lt_save_GCC
16813 with_gnu_ld=$lt_save_with_gnu_ld
16814 lt_cv_path_LDCXX=$lt_cv_path_LD
16815 lt_cv_path_LD=$lt_save_path_LD
16816 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16817 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16818 fi # test yes != "$_lt_caught_CXX_error"
16819
16820 ac_ext=c
16821 ac_cpp='$CPP $CPPFLAGS'
16822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16825
16826
16827
16828
16829
16830
16831
16832
16833
16834
16835
16836
16837
16838
16839
16840 ac_config_commands="$ac_config_commands libtool"
16841
16842
16843
16844
16845 # Only expand once:
16846
16847
16848 : ${CONFIG_LT=./config.lt}
16849 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5
16850 $as_echo "$as_me: creating $CONFIG_LT" >&6;}
16851 as_write_fail=0
16852 cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1
16853 #! $SHELL
16854 # Generated by $as_me.
16855 # Run this file to recreate a libtool stub with the current configuration.
16856 SHELL=\${CONFIG_SHELL-$SHELL}
16857 export SHELL
16858 _ASEOF
16859 cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail=1
16860 ## -------------------- ##
16861 ## M4sh Initialization. ##
16862 ## -------------------- ##
16863
16864 # Be more Bourne compatible
16865 DUALCASE=1; export DUALCASE # for MKS sh
16866 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16867 emulate sh
16868 NULLCMD=:
16869 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16870 # is contrary to our usage. Disable this feature.
16871 alias -g '${1+"$@"}'='"$@"'
16872 setopt NO_GLOB_SUBST
16873 else
16874 case `(set -o) 2>/dev/null` in #(
16875 *posix*) :
16876 set -o posix ;; #(
16877 *) :
16878 ;;
16879 esac
16880 fi
16881
16882
16883 as_nl='
16884 '
16885 export as_nl
16886 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16887 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16888 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16889 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16890 # Prefer a ksh shell builtin over an external printf program on Solaris,
16891 # but without wasting forks for bash or zsh.
16892 if test -z "$BASH_VERSION$ZSH_VERSION" \
16893 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16894 as_echo='print -r --'
16895 as_echo_n='print -rn --'
16896 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16897 as_echo='printf %s\n'
16898 as_echo_n='printf %s'
16899 else
16900 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16901 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16902 as_echo_n='/usr/ucb/echo -n'
16903 else
16904 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16905 as_echo_n_body='eval
16906 arg=$1;
16907 case $arg in #(
16908 *"$as_nl"*)
16909 expr "X$arg" : "X\\(.*\\)$as_nl";
16910 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16911 esac;
16912 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16913 '
16914 export as_echo_n_body
16915 as_echo_n='sh -c $as_echo_n_body as_echo'
16916 fi
16917 export as_echo_body
16918 as_echo='sh -c $as_echo_body as_echo'
16919 fi
16920
16921 # The user is always right.
16922 if test "${PATH_SEPARATOR+set}" != set; then
16923 PATH_SEPARATOR=:
16924 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16925 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16926 PATH_SEPARATOR=';'
16927 }
16928 fi
16929
16930
16931 # IFS
16932 # We need space, tab and new line, in precisely that order. Quoting is
16933 # there to prevent editors from complaining about space-tab.
16934 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16935 # splitting by setting IFS to empty value.)
16936 IFS=" "" $as_nl"
16937
16938 # Find who we are. Look in the path if we contain no directory separator.
16939 as_myself=
16940 case $0 in #((
16941 *[\\/]* ) as_myself=$0 ;;
16942 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16943 for as_dir in $PATH
16944 do
16945 IFS=$as_save_IFS
16946 test -z "$as_dir" && as_dir=.
16947 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16948 done
16949 IFS=$as_save_IFS
16950
16951 ;;
16952 esac
16953 # We did not find ourselves, most probably we were run as `sh COMMAND'
16954 # in which case we are not to be found in the path.
16955 if test "x$as_myself" = x; then
16956 as_myself=$0
16957 fi
16958 if test ! -f "$as_myself"; then
16959 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16960 exit 1
16961 fi
16962
16963 # Unset variables that we do not need and which cause bugs (e.g. in
16964 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16965 # suppresses any "Segmentation fault" message there. '((' could
16966 # trigger a bug in pdksh 5.2.14.
16967 for as_var in BASH_ENV ENV MAIL MAILPATH
16968 do eval test x\${$as_var+set} = xset \
16969 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16970 done
16971 PS1='$ '
16972 PS2='> '
16973 PS4='+ '
16974
16975 # NLS nuisances.
16976 LC_ALL=C
16977 export LC_ALL
16978 LANGUAGE=C
16979 export LANGUAGE
16980
16981 # CDPATH.
16982 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16983
16984
16985 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16986 # ----------------------------------------
16987 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16988 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16989 # script with STATUS, using 1 if that was 0.
16990 as_fn_error ()
16991 {
16992 as_status=$1; test $as_status -eq 0 && as_status=1
16993 if test "$4"; then
16994 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16995 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16996 fi
16997 $as_echo "$as_me: error: $2" >&2
16998 as_fn_exit $as_status
16999 } # as_fn_error
17000
17001
17002 # as_fn_set_status STATUS
17003 # -----------------------
17004 # Set $? to STATUS, without forking.
17005 as_fn_set_status ()
17006 {
17007 return $1
17008 } # as_fn_set_status
17009
17010 # as_fn_exit STATUS
17011 # -----------------
17012 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17013 as_fn_exit ()
17014 {
17015 set +e
17016 as_fn_set_status $1
17017 exit $1
17018 } # as_fn_exit
17019
17020 # as_fn_unset VAR
17021 # ---------------
17022 # Portably unset VAR.
17023 as_fn_unset ()
17024 {
17025 { eval $1=; unset $1;}
17026 }
17027 as_unset=as_fn_unset
17028 # as_fn_append VAR VALUE
17029 # ----------------------
17030 # Append the text in VALUE to the end of the definition contained in VAR. Take
17031 # advantage of any shell optimizations that allow amortized linear growth over
17032 # repeated appends, instead of the typical quadratic growth present in naive
17033 # implementations.
17034 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17035 eval 'as_fn_append ()
17036 {
17037 eval $1+=\$2
17038 }'
17039 else
17040 as_fn_append ()
17041 {
17042 eval $1=\$$1\$2
17043 }
17044 fi # as_fn_append
17045
17046 # as_fn_arith ARG...
17047 # ------------------
17048 # Perform arithmetic evaluation on the ARGs, and store the result in the
17049 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17050 # must be portable across $(()) and expr.
17051 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17052 eval 'as_fn_arith ()
17053 {
17054 as_val=$(( $* ))
17055 }'
17056 else
17057 as_fn_arith ()
17058 {
17059 as_val=`expr "$@" || test $? -eq 1`
17060 }
17061 fi # as_fn_arith
17062
17063
17064 if expr a : '\(a\)' >/dev/null 2>&1 &&
17065 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17066 as_expr=expr
17067 else
17068 as_expr=false
17069 fi
17070
17071 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17072 as_basename=basename
17073 else
17074 as_basename=false
17075 fi
17076
17077 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17078 as_dirname=dirname
17079 else
17080 as_dirname=false
17081 fi
17082
17083 as_me=`$as_basename -- "$0" ||
17084 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17085 X"$0" : 'X\(//\)$' \| \
17086 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17087 $as_echo X/"$0" |
17088 sed '/^.*\/\([^/][^/]*\)\/*$/{
17089 s//\1/
17090 q
17091 }
17092 /^X\/\(\/\/\)$/{
17093 s//\1/
17094 q
17095 }
17096 /^X\/\(\/\).*/{
17097 s//\1/
17098 q
17099 }
17100 s/.*/./; q'`
17101
17102 # Avoid depending upon Character Ranges.
17103 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17104 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17105 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17106 as_cr_digits='0123456789'
17107 as_cr_alnum=$as_cr_Letters$as_cr_digits
17108
17109 ECHO_C= ECHO_N= ECHO_T=
17110 case `echo -n x` in #(((((
17111 -n*)
17112 case `echo 'xy\c'` in
17113 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17114 xy) ECHO_C='\c';;
17115 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17116 ECHO_T=' ';;
17117 esac;;
17118 *)
17119 ECHO_N='-n';;
17120 esac
17121
17122 rm -f conf$$ conf$$.exe conf$$.file
17123 if test -d conf$$.dir; then
17124 rm -f conf$$.dir/conf$$.file
17125 else
17126 rm -f conf$$.dir
17127 mkdir conf$$.dir 2>/dev/null
17128 fi
17129 if (echo >conf$$.file) 2>/dev/null; then
17130 if ln -s conf$$.file conf$$ 2>/dev/null; then
17131 as_ln_s='ln -s'
17132 # ... but there are two gotchas:
17133 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17134 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17135 # In both cases, we have to default to `cp -pR'.
17136 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17137 as_ln_s='cp -pR'
17138 elif ln conf$$.file conf$$ 2>/dev/null; then
17139 as_ln_s=ln
17140 else
17141 as_ln_s='cp -pR'
17142 fi
17143 else
17144 as_ln_s='cp -pR'
17145 fi
17146 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17147 rmdir conf$$.dir 2>/dev/null
17148
17149
17150 # as_fn_mkdir_p
17151 # -------------
17152 # Create "$as_dir" as a directory, including parents if necessary.
17153 as_fn_mkdir_p ()
17154 {
17155
17156 case $as_dir in #(
17157 -*) as_dir=./$as_dir;;
17158 esac
17159 test -d "$as_dir" || eval $as_mkdir_p || {
17160 as_dirs=
17161 while :; do
17162 case $as_dir in #(
17163 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17164 *) as_qdir=$as_dir;;
17165 esac
17166 as_dirs="'$as_qdir' $as_dirs"
17167 as_dir=`$as_dirname -- "$as_dir" ||
17168 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17169 X"$as_dir" : 'X\(//\)[^/]' \| \
17170 X"$as_dir" : 'X\(//\)$' \| \
17171 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17172 $as_echo X"$as_dir" |
17173 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17174 s//\1/
17175 q
17176 }
17177 /^X\(\/\/\)[^/].*/{
17178 s//\1/
17179 q
17180 }
17181 /^X\(\/\/\)$/{
17182 s//\1/
17183 q
17184 }
17185 /^X\(\/\).*/{
17186 s//\1/
17187 q
17188 }
17189 s/.*/./; q'`
17190 test -d "$as_dir" && break
17191 done
17192 test -z "$as_dirs" || eval "mkdir $as_dirs"
17193 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17194
17195
17196 } # as_fn_mkdir_p
17197 if mkdir -p . 2>/dev/null; then
17198 as_mkdir_p='mkdir -p "$as_dir"'
17199 else
17200 test -d ./-p && rmdir ./-p
17201 as_mkdir_p=false
17202 fi
17203
17204
17205 # as_fn_executable_p FILE
17206 # -----------------------
17207 # Test if FILE is an executable regular file.
17208 as_fn_executable_p ()
17209 {
17210 test -f "$1" && test -x "$1"
17211 } # as_fn_executable_p
17212 as_test_x='test -x'
17213 as_executable_p=as_fn_executable_p
17214
17215 # Sed expression to map a string onto a valid CPP name.
17216 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17217
17218 # Sed expression to map a string onto a valid variable name.
17219 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17220
17221
17222 exec 6>&1
17223 ## --------------------------------- ##
17224 ## Main body of "$CONFIG_LT" script. ##
17225 ## --------------------------------- ##
17226 _ASEOF
17227 test $as_write_fail = 0 && chmod +x "$CONFIG_LT"
17228
17229 cat >>"$CONFIG_LT" <<\_LTEOF
17230 lt_cl_silent=false
17231 exec 5>>config.log
17232 {
17233 echo
17234 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17235 ## Running $as_me. ##
17236 _ASBOX
17237 } >&5
17238
17239 lt_cl_help="\
17240 '$as_me' creates a local libtool stub from the current configuration,
17241 for use in further configure time tests before the real libtool is
17242 generated.
17243
17244 Usage: $0 [OPTIONS]
17245
17246 -h, --help print this help, then exit
17247 -V, --version print version number, then exit
17248 -q, --quiet do not print progress messages
17249 -d, --debug don't remove temporary files
17250
17251 Report bugs to <[email protected]>."
17252
17253 lt_cl_version="\
17254 gtk+ config.lt 2.24.33
17255 configured by $0, generated by GNU Autoconf 2.69.
17256
17257 Copyright (C) 2011 Free Software Foundation, Inc.
17258 This config.lt script is free software; the Free Software Foundation
17259 gives unlimited permision to copy, distribute and modify it."
17260
17261 while test 0 != $#
17262 do
17263 case $1 in
17264 --version | --v* | -V )
17265 echo "$lt_cl_version"; exit 0 ;;
17266 --help | --h* | -h )
17267 echo "$lt_cl_help"; exit 0 ;;
17268 --debug | --d* | -d )
17269 debug=: ;;
17270 --quiet | --q* | --silent | --s* | -q )
17271 lt_cl_silent=: ;;
17272
17273 -*) as_fn_error $? "unrecognized option: $1
17274 Try '$0 --help' for more information." "$LINENO" 5 ;;
17275
17276 *) as_fn_error $? "unrecognized argument: $1
17277 Try '$0 --help' for more information." "$LINENO" 5 ;;
17278 esac
17279 shift
17280 done
17281
17282 if $lt_cl_silent; then
17283 exec 6>/dev/null
17284 fi
17285 _LTEOF
17286
17287 cat >>"$CONFIG_LT" <<_LTEOF
17288
17289
17290 # The HP-UX ksh and POSIX shell print the target directory to stdout
17291 # if CDPATH is set.
17292 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17293
17294 sed_quote_subst='$sed_quote_subst'
17295 double_quote_subst='$double_quote_subst'
17296 delay_variable_subst='$delay_variable_subst'
17297 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17298 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
17299 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17300 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17301 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17302 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17303 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17304 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17305 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17306 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
17307 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17308 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17309 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17310 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17311 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17312 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17313 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17314 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17315 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17316 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17317 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17318 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17319 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17320 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17321 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17322 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17323 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17324 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17325 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17326 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17327 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17328 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17329 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17330 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17331 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17332 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17333 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17334 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17335 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17336 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17337 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17338 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17339 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17340 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17341 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17342 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17343 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17344 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17345 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17346 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17347 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17348 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17349 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17350 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17351 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17352 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17353 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17354 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
17355 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17356 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"`'
17357 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
17358 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17359 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17360 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
17361 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17362 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17363 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17364 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17365 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17366 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17367 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17368 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17369 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17370 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17371 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17372 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17373 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17374 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17375 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17376 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17377 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17378 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17379 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17380 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17381 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17382 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17383 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17384 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17385 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17386 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17387 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17388 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17389 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17390 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17391 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17392 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17393 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17394 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17395 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17396 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17397 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17398 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17399 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17400 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17401 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17402 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17403 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17404 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17405 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17406 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17407 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17408 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17409 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17410 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17411 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17412 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17413 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17414 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17415 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17416 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17417 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17418 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17419 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17420 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17421 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17422 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17423 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17424 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17425 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
17426 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
17427 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17428 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17429 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17430 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17431 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17432 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17433 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17434 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17435 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17436 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17437 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17438 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17439 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17440 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17441 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17442 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17443 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17444 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17445 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17446 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17447 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17448 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17449 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17450 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17451 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17452 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17453 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17454 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17455 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17456 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17457 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17458 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17459 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17460 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17461 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17462 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17463 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17464 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17465 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17466 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17467 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17468 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17469 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17470 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17471 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17472 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17473 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17474 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17475 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17476 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17477 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17478 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17479 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17480 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17481 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17482 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17483 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17484 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17485 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17486 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17487
17488 LTCC='$LTCC'
17489 LTCFLAGS='$LTCFLAGS'
17490 compiler='$compiler_DEFAULT'
17491
17492 # A function that is used when there is no print builtin or printf.
17493 func_fallback_echo ()
17494 {
17495 eval 'cat <<_LTECHO_EOF
17496 \$1
17497 _LTECHO_EOF'
17498 }
17499
17500 # Quote evaled strings.
17501 for var in AS \
17502 DLLTOOL \
17503 OBJDUMP \
17504 SHELL \
17505 ECHO \
17506 PATH_SEPARATOR \
17507 SED \
17508 GREP \
17509 EGREP \
17510 FGREP \
17511 LD \
17512 NM \
17513 LN_S \
17514 lt_SP2NL \
17515 lt_NL2SP \
17516 reload_flag \
17517 deplibs_check_method \
17518 file_magic_cmd \
17519 file_magic_glob \
17520 want_nocaseglob \
17521 sharedlib_from_linklib_cmd \
17522 AR \
17523 AR_FLAGS \
17524 archiver_list_spec \
17525 STRIP \
17526 RANLIB \
17527 CC \
17528 CFLAGS \
17529 compiler \
17530 lt_cv_sys_global_symbol_pipe \
17531 lt_cv_sys_global_symbol_to_cdecl \
17532 lt_cv_sys_global_symbol_to_import \
17533 lt_cv_sys_global_symbol_to_c_name_address \
17534 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17535 lt_cv_nm_interface \
17536 nm_file_list_spec \
17537 lt_cv_truncate_bin \
17538 lt_prog_compiler_no_builtin_flag \
17539 lt_prog_compiler_pic \
17540 lt_prog_compiler_wl \
17541 lt_prog_compiler_static \
17542 lt_cv_prog_compiler_c_o \
17543 need_locks \
17544 MANIFEST_TOOL \
17545 DSYMUTIL \
17546 NMEDIT \
17547 LIPO \
17548 OTOOL \
17549 OTOOL64 \
17550 shrext_cmds \
17551 export_dynamic_flag_spec \
17552 whole_archive_flag_spec \
17553 compiler_needs_object \
17554 with_gnu_ld \
17555 allow_undefined_flag \
17556 no_undefined_flag \
17557 hardcode_libdir_flag_spec \
17558 hardcode_libdir_separator \
17559 exclude_expsyms \
17560 include_expsyms \
17561 file_list_spec \
17562 variables_saved_for_relink \
17563 libname_spec \
17564 library_names_spec \
17565 soname_spec \
17566 install_override_mode \
17567 finish_eval \
17568 old_striplib \
17569 striplib \
17570 compiler_lib_search_dirs \
17571 predep_objects \
17572 postdep_objects \
17573 predeps \
17574 postdeps \
17575 compiler_lib_search_path \
17576 LD_CXX \
17577 reload_flag_CXX \
17578 compiler_CXX \
17579 lt_prog_compiler_no_builtin_flag_CXX \
17580 lt_prog_compiler_pic_CXX \
17581 lt_prog_compiler_wl_CXX \
17582 lt_prog_compiler_static_CXX \
17583 lt_cv_prog_compiler_c_o_CXX \
17584 export_dynamic_flag_spec_CXX \
17585 whole_archive_flag_spec_CXX \
17586 compiler_needs_object_CXX \
17587 with_gnu_ld_CXX \
17588 allow_undefined_flag_CXX \
17589 no_undefined_flag_CXX \
17590 hardcode_libdir_flag_spec_CXX \
17591 hardcode_libdir_separator_CXX \
17592 exclude_expsyms_CXX \
17593 include_expsyms_CXX \
17594 file_list_spec_CXX \
17595 compiler_lib_search_dirs_CXX \
17596 predep_objects_CXX \
17597 postdep_objects_CXX \
17598 predeps_CXX \
17599 postdeps_CXX \
17600 compiler_lib_search_path_CXX; do
17601 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17602 *[\\\\\\\`\\"\\\$]*)
17603 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17604 ;;
17605 *)
17606 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17607 ;;
17608 esac
17609 done
17610
17611 # Double-quote double-evaled strings.
17612 for var in reload_cmds \
17613 old_postinstall_cmds \
17614 old_postuninstall_cmds \
17615 old_archive_cmds \
17616 extract_expsyms_cmds \
17617 old_archive_from_new_cmds \
17618 old_archive_from_expsyms_cmds \
17619 archive_cmds \
17620 archive_expsym_cmds \
17621 module_cmds \
17622 module_expsym_cmds \
17623 export_symbols_cmds \
17624 prelink_cmds \
17625 postlink_cmds \
17626 postinstall_cmds \
17627 postuninstall_cmds \
17628 finish_cmds \
17629 sys_lib_search_path_spec \
17630 configure_time_dlsearch_path \
17631 configure_time_lt_sys_library_path \
17632 reload_cmds_CXX \
17633 old_archive_cmds_CXX \
17634 old_archive_from_new_cmds_CXX \
17635 old_archive_from_expsyms_cmds_CXX \
17636 archive_cmds_CXX \
17637 archive_expsym_cmds_CXX \
17638 module_cmds_CXX \
17639 module_expsym_cmds_CXX \
17640 export_symbols_cmds_CXX \
17641 prelink_cmds_CXX \
17642 postlink_cmds_CXX; do
17643 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17644 *[\\\\\\\`\\"\\\$]*)
17645 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17646 ;;
17647 *)
17648 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17649 ;;
17650 esac
17651 done
17652
17653 ac_aux_dir='$ac_aux_dir'
17654
17655 # See if we are running on zsh, and set the options that allow our
17656 # commands through without removal of \ escapes INIT.
17657 if test -n "\${ZSH_VERSION+set}"; then
17658 setopt NO_GLOB_SUBST
17659 fi
17660
17661
17662 PACKAGE='$PACKAGE'
17663 VERSION='$VERSION'
17664 RM='$RM'
17665 ofile='$ofile'
17666
17667
17668
17669
17670
17671 _LTEOF
17672
17673 cat >>"$CONFIG_LT" <<\_LTEOF
17674 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
17675 $as_echo "$as_me: creating $ofile" >&6;}
17676
17677
17678 # See if we are running on zsh, and set the options that allow our
17679 # commands through without removal of \ escapes.
17680 if test -n "${ZSH_VERSION+set}"; then
17681 setopt NO_GLOB_SUBST
17682 fi
17683
17684 cfgfile=${ofile}T
17685 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17686 $RM "$cfgfile"
17687
17688 cat <<_LT_EOF >> "$cfgfile"
17689 #! $SHELL
17690 # Generated automatically by $as_me ($PACKAGE) $VERSION
17691 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17692 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17693
17694 # Provide generalized library-building support services.
17695 # Written by Gordon Matzigkeit, 1996
17696
17697 # Copyright (C) 2014 Free Software Foundation, Inc.
17698 # This is free software; see the source for copying conditions. There is NO
17699 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17700
17701 # GNU Libtool is free software; you can redistribute it and/or modify
17702 # it under the terms of the GNU General Public License as published by
17703 # the Free Software Foundation; either version 2 of of the License, or
17704 # (at your option) any later version.
17705 #
17706 # As a special exception to the GNU General Public License, if you
17707 # distribute this file as part of a program or library that is built
17708 # using GNU Libtool, you may include this file under the same
17709 # distribution terms that you use for the rest of that program.
17710 #
17711 # GNU Libtool is distributed in the hope that it will be useful, but
17712 # WITHOUT ANY WARRANTY; without even the implied warranty of
17713 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17714 # GNU General Public License for more details.
17715 #
17716 # You should have received a copy of the GNU General Public License
17717 # along with this program. If not, see <http://www.gnu.org/licenses/>.
17718
17719
17720 # The names of the tagged configurations supported by this script.
17721 available_tags='CXX '
17722
17723 # Configured defaults for sys_lib_dlsearch_path munging.
17724 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
17725
17726 # ### BEGIN LIBTOOL CONFIG
17727
17728 # Whether or not to build static libraries.
17729 build_old_libs=$enable_static
17730
17731 # Assembler program.
17732 AS=$lt_AS
17733
17734 # DLL creation program.
17735 DLLTOOL=$lt_DLLTOOL
17736
17737 # Object dumper program.
17738 OBJDUMP=$lt_OBJDUMP
17739
17740 # Which release of libtool.m4 was used?
17741 macro_version=$macro_version
17742 macro_revision=$macro_revision
17743
17744 # Whether or not to build shared libraries.
17745 build_libtool_libs=$enable_shared
17746
17747 # What type of objects to build.
17748 pic_mode=$pic_mode
17749
17750 # Whether or not to optimize for fast installation.
17751 fast_install=$enable_fast_install
17752
17753 # Shared archive member basename,for filename based shared library versioning on AIX.
17754 shared_archive_member_spec=$shared_archive_member_spec
17755
17756 # Shell to use when invoking shell scripts.
17757 SHELL=$lt_SHELL
17758
17759 # An echo program that protects backslashes.
17760 ECHO=$lt_ECHO
17761
17762 # The PATH separator for the build system.
17763 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17764
17765 # The host system.
17766 host_alias=$host_alias
17767 host=$host
17768 host_os=$host_os
17769
17770 # The build system.
17771 build_alias=$build_alias
17772 build=$build
17773 build_os=$build_os
17774
17775 # A sed program that does not truncate output.
17776 SED=$lt_SED
17777
17778 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17779 Xsed="\$SED -e 1s/^X//"
17780
17781 # A grep program that handles long lines.
17782 GREP=$lt_GREP
17783
17784 # An ERE matcher.
17785 EGREP=$lt_EGREP
17786
17787 # A literal string matcher.
17788 FGREP=$lt_FGREP
17789
17790 # A BSD- or MS-compatible name lister.
17791 NM=$lt_NM
17792
17793 # Whether we need soft or hard links.
17794 LN_S=$lt_LN_S
17795
17796 # What is the maximum length of a command?
17797 max_cmd_len=$max_cmd_len
17798
17799 # Object file suffix (normally "o").
17800 objext=$ac_objext
17801
17802 # Executable file suffix (normally "").
17803 exeext=$exeext
17804
17805 # whether the shell understands "unset".
17806 lt_unset=$lt_unset
17807
17808 # turn spaces into newlines.
17809 SP2NL=$lt_lt_SP2NL
17810
17811 # turn newlines into spaces.
17812 NL2SP=$lt_lt_NL2SP
17813
17814 # convert \$build file names to \$host format.
17815 to_host_file_cmd=$lt_cv_to_host_file_cmd
17816
17817 # convert \$build files to toolchain format.
17818 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17819
17820 # Method to check whether dependent libraries are shared objects.
17821 deplibs_check_method=$lt_deplibs_check_method
17822
17823 # Command to use when deplibs_check_method = "file_magic".
17824 file_magic_cmd=$lt_file_magic_cmd
17825
17826 # How to find potential files when deplibs_check_method = "file_magic".
17827 file_magic_glob=$lt_file_magic_glob
17828
17829 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17830 want_nocaseglob=$lt_want_nocaseglob
17831
17832 # Command to associate shared and link libraries.
17833 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17834
17835 # The archiver.
17836 AR=$lt_AR
17837
17838 # Flags to create an archive.
17839 AR_FLAGS=$lt_AR_FLAGS
17840
17841 # How to feed a file listing to the archiver.
17842 archiver_list_spec=$lt_archiver_list_spec
17843
17844 # A symbol stripping program.
17845 STRIP=$lt_STRIP
17846
17847 # Commands used to install an old-style archive.
17848 RANLIB=$lt_RANLIB
17849 old_postinstall_cmds=$lt_old_postinstall_cmds
17850 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17851
17852 # Whether to use a lock for old archive extraction.
17853 lock_old_archive_extraction=$lock_old_archive_extraction
17854
17855 # A C compiler.
17856 LTCC=$lt_CC
17857
17858 # LTCC compiler flags.
17859 LTCFLAGS=$lt_CFLAGS
17860
17861 # Take the output of nm and produce a listing of raw symbols and C names.
17862 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17863
17864 # Transform the output of nm in a proper C declaration.
17865 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17866
17867 # Transform the output of nm into a list of symbols to manually relocate.
17868 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
17869
17870 # Transform the output of nm in a C name address pair.
17871 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17872
17873 # Transform the output of nm in a C name address pair when lib prefix is needed.
17874 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17875
17876 # The name lister interface.
17877 nm_interface=$lt_lt_cv_nm_interface
17878
17879 # Specify filename containing input files for \$NM.
17880 nm_file_list_spec=$lt_nm_file_list_spec
17881
17882 # The root where to search for dependent libraries,and where our libraries should be installed.
17883 lt_sysroot=$lt_sysroot
17884
17885 # Command to truncate a binary pipe.
17886 lt_truncate_bin=$lt_lt_cv_truncate_bin
17887
17888 # The name of the directory that contains temporary libtool files.
17889 objdir=$objdir
17890
17891 # Used to examine libraries when file_magic_cmd begins with "file".
17892 MAGIC_CMD=$MAGIC_CMD
17893
17894 # Must we lock files when doing compilation?
17895 need_locks=$lt_need_locks
17896
17897 # Manifest tool.
17898 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17899
17900 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17901 DSYMUTIL=$lt_DSYMUTIL
17902
17903 # Tool to change global to local symbols on Mac OS X.
17904 NMEDIT=$lt_NMEDIT
17905
17906 # Tool to manipulate fat objects and archives on Mac OS X.
17907 LIPO=$lt_LIPO
17908
17909 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17910 OTOOL=$lt_OTOOL
17911
17912 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17913 OTOOL64=$lt_OTOOL64
17914
17915 # Old archive suffix (normally "a").
17916 libext=$libext
17917
17918 # Shared library suffix (normally ".so").
17919 shrext_cmds=$lt_shrext_cmds
17920
17921 # The commands to extract the exported symbol list from a shared archive.
17922 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17923
17924 # Variables whose values should be saved in libtool wrapper scripts and
17925 # restored at link time.
17926 variables_saved_for_relink=$lt_variables_saved_for_relink
17927
17928 # Do we need the "lib" prefix for modules?
17929 need_lib_prefix=$need_lib_prefix
17930
17931 # Do we need a version for libraries?
17932 need_version=$need_version
17933
17934 # Library versioning type.
17935 version_type=$version_type
17936
17937 # Shared library runtime path variable.
17938 runpath_var=$runpath_var
17939
17940 # Shared library path variable.
17941 shlibpath_var=$shlibpath_var
17942
17943 # Is shlibpath searched before the hard-coded library search path?
17944 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17945
17946 # Format of library name prefix.
17947 libname_spec=$lt_libname_spec
17948
17949 # List of archive names. First name is the real one, the rest are links.
17950 # The last name is the one that the linker finds with -lNAME
17951 library_names_spec=$lt_library_names_spec
17952
17953 # The coded name of the library, if different from the real name.
17954 soname_spec=$lt_soname_spec
17955
17956 # Permission mode override for installation of shared libraries.
17957 install_override_mode=$lt_install_override_mode
17958
17959 # Command to use after installation of a shared archive.
17960 postinstall_cmds=$lt_postinstall_cmds
17961
17962 # Command to use after uninstallation of a shared archive.
17963 postuninstall_cmds=$lt_postuninstall_cmds
17964
17965 # Commands used to finish a libtool library installation in a directory.
17966 finish_cmds=$lt_finish_cmds
17967
17968 # As "finish_cmds", except a single script fragment to be evaled but
17969 # not shown.
17970 finish_eval=$lt_finish_eval
17971
17972 # Whether we should hardcode library paths into libraries.
17973 hardcode_into_libs=$hardcode_into_libs
17974
17975 # Compile-time system search path for libraries.
17976 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17977
17978 # Detected run-time system search path for libraries.
17979 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
17980
17981 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
17982 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
17983
17984 # Whether dlopen is supported.
17985 dlopen_support=$enable_dlopen
17986
17987 # Whether dlopen of programs is supported.
17988 dlopen_self=$enable_dlopen_self
17989
17990 # Whether dlopen of statically linked programs is supported.
17991 dlopen_self_static=$enable_dlopen_self_static
17992
17993 # Commands to strip libraries.
17994 old_striplib=$lt_old_striplib
17995 striplib=$lt_striplib
17996
17997
17998 # The linker used to build libraries.
17999 LD=$lt_LD
18000
18001 # How to create reloadable object files.
18002 reload_flag=$lt_reload_flag
18003 reload_cmds=$lt_reload_cmds
18004
18005 # Commands used to build an old-style archive.
18006 old_archive_cmds=$lt_old_archive_cmds
18007
18008 # A language specific compiler.
18009 CC=$lt_compiler
18010
18011 # Is the compiler the GNU compiler?
18012 with_gcc=$GCC
18013
18014 # Compiler flag to turn off builtin functions.
18015 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18016
18017 # Additional compiler flags for building library objects.
18018 pic_flag=$lt_lt_prog_compiler_pic
18019
18020 # How to pass a linker flag through the compiler.
18021 wl=$lt_lt_prog_compiler_wl
18022
18023 # Compiler flag to prevent dynamic linking.
18024 link_static_flag=$lt_lt_prog_compiler_static
18025
18026 # Does compiler simultaneously support -c and -o options?
18027 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18028
18029 # Whether or not to add -lc for building shared libraries.
18030 build_libtool_need_lc=$archive_cmds_need_lc
18031
18032 # Whether or not to disallow shared libs when runtime libs are static.
18033 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18034
18035 # Compiler flag to allow reflexive dlopens.
18036 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18037
18038 # Compiler flag to generate shared objects directly from archives.
18039 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18040
18041 # Whether the compiler copes with passing no objects directly.
18042 compiler_needs_object=$lt_compiler_needs_object
18043
18044 # Create an old-style archive from a shared archive.
18045 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18046
18047 # Create a temporary old-style archive to link instead of a shared archive.
18048 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18049
18050 # Commands used to build a shared archive.
18051 archive_cmds=$lt_archive_cmds
18052 archive_expsym_cmds=$lt_archive_expsym_cmds
18053
18054 # Commands used to build a loadable module if different from building
18055 # a shared archive.
18056 module_cmds=$lt_module_cmds
18057 module_expsym_cmds=$lt_module_expsym_cmds
18058
18059 # Whether we are building with GNU ld or not.
18060 with_gnu_ld=$lt_with_gnu_ld
18061
18062 # Flag that allows shared libraries with undefined symbols to be built.
18063 allow_undefined_flag=$lt_allow_undefined_flag
18064
18065 # Flag that enforces no undefined symbols.
18066 no_undefined_flag=$lt_no_undefined_flag
18067
18068 # Flag to hardcode \$libdir into a binary during linking.
18069 # This must work even if \$libdir does not exist
18070 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18071
18072 # Whether we need a single "-rpath" flag with a separated argument.
18073 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18074
18075 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18076 # DIR into the resulting binary.
18077 hardcode_direct=$hardcode_direct
18078
18079 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18080 # DIR into the resulting binary and the resulting library dependency is
18081 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
18082 # library is relocated.
18083 hardcode_direct_absolute=$hardcode_direct_absolute
18084
18085 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18086 # into the resulting binary.
18087 hardcode_minus_L=$hardcode_minus_L
18088
18089 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18090 # into the resulting binary.
18091 hardcode_shlibpath_var=$hardcode_shlibpath_var
18092
18093 # Set to "yes" if building a shared library automatically hardcodes DIR
18094 # into the library and all subsequent libraries and executables linked
18095 # against it.
18096 hardcode_automatic=$hardcode_automatic
18097
18098 # Set to yes if linker adds runtime paths of dependent libraries
18099 # to runtime path list.
18100 inherit_rpath=$inherit_rpath
18101
18102 # Whether libtool must link a program against all its dependency libraries.
18103 link_all_deplibs=$link_all_deplibs
18104
18105 # Set to "yes" if exported symbols are required.
18106 always_export_symbols=$always_export_symbols
18107
18108 # The commands to list exported symbols.
18109 export_symbols_cmds=$lt_export_symbols_cmds
18110
18111 # Symbols that should not be listed in the preloaded symbols.
18112 exclude_expsyms=$lt_exclude_expsyms
18113
18114 # Symbols that must always be exported.
18115 include_expsyms=$lt_include_expsyms
18116
18117 # Commands necessary for linking programs (against libraries) with templates.
18118 prelink_cmds=$lt_prelink_cmds
18119
18120 # Commands necessary for finishing linking programs.
18121 postlink_cmds=$lt_postlink_cmds
18122
18123 # Specify filename containing input files.
18124 file_list_spec=$lt_file_list_spec
18125
18126 # How to hardcode a shared library path into an executable.
18127 hardcode_action=$hardcode_action
18128
18129 # The directories searched by this compiler when creating a shared library.
18130 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18131
18132 # Dependencies to place before and after the objects being linked to
18133 # create a shared library.
18134 predep_objects=$lt_predep_objects
18135 postdep_objects=$lt_postdep_objects
18136 predeps=$lt_predeps
18137 postdeps=$lt_postdeps
18138
18139 # The library search path used internally by the compiler when linking
18140 # a shared library.
18141 compiler_lib_search_path=$lt_compiler_lib_search_path
18142
18143 # ### END LIBTOOL CONFIG
18144
18145 _LT_EOF
18146
18147 cat <<'_LT_EOF' >> "$cfgfile"
18148
18149 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
18150
18151 # func_munge_path_list VARIABLE PATH
18152 # -----------------------------------
18153 # VARIABLE is name of variable containing _space_ separated list of
18154 # directories to be munged by the contents of PATH, which is string
18155 # having a format:
18156 # "DIR[:DIR]:"
18157 # string "DIR[ DIR]" will be prepended to VARIABLE
18158 # ":DIR[:DIR]"
18159 # string "DIR[ DIR]" will be appended to VARIABLE
18160 # "DIRP[:DIRP]::[DIRA:]DIRA"
18161 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
18162 # "DIRA[ DIRA]" will be appended to VARIABLE
18163 # "DIR[:DIR]"
18164 # VARIABLE will be replaced by "DIR[ DIR]"
18165 func_munge_path_list ()
18166 {
18167 case x$2 in
18168 x)
18169 ;;
18170 *:)
18171 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
18172 ;;
18173 x:*)
18174 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
18175 ;;
18176 *::*)
18177 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
18178 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
18179 ;;
18180 *)
18181 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
18182 ;;
18183 esac
18184 }
18185
18186
18187 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
18188 func_cc_basename ()
18189 {
18190 for cc_temp in $*""; do
18191 case $cc_temp in
18192 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18193 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18194 \-*) ;;
18195 *) break;;
18196 esac
18197 done
18198 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
18199 }
18200
18201
18202 # ### END FUNCTIONS SHARED WITH CONFIGURE
18203
18204 _LT_EOF
18205
18206 case $host_os in
18207 aix3*)
18208 cat <<\_LT_EOF >> "$cfgfile"
18209 # AIX sometimes has problems with the GCC collect2 program. For some
18210 # reason, if we set the COLLECT_NAMES environment variable, the problems
18211 # vanish in a puff of smoke.
18212 if test set != "${COLLECT_NAMES+set}"; then
18213 COLLECT_NAMES=
18214 export COLLECT_NAMES
18215 fi
18216 _LT_EOF
18217 ;;
18218 esac
18219
18220
18221 ltmain=$ac_aux_dir/ltmain.sh
18222
18223
18224 # We use sed instead of cat because bash on DJGPP gets confused if
18225 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18226 # text mode, it properly converts lines to CR/LF. This bash problem
18227 # is reportedly fixed, but why not run on old versions too?
18228 sed '$q' "$ltmain" >> "$cfgfile" \
18229 || (rm -f "$cfgfile"; exit 1)
18230
18231 mv -f "$cfgfile" "$ofile" ||
18232 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18233 chmod +x "$ofile"
18234
18235
18236 cat <<_LT_EOF >> "$ofile"
18237
18238 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18239
18240 # The linker used to build libraries.
18241 LD=$lt_LD_CXX
18242
18243 # How to create reloadable object files.
18244 reload_flag=$lt_reload_flag_CXX
18245 reload_cmds=$lt_reload_cmds_CXX
18246
18247 # Commands used to build an old-style archive.
18248 old_archive_cmds=$lt_old_archive_cmds_CXX
18249
18250 # A language specific compiler.
18251 CC=$lt_compiler_CXX
18252
18253 # Is the compiler the GNU compiler?
18254 with_gcc=$GCC_CXX
18255
18256 # Compiler flag to turn off builtin functions.
18257 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18258
18259 # Additional compiler flags for building library objects.
18260 pic_flag=$lt_lt_prog_compiler_pic_CXX
18261
18262 # How to pass a linker flag through the compiler.
18263 wl=$lt_lt_prog_compiler_wl_CXX
18264
18265 # Compiler flag to prevent dynamic linking.
18266 link_static_flag=$lt_lt_prog_compiler_static_CXX
18267
18268 # Does compiler simultaneously support -c and -o options?
18269 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18270
18271 # Whether or not to add -lc for building shared libraries.
18272 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18273
18274 # Whether or not to disallow shared libs when runtime libs are static.
18275 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18276
18277 # Compiler flag to allow reflexive dlopens.
18278 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18279
18280 # Compiler flag to generate shared objects directly from archives.
18281 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18282
18283 # Whether the compiler copes with passing no objects directly.
18284 compiler_needs_object=$lt_compiler_needs_object_CXX
18285
18286 # Create an old-style archive from a shared archive.
18287 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18288
18289 # Create a temporary old-style archive to link instead of a shared archive.
18290 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18291
18292 # Commands used to build a shared archive.
18293 archive_cmds=$lt_archive_cmds_CXX
18294 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18295
18296 # Commands used to build a loadable module if different from building
18297 # a shared archive.
18298 module_cmds=$lt_module_cmds_CXX
18299 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18300
18301 # Whether we are building with GNU ld or not.
18302 with_gnu_ld=$lt_with_gnu_ld_CXX
18303
18304 # Flag that allows shared libraries with undefined symbols to be built.
18305 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18306
18307 # Flag that enforces no undefined symbols.
18308 no_undefined_flag=$lt_no_undefined_flag_CXX
18309
18310 # Flag to hardcode \$libdir into a binary during linking.
18311 # This must work even if \$libdir does not exist
18312 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18313
18314 # Whether we need a single "-rpath" flag with a separated argument.
18315 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18316
18317 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18318 # DIR into the resulting binary.
18319 hardcode_direct=$hardcode_direct_CXX
18320
18321 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18322 # DIR into the resulting binary and the resulting library dependency is
18323 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
18324 # library is relocated.
18325 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18326
18327 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18328 # into the resulting binary.
18329 hardcode_minus_L=$hardcode_minus_L_CXX
18330
18331 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18332 # into the resulting binary.
18333 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18334
18335 # Set to "yes" if building a shared library automatically hardcodes DIR
18336 # into the library and all subsequent libraries and executables linked
18337 # against it.
18338 hardcode_automatic=$hardcode_automatic_CXX
18339
18340 # Set to yes if linker adds runtime paths of dependent libraries
18341 # to runtime path list.
18342 inherit_rpath=$inherit_rpath_CXX
18343
18344 # Whether libtool must link a program against all its dependency libraries.
18345 link_all_deplibs=$link_all_deplibs_CXX
18346
18347 # Set to "yes" if exported symbols are required.
18348 always_export_symbols=$always_export_symbols_CXX
18349
18350 # The commands to list exported symbols.
18351 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18352
18353 # Symbols that should not be listed in the preloaded symbols.
18354 exclude_expsyms=$lt_exclude_expsyms_CXX
18355
18356 # Symbols that must always be exported.
18357 include_expsyms=$lt_include_expsyms_CXX
18358
18359 # Commands necessary for linking programs (against libraries) with templates.
18360 prelink_cmds=$lt_prelink_cmds_CXX
18361
18362 # Commands necessary for finishing linking programs.
18363 postlink_cmds=$lt_postlink_cmds_CXX
18364
18365 # Specify filename containing input files.
18366 file_list_spec=$lt_file_list_spec_CXX
18367
18368 # How to hardcode a shared library path into an executable.
18369 hardcode_action=$hardcode_action_CXX
18370
18371 # The directories searched by this compiler when creating a shared library.
18372 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18373
18374 # Dependencies to place before and after the objects being linked to
18375 # create a shared library.
18376 predep_objects=$lt_predep_objects_CXX
18377 postdep_objects=$lt_postdep_objects_CXX
18378 predeps=$lt_predeps_CXX
18379 postdeps=$lt_postdeps_CXX
18380
18381 # The library search path used internally by the compiler when linking
18382 # a shared library.
18383 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18384
18385 # ### END LIBTOOL TAG CONFIG: CXX
18386 _LT_EOF
18387
18388
18389 as_fn_exit 0
18390 _LTEOF
18391 chmod +x "$CONFIG_LT"
18392
18393 # configure is writing to config.log, but config.lt does its own redirection,
18394 # appending to config.log, which fails on DOS, as config.log is still kept
18395 # open by configure. Here we exec the FD to /dev/null, effectively closing
18396 # config.log, so it can be properly (re)opened and appended to by config.lt.
18397 lt_cl_success=:
18398 test yes = "$silent" &&
18399 lt_config_lt_args="$lt_config_lt_args --quiet"
18400 exec 5>/dev/null
18401 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
18402 exec 5>>config.log
18403 $lt_cl_success || as_fn_exit 1
18404
18405
18406
18407 # Make sure we use 64-bit versions of various file stuff.
18408 # Check whether --enable-largefile was given.
18409 if test "${enable_largefile+set}" = set; then :
18410 enableval=$enable_largefile;
18411 fi
18412
18413 if test "$enable_largefile" != no; then
18414
18415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
18416 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
18417 if ${ac_cv_sys_largefile_CC+:} false; then :
18418 $as_echo_n "(cached) " >&6
18419 else
18420 ac_cv_sys_largefile_CC=no
18421 if test "$GCC" != yes; then
18422 ac_save_CC=$CC
18423 while :; do
18424 # IRIX 6.2 and later do not support large files by default,
18425 # so use the C compiler's -n32 option if that helps.
18426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18427 /* end confdefs.h. */
18428 #include <sys/types.h>
18429 /* Check that off_t can represent 2**63 - 1 correctly.
18430 We can't simply define LARGE_OFF_T to be 9223372036854775807,
18431 since some C++ compilers masquerading as C compilers
18432 incorrectly reject 9223372036854775807. */
18433 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
18434 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
18435 && LARGE_OFF_T % 2147483647 == 1)
18436 ? 1 : -1];
18437 int
18438 main ()
18439 {
18440
18441 ;
18442 return 0;
18443 }
18444 _ACEOF
18445 if ac_fn_c_try_compile "$LINENO"; then :
18446 break
18447 fi
18448 rm -f core conftest.err conftest.$ac_objext
18449 CC="$CC -n32"
18450 if ac_fn_c_try_compile "$LINENO"; then :
18451 ac_cv_sys_largefile_CC=' -n32'; break
18452 fi
18453 rm -f core conftest.err conftest.$ac_objext
18454 break
18455 done
18456 CC=$ac_save_CC
18457 rm -f conftest.$ac_ext
18458 fi
18459 fi
18460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
18461 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
18462 if test "$ac_cv_sys_largefile_CC" != no; then
18463 CC=$CC$ac_cv_sys_largefile_CC
18464 fi
18465
18466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18467 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
18468 if ${ac_cv_sys_file_offset_bits+:} false; then :
18469 $as_echo_n "(cached) " >&6
18470 else
18471 while :; do
18472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18473 /* end confdefs.h. */
18474 #include <sys/types.h>
18475 /* Check that off_t can represent 2**63 - 1 correctly.
18476 We can't simply define LARGE_OFF_T to be 9223372036854775807,
18477 since some C++ compilers masquerading as C compilers
18478 incorrectly reject 9223372036854775807. */
18479 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
18480 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
18481 && LARGE_OFF_T % 2147483647 == 1)
18482 ? 1 : -1];
18483 int
18484 main ()
18485 {
18486
18487 ;
18488 return 0;
18489 }
18490 _ACEOF
18491 if ac_fn_c_try_compile "$LINENO"; then :
18492 ac_cv_sys_file_offset_bits=no; break
18493 fi
18494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18496 /* end confdefs.h. */
18497 #define _FILE_OFFSET_BITS 64
18498 #include <sys/types.h>
18499 /* Check that off_t can represent 2**63 - 1 correctly.
18500 We can't simply define LARGE_OFF_T to be 9223372036854775807,
18501 since some C++ compilers masquerading as C compilers
18502 incorrectly reject 9223372036854775807. */
18503 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
18504 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
18505 && LARGE_OFF_T % 2147483647 == 1)
18506 ? 1 : -1];
18507 int
18508 main ()
18509 {
18510
18511 ;
18512 return 0;
18513 }
18514 _ACEOF
18515 if ac_fn_c_try_compile "$LINENO"; then :
18516 ac_cv_sys_file_offset_bits=64; break
18517 fi
18518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18519 ac_cv_sys_file_offset_bits=unknown
18520 break
18521 done
18522 fi
18523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
18524 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
18525 case $ac_cv_sys_file_offset_bits in #(
18526 no | unknown) ;;
18527 *)
18528 cat >>confdefs.h <<_ACEOF
18529 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18530 _ACEOF
18531 ;;
18532 esac
18533 rm -rf conftest*
18534 if test $ac_cv_sys_file_offset_bits = unknown; then
18535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
18536 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
18537 if ${ac_cv_sys_large_files+:} false; then :
18538 $as_echo_n "(cached) " >&6
18539 else
18540 while :; do
18541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18542 /* end confdefs.h. */
18543 #include <sys/types.h>
18544 /* Check that off_t can represent 2**63 - 1 correctly.
18545 We can't simply define LARGE_OFF_T to be 9223372036854775807,
18546 since some C++ compilers masquerading as C compilers
18547 incorrectly reject 9223372036854775807. */
18548 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
18549 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
18550 && LARGE_OFF_T % 2147483647 == 1)
18551 ? 1 : -1];
18552 int
18553 main ()
18554 {
18555
18556 ;
18557 return 0;
18558 }
18559 _ACEOF
18560 if ac_fn_c_try_compile "$LINENO"; then :
18561 ac_cv_sys_large_files=no; break
18562 fi
18563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18565 /* end confdefs.h. */
18566 #define _LARGE_FILES 1
18567 #include <sys/types.h>
18568 /* Check that off_t can represent 2**63 - 1 correctly.
18569 We can't simply define LARGE_OFF_T to be 9223372036854775807,
18570 since some C++ compilers masquerading as C compilers
18571 incorrectly reject 9223372036854775807. */
18572 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
18573 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
18574 && LARGE_OFF_T % 2147483647 == 1)
18575 ? 1 : -1];
18576 int
18577 main ()
18578 {
18579
18580 ;
18581 return 0;
18582 }
18583 _ACEOF
18584 if ac_fn_c_try_compile "$LINENO"; then :
18585 ac_cv_sys_large_files=1; break
18586 fi
18587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18588 ac_cv_sys_large_files=unknown
18589 break
18590 done
18591 fi
18592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
18593 $as_echo "$ac_cv_sys_large_files" >&6; }
18594 case $ac_cv_sys_large_files in #(
18595 no | unknown) ;;
18596 *)
18597 cat >>confdefs.h <<_ACEOF
18598 #define _LARGE_FILES $ac_cv_sys_large_files
18599 _ACEOF
18600 ;;
18601 esac
18602 rm -rf conftest*
18603 fi
18604
18605
18606 fi
18607
18608
18609 # By default we simply use the C compiler to build assembly code.
18610
18611 test "${CCAS+set}" = set || CCAS=$CC
18612 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
18613
18614
18615
18616 depcc="$CCAS" am_compiler_list=
18617
18618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
18619 $as_echo_n "checking dependency style of $depcc... " >&6; }
18620 if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
18621 $as_echo_n "(cached) " >&6
18622 else
18623 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
18624 # We make a subdir and do the tests there. Otherwise we can end up
18625 # making bogus files that we don't know about and never remove. For
18626 # instance it was reported that on HP-UX the gcc test will end up
18627 # making a dummy file named 'D' -- because '-MD' means "put the output
18628 # in D".
18629 rm -rf conftest.dir
18630 mkdir conftest.dir
18631 # Copy depcomp to subdir because otherwise we won't find it if we're
18632 # using a relative directory.
18633 cp "$am_depcomp" conftest.dir
18634 cd conftest.dir
18635 # We will build objects and dependencies in a subdirectory because
18636 # it helps to detect inapplicable dependency modes. For instance
18637 # both Tru64's cc and ICC support -MD to output dependencies as a
18638 # side effect of compilation, but ICC will put the dependencies in
18639 # the current directory while Tru64 will put them in the object
18640 # directory.
18641 mkdir sub
18642
18643 am_cv_CCAS_dependencies_compiler_type=none
18644 if test "$am_compiler_list" = ""; then
18645 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
18646 fi
18647 am__universal=false
18648
18649
18650 for depmode in $am_compiler_list; do
18651 # Setup a source with many dependencies, because some compilers
18652 # like to wrap large dependency lists on column 80 (with \), and
18653 # we should not choose a depcomp mode which is confused by this.
18654 #
18655 # We need to recreate these files for each test, as the compiler may
18656 # overwrite some of them when testing with obscure command lines.
18657 # This happens at least with the AIX C compiler.
18658 : > sub/conftest.c
18659 for i in 1 2 3 4 5 6; do
18660 echo '#include "conftst'$i'.h"' >> sub/conftest.c
18661 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
18662 # Solaris 10 /bin/sh.
18663 echo '/* dummy */' > sub/conftst$i.h
18664 done
18665 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
18666
18667 # We check with '-c' and '-o' for the sake of the "dashmstdout"
18668 # mode. It turns out that the SunPro C++ compiler does not properly
18669 # handle '-M -o', and we need to detect this. Also, some Intel
18670 # versions had trouble with output in subdirs.
18671 am__obj=sub/conftest.${OBJEXT-o}
18672 am__minus_obj="-o $am__obj"
18673 case $depmode in
18674 gcc)
18675 # This depmode causes a compiler race in universal mode.
18676 test "$am__universal" = false || continue
18677 ;;
18678 nosideeffect)
18679 # After this tag, mechanisms are not by side-effect, so they'll
18680 # only be used when explicitly requested.
18681 if test "x$enable_dependency_tracking" = xyes; then
18682 continue
18683 else
18684 break
18685 fi
18686 ;;
18687 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
18688 # This compiler won't grok '-c -o', but also, the minuso test has
18689 # not run yet. These depmodes are late enough in the game, and
18690 # so weak that their functioning should not be impacted.
18691 am__obj=conftest.${OBJEXT-o}
18692 am__minus_obj=
18693 ;;
18694 none) break ;;
18695 esac
18696 if depmode=$depmode \
18697 source=sub/conftest.c object=$am__obj \
18698 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
18699 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
18700 >/dev/null 2>conftest.err &&
18701 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
18702 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
18703 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
18704 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
18705 # icc doesn't choke on unknown options, it will just issue warnings
18706 # or remarks (even with -Werror). So we grep stderr for any message
18707 # that says an option was ignored or not supported.
18708 # When given -MP, icc 7.0 and 7.1 complain thusly:
18709 # icc: Command line warning: ignoring option '-M'; no argument required
18710 # The diagnosis changed in icc 8.0:
18711 # icc: Command line remark: option '-MP' not supported
18712 if (grep 'ignoring option' conftest.err ||
18713 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
18714 am_cv_CCAS_dependencies_compiler_type=$depmode
18715 break
18716 fi
18717 fi
18718 done
18719
18720 cd ..
18721 rm -rf conftest.dir
18722 else
18723 am_cv_CCAS_dependencies_compiler_type=none
18724 fi
18725
18726 fi
18727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
18728 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
18729 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
18730
18731 if
18732 test "x$enable_dependency_tracking" != xno \
18733 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
18734 am__fastdepCCAS_TRUE=
18735 am__fastdepCCAS_FALSE='#'
18736 else
18737 am__fastdepCCAS_TRUE='#'
18738 am__fastdepCCAS_FALSE=
18739 fi
18740
18741
18742 if test -n "$ac_tool_prefix"; then
18743 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
18744 set dummy ${ac_tool_prefix}nm; ac_word=$2
18745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18746 $as_echo_n "checking for $ac_word... " >&6; }
18747 if ${ac_cv_path_NM+:} false; then :
18748 $as_echo_n "(cached) " >&6
18749 else
18750 case $NM in
18751 [\\/]* | ?:[\\/]*)
18752 ac_cv_path_NM="$NM" # Let the user override the test with a path.
18753 ;;
18754 *)
18755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18756 for as_dir in $PATH
18757 do
18758 IFS=$as_save_IFS
18759 test -z "$as_dir" && as_dir=.
18760 for ac_exec_ext in '' $ac_executable_extensions; do
18761 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18762 ac_cv_path_NM="$as_dir/$ac_word$ac_exec_ext"
18763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18764 break 2
18765 fi
18766 done
18767 done
18768 IFS=$as_save_IFS
18769
18770 ;;
18771 esac
18772 fi
18773 NM=$ac_cv_path_NM
18774 if test -n "$NM"; then
18775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
18776 $as_echo "$NM" >&6; }
18777 else
18778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18779 $as_echo "no" >&6; }
18780 fi
18781
18782
18783 fi
18784 if test -z "$ac_cv_path_NM"; then
18785 ac_pt_NM=$NM
18786 # Extract the first word of "nm", so it can be a program name with args.
18787 set dummy nm; ac_word=$2
18788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18789 $as_echo_n "checking for $ac_word... " >&6; }
18790 if ${ac_cv_path_ac_pt_NM+:} false; then :
18791 $as_echo_n "(cached) " >&6
18792 else
18793 case $ac_pt_NM in
18794 [\\/]* | ?:[\\/]*)
18795 ac_cv_path_ac_pt_NM="$ac_pt_NM" # Let the user override the test with a path.
18796 ;;
18797 *)
18798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18799 for as_dir in $PATH
18800 do
18801 IFS=$as_save_IFS
18802 test -z "$as_dir" && as_dir=.
18803 for ac_exec_ext in '' $ac_executable_extensions; do
18804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18805 ac_cv_path_ac_pt_NM="$as_dir/$ac_word$ac_exec_ext"
18806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18807 break 2
18808 fi
18809 done
18810 done
18811 IFS=$as_save_IFS
18812
18813 ;;
18814 esac
18815 fi
18816 ac_pt_NM=$ac_cv_path_ac_pt_NM
18817 if test -n "$ac_pt_NM"; then
18818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_NM" >&5
18819 $as_echo "$ac_pt_NM" >&6; }
18820 else
18821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18822 $as_echo "no" >&6; }
18823 fi
18824
18825 if test "x$ac_pt_NM" = x; then
18826 NM="nm"
18827 else
18828 case $cross_compiling:$ac_tool_warned in
18829 yes:)
18830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18831 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18832 ac_tool_warned=yes ;;
18833 esac
18834 NM=$ac_pt_NM
18835 fi
18836 else
18837 NM="$ac_cv_path_NM"
18838 fi
18839
18840
18841
18842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
18843 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
18844 # Check whether --enable-maintainer-mode was given.
18845 if test "${enable_maintainer_mode+set}" = set; then :
18846 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
18847 else
18848 USE_MAINTAINER_MODE=yes
18849 fi
18850
18851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
18852 $as_echo "$USE_MAINTAINER_MODE" >&6; }
18853 if test $USE_MAINTAINER_MODE = yes; then
18854 MAINTAINER_MODE_TRUE=
18855 MAINTAINER_MODE_FALSE='#'
18856 else
18857 MAINTAINER_MODE_TRUE='#'
18858 MAINTAINER_MODE_FALSE=
18859 fi
18860
18861 MAINT=$MAINTAINER_MODE_TRUE
18862
18863
18864
18865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for some Win32 platform" >&5
18866 $as_echo_n "checking for some Win32 platform... " >&6; }
18867 case "$host" in
18868 *-*-mingw*|*-*-cygwin*)
18869 platform_win32=yes
18870 ;;
18871 *)
18872 platform_win32=no
18873 ;;
18874 esac
18875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $platform_win32" >&5
18876 $as_echo "$platform_win32" >&6; }
18877 if test "$platform_win32" = "yes"; then
18878 PLATFORM_WIN32_TRUE=
18879 PLATFORM_WIN32_FALSE='#'
18880 else
18881 PLATFORM_WIN32_TRUE='#'
18882 PLATFORM_WIN32_FALSE=
18883 fi
18884
18885
18886 if test "$os_win32" = "yes"; then
18887 OS_WIN32_TRUE=
18888 OS_WIN32_FALSE='#'
18889 else
18890 OS_WIN32_TRUE='#'
18891 OS_WIN32_FALSE=
18892 fi
18893
18894 if test "$os_win32" != "yes"; then
18895 OS_UNIX_TRUE=
18896 OS_UNIX_FALSE='#'
18897 else
18898 OS_UNIX_TRUE='#'
18899 OS_UNIX_FALSE=
18900 fi
18901
18902 if test "$os_linux" = "yes"; then
18903 OS_LINUX_TRUE=
18904 OS_LINUX_FALSE='#'
18905 else
18906 OS_LINUX_TRUE='#'
18907 OS_LINUX_FALSE=
18908 fi
18909
18910
18911 if test "$os_win32" = "yes"; then
18912 if test -n "$ac_tool_prefix"; then
18913 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
18914 set dummy ${ac_tool_prefix}windres; ac_word=$2
18915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18916 $as_echo_n "checking for $ac_word... " >&6; }
18917 if ${ac_cv_prog_WINDRES+:} false; then :
18918 $as_echo_n "(cached) " >&6
18919 else
18920 if test -n "$WINDRES"; then
18921 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
18922 else
18923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18924 for as_dir in $PATH
18925 do
18926 IFS=$as_save_IFS
18927 test -z "$as_dir" && as_dir=.
18928 for ac_exec_ext in '' $ac_executable_extensions; do
18929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18930 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
18931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18932 break 2
18933 fi
18934 done
18935 done
18936 IFS=$as_save_IFS
18937
18938 fi
18939 fi
18940 WINDRES=$ac_cv_prog_WINDRES
18941 if test -n "$WINDRES"; then
18942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
18943 $as_echo "$WINDRES" >&6; }
18944 else
18945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18946 $as_echo "no" >&6; }
18947 fi
18948
18949
18950 fi
18951 if test -z "$ac_cv_prog_WINDRES"; then
18952 ac_ct_WINDRES=$WINDRES
18953 # Extract the first word of "windres", so it can be a program name with args.
18954 set dummy windres; ac_word=$2
18955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18956 $as_echo_n "checking for $ac_word... " >&6; }
18957 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
18958 $as_echo_n "(cached) " >&6
18959 else
18960 if test -n "$ac_ct_WINDRES"; then
18961 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
18962 else
18963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18964 for as_dir in $PATH
18965 do
18966 IFS=$as_save_IFS
18967 test -z "$as_dir" && as_dir=.
18968 for ac_exec_ext in '' $ac_executable_extensions; do
18969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18970 ac_cv_prog_ac_ct_WINDRES="windres"
18971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18972 break 2
18973 fi
18974 done
18975 done
18976 IFS=$as_save_IFS
18977
18978 fi
18979 fi
18980 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
18981 if test -n "$ac_ct_WINDRES"; then
18982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
18983 $as_echo "$ac_ct_WINDRES" >&6; }
18984 else
18985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18986 $as_echo "no" >&6; }
18987 fi
18988
18989 if test "x$ac_ct_WINDRES" = x; then
18990 WINDRES="no"
18991 else
18992 case $cross_compiling:$ac_tool_warned in
18993 yes:)
18994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18995 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18996 ac_tool_warned=yes ;;
18997 esac
18998 WINDRES=$ac_ct_WINDRES
18999 fi
19000 else
19001 WINDRES="$ac_cv_prog_WINDRES"
19002 fi
19003
19004 if test "$WINDRES" = no; then
19005 as_fn_error $? "*** Could not find an implementation of windres in your PATH." "$LINENO" 5
19006 fi
19007 # Extract the first word of "lib.exe", so it can be a program name with args.
19008 set dummy lib.exe; ac_word=$2
19009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19010 $as_echo_n "checking for $ac_word... " >&6; }
19011 if ${ac_cv_prog_ms_librarian+:} false; then :
19012 $as_echo_n "(cached) " >&6
19013 else
19014 if test -n "$ms_librarian"; then
19015 ac_cv_prog_ms_librarian="$ms_librarian" # Let the user override the test.
19016 else
19017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19018 for as_dir in $PATH
19019 do
19020 IFS=$as_save_IFS
19021 test -z "$as_dir" && as_dir=.
19022 for ac_exec_ext in '' $ac_executable_extensions; do
19023 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19024 ac_cv_prog_ms_librarian="yes"
19025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19026 break 2
19027 fi
19028 done
19029 done
19030 IFS=$as_save_IFS
19031
19032 test -z "$ac_cv_prog_ms_librarian" && ac_cv_prog_ms_librarian="no"
19033 fi
19034 fi
19035 ms_librarian=$ac_cv_prog_ms_librarian
19036 if test -n "$ms_librarian"; then
19037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ms_librarian" >&5
19038 $as_echo "$ms_librarian" >&6; }
19039 else
19040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19041 $as_echo "no" >&6; }
19042 fi
19043
19044
19045 fi
19046 if test x$ms_librarian = xyes; then
19047 MS_LIB_AVAILABLE_TRUE=
19048 MS_LIB_AVAILABLE_FALSE='#'
19049 else
19050 MS_LIB_AVAILABLE_TRUE='#'
19051 MS_LIB_AVAILABLE_FALSE=
19052 fi
19053
19054
19055
19056
19057 # Check whether --enable-debug was given.
19058 if test "${enable_debug+set}" = set; then :
19059 enableval=$enable_debug;
19060 else
19061 enable_debug=minimum
19062 fi
19063
19064 # Check whether --enable-shm was given.
19065 if test "${enable_shm+set}" = set; then :
19066 enableval=$enable_shm;
19067 else
19068 enable_shm="yes"
19069 fi
19070
19071 # Check whether --enable-xkb was given.
19072 if test "${enable_xkb+set}" = set; then :
19073 enableval=$enable_xkb;
19074 else
19075 enable_xkb="maybe"
19076 fi
19077
19078 # Check whether --enable-xinerama was given.
19079 if test "${enable_xinerama+set}" = set; then :
19080 enableval=$enable_xinerama;
19081 else
19082 enable_xinerama="yes"
19083 fi
19084
19085 # Check whether --enable-rebuilds was given.
19086 if test "${enable_rebuilds+set}" = set; then :
19087 enableval=$enable_rebuilds;
19088 else
19089 enable_rebuilds=yes
19090 fi
19091
19092 # Check whether --enable-visibility was given.
19093 if test "${enable_visibility+set}" = set; then :
19094 enableval=$enable_visibility;
19095 else
19096 enable_visibility=yes
19097 fi
19098
19099
19100
19101 # Check whether --with-xinput was given.
19102 if test "${with_xinput+set}" = set; then :
19103 withval=$with_xinput;
19104 fi
19105
19106
19107 if test "$platform_win32" = yes; then
19108 gdktarget=win32
19109 else
19110 gdktarget=x11
19111 fi
19112
19113
19114 # Check whether --with-gdktarget was given.
19115 if test "${with_gdktarget+set}" = set; then :
19116 withval=$with_gdktarget; gdktarget=$with_gdktarget
19117 fi
19118
19119
19120
19121 case $gdktarget in
19122 x11|win32|quartz|directfb) ;;
19123 *) as_fn_error $? "Invalid target for GDK: use x11, quartz, directfb or win32." "$LINENO" 5;;
19124 esac
19125
19126 gdktargetlib=libgdk-$gdktarget-$GTK_API_VERSION.la
19127 gtktargetlib=libgtk-$gdktarget-$GTK_API_VERSION.la
19128
19129
19130
19131
19132 if test "x$enable_debug" = "xyes"; then
19133 test "$cflags_set" = set || CFLAGS="$CFLAGS -g"
19134 GTK_DEBUG_FLAGS="-DG_ENABLE_DEBUG -DG_ERRORCHECK_MUTEXES"
19135 else
19136 if test "x$enable_debug" = "xno"; then
19137 GTK_DEBUG_FLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS"
19138 else
19139 GTK_DEBUG_FLAGS="-DG_DISABLE_CAST_CHECKS"
19140 fi
19141 fi
19142
19143
19144 if test "x$enable_visibility" = "xno"; then
19145 GTK_DEBUG_FLAGS="$GTK_DEBUG_FLAGS -DDISABLE_VISIBILITY"
19146 fi
19147
19148
19149
19150 cat >>confdefs.h <<_ACEOF
19151 #define GTK_COMPILED_WITH_DEBUGGING "${enable_debug}"
19152 _ACEOF
19153
19154
19155
19156 # Build time sanity check...
19157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
19158 $as_echo_n "checking whether build environment is sane... " >&6; }
19159 # Reject unsafe characters in $srcdir or the absolute working directory
19160 # name. Accept space and tab only in the latter.
19161 am_lf='
19162 '
19163 case `pwd` in
19164 *[\\\"\#\$\&\'\`$am_lf]*)
19165 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
19166 esac
19167 case $srcdir in
19168 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
19169 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
19170 esac
19171
19172 # Do 'set' in a subshell so we don't clobber the current shell's
19173 # arguments. Must try -L first in case configure is actually a
19174 # symlink; some systems play weird games with the mod time of symlinks
19175 # (eg FreeBSD returns the mod time of the symlink's containing
19176 # directory).
19177 if (
19178 am_has_slept=no
19179 for am_try in 1 2; do
19180 echo "timestamp, slept: $am_has_slept" > conftest.file
19181 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
19182 if test "$*" = "X"; then
19183 # -L didn't work.
19184 set X `ls -t "$srcdir/configure" conftest.file`
19185 fi
19186 if test "$*" != "X $srcdir/configure conftest.file" \
19187 && test "$*" != "X conftest.file $srcdir/configure"; then
19188
19189 # If neither matched, then we have a broken ls. This can happen
19190 # if, for instance, CONFIG_SHELL is bash and it inherits a
19191 # broken ls alias from the environment. This has actually
19192 # happened. Such a system could not be considered "sane".
19193 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
19194 alias in your environment" "$LINENO" 5
19195 fi
19196 if test "$2" = conftest.file || test $am_try -eq 2; then
19197 break
19198 fi
19199 # Just in case.
19200 sleep 1
19201 am_has_slept=yes
19202 done
19203 test "$2" = conftest.file
19204 )
19205 then
19206 # Ok.
19207 :
19208 else
19209 as_fn_error $? "newly created file is older than distributed files!
19210 Check your system clock" "$LINENO" 5
19211 fi
19212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19213 $as_echo "yes" >&6; }
19214 # If we didn't sleep, we still need to ensure time stamps of config.status and
19215 # generated files are strictly newer.
19216 am_sleep_pid=
19217 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
19218 ( sleep 1 ) &
19219 am_sleep_pid=$!
19220 fi
19221
19222 rm -f conftest.file
19223
19224
19225 # Checks for programs.
19226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
19227 $as_echo_n "checking for library containing strerror... " >&6; }
19228 if ${ac_cv_search_strerror+:} false; then :
19229 $as_echo_n "(cached) " >&6
19230 else
19231 ac_func_search_save_LIBS=$LIBS
19232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19233 /* end confdefs.h. */
19234
19235 /* Override any GCC internal prototype to avoid an error.
19236 Use char because int might match the return type of a GCC
19237 builtin and then its argument prototype would still apply. */
19238 #ifdef __cplusplus
19239 extern "C"
19240 #endif
19241 char strerror ();
19242 int
19243 main ()
19244 {
19245 return strerror ();
19246 ;
19247 return 0;
19248 }
19249 _ACEOF
19250 for ac_lib in '' cposix; do
19251 if test -z "$ac_lib"; then
19252 ac_res="none required"
19253 else
19254 ac_res=-l$ac_lib
19255 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19256 fi
19257 if ac_fn_c_try_link "$LINENO"; then :
19258 ac_cv_search_strerror=$ac_res
19259 fi
19260 rm -f core conftest.err conftest.$ac_objext \
19261 conftest$ac_exeext
19262 if ${ac_cv_search_strerror+:} false; then :
19263 break
19264 fi
19265 done
19266 if ${ac_cv_search_strerror+:} false; then :
19267
19268 else
19269 ac_cv_search_strerror=no
19270 fi
19271 rm conftest.$ac_ext
19272 LIBS=$ac_func_search_save_LIBS
19273 fi
19274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
19275 $as_echo "$ac_cv_search_strerror" >&6; }
19276 ac_res=$ac_cv_search_strerror
19277 if test "$ac_res" != no; then :
19278 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19279
19280 fi
19281
19282
19283
19284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
19285 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
19286 set x ${MAKE-make}
19287 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
19288 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
19289 $as_echo_n "(cached) " >&6
19290 else
19291 cat >conftest.make <<\_ACEOF
19292 SHELL = /bin/sh
19293 all:
19294 @echo '@@@%%%=$(MAKE)=@@@%%%'
19295 _ACEOF
19296 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
19297 case `${MAKE-make} -f conftest.make 2>/dev/null` in
19298 *@@@%%%=?*=@@@%%%*)
19299 eval ac_cv_prog_make_${ac_make}_set=yes;;
19300 *)
19301 eval ac_cv_prog_make_${ac_make}_set=no;;
19302 esac
19303 rm -f conftest.make
19304 fi
19305 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
19306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19307 $as_echo "yes" >&6; }
19308 SET_MAKE=
19309 else
19310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19311 $as_echo "no" >&6; }
19312 SET_MAKE="MAKE=${MAKE-make}"
19313 fi
19314
19315
19316 if test "x$GCC" = "xyes"; then
19317 case " $CFLAGS " in
19318 *[\ \ ]-Wall[\ \ ]*) ;;
19319 *) CFLAGS="$CFLAGS -Wall" ;;
19320 esac
19321
19322 if test "x$enable_ansi" = "xyes"; then
19323 case " $CFLAGS " in
19324 *[\ \ ]-ansi[\ \ ]*) ;;
19325 *) CFLAGS="$CFLAGS -ansi" ;;
19326 esac
19327
19328 case " $CFLAGS " in
19329 *[\ \ ]-pedantic[\ \ ]*) ;;
19330 *) CFLAGS="$CFLAGS -pedantic" ;;
19331 esac
19332 fi
19333 fi
19334
19335 CPPFLAGS="$CPPFLAGS -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES"
19336
19337 # Ensure MSVC-compatible struct packing convention is used when
19338 # compiling for Win32 with gcc.
19339 # What flag to depends on gcc version: gcc3 uses "-mms-bitfields", while
19340 # gcc2 uses "-fnative-struct".
19341 if test x"$os_win32" = xyes; then
19342 if test x"$GCC" = xyes; then
19343 msnative_struct=''
19344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get MSVC-compatible struct packing" >&5
19345 $as_echo_n "checking how to get MSVC-compatible struct packing... " >&6; }
19346 if test -z "$ac_cv_prog_CC"; then
19347 our_gcc="$CC"
19348 else
19349 our_gcc="$ac_cv_prog_CC"
19350 fi
19351 case `$our_gcc --version | sed -e 's,\..*,.,' -e q` in
19352 2.)
19353 if $our_gcc -v --help 2>/dev/null | grep fnative-struct >/dev/null; then
19354 msnative_struct='-fnative-struct'
19355 fi
19356 ;;
19357 *)
19358 if $our_gcc -v --help 2>/dev/null | grep ms-bitfields >/dev/null; then
19359 msnative_struct='-mms-bitfields'
19360 fi
19361 ;;
19362 esac
19363 if test x"$msnative_struct" = x ; then
19364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no way" >&5
19365 $as_echo "no way" >&6; }
19366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: produced libraries might be incompatible with MSVC-compiled code" >&5
19367 $as_echo "$as_me: WARNING: produced libraries might be incompatible with MSVC-compiled code" >&2;}
19368 else
19369 CFLAGS="$CFLAGS $msnative_struct"
19370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${msnative_struct}" >&5
19371 $as_echo "${msnative_struct}" >&6; }
19372 fi
19373 fi
19374 fi
19375
19376 # Honor aclocal flags
19377 ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
19378
19379 ## Initial sanity check, done here so that users get told they
19380 ## have the wrong dependencies as early in the process as possible.
19381 ## Later on we actually use the cflags/libs from separate pkg-config
19382 ## calls. Oh, also the later pkg-config calls don't include
19383 ## the version requirements since those make the module lists
19384 ## annoying to construct
19385
19386
19387
19388
19389
19390
19391
19392 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
19393 if test -n "$ac_tool_prefix"; then
19394 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
19395 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
19396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19397 $as_echo_n "checking for $ac_word... " >&6; }
19398 if ${ac_cv_path_PKG_CONFIG+:} false; then :
19399 $as_echo_n "(cached) " >&6
19400 else
19401 case $PKG_CONFIG in
19402 [\\/]* | ?:[\\/]*)
19403 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19404 ;;
19405 *)
19406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19407 for as_dir in $PATH
19408 do
19409 IFS=$as_save_IFS
19410 test -z "$as_dir" && as_dir=.
19411 for ac_exec_ext in '' $ac_executable_extensions; do
19412 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19413 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19415 break 2
19416 fi
19417 done
19418 done
19419 IFS=$as_save_IFS
19420
19421 ;;
19422 esac
19423 fi
19424 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19425 if test -n "$PKG_CONFIG"; then
19426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19427 $as_echo "$PKG_CONFIG" >&6; }
19428 else
19429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19430 $as_echo "no" >&6; }
19431 fi
19432
19433
19434 fi
19435 if test -z "$ac_cv_path_PKG_CONFIG"; then
19436 ac_pt_PKG_CONFIG=$PKG_CONFIG
19437 # Extract the first word of "pkg-config", so it can be a program name with args.
19438 set dummy pkg-config; ac_word=$2
19439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19440 $as_echo_n "checking for $ac_word... " >&6; }
19441 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
19442 $as_echo_n "(cached) " >&6
19443 else
19444 case $ac_pt_PKG_CONFIG in
19445 [\\/]* | ?:[\\/]*)
19446 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
19447 ;;
19448 *)
19449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19450 for as_dir in $PATH
19451 do
19452 IFS=$as_save_IFS
19453 test -z "$as_dir" && as_dir=.
19454 for ac_exec_ext in '' $ac_executable_extensions; do
19455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19456 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19458 break 2
19459 fi
19460 done
19461 done
19462 IFS=$as_save_IFS
19463
19464 ;;
19465 esac
19466 fi
19467 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
19468 if test -n "$ac_pt_PKG_CONFIG"; then
19469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
19470 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
19471 else
19472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19473 $as_echo "no" >&6; }
19474 fi
19475
19476 if test "x$ac_pt_PKG_CONFIG" = x; then
19477 PKG_CONFIG=""
19478 else
19479 case $cross_compiling:$ac_tool_warned in
19480 yes:)
19481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19482 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19483 ac_tool_warned=yes ;;
19484 esac
19485 PKG_CONFIG=$ac_pt_PKG_CONFIG
19486 fi
19487 else
19488 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
19489 fi
19490
19491 fi
19492 if test -n "$PKG_CONFIG"; then
19493 _pkg_min_version=0.9.0
19494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
19495 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
19496 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
19497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19498 $as_echo "yes" >&6; }
19499 else
19500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19501 $as_echo "no" >&6; }
19502 PKG_CONFIG=""
19503 fi
19504 fi
19505
19506 pkg_failed=no
19507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BASE_DEPENDENCIES" >&5
19508 $as_echo_n "checking for BASE_DEPENDENCIES... " >&6; }
19509
19510 if test -n "$BASE_DEPENDENCIES_CFLAGS"; then
19511 pkg_cv_BASE_DEPENDENCIES_CFLAGS="$BASE_DEPENDENCIES_CFLAGS"
19512 elif test -n "$PKG_CONFIG"; then
19513 if test -n "$PKG_CONFIG" && \
19514 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.28.0 atk >= 1.29.2 pango >= 1.20 cairo >= 1.6 gdk-pixbuf-2.0 >= 2.21.0\""; } >&5
19515 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.28.0 atk >= 1.29.2 pango >= 1.20 cairo >= 1.6 gdk-pixbuf-2.0 >= 2.21.0") 2>&5
19516 ac_status=$?
19517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19518 test $ac_status = 0; }; then
19519 pkg_cv_BASE_DEPENDENCIES_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.28.0 atk >= 1.29.2 pango >= 1.20 cairo >= 1.6 gdk-pixbuf-2.0 >= 2.21.0" 2>/dev/null`
19520 test "x$?" != "x0" && pkg_failed=yes
19521 else
19522 pkg_failed=yes
19523 fi
19524 else
19525 pkg_failed=untried
19526 fi
19527 if test -n "$BASE_DEPENDENCIES_LIBS"; then
19528 pkg_cv_BASE_DEPENDENCIES_LIBS="$BASE_DEPENDENCIES_LIBS"
19529 elif test -n "$PKG_CONFIG"; then
19530 if test -n "$PKG_CONFIG" && \
19531 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.28.0 atk >= 1.29.2 pango >= 1.20 cairo >= 1.6 gdk-pixbuf-2.0 >= 2.21.0\""; } >&5
19532 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.28.0 atk >= 1.29.2 pango >= 1.20 cairo >= 1.6 gdk-pixbuf-2.0 >= 2.21.0") 2>&5
19533 ac_status=$?
19534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19535 test $ac_status = 0; }; then
19536 pkg_cv_BASE_DEPENDENCIES_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.28.0 atk >= 1.29.2 pango >= 1.20 cairo >= 1.6 gdk-pixbuf-2.0 >= 2.21.0" 2>/dev/null`
19537 test "x$?" != "x0" && pkg_failed=yes
19538 else
19539 pkg_failed=yes
19540 fi
19541 else
19542 pkg_failed=untried
19543 fi
19544
19545
19546
19547 if test $pkg_failed = yes; then
19548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19549 $as_echo "no" >&6; }
19550
19551 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19552 _pkg_short_errors_supported=yes
19553 else
19554 _pkg_short_errors_supported=no
19555 fi
19556 if test $_pkg_short_errors_supported = yes; then
19557 BASE_DEPENDENCIES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.28.0 atk >= 1.29.2 pango >= 1.20 cairo >= 1.6 gdk-pixbuf-2.0 >= 2.21.0" 2>&1`
19558 else
19559 BASE_DEPENDENCIES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.28.0 atk >= 1.29.2 pango >= 1.20 cairo >= 1.6 gdk-pixbuf-2.0 >= 2.21.0" 2>&1`
19560 fi
19561 # Put the nasty error message in config.log where it belongs
19562 echo "$BASE_DEPENDENCIES_PKG_ERRORS" >&5
19563
19564 as_fn_error $? "Package requirements (glib-2.0 >= 2.28.0 atk >= 1.29.2 pango >= 1.20 cairo >= 1.6 gdk-pixbuf-2.0 >= 2.21.0) were not met:
19565
19566 $BASE_DEPENDENCIES_PKG_ERRORS
19567
19568 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19569 installed software in a non-standard prefix.
19570
19571 Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
19572 and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
19573 See the pkg-config man page for more details." "$LINENO" 5
19574 elif test $pkg_failed = untried; then
19575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19576 $as_echo "no" >&6; }
19577 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19579 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
19580 is in your PATH or set the PKG_CONFIG environment variable to the full
19581 path to pkg-config.
19582
19583 Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
19584 and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
19585 See the pkg-config man page for more details.
19586
19587 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19588 See \`config.log' for more details" "$LINENO" 5; }
19589 else
19590 BASE_DEPENDENCIES_CFLAGS=$pkg_cv_BASE_DEPENDENCIES_CFLAGS
19591 BASE_DEPENDENCIES_LIBS=$pkg_cv_BASE_DEPENDENCIES_LIBS
19592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19593 $as_echo "yes" >&6; }
19594
19595 fi
19596
19597 ## In addition to checking that cairo is present, we also need to
19598 ## check that the correct cairo backend is there. E.g. if the GDK
19599 ## target is win32 we need the cairo-win32 backend and so on.
19600 cairo_backend=$gdktarget
19601
19602 # GDK calls the xlib backend "x11," cairo calls it "xlib." Other
19603 # backend names are identical.
19604 if test "x$cairo_backend" = "xx11"; then
19605 cairo_backend=xlib
19606 fi
19607
19608 pkg_failed=no
19609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO_BACKEND" >&5
19610 $as_echo_n "checking for CAIRO_BACKEND... " >&6; }
19611
19612 if test -n "$CAIRO_BACKEND_CFLAGS"; then
19613 pkg_cv_CAIRO_BACKEND_CFLAGS="$CAIRO_BACKEND_CFLAGS"
19614 elif test -n "$PKG_CONFIG"; then
19615 if test -n "$PKG_CONFIG" && \
19616 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-\$cairo_backend >= 1.6\""; } >&5
19617 ($PKG_CONFIG --exists --print-errors "cairo-$cairo_backend >= 1.6") 2>&5
19618 ac_status=$?
19619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19620 test $ac_status = 0; }; then
19621 pkg_cv_CAIRO_BACKEND_CFLAGS=`$PKG_CONFIG --cflags "cairo-$cairo_backend >= 1.6" 2>/dev/null`
19622 test "x$?" != "x0" && pkg_failed=yes
19623 else
19624 pkg_failed=yes
19625 fi
19626 else
19627 pkg_failed=untried
19628 fi
19629 if test -n "$CAIRO_BACKEND_LIBS"; then
19630 pkg_cv_CAIRO_BACKEND_LIBS="$CAIRO_BACKEND_LIBS"
19631 elif test -n "$PKG_CONFIG"; then
19632 if test -n "$PKG_CONFIG" && \
19633 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-\$cairo_backend >= 1.6\""; } >&5
19634 ($PKG_CONFIG --exists --print-errors "cairo-$cairo_backend >= 1.6") 2>&5
19635 ac_status=$?
19636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19637 test $ac_status = 0; }; then
19638 pkg_cv_CAIRO_BACKEND_LIBS=`$PKG_CONFIG --libs "cairo-$cairo_backend >= 1.6" 2>/dev/null`
19639 test "x$?" != "x0" && pkg_failed=yes
19640 else
19641 pkg_failed=yes
19642 fi
19643 else
19644 pkg_failed=untried
19645 fi
19646
19647
19648
19649 if test $pkg_failed = yes; then
19650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19651 $as_echo "no" >&6; }
19652
19653 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19654 _pkg_short_errors_supported=yes
19655 else
19656 _pkg_short_errors_supported=no
19657 fi
19658 if test $_pkg_short_errors_supported = yes; then
19659 CAIRO_BACKEND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo-$cairo_backend >= 1.6" 2>&1`
19660 else
19661 CAIRO_BACKEND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo-$cairo_backend >= 1.6" 2>&1`
19662 fi
19663 # Put the nasty error message in config.log where it belongs
19664 echo "$CAIRO_BACKEND_PKG_ERRORS" >&5
19665
19666 as_fn_error $? "Package requirements (cairo-$cairo_backend >= 1.6) were not met:
19667
19668 $CAIRO_BACKEND_PKG_ERRORS
19669
19670 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19671 installed software in a non-standard prefix.
19672
19673 Alternatively, you may set the environment variables CAIRO_BACKEND_CFLAGS
19674 and CAIRO_BACKEND_LIBS to avoid the need to call pkg-config.
19675 See the pkg-config man page for more details." "$LINENO" 5
19676 elif test $pkg_failed = untried; then
19677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19678 $as_echo "no" >&6; }
19679 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19680 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19681 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
19682 is in your PATH or set the PKG_CONFIG environment variable to the full
19683 path to pkg-config.
19684
19685 Alternatively, you may set the environment variables CAIRO_BACKEND_CFLAGS
19686 and CAIRO_BACKEND_LIBS to avoid the need to call pkg-config.
19687 See the pkg-config man page for more details.
19688
19689 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19690 See \`config.log' for more details" "$LINENO" 5; }
19691 else
19692 CAIRO_BACKEND_CFLAGS=$pkg_cv_CAIRO_BACKEND_CFLAGS
19693 CAIRO_BACKEND_LIBS=$pkg_cv_CAIRO_BACKEND_LIBS
19694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19695 $as_echo "yes" >&6; }
19696
19697 fi
19698
19699
19700 pkg_failed=no
19701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5
19702 $as_echo_n "checking for GMODULE... " >&6; }
19703
19704 if test -n "$GMODULE_CFLAGS"; then
19705 pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
19706 elif test -n "$PKG_CONFIG"; then
19707 if test -n "$PKG_CONFIG" && \
19708 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
19709 ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
19710 ac_status=$?
19711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19712 test $ac_status = 0; }; then
19713 pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0" 2>/dev/null`
19714 test "x$?" != "x0" && pkg_failed=yes
19715 else
19716 pkg_failed=yes
19717 fi
19718 else
19719 pkg_failed=untried
19720 fi
19721 if test -n "$GMODULE_LIBS"; then
19722 pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
19723 elif test -n "$PKG_CONFIG"; then
19724 if test -n "$PKG_CONFIG" && \
19725 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
19726 ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
19727 ac_status=$?
19728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19729 test $ac_status = 0; }; then
19730 pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0" 2>/dev/null`
19731 test "x$?" != "x0" && pkg_failed=yes
19732 else
19733 pkg_failed=yes
19734 fi
19735 else
19736 pkg_failed=untried
19737 fi
19738
19739
19740
19741 if test $pkg_failed = yes; then
19742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19743 $as_echo "no" >&6; }
19744
19745 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19746 _pkg_short_errors_supported=yes
19747 else
19748 _pkg_short_errors_supported=no
19749 fi
19750 if test $_pkg_short_errors_supported = yes; then
19751 GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gmodule-2.0" 2>&1`
19752 else
19753 GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gmodule-2.0" 2>&1`
19754 fi
19755 # Put the nasty error message in config.log where it belongs
19756 echo "$GMODULE_PKG_ERRORS" >&5
19757
19758 as_fn_error $? "Package requirements (gmodule-2.0) were not met:
19759
19760 $GMODULE_PKG_ERRORS
19761
19762 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19763 installed software in a non-standard prefix.
19764
19765 Alternatively, you may set the environment variables GMODULE_CFLAGS
19766 and GMODULE_LIBS to avoid the need to call pkg-config.
19767 See the pkg-config man page for more details." "$LINENO" 5
19768 elif test $pkg_failed = untried; then
19769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19770 $as_echo "no" >&6; }
19771 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19772 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19773 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
19774 is in your PATH or set the PKG_CONFIG environment variable to the full
19775 path to pkg-config.
19776
19777 Alternatively, you may set the environment variables GMODULE_CFLAGS
19778 and GMODULE_LIBS to avoid the need to call pkg-config.
19779 See the pkg-config man page for more details.
19780
19781 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19782 See \`config.log' for more details" "$LINENO" 5; }
19783 else
19784 GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
19785 GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
19786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19787 $as_echo "yes" >&6; }
19788
19789 fi
19790
19791 if test "$os_win32" != yes; then
19792 # libtool option to control which symbols are exported
19793 # right now, symbols starting with _ are not exported
19794 LIBTOOL_EXPORT_OPTIONS='-export-symbols-regex "^[^_].*"'
19795 else
19796 # We currently use .def files on Windows (for gdk and gtk)
19797 LIBTOOL_EXPORT_OPTIONS=
19798 fi
19799
19800
19801
19802 # Check whether --enable-explicit-deps was given.
19803 if test "${enable_explicit_deps+set}" = set; then :
19804 enableval=$enable_explicit_deps;
19805 else
19806 enable_explicit_deps=auto
19807 fi
19808
19809
19810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to write dependencies into .pc files" >&5
19811 $as_echo_n "checking Whether to write dependencies into .pc files... " >&6; }
19812 case $enable_explicit_deps in
19813 auto)
19814 export SED
19815 deplibs_check_method=`(./libtool --config; echo 'eval echo \"$deplibs_check_method\"') | sh`
19816 if test "x$deplibs_check_method" '!=' xpass_all || test "x$enable_static" = xyes ; then
19817 enable_explicit_deps=yes
19818 else
19819 enable_explicit_deps=no
19820 fi
19821 ;;
19822 yes|no)
19823 ;;
19824 *) as_fn_error $? "Value given to --enable-explicit-deps must be one of yes, no or auto" "$LINENO" 5
19825 ;;
19826 esac
19827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_explicit_deps" >&5
19828 $as_echo "$enable_explicit_deps" >&6; }
19829
19830 if test $enable_explicit_deps = no; then
19831 DISABLE_EXPLICIT_DEPS_TRUE=
19832 DISABLE_EXPLICIT_DEPS_FALSE='#'
19833 else
19834 DISABLE_EXPLICIT_DEPS_TRUE='#'
19835 DISABLE_EXPLICIT_DEPS_FALSE=
19836 fi
19837
19838
19839 # define a MAINT-like variable REBUILD which is set if Perl
19840 # and awk are found, so autogenerated sources can be rebuilt
19841
19842 for ac_prog in perl5 perl
19843 do
19844 # Extract the first word of "$ac_prog", so it can be a program name with args.
19845 set dummy $ac_prog; ac_word=$2
19846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19847 $as_echo_n "checking for $ac_word... " >&6; }
19848 if ${ac_cv_path_PERL+:} false; then :
19849 $as_echo_n "(cached) " >&6
19850 else
19851 case $PERL in
19852 [\\/]* | ?:[\\/]*)
19853 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
19854 ;;
19855 *)
19856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19857 for as_dir in $PATH
19858 do
19859 IFS=$as_save_IFS
19860 test -z "$as_dir" && as_dir=.
19861 for ac_exec_ext in '' $ac_executable_extensions; do
19862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19863 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
19864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19865 break 2
19866 fi
19867 done
19868 done
19869 IFS=$as_save_IFS
19870
19871 ;;
19872 esac
19873 fi
19874 PERL=$ac_cv_path_PERL
19875 if test -n "$PERL"; then
19876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
19877 $as_echo "$PERL" >&6; }
19878 else
19879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19880 $as_echo "no" >&6; }
19881 fi
19882
19883
19884 test -n "$PERL" && break
19885 done
19886
19887
19888 # We would like indent, but don't require it.
19889 # Extract the first word of "indent", so it can be a program name with args.
19890 set dummy indent; ac_word=$2
19891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19892 $as_echo_n "checking for $ac_word... " >&6; }
19893 if ${ac_cv_prog_INDENT+:} false; then :
19894 $as_echo_n "(cached) " >&6
19895 else
19896 if test -n "$INDENT"; then
19897 ac_cv_prog_INDENT="$INDENT" # Let the user override the test.
19898 else
19899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19900 for as_dir in $PATH
19901 do
19902 IFS=$as_save_IFS
19903 test -z "$as_dir" && as_dir=.
19904 for ac_exec_ext in '' $ac_executable_extensions; do
19905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19906 ac_cv_prog_INDENT="indent"
19907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19908 break 2
19909 fi
19910 done
19911 done
19912 IFS=$as_save_IFS
19913
19914 fi
19915 fi
19916 INDENT=$ac_cv_prog_INDENT
19917 if test -n "$INDENT"; then
19918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INDENT" >&5
19919 $as_echo "$INDENT" >&6; }
19920 else
19921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19922 $as_echo "no" >&6; }
19923 fi
19924
19925
19926
19927 REBUILD=\#
19928 if test "x$enable_rebuilds" = "xyes" && \
19929 test -n "$PERL" && \
19930 $PERL -e 'exit !($] >= 5.002)' > /dev/null 2>&1 ; then
19931 REBUILD=
19932 fi
19933
19934
19935 for ac_func in lstat mkstemp flockfile getc_unlocked
19936 do :
19937 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19938 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19939 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19940 cat >>confdefs.h <<_ACEOF
19941 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19942 _ACEOF
19943
19944 fi
19945 done
19946
19947 for ac_func in localtime_r
19948 do :
19949 ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
19950 if test "x$ac_cv_func_localtime_r" = xyes; then :
19951 cat >>confdefs.h <<_ACEOF
19952 #define HAVE_LOCALTIME_R 1
19953 _ACEOF
19954
19955 fi
19956 done
19957
19958
19959 # _NL_TIME_FIRST_WEEKDAY is an enum and not a define
19960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _NL_TIME_FIRST_WEEKDAY" >&5
19961 $as_echo_n "checking for _NL_TIME_FIRST_WEEKDAY... " >&6; }
19962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19963 /* end confdefs.h. */
19964 #include <langinfo.h>
19965 int
19966 main ()
19967 {
19968
19969 char c;
19970 c = *((unsigned char *) nl_langinfo(_NL_TIME_FIRST_WEEKDAY));
19971
19972 ;
19973 return 0;
19974 }
19975 _ACEOF
19976 if ac_fn_c_try_link "$LINENO"; then :
19977 gtk_ok=yes
19978 else
19979 gtk_ok=no
19980 fi
19981 rm -f core conftest.err conftest.$ac_objext \
19982 conftest$ac_exeext conftest.$ac_ext
19983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gtk_ok" >&5
19984 $as_echo "$gtk_ok" >&6; }
19985 if test "$gtk_ok" = "yes"; then
19986
19987 $as_echo "#define HAVE__NL_TIME_FIRST_WEEKDAY 1" >>confdefs.h
19988
19989 fi
19990
19991 # _NL_MEASUREMENT_MEASUREMENT is an enum and not a define
19992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _NL_MEASUREMENT_MEASUREMENT" >&5
19993 $as_echo_n "checking for _NL_MEASUREMENT_MEASUREMENT... " >&6; }
19994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19995 /* end confdefs.h. */
19996 #include <langinfo.h>
19997 int
19998 main ()
19999 {
20000
20001 char c;
20002 c = *((unsigned char *) nl_langinfo(_NL_MEASUREMENT_MEASUREMENT));
20003
20004 ;
20005 return 0;
20006 }
20007 _ACEOF
20008 if ac_fn_c_try_link "$LINENO"; then :
20009 gtk_ok=yes
20010 else
20011 gtk_ok=no
20012 fi
20013 rm -f core conftest.err conftest.$ac_objext \
20014 conftest$ac_exeext conftest.$ac_ext
20015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gtk_ok" >&5
20016 $as_echo "$gtk_ok" >&6; }
20017 if test "$gtk_ok" = "yes"; then
20018
20019 $as_echo "#define HAVE__NL_MEASUREMENT_MEASUREMENT 1" >>confdefs.h
20020
20021 fi
20022
20023 # _NL_PAPER_HEIGHT is an enum and not a define
20024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _NL_PAPER_HEIGHT" >&5
20025 $as_echo_n "checking for _NL_PAPER_HEIGHT... " >&6; }
20026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20027 /* end confdefs.h. */
20028 #include <langinfo.h>
20029 int
20030 main ()
20031 {
20032
20033 char c;
20034 c = *((unsigned char *) nl_langinfo(_NL_PAPER_HEIGHT));
20035
20036 ;
20037 return 0;
20038 }
20039 _ACEOF
20040 if ac_fn_c_try_link "$LINENO"; then :
20041 gtk_ok=yes
20042 else
20043 gtk_ok=no
20044 fi
20045 rm -f core conftest.err conftest.$ac_objext \
20046 conftest$ac_exeext conftest.$ac_ext
20047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gtk_ok" >&5
20048 $as_echo "$gtk_ok" >&6; }
20049 if test "$gtk_ok" = "yes"; then
20050
20051 $as_echo "#define HAVE__NL_PAPER_HEIGHT 1" >>confdefs.h
20052
20053 fi
20054
20055 # _NL_PAPER_WIDTH is an enum and not a define
20056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _NL_PAPER_WIDTH" >&5
20057 $as_echo_n "checking for _NL_PAPER_WIDTH... " >&6; }
20058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20059 /* end confdefs.h. */
20060 #include <langinfo.h>
20061 int
20062 main ()
20063 {
20064
20065 char c;
20066 c = *((unsigned char *) nl_langinfo(_NL_PAPER_WIDTH));
20067
20068 ;
20069 return 0;
20070 }
20071 _ACEOF
20072 if ac_fn_c_try_link "$LINENO"; then :
20073 gtk_ok=yes
20074 else
20075 gtk_ok=no
20076 fi
20077 rm -f core conftest.err conftest.$ac_objext \
20078 conftest$ac_exeext conftest.$ac_ext
20079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gtk_ok" >&5
20080 $as_echo "$gtk_ok" >&6; }
20081 if test "$gtk_ok" = "yes"; then
20082
20083 $as_echo "#define HAVE__NL_PAPER_WIDTH 1" >>confdefs.h
20084
20085 fi
20086
20087 # sigsetjmp is a macro on some platforms, so AC_CHECK_FUNCS is not reliable
20088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigsetjmp" >&5
20089 $as_echo_n "checking for sigsetjmp... " >&6; }
20090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20091 /* end confdefs.h. */
20092 #include <setjmp.h>
20093 int
20094 main ()
20095 {
20096
20097 sigjmp_buf env;
20098 sigsetjmp(env, 0);
20099
20100 ;
20101 return 0;
20102 }
20103 _ACEOF
20104 if ac_fn_c_try_link "$LINENO"; then :
20105 gtk_ok=yes
20106 else
20107 gtk_ok=no
20108 fi
20109 rm -f core conftest.err conftest.$ac_objext \
20110 conftest$ac_exeext conftest.$ac_ext
20111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gtk_ok" >&5
20112 $as_echo "$gtk_ok" >&6; }
20113 if test "$gtk_ok" = "yes"; then
20114
20115 $as_echo "#define HAVE_SIGSETJMP 1" >>confdefs.h
20116
20117 fi
20118
20119 # i18n stuff
20120 ALL_LINGUAS="`grep -v '^#' "$srcdir/po/LINGUAS" | tr '\n' ' '`"
20121
20122 for ac_header in locale.h
20123 do :
20124 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20125 if test "x$ac_cv_header_locale_h" = xyes; then :
20126 cat >>confdefs.h <<_ACEOF
20127 #define HAVE_LOCALE_H 1
20128 _ACEOF
20129
20130 fi
20131
20132 done
20133
20134 if test $ac_cv_header_locale_h = yes; then
20135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20136 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20137 if ${am_cv_val_LC_MESSAGES+:} false; then :
20138 $as_echo_n "(cached) " >&6
20139 else
20140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20141 /* end confdefs.h. */
20142 #include <locale.h>
20143 int
20144 main ()
20145 {
20146 return LC_MESSAGES
20147 ;
20148 return 0;
20149 }
20150 _ACEOF
20151 if ac_fn_c_try_link "$LINENO"; then :
20152 am_cv_val_LC_MESSAGES=yes
20153 else
20154 am_cv_val_LC_MESSAGES=no
20155 fi
20156 rm -f core conftest.err conftest.$ac_objext \
20157 conftest$ac_exeext conftest.$ac_ext
20158 fi
20159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
20160 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
20161 if test $am_cv_val_LC_MESSAGES = yes; then
20162
20163 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20164
20165 fi
20166 fi
20167 USE_NLS=yes
20168
20169
20170 gt_cv_have_gettext=no
20171
20172 CATOBJEXT=NONE
20173 XGETTEXT=:
20174 INTLLIBS=
20175
20176
20177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
20178 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
20179 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
20180 $as_echo_n "(cached) " >&6
20181 else
20182 gt_save_LIBS="$LIBS"
20183 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
20184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20185 /* end confdefs.h. */
20186 #include <CoreFoundation/CFPreferences.h>
20187 int
20188 main ()
20189 {
20190 CFPreferencesCopyAppValue(NULL, NULL)
20191 ;
20192 return 0;
20193 }
20194 _ACEOF
20195 if ac_fn_c_try_link "$LINENO"; then :
20196 gt_cv_func_CFPreferencesCopyAppValue=yes
20197 else
20198 gt_cv_func_CFPreferencesCopyAppValue=no
20199 fi
20200 rm -f core conftest.err conftest.$ac_objext \
20201 conftest$ac_exeext conftest.$ac_ext
20202 LIBS="$gt_save_LIBS"
20203 fi
20204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
20205 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
20206 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
20207
20208 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
20209
20210 fi
20211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
20212 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
20213 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
20214 $as_echo_n "(cached) " >&6
20215 else
20216 gt_save_LIBS="$LIBS"
20217 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
20218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20219 /* end confdefs.h. */
20220 #include <CoreFoundation/CFLocale.h>
20221 int
20222 main ()
20223 {
20224 CFLocaleCopyCurrent();
20225 ;
20226 return 0;
20227 }
20228 _ACEOF
20229 if ac_fn_c_try_link "$LINENO"; then :
20230 gt_cv_func_CFLocaleCopyCurrent=yes
20231 else
20232 gt_cv_func_CFLocaleCopyCurrent=no
20233 fi
20234 rm -f core conftest.err conftest.$ac_objext \
20235 conftest$ac_exeext conftest.$ac_ext
20236 LIBS="$gt_save_LIBS"
20237 fi
20238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
20239 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
20240 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
20241
20242 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
20243
20244 fi
20245 INTL_MACOSX_LIBS=
20246 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
20247 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
20248 fi
20249
20250
20251
20252 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
20253 if test "x$ac_cv_header_libintl_h" = xyes; then :
20254 gt_cv_func_dgettext_libintl="no"
20255 libintl_extra_libs=""
20256
20257 #
20258 # First check in libc
20259 #
20260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
20261 $as_echo_n "checking for ngettext in libc... " >&6; }
20262 if ${gt_cv_func_ngettext_libc+:} false; then :
20263 $as_echo_n "(cached) " >&6
20264 else
20265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20266 /* end confdefs.h. */
20267
20268 #include <libintl.h>
20269
20270 int
20271 main ()
20272 {
20273 return !ngettext ("","", 1)
20274 ;
20275 return 0;
20276 }
20277 _ACEOF
20278 if ac_fn_c_try_link "$LINENO"; then :
20279 gt_cv_func_ngettext_libc=yes
20280 else
20281 gt_cv_func_ngettext_libc=no
20282 fi
20283 rm -f core conftest.err conftest.$ac_objext \
20284 conftest$ac_exeext conftest.$ac_ext
20285
20286 fi
20287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
20288 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
20289
20290 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
20291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
20292 $as_echo_n "checking for dgettext in libc... " >&6; }
20293 if ${gt_cv_func_dgettext_libc+:} false; then :
20294 $as_echo_n "(cached) " >&6
20295 else
20296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20297 /* end confdefs.h. */
20298
20299 #include <libintl.h>
20300
20301 int
20302 main ()
20303 {
20304 return !dgettext ("","")
20305 ;
20306 return 0;
20307 }
20308 _ACEOF
20309 if ac_fn_c_try_link "$LINENO"; then :
20310 gt_cv_func_dgettext_libc=yes
20311 else
20312 gt_cv_func_dgettext_libc=no
20313 fi
20314 rm -f core conftest.err conftest.$ac_objext \
20315 conftest$ac_exeext conftest.$ac_ext
20316
20317 fi
20318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
20319 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
20320 fi
20321
20322 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
20323 for ac_func in bind_textdomain_codeset
20324 do :
20325 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
20326 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
20327 cat >>confdefs.h <<_ACEOF
20328 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
20329 _ACEOF
20330
20331 fi
20332 done
20333
20334 fi
20335
20336 #
20337 # If we don't have everything we want, check in libintl
20338 #
20339 if test "$gt_cv_func_dgettext_libc" != "yes" \
20340 || test "$gt_cv_func_ngettext_libc" != "yes" \
20341 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
20342
20343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
20344 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
20345 if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
20346 $as_echo_n "(cached) " >&6
20347 else
20348 ac_check_lib_save_LIBS=$LIBS
20349 LIBS="-lintl $LIBS"
20350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20351 /* end confdefs.h. */
20352
20353 /* Override any GCC internal prototype to avoid an error.
20354 Use char because int might match the return type of a GCC
20355 builtin and then its argument prototype would still apply. */
20356 #ifdef __cplusplus
20357 extern "C"
20358 #endif
20359 char bindtextdomain ();
20360 int
20361 main ()
20362 {
20363 return bindtextdomain ();
20364 ;
20365 return 0;
20366 }
20367 _ACEOF
20368 if ac_fn_c_try_link "$LINENO"; then :
20369 ac_cv_lib_intl_bindtextdomain=yes
20370 else
20371 ac_cv_lib_intl_bindtextdomain=no
20372 fi
20373 rm -f core conftest.err conftest.$ac_objext \
20374 conftest$ac_exeext conftest.$ac_ext
20375 LIBS=$ac_check_lib_save_LIBS
20376 fi
20377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
20378 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
20379 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
20380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
20381 $as_echo_n "checking for ngettext in -lintl... " >&6; }
20382 if ${ac_cv_lib_intl_ngettext+:} false; then :
20383 $as_echo_n "(cached) " >&6
20384 else
20385 ac_check_lib_save_LIBS=$LIBS
20386 LIBS="-lintl $LIBS"
20387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20388 /* end confdefs.h. */
20389
20390 /* Override any GCC internal prototype to avoid an error.
20391 Use char because int might match the return type of a GCC
20392 builtin and then its argument prototype would still apply. */
20393 #ifdef __cplusplus
20394 extern "C"
20395 #endif
20396 char ngettext ();
20397 int
20398 main ()
20399 {
20400 return ngettext ();
20401 ;
20402 return 0;
20403 }
20404 _ACEOF
20405 if ac_fn_c_try_link "$LINENO"; then :
20406 ac_cv_lib_intl_ngettext=yes
20407 else
20408 ac_cv_lib_intl_ngettext=no
20409 fi
20410 rm -f core conftest.err conftest.$ac_objext \
20411 conftest$ac_exeext conftest.$ac_ext
20412 LIBS=$ac_check_lib_save_LIBS
20413 fi
20414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
20415 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
20416 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
20417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
20418 $as_echo_n "checking for dgettext in -lintl... " >&6; }
20419 if ${ac_cv_lib_intl_dgettext+:} false; then :
20420 $as_echo_n "(cached) " >&6
20421 else
20422 ac_check_lib_save_LIBS=$LIBS
20423 LIBS="-lintl $LIBS"
20424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20425 /* end confdefs.h. */
20426
20427 /* Override any GCC internal prototype to avoid an error.
20428 Use char because int might match the return type of a GCC
20429 builtin and then its argument prototype would still apply. */
20430 #ifdef __cplusplus
20431 extern "C"
20432 #endif
20433 char dgettext ();
20434 int
20435 main ()
20436 {
20437 return dgettext ();
20438 ;
20439 return 0;
20440 }
20441 _ACEOF
20442 if ac_fn_c_try_link "$LINENO"; then :
20443 ac_cv_lib_intl_dgettext=yes
20444 else
20445 ac_cv_lib_intl_dgettext=no
20446 fi
20447 rm -f core conftest.err conftest.$ac_objext \
20448 conftest$ac_exeext conftest.$ac_ext
20449 LIBS=$ac_check_lib_save_LIBS
20450 fi
20451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
20452 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
20453 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
20454 gt_cv_func_dgettext_libintl=yes
20455 fi
20456
20457 fi
20458
20459 fi
20460
20461
20462 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
20463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
20464 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
20465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
20466 $as_echo "" >&6; }
20467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
20468 $as_echo_n "checking for ngettext in -lintl... " >&6; }
20469 if ${ac_cv_lib_intl_ngettext+:} false; then :
20470 $as_echo_n "(cached) " >&6
20471 else
20472 ac_check_lib_save_LIBS=$LIBS
20473 LIBS="-lintl -liconv $LIBS"
20474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20475 /* end confdefs.h. */
20476
20477 /* Override any GCC internal prototype to avoid an error.
20478 Use char because int might match the return type of a GCC
20479 builtin and then its argument prototype would still apply. */
20480 #ifdef __cplusplus
20481 extern "C"
20482 #endif
20483 char ngettext ();
20484 int
20485 main ()
20486 {
20487 return ngettext ();
20488 ;
20489 return 0;
20490 }
20491 _ACEOF
20492 if ac_fn_c_try_link "$LINENO"; then :
20493 ac_cv_lib_intl_ngettext=yes
20494 else
20495 ac_cv_lib_intl_ngettext=no
20496 fi
20497 rm -f core conftest.err conftest.$ac_objext \
20498 conftest$ac_exeext conftest.$ac_ext
20499 LIBS=$ac_check_lib_save_LIBS
20500 fi
20501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
20502 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
20503 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
20504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
20505 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
20506 if ${ac_cv_lib_intl_dcgettext+:} false; then :
20507 $as_echo_n "(cached) " >&6
20508 else
20509 ac_check_lib_save_LIBS=$LIBS
20510 LIBS="-lintl -liconv $LIBS"
20511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20512 /* end confdefs.h. */
20513
20514 /* Override any GCC internal prototype to avoid an error.
20515 Use char because int might match the return type of a GCC
20516 builtin and then its argument prototype would still apply. */
20517 #ifdef __cplusplus
20518 extern "C"
20519 #endif
20520 char dcgettext ();
20521 int
20522 main ()
20523 {
20524 return dcgettext ();
20525 ;
20526 return 0;
20527 }
20528 _ACEOF
20529 if ac_fn_c_try_link "$LINENO"; then :
20530 ac_cv_lib_intl_dcgettext=yes
20531 else
20532 ac_cv_lib_intl_dcgettext=no
20533 fi
20534 rm -f core conftest.err conftest.$ac_objext \
20535 conftest$ac_exeext conftest.$ac_ext
20536 LIBS=$ac_check_lib_save_LIBS
20537 fi
20538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
20539 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
20540 if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
20541 gt_cv_func_dgettext_libintl=yes
20542 libintl_extra_libs=-liconv
20543 else
20544 :
20545 fi
20546
20547 else
20548 :
20549 fi
20550
20551 fi
20552
20553 #
20554 # If we found libintl, then check in it for bind_textdomain_codeset();
20555 # we'll prefer libc if neither have bind_textdomain_codeset(),
20556 # and both have dgettext and ngettext
20557 #
20558 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
20559 glib_save_LIBS="$LIBS"
20560 LIBS="$LIBS -lintl $libintl_extra_libs"
20561 unset ac_cv_func_bind_textdomain_codeset
20562 for ac_func in bind_textdomain_codeset
20563 do :
20564 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
20565 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
20566 cat >>confdefs.h <<_ACEOF
20567 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
20568 _ACEOF
20569
20570 fi
20571 done
20572
20573 LIBS="$glib_save_LIBS"
20574
20575 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
20576 gt_cv_func_dgettext_libc=no
20577 else
20578 if test "$gt_cv_func_dgettext_libc" = "yes" \
20579 && test "$gt_cv_func_ngettext_libc" = "yes"; then
20580 gt_cv_func_dgettext_libintl=no
20581 fi
20582 fi
20583 fi
20584 fi
20585
20586 if test "$gt_cv_func_dgettext_libc" = "yes" \
20587 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
20588 gt_cv_have_gettext=yes
20589 fi
20590
20591 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
20592 INTLLIBS="-lintl $libintl_extra_libs $INTL_MACOSX_LIBS"
20593 fi
20594
20595 if test "$gt_cv_have_gettext" = "yes"; then
20596
20597 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
20598
20599 # Extract the first word of "msgfmt", so it can be a program name with args.
20600 set dummy msgfmt; ac_word=$2
20601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20602 $as_echo_n "checking for $ac_word... " >&6; }
20603 if ${ac_cv_path_MSGFMT+:} false; then :
20604 $as_echo_n "(cached) " >&6
20605 else
20606 case "$MSGFMT" in
20607 /*)
20608 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
20609 ;;
20610 *)
20611 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
20612 for ac_dir in $PATH; do
20613 test -z "$ac_dir" && ac_dir=.
20614 if test -f $ac_dir/$ac_word; then
20615 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
20616 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
20617 break
20618 fi
20619 fi
20620 done
20621 IFS="$ac_save_ifs"
20622 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
20623 ;;
20624 esac
20625 fi
20626 MSGFMT="$ac_cv_path_MSGFMT"
20627 if test "$MSGFMT" != "no"; then
20628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
20629 $as_echo "$MSGFMT" >&6; }
20630 else
20631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20632 $as_echo "no" >&6; }
20633 fi
20634 if test "$MSGFMT" != "no"; then
20635 glib_save_LIBS="$LIBS"
20636 LIBS="$LIBS $INTLLIBS"
20637 for ac_func in dcgettext
20638 do :
20639 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
20640 if test "x$ac_cv_func_dcgettext" = xyes; then :
20641 cat >>confdefs.h <<_ACEOF
20642 #define HAVE_DCGETTEXT 1
20643 _ACEOF
20644
20645 fi
20646 done
20647
20648 MSGFMT_OPTS=
20649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
20650 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
20651 cat >conftest.foo <<_ACEOF
20652
20653 msgid ""
20654 msgstr ""
20655 "Content-Type: text/plain; charset=UTF-8\n"
20656 "Project-Id-Version: test 1.0\n"
20657 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
20658 "Last-Translator: test <[email protected]>\n"
20659 "Language-Team: C <[email protected]>\n"
20660 "MIME-Version: 1.0\n"
20661 "Content-Transfer-Encoding: 8bit\n"
20662
20663 _ACEOF
20664 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
20665 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
20666 ac_status=$?
20667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20668 test $ac_status = 0; }; then
20669 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20670 $as_echo "yes" >&6; }
20671 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20672 $as_echo "no" >&6; }
20673 echo "$as_me: failed input was:" >&5
20674 sed 's/^/| /' conftest.foo >&5
20675 fi
20676
20677 # Extract the first word of "gmsgfmt", so it can be a program name with args.
20678 set dummy gmsgfmt; ac_word=$2
20679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20680 $as_echo_n "checking for $ac_word... " >&6; }
20681 if ${ac_cv_path_GMSGFMT+:} false; then :
20682 $as_echo_n "(cached) " >&6
20683 else
20684 case $GMSGFMT in
20685 [\\/]* | ?:[\\/]*)
20686 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
20687 ;;
20688 *)
20689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20690 for as_dir in $PATH
20691 do
20692 IFS=$as_save_IFS
20693 test -z "$as_dir" && as_dir=.
20694 for ac_exec_ext in '' $ac_executable_extensions; do
20695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20696 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
20697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20698 break 2
20699 fi
20700 done
20701 done
20702 IFS=$as_save_IFS
20703
20704 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
20705 ;;
20706 esac
20707 fi
20708 GMSGFMT=$ac_cv_path_GMSGFMT
20709 if test -n "$GMSGFMT"; then
20710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
20711 $as_echo "$GMSGFMT" >&6; }
20712 else
20713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20714 $as_echo "no" >&6; }
20715 fi
20716
20717
20718 # Extract the first word of "xgettext", so it can be a program name with args.
20719 set dummy xgettext; ac_word=$2
20720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20721 $as_echo_n "checking for $ac_word... " >&6; }
20722 if ${ac_cv_path_XGETTEXT+:} false; then :
20723 $as_echo_n "(cached) " >&6
20724 else
20725 case "$XGETTEXT" in
20726 /*)
20727 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
20728 ;;
20729 *)
20730 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
20731 for ac_dir in $PATH; do
20732 test -z "$ac_dir" && ac_dir=.
20733 if test -f $ac_dir/$ac_word; then
20734 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
20735 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
20736 break
20737 fi
20738 fi
20739 done
20740 IFS="$ac_save_ifs"
20741 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
20742 ;;
20743 esac
20744 fi
20745 XGETTEXT="$ac_cv_path_XGETTEXT"
20746 if test "$XGETTEXT" != ":"; then
20747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
20748 $as_echo "$XGETTEXT" >&6; }
20749 else
20750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20751 $as_echo "no" >&6; }
20752 fi
20753
20754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20755 /* end confdefs.h. */
20756
20757 int
20758 main ()
20759 {
20760 extern int _nl_msg_cat_cntr;
20761 return _nl_msg_cat_cntr
20762 ;
20763 return 0;
20764 }
20765 _ACEOF
20766 if ac_fn_c_try_link "$LINENO"; then :
20767 CATOBJEXT=.gmo
20768 DATADIRNAME=share
20769 else
20770 case $host in
20771 *-*-solaris*)
20772 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
20773 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
20774 CATOBJEXT=.gmo
20775 DATADIRNAME=share
20776 else
20777 CATOBJEXT=.mo
20778 DATADIRNAME=lib
20779 fi
20780
20781 ;;
20782 *-*-openbsd*)
20783 CATOBJEXT=.mo
20784 DATADIRNAME=share
20785 ;;
20786 *)
20787 CATOBJEXT=.mo
20788 DATADIRNAME=lib
20789 ;;
20790 esac
20791 fi
20792 rm -f core conftest.err conftest.$ac_objext \
20793 conftest$ac_exeext conftest.$ac_ext
20794 LIBS="$glib_save_LIBS"
20795 INSTOBJEXT=.mo
20796 else
20797 gt_cv_have_gettext=no
20798 fi
20799 fi
20800
20801 fi
20802
20803
20804
20805 if test "$gt_cv_have_gettext" = "yes" ; then
20806
20807 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
20808
20809 fi
20810
20811 if test "$XGETTEXT" != ":"; then
20812 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
20813 : ;
20814 else
20815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
20816 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
20817 XGETTEXT=":"
20818 fi
20819 fi
20820
20821 # We need to process the po/ directory.
20822 POSUB=po
20823
20824 ac_config_commands="$ac_config_commands default-1"
20825
20826
20827 for lang in $ALL_LINGUAS; do
20828 GMOFILES="$GMOFILES $lang.gmo"
20829 POFILES="$POFILES $lang.po"
20830 done
20831
20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844 if test "$gt_cv_have_gettext" = "yes"; then
20845 if test "x$ALL_LINGUAS" = "x"; then
20846 LINGUAS=
20847 else
20848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
20849 $as_echo_n "checking for catalogs to be installed... " >&6; }
20850 NEW_LINGUAS=
20851 for presentlang in $ALL_LINGUAS; do
20852 useit=no
20853 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
20854 desiredlanguages="$LINGUAS"
20855 else
20856 desiredlanguages="$ALL_LINGUAS"
20857 fi
20858 for desiredlang in $desiredlanguages; do
20859 # Use the presentlang catalog if desiredlang is
20860 # a. equal to presentlang, or
20861 # b. a variant of presentlang (because in this case,
20862 # presentlang can be used as a fallback for messages
20863 # which are not translated in the desiredlang catalog).
20864 case "$desiredlang" in
20865 "$presentlang"*) useit=yes;;
20866 esac
20867 done
20868 if test $useit = yes; then
20869 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
20870 fi
20871 done
20872 LINGUAS=$NEW_LINGUAS
20873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
20874 $as_echo "$LINGUAS" >&6; }
20875 fi
20876
20877 if test -n "$LINGUAS"; then
20878 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
20879 fi
20880 fi
20881
20882 MKINSTALLDIRS=
20883 if test -n "$ac_aux_dir"; then
20884 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
20885 fi
20886 if test -z "$MKINSTALLDIRS"; then
20887 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
20888 fi
20889
20890
20891 test -d po || mkdir po
20892 if test "x$srcdir" != "x."; then
20893 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
20894 posrcprefix="$srcdir/"
20895 else
20896 posrcprefix="../$srcdir/"
20897 fi
20898 else
20899 posrcprefix="../"
20900 fi
20901 rm -f po/POTFILES
20902 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
20903 < $srcdir/po/POTFILES.in > po/POTFILES
20904
20905 LIBS="$LIBS $INTLLIBS"
20906 ac_config_commands="$ac_config_commands default-2"
20907
20908
20909 test -d po-properties || mkdir po-properties
20910 if test "x$srcdir" != "x."; then
20911 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
20912 popropsrcprefix="$srcdir/"
20913 else
20914 popropsrcprefix="../$srcdir/"
20915 fi
20916 else
20917 popropsrcprefix="../"
20918 fi
20919 rm -f po-properties/POTFILES
20920 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $popropsrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
20921 < $srcdir/po-properties/POTFILES.in > po-properties/POTFILES
20922
20923 glib_save_prefix="$prefix"
20924 glib_save_exec_prefix="$exec_prefix"
20925 glib_save_datarootdir="$datarootdir"
20926 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20927 test "x$exec_prefix" = xNONE && exec_prefix=$prefix
20928 datarootdir=`eval echo "${datarootdir}"`
20929 if test "x$CATOBJEXT" = "x.mo" ; then
20930 localedir=`eval echo "${libdir}/locale"`
20931 else
20932 localedir=`eval echo "${datadir}/locale"`
20933 fi
20934 prefix="$glib_save_prefix"
20935 exec_prefix="$glib_save_exec_prefix"
20936 datarootdir="$glib_save_datarootdir"
20937
20938 cat >>confdefs.h <<_ACEOF
20939 #define GTK_LOCALEDIR "$localedir"
20940 _ACEOF
20941
20942
20943
20944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra flags to get ANSI library prototypes" >&5
20945 $as_echo_n "checking for extra flags to get ANSI library prototypes... " >&6; }
20946
20947 gtk_save_LIBS=$LIBS
20948 LIBS="$LIBS -lm"
20949 if test "$cross_compiling" = yes; then :
20950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
20951 $as_echo "none needed" >&6; }
20952
20953 else
20954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20955 /* end confdefs.h. */
20956 #include <math.h>
20957 int main (void) { return (log(1) != log(1.)); }
20958 _ACEOF
20959 if ac_fn_c_try_run "$LINENO"; then :
20960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
20961 $as_echo "none needed" >&6; }
20962 else
20963 gtk_save_CFLAGS="$CFLAGS"
20964 CFLAGS="$CFLAGS -std1"
20965 if test "$cross_compiling" = yes; then :
20966 true
20967
20968 else
20969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20970 /* end confdefs.h. */
20971 #include <math.h>
20972 int main (void) { return (log(1) != log(1.)); }
20973 _ACEOF
20974 if ac_fn_c_try_run "$LINENO"; then :
20975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: -std1" >&5
20976 $as_echo "-std1" >&6; }
20977 else
20978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
20979 $as_echo "" >&6; }
20980 CFLAGS="$gtk_save_CFLAGS"
20981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No ANSI prototypes found in library. (-std1 didn't work.)" >&5
20982 $as_echo "$as_me: WARNING: No ANSI prototypes found in library. (-std1 didn't work.)" >&2;}
20983 fi
20984 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20985 conftest.$ac_objext conftest.beam conftest.$ac_ext
20986 fi
20987
20988 fi
20989 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20990 conftest.$ac_objext conftest.beam conftest.$ac_ext
20991 fi
20992
20993 LIBS=$gtk_save_LIBS
20994
20995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the BeOS" >&5
20996 $as_echo_n "checking for the BeOS... " >&6; }
20997 case $host in
20998 *-*-beos*)
20999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21000 $as_echo "yes" >&6; }
21001 MATH_LIB=
21002 ;;
21003 *)
21004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21005 $as_echo "no" >&6; }
21006 ;;
21007 esac
21008
21009
21010 #
21011 # see bug 162979
21012 #
21013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HP-UX" >&5
21014 $as_echo_n "checking for HP-UX... " >&6; }
21015 case $host_os in
21016 hpux9* | hpux10* | hpux11*)
21017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21018 $as_echo "yes" >&6; }
21019 CFLAGS="$CFLAGS -DHPPEX -DSHMLINK"
21020 ;;
21021 *)
21022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21023 $as_echo "no" >&6; }
21024 ;;
21025 esac
21026
21027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra flags for POSIX compliance" >&5
21028 $as_echo_n "checking for extra flags for POSIX compliance... " >&6; }
21029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21030 /* end confdefs.h. */
21031 #include <dirent.h>
21032 int
21033 main ()
21034 {
21035 DIR *dir;
21036 ;
21037 return 0;
21038 }
21039 _ACEOF
21040 if ac_fn_c_try_compile "$LINENO"; then :
21041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
21042 $as_echo "none needed" >&6; }
21043 else
21044 gtk_save_CFLAGS="$CFLAGS"
21045 CFLAGS="$CFLAGS -posix"
21046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21047 /* end confdefs.h. */
21048 #include <dirent.h>
21049 int
21050 main ()
21051 {
21052 DIR *dir;
21053 ;
21054 return 0;
21055 }
21056 _ACEOF
21057 if ac_fn_c_try_compile "$LINENO"; then :
21058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: -posix" >&5
21059 $as_echo "-posix" >&6; }
21060 else
21061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
21062 $as_echo "" >&6; }
21063 CFLAGS="$gtk_save_CFLAGS"
21064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine POSIX flag. (-posix didn't work.)" >&5
21065 $as_echo "$as_me: WARNING: Could not determine POSIX flag. (-posix didn't work.)" >&2;}
21066 fi
21067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21068 fi
21069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21070
21071 #
21072 # Run AM_PATH_GLIB_2_0 to make sure that GLib is installed and working
21073 #
21074
21075 GLIB_PACKAGES="gobject-2.0 gio-2.0 gmodule-no-export-2.0"
21076
21077
21078
21079
21080 # Check whether --enable-glibtest was given.
21081 if test "${enable_glibtest+set}" = set; then :
21082 enableval=$enable_glibtest;
21083 else
21084 enable_glibtest=yes
21085 fi
21086
21087
21088 min_glib_version=2.28.0
21089 pkg_config_args="glib-2.0 >= $min_glib_version"
21090 for module in . gobject gmodule-no-export gthread
21091 do
21092 case "$module" in
21093 gmodule)
21094 pkg_config_args="$pkg_config_args gmodule-2.0"
21095 ;;
21096 gmodule-no-export)
21097 pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
21098 ;;
21099 gobject)
21100 pkg_config_args="$pkg_config_args gobject-2.0"
21101 ;;
21102 gthread)
21103 pkg_config_args="$pkg_config_args gthread-2.0"
21104 ;;
21105 gio*)
21106 pkg_config_args="$pkg_config_args $module-2.0"
21107 ;;
21108 esac
21109 done
21110
21111
21112
21113
21114
21115
21116
21117
21118 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
21119 if test -n "$ac_tool_prefix"; then
21120 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21121 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
21122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21123 $as_echo_n "checking for $ac_word... " >&6; }
21124 if ${ac_cv_path_PKG_CONFIG+:} false; then :
21125 $as_echo_n "(cached) " >&6
21126 else
21127 case $PKG_CONFIG in
21128 [\\/]* | ?:[\\/]*)
21129 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21130 ;;
21131 *)
21132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21133 for as_dir in $PATH
21134 do
21135 IFS=$as_save_IFS
21136 test -z "$as_dir" && as_dir=.
21137 for ac_exec_ext in '' $ac_executable_extensions; do
21138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21139 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21141 break 2
21142 fi
21143 done
21144 done
21145 IFS=$as_save_IFS
21146
21147 ;;
21148 esac
21149 fi
21150 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21151 if test -n "$PKG_CONFIG"; then
21152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
21153 $as_echo "$PKG_CONFIG" >&6; }
21154 else
21155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21156 $as_echo "no" >&6; }
21157 fi
21158
21159
21160 fi
21161 if test -z "$ac_cv_path_PKG_CONFIG"; then
21162 ac_pt_PKG_CONFIG=$PKG_CONFIG
21163 # Extract the first word of "pkg-config", so it can be a program name with args.
21164 set dummy pkg-config; ac_word=$2
21165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21166 $as_echo_n "checking for $ac_word... " >&6; }
21167 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
21168 $as_echo_n "(cached) " >&6
21169 else
21170 case $ac_pt_PKG_CONFIG in
21171 [\\/]* | ?:[\\/]*)
21172 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
21173 ;;
21174 *)
21175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21176 for as_dir in $PATH
21177 do
21178 IFS=$as_save_IFS
21179 test -z "$as_dir" && as_dir=.
21180 for ac_exec_ext in '' $ac_executable_extensions; do
21181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21182 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21184 break 2
21185 fi
21186 done
21187 done
21188 IFS=$as_save_IFS
21189
21190 ;;
21191 esac
21192 fi
21193 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
21194 if test -n "$ac_pt_PKG_CONFIG"; then
21195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
21196 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
21197 else
21198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21199 $as_echo "no" >&6; }
21200 fi
21201
21202 if test "x$ac_pt_PKG_CONFIG" = x; then
21203 PKG_CONFIG=""
21204 else
21205 case $cross_compiling:$ac_tool_warned in
21206 yes:)
21207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21208 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21209 ac_tool_warned=yes ;;
21210 esac
21211 PKG_CONFIG=$ac_pt_PKG_CONFIG
21212 fi
21213 else
21214 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
21215 fi
21216
21217 fi
21218 if test -n "$PKG_CONFIG"; then
21219 _pkg_min_version=0.16
21220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
21221 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
21222 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
21223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21224 $as_echo "yes" >&6; }
21225 else
21226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21227 $as_echo "no" >&6; }
21228 PKG_CONFIG=""
21229 fi
21230 fi
21231
21232 no_glib=""
21233
21234 if test "x$PKG_CONFIG" = x ; then
21235 no_glib=yes
21236 PKG_CONFIG=no
21237 fi
21238
21239
21240 pkg_failed=no
21241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
21242 $as_echo_n "checking for GLIB... " >&6; }
21243
21244 if test -n "$GLIB_CFLAGS"; then
21245 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
21246 elif test -n "$PKG_CONFIG"; then
21247 if test -n "$PKG_CONFIG" && \
21248 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_config_args\""; } >&5
21249 ($PKG_CONFIG --exists --print-errors "$pkg_config_args") 2>&5
21250 ac_status=$?
21251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21252 test $ac_status = 0; }; then
21253 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$pkg_config_args" 2>/dev/null`
21254 test "x$?" != "x0" && pkg_failed=yes
21255 else
21256 pkg_failed=yes
21257 fi
21258 else
21259 pkg_failed=untried
21260 fi
21261 if test -n "$GLIB_LIBS"; then
21262 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
21263 elif test -n "$PKG_CONFIG"; then
21264 if test -n "$PKG_CONFIG" && \
21265 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_config_args\""; } >&5
21266 ($PKG_CONFIG --exists --print-errors "$pkg_config_args") 2>&5
21267 ac_status=$?
21268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21269 test $ac_status = 0; }; then
21270 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$pkg_config_args" 2>/dev/null`
21271 test "x$?" != "x0" && pkg_failed=yes
21272 else
21273 pkg_failed=yes
21274 fi
21275 else
21276 pkg_failed=untried
21277 fi
21278
21279
21280
21281 if test $pkg_failed = yes; then
21282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21283 $as_echo "no" >&6; }
21284
21285 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21286 _pkg_short_errors_supported=yes
21287 else
21288 _pkg_short_errors_supported=no
21289 fi
21290 if test $_pkg_short_errors_supported = yes; then
21291 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$pkg_config_args" 2>&1`
21292 else
21293 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$pkg_config_args" 2>&1`
21294 fi
21295 # Put the nasty error message in config.log where it belongs
21296 echo "$GLIB_PKG_ERRORS" >&5
21297
21298 :
21299 elif test $pkg_failed = untried; then
21300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21301 $as_echo "no" >&6; }
21302 :
21303 else
21304 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
21305 GLIB_LIBS=$pkg_cv_GLIB_LIBS
21306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21307 $as_echo "yes" >&6; }
21308 :
21309 fi
21310
21311
21312 if test -n "$GLIB_GENMARSHAL"; then
21313 pkg_cv_GLIB_GENMARSHAL="$GLIB_GENMARSHAL"
21314 elif test -n "$PKG_CONFIG"; then
21315 if test -n "$PKG_CONFIG" && \
21316 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
21317 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
21318 ac_status=$?
21319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21320 test $ac_status = 0; }; then
21321 pkg_cv_GLIB_GENMARSHAL=`$PKG_CONFIG --variable="glib_genmarshal" "glib-2.0" 2>/dev/null`
21322 test "x$?" != "x0" && pkg_failed=yes
21323 else
21324 pkg_failed=yes
21325 fi
21326 else
21327 pkg_failed=untried
21328 fi
21329 GLIB_GENMARSHAL=$pkg_cv_GLIB_GENMARSHAL
21330
21331 if test "x$GLIB_GENMARSHAL" = x""; then :
21332
21333 fi
21334
21335 if test -n "$GOBJECT_QUERY"; then
21336 pkg_cv_GOBJECT_QUERY="$GOBJECT_QUERY"
21337 elif test -n "$PKG_CONFIG"; then
21338 if test -n "$PKG_CONFIG" && \
21339 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
21340 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
21341 ac_status=$?
21342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21343 test $ac_status = 0; }; then
21344 pkg_cv_GOBJECT_QUERY=`$PKG_CONFIG --variable="gobject_query" "glib-2.0" 2>/dev/null`
21345 test "x$?" != "x0" && pkg_failed=yes
21346 else
21347 pkg_failed=yes
21348 fi
21349 else
21350 pkg_failed=untried
21351 fi
21352 GOBJECT_QUERY=$pkg_cv_GOBJECT_QUERY
21353
21354 if test "x$GOBJECT_QUERY" = x""; then :
21355
21356 fi
21357
21358 if test -n "$GLIB_MKENUMS"; then
21359 pkg_cv_GLIB_MKENUMS="$GLIB_MKENUMS"
21360 elif test -n "$PKG_CONFIG"; then
21361 if test -n "$PKG_CONFIG" && \
21362 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
21363 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
21364 ac_status=$?
21365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21366 test $ac_status = 0; }; then
21367 pkg_cv_GLIB_MKENUMS=`$PKG_CONFIG --variable="glib_mkenums" "glib-2.0" 2>/dev/null`
21368 test "x$?" != "x0" && pkg_failed=yes
21369 else
21370 pkg_failed=yes
21371 fi
21372 else
21373 pkg_failed=untried
21374 fi
21375 GLIB_MKENUMS=$pkg_cv_GLIB_MKENUMS
21376
21377 if test "x$GLIB_MKENUMS" = x""; then :
21378
21379 fi
21380
21381 if test -n "$GLIB_COMPILE_RESOURCES"; then
21382 pkg_cv_GLIB_COMPILE_RESOURCES="$GLIB_COMPILE_RESOURCES"
21383 elif test -n "$PKG_CONFIG"; then
21384 if test -n "$PKG_CONFIG" && \
21385 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
21386 ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
21387 ac_status=$?
21388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21389 test $ac_status = 0; }; then
21390 pkg_cv_GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable="glib_compile_resources" "gio-2.0" 2>/dev/null`
21391 test "x$?" != "x0" && pkg_failed=yes
21392 else
21393 pkg_failed=yes
21394 fi
21395 else
21396 pkg_failed=untried
21397 fi
21398 GLIB_COMPILE_RESOURCES=$pkg_cv_GLIB_COMPILE_RESOURCES
21399
21400 if test "x$GLIB_COMPILE_RESOURCES" = x""; then :
21401
21402 fi
21403
21404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
21405 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
21406
21407 if test x$PKG_CONFIG != xno ; then
21408 ## don't try to run the test against uninstalled libtool libs
21409 if $PKG_CONFIG --uninstalled $pkg_config_args; then
21410 echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
21411 enable_glibtest=no
21412 fi
21413
21414 if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
21415 :
21416 else
21417 no_glib=yes
21418 fi
21419 fi
21420
21421 if test x"$no_glib" = x ; then
21422 glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
21423 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21424 glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
21425 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21426 glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
21427 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21428 if test "x$enable_glibtest" = "xyes" ; then
21429 ac_save_CFLAGS="$CFLAGS"
21430 ac_save_LIBS="$LIBS"
21431 CFLAGS="$CFLAGS $GLIB_CFLAGS"
21432 LIBS="$GLIB_LIBS $LIBS"
21433 rm -f conf.glibtest
21434 if test "$cross_compiling" = yes; then :
21435 echo $ac_n "cross compiling; assumed OK... $ac_c"
21436 else
21437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21438 /* end confdefs.h. */
21439
21440 #include <glib.h>
21441 #include <stdio.h>
21442 #include <stdlib.h>
21443
21444 int
21445 main (void)
21446 {
21447 unsigned int major, minor, micro;
21448
21449 fclose (fopen ("conf.glibtest", "w"));
21450
21451 if (sscanf("$min_glib_version", "%u.%u.%u", &major, &minor, &micro) != 3) {
21452 printf("%s, bad version string\n", "$min_glib_version");
21453 exit(1);
21454 }
21455
21456 if ((glib_major_version != $glib_config_major_version) ||
21457 (glib_minor_version != $glib_config_minor_version) ||
21458 (glib_micro_version != $glib_config_micro_version))
21459 {
21460 printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
21461 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
21462 glib_major_version, glib_minor_version, glib_micro_version);
21463 printf ("*** was found! If pkg-config was correct, then it is best\n");
21464 printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
21465 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
21466 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21467 printf("*** required on your system.\n");
21468 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
21469 printf("*** to point to the correct configuration files\n");
21470 }
21471 else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
21472 (glib_minor_version != GLIB_MINOR_VERSION) ||
21473 (glib_micro_version != GLIB_MICRO_VERSION))
21474 {
21475 printf("*** GLib header files (version %d.%d.%d) do not match\n",
21476 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
21477 printf("*** library (version %d.%d.%d)\n",
21478 glib_major_version, glib_minor_version, glib_micro_version);
21479 }
21480 else
21481 {
21482 if ((glib_major_version > major) ||
21483 ((glib_major_version == major) && (glib_minor_version > minor)) ||
21484 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
21485 {
21486 return 0;
21487 }
21488 else
21489 {
21490 printf("\n*** An old version of GLib (%u.%u.%u) was found.\n",
21491 glib_major_version, glib_minor_version, glib_micro_version);
21492 printf("*** You need a version of GLib newer than %u.%u.%u. The latest version of\n",
21493 major, minor, micro);
21494 printf("*** GLib is always available from ftp://ftp.gtk.org.\n");
21495 printf("***\n");
21496 printf("*** If you have already installed a sufficiently new version, this error\n");
21497 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
21498 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21499 printf("*** of GLib, but you can also set the PKG_CONFIG environment to point to the\n");
21500 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
21501 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
21502 printf("*** so that the correct libraries are found at run-time))\n");
21503 }
21504 }
21505 return 1;
21506 }
21507
21508 _ACEOF
21509 if ac_fn_c_try_run "$LINENO"; then :
21510
21511 else
21512 no_glib=yes
21513 fi
21514 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21515 conftest.$ac_objext conftest.beam conftest.$ac_ext
21516 fi
21517
21518 CFLAGS="$ac_save_CFLAGS"
21519 LIBS="$ac_save_LIBS"
21520 fi
21521 fi
21522 if test "x$no_glib" = x ; then
21523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
21524 $as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
21525 :
21526 else
21527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21528 $as_echo "no" >&6; }
21529 if test "$PKG_CONFIG" = "no" ; then
21530 echo "*** A new enough version of pkg-config was not found."
21531 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
21532 else
21533 if test -f conf.glibtest ; then
21534 :
21535 else
21536 echo "*** Could not run GLib test program, checking why..."
21537 ac_save_CFLAGS="$CFLAGS"
21538 ac_save_LIBS="$LIBS"
21539 CFLAGS="$CFLAGS $GLIB_CFLAGS"
21540 LIBS="$LIBS $GLIB_LIBS"
21541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21542 /* end confdefs.h. */
21543
21544 #include <glib.h>
21545 #include <stdio.h>
21546
21547 int
21548 main ()
21549 {
21550 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
21551 ;
21552 return 0;
21553 }
21554 _ACEOF
21555 if ac_fn_c_try_link "$LINENO"; then :
21556 echo "*** The test program compiled, but did not run. This usually means"
21557 echo "*** that the run-time linker is not finding GLib or finding the wrong"
21558 echo "*** version of GLib. If it is not finding GLib, you'll need to set your"
21559 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21560 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21561 echo "*** is required on your system"
21562 echo "***"
21563 echo "*** If you have an old version installed, it is best to remove it, although"
21564 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21565 else
21566 echo "*** The test program failed to compile or link. See the file config.log for the"
21567 echo "*** exact error that occurred. This usually means GLib is incorrectly installed."
21568 fi
21569 rm -f core conftest.err conftest.$ac_objext \
21570 conftest$ac_exeext conftest.$ac_ext
21571 CFLAGS="$ac_save_CFLAGS"
21572 LIBS="$ac_save_LIBS"
21573 fi
21574 fi
21575 GLIB_CFLAGS=""
21576 GLIB_LIBS=""
21577 GLIB_GENMARSHAL=""
21578 GOBJECT_QUERY=""
21579 GLIB_MKENUMS=""
21580 GLIB_COMPILE_RESOURCES=""
21581 as_fn_error $? "
21582 *** GLIB 2.28.0 or better is required. The latest version of
21583 *** GLIB is always available from ftp://ftp.gtk.org/pub/gtk/." "$LINENO" 5
21584 fi
21585 rm -f conf.glibtest
21586
21587
21588 # See if it's safe to turn G_DISABLE_DEPRECATED on.
21589 GLIB_VERSION_MAJOR_MINOR=`$PKG_CONFIG --modversion glib-2.0 | sed "s/\.[^.]*\$//"`
21590 GLIB_REQUIRED_VERSION_MAJOR_MINOR=`echo 2.28.0 | sed "s/\.[^.]*\$//"`
21591 if test "x$GLIB_VERSION_MAJOR_MINOR" = "x$GLIB_REQUIRED_VERSION_MAJOR_MINOR"; then
21592 CFLAGS="-DG_DISABLE_DEPRECATED $CFLAGS"
21593 fi
21594
21595
21596 gtk_save_LIBS=$LIBS
21597 LIBS="$LIBS $GLIB_LIBS"
21598 for ac_func in bind_textdomain_codeset
21599 do :
21600 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
21601 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
21602 cat >>confdefs.h <<_ACEOF
21603 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
21604 _ACEOF
21605
21606 fi
21607 done
21608
21609 LIBS=$gtk_save_LIBS
21610
21611 for ac_header in pwd.h
21612 do :
21613 ac_fn_c_check_header_mongrel "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
21614 if test "x$ac_cv_header_pwd_h" = xyes; then :
21615 cat >>confdefs.h <<_ACEOF
21616 #define HAVE_PWD_H 1
21617 _ACEOF
21618
21619 $as_echo "#define HAVE_PWD_H 1" >>confdefs.h
21620
21621 fi
21622
21623 done
21624
21625 for ac_header in sys/time.h
21626 do :
21627 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
21628 if test "x$ac_cv_header_sys_time_h" = xyes; then :
21629 cat >>confdefs.h <<_ACEOF
21630 #define HAVE_SYS_TIME_H 1
21631 _ACEOF
21632
21633 $as_echo "#define HAVE_SYS_TIME_H 1" >>confdefs.h
21634
21635 fi
21636
21637 done
21638
21639 for ac_header in unistd.h
21640 do :
21641 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21642 if test "x$ac_cv_header_unistd_h" = xyes; then :
21643 cat >>confdefs.h <<_ACEOF
21644 #define HAVE_UNISTD_H 1
21645 _ACEOF
21646
21647 $as_echo "#define HAVE_UNISTD_H 1" >>confdefs.h
21648
21649 fi
21650
21651 done
21652
21653 for ac_header in ftw.h
21654 do :
21655 ac_fn_c_check_header_mongrel "$LINENO" "ftw.h" "ac_cv_header_ftw_h" "$ac_includes_default"
21656 if test "x$ac_cv_header_ftw_h" = xyes; then :
21657 cat >>confdefs.h <<_ACEOF
21658 #define HAVE_FTW_H 1
21659 _ACEOF
21660
21661 $as_echo "#define HAVE_FTW_H 1" >>confdefs.h
21662
21663 fi
21664
21665 done
21666
21667
21668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ftw extensions" >&5
21669 $as_echo_n "checking for GNU ftw extensions... " >&6; }
21670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21671 /* end confdefs.h. */
21672 #define _XOPEN_SOURCE 500
21673 #define _GNU_SOURCE
21674 #include <ftw.h>
21675 int
21676 main ()
21677 {
21678 int flags = FTW_ACTIONRETVAL;
21679 ;
21680 return 0;
21681 }
21682 _ACEOF
21683 if ac_fn_c_try_compile "$LINENO"; then :
21684 gtk_ok=yes
21685 else
21686 gtk_ok=no
21687 fi
21688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21689 if test $gtk_ok = yes; then
21690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21691 $as_echo "yes" >&6; }
21692
21693 $as_echo "#define HAVE_GNU_FTW 1" >>confdefs.h
21694
21695 else
21696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21697 $as_echo "no" >&6; }
21698 fi
21699
21700 saved_cflags="$CFLAGS"
21701 saved_ldflags="$LDFLAGS"
21702
21703
21704 # Checks for header files.
21705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
21706 $as_echo_n "checking for ANSI C header files... " >&6; }
21707 if ${ac_cv_header_stdc+:} false; then :
21708 $as_echo_n "(cached) " >&6
21709 else
21710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21711 /* end confdefs.h. */
21712 #include <stdlib.h>
21713 #include <stdarg.h>
21714 #include <string.h>
21715 #include <float.h>
21716
21717 int
21718 main ()
21719 {
21720
21721 ;
21722 return 0;
21723 }
21724 _ACEOF
21725 if ac_fn_c_try_compile "$LINENO"; then :
21726 ac_cv_header_stdc=yes
21727 else
21728 ac_cv_header_stdc=no
21729 fi
21730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21731
21732 if test $ac_cv_header_stdc = yes; then
21733 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21735 /* end confdefs.h. */
21736 #include <string.h>
21737
21738 _ACEOF
21739 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21740 $EGREP "memchr" >/dev/null 2>&1; then :
21741
21742 else
21743 ac_cv_header_stdc=no
21744 fi
21745 rm -f conftest*
21746
21747 fi
21748
21749 if test $ac_cv_header_stdc = yes; then
21750 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21752 /* end confdefs.h. */
21753 #include <stdlib.h>
21754
21755 _ACEOF
21756 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21757 $EGREP "free" >/dev/null 2>&1; then :
21758
21759 else
21760 ac_cv_header_stdc=no
21761 fi
21762 rm -f conftest*
21763
21764 fi
21765
21766 if test $ac_cv_header_stdc = yes; then
21767 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21768 if test "$cross_compiling" = yes; then :
21769 :
21770 else
21771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21772 /* end confdefs.h. */
21773 #include <ctype.h>
21774 #include <stdlib.h>
21775 #if ((' ' & 0x0FF) == 0x020)
21776 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21777 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21778 #else
21779 # define ISLOWER(c) \
21780 (('a' <= (c) && (c) <= 'i') \
21781 || ('j' <= (c) && (c) <= 'r') \
21782 || ('s' <= (c) && (c) <= 'z'))
21783 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21784 #endif
21785
21786 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21787 int
21788 main ()
21789 {
21790 int i;
21791 for (i = 0; i < 256; i++)
21792 if (XOR (islower (i), ISLOWER (i))
21793 || toupper (i) != TOUPPER (i))
21794 return 2;
21795 return 0;
21796 }
21797 _ACEOF
21798 if ac_fn_c_try_run "$LINENO"; then :
21799
21800 else
21801 ac_cv_header_stdc=no
21802 fi
21803 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21804 conftest.$ac_objext conftest.beam conftest.$ac_ext
21805 fi
21806
21807 fi
21808 fi
21809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
21810 $as_echo "$ac_cv_header_stdc" >&6; }
21811 if test $ac_cv_header_stdc = yes; then
21812
21813 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
21814
21815 fi
21816
21817
21818 # Checks for typedefs, structures, and compiler characteristics.
21819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
21820 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
21821 if ${ac_cv_c_const+:} false; then :
21822 $as_echo_n "(cached) " >&6
21823 else
21824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21825 /* end confdefs.h. */
21826
21827 int
21828 main ()
21829 {
21830
21831 #ifndef __cplusplus
21832 /* Ultrix mips cc rejects this sort of thing. */
21833 typedef int charset[2];
21834 const charset cs = { 0, 0 };
21835 /* SunOS 4.1.1 cc rejects this. */
21836 char const *const *pcpcc;
21837 char **ppc;
21838 /* NEC SVR4.0.2 mips cc rejects this. */
21839 struct point {int x, y;};
21840 static struct point const zero = {0,0};
21841 /* AIX XL C 1.02.0.0 rejects this.
21842 It does not let you subtract one const X* pointer from another in
21843 an arm of an if-expression whose if-part is not a constant
21844 expression */
21845 const char *g = "string";
21846 pcpcc = &g + (g ? g-g : 0);
21847 /* HPUX 7.0 cc rejects these. */
21848 ++pcpcc;
21849 ppc = (char**) pcpcc;
21850 pcpcc = (char const *const *) ppc;
21851 { /* SCO 3.2v4 cc rejects this sort of thing. */
21852 char tx;
21853 char *t = &tx;
21854 char const *s = 0 ? (char *) 0 : (char const *) 0;
21855
21856 *t++ = 0;
21857 if (s) return 0;
21858 }
21859 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21860 int x[] = {25, 17};
21861 const int *foo = &x[0];
21862 ++foo;
21863 }
21864 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21865 typedef const int *iptr;
21866 iptr p = 0;
21867 ++p;
21868 }
21869 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
21870 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21871 struct s { int j; const int *ap[3]; } bx;
21872 struct s *b = &bx; b->j = 5;
21873 }
21874 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21875 const int foo = 10;
21876 if (!foo) return 0;
21877 }
21878 return !cs[0] && !zero.x;
21879 #endif
21880
21881 ;
21882 return 0;
21883 }
21884 _ACEOF
21885 if ac_fn_c_try_compile "$LINENO"; then :
21886 ac_cv_c_const=yes
21887 else
21888 ac_cv_c_const=no
21889 fi
21890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21891 fi
21892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
21893 $as_echo "$ac_cv_c_const" >&6; }
21894 if test $ac_cv_c_const = no; then
21895
21896 $as_echo "#define const /**/" >>confdefs.h
21897
21898 fi
21899
21900
21901 # Checks for library functions.
21902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
21903 $as_echo_n "checking return type of signal handlers... " >&6; }
21904 if ${ac_cv_type_signal+:} false; then :
21905 $as_echo_n "(cached) " >&6
21906 else
21907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21908 /* end confdefs.h. */
21909 #include <sys/types.h>
21910 #include <signal.h>
21911
21912 int
21913 main ()
21914 {
21915 return *(signal (0, 0)) (0) == 1;
21916 ;
21917 return 0;
21918 }
21919 _ACEOF
21920 if ac_fn_c_try_compile "$LINENO"; then :
21921 ac_cv_type_signal=int
21922 else
21923 ac_cv_type_signal=void
21924 fi
21925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21926 fi
21927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
21928 $as_echo "$ac_cv_type_signal" >&6; }
21929
21930 cat >>confdefs.h <<_ACEOF
21931 #define RETSIGTYPE $ac_cv_type_signal
21932 _ACEOF
21933
21934
21935
21936
21937
21938 for ac_header in $ac_header_list
21939 do :
21940 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21941 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
21942 "
21943 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21944 cat >>confdefs.h <<_ACEOF
21945 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21946 _ACEOF
21947
21948 fi
21949
21950 done
21951
21952
21953
21954
21955
21956
21957
21958
21959 for ac_func in getpagesize
21960 do :
21961 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
21962 if test "x$ac_cv_func_getpagesize" = xyes; then :
21963 cat >>confdefs.h <<_ACEOF
21964 #define HAVE_GETPAGESIZE 1
21965 _ACEOF
21966
21967 fi
21968 done
21969
21970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
21971 $as_echo_n "checking for working mmap... " >&6; }
21972 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
21973 $as_echo_n "(cached) " >&6
21974 else
21975 if test "$cross_compiling" = yes; then :
21976 ac_cv_func_mmap_fixed_mapped=no
21977 else
21978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21979 /* end confdefs.h. */
21980 $ac_includes_default
21981 /* malloc might have been renamed as rpl_malloc. */
21982 #undef malloc
21983
21984 /* Thanks to Mike Haertel and Jim Avera for this test.
21985 Here is a matrix of mmap possibilities:
21986 mmap private not fixed
21987 mmap private fixed at somewhere currently unmapped
21988 mmap private fixed at somewhere already mapped
21989 mmap shared not fixed
21990 mmap shared fixed at somewhere currently unmapped
21991 mmap shared fixed at somewhere already mapped
21992 For private mappings, we should verify that changes cannot be read()
21993 back from the file, nor mmap's back from the file at a different
21994 address. (There have been systems where private was not correctly
21995 implemented like the infamous i386 svr4.0, and systems where the
21996 VM page cache was not coherent with the file system buffer cache
21997 like early versions of FreeBSD and possibly contemporary NetBSD.)
21998 For shared mappings, we should conversely verify that changes get
21999 propagated back to all the places they're supposed to be.
22000
22001 Grep wants private fixed already mapped.
22002 The main things grep needs to know about mmap are:
22003 * does it exist and is it safe to write into the mmap'd area
22004 * how to use it (BSD variants) */
22005
22006 #include <fcntl.h>
22007 #include <sys/mman.h>
22008
22009 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
22010 char *malloc ();
22011 #endif
22012
22013 /* This mess was copied from the GNU getpagesize.h. */
22014 #ifndef HAVE_GETPAGESIZE
22015 # ifdef _SC_PAGESIZE
22016 # define getpagesize() sysconf(_SC_PAGESIZE)
22017 # else /* no _SC_PAGESIZE */
22018 # ifdef HAVE_SYS_PARAM_H
22019 # include <sys/param.h>
22020 # ifdef EXEC_PAGESIZE
22021 # define getpagesize() EXEC_PAGESIZE
22022 # else /* no EXEC_PAGESIZE */
22023 # ifdef NBPG
22024 # define getpagesize() NBPG * CLSIZE
22025 # ifndef CLSIZE
22026 # define CLSIZE 1
22027 # endif /* no CLSIZE */
22028 # else /* no NBPG */
22029 # ifdef NBPC
22030 # define getpagesize() NBPC
22031 # else /* no NBPC */
22032 # ifdef PAGESIZE
22033 # define getpagesize() PAGESIZE
22034 # endif /* PAGESIZE */
22035 # endif /* no NBPC */
22036 # endif /* no NBPG */
22037 # endif /* no EXEC_PAGESIZE */
22038 # else /* no HAVE_SYS_PARAM_H */
22039 # define getpagesize() 8192 /* punt totally */
22040 # endif /* no HAVE_SYS_PARAM_H */
22041 # endif /* no _SC_PAGESIZE */
22042
22043 #endif /* no HAVE_GETPAGESIZE */
22044
22045 int
22046 main ()
22047 {
22048 char *data, *data2, *data3;
22049 const char *cdata2;
22050 int i, pagesize;
22051 int fd, fd2;
22052
22053 pagesize = getpagesize ();
22054
22055 /* First, make a file with some known garbage in it. */
22056 data = (char *) malloc (pagesize);
22057 if (!data)
22058 return 1;
22059 for (i = 0; i < pagesize; ++i)
22060 *(data + i) = rand ();
22061 umask (0);
22062 fd = creat ("conftest.mmap", 0600);
22063 if (fd < 0)
22064 return 2;
22065 if (write (fd, data, pagesize) != pagesize)
22066 return 3;
22067 close (fd);
22068
22069 /* Next, check that the tail of a page is zero-filled. File must have
22070 non-zero length, otherwise we risk SIGBUS for entire page. */
22071 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
22072 if (fd2 < 0)
22073 return 4;
22074 cdata2 = "";
22075 if (write (fd2, cdata2, 1) != 1)
22076 return 5;
22077 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
22078 if (data2 == MAP_FAILED)
22079 return 6;
22080 for (i = 0; i < pagesize; ++i)
22081 if (*(data2 + i))
22082 return 7;
22083 close (fd2);
22084 if (munmap (data2, pagesize))
22085 return 8;
22086
22087 /* Next, try to mmap the file at a fixed address which already has
22088 something else allocated at it. If we can, also make sure that
22089 we see the same garbage. */
22090 fd = open ("conftest.mmap", O_RDWR);
22091 if (fd < 0)
22092 return 9;
22093 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22094 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22095 return 10;
22096 for (i = 0; i < pagesize; ++i)
22097 if (*(data + i) != *(data2 + i))
22098 return 11;
22099
22100 /* Finally, make sure that changes to the mapped area do not
22101 percolate back to the file as seen by read(). (This is a bug on
22102 some variants of i386 svr4.0.) */
22103 for (i = 0; i < pagesize; ++i)
22104 *(data2 + i) = *(data2 + i) + 1;
22105 data3 = (char *) malloc (pagesize);
22106 if (!data3)
22107 return 12;
22108 if (read (fd, data3, pagesize) != pagesize)
22109 return 13;
22110 for (i = 0; i < pagesize; ++i)
22111 if (*(data + i) != *(data3 + i))
22112 return 14;
22113 close (fd);
22114 return 0;
22115 }
22116 _ACEOF
22117 if ac_fn_c_try_run "$LINENO"; then :
22118 ac_cv_func_mmap_fixed_mapped=yes
22119 else
22120 ac_cv_func_mmap_fixed_mapped=no
22121 fi
22122 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22123 conftest.$ac_objext conftest.beam conftest.$ac_ext
22124 fi
22125
22126 fi
22127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
22128 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
22129 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22130
22131 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
22132
22133 fi
22134 rm -f conftest.mmap conftest.txt
22135
22136
22137 for ac_func in mallinfo
22138 do :
22139 ac_fn_c_check_func "$LINENO" "mallinfo" "ac_cv_func_mallinfo"
22140 if test "x$ac_cv_func_mallinfo" = xyes; then :
22141 cat >>confdefs.h <<_ACEOF
22142 #define HAVE_MALLINFO 1
22143 _ACEOF
22144
22145 fi
22146 done
22147
22148 for ac_func in getresuid
22149 do :
22150 ac_fn_c_check_func "$LINENO" "getresuid" "ac_cv_func_getresuid"
22151 if test "x$ac_cv_func_getresuid" = xyes; then :
22152 cat >>confdefs.h <<_ACEOF
22153 #define HAVE_GETRESUID 1
22154 _ACEOF
22155
22156 fi
22157 done
22158
22159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
22160 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
22161 if ${ac_cv_type_uid_t+:} false; then :
22162 $as_echo_n "(cached) " >&6
22163 else
22164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22165 /* end confdefs.h. */
22166 #include <sys/types.h>
22167
22168 _ACEOF
22169 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22170 $EGREP "uid_t" >/dev/null 2>&1; then :
22171 ac_cv_type_uid_t=yes
22172 else
22173 ac_cv_type_uid_t=no
22174 fi
22175 rm -f conftest*
22176
22177 fi
22178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
22179 $as_echo "$ac_cv_type_uid_t" >&6; }
22180 if test $ac_cv_type_uid_t = no; then
22181
22182 $as_echo "#define uid_t int" >>confdefs.h
22183
22184
22185 $as_echo "#define gid_t int" >>confdefs.h
22186
22187 fi
22188
22189
22190 # Check if <sys/select.h> needs to be included for fd_set
22191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fd_set" >&5
22192 $as_echo_n "checking for fd_set... " >&6; }
22193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22194 /* end confdefs.h. */
22195 #include <sys/types.h>
22196 int
22197 main ()
22198 {
22199 fd_set readMask, writeMask;
22200 ;
22201 return 0;
22202 }
22203 _ACEOF
22204 if ac_fn_c_try_compile "$LINENO"; then :
22205 gtk_ok=yes
22206 else
22207 gtk_ok=no
22208 fi
22209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22210 if test $gtk_ok = yes; then
22211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, found in sys/types.h" >&5
22212 $as_echo "yes, found in sys/types.h" >&6; }
22213 else
22214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22215 /* end confdefs.h. */
22216 #include <sys/select.h>
22217
22218 _ACEOF
22219 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22220 $EGREP "fd_mask" >/dev/null 2>&1; then :
22221 gtk_ok=yes
22222 fi
22223 rm -f conftest*
22224
22225 if test $gtk_ok = yes; then
22226
22227 $as_echo "#define HAVE_SYS_SELECT_H 1" >>confdefs.h
22228
22229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, found in sys/select.h" >&5
22230 $as_echo "yes, found in sys/select.h" >&6; }
22231 else
22232
22233 $as_echo "#define NO_FD_SET 1" >>confdefs.h
22234
22235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22236 $as_echo "no" >&6; }
22237 fi
22238 fi
22239
22240 # `widechar' tests for gdki18n.h
22241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar.h" >&5
22242 $as_echo_n "checking for wchar.h... " >&6; }
22243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22244 /* end confdefs.h. */
22245 #include <wchar.h>
22246 _ACEOF
22247 if ac_fn_c_try_cpp "$LINENO"; then :
22248 gdk_wchar_h=yes
22249 else
22250 gdk_wchar_h=no
22251 fi
22252 rm -f conftest.err conftest.i conftest.$ac_ext
22253 if test $gdk_wchar_h = yes; then
22254
22255 $as_echo "#define HAVE_WCHAR_H 1" >>confdefs.h
22256
22257 fi
22258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdk_wchar_h" >&5
22259 $as_echo "$gdk_wchar_h" >&6; }
22260
22261 # Check for wctype.h (for iswalnum)
22262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wctype.h" >&5
22263 $as_echo_n "checking for wctype.h... " >&6; }
22264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22265 /* end confdefs.h. */
22266 #include <wctype.h>
22267 _ACEOF
22268 if ac_fn_c_try_cpp "$LINENO"; then :
22269 gdk_wctype_h=yes
22270 else
22271 gdk_wctype_h=no
22272 fi
22273 rm -f conftest.err conftest.i conftest.$ac_ext
22274 if test $gdk_wctype_h = yes; then
22275
22276 $as_echo "#define HAVE_WCTYPE_H 1" >>confdefs.h
22277
22278 fi
22279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdk_wctype_h" >&5
22280 $as_echo "$gdk_wctype_h" >&6; }
22281
22282 # in Solaris 2.5, `iswalnum' is in -lw
22283 GDK_WLIBS=
22284 ac_fn_c_check_func "$LINENO" "iswalnum" "ac_cv_func_iswalnum"
22285 if test "x$ac_cv_func_iswalnum" = xyes; then :
22286
22287 else
22288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iswalnum in -lw" >&5
22289 $as_echo_n "checking for iswalnum in -lw... " >&6; }
22290 if ${ac_cv_lib_w_iswalnum+:} false; then :
22291 $as_echo_n "(cached) " >&6
22292 else
22293 ac_check_lib_save_LIBS=$LIBS
22294 LIBS="-lw $LIBS"
22295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22296 /* end confdefs.h. */
22297
22298 /* Override any GCC internal prototype to avoid an error.
22299 Use char because int might match the return type of a GCC
22300 builtin and then its argument prototype would still apply. */
22301 #ifdef __cplusplus
22302 extern "C"
22303 #endif
22304 char iswalnum ();
22305 int
22306 main ()
22307 {
22308 return iswalnum ();
22309 ;
22310 return 0;
22311 }
22312 _ACEOF
22313 if ac_fn_c_try_link "$LINENO"; then :
22314 ac_cv_lib_w_iswalnum=yes
22315 else
22316 ac_cv_lib_w_iswalnum=no
22317 fi
22318 rm -f core conftest.err conftest.$ac_objext \
22319 conftest$ac_exeext conftest.$ac_ext
22320 LIBS=$ac_check_lib_save_LIBS
22321 fi
22322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_iswalnum" >&5
22323 $as_echo "$ac_cv_lib_w_iswalnum" >&6; }
22324 if test "x$ac_cv_lib_w_iswalnum" = xyes; then :
22325 GDK_WLIBS=-lw
22326 fi
22327
22328 fi
22329
22330
22331 oLIBS="$LIBS"
22332 LIBS="$LIBS $GDK_WLIBS"
22333 # The following is necessary for Linux libc-5.4.38
22334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iswalnum() and friends are properly defined" >&5
22335 $as_echo_n "checking if iswalnum() and friends are properly defined... " >&6; }
22336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22337 /* end confdefs.h. */
22338 #include <stdlib.h>
22339 #if (defined(HAVE_WCTYPE_H) || defined(HAVE_WCHAR_H))
22340 # ifdef HAVE_WCTYPE_H
22341 # include <wctype.h>
22342 # else
22343 # ifdef HAVE_WCHAR_H
22344 # include <wchar.h>
22345 # endif
22346 # endif
22347 #else
22348 # define iswalnum(c) ((wchar_t)(c) <= 0xFF && isalnum(c))
22349 #endif
22350 int
22351 main ()
22352 {
22353
22354 iswalnum((wchar_t) 0);
22355
22356 ;
22357 return 0;
22358 }
22359 _ACEOF
22360 if ac_fn_c_try_link "$LINENO"; then :
22361 gdk_working_wctype=yes
22362 else
22363 gdk_working_wctype=no
22364 fi
22365 rm -f core conftest.err conftest.$ac_objext \
22366 conftest$ac_exeext conftest.$ac_ext
22367 LIBS="$oLIBS"
22368
22369 if test $gdk_working_wctype = no; then
22370
22371 $as_echo "#define HAVE_BROKEN_WCTYPE 1" >>confdefs.h
22372
22373 GDK_WLIBS=
22374 fi
22375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdk_working_wctype" >&5
22376 $as_echo "$gdk_working_wctype" >&6; }
22377
22378
22379 # Check for uxtheme.h (for MS-Windows Engine)
22380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uxtheme.h" >&5
22381 $as_echo_n "checking for uxtheme.h... " >&6; }
22382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22383 /* end confdefs.h. */
22384 #include <uxtheme.h>
22385 _ACEOF
22386 if ac_fn_c_try_cpp "$LINENO"; then :
22387 gtk_uxtheme_h=yes
22388 else
22389 gtk_uxtheme_h=no
22390 fi
22391 rm -f conftest.err conftest.i conftest.$ac_ext
22392 if test $gtk_uxtheme_h = yes; then
22393
22394 $as_echo "#define HAVE_UXTHEME_H 1" >>confdefs.h
22395
22396 fi
22397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gtk_uxtheme_h" >&5
22398 $as_echo "$gtk_uxtheme_h" >&6; }
22399
22400 # Checks for gdkspawn
22401 for ac_header in crt_externs.h
22402 do :
22403 ac_fn_c_check_header_mongrel "$LINENO" "crt_externs.h" "ac_cv_header_crt_externs_h" "$ac_includes_default"
22404 if test "x$ac_cv_header_crt_externs_h" = xyes; then :
22405 cat >>confdefs.h <<_ACEOF
22406 #define HAVE_CRT_EXTERNS_H 1
22407 _ACEOF
22408
22409 fi
22410
22411 done
22412
22413 for ac_func in _NSGetEnviron
22414 do :
22415 ac_fn_c_check_func "$LINENO" "_NSGetEnviron" "ac_cv_func__NSGetEnviron"
22416 if test "x$ac_cv_func__NSGetEnviron" = xyes; then :
22417 cat >>confdefs.h <<_ACEOF
22418 #define HAVE__NSGETENVIRON 1
22419 _ACEOF
22420
22421 fi
22422 done
22423
22424
22425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build dynamic modules" >&5
22426 $as_echo_n "checking whether to build dynamic modules... " >&6; }
22427
22428 # Check whether --enable-modules was given.
22429 if test "${enable_modules+set}" = set; then :
22430 enableval=$enable_modules;
22431 fi
22432
22433
22434 dynworks=false
22435 deps=
22436 if test x$enable_modules = xno; then
22437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22438 $as_echo "no" >&6; }
22439 else
22440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22441 $as_echo "yes" >&6; }
22442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dynamic modules work" >&5
22443 $as_echo_n "checking whether dynamic modules work... " >&6; }
22444 ## for loop is to strip newline
22445 tmp=`$PKG_CONFIG --variable=gmodule_supported gmodule-no-export-2.0`
22446 for I in $tmp; do
22447 dynworks=$I
22448 done
22449
22450 if $dynworks; then
22451 module_libtool_config="${CONFIG_SHELL-/bin/sh} ./libtool --config"
22452 module_deplibs_check=`$module_libtool_config | \
22453 grep '^[a-z_]*check[a-z_]*_method=['\''"]' | \
22454 sed 's/.*['\''"]\(.*\)['\''"]$/\1/'`
22455 if test "x$module_deplibs_check" = "xnone" || \
22456 test "x$module_deplibs_check" = "xunknown" || \
22457 test "x$module_deplibs_check" = "x"; then
22458 dynworks=false
22459 fi
22460 fi
22461
22462 if $dynworks; then
22463
22464 $as_echo "#define USE_GMODULE 1" >>confdefs.h
22465
22466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22467 $as_echo "yes" >&6; }
22468 else
22469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22470 $as_echo "no" >&6; }
22471 fi
22472 fi
22473
22474 if $dynworks; then
22475 BUILD_DYNAMIC_MODULES_TRUE=
22476 BUILD_DYNAMIC_MODULES_FALSE='#'
22477 else
22478 BUILD_DYNAMIC_MODULES_TRUE='#'
22479 BUILD_DYNAMIC_MODULES_FALSE=
22480 fi
22481
22482
22483 #
22484 # Allow building some or all immodules included
22485 #
22486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking immodules to build" >&5
22487 $as_echo_n "checking immodules to build... " >&6; }
22488
22489
22490 # Check whether --with-included_immodules was given.
22491 if test "${with_included_immodules+set}" = set; then :
22492 withval=$with_included_immodules;
22493 fi
22494
22495
22496 if $dynworks; then
22497 :
22498 else
22499 ## if the option was specified, leave it; otherwise disable included immodules
22500 if test x$with_included_immodules = xno; then
22501 with_included_immodules=yes
22502 fi
22503 fi
22504
22505 all_immodules="am-et,cedilla,cyrillic-translit"
22506 if test "$gdktarget" = "win32"; then
22507 all_immodules="${all_immodules},ime"
22508 fi
22509 if test "$gdktarget" = "quartz"; then
22510 all_immodules="${all_immodules},quartz"
22511 fi
22512 all_immodules="${all_immodules},inuktitut,ipa,multipress,thai,ti-er,ti-et,viqr"
22513 if test "$gdktarget" = "x11"; then
22514 all_immodules="${all_immodules},xim"
22515 fi
22516
22517 included_immodules=""
22518 # If the switch specified without listing any specific ones, include all
22519 if test "x$with_included_immodules" = xyes ; then
22520 included_immodules="$all_immodules"
22521 else
22522 included_immodules="$with_included_immodules"
22523 fi
22524
22525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $included_immodules" >&5
22526 $as_echo "$included_immodules" >&6; }
22527 if test "x$included_immodules" != x; then
22528 HAVE_INCLUDED_IMMMODULES_TRUE=
22529 HAVE_INCLUDED_IMMMODULES_FALSE='#'
22530 else
22531 HAVE_INCLUDED_IMMMODULES_TRUE='#'
22532 HAVE_INCLUDED_IMMMODULES_FALSE=
22533 fi
22534
22535
22536 INCLUDED_IMMODULE_OBJ=
22537 INCLUDED_IMMODULE_DEFINE=
22538
22539 IFS="${IFS= }"; gtk_save_ifs="$IFS"; IFS=","
22540 for immodule in $included_immodules; do
22541 immodule_underscores=`echo $immodule | sed -e 's/-/_/g'`
22542 if echo "$all_immodules" | egrep "(^|,)$immodule(\$|,)" > /dev/null; then
22543 :
22544 else
22545 as_fn_error $? "the specified input method $immodule does not exist" "$LINENO" 5
22546 fi
22547
22548 INCLUDED_IMMODULE_OBJ="$INCLUDED_IMMODULE_OBJ ../modules/input/libstatic-im-$immodule.la"
22549 INCLUDED_IMMODULE_DEFINE="$INCLUDED_IMMODULE_DEFINE -DINCLUDE_IM_$immodule_underscores"
22550 eval INCLUDE_$immodule_underscores=yes
22551 done
22552 IFS="$gtk_save_ifs"
22553
22554
22555
22556 if test x"$INCLUDE_am_et" = xyes; then
22557 INCLUDE_IM_AM_ET_TRUE=
22558 INCLUDE_IM_AM_ET_FALSE='#'
22559 else
22560 INCLUDE_IM_AM_ET_TRUE='#'
22561 INCLUDE_IM_AM_ET_FALSE=
22562 fi
22563
22564 if test x"$INCLUDE_cedilla" = xyes; then
22565 INCLUDE_IM_CEDILLA_TRUE=
22566 INCLUDE_IM_CEDILLA_FALSE='#'
22567 else
22568 INCLUDE_IM_CEDILLA_TRUE='#'
22569 INCLUDE_IM_CEDILLA_FALSE=
22570 fi
22571
22572 if test x"$INCLUDE_cyrillic_translit" = xyes; then
22573 INCLUDE_IM_CYRILLIC_TRANSLIT_TRUE=
22574 INCLUDE_IM_CYRILLIC_TRANSLIT_FALSE='#'
22575 else
22576 INCLUDE_IM_CYRILLIC_TRANSLIT_TRUE='#'
22577 INCLUDE_IM_CYRILLIC_TRANSLIT_FALSE=
22578 fi
22579
22580 if test x"$INCLUDE_ime" = xyes; then
22581 INCLUDE_IM_IME_TRUE=
22582 INCLUDE_IM_IME_FALSE='#'
22583 else
22584 INCLUDE_IM_IME_TRUE='#'
22585 INCLUDE_IM_IME_FALSE=
22586 fi
22587
22588 if test x"$INCLUDE_inuktitut" = xyes; then
22589 INCLUDE_IM_INUKTITUT_TRUE=
22590 INCLUDE_IM_INUKTITUT_FALSE='#'
22591 else
22592 INCLUDE_IM_INUKTITUT_TRUE='#'
22593 INCLUDE_IM_INUKTITUT_FALSE=
22594 fi
22595
22596 if test x"$INCLUDE_ipa" = xyes; then
22597 INCLUDE_IM_IPA_TRUE=
22598 INCLUDE_IM_IPA_FALSE='#'
22599 else
22600 INCLUDE_IM_IPA_TRUE='#'
22601 INCLUDE_IM_IPA_FALSE=
22602 fi
22603
22604 if test x"$INCLUDE_multipress" = xyes; then
22605 INCLUDE_IM_MULTIPRESS_TRUE=
22606 INCLUDE_IM_MULTIPRESS_FALSE='#'
22607 else
22608 INCLUDE_IM_MULTIPRESS_TRUE='#'
22609 INCLUDE_IM_MULTIPRESS_FALSE=
22610 fi
22611
22612 if test x"$INCLUDE_quartz" = xyes; then
22613 INCLUDE_IM_QUARTZ_TRUE=
22614 INCLUDE_IM_QUARTZ_FALSE='#'
22615 else
22616 INCLUDE_IM_QUARTZ_TRUE='#'
22617 INCLUDE_IM_QUARTZ_FALSE=
22618 fi
22619
22620 if test x"$INCLUDE_thai" = xyes; then
22621 INCLUDE_IM_THAI_TRUE=
22622 INCLUDE_IM_THAI_FALSE='#'
22623 else
22624 INCLUDE_IM_THAI_TRUE='#'
22625 INCLUDE_IM_THAI_FALSE=
22626 fi
22627
22628 if test x"$INCLUDE_ti_er" = xyes; then
22629 INCLUDE_IM_TI_ER_TRUE=
22630 INCLUDE_IM_TI_ER_FALSE='#'
22631 else
22632 INCLUDE_IM_TI_ER_TRUE='#'
22633 INCLUDE_IM_TI_ER_FALSE=
22634 fi
22635
22636 if test x"$INCLUDE_ti_et" = xyes; then
22637 INCLUDE_IM_TI_ET_TRUE=
22638 INCLUDE_IM_TI_ET_FALSE='#'
22639 else
22640 INCLUDE_IM_TI_ET_TRUE='#'
22641 INCLUDE_IM_TI_ET_FALSE=
22642 fi
22643
22644 if test x"$INCLUDE_viqr" = xyes; then
22645 INCLUDE_IM_VIQR_TRUE=
22646 INCLUDE_IM_VIQR_FALSE='#'
22647 else
22648 INCLUDE_IM_VIQR_TRUE='#'
22649 INCLUDE_IM_VIQR_FALSE=
22650 fi
22651
22652 if test x"$INCLUDE_xim" = xyes; then
22653 INCLUDE_IM_XIM_TRUE=
22654 INCLUDE_IM_XIM_FALSE='#'
22655 else
22656 INCLUDE_IM_XIM_TRUE='#'
22657 INCLUDE_IM_XIM_FALSE=
22658 fi
22659
22660
22661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
22662 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
22663 if ${ac_cv_header_sys_wait_h+:} false; then :
22664 $as_echo_n "(cached) " >&6
22665 else
22666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22667 /* end confdefs.h. */
22668 #include <sys/types.h>
22669 #include <sys/wait.h>
22670 #ifndef WEXITSTATUS
22671 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
22672 #endif
22673 #ifndef WIFEXITED
22674 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
22675 #endif
22676
22677 int
22678 main ()
22679 {
22680 int s;
22681 wait (&s);
22682 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
22683 ;
22684 return 0;
22685 }
22686 _ACEOF
22687 if ac_fn_c_try_compile "$LINENO"; then :
22688 ac_cv_header_sys_wait_h=yes
22689 else
22690 ac_cv_header_sys_wait_h=no
22691 fi
22692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22693 fi
22694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
22695 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
22696 if test $ac_cv_header_sys_wait_h = yes; then
22697
22698 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
22699
22700 fi
22701
22702
22703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
22704 $as_echo_n "checking return type of signal handlers... " >&6; }
22705 if ${ac_cv_type_signal+:} false; then :
22706 $as_echo_n "(cached) " >&6
22707 else
22708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22709 /* end confdefs.h. */
22710 #include <sys/types.h>
22711 #include <signal.h>
22712
22713 int
22714 main ()
22715 {
22716 return *(signal (0, 0)) (0) == 1;
22717 ;
22718 return 0;
22719 }
22720 _ACEOF
22721 if ac_fn_c_try_compile "$LINENO"; then :
22722 ac_cv_type_signal=int
22723 else
22724 ac_cv_type_signal=void
22725 fi
22726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22727 fi
22728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
22729 $as_echo "$ac_cv_type_signal" >&6; }
22730
22731 cat >>confdefs.h <<_ACEOF
22732 #define RETSIGTYPE $ac_cv_type_signal
22733 _ACEOF
22734
22735
22736
22737 # Checks to see whether we should include mediaLib
22738 # support.
22739 #
22740 ac_fn_c_check_header_mongrel "$LINENO" "sys/systeminfo.h" "ac_cv_header_sys_systeminfo_h" "$ac_includes_default"
22741 if test "x$ac_cv_header_sys_systeminfo_h" = xyes; then :
22742
22743 $as_echo "#define HAVE_SYS_SYSTEMINFO_H 1" >>confdefs.h
22744
22745 fi
22746
22747
22748 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
22749 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
22750
22751 $as_echo "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
22752
22753 fi
22754
22755
22756
22757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mediaLib 2.3" >&5
22758 $as_echo_n "checking for mediaLib 2.3... " >&6; }
22759 use_mlib25=no
22760 # Check for a mediaLib 2.3 function since that is what the GTK+ mediaLib
22761 # patch requires.
22762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mlib_ImageSetStruct in -lmlib" >&5
22763 $as_echo_n "checking for mlib_ImageSetStruct in -lmlib... " >&6; }
22764 if ${ac_cv_lib_mlib_mlib_ImageSetStruct+:} false; then :
22765 $as_echo_n "(cached) " >&6
22766 else
22767 ac_check_lib_save_LIBS=$LIBS
22768 LIBS="-lmlib $LIBS"
22769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22770 /* end confdefs.h. */
22771
22772 /* Override any GCC internal prototype to avoid an error.
22773 Use char because int might match the return type of a GCC
22774 builtin and then its argument prototype would still apply. */
22775 #ifdef __cplusplus
22776 extern "C"
22777 #endif
22778 char mlib_ImageSetStruct ();
22779 int
22780 main ()
22781 {
22782 return mlib_ImageSetStruct ();
22783 ;
22784 return 0;
22785 }
22786 _ACEOF
22787 if ac_fn_c_try_link "$LINENO"; then :
22788 ac_cv_lib_mlib_mlib_ImageSetStruct=yes
22789 else
22790 ac_cv_lib_mlib_mlib_ImageSetStruct=no
22791 fi
22792 rm -f core conftest.err conftest.$ac_objext \
22793 conftest$ac_exeext conftest.$ac_ext
22794 LIBS=$ac_check_lib_save_LIBS
22795 fi
22796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mlib_mlib_ImageSetStruct" >&5
22797 $as_echo "$ac_cv_lib_mlib_mlib_ImageSetStruct" >&6; }
22798 if test "x$ac_cv_lib_mlib_mlib_ImageSetStruct" = xyes; then :
22799 use_mlib=yes
22800 else
22801 use_mlib=no
22802 fi
22803
22804 if test $use_mlib = yes; then
22805
22806 $as_echo "#define USE_MEDIALIB 1" >>confdefs.h
22807
22808 MEDIA_LIB=-lmlib
22809
22810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mediaLib 2.5" >&5
22811 $as_echo_n "checking for mediaLib 2.5... " >&6; }
22812 # Check for a mediaLib 2.5 function since that is what is needed for
22813 # gdk_rgb_convert integration.
22814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mlib_VideoColorRGBint_to_BGRAint in -lmlib" >&5
22815 $as_echo_n "checking for mlib_VideoColorRGBint_to_BGRAint in -lmlib... " >&6; }
22816 if ${ac_cv_lib_mlib_mlib_VideoColorRGBint_to_BGRAint+:} false; then :
22817 $as_echo_n "(cached) " >&6
22818 else
22819 ac_check_lib_save_LIBS=$LIBS
22820 LIBS="-lmlib $LIBS"
22821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22822 /* end confdefs.h. */
22823
22824 /* Override any GCC internal prototype to avoid an error.
22825 Use char because int might match the return type of a GCC
22826 builtin and then its argument prototype would still apply. */
22827 #ifdef __cplusplus
22828 extern "C"
22829 #endif
22830 char mlib_VideoColorRGBint_to_BGRAint ();
22831 int
22832 main ()
22833 {
22834 return mlib_VideoColorRGBint_to_BGRAint ();
22835 ;
22836 return 0;
22837 }
22838 _ACEOF
22839 if ac_fn_c_try_link "$LINENO"; then :
22840 ac_cv_lib_mlib_mlib_VideoColorRGBint_to_BGRAint=yes
22841 else
22842 ac_cv_lib_mlib_mlib_VideoColorRGBint_to_BGRAint=no
22843 fi
22844 rm -f core conftest.err conftest.$ac_objext \
22845 conftest$ac_exeext conftest.$ac_ext
22846 LIBS=$ac_check_lib_save_LIBS
22847 fi
22848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mlib_mlib_VideoColorRGBint_to_BGRAint" >&5
22849 $as_echo "$ac_cv_lib_mlib_mlib_VideoColorRGBint_to_BGRAint" >&6; }
22850 if test "x$ac_cv_lib_mlib_mlib_VideoColorRGBint_to_BGRAint" = xyes; then :
22851 use_mlib25=yes
22852 else
22853 use_mlib25=no
22854 fi
22855
22856 if test $use_mlib25 = yes; then
22857
22858 $as_echo "#define USE_MEDIALIB25 1" >>confdefs.h
22859
22860 fi
22861 fi
22862 if test $use_mlib = yes; then
22863 USE_MEDIALIB_TRUE=
22864 USE_MEDIALIB_FALSE='#'
22865 else
22866 USE_MEDIALIB_TRUE='#'
22867 USE_MEDIALIB_FALSE=
22868 fi
22869
22870 if test $use_mlib25 = yes; then
22871 USE_MEDIALIB25_TRUE=
22872 USE_MEDIALIB25_FALSE='#'
22873 else
22874 USE_MEDIALIB25_TRUE='#'
22875 USE_MEDIALIB25_FALSE=
22876 fi
22877
22878
22879
22880 if test $cross_compiling = yes; then
22881 CROSS_COMPILING_TRUE=
22882 CROSS_COMPILING_FALSE='#'
22883 else
22884 CROSS_COMPILING_TRUE='#'
22885 CROSS_COMPILING_FALSE=
22886 fi
22887
22888
22889 if test $cross_compiling = yes; then
22890 # Extract the first word of "gtk-update-icon-cache", so it can be a program name with args.
22891 set dummy gtk-update-icon-cache; ac_word=$2
22892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22893 $as_echo_n "checking for $ac_word... " >&6; }
22894 if ${ac_cv_path_GTK_UPDATE_ICON_CACHE+:} false; then :
22895 $as_echo_n "(cached) " >&6
22896 else
22897 case $GTK_UPDATE_ICON_CACHE in
22898 [\\/]* | ?:[\\/]*)
22899 ac_cv_path_GTK_UPDATE_ICON_CACHE="$GTK_UPDATE_ICON_CACHE" # Let the user override the test with a path.
22900 ;;
22901 *)
22902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22903 for as_dir in $PATH
22904 do
22905 IFS=$as_save_IFS
22906 test -z "$as_dir" && as_dir=.
22907 for ac_exec_ext in '' $ac_executable_extensions; do
22908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22909 ac_cv_path_GTK_UPDATE_ICON_CACHE="$as_dir/$ac_word$ac_exec_ext"
22910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22911 break 2
22912 fi
22913 done
22914 done
22915 IFS=$as_save_IFS
22916
22917 test -z "$ac_cv_path_GTK_UPDATE_ICON_CACHE" && ac_cv_path_GTK_UPDATE_ICON_CACHE="no"
22918 ;;
22919 esac
22920 fi
22921 GTK_UPDATE_ICON_CACHE=$ac_cv_path_GTK_UPDATE_ICON_CACHE
22922 if test -n "$GTK_UPDATE_ICON_CACHE"; then
22923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_UPDATE_ICON_CACHE" >&5
22924 $as_echo "$GTK_UPDATE_ICON_CACHE" >&6; }
22925 else
22926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22927 $as_echo "no" >&6; }
22928 fi
22929
22930
22931 if test x$GTK_UPDATE_ICON_CACHE = xno; then
22932 REBUILD_PNGS=#
22933 fi
22934 fi
22935
22936 # Extract the first word of "gdk-pixbuf-csource", so it can be a program name with args.
22937 set dummy gdk-pixbuf-csource; ac_word=$2
22938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22939 $as_echo_n "checking for $ac_word... " >&6; }
22940 if ${ac_cv_path_GDK_PIXBUF_CSOURCE+:} false; then :
22941 $as_echo_n "(cached) " >&6
22942 else
22943 case $GDK_PIXBUF_CSOURCE in
22944 [\\/]* | ?:[\\/]*)
22945 ac_cv_path_GDK_PIXBUF_CSOURCE="$GDK_PIXBUF_CSOURCE" # Let the user override the test with a path.
22946 ;;
22947 *)
22948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22949 for as_dir in $PATH
22950 do
22951 IFS=$as_save_IFS
22952 test -z "$as_dir" && as_dir=.
22953 for ac_exec_ext in '' $ac_executable_extensions; do
22954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22955 ac_cv_path_GDK_PIXBUF_CSOURCE="$as_dir/$ac_word$ac_exec_ext"
22956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22957 break 2
22958 fi
22959 done
22960 done
22961 IFS=$as_save_IFS
22962
22963 test -z "$ac_cv_path_GDK_PIXBUF_CSOURCE" && ac_cv_path_GDK_PIXBUF_CSOURCE="no"
22964 ;;
22965 esac
22966 fi
22967 GDK_PIXBUF_CSOURCE=$ac_cv_path_GDK_PIXBUF_CSOURCE
22968 if test -n "$GDK_PIXBUF_CSOURCE"; then
22969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_PIXBUF_CSOURCE" >&5
22970 $as_echo "$GDK_PIXBUF_CSOURCE" >&6; }
22971 else
22972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22973 $as_echo "no" >&6; }
22974 fi
22975
22976
22977
22978 if test ! -f $srcdir/gtk/gtkbuiltincache.h &&
22979 test "x$REBUILD_PNGS" = "x#" ; then
22980 as_fn_error $? "
22981 *** gtkbuiltincache.h is not in the tree, and cannot be built
22982 *** because you don't have libpng, or (when cross-compiling) you
22983 *** don't have a prebuilt gtk-update-icon-cache on the build system." "$LINENO" 5
22984 fi
22985
22986 ########################################
22987 # Windowing system checks
22988 ########################################
22989
22990 GDK_EXTRA_LIBS="$GDK_WLIBS"
22991 GDK_EXTRA_CFLAGS=
22992
22993 # GTK+ uses some X calls, so needs to link against X directly
22994 GTK_DEP_PACKAGES_FOR_X=
22995 GTK_DEP_LIBS_FOR_X=
22996
22997 if test "x$gdktarget" = "xx11"; then
22998 X_PACKAGES=fontconfig
22999
23000 #
23001 # We use fontconfig very peripherally when decoding the default
23002 # settings.
23003 #
23004 if $PKG_CONFIG --exists fontconfig; then : ; else
23005 as_fn_error $? "
23006 *** fontconfig (http://www.fontconfig.org) is required by the X11 backend." "$LINENO" 5
23007 fi
23008
23009 #
23010 # Check for basic X packages; we use pkg-config if available
23011 #
23012 if $PKG_CONFIG --exists x11 xext xrender; then
23013 have_base_x_pc=true
23014 X_PACKAGES="$X_PACKAGES x11 xext xrender"
23015 x_libs="`$PKG_CONFIG --libs x11 xext xrender`"
23016 X_CFLAGS="`$PKG_CONFIG --cflags x11 xext xrender`"
23017
23018 # Strip out any .la files that pkg-config might give us (this happens
23019 # with -uninstalled.pc files)
23020 x_libs_for_checks=
23021 for I in $x_libs ; do
23022 case $I in
23023 *.la) ;;
23024 *) x_libs_for_checks="$x_libs_for_checks $I" ;;
23025 esac
23026 done
23027
23028 GTK_PACKAGES_FOR_X="x11"
23029 else
23030 have_base_x_pc=false
23031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
23032 $as_echo_n "checking for X... " >&6; }
23033
23034
23035 # Check whether --with-x was given.
23036 if test "${with_x+set}" = set; then :
23037 withval=$with_x;
23038 fi
23039
23040 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23041 if test "x$with_x" = xno; then
23042 # The user explicitly disabled X.
23043 have_x=disabled
23044 else
23045 case $x_includes,$x_libraries in #(
23046 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
23047 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
23048 $as_echo_n "(cached) " >&6
23049 else
23050 # One or both of the vars are not set, and there is no cached value.
23051 ac_x_includes=no ac_x_libraries=no
23052 rm -f -r conftest.dir
23053 if mkdir conftest.dir; then
23054 cd conftest.dir
23055 cat >Imakefile <<'_ACEOF'
23056 incroot:
23057 @echo incroot='${INCROOT}'
23058 usrlibdir:
23059 @echo usrlibdir='${USRLIBDIR}'
23060 libdir:
23061 @echo libdir='${LIBDIR}'
23062 _ACEOF
23063 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
23064 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
23065 for ac_var in incroot usrlibdir libdir; do
23066 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
23067 done
23068 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23069 for ac_extension in a so sl dylib la dll; do
23070 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
23071 test -f "$ac_im_libdir/libX11.$ac_extension"; then
23072 ac_im_usrlibdir=$ac_im_libdir; break
23073 fi
23074 done
23075 # Screen out bogus values from the imake configuration. They are
23076 # bogus both because they are the default anyway, and because
23077 # using them would break gcc on systems where it needs fixed includes.
23078 case $ac_im_incroot in
23079 /usr/include) ac_x_includes= ;;
23080 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
23081 esac
23082 case $ac_im_usrlibdir in
23083 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
23084 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
23085 esac
23086 fi
23087 cd ..
23088 rm -f -r conftest.dir
23089 fi
23090
23091 # Standard set of common directories for X headers.
23092 # Check X11 before X11Rn because it is often a symlink to the current release.
23093 ac_x_header_dirs='
23094 /usr/X11/include
23095 /usr/X11R7/include
23096 /usr/X11R6/include
23097 /usr/X11R5/include
23098 /usr/X11R4/include
23099
23100 /usr/include/X11
23101 /usr/include/X11R7
23102 /usr/include/X11R6
23103 /usr/include/X11R5
23104 /usr/include/X11R4
23105
23106 /usr/local/X11/include
23107 /usr/local/X11R7/include
23108 /usr/local/X11R6/include
23109 /usr/local/X11R5/include
23110 /usr/local/X11R4/include
23111
23112 /usr/local/include/X11
23113 /usr/local/include/X11R7
23114 /usr/local/include/X11R6
23115 /usr/local/include/X11R5
23116 /usr/local/include/X11R4
23117
23118 /usr/X386/include
23119 /usr/x386/include
23120 /usr/XFree86/include/X11
23121
23122 /usr/include
23123 /usr/local/include
23124 /usr/unsupported/include
23125 /usr/athena/include
23126 /usr/local/x11r5/include
23127 /usr/lpp/Xamples/include
23128
23129 /usr/openwin/include
23130 /usr/openwin/share/include'
23131
23132 if test "$ac_x_includes" = no; then
23133 # Guess where to find include files, by looking for Xlib.h.
23134 # First, try using that file with no special directory specified.
23135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23136 /* end confdefs.h. */
23137 #include <X11/Xlib.h>
23138 _ACEOF
23139 if ac_fn_c_try_cpp "$LINENO"; then :
23140 # We can compile using X headers with no special include directory.
23141 ac_x_includes=
23142 else
23143 for ac_dir in $ac_x_header_dirs; do
23144 if test -r "$ac_dir/X11/Xlib.h"; then
23145 ac_x_includes=$ac_dir
23146 break
23147 fi
23148 done
23149 fi
23150 rm -f conftest.err conftest.i conftest.$ac_ext
23151 fi # $ac_x_includes = no
23152
23153 if test "$ac_x_libraries" = no; then
23154 # Check for the libraries.
23155 # See if we find them without any special options.
23156 # Don't add to $LIBS permanently.
23157 ac_save_LIBS=$LIBS
23158 LIBS="-lX11 $LIBS"
23159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23160 /* end confdefs.h. */
23161 #include <X11/Xlib.h>
23162 int
23163 main ()
23164 {
23165 XrmInitialize ()
23166 ;
23167 return 0;
23168 }
23169 _ACEOF
23170 if ac_fn_c_try_link "$LINENO"; then :
23171 LIBS=$ac_save_LIBS
23172 # We can link X programs with no special library path.
23173 ac_x_libraries=
23174 else
23175 LIBS=$ac_save_LIBS
23176 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
23177 do
23178 # Don't even attempt the hair of trying to link an X program!
23179 for ac_extension in a so sl dylib la dll; do
23180 if test -r "$ac_dir/libX11.$ac_extension"; then
23181 ac_x_libraries=$ac_dir
23182 break 2
23183 fi
23184 done
23185 done
23186 fi
23187 rm -f core conftest.err conftest.$ac_objext \
23188 conftest$ac_exeext conftest.$ac_ext
23189 fi # $ac_x_libraries = no
23190
23191 case $ac_x_includes,$ac_x_libraries in #(
23192 no,* | *,no | *\'*)
23193 # Didn't find X, or a directory has "'" in its name.
23194 ac_cv_have_x="have_x=no";; #(
23195 *)
23196 # Record where we found X for the cache.
23197 ac_cv_have_x="have_x=yes\
23198 ac_x_includes='$ac_x_includes'\
23199 ac_x_libraries='$ac_x_libraries'"
23200 esac
23201 fi
23202 ;; #(
23203 *) have_x=yes;;
23204 esac
23205 eval "$ac_cv_have_x"
23206 fi # $with_x != no
23207
23208 if test "$have_x" != yes; then
23209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
23210 $as_echo "$have_x" >&6; }
23211 no_x=yes
23212 else
23213 # If each of the values was on the command line, it overrides each guess.
23214 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
23215 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
23216 # Update the cache value to reflect the command line values.
23217 ac_cv_have_x="have_x=yes\
23218 ac_x_includes='$x_includes'\
23219 ac_x_libraries='$x_libraries'"
23220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
23221 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
23222 fi
23223
23224 if test "$no_x" = yes; then
23225 # Not all programs may use this symbol, but it does not hurt to define it.
23226
23227 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
23228
23229 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
23230 else
23231 if test -n "$x_includes"; then
23232 X_CFLAGS="$X_CFLAGS -I$x_includes"
23233 fi
23234
23235 # It would also be nice to do this for all -L options, not just this one.
23236 if test -n "$x_libraries"; then
23237 X_LIBS="$X_LIBS -L$x_libraries"
23238 # For Solaris; some versions of Sun CC require a space after -R and
23239 # others require no space. Words are not sufficient . . . .
23240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
23241 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
23242 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
23243 ac_xsave_c_werror_flag=$ac_c_werror_flag
23244 ac_c_werror_flag=yes
23245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23246 /* end confdefs.h. */
23247
23248 int
23249 main ()
23250 {
23251
23252 ;
23253 return 0;
23254 }
23255 _ACEOF
23256 if ac_fn_c_try_link "$LINENO"; then :
23257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23258 $as_echo "no" >&6; }
23259 X_LIBS="$X_LIBS -R$x_libraries"
23260 else
23261 LIBS="$ac_xsave_LIBS -R $x_libraries"
23262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23263 /* end confdefs.h. */
23264
23265 int
23266 main ()
23267 {
23268
23269 ;
23270 return 0;
23271 }
23272 _ACEOF
23273 if ac_fn_c_try_link "$LINENO"; then :
23274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23275 $as_echo "yes" >&6; }
23276 X_LIBS="$X_LIBS -R $x_libraries"
23277 else
23278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
23279 $as_echo "neither works" >&6; }
23280 fi
23281 rm -f core conftest.err conftest.$ac_objext \
23282 conftest$ac_exeext conftest.$ac_ext
23283 fi
23284 rm -f core conftest.err conftest.$ac_objext \
23285 conftest$ac_exeext conftest.$ac_ext
23286 ac_c_werror_flag=$ac_xsave_c_werror_flag
23287 LIBS=$ac_xsave_LIBS
23288 fi
23289
23290 # Check for system-dependent libraries X programs must link with.
23291 # Do this before checking for the system-independent R6 libraries
23292 # (-lICE), since we may need -lsocket or whatever for X linking.
23293
23294 if test "$ISC" = yes; then
23295 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
23296 else
23297 # Martyn Johnson says this is needed for Ultrix, if the X
23298 # libraries were built with DECnet support. And Karl Berry says
23299 # the Alpha needs dnet_stub (dnet does not exist).
23300 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
23301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23302 /* end confdefs.h. */
23303
23304 /* Override any GCC internal prototype to avoid an error.
23305 Use char because int might match the return type of a GCC
23306 builtin and then its argument prototype would still apply. */
23307 #ifdef __cplusplus
23308 extern "C"
23309 #endif
23310 char XOpenDisplay ();
23311 int
23312 main ()
23313 {
23314 return XOpenDisplay ();
23315 ;
23316 return 0;
23317 }
23318 _ACEOF
23319 if ac_fn_c_try_link "$LINENO"; then :
23320
23321 else
23322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
23323 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
23324 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
23325 $as_echo_n "(cached) " >&6
23326 else
23327 ac_check_lib_save_LIBS=$LIBS
23328 LIBS="-ldnet $LIBS"
23329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23330 /* end confdefs.h. */
23331
23332 /* Override any GCC internal prototype to avoid an error.
23333 Use char because int might match the return type of a GCC
23334 builtin and then its argument prototype would still apply. */
23335 #ifdef __cplusplus
23336 extern "C"
23337 #endif
23338 char dnet_ntoa ();
23339 int
23340 main ()
23341 {
23342 return dnet_ntoa ();
23343 ;
23344 return 0;
23345 }
23346 _ACEOF
23347 if ac_fn_c_try_link "$LINENO"; then :
23348 ac_cv_lib_dnet_dnet_ntoa=yes
23349 else
23350 ac_cv_lib_dnet_dnet_ntoa=no
23351 fi
23352 rm -f core conftest.err conftest.$ac_objext \
23353 conftest$ac_exeext conftest.$ac_ext
23354 LIBS=$ac_check_lib_save_LIBS
23355 fi
23356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23357 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
23358 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
23359 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23360 fi
23361
23362 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
23364 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
23365 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
23366 $as_echo_n "(cached) " >&6
23367 else
23368 ac_check_lib_save_LIBS=$LIBS
23369 LIBS="-ldnet_stub $LIBS"
23370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23371 /* end confdefs.h. */
23372
23373 /* Override any GCC internal prototype to avoid an error.
23374 Use char because int might match the return type of a GCC
23375 builtin and then its argument prototype would still apply. */
23376 #ifdef __cplusplus
23377 extern "C"
23378 #endif
23379 char dnet_ntoa ();
23380 int
23381 main ()
23382 {
23383 return dnet_ntoa ();
23384 ;
23385 return 0;
23386 }
23387 _ACEOF
23388 if ac_fn_c_try_link "$LINENO"; then :
23389 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23390 else
23391 ac_cv_lib_dnet_stub_dnet_ntoa=no
23392 fi
23393 rm -f core conftest.err conftest.$ac_objext \
23394 conftest$ac_exeext conftest.$ac_ext
23395 LIBS=$ac_check_lib_save_LIBS
23396 fi
23397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23398 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
23399 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
23400 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23401 fi
23402
23403 fi
23404 fi
23405 rm -f core conftest.err conftest.$ac_objext \
23406 conftest$ac_exeext conftest.$ac_ext
23407 LIBS="$ac_xsave_LIBS"
23408
23409 # [email protected] says -lnsl (and -lsocket) are needed for his 386/AT,
23410 # to get the SysV transport functions.
23411 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23412 # needs -lnsl.
23413 # The nsl library prevents programs from opening the X display
23414 # on Irix 5.2, according to T.E. Dickey.
23415 # The functions gethostbyname, getservbyname, and inet_addr are
23416 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23417 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
23418 if test "x$ac_cv_func_gethostbyname" = xyes; then :
23419
23420 fi
23421
23422 if test $ac_cv_func_gethostbyname = no; then
23423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
23424 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
23425 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
23426 $as_echo_n "(cached) " >&6
23427 else
23428 ac_check_lib_save_LIBS=$LIBS
23429 LIBS="-lnsl $LIBS"
23430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23431 /* end confdefs.h. */
23432
23433 /* Override any GCC internal prototype to avoid an error.
23434 Use char because int might match the return type of a GCC
23435 builtin and then its argument prototype would still apply. */
23436 #ifdef __cplusplus
23437 extern "C"
23438 #endif
23439 char gethostbyname ();
23440 int
23441 main ()
23442 {
23443 return gethostbyname ();
23444 ;
23445 return 0;
23446 }
23447 _ACEOF
23448 if ac_fn_c_try_link "$LINENO"; then :
23449 ac_cv_lib_nsl_gethostbyname=yes
23450 else
23451 ac_cv_lib_nsl_gethostbyname=no
23452 fi
23453 rm -f core conftest.err conftest.$ac_objext \
23454 conftest$ac_exeext conftest.$ac_ext
23455 LIBS=$ac_check_lib_save_LIBS
23456 fi
23457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
23458 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
23459 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
23460 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23461 fi
23462
23463 if test $ac_cv_lib_nsl_gethostbyname = no; then
23464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
23465 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
23466 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
23467 $as_echo_n "(cached) " >&6
23468 else
23469 ac_check_lib_save_LIBS=$LIBS
23470 LIBS="-lbsd $LIBS"
23471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23472 /* end confdefs.h. */
23473
23474 /* Override any GCC internal prototype to avoid an error.
23475 Use char because int might match the return type of a GCC
23476 builtin and then its argument prototype would still apply. */
23477 #ifdef __cplusplus
23478 extern "C"
23479 #endif
23480 char gethostbyname ();
23481 int
23482 main ()
23483 {
23484 return gethostbyname ();
23485 ;
23486 return 0;
23487 }
23488 _ACEOF
23489 if ac_fn_c_try_link "$LINENO"; then :
23490 ac_cv_lib_bsd_gethostbyname=yes
23491 else
23492 ac_cv_lib_bsd_gethostbyname=no
23493 fi
23494 rm -f core conftest.err conftest.$ac_objext \
23495 conftest$ac_exeext conftest.$ac_ext
23496 LIBS=$ac_check_lib_save_LIBS
23497 fi
23498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
23499 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
23500 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
23501 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23502 fi
23503
23504 fi
23505 fi
23506
23507 # [email protected] says without -lsocket,
23508 # socket/setsockopt and other routines are undefined under SCO ODT
23509 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23510 # on later versions), says Simon Leinen: it contains gethostby*
23511 # variants that don't use the name server (or something). -lsocket
23512 # must be given before -lnsl if both are needed. We assume that
23513 # if connect needs -lnsl, so does gethostbyname.
23514 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
23515 if test "x$ac_cv_func_connect" = xyes; then :
23516
23517 fi
23518
23519 if test $ac_cv_func_connect = no; then
23520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
23521 $as_echo_n "checking for connect in -lsocket... " >&6; }
23522 if ${ac_cv_lib_socket_connect+:} false; then :
23523 $as_echo_n "(cached) " >&6
23524 else
23525 ac_check_lib_save_LIBS=$LIBS
23526 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23528 /* end confdefs.h. */
23529
23530 /* Override any GCC internal prototype to avoid an error.
23531 Use char because int might match the return type of a GCC
23532 builtin and then its argument prototype would still apply. */
23533 #ifdef __cplusplus
23534 extern "C"
23535 #endif
23536 char connect ();
23537 int
23538 main ()
23539 {
23540 return connect ();
23541 ;
23542 return 0;
23543 }
23544 _ACEOF
23545 if ac_fn_c_try_link "$LINENO"; then :
23546 ac_cv_lib_socket_connect=yes
23547 else
23548 ac_cv_lib_socket_connect=no
23549 fi
23550 rm -f core conftest.err conftest.$ac_objext \
23551 conftest$ac_exeext conftest.$ac_ext
23552 LIBS=$ac_check_lib_save_LIBS
23553 fi
23554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
23555 $as_echo "$ac_cv_lib_socket_connect" >&6; }
23556 if test "x$ac_cv_lib_socket_connect" = xyes; then :
23557 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23558 fi
23559
23560 fi
23561
23562 # Guillermo Gomez says -lposix is necessary on A/UX.
23563 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
23564 if test "x$ac_cv_func_remove" = xyes; then :
23565
23566 fi
23567
23568 if test $ac_cv_func_remove = no; then
23569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
23570 $as_echo_n "checking for remove in -lposix... " >&6; }
23571 if ${ac_cv_lib_posix_remove+:} false; then :
23572 $as_echo_n "(cached) " >&6
23573 else
23574 ac_check_lib_save_LIBS=$LIBS
23575 LIBS="-lposix $LIBS"
23576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23577 /* end confdefs.h. */
23578
23579 /* Override any GCC internal prototype to avoid an error.
23580 Use char because int might match the return type of a GCC
23581 builtin and then its argument prototype would still apply. */
23582 #ifdef __cplusplus
23583 extern "C"
23584 #endif
23585 char remove ();
23586 int
23587 main ()
23588 {
23589 return remove ();
23590 ;
23591 return 0;
23592 }
23593 _ACEOF
23594 if ac_fn_c_try_link "$LINENO"; then :
23595 ac_cv_lib_posix_remove=yes
23596 else
23597 ac_cv_lib_posix_remove=no
23598 fi
23599 rm -f core conftest.err conftest.$ac_objext \
23600 conftest$ac_exeext conftest.$ac_ext
23601 LIBS=$ac_check_lib_save_LIBS
23602 fi
23603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
23604 $as_echo "$ac_cv_lib_posix_remove" >&6; }
23605 if test "x$ac_cv_lib_posix_remove" = xyes; then :
23606 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23607 fi
23608
23609 fi
23610
23611 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23612 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
23613 if test "x$ac_cv_func_shmat" = xyes; then :
23614
23615 fi
23616
23617 if test $ac_cv_func_shmat = no; then
23618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
23619 $as_echo_n "checking for shmat in -lipc... " >&6; }
23620 if ${ac_cv_lib_ipc_shmat+:} false; then :
23621 $as_echo_n "(cached) " >&6
23622 else
23623 ac_check_lib_save_LIBS=$LIBS
23624 LIBS="-lipc $LIBS"
23625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23626 /* end confdefs.h. */
23627
23628 /* Override any GCC internal prototype to avoid an error.
23629 Use char because int might match the return type of a GCC
23630 builtin and then its argument prototype would still apply. */
23631 #ifdef __cplusplus
23632 extern "C"
23633 #endif
23634 char shmat ();
23635 int
23636 main ()
23637 {
23638 return shmat ();
23639 ;
23640 return 0;
23641 }
23642 _ACEOF
23643 if ac_fn_c_try_link "$LINENO"; then :
23644 ac_cv_lib_ipc_shmat=yes
23645 else
23646 ac_cv_lib_ipc_shmat=no
23647 fi
23648 rm -f core conftest.err conftest.$ac_objext \
23649 conftest$ac_exeext conftest.$ac_ext
23650 LIBS=$ac_check_lib_save_LIBS
23651 fi
23652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
23653 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
23654 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
23655 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23656 fi
23657
23658 fi
23659 fi
23660
23661 # Check for libraries that X11R6 Xt/Xaw programs need.
23662 ac_save_LDFLAGS=$LDFLAGS
23663 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23664 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23665 # check for ICE first), but we must link in the order -lSM -lICE or
23666 # we get undefined symbols. So assume we have SM if we have ICE.
23667 # These have to be linked with before -lX11, unlike the other
23668 # libraries we check for below, so use a different variable.
23669 # John Interrante, Karl Berry
23670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
23671 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
23672 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
23673 $as_echo_n "(cached) " >&6
23674 else
23675 ac_check_lib_save_LIBS=$LIBS
23676 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23678 /* end confdefs.h. */
23679
23680 /* Override any GCC internal prototype to avoid an error.
23681 Use char because int might match the return type of a GCC
23682 builtin and then its argument prototype would still apply. */
23683 #ifdef __cplusplus
23684 extern "C"
23685 #endif
23686 char IceConnectionNumber ();
23687 int
23688 main ()
23689 {
23690 return IceConnectionNumber ();
23691 ;
23692 return 0;
23693 }
23694 _ACEOF
23695 if ac_fn_c_try_link "$LINENO"; then :
23696 ac_cv_lib_ICE_IceConnectionNumber=yes
23697 else
23698 ac_cv_lib_ICE_IceConnectionNumber=no
23699 fi
23700 rm -f core conftest.err conftest.$ac_objext \
23701 conftest$ac_exeext conftest.$ac_ext
23702 LIBS=$ac_check_lib_save_LIBS
23703 fi
23704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23705 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
23706 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
23707 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23708 fi
23709
23710 LDFLAGS=$ac_save_LDFLAGS
23711
23712 fi
23713
23714 if test x$no_x = xyes ; then
23715 as_fn_error $? "X development libraries not found" "$LINENO" 5
23716 fi
23717
23718 x_cflags="$X_CFLAGS"
23719 x_libs_for_checks="$X_LIBS -lXext -lXrender -lX11 $X_EXTRA_LIBS"
23720
23721 GTK_DEP_LIBS_FOR_X="$X_LIBS -lXrender -lX11 $X_EXTRA_LIBS"
23722 fi
23723
23724 # Extra libraries found during checks (-lXinerama, etc), not from pkg-config.
23725 x_extra_libs=
23726
23727 gtk_save_cppflags="$CPPFLAGS"
23728 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
23729
23730 gtk_save_LIBS=$LIBS
23731 LIBS="$x_libs_for_checks $LIBS"
23732
23733 # Sanity check for the X11 and Xext libraries. While everything we need from
23734 # Xext is optional, the chances a system has *none* of these things is so
23735 # small that we just unconditionally require it.
23736 ac_fn_c_check_func "$LINENO" "XOpenDisplay" "ac_cv_func_XOpenDisplay"
23737 if test "x$ac_cv_func_XOpenDisplay" = xyes; then :
23738 :
23739 else
23740 as_fn_error $? "*** libX11 not found. Check 'config.log' for more details." "$LINENO" 5
23741 fi
23742
23743 ac_fn_c_check_func "$LINENO" "XextFindDisplay" "ac_cv_func_XextFindDisplay"
23744 if test "x$ac_cv_func_XextFindDisplay" = xyes; then :
23745 :
23746 else
23747 as_fn_error $? "*** libXext not found. Check 'config.log' for more details." "$LINENO" 5
23748 fi
23749
23750 ac_fn_c_check_func "$LINENO" "XRenderQueryExtension" "ac_cv_func_XRenderQueryExtension"
23751 if test "x$ac_cv_func_XRenderQueryExtension" = xyes; then :
23752 :
23753 else
23754 as_fn_error $? "*** libXrender not found. Check 'config.log' for more details." "$LINENO" 5
23755 fi
23756
23757
23758 # Check for xReply
23759
23760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if <X11/extensions/XIproto.h> is needed for xReply" >&5
23761 $as_echo_n "checking if <X11/extensions/XIproto.h> is needed for xReply... " >&6; }
23762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23763 /* end confdefs.h. */
23764 #include <X11/Xlibint.h>
23765 int
23766 main ()
23767 {
23768 xReply *rep;
23769 ;
23770 return 0;
23771 }
23772 _ACEOF
23773 if ac_fn_c_try_compile "$LINENO"; then :
23774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23775 $as_echo "no" >&6; }
23776 else
23777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23778 /* end confdefs.h. */
23779 #include <X11/extensions/XIproto.h>
23780 #include <X11/Xlibint.h>
23781 int
23782 main ()
23783 {
23784 xReply *rep;
23785 ;
23786 return 0;
23787 }
23788 _ACEOF
23789 if ac_fn_c_try_compile "$LINENO"; then :
23790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23791 $as_echo "yes" >&6; }
23792
23793 $as_echo "#define NEED_XIPROTO_H_FOR_XREPLY 1" >>confdefs.h
23794
23795 else
23796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
23797 $as_echo "unknown" >&6; }
23798 as_fn_error $? "xReply type unavailable. X11 is too old" "$LINENO" 5
23799 fi
23800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23801 fi
23802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23803
23804 # Check for XConvertCase, XInternAtoms (X11R6 specific)
23805
23806 for ac_func in XConvertCase XInternAtoms
23807 do :
23808 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23809 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23810 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23811 cat >>confdefs.h <<_ACEOF
23812 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23813 _ACEOF
23814
23815 fi
23816 done
23817
23818
23819 # Generic X11R6 check needed for XIM support; we could
23820 # probably use this to replace the above, but we'll
23821 # leave the separate checks for XConvertCase and XInternAtoms
23822 # for clarity
23823
23824 have_x11r6=false
23825 ac_fn_c_check_func "$LINENO" "XAddConnectionWatch" "ac_cv_func_XAddConnectionWatch"
23826 if test "x$ac_cv_func_XAddConnectionWatch" = xyes; then :
23827 have_x11r6=true
23828 fi
23829
23830
23831 if $have_x11r6; then
23832
23833 $as_echo "#define HAVE_X11R6 1" >>confdefs.h
23834
23835 fi
23836 if $have_x11r6; then
23837 HAVE_X11R6_TRUE=
23838 HAVE_X11R6_FALSE='#'
23839 else
23840 HAVE_X11R6_TRUE='#'
23841 HAVE_X11R6_FALSE=
23842 fi
23843
23844
23845 # Check for XKB support.
23846
23847 if test "x$enable_xkb" = "xyes"; then
23848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XKB support explicitly enabled" >&5
23849 $as_echo "$as_me: WARNING: XKB support explicitly enabled" >&2;}
23850
23851 $as_echo "#define HAVE_XKB 1" >>confdefs.h
23852
23853 elif test "x$enable_xkb" = "xmaybe"; then
23854 ac_fn_c_check_func "$LINENO" "XkbQueryExtension" "ac_cv_func_XkbQueryExtension"
23855 if test "x$ac_cv_func_XkbQueryExtension" = xyes; then :
23856
23857 $as_echo "#define HAVE_XKB 1" >>confdefs.h
23858
23859 fi
23860
23861 else
23862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XKB support explicitly disabled" >&5
23863 $as_echo "$as_me: WARNING: XKB support explicitly disabled" >&2;}
23864 fi
23865
23866 # Check for shaped window extension
23867
23868 ac_fn_c_check_func "$LINENO" "XShapeCombineMask" "ac_cv_func_XShapeCombineMask"
23869 if test "x$ac_cv_func_XShapeCombineMask" = xyes; then :
23870 :
23871 else
23872 as_fn_error $? "Shape extension not found, check your development headers" "$LINENO" 5
23873 fi
23874
23875
23876 # X SYNC check
23877 gtk_save_CFLAGS="$CFLAGS"
23878 CFLAGS="$CFLAGS $x_cflags"
23879
23880 ac_fn_c_check_func "$LINENO" "XSyncQueryExtension" "ac_cv_func_XSyncQueryExtension"
23881 if test "x$ac_cv_func_XSyncQueryExtension" = xyes; then :
23882 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/sync.h" "ac_cv_header_X11_extensions_sync_h" "#include <X11/Xlib.h>
23883 "
23884 if test "x$ac_cv_header_X11_extensions_sync_h" = xyes; then :
23885
23886 $as_echo "#define HAVE_XSYNC 1" >>confdefs.h
23887
23888 else
23889 :
23890 fi
23891
23892
23893 fi
23894
23895
23896 CFLAGS="$gtk_save_CFLAGS"
23897
23898 # Xshm checks
23899
23900 if test "x$enable_shm" = "xyes"; then
23901 # Check for the XShm extension, normally in Xext
23902 ac_fn_c_check_func "$LINENO" "XShmAttach" "ac_cv_func_XShmAttach"
23903 if test "x$ac_cv_func_XShmAttach" = xyes; then :
23904 :
23905 else
23906 # On AIX, it is in XextSam instead
23907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmAttach in -lXextSam" >&5
23908 $as_echo_n "checking for XShmAttach in -lXextSam... " >&6; }
23909 if ${ac_cv_lib_XextSam_XShmAttach+:} false; then :
23910 $as_echo_n "(cached) " >&6
23911 else
23912 ac_check_lib_save_LIBS=$LIBS
23913 LIBS="-lXextSam $LIBS"
23914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23915 /* end confdefs.h. */
23916
23917 /* Override any GCC internal prototype to avoid an error.
23918 Use char because int might match the return type of a GCC
23919 builtin and then its argument prototype would still apply. */
23920 #ifdef __cplusplus
23921 extern "C"
23922 #endif
23923 char XShmAttach ();
23924 int
23925 main ()
23926 {
23927 return XShmAttach ();
23928 ;
23929 return 0;
23930 }
23931 _ACEOF
23932 if ac_fn_c_try_link "$LINENO"; then :
23933 ac_cv_lib_XextSam_XShmAttach=yes
23934 else
23935 ac_cv_lib_XextSam_XShmAttach=no
23936 fi
23937 rm -f core conftest.err conftest.$ac_objext \
23938 conftest$ac_exeext conftest.$ac_ext
23939 LIBS=$ac_check_lib_save_LIBS
23940 fi
23941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_XextSam_XShmAttach" >&5
23942 $as_echo "$ac_cv_lib_XextSam_XShmAttach" >&6; }
23943 if test "x$ac_cv_lib_XextSam_XShmAttach" = xyes; then :
23944 case "$x_extra_libs " in
23945 *-lXextSam[\ \ ]*) ;;
23946 *) x_extra_libs="-lXextSam $x_extra_libs" ;;
23947 esac
23948
23949 fi
23950
23951 fi
23952
23953 fi
23954
23955 if test "x$enable_shm" = "xyes"; then
23956 # Check for shared memory
23957 ac_fn_c_check_header_mongrel "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
23958 if test "x$ac_cv_header_sys_ipc_h" = xyes; then :
23959
23960 $as_echo "#define HAVE_IPC_H 1" >>confdefs.h
23961
23962 else
23963 no_sys_ipc=yes
23964 fi
23965
23966
23967 ac_fn_c_check_header_mongrel "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
23968 if test "x$ac_cv_header_sys_shm_h" = xyes; then :
23969
23970 $as_echo "#define HAVE_SHM_H 1" >>confdefs.h
23971
23972 else
23973 no_sys_shm=yes
23974 fi
23975
23976
23977
23978 # Check for the X shared memory extension header file
23979 have_xshm=no
23980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11/extensions/XShm.h" >&5
23981 $as_echo_n "checking X11/extensions/XShm.h... " >&6; }
23982 if test "x$no_xext_lib" = "xyes"; then
23983 :
23984 else
23985 gtk_save_CFLAGS="$CFLAGS"
23986 CFLAGS="$CFLAGS $x_cflags"
23987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23988 /* end confdefs.h. */
23989
23990 #include <stdlib.h>
23991 #include <sys/types.h>
23992 #include <sys/ipc.h>
23993 #include <sys/shm.h>
23994 #include <X11/Xlib.h>
23995 #include <X11/Xutil.h>
23996 #include <X11/extensions/XShm.h>
23997
23998 int
23999 main ()
24000 {
24001 XShmSegmentInfo *x_shm_info;
24002 ;
24003 return 0;
24004 }
24005 _ACEOF
24006 if ac_fn_c_try_compile "$LINENO"; then :
24007 have_xshm=yes
24008 fi
24009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24010 CFLAGS="$gtk_save_CFLAGS"
24011 fi
24012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_xshm" >&5
24013 $as_echo "$have_xshm" >&6; }
24014 if test $have_xshm = yes ; then
24015
24016 $as_echo "#define HAVE_XSHM_H 1" >>confdefs.h
24017
24018 fi
24019 fi
24020
24021 if test "x$enable_xinerama" = "xyes"; then
24022 # Check for Xinerama extension (Solaris impl or Xfree impl)
24023 gtk_save_cppflags="$CPPFLAGS"
24024 CPPFLAGS="$CPPFLAGS $x_cflags"
24025
24026 # Check for XFree
24027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama support on XFree86" >&5
24028 $as_echo_n "checking for Xinerama support on XFree86... " >&6; }
24029
24030 have_xfree_xinerama=false
24031 if $PKG_CONFIG --exists xinerama ; then
24032 have_xfree_xinerama=true
24033 X_PACKAGES="$X_PACKAGES xinerama"
24034 else
24035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryExtension in -lXinerama" >&5
24036 $as_echo_n "checking for XineramaQueryExtension in -lXinerama... " >&6; }
24037 if ${ac_cv_lib_Xinerama_XineramaQueryExtension+:} false; then :
24038 $as_echo_n "(cached) " >&6
24039 else
24040 ac_check_lib_save_LIBS=$LIBS
24041 LIBS="-lXinerama $LIBS"
24042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24043 /* end confdefs.h. */
24044
24045 /* Override any GCC internal prototype to avoid an error.
24046 Use char because int might match the return type of a GCC
24047 builtin and then its argument prototype would still apply. */
24048 #ifdef __cplusplus
24049 extern "C"
24050 #endif
24051 char XineramaQueryExtension ();
24052 int
24053 main ()
24054 {
24055 return XineramaQueryExtension ();
24056 ;
24057 return 0;
24058 }
24059 _ACEOF
24060 if ac_fn_c_try_link "$LINENO"; then :
24061 ac_cv_lib_Xinerama_XineramaQueryExtension=yes
24062 else
24063 ac_cv_lib_Xinerama_XineramaQueryExtension=no
24064 fi
24065 rm -f core conftest.err conftest.$ac_objext \
24066 conftest$ac_exeext conftest.$ac_ext
24067 LIBS=$ac_check_lib_save_LIBS
24068 fi
24069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryExtension" >&5
24070 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryExtension" >&6; }
24071 if test "x$ac_cv_lib_Xinerama_XineramaQueryExtension" = xyes; then :
24072 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#include <X11/Xlib.h>
24073 "
24074 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes; then :
24075 case "$x_extra_libs " in
24076 *-lXinerama[\ \ ]*) ;;
24077 *) x_extra_libs="-lXinerama $x_extra_libs" ;;
24078 esac
24079
24080 have_xfree_xinerama=true
24081 else
24082 :
24083 fi
24084
24085
24086 fi
24087
24088 fi
24089
24090 if $have_xfree_xinerama ; then
24091
24092 $as_echo "#define HAVE_XFREE_XINERAMA 1" >>confdefs.h
24093
24094
24095 $as_echo "#define HAVE_XINERAMA 1" >>confdefs.h
24096
24097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24098 $as_echo "yes" >&6; }
24099 else
24100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24101 $as_echo "no" >&6; }
24102
24103 case "$host" in
24104 *-*-solaris*)
24105 # Check for solaris
24106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama support on Solaris" >&5
24107 $as_echo_n "checking for Xinerama support on Solaris... " >&6; }
24108
24109 have_solaris_xinerama=false
24110 ac_fn_c_check_func "$LINENO" "XineramaGetInfo" "ac_cv_func_XineramaGetInfo"
24111 if test "x$ac_cv_func_XineramaGetInfo" = xyes; then :
24112 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xinerama.h" "ac_cv_header_X11_extensions_xinerama_h" "#include <X11/Xlib.h>
24113 "
24114 if test "x$ac_cv_header_X11_extensions_xinerama_h" = xyes; then :
24115 have_solaris_xinerama=true
24116 else
24117 :
24118 fi
24119
24120
24121 fi
24122
24123
24124 if $have_solaris_xinerama ; then
24125
24126 $as_echo "#define HAVE_SOLARIS_XINERAMA 1" >>confdefs.h
24127
24128
24129 $as_echo "#define HAVE_XINERAMA 1" >>confdefs.h
24130
24131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24132 $as_echo "yes" >&6; }
24133 else
24134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24135 $as_echo "no" >&6; }
24136 fi
24137 ;;
24138 *)
24139 ;;
24140 esac
24141 fi
24142 fi
24143
24144 # set up things for XInput
24145
24146 if test "x$with_xinput" = "xxfree" || test "x$with_xinput" = "xyes"; then
24147
24148 $as_echo "#define XINPUT_XFREE 1" >>confdefs.h
24149
24150
24151 if $PKG_CONFIG --exists xi ; then
24152 X_PACKAGES="$X_PACKAGES xi"
24153 else
24154 case "$x_extra_libs " in
24155 *-lXi[\ \ ]*) ;;
24156 *) x_extra_libs="-lXi $x_extra_libs" ;;
24157 esac
24158
24159 fi
24160 else
24161
24162 $as_echo "#define XINPUT_NONE 1" >>confdefs.h
24163
24164 fi
24165
24166 if test x$with_xinput = xxfree || test x$with_xinput = xyes; then
24167 XINPUT_XFREE_TRUE=
24168 XINPUT_XFREE_FALSE='#'
24169 else
24170 XINPUT_XFREE_TRUE='#'
24171 XINPUT_XFREE_FALSE=
24172 fi
24173
24174
24175 # Check for the RANDR extension
24176 if $PKG_CONFIG --exists "xrandr >= 1.2.99" ; then
24177
24178 $as_echo "#define HAVE_RANDR 1" >>confdefs.h
24179
24180
24181 if $PKG_CONFIG --exists "xrandr >= 1.5.0" ; then
24182
24183 $as_echo "#define HAVE_RANDR15 1" >>confdefs.h
24184
24185 fi
24186 X_PACKAGES="$X_PACKAGES xrandr"
24187 fi
24188
24189 # Checks for Xcursor library
24190
24191 if $PKG_CONFIG --exists xcursor ; then
24192
24193 $as_echo "#define HAVE_XCURSOR 1" >>confdefs.h
24194
24195
24196 X_PACKAGES="$X_PACKAGES xcursor"
24197 fi
24198
24199 # Checks for XFixes extension
24200
24201 if $PKG_CONFIG --exists xfixes ; then
24202
24203 $as_echo "#define HAVE_XFIXES 1" >>confdefs.h
24204
24205
24206 X_PACKAGES="$X_PACKAGES xfixes"
24207 GTK_PACKAGES_FOR_X="$GTK_PACKAGES_FOR_X xfixes"
24208 fi
24209
24210 # Checks for Xcomposite extension
24211
24212 if $PKG_CONFIG --exists xcomposite ; then
24213
24214 $as_echo "#define HAVE_XCOMPOSITE 1" >>confdefs.h
24215
24216
24217 X_PACKAGES="$X_PACKAGES xcomposite"
24218 GTK_PACKAGES_FOR_X="$GTK_PACKAGES_FOR_X xcomposite"
24219 fi
24220
24221 # Checks for Xdamage extension
24222
24223 if $PKG_CONFIG --exists xdamage ; then
24224
24225 $as_echo "#define HAVE_XDAMAGE 1" >>confdefs.h
24226
24227
24228 X_PACKAGES="$X_PACKAGES xdamage"
24229 GTK_PACKAGES_FOR_X="$GTK_PACKAGES_FOR_X xdamage"
24230 fi
24231
24232 if $have_base_x_pc ; then
24233 GDK_EXTRA_LIBS="$x_extra_libs"
24234 else
24235 GDK_EXTRA_LIBS="$X_LIBS $x_extra_libs -lXext -lX11 $GDK_EXTRA_LIBS"
24236 fi
24237
24238 CPPFLAGS="$gtk_save_cppflags"
24239 LIBS="$gtk_save_libs"
24240
24241 if true; then
24242 USE_X11_TRUE=
24243 USE_X11_FALSE='#'
24244 else
24245 USE_X11_TRUE='#'
24246 USE_X11_FALSE=
24247 fi
24248
24249 else
24250 XPACKAGES=
24251
24252 if false; then
24253 XINPUT_XFREE_TRUE=
24254 XINPUT_XFREE_FALSE='#'
24255 else
24256 XINPUT_XFREE_TRUE='#'
24257 XINPUT_XFREE_FALSE=
24258 fi
24259
24260 if false; then
24261 USE_X11_TRUE=
24262 USE_X11_FALSE='#'
24263 else
24264 USE_X11_TRUE='#'
24265 USE_X11_FALSE=
24266 fi
24267
24268 if false; then
24269 HAVE_X11R6_TRUE=
24270 HAVE_X11R6_FALSE='#'
24271 else
24272 HAVE_X11R6_TRUE='#'
24273 HAVE_X11R6_FALSE=
24274 fi
24275
24276 fi
24277
24278 if test "x$gdktarget" = "xwin32"; then
24279 GDK_EXTRA_LIBS="$GDK_EXTRA_LIBS -lgdi32 -limm32 -lshell32 -lole32 -Wl,-luuid"
24280 if true; then
24281 USE_WIN32_TRUE=
24282 USE_WIN32_FALSE='#'
24283 else
24284 USE_WIN32_TRUE='#'
24285 USE_WIN32_FALSE=
24286 fi
24287
24288 else
24289 if false; then
24290 USE_WIN32_TRUE=
24291 USE_WIN32_FALSE='#'
24292 else
24293 USE_WIN32_TRUE='#'
24294 USE_WIN32_FALSE=
24295 fi
24296
24297 fi
24298
24299 # Check whether --enable-quartz-relocation was given.
24300 if test "${enable_quartz_relocation+set}" = set; then :
24301 enableval=$enable_quartz_relocation; quartz_relocation=yes
24302 fi
24303
24304
24305 if test "x$gdktarget" = "xquartz"; then
24306 GDK_EXTRA_LIBS="$GDK_EXTRA_LIBS -framework Cocoa"
24307 if true; then
24308 USE_QUARTZ_TRUE=
24309 USE_QUARTZ_FALSE='#'
24310 else
24311 USE_QUARTZ_TRUE='#'
24312 USE_QUARTZ_FALSE=
24313 fi
24314
24315 if test "x$quartz_relocation" = xyes; then
24316
24317 $as_echo "#define QUARTZ_RELOCATION 1" >>confdefs.h
24318
24319 fi
24320
24321 else
24322 if false; then
24323 USE_QUARTZ_TRUE=
24324 USE_QUARTZ_FALSE='#'
24325 else
24326 USE_QUARTZ_TRUE='#'
24327 USE_QUARTZ_FALSE=
24328 fi
24329
24330 fi
24331
24332 if test "x$gdktarget" = "xdirectfb"; then
24333 DIRECTFB_REQUIRED_VERSION=1.0.0
24334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DirectFB" >&5
24335 $as_echo_n "checking for DirectFB... " >&6; }
24336
24337
24338 pkg_failed=no
24339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24340 $as_echo_n "checking for DIRECTFB... " >&6; }
24341
24342 if test -n "$DIRECTFB_CFLAGS"; then
24343 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
24344 elif test -n "$PKG_CONFIG"; then
24345 if test -n "$PKG_CONFIG" && \
24346 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= \$DIRECTFB_REQUIRED_VERSION\""; } >&5
24347 ($PKG_CONFIG --exists --print-errors "directfb >= $DIRECTFB_REQUIRED_VERSION") 2>&5
24348 ac_status=$?
24349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24350 test $ac_status = 0; }; then
24351 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= $DIRECTFB_REQUIRED_VERSION" 2>/dev/null`
24352 test "x$?" != "x0" && pkg_failed=yes
24353 else
24354 pkg_failed=yes
24355 fi
24356 else
24357 pkg_failed=untried
24358 fi
24359 if test -n "$DIRECTFB_LIBS"; then
24360 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
24361 elif test -n "$PKG_CONFIG"; then
24362 if test -n "$PKG_CONFIG" && \
24363 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= \$DIRECTFB_REQUIRED_VERSION\""; } >&5
24364 ($PKG_CONFIG --exists --print-errors "directfb >= $DIRECTFB_REQUIRED_VERSION") 2>&5
24365 ac_status=$?
24366 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24367 test $ac_status = 0; }; then
24368 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= $DIRECTFB_REQUIRED_VERSION" 2>/dev/null`
24369 test "x$?" != "x0" && pkg_failed=yes
24370 else
24371 pkg_failed=yes
24372 fi
24373 else
24374 pkg_failed=untried
24375 fi
24376
24377
24378
24379 if test $pkg_failed = yes; then
24380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24381 $as_echo "no" >&6; }
24382
24383 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24384 _pkg_short_errors_supported=yes
24385 else
24386 _pkg_short_errors_supported=no
24387 fi
24388 if test $_pkg_short_errors_supported = yes; then
24389 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "directfb >= $DIRECTFB_REQUIRED_VERSION" 2>&1`
24390 else
24391 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "directfb >= $DIRECTFB_REQUIRED_VERSION" 2>&1`
24392 fi
24393 # Put the nasty error message in config.log where it belongs
24394 echo "$DIRECTFB_PKG_ERRORS" >&5
24395
24396 as_fn_error $? "Package requirements (directfb >= $DIRECTFB_REQUIRED_VERSION) were not met:
24397
24398 $DIRECTFB_PKG_ERRORS
24399
24400 Consider adjusting the PKG_CONFIG_PATH environment variable if you
24401 installed software in a non-standard prefix.
24402
24403 Alternatively, you may set the environment variables DIRECTFB_CFLAGS
24404 and DIRECTFB_LIBS to avoid the need to call pkg-config.
24405 See the pkg-config man page for more details." "$LINENO" 5
24406 elif test $pkg_failed = untried; then
24407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24408 $as_echo "no" >&6; }
24409 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24410 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24411 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
24412 is in your PATH or set the PKG_CONFIG environment variable to the full
24413 path to pkg-config.
24414
24415 Alternatively, you may set the environment variables DIRECTFB_CFLAGS
24416 and DIRECTFB_LIBS to avoid the need to call pkg-config.
24417 See the pkg-config man page for more details.
24418
24419 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24420 See \`config.log' for more details" "$LINENO" 5; }
24421 else
24422 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
24423 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
24424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24425 $as_echo "yes" >&6; }
24426
24427 fi
24428 if true; then
24429 USE_DIRECTFB_TRUE=
24430 USE_DIRECTFB_FALSE='#'
24431 else
24432 USE_DIRECTFB_TRUE='#'
24433 USE_DIRECTFB_FALSE=
24434 fi
24435
24436 else
24437 if false; then
24438 USE_DIRECTFB_TRUE=
24439 USE_DIRECTFB_FALSE='#'
24440 else
24441 USE_DIRECTFB_TRUE='#'
24442 USE_DIRECTFB_FALSE=
24443 fi
24444
24445 fi
24446
24447
24448 # Check for Pango flags
24449
24450 if test "x$gdktarget" = "xwin32"; then
24451 PANGO_PACKAGES="pangowin32 pangocairo"
24452 else
24453 PANGO_PACKAGES="pango pangocairo"
24454 fi
24455
24456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Pango flags" >&5
24457 $as_echo_n "checking Pango flags... " >&6; }
24458 if $PKG_CONFIG --exists $PANGO_PACKAGES ; then
24459 PANGO_CFLAGS=`$PKG_CONFIG --cflags $PANGO_PACKAGES`
24460 PANGO_LIBS=`$PKG_CONFIG --libs $PANGO_PACKAGES`
24461
24462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PANGO_CFLAGS $PANGO_LIBS" >&5
24463 $as_echo "$PANGO_CFLAGS $PANGO_LIBS" >&6; }
24464 else
24465 as_fn_error $? "
24466 *** Pango not found. Pango built with Cairo support is required
24467 *** to build GTK+. See http://www.pango.org for Pango information.
24468 " "$LINENO" 5
24469 fi
24470
24471 CFLAGS="$CFLAGS $PANGO_CFLAGS"
24472
24473 if $PKG_CONFIG --uninstalled $PANGO_PACKAGES; then
24474 :
24475 else
24476 gtk_save_LIBS="$LIBS"
24477 LIBS="$PANGO_LIBS $LIBS"
24478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24479 /* end confdefs.h. */
24480
24481 /* Override any GCC internal prototype to avoid an error.
24482 Use char because int might match the return type of a GCC
24483 builtin and then its argument prototype would still apply. */
24484 #ifdef __cplusplus
24485 extern "C"
24486 #endif
24487 char pango_context_new ();
24488 int
24489 main ()
24490 {
24491 return pango_context_new ();
24492 ;
24493 return 0;
24494 }
24495 _ACEOF
24496 if ac_fn_c_try_link "$LINENO"; then :
24497 :
24498 else
24499 as_fn_error $? "
24500 *** Can't link to Pango. Pango is required to build
24501 *** GTK+. For more information see http://www.pango.org" "$LINENO" 5
24502 fi
24503 rm -f core conftest.err conftest.$ac_objext \
24504 conftest$ac_exeext conftest.$ac_ext
24505 LIBS="$gtk_save_LIBS"
24506 fi
24507
24508 CFLAGS="$saved_cflags"
24509 LDFLAGS="$saved_ldflags"
24510
24511 # Pull in gio-unix for GDesktopAppInfo usage, see at least gdkapplaunchcontext-x11.c
24512 if test "x$gdktarget" = "xx11"; then
24513 GDK_PACKAGES="$PANGO_PACKAGES gio-unix-2.0 $X_PACKAGES gdk-pixbuf-2.0 cairo-$cairo_backend"
24514 else
24515 GDK_PACKAGES="$PANGO_PACKAGES gio-2.0 gdk-pixbuf-2.0 cairo-$cairo_backend"
24516 fi
24517
24518 GDK_DEP_LIBS="$GDK_EXTRA_LIBS `$PKG_CONFIG --libs $GDK_PACKAGES` $MATH_LIB"
24519 GDK_DEP_CFLAGS="`$PKG_CONFIG --cflags gthread-2.0 $GDK_PACKAGES` $GDK_EXTRA_CFLAGS"
24520 #
24521 # If we aren't writing explicit dependencies, then don't put the extra libraries we need
24522 # into the pkg-config files
24523 #
24524 if test $enable_explicit_deps != yes ; then
24525 GDK_PACKAGES="$PANGO_PACKAGES gdk-pixbuf-2.0"
24526 GDK_EXTRA_LIBS=
24527 fi
24528
24529
24530
24531
24532
24533
24534
24535
24536 ########################################
24537 # Check for Accessibility Toolkit flags
24538 ########################################
24539
24540 ATK_PACKAGES=atk
24541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ATK flags" >&5
24542 $as_echo_n "checking ATK flags... " >&6; }
24543 if $PKG_CONFIG --exists $ATK_PACKAGES ; then
24544 ATK_CFLAGS=`$PKG_CONFIG --cflags $ATK_PACKAGES`
24545 ATK_LIBS=`$PKG_CONFIG --libs $ATK_PACKAGES`
24546
24547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ATK_CFLAGS $ATK_LIBS" >&5
24548 $as_echo "$ATK_CFLAGS $ATK_LIBS" >&6; }
24549 else
24550 as_fn_error $? "
24551 *** Accessibility Toolkit not found. Accessibility Toolkit is required
24552 *** to build GTK+.
24553 " "$LINENO" 5
24554 fi
24555
24556 if $PKG_CONFIG --uninstalled $ATK_PACKAGES; then
24557 :
24558 else
24559 gtk_save_LIBS="$LIBS"
24560 LIBS="$ATK_LIBS $LIBS"
24561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24562 /* end confdefs.h. */
24563
24564 /* Override any GCC internal prototype to avoid an error.
24565 Use char because int might match the return type of a GCC
24566 builtin and then its argument prototype would still apply. */
24567 #ifdef __cplusplus
24568 extern "C"
24569 #endif
24570 char atk_object_get_type ();
24571 int
24572 main ()
24573 {
24574 return atk_object_get_type ();
24575 ;
24576 return 0;
24577 }
24578 _ACEOF
24579 if ac_fn_c_try_link "$LINENO"; then :
24580 :
24581 else
24582 as_fn_error $? "
24583 *** Cannot link to Accessibility Toolkit. Accessibility Toolkit is required
24584 *** to build GTK+" "$LINENO" 5
24585 fi
24586 rm -f core conftest.err conftest.$ac_objext \
24587 conftest$ac_exeext conftest.$ac_ext
24588 LIBS="$gtk_save_LIBS"
24589 fi
24590
24591 GTK_PACKAGES="atk cairo gdk-pixbuf-2.0 gio-2.0"
24592 if test "x$gdktarget" = "xx11"; then
24593 GTK_PACKAGES="$GTK_PACKAGES pangoft2"
24594 fi
24595 GTK_EXTRA_LIBS=
24596 GTK_EXTRA_CFLAGS=
24597 GTK_DEP_LIBS="$GDK_EXTRA_LIBS $GTK_DEP_LIBS_FOR_X `$PKG_CONFIG --libs $PANGO_PACKAGES $GTK_PACKAGES_FOR_X $GTK_PACKAGES` $GTK_EXTRA_LIBS $MATH_LIB"
24598 GTK_DEP_CFLAGS="`$PKG_CONFIG --cflags gthread-2.0 $GDK_PACKAGES $GTK_PACKAGES` $GDK_EXTRA_CFLAGS $GTK_EXTRA_CFLAGS"
24599
24600 if test x"$os_win32" = xyes; then
24601 GTK_EXTRA_CFLAGS="$msnative_struct"
24602 fi
24603
24604 GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
24605 ATK_PREFIX="`$PKG_CONFIG --variable=prefix atk`"
24606 PANGO_PREFIX="`$PKG_CONFIG --variable=prefix pango`"
24607 CAIRO_PREFIX="`pkg-config --variable=prefix cairo`"
24608
24609
24610
24611
24612
24613
24614
24615
24616
24617
24618
24619
24620
24621
24622
24623 GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs gdk-pixbuf-2.0`
24624
24625
24626 ########################
24627 # Checks needed for gail
24628 ########################
24629
24630 old_LIBS="$LIBS"
24631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostent" >&5
24632 $as_echo_n "checking for library containing gethostent... " >&6; }
24633 if ${ac_cv_search_gethostent+:} false; then :
24634 $as_echo_n "(cached) " >&6
24635 else
24636 ac_func_search_save_LIBS=$LIBS
24637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24638 /* end confdefs.h. */
24639
24640 /* Override any GCC internal prototype to avoid an error.
24641 Use char because int might match the return type of a GCC
24642 builtin and then its argument prototype would still apply. */
24643 #ifdef __cplusplus
24644 extern "C"
24645 #endif
24646 char gethostent ();
24647 int
24648 main ()
24649 {
24650 return gethostent ();
24651 ;
24652 return 0;
24653 }
24654 _ACEOF
24655 for ac_lib in '' nsl; do
24656 if test -z "$ac_lib"; then
24657 ac_res="none required"
24658 else
24659 ac_res=-l$ac_lib
24660 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24661 fi
24662 if ac_fn_c_try_link "$LINENO"; then :
24663 ac_cv_search_gethostent=$ac_res
24664 fi
24665 rm -f core conftest.err conftest.$ac_objext \
24666 conftest$ac_exeext
24667 if ${ac_cv_search_gethostent+:} false; then :
24668 break
24669 fi
24670 done
24671 if ${ac_cv_search_gethostent+:} false; then :
24672
24673 else
24674 ac_cv_search_gethostent=no
24675 fi
24676 rm conftest.$ac_ext
24677 LIBS=$ac_func_search_save_LIBS
24678 fi
24679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostent" >&5
24680 $as_echo "$ac_cv_search_gethostent" >&6; }
24681 ac_res=$ac_cv_search_gethostent
24682 if test "$ac_res" != no; then :
24683 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
24684
24685 fi
24686
24687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5
24688 $as_echo_n "checking for library containing setsockopt... " >&6; }
24689 if ${ac_cv_search_setsockopt+:} false; then :
24690 $as_echo_n "(cached) " >&6
24691 else
24692 ac_func_search_save_LIBS=$LIBS
24693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24694 /* end confdefs.h. */
24695
24696 /* Override any GCC internal prototype to avoid an error.
24697 Use char because int might match the return type of a GCC
24698 builtin and then its argument prototype would still apply. */
24699 #ifdef __cplusplus
24700 extern "C"
24701 #endif
24702 char setsockopt ();
24703 int
24704 main ()
24705 {
24706 return setsockopt ();
24707 ;
24708 return 0;
24709 }
24710 _ACEOF
24711 for ac_lib in '' socket; do
24712 if test -z "$ac_lib"; then
24713 ac_res="none required"
24714 else
24715 ac_res=-l$ac_lib
24716 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24717 fi
24718 if ac_fn_c_try_link "$LINENO"; then :
24719 ac_cv_search_setsockopt=$ac_res
24720 fi
24721 rm -f core conftest.err conftest.$ac_objext \
24722 conftest$ac_exeext
24723 if ${ac_cv_search_setsockopt+:} false; then :
24724 break
24725 fi
24726 done
24727 if ${ac_cv_search_setsockopt+:} false; then :
24728
24729 else
24730 ac_cv_search_setsockopt=no
24731 fi
24732 rm conftest.$ac_ext
24733 LIBS=$ac_func_search_save_LIBS
24734 fi
24735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_setsockopt" >&5
24736 $as_echo "$ac_cv_search_setsockopt" >&6; }
24737 ac_res=$ac_cv_search_setsockopt
24738 if test "$ac_res" != no; then :
24739 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
24740
24741 fi
24742
24743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
24744 $as_echo_n "checking for library containing connect... " >&6; }
24745 if ${ac_cv_search_connect+:} false; then :
24746 $as_echo_n "(cached) " >&6
24747 else
24748 ac_func_search_save_LIBS=$LIBS
24749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24750 /* end confdefs.h. */
24751
24752 /* Override any GCC internal prototype to avoid an error.
24753 Use char because int might match the return type of a GCC
24754 builtin and then its argument prototype would still apply. */
24755 #ifdef __cplusplus
24756 extern "C"
24757 #endif
24758 char connect ();
24759 int
24760 main ()
24761 {
24762 return connect ();
24763 ;
24764 return 0;
24765 }
24766 _ACEOF
24767 for ac_lib in '' inet; do
24768 if test -z "$ac_lib"; then
24769 ac_res="none required"
24770 else
24771 ac_res=-l$ac_lib
24772 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24773 fi
24774 if ac_fn_c_try_link "$LINENO"; then :
24775 ac_cv_search_connect=$ac_res
24776 fi
24777 rm -f core conftest.err conftest.$ac_objext \
24778 conftest$ac_exeext
24779 if ${ac_cv_search_connect+:} false; then :
24780 break
24781 fi
24782 done
24783 if ${ac_cv_search_connect+:} false; then :
24784
24785 else
24786 ac_cv_search_connect=no
24787 fi
24788 rm conftest.$ac_ext
24789 LIBS=$ac_func_search_save_LIBS
24790 fi
24791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
24792 $as_echo "$ac_cv_search_connect" >&6; }
24793 ac_res=$ac_cv_search_connect
24794 if test "$ac_res" != no; then :
24795 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
24796
24797 fi
24798
24799
24800 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
24801 #include <sys/un.h>
24802
24803 "
24804 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
24805 struct_sockaddr_un_sun_len=true
24806 else
24807 struct_sockaddr_un_suin_len=false
24808 fi
24809
24810 case $struct_sockaddr_un_sun_len in
24811 true)
24812
24813 cat >>confdefs.h <<_ACEOF
24814 #define HAVE_SOCKADDR_UN_SUN_LEN 1
24815 _ACEOF
24816
24817 ;;
24818 *)
24819 ;;
24820 esac
24821
24822 GAIL_INET_LIBS="$LIBS"
24823
24824
24825 LIBS="$old_LIBS"
24826
24827 ################################################################
24828 # Printing system checks
24829 ################################################################
24830
24831 # Check whether --enable-cups was given.
24832 if test "${enable_cups+set}" = set; then :
24833 enableval=$enable_cups;
24834 else
24835 enable_cups=auto
24836 fi
24837
24838
24839 if test "x$enable_cups" = "xno"; then
24840 if false; then
24841 HAVE_CUPS_TRUE=
24842 HAVE_CUPS_FALSE='#'
24843 else
24844 HAVE_CUPS_TRUE='#'
24845 HAVE_CUPS_FALSE=
24846 fi
24847
24848 else
24849 if test -n "$ac_tool_prefix"; then
24850 # Extract the first word of "${ac_tool_prefix}cups-config", so it can be a program name with args.
24851 set dummy ${ac_tool_prefix}cups-config; ac_word=$2
24852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24853 $as_echo_n "checking for $ac_word... " >&6; }
24854 if ${ac_cv_path_CUPS_CONFIG+:} false; then :
24855 $as_echo_n "(cached) " >&6
24856 else
24857 case $CUPS_CONFIG in
24858 [\\/]* | ?:[\\/]*)
24859 ac_cv_path_CUPS_CONFIG="$CUPS_CONFIG" # Let the user override the test with a path.
24860 ;;
24861 *)
24862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24863 for as_dir in $PATH
24864 do
24865 IFS=$as_save_IFS
24866 test -z "$as_dir" && as_dir=.
24867 for ac_exec_ext in '' $ac_executable_extensions; do
24868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24869 ac_cv_path_CUPS_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24871 break 2
24872 fi
24873 done
24874 done
24875 IFS=$as_save_IFS
24876
24877 ;;
24878 esac
24879 fi
24880 CUPS_CONFIG=$ac_cv_path_CUPS_CONFIG
24881 if test -n "$CUPS_CONFIG"; then
24882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CUPS_CONFIG" >&5
24883 $as_echo "$CUPS_CONFIG" >&6; }
24884 else
24885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24886 $as_echo "no" >&6; }
24887 fi
24888
24889
24890 fi
24891 if test -z "$ac_cv_path_CUPS_CONFIG"; then
24892 ac_pt_CUPS_CONFIG=$CUPS_CONFIG
24893 # Extract the first word of "cups-config", so it can be a program name with args.
24894 set dummy cups-config; ac_word=$2
24895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24896 $as_echo_n "checking for $ac_word... " >&6; }
24897 if ${ac_cv_path_ac_pt_CUPS_CONFIG+:} false; then :
24898 $as_echo_n "(cached) " >&6
24899 else
24900 case $ac_pt_CUPS_CONFIG in
24901 [\\/]* | ?:[\\/]*)
24902 ac_cv_path_ac_pt_CUPS_CONFIG="$ac_pt_CUPS_CONFIG" # Let the user override the test with a path.
24903 ;;
24904 *)
24905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24906 for as_dir in $PATH
24907 do
24908 IFS=$as_save_IFS
24909 test -z "$as_dir" && as_dir=.
24910 for ac_exec_ext in '' $ac_executable_extensions; do
24911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24912 ac_cv_path_ac_pt_CUPS_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24914 break 2
24915 fi
24916 done
24917 done
24918 IFS=$as_save_IFS
24919
24920 ;;
24921 esac
24922 fi
24923 ac_pt_CUPS_CONFIG=$ac_cv_path_ac_pt_CUPS_CONFIG
24924 if test -n "$ac_pt_CUPS_CONFIG"; then
24925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CUPS_CONFIG" >&5
24926 $as_echo "$ac_pt_CUPS_CONFIG" >&6; }
24927 else
24928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24929 $as_echo "no" >&6; }
24930 fi
24931
24932 if test "x$ac_pt_CUPS_CONFIG" = x; then
24933 CUPS_CONFIG="no"
24934 else
24935 case $cross_compiling:$ac_tool_warned in
24936 yes:)
24937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24938 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24939 ac_tool_warned=yes ;;
24940 esac
24941 CUPS_CONFIG=$ac_pt_CUPS_CONFIG
24942 fi
24943 else
24944 CUPS_CONFIG="$ac_cv_path_CUPS_CONFIG"
24945 fi
24946
24947 if test "x$CUPS_CONFIG" = "xno"; then
24948 if test "x$enable_cups" = "xauto"; then
24949 if false; then
24950 HAVE_CUPS_TRUE=
24951 HAVE_CUPS_FALSE='#'
24952 else
24953 HAVE_CUPS_TRUE='#'
24954 HAVE_CUPS_FALSE=
24955 fi
24956
24957 else
24958 as_fn_error $? "
24959 *** cups not found.
24960 " "$LINENO" 5
24961 fi
24962 else
24963 CUPS_CFLAGS=`$CUPS_CONFIG --cflags | sed 's/-O0-9*//' | sed 's/-m^\t*//g'`
24964 CUPS_LIBS=`$CUPS_CONFIG --libs`
24965
24966 CUPS_API_VERSION=`$CUPS_CONFIG --api-version`
24967 CUPS_API_MAJOR=`echo $ECHO_N $CUPS_API_VERSION | awk -F. '{print $1}'`
24968 CUPS_API_MINOR=`echo $ECHO_N $CUPS_API_VERSION | awk -F. '{print $2}'`
24969
24970 if test $CUPS_API_MAJOR -gt 1 -o \
24971 $CUPS_API_MAJOR -eq 1 -a $CUPS_API_MINOR -ge 2; then
24972
24973 $as_echo "#define HAVE_CUPS_API_1_2 1" >>confdefs.h
24974
24975 fi
24976 if test $CUPS_API_MAJOR -gt 1 -o \
24977 $CUPS_API_MAJOR -eq 1 -a $CUPS_API_MINOR -ge 6; then
24978
24979 $as_echo "#define HAVE_CUPS_API_1_6 1" >>confdefs.h
24980
24981 have_cups_api_1_6=yes
24982 fi
24983
24984
24985
24986
24987
24988
24989 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
24990 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
24991
24992 else
24993 as_fn_error $? "*** Sorry, cups-config present but cups/cups.h missing." "$LINENO" 5
24994 fi
24995
24996
24997
24998 if true; then
24999 HAVE_CUPS_TRUE=
25000 HAVE_CUPS_FALSE='#'
25001 else
25002 HAVE_CUPS_TRUE='#'
25003 HAVE_CUPS_FALSE=
25004 fi
25005
25006
25007 gtk_save_cflags="$CFLAGS"
25008 CFLAGS="$CUPS_CFLAGS"
25009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25010 /* end confdefs.h. */
25011 #include <cups/http.h>
25012 int
25013 main ()
25014 {
25015 http_t http; char *s = http.authstring;
25016 ;
25017 return 0;
25018 }
25019 _ACEOF
25020 if ac_fn_c_try_compile "$LINENO"; then :
25021
25022 $as_echo "#define HAVE_HTTP_AUTHSTRING /**/" >>confdefs.h
25023
25024 fi
25025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25026 CFLAGS="$gtk_save_cflags"
25027
25028
25029
25030 gtk_save_libs="$LIBS"
25031 LIBS="$CUPS_LIBS"
25032 for ac_func in httpGetAuthString
25033 do :
25034 ac_fn_c_check_func "$LINENO" "httpGetAuthString" "ac_cv_func_httpGetAuthString"
25035 if test "x$ac_cv_func_httpGetAuthString" = xyes; then :
25036 cat >>confdefs.h <<_ACEOF
25037 #define HAVE_HTTPGETAUTHSTRING 1
25038 _ACEOF
25039
25040 fi
25041 done
25042
25043 LIBS="$gtk_save_libs"
25044 fi
25045 fi
25046
25047 # Checks to see if we should compile with PAPI backend for GTK+
25048 #
25049
25050 # Check whether --enable-papi was given.
25051 if test "${enable_papi+set}" = set; then :
25052 enableval=$enable_papi;
25053 else
25054 enable_papi=auto
25055 fi
25056
25057
25058 if test "x$enable_papi" = "xno"; then
25059 if false; then
25060 HAVE_PAPI_TRUE=
25061 HAVE_PAPI_FALSE='#'
25062 else
25063 HAVE_PAPI_TRUE='#'
25064 HAVE_PAPI_FALSE=
25065 fi
25066
25067 else
25068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libpapi" >&5
25069 $as_echo_n "checking libpapi... " >&6; }
25070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for papiServiceCreate in -lpapi" >&5
25071 $as_echo_n "checking for papiServiceCreate in -lpapi... " >&6; }
25072 if ${ac_cv_lib_papi_papiServiceCreate+:} false; then :
25073 $as_echo_n "(cached) " >&6
25074 else
25075 ac_check_lib_save_LIBS=$LIBS
25076 LIBS="-lpapi $LIBS"
25077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25078 /* end confdefs.h. */
25079
25080 /* Override any GCC internal prototype to avoid an error.
25081 Use char because int might match the return type of a GCC
25082 builtin and then its argument prototype would still apply. */
25083 #ifdef __cplusplus
25084 extern "C"
25085 #endif
25086 char papiServiceCreate ();
25087 int
25088 main ()
25089 {
25090 return papiServiceCreate ();
25091 ;
25092 return 0;
25093 }
25094 _ACEOF
25095 if ac_fn_c_try_link "$LINENO"; then :
25096 ac_cv_lib_papi_papiServiceCreate=yes
25097 else
25098 ac_cv_lib_papi_papiServiceCreate=no
25099 fi
25100 rm -f core conftest.err conftest.$ac_objext \
25101 conftest$ac_exeext conftest.$ac_ext
25102 LIBS=$ac_check_lib_save_LIBS
25103 fi
25104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_papi_papiServiceCreate" >&5
25105 $as_echo "$ac_cv_lib_papi_papiServiceCreate" >&6; }
25106 if test "x$ac_cv_lib_papi_papiServiceCreate" = xyes; then :
25107 have_papi=yes
25108 else
25109 have_papi=no
25110 fi
25111
25112 if test $have_papi = yes; then
25113
25114 $as_echo "#define HAVE_PAPI /**/" >>confdefs.h
25115
25116 fi
25117 if test $have_papi = yes; then
25118 HAVE_PAPI_TRUE=
25119 HAVE_PAPI_FALSE='#'
25120 else
25121 HAVE_PAPI_TRUE='#'
25122 HAVE_PAPI_FALSE=
25123 fi
25124
25125 if test "x$enable_papi" = "xyes" -a "x$have_papi" = "xno"; then
25126 as_fn_error $? "
25127 *** papi not found.
25128 " "$LINENO" 5
25129 fi
25130 fi
25131
25132 if test "x$have_papi" = "xyes" -a "x$CUPS_CONFIG" != "xno"; then
25133 HAVE_PAPI_CUPS_TRUE=
25134 HAVE_PAPI_CUPS_FALSE='#'
25135 else
25136 HAVE_PAPI_CUPS_TRUE='#'
25137 HAVE_PAPI_CUPS_FALSE=
25138 fi
25139
25140
25141 gtk_save_cppflags="$CPPFLAGS"
25142 CPPFLAGS="$CPPFLAGS $GTK_DEP_CFLAGS $GDK_DEP_CFLAGS"
25143
25144 ac_fn_c_check_header_mongrel "$LINENO" "cairo-pdf.h" "ac_cv_header_cairo_pdf_h" "$ac_includes_default"
25145 if test "x$ac_cv_header_cairo_pdf_h" = xyes; then :
25146
25147 else
25148 as_fn_error $? "
25149 *** Can't find cairo-pdf.h. You must build Cairo with the pdf
25150 *** backend enabled." "$LINENO" 5
25151 fi
25152
25153
25154
25155 if test "$os_win32" != "yes"; then
25156 ac_fn_c_check_header_mongrel "$LINENO" "cairo-ps.h" "ac_cv_header_cairo_ps_h" "$ac_includes_default"
25157 if test "x$ac_cv_header_cairo_ps_h" = xyes; then :
25158
25159 else
25160 as_fn_error $? "
25161 *** Can't find cairo-ps.h. You must build Cairo with the
25162 *** postscript backend enabled." "$LINENO" 5
25163 fi
25164
25165
25166
25167 ac_fn_c_check_header_mongrel "$LINENO" "cairo-svg.h" "ac_cv_header_cairo_svg_h" "$ac_includes_default"
25168 if test "x$ac_cv_header_cairo_svg_h" = xyes; then :
25169
25170 else
25171 as_fn_error $? "
25172 *** Can't find cairo-svg.h. You must build Cairo with the
25173 *** svg backend enabled." "$LINENO" 5
25174 fi
25175
25176
25177 fi
25178
25179 CPPFLAGS="$gtk_save_cppflags"
25180
25181
25182 # Check whether --enable-test-print-backend was given.
25183 if test "${enable_test_print_backend+set}" = set; then :
25184 enableval=$enable_test_print_backend;
25185 else
25186 enable_test_print_backend=no
25187 fi
25188
25189 if test "x$enable_test_print_backend" != "xno"; then
25190 TEST_PRINT_BACKEND_TRUE=
25191 TEST_PRINT_BACKEND_FALSE='#'
25192 else
25193 TEST_PRINT_BACKEND_TRUE='#'
25194 TEST_PRINT_BACKEND_FALSE=
25195 fi
25196
25197
25198 if test "$os_win32" = "yes"; then
25199 ac_fn_c_check_type "$LINENO" "IPrintDialogCallback" "ac_cv_type_IPrintDialogCallback" "#include <windows.h>
25200 "
25201 if test "x$ac_cv_type_IPrintDialogCallback" = xyes; then :
25202
25203 cat >>confdefs.h <<_ACEOF
25204 #define HAVE_IPRINTDIALOGCALLBACK 1
25205 _ACEOF
25206
25207
25208 fi
25209
25210 fi
25211
25212 ################################################################
25213 # Strip -export-dynamic from the link lines of various libraries
25214 ################################################################
25215
25216 #
25217 # pkg-config --libs gmodule includes the "export_dynamic" flag,
25218 # but this flag is only meaningful for executables. For libraries
25219 # the effect is undefined; what it causes on Linux is that the
25220 # export list from -export-symbols-regex is ignored and everything
25221 # is exported
25222 #
25223 # We are using gmodule-no-export now, but I'm leaving the stripping
25224 # code in place for now, since pango and atk still require gmodule.
25225 export SED
25226 export_dynamic=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
25227 if test -n "$export_dynamic"; then
25228 GDK_DEP_LIBS=`echo $GDK_DEP_LIBS | sed -e "s/$export_dynamic//"`
25229 GTK_DEP_LIBS=`echo $GTK_DEP_LIBS | sed -e "s/$export_dynamic//"`
25230 fi
25231
25232 ##################################################
25233 # GObject introspection
25234 ##################################################
25235
25236
25237
25238
25239 # Check whether --enable-introspection was given.
25240 if test "${enable_introspection+set}" = set; then :
25241 enableval=$enable_introspection;
25242 else
25243 enable_introspection=auto
25244 fi
25245
25246
25247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
25248 $as_echo_n "checking for gobject-introspection... " >&6; }
25249
25250 case $enable_introspection in #(
25251 no) :
25252 found_introspection="no (disabled, use --enable-introspection to enable)"
25253 ;; #(
25254 yes) :
25255 if test -n "$PKG_CONFIG" && \
25256 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
25257 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
25258 ac_status=$?
25259 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25260 test $ac_status = 0; }; then
25261 :
25262 else
25263 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
25264 fi
25265 if test -n "$PKG_CONFIG" && \
25266 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.3\""; } >&5
25267 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.3") 2>&5
25268 ac_status=$?
25269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25270 test $ac_status = 0; }; then
25271 found_introspection=yes
25272 else
25273 as_fn_error $? "You need to have gobject-introspection >= 0.9.3 installed to build gtk+" "$LINENO" 5
25274 fi
25275 ;; #(
25276 auto) :
25277 if test -n "$PKG_CONFIG" && \
25278 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.3\""; } >&5
25279 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.3") 2>&5
25280 ac_status=$?
25281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25282 test $ac_status = 0; }; then
25283 found_introspection=yes
25284 else
25285 found_introspection=no
25286 fi
25287 ;; #(
25288 *) :
25289 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
25290 ;;
25291 esac
25292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
25293 $as_echo "$found_introspection" >&6; }
25294
25295 INTROSPECTION_SCANNER=
25296 INTROSPECTION_COMPILER=
25297 INTROSPECTION_GENERATE=
25298 INTROSPECTION_GIRDIR=
25299 INTROSPECTION_TYPELIBDIR=
25300 if test "x$found_introspection" = "xyes"; then
25301 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
25302 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
25303 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
25304 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
25305 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
25306 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
25307 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
25308 INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
25309 fi
25310
25311
25312
25313
25314
25315
25316
25317
25318
25319 if test "x$found_introspection" = "xyes"; then
25320 HAVE_INTROSPECTION_TRUE=
25321 HAVE_INTROSPECTION_FALSE='#'
25322 else
25323 HAVE_INTROSPECTION_TRUE='#'
25324 HAVE_INTROSPECTION_FALSE=
25325 fi
25326
25327
25328
25329
25330 ##################################################
25331 # Checks for gtk-doc and docbook-tools
25332 ##################################################
25333
25334
25335
25336
25337 gtk_doc_requires="gtk-doc >= 1.11"
25338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
25339 $as_echo_n "checking for gtk-doc... " >&6; }
25340 if test -n "$PKG_CONFIG" && \
25341 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
25342 ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
25343 ac_status=$?
25344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25345 test $ac_status = 0; }; then
25346 have_gtk_doc=yes
25347 else
25348 have_gtk_doc=no
25349 fi
25350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
25351 $as_echo "$have_gtk_doc" >&6; }
25352
25353 if test "$have_gtk_doc" = "no"; then
25354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
25355 You will not be able to create source packages with 'make dist'
25356 because $gtk_doc_requires is not found." >&5
25357 $as_echo "$as_me: WARNING:
25358 You will not be able to create source packages with 'make dist'
25359 because $gtk_doc_requires is not found." >&2;}
25360 fi
25361
25362 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
25363 set dummy gtkdoc-check; ac_word=$2
25364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25365 $as_echo_n "checking for $ac_word... " >&6; }
25366 if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
25367 $as_echo_n "(cached) " >&6
25368 else
25369 if test -n "$GTKDOC_CHECK"; then
25370 ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
25371 else
25372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25373 for as_dir in $PATH
25374 do
25375 IFS=$as_save_IFS
25376 test -z "$as_dir" && as_dir=.
25377 for ac_exec_ext in '' $ac_executable_extensions; do
25378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25379 ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
25380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25381 break 2
25382 fi
25383 done
25384 done
25385 IFS=$as_save_IFS
25386
25387 fi
25388 fi
25389 GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
25390 if test -n "$GTKDOC_CHECK"; then
25391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
25392 $as_echo "$GTKDOC_CHECK" >&6; }
25393 else
25394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25395 $as_echo "no" >&6; }
25396 fi
25397
25398
25399 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
25400 set dummy gtkdoc-check; ac_word=$2
25401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25402 $as_echo_n "checking for $ac_word... " >&6; }
25403 if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
25404 $as_echo_n "(cached) " >&6
25405 else
25406 case $GTKDOC_CHECK_PATH in
25407 [\\/]* | ?:[\\/]*)
25408 ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
25409 ;;
25410 *)
25411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25412 for as_dir in $PATH
25413 do
25414 IFS=$as_save_IFS
25415 test -z "$as_dir" && as_dir=.
25416 for ac_exec_ext in '' $ac_executable_extensions; do
25417 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25418 ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
25419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25420 break 2
25421 fi
25422 done
25423 done
25424 IFS=$as_save_IFS
25425
25426 ;;
25427 esac
25428 fi
25429 GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
25430 if test -n "$GTKDOC_CHECK_PATH"; then
25431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
25432 $as_echo "$GTKDOC_CHECK_PATH" >&6; }
25433 else
25434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25435 $as_echo "no" >&6; }
25436 fi
25437
25438
25439 for ac_prog in gtkdoc-rebase
25440 do
25441 # Extract the first word of "$ac_prog", so it can be a program name with args.
25442 set dummy $ac_prog; ac_word=$2
25443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25444 $as_echo_n "checking for $ac_word... " >&6; }
25445 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
25446 $as_echo_n "(cached) " >&6
25447 else
25448 case $GTKDOC_REBASE in
25449 [\\/]* | ?:[\\/]*)
25450 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
25451 ;;
25452 *)
25453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25454 for as_dir in $PATH
25455 do
25456 IFS=$as_save_IFS
25457 test -z "$as_dir" && as_dir=.
25458 for ac_exec_ext in '' $ac_executable_extensions; do
25459 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25460 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
25461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25462 break 2
25463 fi
25464 done
25465 done
25466 IFS=$as_save_IFS
25467
25468 ;;
25469 esac
25470 fi
25471 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
25472 if test -n "$GTKDOC_REBASE"; then
25473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
25474 $as_echo "$GTKDOC_REBASE" >&6; }
25475 else
25476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25477 $as_echo "no" >&6; }
25478 fi
25479
25480
25481 test -n "$GTKDOC_REBASE" && break
25482 done
25483 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
25484
25485 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
25486 set dummy gtkdoc-mkpdf; ac_word=$2
25487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25488 $as_echo_n "checking for $ac_word... " >&6; }
25489 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
25490 $as_echo_n "(cached) " >&6
25491 else
25492 case $GTKDOC_MKPDF in
25493 [\\/]* | ?:[\\/]*)
25494 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
25495 ;;
25496 *)
25497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25498 for as_dir in $PATH
25499 do
25500 IFS=$as_save_IFS
25501 test -z "$as_dir" && as_dir=.
25502 for ac_exec_ext in '' $ac_executable_extensions; do
25503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25504 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
25505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25506 break 2
25507 fi
25508 done
25509 done
25510 IFS=$as_save_IFS
25511
25512 ;;
25513 esac
25514 fi
25515 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
25516 if test -n "$GTKDOC_MKPDF"; then
25517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
25518 $as_echo "$GTKDOC_MKPDF" >&6; }
25519 else
25520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25521 $as_echo "no" >&6; }
25522 fi
25523
25524
25525
25526
25527 # Check whether --with-html-dir was given.
25528 if test "${with_html_dir+set}" = set; then :
25529 withval=$with_html_dir;
25530 else
25531 with_html_dir='${datadir}/gtk-doc/html'
25532 fi
25533
25534 HTML_DIR="$with_html_dir"
25535
25536
25537 # Check whether --enable-gtk-doc was given.
25538 if test "${enable_gtk_doc+set}" = set; then :
25539 enableval=$enable_gtk_doc;
25540 else
25541 enable_gtk_doc=no
25542 fi
25543
25544
25545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
25546 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
25547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
25548 $as_echo "$enable_gtk_doc" >&6; }
25549
25550 if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
25551 as_fn_error $? "
25552 You must have $gtk_doc_requires installed to build documentation for
25553 $PACKAGE_NAME. Please install gtk-doc or disable building the
25554 documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
25555 fi
25556
25557 if test "x$PACKAGE_NAME" != "xglib"; then
25558
25559 pkg_failed=no
25560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
25561 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
25562
25563 if test -n "$GTKDOC_DEPS_CFLAGS"; then
25564 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
25565 elif test -n "$PKG_CONFIG"; then
25566 if test -n "$PKG_CONFIG" && \
25567 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
25568 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
25569 ac_status=$?
25570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25571 test $ac_status = 0; }; then
25572 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
25573 test "x$?" != "x0" && pkg_failed=yes
25574 else
25575 pkg_failed=yes
25576 fi
25577 else
25578 pkg_failed=untried
25579 fi
25580 if test -n "$GTKDOC_DEPS_LIBS"; then
25581 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
25582 elif test -n "$PKG_CONFIG"; then
25583 if test -n "$PKG_CONFIG" && \
25584 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
25585 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
25586 ac_status=$?
25587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25588 test $ac_status = 0; }; then
25589 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
25590 test "x$?" != "x0" && pkg_failed=yes
25591 else
25592 pkg_failed=yes
25593 fi
25594 else
25595 pkg_failed=untried
25596 fi
25597
25598
25599
25600 if test $pkg_failed = yes; then
25601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25602 $as_echo "no" >&6; }
25603
25604 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25605 _pkg_short_errors_supported=yes
25606 else
25607 _pkg_short_errors_supported=no
25608 fi
25609 if test $_pkg_short_errors_supported = yes; then
25610 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
25611 else
25612 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
25613 fi
25614 # Put the nasty error message in config.log where it belongs
25615 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
25616
25617 :
25618 elif test $pkg_failed = untried; then
25619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25620 $as_echo "no" >&6; }
25621 :
25622 else
25623 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
25624 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
25625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25626 $as_echo "yes" >&6; }
25627
25628 fi
25629 fi
25630
25631 # Check whether --enable-gtk-doc-html was given.
25632 if test "${enable_gtk_doc_html+set}" = set; then :
25633 enableval=$enable_gtk_doc_html;
25634 else
25635 enable_gtk_doc_html=yes
25636 fi
25637
25638 # Check whether --enable-gtk-doc-pdf was given.
25639 if test "${enable_gtk_doc_pdf+set}" = set; then :
25640 enableval=$enable_gtk_doc_pdf;
25641 else
25642 enable_gtk_doc_pdf=no
25643 fi
25644
25645
25646 if test -z "$GTKDOC_MKPDF"; then
25647 enable_gtk_doc_pdf=no
25648 fi
25649
25650 if test -z "$AM_DEFAULT_VERBOSITY"; then
25651 AM_DEFAULT_VERBOSITY=1
25652 fi
25653
25654
25655 if test x$have_gtk_doc = xyes; then
25656 HAVE_GTK_DOC_TRUE=
25657 HAVE_GTK_DOC_FALSE='#'
25658 else
25659 HAVE_GTK_DOC_TRUE='#'
25660 HAVE_GTK_DOC_FALSE=
25661 fi
25662
25663 if test x$enable_gtk_doc = xyes; then
25664 ENABLE_GTK_DOC_TRUE=
25665 ENABLE_GTK_DOC_FALSE='#'
25666 else
25667 ENABLE_GTK_DOC_TRUE='#'
25668 ENABLE_GTK_DOC_FALSE=
25669 fi
25670
25671 if test x$enable_gtk_doc_html = xyes; then
25672 GTK_DOC_BUILD_HTML_TRUE=
25673 GTK_DOC_BUILD_HTML_FALSE='#'
25674 else
25675 GTK_DOC_BUILD_HTML_TRUE='#'
25676 GTK_DOC_BUILD_HTML_FALSE=
25677 fi
25678
25679 if test x$enable_gtk_doc_pdf = xyes; then
25680 GTK_DOC_BUILD_PDF_TRUE=
25681 GTK_DOC_BUILD_PDF_FALSE='#'
25682 else
25683 GTK_DOC_BUILD_PDF_TRUE='#'
25684 GTK_DOC_BUILD_PDF_FALSE=
25685 fi
25686
25687 if test -n "$LIBTOOL"; then
25688 GTK_DOC_USE_LIBTOOL_TRUE=
25689 GTK_DOC_USE_LIBTOOL_FALSE='#'
25690 else
25691 GTK_DOC_USE_LIBTOOL_TRUE='#'
25692 GTK_DOC_USE_LIBTOOL_FALSE=
25693 fi
25694
25695 if test -n "$GTKDOC_REBASE"; then
25696 GTK_DOC_USE_REBASE_TRUE=
25697 GTK_DOC_USE_REBASE_FALSE='#'
25698 else
25699 GTK_DOC_USE_REBASE_TRUE='#'
25700 GTK_DOC_USE_REBASE_FALSE=
25701 fi
25702
25703
25704
25705 # Extract the first word of "db2html", so it can be a program name with args.
25706 set dummy db2html; ac_word=$2
25707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25708 $as_echo_n "checking for $ac_word... " >&6; }
25709 if ${ac_cv_prog_DB2HTML+:} false; then :
25710 $as_echo_n "(cached) " >&6
25711 else
25712 if test -n "$DB2HTML"; then
25713 ac_cv_prog_DB2HTML="$DB2HTML" # Let the user override the test.
25714 else
25715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25716 for as_dir in $PATH
25717 do
25718 IFS=$as_save_IFS
25719 test -z "$as_dir" && as_dir=.
25720 for ac_exec_ext in '' $ac_executable_extensions; do
25721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25722 ac_cv_prog_DB2HTML="true"
25723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25724 break 2
25725 fi
25726 done
25727 done
25728 IFS=$as_save_IFS
25729
25730 test -z "$ac_cv_prog_DB2HTML" && ac_cv_prog_DB2HTML="false"
25731 fi
25732 fi
25733 DB2HTML=$ac_cv_prog_DB2HTML
25734 if test -n "$DB2HTML"; then
25735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DB2HTML" >&5
25736 $as_echo "$DB2HTML" >&6; }
25737 else
25738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25739 $as_echo "no" >&6; }
25740 fi
25741
25742
25743 if $DB2HTML; then
25744 HAVE_DOCBOOK_TRUE=
25745 HAVE_DOCBOOK_FALSE='#'
25746 else
25747 HAVE_DOCBOOK_TRUE='#'
25748 HAVE_DOCBOOK_FALSE=
25749 fi
25750
25751
25752 # Check whether --enable-man was given.
25753 if test "${enable_man+set}" = set; then :
25754 enableval=$enable_man;
25755 else
25756 enable_man=no
25757 fi
25758
25759
25760 if test "${enable_man}" != no; then
25761 # Extract the first word of "xsltproc", so it can be a program name with args.
25762 set dummy xsltproc; ac_word=$2
25763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25764 $as_echo_n "checking for $ac_word... " >&6; }
25765 if ${ac_cv_path_XSLTPROC+:} false; then :
25766 $as_echo_n "(cached) " >&6
25767 else
25768 case $XSLTPROC in
25769 [\\/]* | ?:[\\/]*)
25770 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
25771 ;;
25772 *)
25773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25774 for as_dir in $PATH
25775 do
25776 IFS=$as_save_IFS
25777 test -z "$as_dir" && as_dir=.
25778 for ac_exec_ext in '' $ac_executable_extensions; do
25779 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25780 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
25781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25782 break 2
25783 fi
25784 done
25785 done
25786 IFS=$as_save_IFS
25787
25788 ;;
25789 esac
25790 fi
25791 XSLTPROC=$ac_cv_path_XSLTPROC
25792 if test -n "$XSLTPROC"; then
25793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
25794 $as_echo "$XSLTPROC" >&6; }
25795 else
25796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25797 $as_echo "no" >&6; }
25798 fi
25799
25800
25801 if test -z "$XSLTPROC"; then
25802 enable_man=no
25803 fi
25804
25805
25806 # check for the presence of the XML catalog
25807
25808 # Check whether --with-xml-catalog was given.
25809 if test "${with_xml_catalog+set}" = set; then :
25810 withval=$with_xml_catalog;
25811 else
25812 with_xml_catalog=/etc/xml/catalog
25813 fi
25814
25815 jh_found_xmlcatalog=true
25816 XML_CATALOG_FILE="$with_xml_catalog"
25817
25818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML catalog ($XML_CATALOG_FILE)" >&5
25819 $as_echo_n "checking for XML catalog ($XML_CATALOG_FILE)... " >&6; }
25820 if test -f "$XML_CATALOG_FILE"; then
25821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
25822 $as_echo "found" >&6; }
25823 else
25824 jh_found_xmlcatalog=false
25825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25826 $as_echo "not found" >&6; }
25827 fi
25828
25829 # check for the xmlcatalog program
25830 # Extract the first word of "xmlcatalog", so it can be a program name with args.
25831 set dummy xmlcatalog; ac_word=$2
25832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25833 $as_echo_n "checking for $ac_word... " >&6; }
25834 if ${ac_cv_path_XMLCATALOG+:} false; then :
25835 $as_echo_n "(cached) " >&6
25836 else
25837 case $XMLCATALOG in
25838 [\\/]* | ?:[\\/]*)
25839 ac_cv_path_XMLCATALOG="$XMLCATALOG" # Let the user override the test with a path.
25840 ;;
25841 *)
25842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25843 for as_dir in $PATH
25844 do
25845 IFS=$as_save_IFS
25846 test -z "$as_dir" && as_dir=.
25847 for ac_exec_ext in '' $ac_executable_extensions; do
25848 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25849 ac_cv_path_XMLCATALOG="$as_dir/$ac_word$ac_exec_ext"
25850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25851 break 2
25852 fi
25853 done
25854 done
25855 IFS=$as_save_IFS
25856
25857 test -z "$ac_cv_path_XMLCATALOG" && ac_cv_path_XMLCATALOG="no"
25858 ;;
25859 esac
25860 fi
25861 XMLCATALOG=$ac_cv_path_XMLCATALOG
25862 if test -n "$XMLCATALOG"; then
25863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
25864 $as_echo "$XMLCATALOG" >&6; }
25865 else
25866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25867 $as_echo "no" >&6; }
25868 fi
25869
25870
25871 if test "x$XMLCATALOG" = xno; then
25872 jh_found_xmlcatalog=false
25873 fi
25874
25875 if $jh_found_xmlcatalog; then
25876 :
25877 else
25878 :
25879 fi
25880
25881
25882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DocBook XML DTD V4.1.2 in XML catalog" >&5
25883 $as_echo_n "checking for DocBook XML DTD V4.1.2 in XML catalog... " >&6; }
25884 if $jh_found_xmlcatalog && \
25885 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$XMLCATALOG --noout \"\$XML_CATALOG_FILE\" \"-//OASIS//DTD DocBook XML V4.1.2//EN\" >&2"; } >&5
25886 ($XMLCATALOG --noout "$XML_CATALOG_FILE" "-//OASIS//DTD DocBook XML V4.1.2//EN" >&2) 2>&5
25887 ac_status=$?
25888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25889 test $ac_status = 0; }; then
25890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
25891 $as_echo "found" >&6; }
25892 else
25893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25894 $as_echo "not found" >&6; }
25895 enable_man=no
25896 fi
25897
25898
25899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DocBook XSL Stylesheets in XML catalog" >&5
25900 $as_echo_n "checking for DocBook XSL Stylesheets in XML catalog... " >&6; }
25901 if $jh_found_xmlcatalog && \
25902 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$XMLCATALOG --noout \"\$XML_CATALOG_FILE\" \"http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl\" >&2"; } >&5
25903 ($XMLCATALOG --noout "$XML_CATALOG_FILE" "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl" >&2) 2>&5
25904 ac_status=$?
25905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25906 test $ac_status = 0; }; then
25907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
25908 $as_echo "found" >&6; }
25909 else
25910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25911 $as_echo "not found" >&6; }
25912 enable_man=no
25913 fi
25914
25915 fi
25916
25917 if test x$enable_man != xno; then
25918 ENABLE_MAN_TRUE=
25919 ENABLE_MAN_FALSE='#'
25920 else
25921 ENABLE_MAN_TRUE='#'
25922 ENABLE_MAN_FALSE=
25923 fi
25924
25925
25926 ##################################################
25927 # Check whether MSVC toolset is explicitly set
25928 ##################################################
25929
25930 if test x$MSVC_BASE_TOOLSET = x; then
25931 MSVC_BASE_NO_TOOLSET_SET_TRUE=
25932 MSVC_BASE_NO_TOOLSET_SET_FALSE='#'
25933 else
25934 MSVC_BASE_NO_TOOLSET_SET_TRUE='#'
25935 MSVC_BASE_NO_TOOLSET_SET_FALSE=
25936 fi
25937
25938 if test x$MSVC_TOOLSET = x; then
25939 MSVC_NO_TOOLSET_SET_TRUE=
25940 MSVC_NO_TOOLSET_SET_FALSE='#'
25941 else
25942 MSVC_NO_TOOLSET_SET_TRUE='#'
25943 MSVC_NO_TOOLSET_SET_FALSE=
25944 fi
25945
25946
25947 ##################################################
25948 # Output commands
25949 ##################################################
25950
25951 ac_config_commands="$ac_config_commands gdk/gdkconfig.h"
25952
25953
25954 ac_config_files="$ac_config_files config.h.win32 gtk-zip.sh Makefile gdk-2.0.pc gtk+-2.0.pc gtk+-unix-print-2.0.pc gail.pc gdk-2.0-uninstalled.pc gtk+-2.0-uninstalled.pc gail-uninstalled.pc m4macros/Makefile po/Makefile.in po-properties/Makefile.in demos/Makefile demos/gtk-demo/Makefile demos/gtk-demo/geninclude.pl tests/Makefile docs/Makefile docs/reference/Makefile docs/reference/gdk/Makefile docs/reference/gdk/version.xml docs/reference/gtk/Makefile docs/reference/gtk/version.xml docs/reference/libgail-util/Makefile docs/faq/Makefile docs/tools/Makefile docs/tutorial/Makefile build/Makefile build/win32/Makefile build/win32/vs9/Makefile build/win32/vs9/gtk-version-paths.vsprops build/win32/vs10/Makefile build/win32/vs10/gtk-version-paths.props build/win32/vs11/Makefile build/win32/vs12/Makefile build/win32/vs14/Makefile build/win32/vs15/Makefile build/win32/vs16/Makefile gdk/Makefile gdk/x11/Makefile gdk/win32/Makefile gdk/win32/rc/Makefile gdk/win32/rc/gdk.rc gdk/quartz/Makefile gdk/directfb/Makefile gdk/tests/Makefile gtk/Makefile gtk/makefile.msc gtk/gtkversion.h gtk/gtk-win32.rc gtk/theme-bits/Makefile gtk/tests/Makefile modules/Makefile modules/other/Makefile modules/other/gail/Makefile modules/other/gail/libgail-util/Makefile modules/other/gail/tests/Makefile modules/engines/Makefile modules/engines/pixbuf/Makefile modules/engines/ms-windows/Makefile modules/engines/ms-windows/Theme/Makefile modules/engines/ms-windows/Theme/gtk-2.0/Makefile modules/input/Makefile modules/printbackends/Makefile modules/printbackends/cups/Makefile modules/printbackends/lpr/Makefile modules/printbackends/file/Makefile modules/printbackends/papi/Makefile modules/printbackends/test/Makefile perf/Makefile"
25955
25956
25957 cat >confcache <<\_ACEOF
25958 # This file is a shell script that caches the results of configure
25959 # tests run on this system so they can be shared between configure
25960 # scripts and configure runs, see configure's option --config-cache.
25961 # It is not useful on other systems. If it contains results you don't
25962 # want to keep, you may remove or edit it.
25963 #
25964 # config.status only pays attention to the cache file if you give it
25965 # the --recheck option to rerun configure.
25966 #
25967 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25968 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25969 # following values.
25970
25971 _ACEOF
25972
25973 # The following way of writing the cache mishandles newlines in values,
25974 # but we know of no workaround that is simple, portable, and efficient.
25975 # So, we kill variables containing newlines.
25976 # Ultrix sh set writes to stderr and can't be redirected directly,
25977 # and sets the high bit in the cache file unless we assign to the vars.
25978 (
25979 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25980 eval ac_val=\$$ac_var
25981 case $ac_val in #(
25982 *${as_nl}*)
25983 case $ac_var in #(
25984 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25985 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25986 esac
25987 case $ac_var in #(
25988 _ | IFS | as_nl) ;; #(
25989 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25990 *) { eval $ac_var=; unset $ac_var;} ;;
25991 esac ;;
25992 esac
25993 done
25994
25995 (set) 2>&1 |
25996 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25997 *${as_nl}ac_space=\ *)
25998 # `set' does not quote correctly, so add quotes: double-quote
25999 # substitution turns \\\\ into \\, and sed turns \\ into \.
26000 sed -n \
26001 "s/'/'\\\\''/g;
26002 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26003 ;; #(
26004 *)
26005 # `set' quotes correctly as required by POSIX, so do not add quotes.
26006 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26007 ;;
26008 esac |
26009 sort
26010 ) |
26011 sed '
26012 /^ac_cv_env_/b end
26013 t clear
26014 :clear
26015 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26016 t end
26017 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26018 :end' >>confcache
26019 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26020 if test -w "$cache_file"; then
26021 if test "x$cache_file" != "x/dev/null"; then
26022 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26023 $as_echo "$as_me: updating cache $cache_file" >&6;}
26024 if test ! -f "$cache_file" || test -h "$cache_file"; then
26025 cat confcache >"$cache_file"
26026 else
26027 case $cache_file in #(
26028 */* | ?:*)
26029 mv -f confcache "$cache_file"$$ &&
26030 mv -f "$cache_file"$$ "$cache_file" ;; #(
26031 *)
26032 mv -f confcache "$cache_file" ;;
26033 esac
26034 fi
26035 fi
26036 else
26037 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26038 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26039 fi
26040 fi
26041 rm -f confcache
26042
26043 test "x$prefix" = xNONE && prefix=$ac_default_prefix
26044 # Let make expand exec_prefix.
26045 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
26046
26047 DEFS=-DHAVE_CONFIG_H
26048
26049 ac_libobjs=
26050 ac_ltlibobjs=
26051 U=
26052 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
26053 # 1. Remove the extension, and $U if already installed.
26054 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
26055 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
26056 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26057 # will be set to the directory where LIBOBJS objects are built.
26058 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26059 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
26060 done
26061 LIBOBJS=$ac_libobjs
26062
26063 LTLIBOBJS=$ac_ltlibobjs
26064
26065
26066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
26067 $as_echo_n "checking that generated files are newer than configure... " >&6; }
26068 if test -n "$am_sleep_pid"; then
26069 # Hide warnings about reused PIDs.
26070 wait $am_sleep_pid 2>/dev/null
26071 fi
26072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
26073 $as_echo "done" >&6; }
26074 if test -n "$EXEEXT"; then
26075 am__EXEEXT_TRUE=
26076 am__EXEEXT_FALSE='#'
26077 else
26078 am__EXEEXT_TRUE='#'
26079 am__EXEEXT_FALSE=
26080 fi
26081
26082 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26083 as_fn_error $? "conditional \"AMDEP\" was never defined.
26084 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26085 fi
26086 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26087 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
26088 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26089 fi
26090 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
26091 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
26092 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26093 fi
26094 if test -z "${HAVE_CXX_TRUE}" && test -z "${HAVE_CXX_FALSE}"; then
26095 as_fn_error $? "conditional \"HAVE_CXX\" was never defined.
26096 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26097 fi
26098 if test -z "${HAVE_OBJC_TRUE}" && test -z "${HAVE_OBJC_FALSE}"; then
26099 as_fn_error $? "conditional \"HAVE_OBJC\" was never defined.
26100 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26101 fi
26102 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
26103 as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
26104 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26105 fi
26106 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26107 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
26108 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26109 fi
26110 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
26111 as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
26112 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26113 fi
26114 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
26115 as_fn_error $? "conditional \"OS_WIN32\" was never defined.
26116 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26117 fi
26118 if test -z "${OS_UNIX_TRUE}" && test -z "${OS_UNIX_FALSE}"; then
26119 as_fn_error $? "conditional \"OS_UNIX\" was never defined.
26120 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26121 fi
26122 if test -z "${OS_LINUX_TRUE}" && test -z "${OS_LINUX_FALSE}"; then
26123 as_fn_error $? "conditional \"OS_LINUX\" was never defined.
26124 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26125 fi
26126 if test -z "${MS_LIB_AVAILABLE_TRUE}" && test -z "${MS_LIB_AVAILABLE_FALSE}"; then
26127 as_fn_error $? "conditional \"MS_LIB_AVAILABLE\" was never defined.
26128 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26129 fi
26130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
26131 $as_echo_n "checking that generated files are newer than configure... " >&6; }
26132 if test -n "$am_sleep_pid"; then
26133 # Hide warnings about reused PIDs.
26134 wait $am_sleep_pid 2>/dev/null
26135 fi
26136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
26137 $as_echo "done" >&6; }
26138 if test -z "${DISABLE_EXPLICIT_DEPS_TRUE}" && test -z "${DISABLE_EXPLICIT_DEPS_FALSE}"; then
26139 as_fn_error $? "conditional \"DISABLE_EXPLICIT_DEPS\" was never defined.
26140 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26141 fi
26142 if test -z "${BUILD_DYNAMIC_MODULES_TRUE}" && test -z "${BUILD_DYNAMIC_MODULES_FALSE}"; then
26143 as_fn_error $? "conditional \"BUILD_DYNAMIC_MODULES\" was never defined.
26144 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26145 fi
26146 if test -z "${HAVE_INCLUDED_IMMMODULES_TRUE}" && test -z "${HAVE_INCLUDED_IMMMODULES_FALSE}"; then
26147 as_fn_error $? "conditional \"HAVE_INCLUDED_IMMMODULES\" was never defined.
26148 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26149 fi
26150 if test -z "${INCLUDE_IM_AM_ET_TRUE}" && test -z "${INCLUDE_IM_AM_ET_FALSE}"; then
26151 as_fn_error $? "conditional \"INCLUDE_IM_AM_ET\" was never defined.
26152 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26153 fi
26154 if test -z "${INCLUDE_IM_CEDILLA_TRUE}" && test -z "${INCLUDE_IM_CEDILLA_FALSE}"; then
26155 as_fn_error $? "conditional \"INCLUDE_IM_CEDILLA\" was never defined.
26156 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26157 fi
26158 if test -z "${INCLUDE_IM_CYRILLIC_TRANSLIT_TRUE}" && test -z "${INCLUDE_IM_CYRILLIC_TRANSLIT_FALSE}"; then
26159 as_fn_error $? "conditional \"INCLUDE_IM_CYRILLIC_TRANSLIT\" was never defined.
26160 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26161 fi
26162 if test -z "${INCLUDE_IM_IME_TRUE}" && test -z "${INCLUDE_IM_IME_FALSE}"; then
26163 as_fn_error $? "conditional \"INCLUDE_IM_IME\" was never defined.
26164 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26165 fi
26166 if test -z "${INCLUDE_IM_INUKTITUT_TRUE}" && test -z "${INCLUDE_IM_INUKTITUT_FALSE}"; then
26167 as_fn_error $? "conditional \"INCLUDE_IM_INUKTITUT\" was never defined.
26168 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26169 fi
26170 if test -z "${INCLUDE_IM_IPA_TRUE}" && test -z "${INCLUDE_IM_IPA_FALSE}"; then
26171 as_fn_error $? "conditional \"INCLUDE_IM_IPA\" was never defined.
26172 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26173 fi
26174 if test -z "${INCLUDE_IM_MULTIPRESS_TRUE}" && test -z "${INCLUDE_IM_MULTIPRESS_FALSE}"; then
26175 as_fn_error $? "conditional \"INCLUDE_IM_MULTIPRESS\" was never defined.
26176 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26177 fi
26178 if test -z "${INCLUDE_IM_QUARTZ_TRUE}" && test -z "${INCLUDE_IM_QUARTZ_FALSE}"; then
26179 as_fn_error $? "conditional \"INCLUDE_IM_QUARTZ\" was never defined.
26180 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26181 fi
26182 if test -z "${INCLUDE_IM_THAI_TRUE}" && test -z "${INCLUDE_IM_THAI_FALSE}"; then
26183 as_fn_error $? "conditional \"INCLUDE_IM_THAI\" was never defined.
26184 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26185 fi
26186 if test -z "${INCLUDE_IM_TI_ER_TRUE}" && test -z "${INCLUDE_IM_TI_ER_FALSE}"; then
26187 as_fn_error $? "conditional \"INCLUDE_IM_TI_ER\" was never defined.
26188 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26189 fi
26190 if test -z "${INCLUDE_IM_TI_ET_TRUE}" && test -z "${INCLUDE_IM_TI_ET_FALSE}"; then
26191 as_fn_error $? "conditional \"INCLUDE_IM_TI_ET\" was never defined.
26192 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26193 fi
26194 if test -z "${INCLUDE_IM_VIQR_TRUE}" && test -z "${INCLUDE_IM_VIQR_FALSE}"; then
26195 as_fn_error $? "conditional \"INCLUDE_IM_VIQR\" was never defined.
26196 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26197 fi
26198 if test -z "${INCLUDE_IM_XIM_TRUE}" && test -z "${INCLUDE_IM_XIM_FALSE}"; then
26199 as_fn_error $? "conditional \"INCLUDE_IM_XIM\" was never defined.
26200 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26201 fi
26202 if test -z "${USE_MEDIALIB_TRUE}" && test -z "${USE_MEDIALIB_FALSE}"; then
26203 as_fn_error $? "conditional \"USE_MEDIALIB\" was never defined.
26204 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26205 fi
26206 if test -z "${USE_MEDIALIB25_TRUE}" && test -z "${USE_MEDIALIB25_FALSE}"; then
26207 as_fn_error $? "conditional \"USE_MEDIALIB25\" was never defined.
26208 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26209 fi
26210 if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then
26211 as_fn_error $? "conditional \"CROSS_COMPILING\" was never defined.
26212 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26213 fi
26214 if test -z "${HAVE_X11R6_TRUE}" && test -z "${HAVE_X11R6_FALSE}"; then
26215 as_fn_error $? "conditional \"HAVE_X11R6\" was never defined.
26216 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26217 fi
26218 if test -z "${XINPUT_XFREE_TRUE}" && test -z "${XINPUT_XFREE_FALSE}"; then
26219 as_fn_error $? "conditional \"XINPUT_XFREE\" was never defined.
26220 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26221 fi
26222 if test -z "${USE_X11_TRUE}" && test -z "${USE_X11_FALSE}"; then
26223 as_fn_error $? "conditional \"USE_X11\" was never defined.
26224 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26225 fi
26226 if test -z "${XINPUT_XFREE_TRUE}" && test -z "${XINPUT_XFREE_FALSE}"; then
26227 as_fn_error $? "conditional \"XINPUT_XFREE\" was never defined.
26228 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26229 fi
26230 if test -z "${USE_X11_TRUE}" && test -z "${USE_X11_FALSE}"; then
26231 as_fn_error $? "conditional \"USE_X11\" was never defined.
26232 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26233 fi
26234 if test -z "${HAVE_X11R6_TRUE}" && test -z "${HAVE_X11R6_FALSE}"; then
26235 as_fn_error $? "conditional \"HAVE_X11R6\" was never defined.
26236 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26237 fi
26238 if test -z "${USE_WIN32_TRUE}" && test -z "${USE_WIN32_FALSE}"; then
26239 as_fn_error $? "conditional \"USE_WIN32\" was never defined.
26240 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26241 fi
26242 if test -z "${USE_WIN32_TRUE}" && test -z "${USE_WIN32_FALSE}"; then
26243 as_fn_error $? "conditional \"USE_WIN32\" was never defined.
26244 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26245 fi
26246 if test -z "${USE_QUARTZ_TRUE}" && test -z "${USE_QUARTZ_FALSE}"; then
26247 as_fn_error $? "conditional \"USE_QUARTZ\" was never defined.
26248 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26249 fi
26250 if test -z "${USE_QUARTZ_TRUE}" && test -z "${USE_QUARTZ_FALSE}"; then
26251 as_fn_error $? "conditional \"USE_QUARTZ\" was never defined.
26252 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26253 fi
26254 if test -z "${USE_DIRECTFB_TRUE}" && test -z "${USE_DIRECTFB_FALSE}"; then
26255 as_fn_error $? "conditional \"USE_DIRECTFB\" was never defined.
26256 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26257 fi
26258 if test -z "${USE_DIRECTFB_TRUE}" && test -z "${USE_DIRECTFB_FALSE}"; then
26259 as_fn_error $? "conditional \"USE_DIRECTFB\" was never defined.
26260 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26261 fi
26262 if test -z "${HAVE_CUPS_TRUE}" && test -z "${HAVE_CUPS_FALSE}"; then
26263 as_fn_error $? "conditional \"HAVE_CUPS\" was never defined.
26264 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26265 fi
26266 if test -z "${HAVE_CUPS_TRUE}" && test -z "${HAVE_CUPS_FALSE}"; then
26267 as_fn_error $? "conditional \"HAVE_CUPS\" was never defined.
26268 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26269 fi
26270 if test -z "${HAVE_CUPS_TRUE}" && test -z "${HAVE_CUPS_FALSE}"; then
26271 as_fn_error $? "conditional \"HAVE_CUPS\" was never defined.
26272 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26273 fi
26274 if test -z "${HAVE_PAPI_TRUE}" && test -z "${HAVE_PAPI_FALSE}"; then
26275 as_fn_error $? "conditional \"HAVE_PAPI\" was never defined.
26276 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26277 fi
26278 if test -z "${HAVE_PAPI_TRUE}" && test -z "${HAVE_PAPI_FALSE}"; then
26279 as_fn_error $? "conditional \"HAVE_PAPI\" was never defined.
26280 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26281 fi
26282 if test -z "${HAVE_PAPI_CUPS_TRUE}" && test -z "${HAVE_PAPI_CUPS_FALSE}"; then
26283 as_fn_error $? "conditional \"HAVE_PAPI_CUPS\" was never defined.
26284 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26285 fi
26286 if test -z "${TEST_PRINT_BACKEND_TRUE}" && test -z "${TEST_PRINT_BACKEND_FALSE}"; then
26287 as_fn_error $? "conditional \"TEST_PRINT_BACKEND\" was never defined.
26288 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26289 fi
26290 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
26291 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
26292 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26293 fi
26294 if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
26295 as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
26296 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26297 fi
26298 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
26299 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
26300 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26301 fi
26302 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
26303 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
26304 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26305 fi
26306 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
26307 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
26308 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26309 fi
26310 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
26311 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
26312 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26313 fi
26314 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
26315 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
26316 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26317 fi
26318 if test -z "${HAVE_DOCBOOK_TRUE}" && test -z "${HAVE_DOCBOOK_FALSE}"; then
26319 as_fn_error $? "conditional \"HAVE_DOCBOOK\" was never defined.
26320 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26321 fi
26322 if test -z "${ENABLE_MAN_TRUE}" && test -z "${ENABLE_MAN_FALSE}"; then
26323 as_fn_error $? "conditional \"ENABLE_MAN\" was never defined.
26324 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26325 fi
26326 if test -z "${MSVC_BASE_NO_TOOLSET_SET_TRUE}" && test -z "${MSVC_BASE_NO_TOOLSET_SET_FALSE}"; then
26327 as_fn_error $? "conditional \"MSVC_BASE_NO_TOOLSET_SET\" was never defined.
26328 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26329 fi
26330 if test -z "${MSVC_NO_TOOLSET_SET_TRUE}" && test -z "${MSVC_NO_TOOLSET_SET_FALSE}"; then
26331 as_fn_error $? "conditional \"MSVC_NO_TOOLSET_SET\" was never defined.
26332 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26333 fi
26334
26335 : "${CONFIG_STATUS=./config.status}"
26336 ac_write_fail=0
26337 ac_clean_files_save=$ac_clean_files
26338 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
26339 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26340 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26341 as_write_fail=0
26342 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26343 #! $SHELL
26344 # Generated by $as_me.
26345 # Run this file to recreate the current configuration.
26346 # Compiler output produced by configure, useful for debugging
26347 # configure, is in config.log if it exists.
26348
26349 debug=false
26350 ac_cs_recheck=false
26351 ac_cs_silent=false
26352
26353 SHELL=\${CONFIG_SHELL-$SHELL}
26354 export SHELL
26355 _ASEOF
26356 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
26357 ## -------------------- ##
26358 ## M4sh Initialization. ##
26359 ## -------------------- ##
26360
26361 # Be more Bourne compatible
26362 DUALCASE=1; export DUALCASE # for MKS sh
26363 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
26364 emulate sh
26365 NULLCMD=:
26366 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26367 # is contrary to our usage. Disable this feature.
26368 alias -g '${1+"$@"}'='"$@"'
26369 setopt NO_GLOB_SUBST
26370 else
26371 case `(set -o) 2>/dev/null` in #(
26372 *posix*) :
26373 set -o posix ;; #(
26374 *) :
26375 ;;
26376 esac
26377 fi
26378
26379
26380 as_nl='
26381 '
26382 export as_nl
26383 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26384 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26385 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26386 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26387 # Prefer a ksh shell builtin over an external printf program on Solaris,
26388 # but without wasting forks for bash or zsh.
26389 if test -z "$BASH_VERSION$ZSH_VERSION" \
26390 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26391 as_echo='print -r --'
26392 as_echo_n='print -rn --'
26393 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26394 as_echo='printf %s\n'
26395 as_echo_n='printf %s'
26396 else
26397 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26398 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
26399 as_echo_n='/usr/ucb/echo -n'
26400 else
26401 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26402 as_echo_n_body='eval
26403 arg=$1;
26404 case $arg in #(
26405 *"$as_nl"*)
26406 expr "X$arg" : "X\\(.*\\)$as_nl";
26407 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26408 esac;
26409 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
26410 '
26411 export as_echo_n_body
26412 as_echo_n='sh -c $as_echo_n_body as_echo'
26413 fi
26414 export as_echo_body
26415 as_echo='sh -c $as_echo_body as_echo'
26416 fi
26417
26418 # The user is always right.
26419 if test "${PATH_SEPARATOR+set}" != set; then
26420 PATH_SEPARATOR=:
26421 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26422 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26423 PATH_SEPARATOR=';'
26424 }
26425 fi
26426
26427
26428 # IFS
26429 # We need space, tab and new line, in precisely that order. Quoting is
26430 # there to prevent editors from complaining about space-tab.
26431 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26432 # splitting by setting IFS to empty value.)
26433 IFS=" "" $as_nl"
26434
26435 # Find who we are. Look in the path if we contain no directory separator.
26436 as_myself=
26437 case $0 in #((
26438 *[\\/]* ) as_myself=$0 ;;
26439 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26440 for as_dir in $PATH
26441 do
26442 IFS=$as_save_IFS
26443 test -z "$as_dir" && as_dir=.
26444 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26445 done
26446 IFS=$as_save_IFS
26447
26448 ;;
26449 esac
26450 # We did not find ourselves, most probably we were run as `sh COMMAND'
26451 # in which case we are not to be found in the path.
26452 if test "x$as_myself" = x; then
26453 as_myself=$0
26454 fi
26455 if test ! -f "$as_myself"; then
26456 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26457 exit 1
26458 fi
26459
26460 # Unset variables that we do not need and which cause bugs (e.g. in
26461 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26462 # suppresses any "Segmentation fault" message there. '((' could
26463 # trigger a bug in pdksh 5.2.14.
26464 for as_var in BASH_ENV ENV MAIL MAILPATH
26465 do eval test x\${$as_var+set} = xset \
26466 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
26467 done
26468 PS1='$ '
26469 PS2='> '
26470 PS4='+ '
26471
26472 # NLS nuisances.
26473 LC_ALL=C
26474 export LC_ALL
26475 LANGUAGE=C
26476 export LANGUAGE
26477
26478 # CDPATH.
26479 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26480
26481
26482 # as_fn_error STATUS ERROR [LINENO LOG_FD]
26483 # ----------------------------------------
26484 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26485 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26486 # script with STATUS, using 1 if that was 0.
26487 as_fn_error ()
26488 {
26489 as_status=$1; test $as_status -eq 0 && as_status=1
26490 if test "$4"; then
26491 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
26492 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
26493 fi
26494 $as_echo "$as_me: error: $2" >&2
26495 as_fn_exit $as_status
26496 } # as_fn_error
26497
26498
26499 # as_fn_set_status STATUS
26500 # -----------------------
26501 # Set $? to STATUS, without forking.
26502 as_fn_set_status ()
26503 {
26504 return $1
26505 } # as_fn_set_status
26506
26507 # as_fn_exit STATUS
26508 # -----------------
26509 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26510 as_fn_exit ()
26511 {
26512 set +e
26513 as_fn_set_status $1
26514 exit $1
26515 } # as_fn_exit
26516
26517 # as_fn_unset VAR
26518 # ---------------
26519 # Portably unset VAR.
26520 as_fn_unset ()
26521 {
26522 { eval $1=; unset $1;}
26523 }
26524 as_unset=as_fn_unset
26525 # as_fn_append VAR VALUE
26526 # ----------------------
26527 # Append the text in VALUE to the end of the definition contained in VAR. Take
26528 # advantage of any shell optimizations that allow amortized linear growth over
26529 # repeated appends, instead of the typical quadratic growth present in naive
26530 # implementations.
26531 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
26532 eval 'as_fn_append ()
26533 {
26534 eval $1+=\$2
26535 }'
26536 else
26537 as_fn_append ()
26538 {
26539 eval $1=\$$1\$2
26540 }
26541 fi # as_fn_append
26542
26543 # as_fn_arith ARG...
26544 # ------------------
26545 # Perform arithmetic evaluation on the ARGs, and store the result in the
26546 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26547 # must be portable across $(()) and expr.
26548 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
26549 eval 'as_fn_arith ()
26550 {
26551 as_val=$(( $* ))
26552 }'
26553 else
26554 as_fn_arith ()
26555 {
26556 as_val=`expr "$@" || test $? -eq 1`
26557 }
26558 fi # as_fn_arith
26559
26560
26561 if expr a : '\(a\)' >/dev/null 2>&1 &&
26562 test "X`expr 00001 : '.*\(...\)'`" = X001; then
26563 as_expr=expr
26564 else
26565 as_expr=false
26566 fi
26567
26568 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26569 as_basename=basename
26570 else
26571 as_basename=false
26572 fi
26573
26574 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26575 as_dirname=dirname
26576 else
26577 as_dirname=false
26578 fi
26579
26580 as_me=`$as_basename -- "$0" ||
26581 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26582 X"$0" : 'X\(//\)$' \| \
26583 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26584 $as_echo X/"$0" |
26585 sed '/^.*\/\([^/][^/]*\)\/*$/{
26586 s//\1/
26587 q
26588 }
26589 /^X\/\(\/\/\)$/{
26590 s//\1/
26591 q
26592 }
26593 /^X\/\(\/\).*/{
26594 s//\1/
26595 q
26596 }
26597 s/.*/./; q'`
26598
26599 # Avoid depending upon Character Ranges.
26600 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
26601 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26602 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
26603 as_cr_digits='0123456789'
26604 as_cr_alnum=$as_cr_Letters$as_cr_digits
26605
26606 ECHO_C= ECHO_N= ECHO_T=
26607 case `echo -n x` in #(((((
26608 -n*)
26609 case `echo 'xy\c'` in
26610 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
26611 xy) ECHO_C='\c';;
26612 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
26613 ECHO_T=' ';;
26614 esac;;
26615 *)
26616 ECHO_N='-n';;
26617 esac
26618
26619 rm -f conf$$ conf$$.exe conf$$.file
26620 if test -d conf$$.dir; then
26621 rm -f conf$$.dir/conf$$.file
26622 else
26623 rm -f conf$$.dir
26624 mkdir conf$$.dir 2>/dev/null
26625 fi
26626 if (echo >conf$$.file) 2>/dev/null; then
26627 if ln -s conf$$.file conf$$ 2>/dev/null; then
26628 as_ln_s='ln -s'
26629 # ... but there are two gotchas:
26630 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26631 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26632 # In both cases, we have to default to `cp -pR'.
26633 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
26634 as_ln_s='cp -pR'
26635 elif ln conf$$.file conf$$ 2>/dev/null; then
26636 as_ln_s=ln
26637 else
26638 as_ln_s='cp -pR'
26639 fi
26640 else
26641 as_ln_s='cp -pR'
26642 fi
26643 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26644 rmdir conf$$.dir 2>/dev/null
26645
26646
26647 # as_fn_mkdir_p
26648 # -------------
26649 # Create "$as_dir" as a directory, including parents if necessary.
26650 as_fn_mkdir_p ()
26651 {
26652
26653 case $as_dir in #(
26654 -*) as_dir=./$as_dir;;
26655 esac
26656 test -d "$as_dir" || eval $as_mkdir_p || {
26657 as_dirs=
26658 while :; do
26659 case $as_dir in #(
26660 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
26661 *) as_qdir=$as_dir;;
26662 esac
26663 as_dirs="'$as_qdir' $as_dirs"
26664 as_dir=`$as_dirname -- "$as_dir" ||
26665 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26666 X"$as_dir" : 'X\(//\)[^/]' \| \
26667 X"$as_dir" : 'X\(//\)$' \| \
26668 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26669 $as_echo X"$as_dir" |
26670 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26671 s//\1/
26672 q
26673 }
26674 /^X\(\/\/\)[^/].*/{
26675 s//\1/
26676 q
26677 }
26678 /^X\(\/\/\)$/{
26679 s//\1/
26680 q
26681 }
26682 /^X\(\/\).*/{
26683 s//\1/
26684 q
26685 }
26686 s/.*/./; q'`
26687 test -d "$as_dir" && break
26688 done
26689 test -z "$as_dirs" || eval "mkdir $as_dirs"
26690 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
26691
26692
26693 } # as_fn_mkdir_p
26694 if mkdir -p . 2>/dev/null; then
26695 as_mkdir_p='mkdir -p "$as_dir"'
26696 else
26697 test -d ./-p && rmdir ./-p
26698 as_mkdir_p=false
26699 fi
26700
26701
26702 # as_fn_executable_p FILE
26703 # -----------------------
26704 # Test if FILE is an executable regular file.
26705 as_fn_executable_p ()
26706 {
26707 test -f "$1" && test -x "$1"
26708 } # as_fn_executable_p
26709 as_test_x='test -x'
26710 as_executable_p=as_fn_executable_p
26711
26712 # Sed expression to map a string onto a valid CPP name.
26713 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26714
26715 # Sed expression to map a string onto a valid variable name.
26716 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26717
26718
26719 exec 6>&1
26720 ## ----------------------------------- ##
26721 ## Main body of $CONFIG_STATUS script. ##
26722 ## ----------------------------------- ##
26723 _ASEOF
26724 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
26725
26726 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26727 # Save the log message, to keep $0 and so on meaningful, and to
26728 # report actual input values of CONFIG_FILES etc. instead of their
26729 # values after options handling.
26730 ac_log="
26731 This file was extended by gtk+ $as_me 2.24.33, which was
26732 generated by GNU Autoconf 2.69. Invocation command line was
26733
26734 CONFIG_FILES = $CONFIG_FILES
26735 CONFIG_HEADERS = $CONFIG_HEADERS
26736 CONFIG_LINKS = $CONFIG_LINKS
26737 CONFIG_COMMANDS = $CONFIG_COMMANDS
26738 $ $0 $@
26739
26740 on `(hostname || uname -n) 2>/dev/null | sed 1q`
26741 "
26742
26743 _ACEOF
26744
26745 case $ac_config_files in *"
26746 "*) set x $ac_config_files; shift; ac_config_files=$*;;
26747 esac
26748
26749 case $ac_config_headers in *"
26750 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
26751 esac
26752
26753
26754 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26755 # Files that config.status was made for.
26756 config_files="$ac_config_files"
26757 config_headers="$ac_config_headers"
26758 config_commands="$ac_config_commands"
26759
26760 _ACEOF
26761
26762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26763 ac_cs_usage="\
26764 \`$as_me' instantiates files and other configuration actions
26765 from templates according to the current configuration. Unless the files
26766 and actions are specified as TAGs, all are instantiated by default.
26767
26768 Usage: $0 [OPTION]... [TAG]...
26769
26770 -h, --help print this help, then exit
26771 -V, --version print version number and configuration settings, then exit
26772 --config print configuration, then exit
26773 -q, --quiet, --silent
26774 do not print progress messages
26775 -d, --debug don't remove temporary files
26776 --recheck update $as_me by reconfiguring in the same conditions
26777 --file=FILE[:TEMPLATE]
26778 instantiate the configuration file FILE
26779 --header=FILE[:TEMPLATE]
26780 instantiate the configuration header FILE
26781
26782 Configuration files:
26783 $config_files
26784
26785 Configuration headers:
26786 $config_headers
26787
26788 Configuration commands:
26789 $config_commands
26790
26791 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B>."
26792
26793 _ACEOF
26794 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26795 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
26796 ac_cs_version="\\
26797 gtk+ config.status 2.24.33
26798 configured by $0, generated by GNU Autoconf 2.69,
26799 with options \\"\$ac_cs_config\\"
26800
26801 Copyright (C) 2012 Free Software Foundation, Inc.
26802 This config.status script is free software; the Free Software Foundation
26803 gives unlimited permission to copy, distribute and modify it."
26804
26805 ac_pwd='$ac_pwd'
26806 srcdir='$srcdir'
26807 INSTALL='$INSTALL'
26808 MKDIR_P='$MKDIR_P'
26809 AWK='$AWK'
26810 test -n "\$AWK" || AWK=awk
26811 _ACEOF
26812
26813 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26814 # The default lists apply if the user does not specify any file.
26815 ac_need_defaults=:
26816 while test $# != 0
26817 do
26818 case $1 in
26819 --*=?*)
26820 ac_option=`expr "X$1" : 'X\([^=]*\)='`
26821 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
26822 ac_shift=:
26823 ;;
26824 --*=)
26825 ac_option=`expr "X$1" : 'X\([^=]*\)='`
26826 ac_optarg=
26827 ac_shift=:
26828 ;;
26829 *)
26830 ac_option=$1
26831 ac_optarg=$2
26832 ac_shift=shift
26833 ;;
26834 esac
26835
26836 case $ac_option in
26837 # Handling of the options.
26838 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26839 ac_cs_recheck=: ;;
26840 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
26841 $as_echo "$ac_cs_version"; exit ;;
26842 --config | --confi | --conf | --con | --co | --c )
26843 $as_echo "$ac_cs_config"; exit ;;
26844 --debug | --debu | --deb | --de | --d | -d )
26845 debug=: ;;
26846 --file | --fil | --fi | --f )
26847 $ac_shift
26848 case $ac_optarg in
26849 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26850 '') as_fn_error $? "missing file argument" ;;
26851 esac
26852 as_fn_append CONFIG_FILES " '$ac_optarg'"
26853 ac_need_defaults=false;;
26854 --header | --heade | --head | --hea )
26855 $ac_shift
26856 case $ac_optarg in
26857 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26858 esac
26859 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
26860 ac_need_defaults=false;;
26861 --he | --h)
26862 # Conflict between --help and --header
26863 as_fn_error $? "ambiguous option: \`$1'
26864 Try \`$0 --help' for more information.";;
26865 --help | --hel | -h )
26866 $as_echo "$ac_cs_usage"; exit ;;
26867 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
26868 | -silent | --silent | --silen | --sile | --sil | --si | --s)
26869 ac_cs_silent=: ;;
26870
26871 # This is an error.
26872 -*) as_fn_error $? "unrecognized option: \`$1'
26873 Try \`$0 --help' for more information." ;;
26874
26875 *) as_fn_append ac_config_targets " $1"
26876 ac_need_defaults=false ;;
26877
26878 esac
26879 shift
26880 done
26881
26882 ac_configure_extra_args=
26883
26884 if $ac_cs_silent; then
26885 exec 6>/dev/null
26886 ac_configure_extra_args="$ac_configure_extra_args --silent"
26887 fi
26888
26889 _ACEOF
26890 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26891 if \$ac_cs_recheck; then
26892 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26893 shift
26894 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
26895 CONFIG_SHELL='$SHELL'
26896 export CONFIG_SHELL
26897 exec "\$@"
26898 fi
26899
26900 _ACEOF
26901 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26902 exec 5>>config.log
26903 {
26904 echo
26905 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26906 ## Running $as_me. ##
26907 _ASBOX
26908 $as_echo "$ac_log"
26909 } >&5
26910
26911 _ACEOF
26912 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26913 #
26914 # INIT-COMMANDS
26915 #
26916 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
26917
26918
26919 # The HP-UX ksh and POSIX shell print the target directory to stdout
26920 # if CDPATH is set.
26921 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26922
26923 sed_quote_subst='$sed_quote_subst'
26924 double_quote_subst='$double_quote_subst'
26925 delay_variable_subst='$delay_variable_subst'
26926 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
26927 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
26928 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
26929 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
26930 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
26931 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
26932 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
26933 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
26934 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
26935 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
26936 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
26937 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
26938 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
26939 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
26940 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
26941 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
26942 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
26943 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
26944 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
26945 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
26946 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
26947 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
26948 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
26949 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
26950 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
26951 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
26952 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
26953 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
26954 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
26955 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
26956 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
26957 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
26958 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
26959 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
26960 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
26961 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
26962 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
26963 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
26964 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
26965 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
26966 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
26967 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
26968 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
26969 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
26970 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
26971 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
26972 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
26973 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26974 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26975 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
26976 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
26977 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
26978 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
26979 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
26980 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
26981 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
26982 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
26983 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
26984 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
26985 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"`'
26986 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
26987 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
26988 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
26989 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
26990 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
26991 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
26992 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
26993 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
26994 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
26995 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
26996 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
26997 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
26998 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
26999 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27000 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27001 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27002 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27003 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27004 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27005 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27006 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27007 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27008 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27009 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27010 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27011 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27012 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27013 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27014 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27015 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27016 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27017 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27018 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27019 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27020 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27021 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27022 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27023 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27024 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27025 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27026 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27027 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27028 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27029 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27030 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27031 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27032 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27033 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27034 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27035 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
27036 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27037 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27038 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27039 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27040 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27041 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27042 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27043 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27044 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27045 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27046 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27047 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27048 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27049 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27050 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27051 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27052 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27053 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27054 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
27055 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
27056 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27057 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27058 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27059 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27060 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27061 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27062 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27063 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27064 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27065 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27066 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27067 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27068 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
27069 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
27070 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27071 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27072 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
27073 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
27074 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
27075 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
27076 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
27077 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
27078 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
27079 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
27080 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
27081 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
27082 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
27083 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
27084 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27085 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27086 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27087 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27088 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27089 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27090 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
27091 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
27092 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
27093 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
27094 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
27095 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
27096 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
27097 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
27098 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
27099 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
27100 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
27101 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
27102 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
27103 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27104 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
27105 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
27106 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27107 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27108 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
27109 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
27110 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
27111 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
27112 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
27113 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
27114 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
27115 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
27116
27117 LTCC='$LTCC'
27118 LTCFLAGS='$LTCFLAGS'
27119 compiler='$compiler_DEFAULT'
27120
27121 # A function that is used when there is no print builtin or printf.
27122 func_fallback_echo ()
27123 {
27124 eval 'cat <<_LTECHO_EOF
27125 \$1
27126 _LTECHO_EOF'
27127 }
27128
27129 # Quote evaled strings.
27130 for var in AS \
27131 DLLTOOL \
27132 OBJDUMP \
27133 SHELL \
27134 ECHO \
27135 PATH_SEPARATOR \
27136 SED \
27137 GREP \
27138 EGREP \
27139 FGREP \
27140 LD \
27141 NM \
27142 LN_S \
27143 lt_SP2NL \
27144 lt_NL2SP \
27145 reload_flag \
27146 deplibs_check_method \
27147 file_magic_cmd \
27148 file_magic_glob \
27149 want_nocaseglob \
27150 sharedlib_from_linklib_cmd \
27151 AR \
27152 AR_FLAGS \
27153 archiver_list_spec \
27154 STRIP \
27155 RANLIB \
27156 CC \
27157 CFLAGS \
27158 compiler \
27159 lt_cv_sys_global_symbol_pipe \
27160 lt_cv_sys_global_symbol_to_cdecl \
27161 lt_cv_sys_global_symbol_to_import \
27162 lt_cv_sys_global_symbol_to_c_name_address \
27163 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27164 lt_cv_nm_interface \
27165 nm_file_list_spec \
27166 lt_cv_truncate_bin \
27167 lt_prog_compiler_no_builtin_flag \
27168 lt_prog_compiler_pic \
27169 lt_prog_compiler_wl \
27170 lt_prog_compiler_static \
27171 lt_cv_prog_compiler_c_o \
27172 need_locks \
27173 MANIFEST_TOOL \
27174 DSYMUTIL \
27175 NMEDIT \
27176 LIPO \
27177 OTOOL \
27178 OTOOL64 \
27179 shrext_cmds \
27180 export_dynamic_flag_spec \
27181 whole_archive_flag_spec \
27182 compiler_needs_object \
27183 with_gnu_ld \
27184 allow_undefined_flag \
27185 no_undefined_flag \
27186 hardcode_libdir_flag_spec \
27187 hardcode_libdir_separator \
27188 exclude_expsyms \
27189 include_expsyms \
27190 file_list_spec \
27191 variables_saved_for_relink \
27192 libname_spec \
27193 library_names_spec \
27194 soname_spec \
27195 install_override_mode \
27196 finish_eval \
27197 old_striplib \
27198 striplib \
27199 compiler_lib_search_dirs \
27200 predep_objects \
27201 postdep_objects \
27202 predeps \
27203 postdeps \
27204 compiler_lib_search_path \
27205 LD_CXX \
27206 reload_flag_CXX \
27207 compiler_CXX \
27208 lt_prog_compiler_no_builtin_flag_CXX \
27209 lt_prog_compiler_pic_CXX \
27210 lt_prog_compiler_wl_CXX \
27211 lt_prog_compiler_static_CXX \
27212 lt_cv_prog_compiler_c_o_CXX \
27213 export_dynamic_flag_spec_CXX \
27214 whole_archive_flag_spec_CXX \
27215 compiler_needs_object_CXX \
27216 with_gnu_ld_CXX \
27217 allow_undefined_flag_CXX \
27218 no_undefined_flag_CXX \
27219 hardcode_libdir_flag_spec_CXX \
27220 hardcode_libdir_separator_CXX \
27221 exclude_expsyms_CXX \
27222 include_expsyms_CXX \
27223 file_list_spec_CXX \
27224 compiler_lib_search_dirs_CXX \
27225 predep_objects_CXX \
27226 postdep_objects_CXX \
27227 predeps_CXX \
27228 postdeps_CXX \
27229 compiler_lib_search_path_CXX; do
27230 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27231 *[\\\\\\\`\\"\\\$]*)
27232 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
27233 ;;
27234 *)
27235 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27236 ;;
27237 esac
27238 done
27239
27240 # Double-quote double-evaled strings.
27241 for var in reload_cmds \
27242 old_postinstall_cmds \
27243 old_postuninstall_cmds \
27244 old_archive_cmds \
27245 extract_expsyms_cmds \
27246 old_archive_from_new_cmds \
27247 old_archive_from_expsyms_cmds \
27248 archive_cmds \
27249 archive_expsym_cmds \
27250 module_cmds \
27251 module_expsym_cmds \
27252 export_symbols_cmds \
27253 prelink_cmds \
27254 postlink_cmds \
27255 postinstall_cmds \
27256 postuninstall_cmds \
27257 finish_cmds \
27258 sys_lib_search_path_spec \
27259 configure_time_dlsearch_path \
27260 configure_time_lt_sys_library_path \
27261 reload_cmds_CXX \
27262 old_archive_cmds_CXX \
27263 old_archive_from_new_cmds_CXX \
27264 old_archive_from_expsyms_cmds_CXX \
27265 archive_cmds_CXX \
27266 archive_expsym_cmds_CXX \
27267 module_cmds_CXX \
27268 module_expsym_cmds_CXX \
27269 export_symbols_cmds_CXX \
27270 prelink_cmds_CXX \
27271 postlink_cmds_CXX; do
27272 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27273 *[\\\\\\\`\\"\\\$]*)
27274 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
27275 ;;
27276 *)
27277 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27278 ;;
27279 esac
27280 done
27281
27282 ac_aux_dir='$ac_aux_dir'
27283
27284 # See if we are running on zsh, and set the options that allow our
27285 # commands through without removal of \ escapes INIT.
27286 if test -n "\${ZSH_VERSION+set}"; then
27287 setopt NO_GLOB_SUBST
27288 fi
27289
27290
27291 PACKAGE='$PACKAGE'
27292 VERSION='$VERSION'
27293 RM='$RM'
27294 ofile='$ofile'
27295
27296
27297
27298 ac_aux_dir='$ac_aux_dir'
27299
27300
27301
27302
27303
27304 if test "x$gdktarget" = "xx11" ; then
27305 gdk_windowing='
27306 #define GDK_WINDOWING_X11'
27307 elif test "x$gdktarget" = "xwin32" ; then
27308 gdk_windowing='
27309 #define GDK_NATIVE_WINDOW_POINTER
27310
27311 #define GDK_WINDOWING_WIN32'
27312 elif test "x$gdktarget" = "xquartz" ; then
27313 gdk_windowing='
27314 #define GDK_NATIVE_WINDOW_POINTER
27315
27316 #define GDK_WINDOWING_QUARTZ'
27317 elif test "x$gdktarget" = "xdirectfb" ; then
27318 gdk_windowing='
27319 #define GDK_WINDOWING_DIRECTFB'
27320 fi
27321
27322 if test x$gdk_wchar_h = xyes; then
27323 gdk_wc='
27324 #define GDK_HAVE_WCHAR_H 1'
27325 fi
27326 if test x$gdk_wctype_h = xyes; then
27327 gdk_wc="\$gdk_wc
27328 #define GDK_HAVE_WCTYPE_H 1"
27329 fi
27330 if test x$gdk_working_wctype = xno; then
27331 gdk_wc="\$gdk_wc
27332 #define GDK_HAVE_BROKEN_WCTYPE 1"
27333 fi
27334
27335
27336
27337
27338 _ACEOF
27339
27340 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27341
27342 # Handling of arguments.
27343 for ac_config_target in $ac_config_targets
27344 do
27345 case $ac_config_target in
27346 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
27347 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
27348 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
27349 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
27350 "default-2") CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;;
27351 "gdk/gdkconfig.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gdk/gdkconfig.h" ;;
27352 "config.h.win32") CONFIG_FILES="$CONFIG_FILES config.h.win32" ;;
27353 "gtk-zip.sh") CONFIG_FILES="$CONFIG_FILES gtk-zip.sh" ;;
27354 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
27355 "gdk-2.0.pc") CONFIG_FILES="$CONFIG_FILES gdk-2.0.pc" ;;
27356 "gtk+-2.0.pc") CONFIG_FILES="$CONFIG_FILES gtk+-2.0.pc" ;;
27357 "gtk+-unix-print-2.0.pc") CONFIG_FILES="$CONFIG_FILES gtk+-unix-print-2.0.pc" ;;
27358 "gail.pc") CONFIG_FILES="$CONFIG_FILES gail.pc" ;;
27359 "gdk-2.0-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES gdk-2.0-uninstalled.pc" ;;
27360 "gtk+-2.0-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES gtk+-2.0-uninstalled.pc" ;;
27361 "gail-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES gail-uninstalled.pc" ;;
27362 "m4macros/Makefile") CONFIG_FILES="$CONFIG_FILES m4macros/Makefile" ;;
27363 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
27364 "po-properties/Makefile.in") CONFIG_FILES="$CONFIG_FILES po-properties/Makefile.in" ;;
27365 "demos/Makefile") CONFIG_FILES="$CONFIG_FILES demos/Makefile" ;;
27366 "demos/gtk-demo/Makefile") CONFIG_FILES="$CONFIG_FILES demos/gtk-demo/Makefile" ;;
27367 "demos/gtk-demo/geninclude.pl") CONFIG_FILES="$CONFIG_FILES demos/gtk-demo/geninclude.pl" ;;
27368 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
27369 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
27370 "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
27371 "docs/reference/gdk/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/gdk/Makefile" ;;
27372 "docs/reference/gdk/version.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/gdk/version.xml" ;;
27373 "docs/reference/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/gtk/Makefile" ;;
27374 "docs/reference/gtk/version.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/gtk/version.xml" ;;
27375 "docs/reference/libgail-util/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/libgail-util/Makefile" ;;
27376 "docs/faq/Makefile") CONFIG_FILES="$CONFIG_FILES docs/faq/Makefile" ;;
27377 "docs/tools/Makefile") CONFIG_FILES="$CONFIG_FILES docs/tools/Makefile" ;;
27378 "docs/tutorial/Makefile") CONFIG_FILES="$CONFIG_FILES docs/tutorial/Makefile" ;;
27379 "build/Makefile") CONFIG_FILES="$CONFIG_FILES build/Makefile" ;;
27380 "build/win32/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/Makefile" ;;
27381 "build/win32/vs9/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs9/Makefile" ;;
27382 "build/win32/vs9/gtk-version-paths.vsprops") CONFIG_FILES="$CONFIG_FILES build/win32/vs9/gtk-version-paths.vsprops" ;;
27383 "build/win32/vs10/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs10/Makefile" ;;
27384 "build/win32/vs10/gtk-version-paths.props") CONFIG_FILES="$CONFIG_FILES build/win32/vs10/gtk-version-paths.props" ;;
27385 "build/win32/vs11/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs11/Makefile" ;;
27386 "build/win32/vs12/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs12/Makefile" ;;
27387 "build/win32/vs14/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs14/Makefile" ;;
27388 "build/win32/vs15/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs15/Makefile" ;;
27389 "build/win32/vs16/Makefile") CONFIG_FILES="$CONFIG_FILES build/win32/vs16/Makefile" ;;
27390 "gdk/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/Makefile" ;;
27391 "gdk/x11/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/x11/Makefile" ;;
27392 "gdk/win32/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/win32/Makefile" ;;
27393 "gdk/win32/rc/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/win32/rc/Makefile" ;;
27394 "gdk/win32/rc/gdk.rc") CONFIG_FILES="$CONFIG_FILES gdk/win32/rc/gdk.rc" ;;
27395 "gdk/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/quartz/Makefile" ;;
27396 "gdk/directfb/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/directfb/Makefile" ;;
27397 "gdk/tests/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/tests/Makefile" ;;
27398 "gtk/Makefile") CONFIG_FILES="$CONFIG_FILES gtk/Makefile" ;;
27399 "gtk/makefile.msc") CONFIG_FILES="$CONFIG_FILES gtk/makefile.msc" ;;
27400 "gtk/gtkversion.h") CONFIG_FILES="$CONFIG_FILES gtk/gtkversion.h" ;;
27401 "gtk/gtk-win32.rc") CONFIG_FILES="$CONFIG_FILES gtk/gtk-win32.rc" ;;
27402 "gtk/theme-bits/Makefile") CONFIG_FILES="$CONFIG_FILES gtk/theme-bits/Makefile" ;;
27403 "gtk/tests/Makefile") CONFIG_FILES="$CONFIG_FILES gtk/tests/Makefile" ;;
27404 "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
27405 "modules/other/Makefile") CONFIG_FILES="$CONFIG_FILES modules/other/Makefile" ;;
27406 "modules/other/gail/Makefile") CONFIG_FILES="$CONFIG_FILES modules/other/gail/Makefile" ;;
27407 "modules/other/gail/libgail-util/Makefile") CONFIG_FILES="$CONFIG_FILES modules/other/gail/libgail-util/Makefile" ;;
27408 "modules/other/gail/tests/Makefile") CONFIG_FILES="$CONFIG_FILES modules/other/gail/tests/Makefile" ;;
27409 "modules/engines/Makefile") CONFIG_FILES="$CONFIG_FILES modules/engines/Makefile" ;;
27410 "modules/engines/pixbuf/Makefile") CONFIG_FILES="$CONFIG_FILES modules/engines/pixbuf/Makefile" ;;
27411 "modules/engines/ms-windows/Makefile") CONFIG_FILES="$CONFIG_FILES modules/engines/ms-windows/Makefile" ;;
27412 "modules/engines/ms-windows/Theme/Makefile") CONFIG_FILES="$CONFIG_FILES modules/engines/ms-windows/Theme/Makefile" ;;
27413 "modules/engines/ms-windows/Theme/gtk-2.0/Makefile") CONFIG_FILES="$CONFIG_FILES modules/engines/ms-windows/Theme/gtk-2.0/Makefile" ;;
27414 "modules/input/Makefile") CONFIG_FILES="$CONFIG_FILES modules/input/Makefile" ;;
27415 "modules/printbackends/Makefile") CONFIG_FILES="$CONFIG_FILES modules/printbackends/Makefile" ;;
27416 "modules/printbackends/cups/Makefile") CONFIG_FILES="$CONFIG_FILES modules/printbackends/cups/Makefile" ;;
27417 "modules/printbackends/lpr/Makefile") CONFIG_FILES="$CONFIG_FILES modules/printbackends/lpr/Makefile" ;;
27418 "modules/printbackends/file/Makefile") CONFIG_FILES="$CONFIG_FILES modules/printbackends/file/Makefile" ;;
27419 "modules/printbackends/papi/Makefile") CONFIG_FILES="$CONFIG_FILES modules/printbackends/papi/Makefile" ;;
27420 "modules/printbackends/test/Makefile") CONFIG_FILES="$CONFIG_FILES modules/printbackends/test/Makefile" ;;
27421 "perf/Makefile") CONFIG_FILES="$CONFIG_FILES perf/Makefile" ;;
27422
27423 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27424 esac
27425 done
27426
27427
27428 # If the user did not use the arguments to specify the items to instantiate,
27429 # then the envvar interface is used. Set only those that are not.
27430 # We use the long form for the default assignment because of an extremely
27431 # bizarre bug on SunOS 4.1.3.
27432 if $ac_need_defaults; then
27433 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
27434 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
27435 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
27436 fi
27437
27438 # Have a temporary directory for convenience. Make it in the build tree
27439 # simply because there is no reason against having it here, and in addition,
27440 # creating and moving files from /tmp can sometimes cause problems.
27441 # Hook for its removal unless debugging.
27442 # Note that there is a small window in which the directory will not be cleaned:
27443 # after its creation but before its name has been assigned to `$tmp'.
27444 $debug ||
27445 {
27446 tmp= ac_tmp=
27447 trap 'exit_status=$?
27448 : "${ac_tmp:=$tmp}"
27449 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
27450 ' 0
27451 trap 'as_fn_exit 1' 1 2 13 15
27452 }
27453 # Create a (secure) tmp directory for tmp files.
27454
27455 {
27456 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27457 test -d "$tmp"
27458 } ||
27459 {
27460 tmp=./conf$$-$RANDOM
27461 (umask 077 && mkdir "$tmp")
27462 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
27463 ac_tmp=$tmp
27464
27465 # Set up the scripts for CONFIG_FILES section.
27466 # No need to generate them if there are no CONFIG_FILES.
27467 # This happens for instance with `./config.status config.h'.
27468 if test -n "$CONFIG_FILES"; then
27469
27470
27471 ac_cr=`echo X | tr X '\015'`
27472 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27473 # But we know of no other shell where ac_cr would be empty at this
27474 # point, so we can use a bashism as a fallback.
27475 if test "x$ac_cr" = x; then
27476 eval ac_cr=\$\'\\r\'
27477 fi
27478 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27479 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27480 ac_cs_awk_cr='\\r'
27481 else
27482 ac_cs_awk_cr=$ac_cr
27483 fi
27484
27485 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
27486 _ACEOF
27487
27488
27489 {
27490 echo "cat >conf$$subs.awk <<_ACEOF" &&
27491 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27492 echo "_ACEOF"
27493 } >conf$$subs.sh ||
27494 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
27495 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
27496 ac_delim='%!_!# '
27497 for ac_last_try in false false false false false :; do
27498 . ./conf$$subs.sh ||
27499 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
27500
27501 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
27502 if test $ac_delim_n = $ac_delim_num; then
27503 break
27504 elif $ac_last_try; then
27505 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
27506 else
27507 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27508 fi
27509 done
27510 rm -f conf$$subs.sh
27511
27512 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27513 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
27514 _ACEOF
27515 sed -n '
27516 h
27517 s/^/S["/; s/!.*/"]=/
27518 p
27519 g
27520 s/^[^!]*!//
27521 :repl
27522 t repl
27523 s/'"$ac_delim"'$//
27524 t delim
27525 :nl
27526 h
27527 s/\(.\{148\}\)..*/\1/
27528 t more1
27529 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
27530 p
27531 n
27532 b repl
27533 :more1
27534 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27535 p
27536 g
27537 s/.\{148\}//
27538 t nl
27539 :delim
27540 h
27541 s/\(.\{148\}\)..*/\1/
27542 t more2
27543 s/["\\]/\\&/g; s/^/"/; s/$/"/
27544 p
27545 b
27546 :more2
27547 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27548 p
27549 g
27550 s/.\{148\}//
27551 t delim
27552 ' <conf$$subs.awk | sed '
27553 /^[^""]/{
27554 N
27555 s/\n//
27556 }
27557 ' >>$CONFIG_STATUS || ac_write_fail=1
27558 rm -f conf$$subs.awk
27559 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27560 _ACAWK
27561 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
27562 for (key in S) S_is_set[key] = 1
27563 FS = ""
27564
27565 }
27566 {
27567 line = $ 0
27568 nfields = split(line, field, "@")
27569 substed = 0
27570 len = length(field[1])
27571 for (i = 2; i < nfields; i++) {
27572 key = field[i]
27573 keylen = length(key)
27574 if (S_is_set[key]) {
27575 value = S[key]
27576 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27577 len += length(value) + length(field[++i])
27578 substed = 1
27579 } else
27580 len += 1 + keylen
27581 }
27582
27583 print line
27584 }
27585
27586 _ACAWK
27587 _ACEOF
27588 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27589 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27590 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
27591 else
27592 cat
27593 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
27594 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
27595 _ACEOF
27596
27597 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
27598 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
27599 # trailing colons and then remove the whole line if VPATH becomes empty
27600 # (actually we leave an empty line to preserve line numbers).
27601 if test "x$srcdir" = x.; then
27602 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
27603 h
27604 s///
27605 s/^/:/
27606 s/[ ]*$/:/
27607 s/:\$(srcdir):/:/g
27608 s/:\${srcdir}:/:/g
27609 s/:@srcdir@:/:/g
27610 s/^:*//
27611 s/:*$//
27612 x
27613 s/\(=[ ]*\).*/\1/
27614 G
27615 s/\n//
27616 s/^[^=]*=[ ]*$//
27617 }'
27618 fi
27619
27620 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27621 fi # test -n "$CONFIG_FILES"
27622
27623 # Set up the scripts for CONFIG_HEADERS section.
27624 # No need to generate them if there are no CONFIG_HEADERS.
27625 # This happens for instance with `./config.status Makefile'.
27626 if test -n "$CONFIG_HEADERS"; then
27627 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
27628 BEGIN {
27629 _ACEOF
27630
27631 # Transform confdefs.h into an awk script `defines.awk', embedded as
27632 # here-document in config.status, that substitutes the proper values into
27633 # config.h.in to produce config.h.
27634
27635 # Create a delimiter string that does not exist in confdefs.h, to ease
27636 # handling of long lines.
27637 ac_delim='%!_!# '
27638 for ac_last_try in false false :; do
27639 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
27640 if test -z "$ac_tt"; then
27641 break
27642 elif $ac_last_try; then
27643 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
27644 else
27645 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27646 fi
27647 done
27648
27649 # For the awk script, D is an array of macro values keyed by name,
27650 # likewise P contains macro parameters if any. Preserve backslash
27651 # newline sequences.
27652
27653 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27654 sed -n '
27655 s/.\{148\}/&'"$ac_delim"'/g
27656 t rset
27657 :rset
27658 s/^[ ]*#[ ]*define[ ][ ]*/ /
27659 t def
27660 d
27661 :def
27662 s/\\$//
27663 t bsnl
27664 s/["\\]/\\&/g
27665 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27666 D["\1"]=" \3"/p
27667 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
27668 d
27669 :bsnl
27670 s/["\\]/\\&/g
27671 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27672 D["\1"]=" \3\\\\\\n"\\/p
27673 t cont
27674 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
27675 t cont
27676 d
27677 :cont
27678 n
27679 s/.\{148\}/&'"$ac_delim"'/g
27680 t clear
27681 :clear
27682 s/\\$//
27683 t bsnlc
27684 s/["\\]/\\&/g; s/^/"/; s/$/"/p
27685 d
27686 :bsnlc
27687 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
27688 b cont
27689 ' <confdefs.h | sed '
27690 s/'"$ac_delim"'/"\\\
27691 "/g' >>$CONFIG_STATUS || ac_write_fail=1
27692
27693 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27694 for (key in D) D_is_set[key] = 1
27695 FS = ""
27696 }
27697 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
27698 line = \$ 0
27699 split(line, arg, " ")
27700 if (arg[1] == "#") {
27701 defundef = arg[2]
27702 mac1 = arg[3]
27703 } else {
27704 defundef = substr(arg[1], 2)
27705 mac1 = arg[2]
27706 }
27707 split(mac1, mac2, "(") #)
27708 macro = mac2[1]
27709 prefix = substr(line, 1, index(line, defundef) - 1)
27710 if (D_is_set[macro]) {
27711 # Preserve the white space surrounding the "#".
27712 print prefix "define", macro P[macro] D[macro]
27713 next
27714 } else {
27715 # Replace #undef with comments. This is necessary, for example,
27716 # in the case of _POSIX_SOURCE, which is predefined and required
27717 # on some systems where configure will not decide to define it.
27718 if (defundef == "undef") {
27719 print "/*", prefix defundef, macro, "*/"
27720 next
27721 }
27722 }
27723 }
27724 { print }
27725 _ACAWK
27726 _ACEOF
27727 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27728 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
27729 fi # test -n "$CONFIG_HEADERS"
27730
27731
27732 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
27733 shift
27734 for ac_tag
27735 do
27736 case $ac_tag in
27737 :[FHLC]) ac_mode=$ac_tag; continue;;
27738 esac
27739 case $ac_mode$ac_tag in
27740 :[FHL]*:*);;
27741 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
27742 :[FH]-) ac_tag=-:-;;
27743 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
27744 esac
27745 ac_save_IFS=$IFS
27746 IFS=:
27747 set x $ac_tag
27748 IFS=$ac_save_IFS
27749 shift
27750 ac_file=$1
27751 shift
27752
27753 case $ac_mode in
27754 :L) ac_source=$1;;
27755 :[FH])
27756 ac_file_inputs=
27757 for ac_f
27758 do
27759 case $ac_f in
27760 -) ac_f="$ac_tmp/stdin";;
27761 *) # Look for the file first in the build tree, then in the source tree
27762 # (if the path is not absolute). The absolute path cannot be DOS-style,
27763 # because $ac_f cannot contain `:'.
27764 test -f "$ac_f" ||
27765 case $ac_f in
27766 [\\/$]*) false;;
27767 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
27768 esac ||
27769 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
27770 esac
27771 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
27772 as_fn_append ac_file_inputs " '$ac_f'"
27773 done
27774
27775 # Let's still pretend it is `configure' which instantiates (i.e., don't
27776 # use $as_me), people would be surprised to read:
27777 # /* config.h. Generated by config.status. */
27778 configure_input='Generated from '`
27779 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
27780 `' by configure.'
27781 if test x"$ac_file" != x-; then
27782 configure_input="$ac_file. $configure_input"
27783 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
27784 $as_echo "$as_me: creating $ac_file" >&6;}
27785 fi
27786 # Neutralize special characters interpreted by sed in replacement strings.
27787 case $configure_input in #(
27788 *\&* | *\|* | *\\* )
27789 ac_sed_conf_input=`$as_echo "$configure_input" |
27790 sed 's/[\\\\&|]/\\\\&/g'`;; #(
27791 *) ac_sed_conf_input=$configure_input;;
27792 esac
27793
27794 case $ac_tag in
27795 *:-:* | *:-) cat >"$ac_tmp/stdin" \
27796 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
27797 esac
27798 ;;
27799 esac
27800
27801 ac_dir=`$as_dirname -- "$ac_file" ||
27802 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27803 X"$ac_file" : 'X\(//\)[^/]' \| \
27804 X"$ac_file" : 'X\(//\)$' \| \
27805 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27806 $as_echo X"$ac_file" |
27807 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27808 s//\1/
27809 q
27810 }
27811 /^X\(\/\/\)[^/].*/{
27812 s//\1/
27813 q
27814 }
27815 /^X\(\/\/\)$/{
27816 s//\1/
27817 q
27818 }
27819 /^X\(\/\).*/{
27820 s//\1/
27821 q
27822 }
27823 s/.*/./; q'`
27824 as_dir="$ac_dir"; as_fn_mkdir_p
27825 ac_builddir=.
27826
27827 case "$ac_dir" in
27828 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
27829 *)
27830 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
27831 # A ".." for each directory in $ac_dir_suffix.
27832 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
27833 case $ac_top_builddir_sub in
27834 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
27835 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
27836 esac ;;
27837 esac
27838 ac_abs_top_builddir=$ac_pwd
27839 ac_abs_builddir=$ac_pwd$ac_dir_suffix
27840 # for backward compatibility:
27841 ac_top_builddir=$ac_top_build_prefix
27842
27843 case $srcdir in
27844 .) # We are building in place.
27845 ac_srcdir=.
27846 ac_top_srcdir=$ac_top_builddir_sub
27847 ac_abs_top_srcdir=$ac_pwd ;;
27848 [\\/]* | ?:[\\/]* ) # Absolute name.
27849 ac_srcdir=$srcdir$ac_dir_suffix;
27850 ac_top_srcdir=$srcdir
27851 ac_abs_top_srcdir=$srcdir ;;
27852 *) # Relative name.
27853 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
27854 ac_top_srcdir=$ac_top_build_prefix$srcdir
27855 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
27856 esac
27857 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
27858
27859
27860 case $ac_mode in
27861 :F)
27862 #
27863 # CONFIG_FILE
27864 #
27865
27866 case $INSTALL in
27867 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
27868 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
27869 esac
27870 ac_MKDIR_P=$MKDIR_P
27871 case $MKDIR_P in
27872 [\\/$]* | ?:[\\/]* ) ;;
27873 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
27874 esac
27875 _ACEOF
27876
27877 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27878 # If the template does not know about datarootdir, expand it.
27879 # FIXME: This hack should be removed a few years after 2.60.
27880 ac_datarootdir_hack=; ac_datarootdir_seen=
27881 ac_sed_dataroot='
27882 /datarootdir/ {
27883 p
27884 q
27885 }
27886 /@datadir@/p
27887 /@docdir@/p
27888 /@infodir@/p
27889 /@localedir@/p
27890 /@mandir@/p'
27891 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
27892 *datarootdir*) ac_datarootdir_seen=yes;;
27893 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
27894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27895 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27896 _ACEOF
27897 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27898 ac_datarootdir_hack='
27899 s&@datadir@&$datadir&g
27900 s&@docdir@&$docdir&g
27901 s&@infodir@&$infodir&g
27902 s&@localedir@&$localedir&g
27903 s&@mandir@&$mandir&g
27904 s&\\\${datarootdir}&$datarootdir&g' ;;
27905 esac
27906 _ACEOF
27907
27908 # Neutralize VPATH when `$srcdir' = `.'.
27909 # Shell code in configure.ac might set extrasub.
27910 # FIXME: do we really want to maintain this feature?
27911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27912 ac_sed_extra="$ac_vpsub
27913 $extrasub
27914 _ACEOF
27915 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27916 :t
27917 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27918 s|@configure_input@|$ac_sed_conf_input|;t t
27919 s&@top_builddir@&$ac_top_builddir_sub&;t t
27920 s&@top_build_prefix@&$ac_top_build_prefix&;t t
27921 s&@srcdir@&$ac_srcdir&;t t
27922 s&@abs_srcdir@&$ac_abs_srcdir&;t t
27923 s&@top_srcdir@&$ac_top_srcdir&;t t
27924 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
27925 s&@builddir@&$ac_builddir&;t t
27926 s&@abs_builddir@&$ac_abs_builddir&;t t
27927 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
27928 s&@INSTALL@&$ac_INSTALL&;t t
27929 s&@MKDIR_P@&$ac_MKDIR_P&;t t
27930 $ac_datarootdir_hack
27931 "
27932 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
27933 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27934
27935 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27936 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
27937 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
27938 "$ac_tmp/out"`; test -z "$ac_out"; } &&
27939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27940 which seems to be undefined. Please make sure it is defined" >&5
27941 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27942 which seems to be undefined. Please make sure it is defined" >&2;}
27943
27944 rm -f "$ac_tmp/stdin"
27945 case $ac_file in
27946 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
27947 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
27948 esac \
27949 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27950 ;;
27951 :H)
27952 #
27953 # CONFIG_HEADER
27954 #
27955 if test x"$ac_file" != x-; then
27956 {
27957 $as_echo "/* $configure_input */" \
27958 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
27959 } >"$ac_tmp/config.h" \
27960 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27961 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
27962 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
27963 $as_echo "$as_me: $ac_file is unchanged" >&6;}
27964 else
27965 rm -f "$ac_file"
27966 mv "$ac_tmp/config.h" "$ac_file" \
27967 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27968 fi
27969 else
27970 $as_echo "/* $configure_input */" \
27971 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
27972 || as_fn_error $? "could not create -" "$LINENO" 5
27973 fi
27974 # Compute "$ac_file"'s index in $config_headers.
27975 _am_arg="$ac_file"
27976 _am_stamp_count=1
27977 for _am_header in $config_headers :; do
27978 case $_am_header in
27979 $_am_arg | $_am_arg:* )
27980 break ;;
27981 * )
27982 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
27983 esac
27984 done
27985 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
27986 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27987 X"$_am_arg" : 'X\(//\)[^/]' \| \
27988 X"$_am_arg" : 'X\(//\)$' \| \
27989 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
27990 $as_echo X"$_am_arg" |
27991 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27992 s//\1/
27993 q
27994 }
27995 /^X\(\/\/\)[^/].*/{
27996 s//\1/
27997 q
27998 }
27999 /^X\(\/\/\)$/{
28000 s//\1/
28001 q
28002 }
28003 /^X\(\/\).*/{
28004 s//\1/
28005 q
28006 }
28007 s/.*/./; q'`/stamp-h$_am_stamp_count
28008 ;;
28009
28010 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28011 $as_echo "$as_me: executing $ac_file commands" >&6;}
28012 ;;
28013 esac
28014
28015
28016 case $ac_file$ac_mode in
28017 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
28018 # Older Autoconf quotes --file arguments for eval, but not when files
28019 # are listed without --file. Let's play safe and only enable the eval
28020 # if we detect the quoting.
28021 # TODO: see whether this extra hack can be removed once we start
28022 # requiring Autoconf 2.70 or later.
28023 case $CONFIG_FILES in #(
28024 *\'*) :
28025 eval set x "$CONFIG_FILES" ;; #(
28026 *) :
28027 set x $CONFIG_FILES ;; #(
28028 *) :
28029 ;;
28030 esac
28031 shift
28032 # Used to flag and report bootstrapping failures.
28033 am_rc=0
28034 for am_mf
28035 do
28036 # Strip MF so we end up with the name of the file.
28037 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
28038 # Check whether this is an Automake generated Makefile which includes
28039 # dependency-tracking related rules and includes.
28040 # Grep'ing the whole file directly is not great: AIX grep has a line
28041 # limit of 2048, but all sed's we know have understand at least 4000.
28042 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
28043 || continue
28044 am_dirpart=`$as_dirname -- "$am_mf" ||
28045 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28046 X"$am_mf" : 'X\(//\)[^/]' \| \
28047 X"$am_mf" : 'X\(//\)$' \| \
28048 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
28049 $as_echo X"$am_mf" |
28050 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28051 s//\1/
28052 q
28053 }
28054 /^X\(\/\/\)[^/].*/{
28055 s//\1/
28056 q
28057 }
28058 /^X\(\/\/\)$/{
28059 s//\1/
28060 q
28061 }
28062 /^X\(\/\).*/{
28063 s//\1/
28064 q
28065 }
28066 s/.*/./; q'`
28067 am_filepart=`$as_basename -- "$am_mf" ||
28068 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
28069 X"$am_mf" : 'X\(//\)$' \| \
28070 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
28071 $as_echo X/"$am_mf" |
28072 sed '/^.*\/\([^/][^/]*\)\/*$/{
28073 s//\1/
28074 q
28075 }
28076 /^X\/\(\/\/\)$/{
28077 s//\1/
28078 q
28079 }
28080 /^X\/\(\/\).*/{
28081 s//\1/
28082 q
28083 }
28084 s/.*/./; q'`
28085 { echo "$as_me:$LINENO: cd "$am_dirpart" \
28086 && sed -e '/# am--include-marker/d' "$am_filepart" \
28087 | $MAKE -f - am--depfiles" >&5
28088 (cd "$am_dirpart" \
28089 && sed -e '/# am--include-marker/d' "$am_filepart" \
28090 | $MAKE -f - am--depfiles) >&5 2>&5
28091 ac_status=$?
28092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28093 (exit $ac_status); } || am_rc=$?
28094 done
28095 if test $am_rc -ne 0; then
28096 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28097 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28098 as_fn_error $? "Something went wrong bootstrapping makefile fragments
28099 for automatic dependency tracking. Try re-running configure with the
28100 '--disable-dependency-tracking' option to at least be able to build
28101 the package (albeit without support for automatic dependency tracking).
28102 See \`config.log' for more details" "$LINENO" 5; }
28103 fi
28104 { am_dirpart=; unset am_dirpart;}
28105 { am_filepart=; unset am_filepart;}
28106 { am_mf=; unset am_mf;}
28107 { am_rc=; unset am_rc;}
28108 rm -f conftest-deps.mk
28109 }
28110 ;;
28111 "libtool":C)
28112
28113 # See if we are running on zsh, and set the options that allow our
28114 # commands through without removal of \ escapes.
28115 if test -n "${ZSH_VERSION+set}"; then
28116 setopt NO_GLOB_SUBST
28117 fi
28118
28119 cfgfile=${ofile}T
28120 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28121 $RM "$cfgfile"
28122
28123 cat <<_LT_EOF >> "$cfgfile"
28124 #! $SHELL
28125 # Generated automatically by $as_me ($PACKAGE) $VERSION
28126 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28127 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28128
28129 # Provide generalized library-building support services.
28130 # Written by Gordon Matzigkeit, 1996
28131
28132 # Copyright (C) 2014 Free Software Foundation, Inc.
28133 # This is free software; see the source for copying conditions. There is NO
28134 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
28135
28136 # GNU Libtool is free software; you can redistribute it and/or modify
28137 # it under the terms of the GNU General Public License as published by
28138 # the Free Software Foundation; either version 2 of of the License, or
28139 # (at your option) any later version.
28140 #
28141 # As a special exception to the GNU General Public License, if you
28142 # distribute this file as part of a program or library that is built
28143 # using GNU Libtool, you may include this file under the same
28144 # distribution terms that you use for the rest of that program.
28145 #
28146 # GNU Libtool is distributed in the hope that it will be useful, but
28147 # WITHOUT ANY WARRANTY; without even the implied warranty of
28148 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28149 # GNU General Public License for more details.
28150 #
28151 # You should have received a copy of the GNU General Public License
28152 # along with this program. If not, see <http://www.gnu.org/licenses/>.
28153
28154
28155 # The names of the tagged configurations supported by this script.
28156 available_tags='CXX '
28157
28158 # Configured defaults for sys_lib_dlsearch_path munging.
28159 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
28160
28161 # ### BEGIN LIBTOOL CONFIG
28162
28163 # Whether or not to build static libraries.
28164 build_old_libs=$enable_static
28165
28166 # Assembler program.
28167 AS=$lt_AS
28168
28169 # DLL creation program.
28170 DLLTOOL=$lt_DLLTOOL
28171
28172 # Object dumper program.
28173 OBJDUMP=$lt_OBJDUMP
28174
28175 # Which release of libtool.m4 was used?
28176 macro_version=$macro_version
28177 macro_revision=$macro_revision
28178
28179 # Whether or not to build shared libraries.
28180 build_libtool_libs=$enable_shared
28181
28182 # What type of objects to build.
28183 pic_mode=$pic_mode
28184
28185 # Whether or not to optimize for fast installation.
28186 fast_install=$enable_fast_install
28187
28188 # Shared archive member basename,for filename based shared library versioning on AIX.
28189 shared_archive_member_spec=$shared_archive_member_spec
28190
28191 # Shell to use when invoking shell scripts.
28192 SHELL=$lt_SHELL
28193
28194 # An echo program that protects backslashes.
28195 ECHO=$lt_ECHO
28196
28197 # The PATH separator for the build system.
28198 PATH_SEPARATOR=$lt_PATH_SEPARATOR
28199
28200 # The host system.
28201 host_alias=$host_alias
28202 host=$host
28203 host_os=$host_os
28204
28205 # The build system.
28206 build_alias=$build_alias
28207 build=$build
28208 build_os=$build_os
28209
28210 # A sed program that does not truncate output.
28211 SED=$lt_SED
28212
28213 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28214 Xsed="\$SED -e 1s/^X//"
28215
28216 # A grep program that handles long lines.
28217 GREP=$lt_GREP
28218
28219 # An ERE matcher.
28220 EGREP=$lt_EGREP
28221
28222 # A literal string matcher.
28223 FGREP=$lt_FGREP
28224
28225 # A BSD- or MS-compatible name lister.
28226 NM=$lt_NM
28227
28228 # Whether we need soft or hard links.
28229 LN_S=$lt_LN_S
28230
28231 # What is the maximum length of a command?
28232 max_cmd_len=$max_cmd_len
28233
28234 # Object file suffix (normally "o").
28235 objext=$ac_objext
28236
28237 # Executable file suffix (normally "").
28238 exeext=$exeext
28239
28240 # whether the shell understands "unset".
28241 lt_unset=$lt_unset
28242
28243 # turn spaces into newlines.
28244 SP2NL=$lt_lt_SP2NL
28245
28246 # turn newlines into spaces.
28247 NL2SP=$lt_lt_NL2SP
28248
28249 # convert \$build file names to \$host format.
28250 to_host_file_cmd=$lt_cv_to_host_file_cmd
28251
28252 # convert \$build files to toolchain format.
28253 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
28254
28255 # Method to check whether dependent libraries are shared objects.
28256 deplibs_check_method=$lt_deplibs_check_method
28257
28258 # Command to use when deplibs_check_method = "file_magic".
28259 file_magic_cmd=$lt_file_magic_cmd
28260
28261 # How to find potential files when deplibs_check_method = "file_magic".
28262 file_magic_glob=$lt_file_magic_glob
28263
28264 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
28265 want_nocaseglob=$lt_want_nocaseglob
28266
28267 # Command to associate shared and link libraries.
28268 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
28269
28270 # The archiver.
28271 AR=$lt_AR
28272
28273 # Flags to create an archive.
28274 AR_FLAGS=$lt_AR_FLAGS
28275
28276 # How to feed a file listing to the archiver.
28277 archiver_list_spec=$lt_archiver_list_spec
28278
28279 # A symbol stripping program.
28280 STRIP=$lt_STRIP
28281
28282 # Commands used to install an old-style archive.
28283 RANLIB=$lt_RANLIB
28284 old_postinstall_cmds=$lt_old_postinstall_cmds
28285 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28286
28287 # Whether to use a lock for old archive extraction.
28288 lock_old_archive_extraction=$lock_old_archive_extraction
28289
28290 # A C compiler.
28291 LTCC=$lt_CC
28292
28293 # LTCC compiler flags.
28294 LTCFLAGS=$lt_CFLAGS
28295
28296 # Take the output of nm and produce a listing of raw symbols and C names.
28297 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28298
28299 # Transform the output of nm in a proper C declaration.
28300 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28301
28302 # Transform the output of nm into a list of symbols to manually relocate.
28303 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
28304
28305 # Transform the output of nm in a C name address pair.
28306 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28307
28308 # Transform the output of nm in a C name address pair when lib prefix is needed.
28309 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28310
28311 # The name lister interface.
28312 nm_interface=$lt_lt_cv_nm_interface
28313
28314 # Specify filename containing input files for \$NM.
28315 nm_file_list_spec=$lt_nm_file_list_spec
28316
28317 # The root where to search for dependent libraries,and where our libraries should be installed.
28318 lt_sysroot=$lt_sysroot
28319
28320 # Command to truncate a binary pipe.
28321 lt_truncate_bin=$lt_lt_cv_truncate_bin
28322
28323 # The name of the directory that contains temporary libtool files.
28324 objdir=$objdir
28325
28326 # Used to examine libraries when file_magic_cmd begins with "file".
28327 MAGIC_CMD=$MAGIC_CMD
28328
28329 # Must we lock files when doing compilation?
28330 need_locks=$lt_need_locks
28331
28332 # Manifest tool.
28333 MANIFEST_TOOL=$lt_MANIFEST_TOOL
28334
28335 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28336 DSYMUTIL=$lt_DSYMUTIL
28337
28338 # Tool to change global to local symbols on Mac OS X.
28339 NMEDIT=$lt_NMEDIT
28340
28341 # Tool to manipulate fat objects and archives on Mac OS X.
28342 LIPO=$lt_LIPO
28343
28344 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28345 OTOOL=$lt_OTOOL
28346
28347 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28348 OTOOL64=$lt_OTOOL64
28349
28350 # Old archive suffix (normally "a").
28351 libext=$libext
28352
28353 # Shared library suffix (normally ".so").
28354 shrext_cmds=$lt_shrext_cmds
28355
28356 # The commands to extract the exported symbol list from a shared archive.
28357 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28358
28359 # Variables whose values should be saved in libtool wrapper scripts and
28360 # restored at link time.
28361 variables_saved_for_relink=$lt_variables_saved_for_relink
28362
28363 # Do we need the "lib" prefix for modules?
28364 need_lib_prefix=$need_lib_prefix
28365
28366 # Do we need a version for libraries?
28367 need_version=$need_version
28368
28369 # Library versioning type.
28370 version_type=$version_type
28371
28372 # Shared library runtime path variable.
28373 runpath_var=$runpath_var
28374
28375 # Shared library path variable.
28376 shlibpath_var=$shlibpath_var
28377
28378 # Is shlibpath searched before the hard-coded library search path?
28379 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28380
28381 # Format of library name prefix.
28382 libname_spec=$lt_libname_spec
28383
28384 # List of archive names. First name is the real one, the rest are links.
28385 # The last name is the one that the linker finds with -lNAME
28386 library_names_spec=$lt_library_names_spec
28387
28388 # The coded name of the library, if different from the real name.
28389 soname_spec=$lt_soname_spec
28390
28391 # Permission mode override for installation of shared libraries.
28392 install_override_mode=$lt_install_override_mode
28393
28394 # Command to use after installation of a shared archive.
28395 postinstall_cmds=$lt_postinstall_cmds
28396
28397 # Command to use after uninstallation of a shared archive.
28398 postuninstall_cmds=$lt_postuninstall_cmds
28399
28400 # Commands used to finish a libtool library installation in a directory.
28401 finish_cmds=$lt_finish_cmds
28402
28403 # As "finish_cmds", except a single script fragment to be evaled but
28404 # not shown.
28405 finish_eval=$lt_finish_eval
28406
28407 # Whether we should hardcode library paths into libraries.
28408 hardcode_into_libs=$hardcode_into_libs
28409
28410 # Compile-time system search path for libraries.
28411 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28412
28413 # Detected run-time system search path for libraries.
28414 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
28415
28416 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
28417 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
28418
28419 # Whether dlopen is supported.
28420 dlopen_support=$enable_dlopen
28421
28422 # Whether dlopen of programs is supported.
28423 dlopen_self=$enable_dlopen_self
28424
28425 # Whether dlopen of statically linked programs is supported.
28426 dlopen_self_static=$enable_dlopen_self_static
28427
28428 # Commands to strip libraries.
28429 old_striplib=$lt_old_striplib
28430 striplib=$lt_striplib
28431
28432
28433 # The linker used to build libraries.
28434 LD=$lt_LD
28435
28436 # How to create reloadable object files.
28437 reload_flag=$lt_reload_flag
28438 reload_cmds=$lt_reload_cmds
28439
28440 # Commands used to build an old-style archive.
28441 old_archive_cmds=$lt_old_archive_cmds
28442
28443 # A language specific compiler.
28444 CC=$lt_compiler
28445
28446 # Is the compiler the GNU compiler?
28447 with_gcc=$GCC
28448
28449 # Compiler flag to turn off builtin functions.
28450 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28451
28452 # Additional compiler flags for building library objects.
28453 pic_flag=$lt_lt_prog_compiler_pic
28454
28455 # How to pass a linker flag through the compiler.
28456 wl=$lt_lt_prog_compiler_wl
28457
28458 # Compiler flag to prevent dynamic linking.
28459 link_static_flag=$lt_lt_prog_compiler_static
28460
28461 # Does compiler simultaneously support -c and -o options?
28462 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28463
28464 # Whether or not to add -lc for building shared libraries.
28465 build_libtool_need_lc=$archive_cmds_need_lc
28466
28467 # Whether or not to disallow shared libs when runtime libs are static.
28468 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28469
28470 # Compiler flag to allow reflexive dlopens.
28471 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28472
28473 # Compiler flag to generate shared objects directly from archives.
28474 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28475
28476 # Whether the compiler copes with passing no objects directly.
28477 compiler_needs_object=$lt_compiler_needs_object
28478
28479 # Create an old-style archive from a shared archive.
28480 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28481
28482 # Create a temporary old-style archive to link instead of a shared archive.
28483 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28484
28485 # Commands used to build a shared archive.
28486 archive_cmds=$lt_archive_cmds
28487 archive_expsym_cmds=$lt_archive_expsym_cmds
28488
28489 # Commands used to build a loadable module if different from building
28490 # a shared archive.
28491 module_cmds=$lt_module_cmds
28492 module_expsym_cmds=$lt_module_expsym_cmds
28493
28494 # Whether we are building with GNU ld or not.
28495 with_gnu_ld=$lt_with_gnu_ld
28496
28497 # Flag that allows shared libraries with undefined symbols to be built.
28498 allow_undefined_flag=$lt_allow_undefined_flag
28499
28500 # Flag that enforces no undefined symbols.
28501 no_undefined_flag=$lt_no_undefined_flag
28502
28503 # Flag to hardcode \$libdir into a binary during linking.
28504 # This must work even if \$libdir does not exist
28505 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28506
28507 # Whether we need a single "-rpath" flag with a separated argument.
28508 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28509
28510 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
28511 # DIR into the resulting binary.
28512 hardcode_direct=$hardcode_direct
28513
28514 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
28515 # DIR into the resulting binary and the resulting library dependency is
28516 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
28517 # library is relocated.
28518 hardcode_direct_absolute=$hardcode_direct_absolute
28519
28520 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28521 # into the resulting binary.
28522 hardcode_minus_L=$hardcode_minus_L
28523
28524 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28525 # into the resulting binary.
28526 hardcode_shlibpath_var=$hardcode_shlibpath_var
28527
28528 # Set to "yes" if building a shared library automatically hardcodes DIR
28529 # into the library and all subsequent libraries and executables linked
28530 # against it.
28531 hardcode_automatic=$hardcode_automatic
28532
28533 # Set to yes if linker adds runtime paths of dependent libraries
28534 # to runtime path list.
28535 inherit_rpath=$inherit_rpath
28536
28537 # Whether libtool must link a program against all its dependency libraries.
28538 link_all_deplibs=$link_all_deplibs
28539
28540 # Set to "yes" if exported symbols are required.
28541 always_export_symbols=$always_export_symbols
28542
28543 # The commands to list exported symbols.
28544 export_symbols_cmds=$lt_export_symbols_cmds
28545
28546 # Symbols that should not be listed in the preloaded symbols.
28547 exclude_expsyms=$lt_exclude_expsyms
28548
28549 # Symbols that must always be exported.
28550 include_expsyms=$lt_include_expsyms
28551
28552 # Commands necessary for linking programs (against libraries) with templates.
28553 prelink_cmds=$lt_prelink_cmds
28554
28555 # Commands necessary for finishing linking programs.
28556 postlink_cmds=$lt_postlink_cmds
28557
28558 # Specify filename containing input files.
28559 file_list_spec=$lt_file_list_spec
28560
28561 # How to hardcode a shared library path into an executable.
28562 hardcode_action=$hardcode_action
28563
28564 # The directories searched by this compiler when creating a shared library.
28565 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28566
28567 # Dependencies to place before and after the objects being linked to
28568 # create a shared library.
28569 predep_objects=$lt_predep_objects
28570 postdep_objects=$lt_postdep_objects
28571 predeps=$lt_predeps
28572 postdeps=$lt_postdeps
28573
28574 # The library search path used internally by the compiler when linking
28575 # a shared library.
28576 compiler_lib_search_path=$lt_compiler_lib_search_path
28577
28578 # ### END LIBTOOL CONFIG
28579
28580 _LT_EOF
28581
28582 cat <<'_LT_EOF' >> "$cfgfile"
28583
28584 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
28585
28586 # func_munge_path_list VARIABLE PATH
28587 # -----------------------------------
28588 # VARIABLE is name of variable containing _space_ separated list of
28589 # directories to be munged by the contents of PATH, which is string
28590 # having a format:
28591 # "DIR[:DIR]:"
28592 # string "DIR[ DIR]" will be prepended to VARIABLE
28593 # ":DIR[:DIR]"
28594 # string "DIR[ DIR]" will be appended to VARIABLE
28595 # "DIRP[:DIRP]::[DIRA:]DIRA"
28596 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
28597 # "DIRA[ DIRA]" will be appended to VARIABLE
28598 # "DIR[:DIR]"
28599 # VARIABLE will be replaced by "DIR[ DIR]"
28600 func_munge_path_list ()
28601 {
28602 case x$2 in
28603 x)
28604 ;;
28605 *:)
28606 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
28607 ;;
28608 x:*)
28609 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
28610 ;;
28611 *::*)
28612 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
28613 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
28614 ;;
28615 *)
28616 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
28617 ;;
28618 esac
28619 }
28620
28621
28622 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
28623 func_cc_basename ()
28624 {
28625 for cc_temp in $*""; do
28626 case $cc_temp in
28627 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
28628 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
28629 \-*) ;;
28630 *) break;;
28631 esac
28632 done
28633 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
28634 }
28635
28636
28637 # ### END FUNCTIONS SHARED WITH CONFIGURE
28638
28639 _LT_EOF
28640
28641 case $host_os in
28642 aix3*)
28643 cat <<\_LT_EOF >> "$cfgfile"
28644 # AIX sometimes has problems with the GCC collect2 program. For some
28645 # reason, if we set the COLLECT_NAMES environment variable, the problems
28646 # vanish in a puff of smoke.
28647 if test set != "${COLLECT_NAMES+set}"; then
28648 COLLECT_NAMES=
28649 export COLLECT_NAMES
28650 fi
28651 _LT_EOF
28652 ;;
28653 esac
28654
28655
28656 ltmain=$ac_aux_dir/ltmain.sh
28657
28658
28659 # We use sed instead of cat because bash on DJGPP gets confused if
28660 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28661 # text mode, it properly converts lines to CR/LF. This bash problem
28662 # is reportedly fixed, but why not run on old versions too?
28663 sed '$q' "$ltmain" >> "$cfgfile" \
28664 || (rm -f "$cfgfile"; exit 1)
28665
28666 mv -f "$cfgfile" "$ofile" ||
28667 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
28668 chmod +x "$ofile"
28669
28670
28671 cat <<_LT_EOF >> "$ofile"
28672
28673 # ### BEGIN LIBTOOL TAG CONFIG: CXX
28674
28675 # The linker used to build libraries.
28676 LD=$lt_LD_CXX
28677
28678 # How to create reloadable object files.
28679 reload_flag=$lt_reload_flag_CXX
28680 reload_cmds=$lt_reload_cmds_CXX
28681
28682 # Commands used to build an old-style archive.
28683 old_archive_cmds=$lt_old_archive_cmds_CXX
28684
28685 # A language specific compiler.
28686 CC=$lt_compiler_CXX
28687
28688 # Is the compiler the GNU compiler?
28689 with_gcc=$GCC_CXX
28690
28691 # Compiler flag to turn off builtin functions.
28692 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
28693
28694 # Additional compiler flags for building library objects.
28695 pic_flag=$lt_lt_prog_compiler_pic_CXX
28696
28697 # How to pass a linker flag through the compiler.
28698 wl=$lt_lt_prog_compiler_wl_CXX
28699
28700 # Compiler flag to prevent dynamic linking.
28701 link_static_flag=$lt_lt_prog_compiler_static_CXX
28702
28703 # Does compiler simultaneously support -c and -o options?
28704 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
28705
28706 # Whether or not to add -lc for building shared libraries.
28707 build_libtool_need_lc=$archive_cmds_need_lc_CXX
28708
28709 # Whether or not to disallow shared libs when runtime libs are static.
28710 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
28711
28712 # Compiler flag to allow reflexive dlopens.
28713 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
28714
28715 # Compiler flag to generate shared objects directly from archives.
28716 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
28717
28718 # Whether the compiler copes with passing no objects directly.
28719 compiler_needs_object=$lt_compiler_needs_object_CXX
28720
28721 # Create an old-style archive from a shared archive.
28722 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
28723
28724 # Create a temporary old-style archive to link instead of a shared archive.
28725 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
28726
28727 # Commands used to build a shared archive.
28728 archive_cmds=$lt_archive_cmds_CXX
28729 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
28730
28731 # Commands used to build a loadable module if different from building
28732 # a shared archive.
28733 module_cmds=$lt_module_cmds_CXX
28734 module_expsym_cmds=$lt_module_expsym_cmds_CXX
28735
28736 # Whether we are building with GNU ld or not.
28737 with_gnu_ld=$lt_with_gnu_ld_CXX
28738
28739 # Flag that allows shared libraries with undefined symbols to be built.
28740 allow_undefined_flag=$lt_allow_undefined_flag_CXX
28741
28742 # Flag that enforces no undefined symbols.
28743 no_undefined_flag=$lt_no_undefined_flag_CXX
28744
28745 # Flag to hardcode \$libdir into a binary during linking.
28746 # This must work even if \$libdir does not exist
28747 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
28748
28749 # Whether we need a single "-rpath" flag with a separated argument.
28750 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
28751
28752 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
28753 # DIR into the resulting binary.
28754 hardcode_direct=$hardcode_direct_CXX
28755
28756 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
28757 # DIR into the resulting binary and the resulting library dependency is
28758 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
28759 # library is relocated.
28760 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
28761
28762 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28763 # into the resulting binary.
28764 hardcode_minus_L=$hardcode_minus_L_CXX
28765
28766 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28767 # into the resulting binary.
28768 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
28769
28770 # Set to "yes" if building a shared library automatically hardcodes DIR
28771 # into the library and all subsequent libraries and executables linked
28772 # against it.
28773 hardcode_automatic=$hardcode_automatic_CXX
28774
28775 # Set to yes if linker adds runtime paths of dependent libraries
28776 # to runtime path list.
28777 inherit_rpath=$inherit_rpath_CXX
28778
28779 # Whether libtool must link a program against all its dependency libraries.
28780 link_all_deplibs=$link_all_deplibs_CXX
28781
28782 # Set to "yes" if exported symbols are required.
28783 always_export_symbols=$always_export_symbols_CXX
28784
28785 # The commands to list exported symbols.
28786 export_symbols_cmds=$lt_export_symbols_cmds_CXX
28787
28788 # Symbols that should not be listed in the preloaded symbols.
28789 exclude_expsyms=$lt_exclude_expsyms_CXX
28790
28791 # Symbols that must always be exported.
28792 include_expsyms=$lt_include_expsyms_CXX
28793
28794 # Commands necessary for linking programs (against libraries) with templates.
28795 prelink_cmds=$lt_prelink_cmds_CXX
28796
28797 # Commands necessary for finishing linking programs.
28798 postlink_cmds=$lt_postlink_cmds_CXX
28799
28800 # Specify filename containing input files.
28801 file_list_spec=$lt_file_list_spec_CXX
28802
28803 # How to hardcode a shared library path into an executable.
28804 hardcode_action=$hardcode_action_CXX
28805
28806 # The directories searched by this compiler when creating a shared library.
28807 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
28808
28809 # Dependencies to place before and after the objects being linked to
28810 # create a shared library.
28811 predep_objects=$lt_predep_objects_CXX
28812 postdep_objects=$lt_postdep_objects_CXX
28813 predeps=$lt_predeps_CXX
28814 postdeps=$lt_postdeps_CXX
28815
28816 # The library search path used internally by the compiler when linking
28817 # a shared library.
28818 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
28819
28820 # ### END LIBTOOL TAG CONFIG: CXX
28821 _LT_EOF
28822
28823 ;;
28824 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
28825 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
28826 esac ;;
28827 "default-2":C) case "$CONFIG_FILES" in *po-properties/Makefile.in*)
28828 sed -e "/POTFILES =/r po-properties/POTFILES" po-properties/Makefile.in > po-properties/Makefile
28829 esac ;;
28830 "gdk/gdkconfig.h":C)
28831 outfile=gdkconfig.h-tmp
28832 cat > $outfile <<\_______EOF
28833 /* gdkconfig.h
28834 *
28835 * This is a generated file. Please modify `configure.in'
28836 */
28837
28838 #ifndef GDKCONFIG_H
28839 #define GDKCONFIG_H
28840
28841 #ifdef __cplusplus
28842 extern "C" {
28843 #endif /* __cplusplus */
28844
28845 #ifndef GSEAL
28846 /* introduce GSEAL() here for all of Gdk and Gtk+ without the need to modify GLib */
28847 # ifdef GSEAL_ENABLE
28848 # define GSEAL(ident) _g_sealed__ ## ident
28849 # else
28850 # define GSEAL(ident) ident
28851 # endif
28852 #endif /* !GSEAL */
28853
28854 _______EOF
28855
28856 cat >>$outfile <<_______EOF
28857 $gdk_windowing
28858 $gdk_wc
28859 _______EOF
28860
28861 cat >>$outfile <<_______EOF
28862
28863 #ifdef __cplusplus
28864 }
28865 #endif /* __cplusplus */
28866
28867 #endif /* GDKCONFIG_H */
28868 _______EOF
28869
28870
28871 if cmp -s $outfile gdk/gdkconfig.h; then
28872 { $as_echo "$as_me:${as_lineno-$LINENO}: gdk/gdkconfig.h is unchanged" >&5
28873 $as_echo "$as_me: gdk/gdkconfig.h is unchanged" >&6;}
28874 rm -f $outfile
28875 else
28876 mv $outfile gdk/gdkconfig.h
28877 fi
28878 ;;
28879
28880 esac
28881 done # for ac_tag
28882
28883
28884 as_fn_exit 0
28885 _ACEOF
28886 ac_clean_files=$ac_clean_files_save
28887
28888 test $ac_write_fail = 0 ||
28889 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
28890
28891
28892 # configure is writing to config.log, and then calls config.status.
28893 # config.status does its own redirection, appending to config.log.
28894 # Unfortunately, on DOS this fails, as config.log is still kept open
28895 # by configure, so config.status won't be able to write to it; its
28896 # output is simply discarded. So we exec the FD to /dev/null,
28897 # effectively closing config.log, so it can be properly (re)opened and
28898 # appended to by config.status. When coming back to configure, we
28899 # need to make the FD available again.
28900 if test "$no_create" != yes; then
28901 ac_cs_success=:
28902 ac_config_status_args=
28903 test "$silent" = yes &&
28904 ac_config_status_args="$ac_config_status_args --quiet"
28905 exec 5>/dev/null
28906 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
28907 exec 5>>config.log
28908 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
28909 # would make configure fail if this is the last instruction.
28910 $ac_cs_success || as_fn_exit 1
28911 fi
28912 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
28913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
28914 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
28915 fi
28916
28917
28918 echo "configuration:
28919 target: $gdktarget"