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 compiz-plugins-extra 0.8.18.
4 #
5 # Report bugs to <[email protected]>.
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: [email protected] about your system, including any
279 $0: error possibly output before this message. Then install
280 $0: a modern shell, or manually run the script under such a
281 $0: shell if you do have one."
282 fi
283 exit 1
284 fi
285 fi
286 fi
287 SHELL=${CONFIG_SHELL-/bin/sh}
288 export SHELL
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
292
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
296 # as_fn_unset VAR
297 # ---------------
298 # Portably unset VAR.
299 as_fn_unset ()
300 {
301 { eval $1=; unset $1;}
302 }
303 as_unset=as_fn_unset
304
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
308 as_fn_set_status ()
309 {
310 return $1
311 } # as_fn_set_status
312
313 # as_fn_exit STATUS
314 # -----------------
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 as_fn_exit ()
317 {
318 set +e
319 as_fn_set_status $1
320 exit $1
321 } # as_fn_exit
322
323 # as_fn_mkdir_p
324 # -------------
325 # Create "$as_dir" as a directory, including parents if necessary.
326 as_fn_mkdir_p ()
327 {
328
329 case $as_dir in #(
330 -*) as_dir=./$as_dir;;
331 esac
332 test -d "$as_dir" || eval $as_mkdir_p || {
333 as_dirs=
334 while :; do
335 case $as_dir in #(
336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337 *) as_qdir=$as_dir;;
338 esac
339 as_dirs="'$as_qdir' $as_dirs"
340 as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347 s//\1/
348 q
349 }
350 /^X\(\/\/\)[^/].*/{
351 s//\1/
352 q
353 }
354 /^X\(\/\/\)$/{
355 s//\1/
356 q
357 }
358 /^X\(\/\).*/{
359 s//\1/
360 q
361 }
362 s/.*/./; q'`
363 test -d "$as_dir" && break
364 done
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369 } # as_fn_mkdir_p
370
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
375 {
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
383 # implementations.
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385 eval 'as_fn_append ()
386 {
387 eval $1+=\$2
388 }'
389 else
390 as_fn_append ()
391 {
392 eval $1=\$$1\$2
393 }
394 fi # as_fn_append
395
396 # as_fn_arith ARG...
397 # ------------------
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402 eval 'as_fn_arith ()
403 {
404 as_val=$(( $* ))
405 }'
406 else
407 as_fn_arith ()
408 {
409 as_val=`expr "$@" || test $? -eq 1`
410 }
411 fi # as_fn_arith
412
413
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
419 as_fn_error ()
420 {
421 as_status=$1; test $as_status -eq 0 && as_status=1
422 if test "$4"; then
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425 fi
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit $as_status
428 } # as_fn_error
429
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
432 as_expr=expr
433 else
434 as_expr=false
435 fi
436
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438 as_basename=basename
439 else
440 as_basename=false
441 fi
442
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444 as_dirname=dirname
445 else
446 as_dirname=false
447 fi
448
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453 $as_echo X/"$0" |
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
455 s//\1/
456 q
457 }
458 /^X\/\(\/\/\)$/{
459 s//\1/
460 q
461 }
462 /^X\/\(\/\).*/{
463 s//\1/
464 q
465 }
466 s/.*/./; q'`
467
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 sed -n '
482 p
483 /[$]LINENO/=
484 ' <$as_myself |
485 sed '
486 s/[$]LINENO.*/&-/
487 t lineno
488 b
489 :lineno
490 N
491 :loop
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 t loop
494 s/-\n.*//
495 ' >$as_me.lineno &&
496 chmod +x "$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
506 . "./$as_me.lineno"
507 # Exit status is that of the last command.
508 exit
509 }
510
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
513 -n*)
514 case `echo 'xy\c'` in
515 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
516 xy) ECHO_C='\c';;
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
518 ECHO_T=' ';;
519 esac;;
520 *)
521 ECHO_N='-n';;
522 esac
523
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526 rm -f conf$$.dir/conf$$.file
527 else
528 rm -f conf$$.dir
529 mkdir conf$$.dir 2>/dev/null
530 fi
531 if (echo >conf$$.file) 2>/dev/null; then
532 if ln -s conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s='ln -s'
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539 as_ln_s='cp -pR'
540 elif ln conf$$.file conf$$ 2>/dev/null; then
541 as_ln_s=ln
542 else
543 as_ln_s='cp -pR'
544 fi
545 else
546 as_ln_s='cp -pR'
547 fi
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
550
551 if mkdir -p . 2>/dev/null; then
552 as_mkdir_p='mkdir -p "$as_dir"'
553 else
554 test -d ./-p && rmdir ./-p
555 as_mkdir_p=false
556 fi
557
558 as_test_x='test -x'
559 as_executable_p=as_fn_executable_p
560
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567 SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570 test -n "$DJDIR" || exec 7<&0 </dev/null
571 exec 6>&1
572
573 # Name of the host.
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578 #
579 # Initializations.
580 #
581 ac_default_prefix=/usr/local
582 ac_clean_files=
583 ac_config_libobj_dir=.
584 LIBOBJS=
585 cross_compiling=no
586 subdirs=
587 MFLAGS=
588 MAKEFLAGS=
589
590 # Identity of this package.
591 PACKAGE_NAME='compiz-plugins-extra'
592 PACKAGE_TARNAME='compiz-plugins-extra'
593 PACKAGE_VERSION='0.8.18'
594 PACKAGE_STRING='compiz-plugins-extra 0.8.18'
595 PACKAGE_BUGREPORT='[email protected]'
596 PACKAGE_URL=''
597
598 # Factoring default headers for most tests.
599 ac_includes_default="\
600 #include <stdio.h>
601 #ifdef HAVE_SYS_TYPES_H
602 # include <sys/types.h>
603 #endif
604 #ifdef HAVE_SYS_STAT_H
605 # include <sys/stat.h>
606 #endif
607 #ifdef STDC_HEADERS
608 # include <stdlib.h>
609 # include <stddef.h>
610 #else
611 # ifdef HAVE_STDLIB_H
612 # include <stdlib.h>
613 # endif
614 #endif
615 #ifdef HAVE_STRING_H
616 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
617 # include <memory.h>
618 # endif
619 # include <string.h>
620 #endif
621 #ifdef HAVE_STRINGS_H
622 # include <strings.h>
623 #endif
624 #ifdef HAVE_INTTYPES_H
625 # include <inttypes.h>
626 #endif
627 #ifdef HAVE_STDINT_H
628 # include <stdint.h>
629 #endif
630 #ifdef HAVE_UNISTD_H
631 # include <unistd.h>
632 #endif"
633
634 gt_needs=
635 ac_subst_vars='am__EXEEXT_FALSE
636 am__EXEEXT_TRUE
637 LTLIBOBJS
638 LIBOBJS
639 UPDATE_ICON_CACHE
640 WORKSPACENAMES_PLUGIN_FALSE
641 WORKSPACENAMES_PLUGIN_TRUE
642 COMPIZTEXT_LIBS
643 COMPIZTEXT_CFLAGS
644 ANIMATIONADDON_PLUGIN_FALSE
645 ANIMATIONADDON_PLUGIN_TRUE
646 COMPIZANIMATION_LIBS
647 COMPIZANIMATION_CFLAGS
648 NOTIFICATION_PLUGIN_FALSE
649 NOTIFICATION_PLUGIN_TRUE
650 LIBNOTIFY_LIBS
651 LIBNOTIFY_CFLAGS
652 HIGHLIGHTCONTENT_PLUGIN_FALSE
653 HIGHLIGHTCONTENT_PLUGIN_TRUE
654 HIGHLIGHTCONTENT_LIBS
655 HIGHLIGHTCONTENT_CFLAGS
656 SHOWMOUSE_PLUGIN_FALSE
657 SHOWMOUSE_PLUGIN_TRUE
658 SHOWMOUSE_LIBS
659 SHOWMOUSE_CFLAGS
660 THREED_PLUGIN_FALSE
661 THREED_PLUGIN_TRUE
662 CUBEADDON_PLUGIN_FALSE
663 CUBEADDON_PLUGIN_TRUE
664 COMPIZCUBE_LIBS
665 COMPIZCUBE_CFLAGS
666 SCALEFILTER_PLUGIN_FALSE
667 SCALEFILTER_PLUGIN_TRUE
668 SCALEFILTER_LIBS
669 SCALEFILTER_CFLAGS
670 GROUP_PLUGIN_FALSE
671 GROUP_PLUGIN_TRUE
672 GROUP_LIBS
673 GROUP_CFLAGS
674 BELL_PLUGIN_FALSE
675 BELL_PLUGIN_TRUE
676 BELL_LIBS
677 BELL_CFLAGS
678 GL_LIBS
679 GL_CFLAGS
680 BCOP_BIN
681 BCOP_LIBS
682 BCOP_CFLAGS
683 COMPIZ_LIBS
684 COMPIZ_CFLAGS
685 PKG_CONFIG_LIBDIR
686 PKG_CONFIG
687 PKG_CONFIG_PATH
688 pluginiconsdir
689 metadatadir
690 imagedir
691 plugindir
692 GETTEXT_PACKAGE
693 POSUB
694 LTLIBINTL
695 LIBINTL
696 INTLLIBS
697 LTLIBICONV
698 LIBICONV
699 INTL_MACOSX_LIBS
700 XGETTEXT_EXTRA_OPTIONS
701 XGETTEXT_015
702 GMSGFMT_015
703 MSGFMT_015
704 GETTEXT_MACRO_VERSION
705 ALL_LINGUAS
706 INTLTOOL_PERL
707 GMSGFMT
708 MSGFMT
709 MSGMERGE
710 XGETTEXT
711 INTLTOOL_POLICY_RULE
712 INTLTOOL_SERVICE_RULE
713 INTLTOOL_THEME_RULE
714 INTLTOOL_SCHEMAS_RULE
715 INTLTOOL_CAVES_RULE
716 INTLTOOL_XML_NOMERGE_RULE
717 INTLTOOL_XML_RULE
718 INTLTOOL_KBD_RULE
719 INTLTOOL_XAM_RULE
720 INTLTOOL_UI_RULE
721 INTLTOOL_SOUNDLIST_RULE
722 INTLTOOL_SHEET_RULE
723 INTLTOOL_SERVER_RULE
724 INTLTOOL_PONG_RULE
725 INTLTOOL_OAF_RULE
726 INTLTOOL_PROP_RULE
727 INTLTOOL_KEYS_RULE
728 INTLTOOL_DIRECTORY_RULE
729 INTLTOOL_DESKTOP_RULE
730 intltool__v_merge_options_0
731 intltool__v_merge_options_
732 INTLTOOL_V_MERGE_OPTIONS
733 INTLTOOL__v_MERGE_0
734 INTLTOOL__v_MERGE_
735 INTLTOOL_V_MERGE
736 INTLTOOL_EXTRACT
737 INTLTOOL_MERGE
738 INTLTOOL_UPDATE
739 USE_NLS
740 LT_SYS_LIBRARY_PATH
741 OTOOL64
742 OTOOL
743 LIPO
744 NMEDIT
745 DSYMUTIL
746 MANIFEST_TOOL
747 RANLIB
748 ac_ct_AR
749 AR
750 DLLTOOL
751 OBJDUMP
752 LN_S
753 NM
754 ac_ct_DUMPBIN
755 DUMPBIN
756 LD
757 FGREP
758 EGREP
759 GREP
760 SED
761 host_os
762 host_vendor
763 host_cpu
764 host
765 build_os
766 build_vendor
767 build_cpu
768 build
769 LIBTOOL
770 CPP
771 am__fastdepCC_FALSE
772 am__fastdepCC_TRUE
773 CCDEPMODE
774 am__nodep
775 AMDEPBACKSLASH
776 AMDEP_FALSE
777 AMDEP_TRUE
778 am__quote
779 am__include
780 DEPDIR
781 OBJEXT
782 EXEEXT
783 ac_ct_CC
784 CPPFLAGS
785 LDFLAGS
786 CFLAGS
787 CC
788 MAINT
789 MAINTAINER_MODE_FALSE
790 MAINTAINER_MODE_TRUE
791 AM_BACKSLASH
792 AM_DEFAULT_VERBOSITY
793 AM_DEFAULT_V
794 AM_V
795 am__untar
796 am__tar
797 AMTAR
798 am__leading_dot
799 SET_MAKE
800 AWK
801 mkdir_p
802 MKDIR_P
803 INSTALL_STRIP_PROGRAM
804 STRIP
805 install_sh
806 MAKEINFO
807 AUTOHEADER
808 AUTOMAKE
809 AUTOCONF
810 ACLOCAL
811 VERSION
812 PACKAGE
813 CYGPATH_W
814 am__isrc
815 INSTALL_DATA
816 INSTALL_SCRIPT
817 INSTALL_PROGRAM
818 target_alias
819 host_alias
820 build_alias
821 LIBS
822 ECHO_T
823 ECHO_N
824 ECHO_C
825 DEFS
826 mandir
827 localedir
828 libdir
829 psdir
830 pdfdir
831 dvidir
832 htmldir
833 infodir
834 docdir
835 oldincludedir
836 includedir
837 runstatedir
838 localstatedir
839 sharedstatedir
840 sysconfdir
841 datadir
842 datarootdir
843 libexecdir
844 sbindir
845 bindir
846 program_transform_name
847 prefix
848 exec_prefix
849 PACKAGE_URL
850 PACKAGE_BUGREPORT
851 PACKAGE_STRING
852 PACKAGE_VERSION
853 PACKAGE_TARNAME
854 PACKAGE_NAME
855 PATH_SEPARATOR
856 SHELL'
857 ac_subst_files=''
858 ac_user_opts='
859 enable_option_checking
860 enable_silent_rules
861 enable_maintainer_mode
862 enable_dependency_tracking
863 enable_shared
864 enable_static
865 with_pic
866 enable_fast_install
867 with_aix_soname
868 with_gnu_ld
869 with_sysroot
870 enable_libtool_lock
871 enable_nls
872 enable_rpath
873 with_libiconv_prefix
874 with_libintl_prefix
875 with_gl_cflags
876 with_gl_libs
877 '
878 ac_precious_vars='build_alias
879 host_alias
880 target_alias
881 CC
882 CFLAGS
883 LDFLAGS
884 LIBS
885 CPPFLAGS
886 CPP
887 LT_SYS_LIBRARY_PATH
888 PKG_CONFIG
889 PKG_CONFIG_PATH
890 PKG_CONFIG_LIBDIR
891 COMPIZ_CFLAGS
892 COMPIZ_LIBS
893 BCOP_CFLAGS
894 BCOP_LIBS
895 BELL_CFLAGS
896 BELL_LIBS
897 GROUP_CFLAGS
898 GROUP_LIBS
899 SCALEFILTER_CFLAGS
900 SCALEFILTER_LIBS
901 COMPIZCUBE_CFLAGS
902 COMPIZCUBE_LIBS
903 SHOWMOUSE_CFLAGS
904 SHOWMOUSE_LIBS
905 HIGHLIGHTCONTENT_CFLAGS
906 HIGHLIGHTCONTENT_LIBS
907 LIBNOTIFY_CFLAGS
908 LIBNOTIFY_LIBS
909 COMPIZANIMATION_CFLAGS
910 COMPIZANIMATION_LIBS
911 COMPIZTEXT_CFLAGS
912 COMPIZTEXT_LIBS'
913
914
915 # Initialize some variables set by options.
916 ac_init_help=
917 ac_init_version=false
918 ac_unrecognized_opts=
919 ac_unrecognized_sep=
920 # The variables have the same names as the options, with
921 # dashes changed to underlines.
922 cache_file=/dev/null
923 exec_prefix=NONE
924 no_create=
925 no_recursion=
926 prefix=NONE
927 program_prefix=NONE
928 program_suffix=NONE
929 program_transform_name=s,x,x,
930 silent=
931 site=
932 srcdir=
933 verbose=
934 x_includes=NONE
935 x_libraries=NONE
936
937 # Installation directory options.
938 # These are left unexpanded so users can "make install exec_prefix=/foo"
939 # and all the variables that are supposed to be based on exec_prefix
940 # by default will actually change.
941 # Use braces instead of parens because sh, perl, etc. also accept them.
942 # (The list follows the same order as the GNU Coding Standards.)
943 bindir='${exec_prefix}/bin'
944 sbindir='${exec_prefix}/sbin'
945 libexecdir='${exec_prefix}/libexec'
946 datarootdir='${prefix}/share'
947 datadir='${datarootdir}'
948 sysconfdir='${prefix}/etc'
949 sharedstatedir='${prefix}/com'
950 localstatedir='${prefix}/var'
951 runstatedir='${localstatedir}/run'
952 includedir='${prefix}/include'
953 oldincludedir='/usr/include'
954 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
955 infodir='${datarootdir}/info'
956 htmldir='${docdir}'
957 dvidir='${docdir}'
958 pdfdir='${docdir}'
959 psdir='${docdir}'
960 libdir='${exec_prefix}/lib'
961 localedir='${datarootdir}/locale'
962 mandir='${datarootdir}/man'
963
964 ac_prev=
965 ac_dashdash=
966 for ac_option
967 do
968 # If the previous option needs an argument, assign it.
969 if test -n "$ac_prev"; then
970 eval $ac_prev=\$ac_option
971 ac_prev=
972 continue
973 fi
974
975 case $ac_option in
976 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
977 *=) ac_optarg= ;;
978 *) ac_optarg=yes ;;
979 esac
980
981 # Accept the important Cygnus configure options, so we can diagnose typos.
982
983 case $ac_dashdash$ac_option in
984 --)
985 ac_dashdash=yes ;;
986
987 -bindir | --bindir | --bindi | --bind | --bin | --bi)
988 ac_prev=bindir ;;
989 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
990 bindir=$ac_optarg ;;
991
992 -build | --build | --buil | --bui | --bu)
993 ac_prev=build_alias ;;
994 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
995 build_alias=$ac_optarg ;;
996
997 -cache-file | --cache-file | --cache-fil | --cache-fi \
998 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
999 ac_prev=cache_file ;;
1000 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1001 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1002 cache_file=$ac_optarg ;;
1003
1004 --config-cache | -C)
1005 cache_file=config.cache ;;
1006
1007 -datadir | --datadir | --datadi | --datad)
1008 ac_prev=datadir ;;
1009 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1010 datadir=$ac_optarg ;;
1011
1012 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1013 | --dataroo | --dataro | --datar)
1014 ac_prev=datarootdir ;;
1015 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1016 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1017 datarootdir=$ac_optarg ;;
1018
1019 -disable-* | --disable-*)
1020 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1021 # Reject names that are not valid shell variable names.
1022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1023 as_fn_error $? "invalid feature name: $ac_useropt"
1024 ac_useropt_orig=$ac_useropt
1025 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026 case $ac_user_opts in
1027 *"
1028 "enable_$ac_useropt"
1029 "*) ;;
1030 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1031 ac_unrecognized_sep=', ';;
1032 esac
1033 eval enable_$ac_useropt=no ;;
1034
1035 -docdir | --docdir | --docdi | --doc | --do)
1036 ac_prev=docdir ;;
1037 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1038 docdir=$ac_optarg ;;
1039
1040 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1041 ac_prev=dvidir ;;
1042 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1043 dvidir=$ac_optarg ;;
1044
1045 -enable-* | --enable-*)
1046 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1047 # Reject names that are not valid shell variable names.
1048 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1049 as_fn_error $? "invalid feature name: $ac_useropt"
1050 ac_useropt_orig=$ac_useropt
1051 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1052 case $ac_user_opts in
1053 *"
1054 "enable_$ac_useropt"
1055 "*) ;;
1056 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1057 ac_unrecognized_sep=', ';;
1058 esac
1059 eval enable_$ac_useropt=\$ac_optarg ;;
1060
1061 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1062 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1063 | --exec | --exe | --ex)
1064 ac_prev=exec_prefix ;;
1065 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1066 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1067 | --exec=* | --exe=* | --ex=*)
1068 exec_prefix=$ac_optarg ;;
1069
1070 -gas | --gas | --ga | --g)
1071 # Obsolete; use --with-gas.
1072 with_gas=yes ;;
1073
1074 -help | --help | --hel | --he | -h)
1075 ac_init_help=long ;;
1076 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1077 ac_init_help=recursive ;;
1078 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1079 ac_init_help=short ;;
1080
1081 -host | --host | --hos | --ho)
1082 ac_prev=host_alias ;;
1083 -host=* | --host=* | --hos=* | --ho=*)
1084 host_alias=$ac_optarg ;;
1085
1086 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1087 ac_prev=htmldir ;;
1088 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1089 | --ht=*)
1090 htmldir=$ac_optarg ;;
1091
1092 -includedir | --includedir | --includedi | --included | --include \
1093 | --includ | --inclu | --incl | --inc)
1094 ac_prev=includedir ;;
1095 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1096 | --includ=* | --inclu=* | --incl=* | --inc=*)
1097 includedir=$ac_optarg ;;
1098
1099 -infodir | --infodir | --infodi | --infod | --info | --inf)
1100 ac_prev=infodir ;;
1101 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1102 infodir=$ac_optarg ;;
1103
1104 -libdir | --libdir | --libdi | --libd)
1105 ac_prev=libdir ;;
1106 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1107 libdir=$ac_optarg ;;
1108
1109 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1110 | --libexe | --libex | --libe)
1111 ac_prev=libexecdir ;;
1112 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1113 | --libexe=* | --libex=* | --libe=*)
1114 libexecdir=$ac_optarg ;;
1115
1116 -localedir | --localedir | --localedi | --localed | --locale)
1117 ac_prev=localedir ;;
1118 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1119 localedir=$ac_optarg ;;
1120
1121 -localstatedir | --localstatedir | --localstatedi | --localstated \
1122 | --localstate | --localstat | --localsta | --localst | --locals)
1123 ac_prev=localstatedir ;;
1124 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1125 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1126 localstatedir=$ac_optarg ;;
1127
1128 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1129 ac_prev=mandir ;;
1130 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1131 mandir=$ac_optarg ;;
1132
1133 -nfp | --nfp | --nf)
1134 # Obsolete; use --without-fp.
1135 with_fp=no ;;
1136
1137 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1138 | --no-cr | --no-c | -n)
1139 no_create=yes ;;
1140
1141 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1142 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1143 no_recursion=yes ;;
1144
1145 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1146 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1147 | --oldin | --oldi | --old | --ol | --o)
1148 ac_prev=oldincludedir ;;
1149 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1150 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1151 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1152 oldincludedir=$ac_optarg ;;
1153
1154 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1155 ac_prev=prefix ;;
1156 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1157 prefix=$ac_optarg ;;
1158
1159 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1160 | --program-pre | --program-pr | --program-p)
1161 ac_prev=program_prefix ;;
1162 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1163 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1164 program_prefix=$ac_optarg ;;
1165
1166 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1167 | --program-suf | --program-su | --program-s)
1168 ac_prev=program_suffix ;;
1169 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1170 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1171 program_suffix=$ac_optarg ;;
1172
1173 -program-transform-name | --program-transform-name \
1174 | --program-transform-nam | --program-transform-na \
1175 | --program-transform-n | --program-transform- \
1176 | --program-transform | --program-transfor \
1177 | --program-transfo | --program-transf \
1178 | --program-trans | --program-tran \
1179 | --progr-tra | --program-tr | --program-t)
1180 ac_prev=program_transform_name ;;
1181 -program-transform-name=* | --program-transform-name=* \
1182 | --program-transform-nam=* | --program-transform-na=* \
1183 | --program-transform-n=* | --program-transform-=* \
1184 | --program-transform=* | --program-transfor=* \
1185 | --program-transfo=* | --program-transf=* \
1186 | --program-trans=* | --program-tran=* \
1187 | --progr-tra=* | --program-tr=* | --program-t=*)
1188 program_transform_name=$ac_optarg ;;
1189
1190 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1191 ac_prev=pdfdir ;;
1192 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1193 pdfdir=$ac_optarg ;;
1194
1195 -psdir | --psdir | --psdi | --psd | --ps)
1196 ac_prev=psdir ;;
1197 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1198 psdir=$ac_optarg ;;
1199
1200 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1201 | -silent | --silent | --silen | --sile | --sil)
1202 silent=yes ;;
1203
1204 -runstatedir | --runstatedir | --runstatedi | --runstated \
1205 | --runstate | --runstat | --runsta | --runst | --runs \
1206 | --run | --ru | --r)
1207 ac_prev=runstatedir ;;
1208 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1209 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1210 | --run=* | --ru=* | --r=*)
1211 runstatedir=$ac_optarg ;;
1212
1213 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1214 ac_prev=sbindir ;;
1215 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1216 | --sbi=* | --sb=*)
1217 sbindir=$ac_optarg ;;
1218
1219 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1220 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1221 | --sharedst | --shareds | --shared | --share | --shar \
1222 | --sha | --sh)
1223 ac_prev=sharedstatedir ;;
1224 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1225 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1226 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1227 | --sha=* | --sh=*)
1228 sharedstatedir=$ac_optarg ;;
1229
1230 -site | --site | --sit)
1231 ac_prev=site ;;
1232 -site=* | --site=* | --sit=*)
1233 site=$ac_optarg ;;
1234
1235 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1236 ac_prev=srcdir ;;
1237 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1238 srcdir=$ac_optarg ;;
1239
1240 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1241 | --syscon | --sysco | --sysc | --sys | --sy)
1242 ac_prev=sysconfdir ;;
1243 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1244 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1245 sysconfdir=$ac_optarg ;;
1246
1247 -target | --target | --targe | --targ | --tar | --ta | --t)
1248 ac_prev=target_alias ;;
1249 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1250 target_alias=$ac_optarg ;;
1251
1252 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1253 verbose=yes ;;
1254
1255 -version | --version | --versio | --versi | --vers | -V)
1256 ac_init_version=: ;;
1257
1258 -with-* | --with-*)
1259 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1260 # Reject names that are not valid shell variable names.
1261 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1262 as_fn_error $? "invalid package name: $ac_useropt"
1263 ac_useropt_orig=$ac_useropt
1264 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1265 case $ac_user_opts in
1266 *"
1267 "with_$ac_useropt"
1268 "*) ;;
1269 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1270 ac_unrecognized_sep=', ';;
1271 esac
1272 eval with_$ac_useropt=\$ac_optarg ;;
1273
1274 -without-* | --without-*)
1275 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1276 # Reject names that are not valid shell variable names.
1277 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1278 as_fn_error $? "invalid package name: $ac_useropt"
1279 ac_useropt_orig=$ac_useropt
1280 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1281 case $ac_user_opts in
1282 *"
1283 "with_$ac_useropt"
1284 "*) ;;
1285 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1286 ac_unrecognized_sep=', ';;
1287 esac
1288 eval with_$ac_useropt=no ;;
1289
1290 --x)
1291 # Obsolete; use --with-x.
1292 with_x=yes ;;
1293
1294 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1295 | --x-incl | --x-inc | --x-in | --x-i)
1296 ac_prev=x_includes ;;
1297 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1298 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1299 x_includes=$ac_optarg ;;
1300
1301 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1302 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1303 ac_prev=x_libraries ;;
1304 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1305 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1306 x_libraries=$ac_optarg ;;
1307
1308 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1309 Try \`$0 --help' for more information"
1310 ;;
1311
1312 *=*)
1313 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1314 # Reject names that are not valid shell variable names.
1315 case $ac_envvar in #(
1316 '' | [0-9]* | *[!_$as_cr_alnum]* )
1317 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1318 esac
1319 eval $ac_envvar=\$ac_optarg
1320 export $ac_envvar ;;
1321
1322 *)
1323 # FIXME: should be removed in autoconf 3.0.
1324 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1325 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1326 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1327 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1328 ;;
1329
1330 esac
1331 done
1332
1333 if test -n "$ac_prev"; then
1334 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1335 as_fn_error $? "missing argument to $ac_option"
1336 fi
1337
1338 if test -n "$ac_unrecognized_opts"; then
1339 case $enable_option_checking in
1340 no) ;;
1341 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1342 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1343 esac
1344 fi
1345
1346 # Check all directory arguments for consistency.
1347 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1348 datadir sysconfdir sharedstatedir localstatedir includedir \
1349 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1350 libdir localedir mandir runstatedir
1351 do
1352 eval ac_val=\$$ac_var
1353 # Remove trailing slashes.
1354 case $ac_val in
1355 */ )
1356 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1357 eval $ac_var=\$ac_val;;
1358 esac
1359 # Be sure to have absolute directory names.
1360 case $ac_val in
1361 [\\/$]* | ?:[\\/]* ) continue;;
1362 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1363 esac
1364 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1365 done
1366
1367 # There might be people who depend on the old broken behavior: `$host'
1368 # used to hold the argument of --host etc.
1369 # FIXME: To remove some day.
1370 build=$build_alias
1371 host=$host_alias
1372 target=$target_alias
1373
1374 # FIXME: To remove some day.
1375 if test "x$host_alias" != x; then
1376 if test "x$build_alias" = x; then
1377 cross_compiling=maybe
1378 elif test "x$build_alias" != "x$host_alias"; then
1379 cross_compiling=yes
1380 fi
1381 fi
1382
1383 ac_tool_prefix=
1384 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1385
1386 test "$silent" = yes && exec 6>/dev/null
1387
1388
1389 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1390 ac_ls_di=`ls -di .` &&
1391 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1392 as_fn_error $? "working directory cannot be determined"
1393 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1394 as_fn_error $? "pwd does not report name of working directory"
1395
1396
1397 # Find the source files, if location was not specified.
1398 if test -z "$srcdir"; then
1399 ac_srcdir_defaulted=yes
1400 # Try the directory containing this script, then the parent directory.
1401 ac_confdir=`$as_dirname -- "$as_myself" ||
1402 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1403 X"$as_myself" : 'X\(//\)[^/]' \| \
1404 X"$as_myself" : 'X\(//\)$' \| \
1405 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1406 $as_echo X"$as_myself" |
1407 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1408 s//\1/
1409 q
1410 }
1411 /^X\(\/\/\)[^/].*/{
1412 s//\1/
1413 q
1414 }
1415 /^X\(\/\/\)$/{
1416 s//\1/
1417 q
1418 }
1419 /^X\(\/\).*/{
1420 s//\1/
1421 q
1422 }
1423 s/.*/./; q'`
1424 srcdir=$ac_confdir
1425 if test ! -r "$srcdir/$ac_unique_file"; then
1426 srcdir=..
1427 fi
1428 else
1429 ac_srcdir_defaulted=no
1430 fi
1431 if test ! -r "$srcdir/$ac_unique_file"; then
1432 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1433 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1434 fi
1435 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1436 ac_abs_confdir=`(
1437 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1438 pwd)`
1439 # When building in place, set srcdir=.
1440 if test "$ac_abs_confdir" = "$ac_pwd"; then
1441 srcdir=.
1442 fi
1443 # Remove unnecessary trailing slashes from srcdir.
1444 # Double slashes in file names in object file debugging info
1445 # mess up M-x gdb in Emacs.
1446 case $srcdir in
1447 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1448 esac
1449 for ac_var in $ac_precious_vars; do
1450 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1451 eval ac_env_${ac_var}_value=\$${ac_var}
1452 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1453 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1454 done
1455
1456 #
1457 # Report the --help message.
1458 #
1459 if test "$ac_init_help" = "long"; then
1460 # Omit some internal or obsolete options to make the list less imposing.
1461 # This message is too long to be a string in the A/UX 3.1 sh.
1462 cat <<_ACEOF
1463 \`configure' configures compiz-plugins-extra 0.8.18 to adapt to many kinds of systems.
1464
1465 Usage: $0 [OPTION]... [VAR=VALUE]...
1466
1467 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1468 VAR=VALUE. See below for descriptions of some of the useful variables.
1469
1470 Defaults for the options are specified in brackets.
1471
1472 Configuration:
1473 -h, --help display this help and exit
1474 --help=short display options specific to this package
1475 --help=recursive display the short help of all the included packages
1476 -V, --version display version information and exit
1477 -q, --quiet, --silent do not print \`checking ...' messages
1478 --cache-file=FILE cache test results in FILE [disabled]
1479 -C, --config-cache alias for \`--cache-file=config.cache'
1480 -n, --no-create do not create output files
1481 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1482
1483 Installation directories:
1484 --prefix=PREFIX install architecture-independent files in PREFIX
1485 [$ac_default_prefix]
1486 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1487 [PREFIX]
1488
1489 By default, \`make install' will install all the files in
1490 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1491 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1492 for instance \`--prefix=\$HOME'.
1493
1494 For better control, use the options below.
1495
1496 Fine tuning of the installation directories:
1497 --bindir=DIR user executables [EPREFIX/bin]
1498 --sbindir=DIR system admin executables [EPREFIX/sbin]
1499 --libexecdir=DIR program executables [EPREFIX/libexec]
1500 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1501 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1502 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1503 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1504 --libdir=DIR object code libraries [EPREFIX/lib]
1505 --includedir=DIR C header files [PREFIX/include]
1506 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1507 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1508 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1509 --infodir=DIR info documentation [DATAROOTDIR/info]
1510 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1511 --mandir=DIR man documentation [DATAROOTDIR/man]
1512 --docdir=DIR documentation root
1513 [DATAROOTDIR/doc/compiz-plugins-extra]
1514 --htmldir=DIR html documentation [DOCDIR]
1515 --dvidir=DIR dvi documentation [DOCDIR]
1516 --pdfdir=DIR pdf documentation [DOCDIR]
1517 --psdir=DIR ps documentation [DOCDIR]
1518 _ACEOF
1519
1520 cat <<\_ACEOF
1521
1522 Program names:
1523 --program-prefix=PREFIX prepend PREFIX to installed program names
1524 --program-suffix=SUFFIX append SUFFIX to installed program names
1525 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1526
1527 System types:
1528 --build=BUILD configure for building on BUILD [guessed]
1529 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1530 _ACEOF
1531 fi
1532
1533 if test -n "$ac_init_help"; then
1534 case $ac_init_help in
1535 short | recursive ) echo "Configuration of compiz-plugins-extra 0.8.18:";;
1536 esac
1537 cat <<\_ACEOF
1538
1539 Optional Features:
1540 --disable-option-checking ignore unrecognized --enable/--with options
1541 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1542 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1543 --enable-silent-rules less verbose build output (undo: "make V=1")
1544 --disable-silent-rules verbose build output (undo: "make V=0")
1545 --enable-maintainer-mode
1546 enable make rules and dependencies not useful (and
1547 sometimes confusing) to the casual installer
1548 --enable-dependency-tracking
1549 do not reject slow dependency extractors
1550 --disable-dependency-tracking
1551 speeds up one-time build
1552 --enable-shared[=PKGS] build shared libraries [default=yes]
1553 --enable-static[=PKGS] build static libraries [default=yes]
1554 --enable-fast-install[=PKGS]
1555 optimize for fast installation [default=yes]
1556 --disable-libtool-lock avoid locking (might break parallel builds)
1557 --disable-nls do not use Native Language Support
1558 --disable-rpath do not hardcode runtime library paths
1559
1560 Optional Packages:
1561 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1562 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1563 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1564 both]
1565 --with-aix-soname=aix|svr4|both
1566 shared library versioning (aka "SONAME") variant to
1567 provide on AIX, [default=aix].
1568 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1569 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1570 compiler's sysroot if not specified).
1571 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1572 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1573 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1574 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1575 --without-libintl-prefix don't search for libintl in includedir and libdir
1576 --with-gl-cflags=CFLAGS
1577 --with-gl-libs=LIBS
1578
1579 Some influential environment variables:
1580 CC C compiler command
1581 CFLAGS C compiler flags
1582 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1583 nonstandard directory <lib dir>
1584 LIBS libraries to pass to the linker, e.g. -l<library>
1585 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1586 you have headers in a nonstandard directory <include dir>
1587 CPP C preprocessor
1588 LT_SYS_LIBRARY_PATH
1589 User-defined run-time library search path.
1590 PKG_CONFIG path to pkg-config utility
1591 PKG_CONFIG_PATH
1592 directories to add to pkg-config's search path
1593 PKG_CONFIG_LIBDIR
1594 path overriding pkg-config's built-in search path
1595 COMPIZ_CFLAGS
1596 C compiler flags for COMPIZ, overriding pkg-config
1597 COMPIZ_LIBS linker flags for COMPIZ, overriding pkg-config
1598 BCOP_CFLAGS C compiler flags for BCOP, overriding pkg-config
1599 BCOP_LIBS linker flags for BCOP, overriding pkg-config
1600 BELL_CFLAGS C compiler flags for BELL, overriding pkg-config
1601 BELL_LIBS linker flags for BELL, overriding pkg-config
1602 GROUP_CFLAGS
1603 C compiler flags for GROUP, overriding pkg-config
1604 GROUP_LIBS linker flags for GROUP, overriding pkg-config
1605 SCALEFILTER_CFLAGS
1606 C compiler flags for SCALEFILTER, overriding pkg-config
1607 SCALEFILTER_LIBS
1608 linker flags for SCALEFILTER, overriding pkg-config
1609 COMPIZCUBE_CFLAGS
1610 C compiler flags for COMPIZCUBE, overriding pkg-config
1611 COMPIZCUBE_LIBS
1612 linker flags for COMPIZCUBE, overriding pkg-config
1613 SHOWMOUSE_CFLAGS
1614 C compiler flags for SHOWMOUSE, overriding pkg-config
1615 SHOWMOUSE_LIBS
1616 linker flags for SHOWMOUSE, overriding pkg-config
1617 HIGHLIGHTCONTENT_CFLAGS
1618 C compiler flags for HIGHLIGHTCONTENT, overriding pkg-config
1619 HIGHLIGHTCONTENT_LIBS
1620 linker flags for HIGHLIGHTCONTENT, overriding pkg-config
1621 LIBNOTIFY_CFLAGS
1622 C compiler flags for LIBNOTIFY, overriding pkg-config
1623 LIBNOTIFY_LIBS
1624 linker flags for LIBNOTIFY, overriding pkg-config
1625 COMPIZANIMATION_CFLAGS
1626 C compiler flags for COMPIZANIMATION, overriding pkg-config
1627 COMPIZANIMATION_LIBS
1628 linker flags for COMPIZANIMATION, overriding pkg-config
1629 COMPIZTEXT_CFLAGS
1630 C compiler flags for COMPIZTEXT, overriding pkg-config
1631 COMPIZTEXT_LIBS
1632 linker flags for COMPIZTEXT, overriding pkg-config
1633
1634 Use these variables to override the choices made by `configure' or to help
1635 it to find libraries and programs with nonstandard names/locations.
1636
1637 Report bugs to <[email protected]>.
1638 _ACEOF
1639 ac_status=$?
1640 fi
1641
1642 if test "$ac_init_help" = "recursive"; then
1643 # If there are subdirs, report their specific --help.
1644 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1645 test -d "$ac_dir" ||
1646 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1647 continue
1648 ac_builddir=.
1649
1650 case "$ac_dir" in
1651 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1652 *)
1653 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1654 # A ".." for each directory in $ac_dir_suffix.
1655 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1656 case $ac_top_builddir_sub in
1657 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1658 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1659 esac ;;
1660 esac
1661 ac_abs_top_builddir=$ac_pwd
1662 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1663 # for backward compatibility:
1664 ac_top_builddir=$ac_top_build_prefix
1665
1666 case $srcdir in
1667 .) # We are building in place.
1668 ac_srcdir=.
1669 ac_top_srcdir=$ac_top_builddir_sub
1670 ac_abs_top_srcdir=$ac_pwd ;;
1671 [\\/]* | ?:[\\/]* ) # Absolute name.
1672 ac_srcdir=$srcdir$ac_dir_suffix;
1673 ac_top_srcdir=$srcdir
1674 ac_abs_top_srcdir=$srcdir ;;
1675 *) # Relative name.
1676 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1677 ac_top_srcdir=$ac_top_build_prefix$srcdir
1678 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1679 esac
1680 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1681
1682 cd "$ac_dir" || { ac_status=$?; continue; }
1683 # Check for guested configure.
1684 if test -f "$ac_srcdir/configure.gnu"; then
1685 echo &&
1686 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1687 elif test -f "$ac_srcdir/configure"; then
1688 echo &&
1689 $SHELL "$ac_srcdir/configure" --help=recursive
1690 else
1691 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1692 fi || ac_status=$?
1693 cd "$ac_pwd" || { ac_status=$?; break; }
1694 done
1695 fi
1696
1697 test -n "$ac_init_help" && exit $ac_status
1698 if $ac_init_version; then
1699 cat <<\_ACEOF
1700 compiz-plugins-extra configure 0.8.18
1701 generated by GNU Autoconf 2.69
1702
1703 Copyright (C) 2012 Free Software Foundation, Inc.
1704 This configure script is free software; the Free Software Foundation
1705 gives unlimited permission to copy, distribute and modify it.
1706 _ACEOF
1707 exit
1708 fi
1709
1710 ## ------------------------ ##
1711 ## Autoconf initialization. ##
1712 ## ------------------------ ##
1713
1714 # ac_fn_c_try_compile LINENO
1715 # --------------------------
1716 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1717 ac_fn_c_try_compile ()
1718 {
1719 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1720 rm -f conftest.$ac_objext
1721 if { { ac_try="$ac_compile"
1722 case "(($ac_try" in
1723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1724 *) ac_try_echo=$ac_try;;
1725 esac
1726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1727 $as_echo "$ac_try_echo"; } >&5
1728 (eval "$ac_compile") 2>conftest.err
1729 ac_status=$?
1730 if test -s conftest.err; then
1731 grep -v '^ *+' conftest.err >conftest.er1
1732 cat conftest.er1 >&5
1733 mv -f conftest.er1 conftest.err
1734 fi
1735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1736 test $ac_status = 0; } && {
1737 test -z "$ac_c_werror_flag" ||
1738 test ! -s conftest.err
1739 } && test -s conftest.$ac_objext; then :
1740 ac_retval=0
1741 else
1742 $as_echo "$as_me: failed program was:" >&5
1743 sed 's/^/| /' conftest.$ac_ext >&5
1744
1745 ac_retval=1
1746 fi
1747 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1748 as_fn_set_status $ac_retval
1749
1750 } # ac_fn_c_try_compile
1751
1752 # ac_fn_c_try_link LINENO
1753 # -----------------------
1754 # Try to link conftest.$ac_ext, and return whether this succeeded.
1755 ac_fn_c_try_link ()
1756 {
1757 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1758 rm -f conftest.$ac_objext conftest$ac_exeext
1759 if { { ac_try="$ac_link"
1760 case "(($ac_try" in
1761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1762 *) ac_try_echo=$ac_try;;
1763 esac
1764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1765 $as_echo "$ac_try_echo"; } >&5
1766 (eval "$ac_link") 2>conftest.err
1767 ac_status=$?
1768 if test -s conftest.err; then
1769 grep -v '^ *+' conftest.err >conftest.er1
1770 cat conftest.er1 >&5
1771 mv -f conftest.er1 conftest.err
1772 fi
1773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1774 test $ac_status = 0; } && {
1775 test -z "$ac_c_werror_flag" ||
1776 test ! -s conftest.err
1777 } && test -s conftest$ac_exeext && {
1778 test "$cross_compiling" = yes ||
1779 test -x conftest$ac_exeext
1780 }; then :
1781 ac_retval=0
1782 else
1783 $as_echo "$as_me: failed program was:" >&5
1784 sed 's/^/| /' conftest.$ac_ext >&5
1785
1786 ac_retval=1
1787 fi
1788 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1789 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1790 # interfere with the next link command; also delete a directory that is
1791 # left behind by Apple's compiler. We do this before executing the actions.
1792 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1794 as_fn_set_status $ac_retval
1795
1796 } # ac_fn_c_try_link
1797
1798 # ac_fn_c_try_cpp LINENO
1799 # ----------------------
1800 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1801 ac_fn_c_try_cpp ()
1802 {
1803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1804 if { { ac_try="$ac_cpp conftest.$ac_ext"
1805 case "(($ac_try" in
1806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1807 *) ac_try_echo=$ac_try;;
1808 esac
1809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1810 $as_echo "$ac_try_echo"; } >&5
1811 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1812 ac_status=$?
1813 if test -s conftest.err; then
1814 grep -v '^ *+' conftest.err >conftest.er1
1815 cat conftest.er1 >&5
1816 mv -f conftest.er1 conftest.err
1817 fi
1818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1819 test $ac_status = 0; } > conftest.i && {
1820 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1821 test ! -s conftest.err
1822 }; then :
1823 ac_retval=0
1824 else
1825 $as_echo "$as_me: failed program was:" >&5
1826 sed 's/^/| /' conftest.$ac_ext >&5
1827
1828 ac_retval=1
1829 fi
1830 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1831 as_fn_set_status $ac_retval
1832
1833 } # ac_fn_c_try_cpp
1834
1835 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1836 # -------------------------------------------------------
1837 # Tests whether HEADER exists and can be compiled using the include files in
1838 # INCLUDES, setting the cache variable VAR accordingly.
1839 ac_fn_c_check_header_compile ()
1840 {
1841 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1843 $as_echo_n "checking for $2... " >&6; }
1844 if eval \${$3+:} false; then :
1845 $as_echo_n "(cached) " >&6
1846 else
1847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1848 /* end confdefs.h. */
1849 $4
1850 #include <$2>
1851 _ACEOF
1852 if ac_fn_c_try_compile "$LINENO"; then :
1853 eval "$3=yes"
1854 else
1855 eval "$3=no"
1856 fi
1857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1858 fi
1859 eval ac_res=\$$3
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1861 $as_echo "$ac_res" >&6; }
1862 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1863
1864 } # ac_fn_c_check_header_compile
1865
1866 # ac_fn_c_try_run LINENO
1867 # ----------------------
1868 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1869 # that executables *can* be run.
1870 ac_fn_c_try_run ()
1871 {
1872 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1873 if { { ac_try="$ac_link"
1874 case "(($ac_try" in
1875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1876 *) ac_try_echo=$ac_try;;
1877 esac
1878 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1879 $as_echo "$ac_try_echo"; } >&5
1880 (eval "$ac_link") 2>&5
1881 ac_status=$?
1882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1883 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1884 { { case "(($ac_try" in
1885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1886 *) ac_try_echo=$ac_try;;
1887 esac
1888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1889 $as_echo "$ac_try_echo"; } >&5
1890 (eval "$ac_try") 2>&5
1891 ac_status=$?
1892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1893 test $ac_status = 0; }; }; then :
1894 ac_retval=0
1895 else
1896 $as_echo "$as_me: program exited with status $ac_status" >&5
1897 $as_echo "$as_me: failed program was:" >&5
1898 sed 's/^/| /' conftest.$ac_ext >&5
1899
1900 ac_retval=$ac_status
1901 fi
1902 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1903 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1904 as_fn_set_status $ac_retval
1905
1906 } # ac_fn_c_try_run
1907
1908 # ac_fn_c_check_func LINENO FUNC VAR
1909 # ----------------------------------
1910 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1911 ac_fn_c_check_func ()
1912 {
1913 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1915 $as_echo_n "checking for $2... " >&6; }
1916 if eval \${$3+:} false; then :
1917 $as_echo_n "(cached) " >&6
1918 else
1919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1920 /* end confdefs.h. */
1921 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1923 #define $2 innocuous_$2
1924
1925 /* System header to define __stub macros and hopefully few prototypes,
1926 which can conflict with char $2 (); below.
1927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1928 <limits.h> exists even on freestanding compilers. */
1929
1930 #ifdef __STDC__
1931 # include <limits.h>
1932 #else
1933 # include <assert.h>
1934 #endif
1935
1936 #undef $2
1937
1938 /* Override any GCC internal prototype to avoid an error.
1939 Use char because int might match the return type of a GCC
1940 builtin and then its argument prototype would still apply. */
1941 #ifdef __cplusplus
1942 extern "C"
1943 #endif
1944 char $2 ();
1945 /* The GNU C library defines this for functions which it implements
1946 to always fail with ENOSYS. Some functions are actually named
1947 something starting with __ and the normal name is an alias. */
1948 #if defined __stub_$2 || defined __stub___$2
1949 choke me
1950 #endif
1951
1952 int
1953 main ()
1954 {
1955 return $2 ();
1956 ;
1957 return 0;
1958 }
1959 _ACEOF
1960 if ac_fn_c_try_link "$LINENO"; then :
1961 eval "$3=yes"
1962 else
1963 eval "$3=no"
1964 fi
1965 rm -f core conftest.err conftest.$ac_objext \
1966 conftest$ac_exeext conftest.$ac_ext
1967 fi
1968 eval ac_res=\$$3
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1970 $as_echo "$ac_res" >&6; }
1971 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1972
1973 } # ac_fn_c_check_func
1974
1975 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1976 # -------------------------------------------------------
1977 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1978 # the include files in INCLUDES and setting the cache variable VAR
1979 # accordingly.
1980 ac_fn_c_check_header_mongrel ()
1981 {
1982 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1983 if eval \${$3+:} false; then :
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1985 $as_echo_n "checking for $2... " >&6; }
1986 if eval \${$3+:} false; then :
1987 $as_echo_n "(cached) " >&6
1988 fi
1989 eval ac_res=\$$3
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1991 $as_echo "$ac_res" >&6; }
1992 else
1993 # Is the header compilable?
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1995 $as_echo_n "checking $2 usability... " >&6; }
1996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1997 /* end confdefs.h. */
1998 $4
1999 #include <$2>
2000 _ACEOF
2001 if ac_fn_c_try_compile "$LINENO"; then :
2002 ac_header_compiler=yes
2003 else
2004 ac_header_compiler=no
2005 fi
2006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2008 $as_echo "$ac_header_compiler" >&6; }
2009
2010 # Is the header present?
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2012 $as_echo_n "checking $2 presence... " >&6; }
2013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2014 /* end confdefs.h. */
2015 #include <$2>
2016 _ACEOF
2017 if ac_fn_c_try_cpp "$LINENO"; then :
2018 ac_header_preproc=yes
2019 else
2020 ac_header_preproc=no
2021 fi
2022 rm -f conftest.err conftest.i conftest.$ac_ext
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2024 $as_echo "$ac_header_preproc" >&6; }
2025
2026 # So? What about this header?
2027 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2028 yes:no: )
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2030 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2032 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2033 ;;
2034 no:yes:* )
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2036 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2038 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2040 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2042 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2044 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2045 ( $as_echo "## ----------------------------------- ##
2046 ## Report this to [email protected] ##
2047 ## ----------------------------------- ##"
2048 ) | sed "s/^/$as_me: WARNING: /" >&2
2049 ;;
2050 esac
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2052 $as_echo_n "checking for $2... " >&6; }
2053 if eval \${$3+:} false; then :
2054 $as_echo_n "(cached) " >&6
2055 else
2056 eval "$3=\$ac_header_compiler"
2057 fi
2058 eval ac_res=\$$3
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2060 $as_echo "$ac_res" >&6; }
2061 fi
2062 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2063
2064 } # ac_fn_c_check_header_mongrel
2065 cat >config.log <<_ACEOF
2066 This file contains any messages produced by compilers while
2067 running configure, to aid debugging if configure makes a mistake.
2068
2069 It was created by compiz-plugins-extra $as_me 0.8.18, which was
2070 generated by GNU Autoconf 2.69. Invocation command line was
2071
2072 $ $0 $@
2073
2074 _ACEOF
2075 exec 5>>config.log
2076 {
2077 cat <<_ASUNAME
2078 ## --------- ##
2079 ## Platform. ##
2080 ## --------- ##
2081
2082 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2083 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2084 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2085 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2086 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2087
2088 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2089 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2090
2091 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2092 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2093 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2094 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2095 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2096 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2097 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2098
2099 _ASUNAME
2100
2101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2102 for as_dir in $PATH
2103 do
2104 IFS=$as_save_IFS
2105 test -z "$as_dir" && as_dir=.
2106 $as_echo "PATH: $as_dir"
2107 done
2108 IFS=$as_save_IFS
2109
2110 } >&5
2111
2112 cat >&5 <<_ACEOF
2113
2114
2115 ## ----------- ##
2116 ## Core tests. ##
2117 ## ----------- ##
2118
2119 _ACEOF
2120
2121
2122 # Keep a trace of the command line.
2123 # Strip out --no-create and --no-recursion so they do not pile up.
2124 # Strip out --silent because we don't want to record it for future runs.
2125 # Also quote any args containing shell meta-characters.
2126 # Make two passes to allow for proper duplicate-argument suppression.
2127 ac_configure_args=
2128 ac_configure_args0=
2129 ac_configure_args1=
2130 ac_must_keep_next=false
2131 for ac_pass in 1 2
2132 do
2133 for ac_arg
2134 do
2135 case $ac_arg in
2136 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2137 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2138 | -silent | --silent | --silen | --sile | --sil)
2139 continue ;;
2140 *\'*)
2141 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2142 esac
2143 case $ac_pass in
2144 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2145 2)
2146 as_fn_append ac_configure_args1 " '$ac_arg'"
2147 if test $ac_must_keep_next = true; then
2148 ac_must_keep_next=false # Got value, back to normal.
2149 else
2150 case $ac_arg in
2151 *=* | --config-cache | -C | -disable-* | --disable-* \
2152 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2153 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2154 | -with-* | --with-* | -without-* | --without-* | --x)
2155 case "$ac_configure_args0 " in
2156 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2157 esac
2158 ;;
2159 -* ) ac_must_keep_next=true ;;
2160 esac
2161 fi
2162 as_fn_append ac_configure_args " '$ac_arg'"
2163 ;;
2164 esac
2165 done
2166 done
2167 { ac_configure_args0=; unset ac_configure_args0;}
2168 { ac_configure_args1=; unset ac_configure_args1;}
2169
2170 # When interrupted or exit'd, cleanup temporary files, and complete
2171 # config.log. We remove comments because anyway the quotes in there
2172 # would cause problems or look ugly.
2173 # WARNING: Use '\'' to represent an apostrophe within the trap.
2174 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2175 trap 'exit_status=$?
2176 # Save into config.log some information that might help in debugging.
2177 {
2178 echo
2179
2180 $as_echo "## ---------------- ##
2181 ## Cache variables. ##
2182 ## ---------------- ##"
2183 echo
2184 # The following way of writing the cache mishandles newlines in values,
2185 (
2186 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2187 eval ac_val=\$$ac_var
2188 case $ac_val in #(
2189 *${as_nl}*)
2190 case $ac_var in #(
2191 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2192 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2193 esac
2194 case $ac_var in #(
2195 _ | IFS | as_nl) ;; #(
2196 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2197 *) { eval $ac_var=; unset $ac_var;} ;;
2198 esac ;;
2199 esac
2200 done
2201 (set) 2>&1 |
2202 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2203 *${as_nl}ac_space=\ *)
2204 sed -n \
2205 "s/'\''/'\''\\\\'\'''\''/g;
2206 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2207 ;; #(
2208 *)
2209 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2210 ;;
2211 esac |
2212 sort
2213 )
2214 echo
2215
2216 $as_echo "## ----------------- ##
2217 ## Output variables. ##
2218 ## ----------------- ##"
2219 echo
2220 for ac_var in $ac_subst_vars
2221 do
2222 eval ac_val=\$$ac_var
2223 case $ac_val in
2224 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2225 esac
2226 $as_echo "$ac_var='\''$ac_val'\''"
2227 done | sort
2228 echo
2229
2230 if test -n "$ac_subst_files"; then
2231 $as_echo "## ------------------- ##
2232 ## File substitutions. ##
2233 ## ------------------- ##"
2234 echo
2235 for ac_var in $ac_subst_files
2236 do
2237 eval ac_val=\$$ac_var
2238 case $ac_val in
2239 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2240 esac
2241 $as_echo "$ac_var='\''$ac_val'\''"
2242 done | sort
2243 echo
2244 fi
2245
2246 if test -s confdefs.h; then
2247 $as_echo "## ----------- ##
2248 ## confdefs.h. ##
2249 ## ----------- ##"
2250 echo
2251 cat confdefs.h
2252 echo
2253 fi
2254 test "$ac_signal" != 0 &&
2255 $as_echo "$as_me: caught signal $ac_signal"
2256 $as_echo "$as_me: exit $exit_status"
2257 } >&5
2258 rm -f core *.core core.conftest.* &&
2259 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2260 exit $exit_status
2261 ' 0
2262 for ac_signal in 1 2 13 15; do
2263 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2264 done
2265 ac_signal=0
2266
2267 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2268 rm -f -r conftest* confdefs.h
2269
2270 $as_echo "/* confdefs.h */" > confdefs.h
2271
2272 # Predefined preprocessor variables.
2273
2274 cat >>confdefs.h <<_ACEOF
2275 #define PACKAGE_NAME "$PACKAGE_NAME"
2276 _ACEOF
2277
2278 cat >>confdefs.h <<_ACEOF
2279 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2280 _ACEOF
2281
2282 cat >>confdefs.h <<_ACEOF
2283 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2284 _ACEOF
2285
2286 cat >>confdefs.h <<_ACEOF
2287 #define PACKAGE_STRING "$PACKAGE_STRING"
2288 _ACEOF
2289
2290 cat >>confdefs.h <<_ACEOF
2291 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2292 _ACEOF
2293
2294 cat >>confdefs.h <<_ACEOF
2295 #define PACKAGE_URL "$PACKAGE_URL"
2296 _ACEOF
2297
2298
2299 # Let the site file select an alternate cache file if it wants to.
2300 # Prefer an explicitly selected file to automatically selected ones.
2301 ac_site_file1=NONE
2302 ac_site_file2=NONE
2303 if test -n "$CONFIG_SITE"; then
2304 # We do not want a PATH search for config.site.
2305 case $CONFIG_SITE in #((
2306 -*) ac_site_file1=./$CONFIG_SITE;;
2307 */*) ac_site_file1=$CONFIG_SITE;;
2308 *) ac_site_file1=./$CONFIG_SITE;;
2309 esac
2310 elif test "x$prefix" != xNONE; then
2311 ac_site_file1=$prefix/share/config.site
2312 ac_site_file2=$prefix/etc/config.site
2313 else
2314 ac_site_file1=$ac_default_prefix/share/config.site
2315 ac_site_file2=$ac_default_prefix/etc/config.site
2316 fi
2317 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2318 do
2319 test "x$ac_site_file" = xNONE && continue
2320 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2322 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2323 sed 's/^/| /' "$ac_site_file" >&5
2324 . "$ac_site_file" \
2325 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2327 as_fn_error $? "failed to load site script $ac_site_file
2328 See \`config.log' for more details" "$LINENO" 5; }
2329 fi
2330 done
2331
2332 if test -r "$cache_file"; then
2333 # Some versions of bash will fail to source /dev/null (special files
2334 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2335 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2337 $as_echo "$as_me: loading cache $cache_file" >&6;}
2338 case $cache_file in
2339 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2340 *) . "./$cache_file";;
2341 esac
2342 fi
2343 else
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2345 $as_echo "$as_me: creating cache $cache_file" >&6;}
2346 >$cache_file
2347 fi
2348
2349 gt_needs="$gt_needs "
2350 # Check that the precious variables saved in the cache have kept the same
2351 # value.
2352 ac_cache_corrupted=false
2353 for ac_var in $ac_precious_vars; do
2354 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2355 eval ac_new_set=\$ac_env_${ac_var}_set
2356 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2357 eval ac_new_val=\$ac_env_${ac_var}_value
2358 case $ac_old_set,$ac_new_set in
2359 set,)
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2361 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2362 ac_cache_corrupted=: ;;
2363 ,set)
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2365 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2366 ac_cache_corrupted=: ;;
2367 ,);;
2368 *)
2369 if test "x$ac_old_val" != "x$ac_new_val"; then
2370 # differences in whitespace do not lead to failure.
2371 ac_old_val_w=`echo x $ac_old_val`
2372 ac_new_val_w=`echo x $ac_new_val`
2373 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2375 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2376 ac_cache_corrupted=:
2377 else
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2379 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2380 eval $ac_var=\$ac_old_val
2381 fi
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2383 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2385 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2386 fi;;
2387 esac
2388 # Pass precious variables to config.status.
2389 if test "$ac_new_set" = set; then
2390 case $ac_new_val in
2391 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2392 *) ac_arg=$ac_var=$ac_new_val ;;
2393 esac
2394 case " $ac_configure_args " in
2395 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2396 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2397 esac
2398 fi
2399 done
2400 if $ac_cache_corrupted; then
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2404 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2405 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2406 fi
2407 ## -------------------- ##
2408 ## Main body of script. ##
2409 ## -------------------- ##
2410
2411 ac_ext=c
2412 ac_cpp='$CPP $CPPFLAGS'
2413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2416
2417
2418 am__api_version='1.15'
2419
2420 ac_aux_dir=
2421 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2422 if test -f "$ac_dir/install-sh"; then
2423 ac_aux_dir=$ac_dir
2424 ac_install_sh="$ac_aux_dir/install-sh -c"
2425 break
2426 elif test -f "$ac_dir/install.sh"; then
2427 ac_aux_dir=$ac_dir
2428 ac_install_sh="$ac_aux_dir/install.sh -c"
2429 break
2430 elif test -f "$ac_dir/shtool"; then
2431 ac_aux_dir=$ac_dir
2432 ac_install_sh="$ac_aux_dir/shtool install -c"
2433 break
2434 fi
2435 done
2436 if test -z "$ac_aux_dir"; then
2437 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2438 fi
2439
2440 # These three variables are undocumented and unsupported,
2441 # and are intended to be withdrawn in a future Autoconf release.
2442 # They can cause serious problems if a builder's source tree is in a directory
2443 # whose full name contains unusual characters.
2444 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2445 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2446 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2447
2448
2449 # Find a good install program. We prefer a C program (faster),
2450 # so one script is as good as another. But avoid the broken or
2451 # incompatible versions:
2452 # SysV /etc/install, /usr/sbin/install
2453 # SunOS /usr/etc/install
2454 # IRIX /sbin/install
2455 # AIX /bin/install
2456 # AmigaOS /C/install, which installs bootblocks on floppy discs
2457 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2458 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2459 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2460 # OS/2's system install, which has a completely different semantic
2461 # ./install, which can be erroneously created by make from ./install.sh.
2462 # Reject install programs that cannot install multiple files.
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2464 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2465 if test -z "$INSTALL"; then
2466 if ${ac_cv_path_install+:} false; then :
2467 $as_echo_n "(cached) " >&6
2468 else
2469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2470 for as_dir in $PATH
2471 do
2472 IFS=$as_save_IFS
2473 test -z "$as_dir" && as_dir=.
2474 # Account for people who put trailing slashes in PATH elements.
2475 case $as_dir/ in #((
2476 ./ | .// | /[cC]/* | \
2477 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2478 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2479 /usr/ucb/* ) ;;
2480 *)
2481 # OSF1 and SCO ODT 3.0 have their own names for install.
2482 # Don't use installbsd from OSF since it installs stuff as root
2483 # by default.
2484 for ac_prog in ginstall scoinst install; do
2485 for ac_exec_ext in '' $ac_executable_extensions; do
2486 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2487 if test $ac_prog = install &&
2488 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2489 # AIX install. It has an incompatible calling convention.
2490 :
2491 elif test $ac_prog = install &&
2492 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2493 # program-specific install script used by HP pwplus--don't use.
2494 :
2495 else
2496 rm -rf conftest.one conftest.two conftest.dir
2497 echo one > conftest.one
2498 echo two > conftest.two
2499 mkdir conftest.dir
2500 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2501 test -s conftest.one && test -s conftest.two &&
2502 test -s conftest.dir/conftest.one &&
2503 test -s conftest.dir/conftest.two
2504 then
2505 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2506 break 3
2507 fi
2508 fi
2509 fi
2510 done
2511 done
2512 ;;
2513 esac
2514
2515 done
2516 IFS=$as_save_IFS
2517
2518 rm -rf conftest.one conftest.two conftest.dir
2519
2520 fi
2521 if test "${ac_cv_path_install+set}" = set; then
2522 INSTALL=$ac_cv_path_install
2523 else
2524 # As a last resort, use the slow shell script. Don't cache a
2525 # value for INSTALL within a source directory, because that will
2526 # break other packages using the cache if that directory is
2527 # removed, or if the value is a relative name.
2528 INSTALL=$ac_install_sh
2529 fi
2530 fi
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2532 $as_echo "$INSTALL" >&6; }
2533
2534 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2535 # It thinks the first close brace ends the variable substitution.
2536 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2537
2538 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2539
2540 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2541
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2543 $as_echo_n "checking whether build environment is sane... " >&6; }
2544 # Reject unsafe characters in $srcdir or the absolute working directory
2545 # name. Accept space and tab only in the latter.
2546 am_lf='
2547 '
2548 case `pwd` in
2549 *[\\\"\#\$\&\'\`$am_lf]*)
2550 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2551 esac
2552 case $srcdir in
2553 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2554 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2555 esac
2556
2557 # Do 'set' in a subshell so we don't clobber the current shell's
2558 # arguments. Must try -L first in case configure is actually a
2559 # symlink; some systems play weird games with the mod time of symlinks
2560 # (eg FreeBSD returns the mod time of the symlink's containing
2561 # directory).
2562 if (
2563 am_has_slept=no
2564 for am_try in 1 2; do
2565 echo "timestamp, slept: $am_has_slept" > conftest.file
2566 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2567 if test "$*" = "X"; then
2568 # -L didn't work.
2569 set X `ls -t "$srcdir/configure" conftest.file`
2570 fi
2571 if test "$*" != "X $srcdir/configure conftest.file" \
2572 && test "$*" != "X conftest.file $srcdir/configure"; then
2573
2574 # If neither matched, then we have a broken ls. This can happen
2575 # if, for instance, CONFIG_SHELL is bash and it inherits a
2576 # broken ls alias from the environment. This has actually
2577 # happened. Such a system could not be considered "sane".
2578 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2579 alias in your environment" "$LINENO" 5
2580 fi
2581 if test "$2" = conftest.file || test $am_try -eq 2; then
2582 break
2583 fi
2584 # Just in case.
2585 sleep 1
2586 am_has_slept=yes
2587 done
2588 test "$2" = conftest.file
2589 )
2590 then
2591 # Ok.
2592 :
2593 else
2594 as_fn_error $? "newly created file is older than distributed files!
2595 Check your system clock" "$LINENO" 5
2596 fi
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2598 $as_echo "yes" >&6; }
2599 # If we didn't sleep, we still need to ensure time stamps of config.status and
2600 # generated files are strictly newer.
2601 am_sleep_pid=
2602 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2603 ( sleep 1 ) &
2604 am_sleep_pid=$!
2605 fi
2606
2607 rm -f conftest.file
2608
2609 test "$program_prefix" != NONE &&
2610 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2611 # Use a double $ so make ignores it.
2612 test "$program_suffix" != NONE &&
2613 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2614 # Double any \ or $.
2615 # By default was `s,x,x', remove it if useless.
2616 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2617 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2618
2619 # Expand $ac_aux_dir to an absolute path.
2620 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2621
2622 if test x"${MISSING+set}" != xset; then
2623 case $am_aux_dir in
2624 *\ * | *\ *)
2625 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2626 *)
2627 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2628 esac
2629 fi
2630 # Use eval to expand $SHELL
2631 if eval "$MISSING --is-lightweight"; then
2632 am_missing_run="$MISSING "
2633 else
2634 am_missing_run=
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2636 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2637 fi
2638
2639 if test x"${install_sh+set}" != xset; then
2640 case $am_aux_dir in
2641 *\ * | *\ *)
2642 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2643 *)
2644 install_sh="\${SHELL} $am_aux_dir/install-sh"
2645 esac
2646 fi
2647
2648 # Installed binaries are usually stripped using 'strip' when the user
2649 # run "make install-strip". However 'strip' might not be the right
2650 # tool to use in cross-compilation environments, therefore Automake
2651 # will honor the 'STRIP' environment variable to overrule this program.
2652 if test "$cross_compiling" != no; then
2653 if test -n "$ac_tool_prefix"; then
2654 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2655 set dummy ${ac_tool_prefix}strip; ac_word=$2
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2657 $as_echo_n "checking for $ac_word... " >&6; }
2658 if ${ac_cv_prog_STRIP+:} false; then :
2659 $as_echo_n "(cached) " >&6
2660 else
2661 if test -n "$STRIP"; then
2662 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2663 else
2664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2665 for as_dir in $PATH
2666 do
2667 IFS=$as_save_IFS
2668 test -z "$as_dir" && as_dir=.
2669 for ac_exec_ext in '' $ac_executable_extensions; do
2670 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2671 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2673 break 2
2674 fi
2675 done
2676 done
2677 IFS=$as_save_IFS
2678
2679 fi
2680 fi
2681 STRIP=$ac_cv_prog_STRIP
2682 if test -n "$STRIP"; then
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2684 $as_echo "$STRIP" >&6; }
2685 else
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2687 $as_echo "no" >&6; }
2688 fi
2689
2690
2691 fi
2692 if test -z "$ac_cv_prog_STRIP"; then
2693 ac_ct_STRIP=$STRIP
2694 # Extract the first word of "strip", so it can be a program name with args.
2695 set dummy strip; ac_word=$2
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2697 $as_echo_n "checking for $ac_word... " >&6; }
2698 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2699 $as_echo_n "(cached) " >&6
2700 else
2701 if test -n "$ac_ct_STRIP"; then
2702 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2703 else
2704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2705 for as_dir in $PATH
2706 do
2707 IFS=$as_save_IFS
2708 test -z "$as_dir" && as_dir=.
2709 for ac_exec_ext in '' $ac_executable_extensions; do
2710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2711 ac_cv_prog_ac_ct_STRIP="strip"
2712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2713 break 2
2714 fi
2715 done
2716 done
2717 IFS=$as_save_IFS
2718
2719 fi
2720 fi
2721 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2722 if test -n "$ac_ct_STRIP"; then
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2724 $as_echo "$ac_ct_STRIP" >&6; }
2725 else
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2727 $as_echo "no" >&6; }
2728 fi
2729
2730 if test "x$ac_ct_STRIP" = x; then
2731 STRIP=":"
2732 else
2733 case $cross_compiling:$ac_tool_warned in
2734 yes:)
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2737 ac_tool_warned=yes ;;
2738 esac
2739 STRIP=$ac_ct_STRIP
2740 fi
2741 else
2742 STRIP="$ac_cv_prog_STRIP"
2743 fi
2744
2745 fi
2746 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2747
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2749 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2750 if test -z "$MKDIR_P"; then
2751 if ${ac_cv_path_mkdir+:} false; then :
2752 $as_echo_n "(cached) " >&6
2753 else
2754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2755 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2756 do
2757 IFS=$as_save_IFS
2758 test -z "$as_dir" && as_dir=.
2759 for ac_prog in mkdir gmkdir; do
2760 for ac_exec_ext in '' $ac_executable_extensions; do
2761 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2762 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2763 'mkdir (GNU coreutils) '* | \
2764 'mkdir (coreutils) '* | \
2765 'mkdir (fileutils) '4.1*)
2766 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2767 break 3;;
2768 esac
2769 done
2770 done
2771 done
2772 IFS=$as_save_IFS
2773
2774 fi
2775
2776 test -d ./--version && rmdir ./--version
2777 if test "${ac_cv_path_mkdir+set}" = set; then
2778 MKDIR_P="$ac_cv_path_mkdir -p"
2779 else
2780 # As a last resort, use the slow shell script. Don't cache a
2781 # value for MKDIR_P within a source directory, because that will
2782 # break other packages using the cache if that directory is
2783 # removed, or if the value is a relative name.
2784 MKDIR_P="$ac_install_sh -d"
2785 fi
2786 fi
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2788 $as_echo "$MKDIR_P" >&6; }
2789
2790 for ac_prog in gawk mawk nawk awk
2791 do
2792 # Extract the first word of "$ac_prog", so it can be a program name with args.
2793 set dummy $ac_prog; ac_word=$2
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2795 $as_echo_n "checking for $ac_word... " >&6; }
2796 if ${ac_cv_prog_AWK+:} false; then :
2797 $as_echo_n "(cached) " >&6
2798 else
2799 if test -n "$AWK"; then
2800 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2801 else
2802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2803 for as_dir in $PATH
2804 do
2805 IFS=$as_save_IFS
2806 test -z "$as_dir" && as_dir=.
2807 for ac_exec_ext in '' $ac_executable_extensions; do
2808 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2809 ac_cv_prog_AWK="$ac_prog"
2810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2811 break 2
2812 fi
2813 done
2814 done
2815 IFS=$as_save_IFS
2816
2817 fi
2818 fi
2819 AWK=$ac_cv_prog_AWK
2820 if test -n "$AWK"; then
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2822 $as_echo "$AWK" >&6; }
2823 else
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2825 $as_echo "no" >&6; }
2826 fi
2827
2828
2829 test -n "$AWK" && break
2830 done
2831
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2833 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2834 set x ${MAKE-make}
2835 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2836 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2837 $as_echo_n "(cached) " >&6
2838 else
2839 cat >conftest.make <<\_ACEOF
2840 SHELL = /bin/sh
2841 all:
2842 @echo '@@@%%%=$(MAKE)=@@@%%%'
2843 _ACEOF
2844 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2845 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2846 *@@@%%%=?*=@@@%%%*)
2847 eval ac_cv_prog_make_${ac_make}_set=yes;;
2848 *)
2849 eval ac_cv_prog_make_${ac_make}_set=no;;
2850 esac
2851 rm -f conftest.make
2852 fi
2853 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2855 $as_echo "yes" >&6; }
2856 SET_MAKE=
2857 else
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2859 $as_echo "no" >&6; }
2860 SET_MAKE="MAKE=${MAKE-make}"
2861 fi
2862
2863 rm -rf .tst 2>/dev/null
2864 mkdir .tst 2>/dev/null
2865 if test -d .tst; then
2866 am__leading_dot=.
2867 else
2868 am__leading_dot=_
2869 fi
2870 rmdir .tst 2>/dev/null
2871
2872 # Check whether --enable-silent-rules was given.
2873 if test "${enable_silent_rules+set}" = set; then :
2874 enableval=$enable_silent_rules;
2875 fi
2876
2877 case $enable_silent_rules in # (((
2878 yes) AM_DEFAULT_VERBOSITY=0;;
2879 no) AM_DEFAULT_VERBOSITY=1;;
2880 *) AM_DEFAULT_VERBOSITY=1;;
2881 esac
2882 am_make=${MAKE-make}
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2884 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2885 if ${am_cv_make_support_nested_variables+:} false; then :
2886 $as_echo_n "(cached) " >&6
2887 else
2888 if $as_echo 'TRUE=$(BAR$(V))
2889 BAR0=false
2890 BAR1=true
2891 V=1
2892 am__doit:
2893 @$(TRUE)
2894 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2895 am_cv_make_support_nested_variables=yes
2896 else
2897 am_cv_make_support_nested_variables=no
2898 fi
2899 fi
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2901 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2902 if test $am_cv_make_support_nested_variables = yes; then
2903 AM_V='$(V)'
2904 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2905 else
2906 AM_V=$AM_DEFAULT_VERBOSITY
2907 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2908 fi
2909 AM_BACKSLASH='\'
2910
2911 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2912 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2913 # is not polluted with repeated "-I."
2914 am__isrc=' -I$(srcdir)'
2915 # test to see if srcdir already configured
2916 if test -f $srcdir/config.status; then
2917 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2918 fi
2919 fi
2920
2921 # test whether we have cygpath
2922 if test -z "$CYGPATH_W"; then
2923 if (cygpath --version) >/dev/null 2>/dev/null; then
2924 CYGPATH_W='cygpath -w'
2925 else
2926 CYGPATH_W=echo
2927 fi
2928 fi
2929
2930
2931 # Define the identity of the package.
2932 PACKAGE='compiz-plugins-extra'
2933 VERSION='0.8.18'
2934
2935
2936 cat >>confdefs.h <<_ACEOF
2937 #define PACKAGE "$PACKAGE"
2938 _ACEOF
2939
2940
2941 cat >>confdefs.h <<_ACEOF
2942 #define VERSION "$VERSION"
2943 _ACEOF
2944
2945 # Some tools Automake needs.
2946
2947 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2948
2949
2950 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2951
2952
2953 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2954
2955
2956 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2957
2958
2959 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2960
2961 # For better backward compatibility. To be removed once Automake 1.9.x
2962 # dies out for good. For more background, see:
2963 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2964 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2965 mkdir_p='$(MKDIR_P)'
2966
2967 # We need awk for the "check" target (and possibly the TAP driver). The
2968 # system "awk" is bad on some platforms.
2969 # Always define AMTAR for backward compatibility. Yes, it's still used
2970 # in the wild :-( We should find a proper way to deprecate it ...
2971 AMTAR='$${TAR-tar}'
2972
2973
2974 # We'll loop over all known methods to create a tar archive until one works.
2975 _am_tools='gnutar pax cpio none'
2976
2977 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2978
2979
2980
2981
2982
2983
2984 # POSIX will say in a future version that running "rm -f" with no argument
2985 # is OK; and we want to be able to make that assumption in our Makefile
2986 # recipes. So use an aggressive probe to check that the usage we want is
2987 # actually supported "in the wild" to an acceptable degree.
2988 # See automake bug#10828.
2989 # To make any issue more visible, cause the running configure to be aborted
2990 # by default if the 'rm' program in use doesn't match our expectations; the
2991 # user can still override this though.
2992 if rm -f && rm -fr && rm -rf; then : OK; else
2993 cat >&2 <<'END'
2994 Oops!
2995
2996 Your 'rm' program seems unable to run without file operands specified
2997 on the command line, even when the '-f' option is present. This is contrary
2998 to the behaviour of most rm programs out there, and not conforming with
2999 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3000
3001 Please tell [email protected] about your system, including the value
3002 of your $PATH and any error possibly output before this message. This
3003 can help us improve future automake versions.
3004
3005 END
3006 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3007 echo 'Configuration will proceed anyway, since you have set the' >&2
3008 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3009 echo >&2
3010 else
3011 cat >&2 <<'END'
3012 Aborting the configuration process, to ensure you take notice of the issue.
3013
3014 You can download and install GNU coreutils to get an 'rm' implementation
3015 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3016
3017 If you want to complete the configuration process using your problematic
3018 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3019 to "yes", and re-run configure.
3020
3021 END
3022 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3023 fi
3024 fi
3025
3026 ac_config_headers="$ac_config_headers config.h"
3027
3028
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3030 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3031 # Check whether --enable-maintainer-mode was given.
3032 if test "${enable_maintainer_mode+set}" = set; then :
3033 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3034 else
3035 USE_MAINTAINER_MODE=no
3036 fi
3037
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3039 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3040 if test $USE_MAINTAINER_MODE = yes; then
3041 MAINTAINER_MODE_TRUE=
3042 MAINTAINER_MODE_FALSE='#'
3043 else
3044 MAINTAINER_MODE_TRUE='#'
3045 MAINTAINER_MODE_FALSE=
3046 fi
3047
3048 MAINT=$MAINTAINER_MODE_TRUE
3049
3050
3051
3052 DEPDIR="${am__leading_dot}deps"
3053
3054 ac_config_commands="$ac_config_commands depfiles"
3055
3056
3057 am_make=${MAKE-make}
3058 cat > confinc << 'END'
3059 am__doit:
3060 @echo this is the am__doit target
3061 .PHONY: am__doit
3062 END
3063 # If we don't find an include directive, just comment out the code.
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3065 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3066 am__include="#"
3067 am__quote=
3068 _am_result=none
3069 # First try GNU make style include.
3070 echo "include confinc" > confmf
3071 # Ignore all kinds of additional output from 'make'.
3072 case `$am_make -s -f confmf 2> /dev/null` in #(
3073 *the\ am__doit\ target*)
3074 am__include=include
3075 am__quote=
3076 _am_result=GNU
3077 ;;
3078 esac
3079 # Now try BSD make style include.
3080 if test "$am__include" = "#"; then
3081 echo '.include "confinc"' > confmf
3082 case `$am_make -s -f confmf 2> /dev/null` in #(
3083 *the\ am__doit\ target*)
3084 am__include=.include
3085 am__quote="\""
3086 _am_result=BSD
3087 ;;
3088 esac
3089 fi
3090
3091
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3093 $as_echo "$_am_result" >&6; }
3094 rm -f confinc confmf
3095
3096 # Check whether --enable-dependency-tracking was given.
3097 if test "${enable_dependency_tracking+set}" = set; then :
3098 enableval=$enable_dependency_tracking;
3099 fi
3100
3101 if test "x$enable_dependency_tracking" != xno; then
3102 am_depcomp="$ac_aux_dir/depcomp"
3103 AMDEPBACKSLASH='\'
3104 am__nodep='_no'
3105 fi
3106 if test "x$enable_dependency_tracking" != xno; then
3107 AMDEP_TRUE=
3108 AMDEP_FALSE='#'
3109 else
3110 AMDEP_TRUE='#'
3111 AMDEP_FALSE=
3112 fi
3113
3114
3115 ac_ext=c
3116 ac_cpp='$CPP $CPPFLAGS'
3117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3120 if test -n "$ac_tool_prefix"; then
3121 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3122 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3124 $as_echo_n "checking for $ac_word... " >&6; }
3125 if ${ac_cv_prog_CC+:} false; then :
3126 $as_echo_n "(cached) " >&6
3127 else
3128 if test -n "$CC"; then
3129 ac_cv_prog_CC="$CC" # Let the user override the test.
3130 else
3131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3132 for as_dir in $PATH
3133 do
3134 IFS=$as_save_IFS
3135 test -z "$as_dir" && as_dir=.
3136 for ac_exec_ext in '' $ac_executable_extensions; do
3137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3138 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3140 break 2
3141 fi
3142 done
3143 done
3144 IFS=$as_save_IFS
3145
3146 fi
3147 fi
3148 CC=$ac_cv_prog_CC
3149 if test -n "$CC"; then
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3151 $as_echo "$CC" >&6; }
3152 else
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3154 $as_echo "no" >&6; }
3155 fi
3156
3157
3158 fi
3159 if test -z "$ac_cv_prog_CC"; then
3160 ac_ct_CC=$CC
3161 # Extract the first word of "gcc", so it can be a program name with args.
3162 set dummy gcc; ac_word=$2
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3164 $as_echo_n "checking for $ac_word... " >&6; }
3165 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3166 $as_echo_n "(cached) " >&6
3167 else
3168 if test -n "$ac_ct_CC"; then
3169 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3170 else
3171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3172 for as_dir in $PATH
3173 do
3174 IFS=$as_save_IFS
3175 test -z "$as_dir" && as_dir=.
3176 for ac_exec_ext in '' $ac_executable_extensions; do
3177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3178 ac_cv_prog_ac_ct_CC="gcc"
3179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3180 break 2
3181 fi
3182 done
3183 done
3184 IFS=$as_save_IFS
3185
3186 fi
3187 fi
3188 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3189 if test -n "$ac_ct_CC"; then
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3191 $as_echo "$ac_ct_CC" >&6; }
3192 else
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3194 $as_echo "no" >&6; }
3195 fi
3196
3197 if test "x$ac_ct_CC" = x; then
3198 CC=""
3199 else
3200 case $cross_compiling:$ac_tool_warned in
3201 yes:)
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3203 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3204 ac_tool_warned=yes ;;
3205 esac
3206 CC=$ac_ct_CC
3207 fi
3208 else
3209 CC="$ac_cv_prog_CC"
3210 fi
3211
3212 if test -z "$CC"; then
3213 if test -n "$ac_tool_prefix"; then
3214 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3215 set dummy ${ac_tool_prefix}cc; ac_word=$2
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3217 $as_echo_n "checking for $ac_word... " >&6; }
3218 if ${ac_cv_prog_CC+:} false; then :
3219 $as_echo_n "(cached) " >&6
3220 else
3221 if test -n "$CC"; then
3222 ac_cv_prog_CC="$CC" # Let the user override the test.
3223 else
3224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3225 for as_dir in $PATH
3226 do
3227 IFS=$as_save_IFS
3228 test -z "$as_dir" && as_dir=.
3229 for ac_exec_ext in '' $ac_executable_extensions; do
3230 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3231 ac_cv_prog_CC="${ac_tool_prefix}cc"
3232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3233 break 2
3234 fi
3235 done
3236 done
3237 IFS=$as_save_IFS
3238
3239 fi
3240 fi
3241 CC=$ac_cv_prog_CC
3242 if test -n "$CC"; then
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3244 $as_echo "$CC" >&6; }
3245 else
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3247 $as_echo "no" >&6; }
3248 fi
3249
3250
3251 fi
3252 fi
3253 if test -z "$CC"; then
3254 # Extract the first word of "cc", so it can be a program name with args.
3255 set dummy cc; ac_word=$2
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3257 $as_echo_n "checking for $ac_word... " >&6; }
3258 if ${ac_cv_prog_CC+:} false; then :
3259 $as_echo_n "(cached) " >&6
3260 else
3261 if test -n "$CC"; then
3262 ac_cv_prog_CC="$CC" # Let the user override the test.
3263 else
3264 ac_prog_rejected=no
3265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3266 for as_dir in $PATH
3267 do
3268 IFS=$as_save_IFS
3269 test -z "$as_dir" && as_dir=.
3270 for ac_exec_ext in '' $ac_executable_extensions; do
3271 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3272 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3273 ac_prog_rejected=yes
3274 continue
3275 fi
3276 ac_cv_prog_CC="cc"
3277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3278 break 2
3279 fi
3280 done
3281 done
3282 IFS=$as_save_IFS
3283
3284 if test $ac_prog_rejected = yes; then
3285 # We found a bogon in the path, so make sure we never use it.
3286 set dummy $ac_cv_prog_CC
3287 shift
3288 if test $# != 0; then
3289 # We chose a different compiler from the bogus one.
3290 # However, it has the same basename, so the bogon will be chosen
3291 # first if we set CC to just the basename; use the full file name.
3292 shift
3293 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3294 fi
3295 fi
3296 fi
3297 fi
3298 CC=$ac_cv_prog_CC
3299 if test -n "$CC"; then
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3301 $as_echo "$CC" >&6; }
3302 else
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3304 $as_echo "no" >&6; }
3305 fi
3306
3307
3308 fi
3309 if test -z "$CC"; then
3310 if test -n "$ac_tool_prefix"; then
3311 for ac_prog in cl.exe
3312 do
3313 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3314 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3316 $as_echo_n "checking for $ac_word... " >&6; }
3317 if ${ac_cv_prog_CC+:} false; then :
3318 $as_echo_n "(cached) " >&6
3319 else
3320 if test -n "$CC"; then
3321 ac_cv_prog_CC="$CC" # Let the user override the test.
3322 else
3323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3324 for as_dir in $PATH
3325 do
3326 IFS=$as_save_IFS
3327 test -z "$as_dir" && as_dir=.
3328 for ac_exec_ext in '' $ac_executable_extensions; do
3329 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3330 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3332 break 2
3333 fi
3334 done
3335 done
3336 IFS=$as_save_IFS
3337
3338 fi
3339 fi
3340 CC=$ac_cv_prog_CC
3341 if test -n "$CC"; then
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3343 $as_echo "$CC" >&6; }
3344 else
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3346 $as_echo "no" >&6; }
3347 fi
3348
3349
3350 test -n "$CC" && break
3351 done
3352 fi
3353 if test -z "$CC"; then
3354 ac_ct_CC=$CC
3355 for ac_prog in cl.exe
3356 do
3357 # Extract the first word of "$ac_prog", so it can be a program name with args.
3358 set dummy $ac_prog; ac_word=$2
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3360 $as_echo_n "checking for $ac_word... " >&6; }
3361 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3362 $as_echo_n "(cached) " >&6
3363 else
3364 if test -n "$ac_ct_CC"; then
3365 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3366 else
3367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3368 for as_dir in $PATH
3369 do
3370 IFS=$as_save_IFS
3371 test -z "$as_dir" && as_dir=.
3372 for ac_exec_ext in '' $ac_executable_extensions; do
3373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3374 ac_cv_prog_ac_ct_CC="$ac_prog"
3375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3376 break 2
3377 fi
3378 done
3379 done
3380 IFS=$as_save_IFS
3381
3382 fi
3383 fi
3384 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3385 if test -n "$ac_ct_CC"; then
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3387 $as_echo "$ac_ct_CC" >&6; }
3388 else
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3390 $as_echo "no" >&6; }
3391 fi
3392
3393
3394 test -n "$ac_ct_CC" && break
3395 done
3396
3397 if test "x$ac_ct_CC" = x; then
3398 CC=""
3399 else
3400 case $cross_compiling:$ac_tool_warned in
3401 yes:)
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3403 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3404 ac_tool_warned=yes ;;
3405 esac
3406 CC=$ac_ct_CC
3407 fi
3408 fi
3409
3410 fi
3411
3412
3413 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3414 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3415 as_fn_error $? "no acceptable C compiler found in \$PATH
3416 See \`config.log' for more details" "$LINENO" 5; }
3417
3418 # Provide some information about the compiler.
3419 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3420 set X $ac_compile
3421 ac_compiler=$2
3422 for ac_option in --version -v -V -qversion; do
3423 { { ac_try="$ac_compiler $ac_option >&5"
3424 case "(($ac_try" in
3425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3426 *) ac_try_echo=$ac_try;;
3427 esac
3428 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3429 $as_echo "$ac_try_echo"; } >&5
3430 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3431 ac_status=$?
3432 if test -s conftest.err; then
3433 sed '10a\
3434 ... rest of stderr output deleted ...
3435 10q' conftest.err >conftest.er1
3436 cat conftest.er1 >&5
3437 fi
3438 rm -f conftest.er1 conftest.err
3439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3440 test $ac_status = 0; }
3441 done
3442
3443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3444 /* end confdefs.h. */
3445
3446 int
3447 main ()
3448 {
3449
3450 ;
3451 return 0;
3452 }
3453 _ACEOF
3454 ac_clean_files_save=$ac_clean_files
3455 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3456 # Try to create an executable without -o first, disregard a.out.
3457 # It will help us diagnose broken compilers, and finding out an intuition
3458 # of exeext.
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3460 $as_echo_n "checking whether the C compiler works... " >&6; }
3461 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3462
3463 # The possible output files:
3464 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3465
3466 ac_rmfiles=
3467 for ac_file in $ac_files
3468 do
3469 case $ac_file in
3470 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3471 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3472 esac
3473 done
3474 rm -f $ac_rmfiles
3475
3476 if { { ac_try="$ac_link_default"
3477 case "(($ac_try" in
3478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3479 *) ac_try_echo=$ac_try;;
3480 esac
3481 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3482 $as_echo "$ac_try_echo"; } >&5
3483 (eval "$ac_link_default") 2>&5
3484 ac_status=$?
3485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3486 test $ac_status = 0; }; then :
3487 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3488 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3489 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3490 # so that the user can short-circuit this test for compilers unknown to
3491 # Autoconf.
3492 for ac_file in $ac_files ''
3493 do
3494 test -f "$ac_file" || continue
3495 case $ac_file in
3496 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3497 ;;
3498 [ab].out )
3499 # We found the default executable, but exeext='' is most
3500 # certainly right.
3501 break;;
3502 *.* )
3503 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3504 then :; else
3505 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3506 fi
3507 # We set ac_cv_exeext here because the later test for it is not
3508 # safe: cross compilers may not add the suffix if given an `-o'
3509 # argument, so we may need to know it at that point already.
3510 # Even if this section looks crufty: it has the advantage of
3511 # actually working.
3512 break;;
3513 * )
3514 break;;
3515 esac
3516 done
3517 test "$ac_cv_exeext" = no && ac_cv_exeext=
3518
3519 else
3520 ac_file=''
3521 fi
3522 if test -z "$ac_file"; then :
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3524 $as_echo "no" >&6; }
3525 $as_echo "$as_me: failed program was:" >&5
3526 sed 's/^/| /' conftest.$ac_ext >&5
3527
3528 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3530 as_fn_error 77 "C compiler cannot create executables
3531 See \`config.log' for more details" "$LINENO" 5; }
3532 else
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3534 $as_echo "yes" >&6; }
3535 fi
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3537 $as_echo_n "checking for C compiler default output file name... " >&6; }
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3539 $as_echo "$ac_file" >&6; }
3540 ac_exeext=$ac_cv_exeext
3541
3542 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3543 ac_clean_files=$ac_clean_files_save
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3545 $as_echo_n "checking for suffix of executables... " >&6; }
3546 if { { ac_try="$ac_link"
3547 case "(($ac_try" in
3548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3549 *) ac_try_echo=$ac_try;;
3550 esac
3551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3552 $as_echo "$ac_try_echo"; } >&5
3553 (eval "$ac_link") 2>&5
3554 ac_status=$?
3555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3556 test $ac_status = 0; }; then :
3557 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3558 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3559 # work properly (i.e., refer to `conftest.exe'), while it won't with
3560 # `rm'.
3561 for ac_file in conftest.exe conftest conftest.*; do
3562 test -f "$ac_file" || continue
3563 case $ac_file in
3564 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3565 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3566 break;;
3567 * ) break;;
3568 esac
3569 done
3570 else
3571 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3572 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3573 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3574 See \`config.log' for more details" "$LINENO" 5; }
3575 fi
3576 rm -f conftest conftest$ac_cv_exeext
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3578 $as_echo "$ac_cv_exeext" >&6; }
3579
3580 rm -f conftest.$ac_ext
3581 EXEEXT=$ac_cv_exeext
3582 ac_exeext=$EXEEXT
3583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3584 /* end confdefs.h. */
3585 #include <stdio.h>
3586 int
3587 main ()
3588 {
3589 FILE *f = fopen ("conftest.out", "w");
3590 return ferror (f) || fclose (f) != 0;
3591
3592 ;
3593 return 0;
3594 }
3595 _ACEOF
3596 ac_clean_files="$ac_clean_files conftest.out"
3597 # Check that the compiler produces executables we can run. If not, either
3598 # the compiler is broken, or we cross compile.
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3600 $as_echo_n "checking whether we are cross compiling... " >&6; }
3601 if test "$cross_compiling" != yes; then
3602 { { ac_try="$ac_link"
3603 case "(($ac_try" in
3604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3605 *) ac_try_echo=$ac_try;;
3606 esac
3607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3608 $as_echo "$ac_try_echo"; } >&5
3609 (eval "$ac_link") 2>&5
3610 ac_status=$?
3611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3612 test $ac_status = 0; }
3613 if { ac_try='./conftest$ac_cv_exeext'
3614 { { case "(($ac_try" in
3615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3616 *) ac_try_echo=$ac_try;;
3617 esac
3618 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3619 $as_echo "$ac_try_echo"; } >&5
3620 (eval "$ac_try") 2>&5
3621 ac_status=$?
3622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3623 test $ac_status = 0; }; }; then
3624 cross_compiling=no
3625 else
3626 if test "$cross_compiling" = maybe; then
3627 cross_compiling=yes
3628 else
3629 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3631 as_fn_error $? "cannot run C compiled programs.
3632 If you meant to cross compile, use \`--host'.
3633 See \`config.log' for more details" "$LINENO" 5; }
3634 fi
3635 fi
3636 fi
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3638 $as_echo "$cross_compiling" >&6; }
3639
3640 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3641 ac_clean_files=$ac_clean_files_save
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3643 $as_echo_n "checking for suffix of object files... " >&6; }
3644 if ${ac_cv_objext+:} false; then :
3645 $as_echo_n "(cached) " >&6
3646 else
3647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3648 /* end confdefs.h. */
3649
3650 int
3651 main ()
3652 {
3653
3654 ;
3655 return 0;
3656 }
3657 _ACEOF
3658 rm -f conftest.o conftest.obj
3659 if { { ac_try="$ac_compile"
3660 case "(($ac_try" in
3661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3662 *) ac_try_echo=$ac_try;;
3663 esac
3664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3665 $as_echo "$ac_try_echo"; } >&5
3666 (eval "$ac_compile") 2>&5
3667 ac_status=$?
3668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3669 test $ac_status = 0; }; then :
3670 for ac_file in conftest.o conftest.obj conftest.*; do
3671 test -f "$ac_file" || continue;
3672 case $ac_file in
3673 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3674 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3675 break;;
3676 esac
3677 done
3678 else
3679 $as_echo "$as_me: failed program was:" >&5
3680 sed 's/^/| /' conftest.$ac_ext >&5
3681
3682 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3683 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3684 as_fn_error $? "cannot compute suffix of object files: cannot compile
3685 See \`config.log' for more details" "$LINENO" 5; }
3686 fi
3687 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3688 fi
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3690 $as_echo "$ac_cv_objext" >&6; }
3691 OBJEXT=$ac_cv_objext
3692 ac_objext=$OBJEXT
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3694 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3695 if ${ac_cv_c_compiler_gnu+:} false; then :
3696 $as_echo_n "(cached) " >&6
3697 else
3698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3699 /* end confdefs.h. */
3700
3701 int
3702 main ()
3703 {
3704 #ifndef __GNUC__
3705 choke me
3706 #endif
3707
3708 ;
3709 return 0;
3710 }
3711 _ACEOF
3712 if ac_fn_c_try_compile "$LINENO"; then :
3713 ac_compiler_gnu=yes
3714 else
3715 ac_compiler_gnu=no
3716 fi
3717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3718 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3719
3720 fi
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3722 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3723 if test $ac_compiler_gnu = yes; then
3724 GCC=yes
3725 else
3726 GCC=
3727 fi
3728 ac_test_CFLAGS=${CFLAGS+set}
3729 ac_save_CFLAGS=$CFLAGS
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3731 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3732 if ${ac_cv_prog_cc_g+:} false; then :
3733 $as_echo_n "(cached) " >&6
3734 else
3735 ac_save_c_werror_flag=$ac_c_werror_flag
3736 ac_c_werror_flag=yes
3737 ac_cv_prog_cc_g=no
3738 CFLAGS="-g"
3739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3740 /* end confdefs.h. */
3741
3742 int
3743 main ()
3744 {
3745
3746 ;
3747 return 0;
3748 }
3749 _ACEOF
3750 if ac_fn_c_try_compile "$LINENO"; then :
3751 ac_cv_prog_cc_g=yes
3752 else
3753 CFLAGS=""
3754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3755 /* end confdefs.h. */
3756
3757 int
3758 main ()
3759 {
3760
3761 ;
3762 return 0;
3763 }
3764 _ACEOF
3765 if ac_fn_c_try_compile "$LINENO"; then :
3766
3767 else
3768 ac_c_werror_flag=$ac_save_c_werror_flag
3769 CFLAGS="-g"
3770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3771 /* end confdefs.h. */
3772
3773 int
3774 main ()
3775 {
3776
3777 ;
3778 return 0;
3779 }
3780 _ACEOF
3781 if ac_fn_c_try_compile "$LINENO"; then :
3782 ac_cv_prog_cc_g=yes
3783 fi
3784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3785 fi
3786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3787 fi
3788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3789 ac_c_werror_flag=$ac_save_c_werror_flag
3790 fi
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3792 $as_echo "$ac_cv_prog_cc_g" >&6; }
3793 if test "$ac_test_CFLAGS" = set; then
3794 CFLAGS=$ac_save_CFLAGS
3795 elif test $ac_cv_prog_cc_g = yes; then
3796 if test "$GCC" = yes; then
3797 CFLAGS="-g -O2"
3798 else
3799 CFLAGS="-g"
3800 fi
3801 else
3802 if test "$GCC" = yes; then
3803 CFLAGS="-O2"
3804 else
3805 CFLAGS=
3806 fi
3807 fi
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3809 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3810 if ${ac_cv_prog_cc_c89+:} false; then :
3811 $as_echo_n "(cached) " >&6
3812 else
3813 ac_cv_prog_cc_c89=no
3814 ac_save_CC=$CC
3815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3816 /* end confdefs.h. */
3817 #include <stdarg.h>
3818 #include <stdio.h>
3819 struct stat;
3820 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3821 struct buf { int x; };
3822 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3823 static char *e (p, i)
3824 char **p;
3825 int i;
3826 {
3827 return p[i];
3828 }
3829 static char *f (char * (*g) (char **, int), char **p, ...)
3830 {
3831 char *s;
3832 va_list v;
3833 va_start (v,p);
3834 s = g (p, va_arg (v,int));
3835 va_end (v);
3836 return s;
3837 }
3838
3839 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3840 function prototypes and stuff, but not '\xHH' hex character constants.
3841 These don't provoke an error unfortunately, instead are silently treated
3842 as 'x'. The following induces an error, until -std is added to get
3843 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3844 array size at least. It's necessary to write '\x00'==0 to get something
3845 that's true only with -std. */
3846 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3847
3848 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3849 inside strings and character constants. */
3850 #define FOO(x) 'x'
3851 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3852
3853 int test (int i, double x);
3854 struct s1 {int (*f) (int a);};
3855 struct s2 {int (*f) (double a);};
3856 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3857 int argc;
3858 char **argv;
3859 int
3860 main ()
3861 {
3862 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3863 ;
3864 return 0;
3865 }
3866 _ACEOF
3867 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3868 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3869 do
3870 CC="$ac_save_CC $ac_arg"
3871 if ac_fn_c_try_compile "$LINENO"; then :
3872 ac_cv_prog_cc_c89=$ac_arg
3873 fi
3874 rm -f core conftest.err conftest.$ac_objext
3875 test "x$ac_cv_prog_cc_c89" != "xno" && break
3876 done
3877 rm -f conftest.$ac_ext
3878 CC=$ac_save_CC
3879
3880 fi
3881 # AC_CACHE_VAL
3882 case "x$ac_cv_prog_cc_c89" in
3883 x)
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3885 $as_echo "none needed" >&6; } ;;
3886 xno)
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3888 $as_echo "unsupported" >&6; } ;;
3889 *)
3890 CC="$CC $ac_cv_prog_cc_c89"
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3892 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3893 esac
3894 if test "x$ac_cv_prog_cc_c89" != xno; then :
3895
3896 fi
3897
3898 ac_ext=c
3899 ac_cpp='$CPP $CPPFLAGS'
3900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3903
3904 ac_ext=c
3905 ac_cpp='$CPP $CPPFLAGS'
3906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3910 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3911 if ${am_cv_prog_cc_c_o+:} false; then :
3912 $as_echo_n "(cached) " >&6
3913 else
3914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3915 /* end confdefs.h. */
3916
3917 int
3918 main ()
3919 {
3920
3921 ;
3922 return 0;
3923 }
3924 _ACEOF
3925 # Make sure it works both with $CC and with simple cc.
3926 # Following AC_PROG_CC_C_O, we do the test twice because some
3927 # compilers refuse to overwrite an existing .o file with -o,
3928 # though they will create one.
3929 am_cv_prog_cc_c_o=yes
3930 for am_i in 1 2; do
3931 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3932 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3933 ac_status=$?
3934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3935 (exit $ac_status); } \
3936 && test -f conftest2.$ac_objext; then
3937 : OK
3938 else
3939 am_cv_prog_cc_c_o=no
3940 break
3941 fi
3942 done
3943 rm -f core conftest*
3944 unset am_i
3945 fi
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3947 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3948 if test "$am_cv_prog_cc_c_o" != yes; then
3949 # Losing compiler, so override with the script.
3950 # FIXME: It is wrong to rewrite CC.
3951 # But if we don't then we get into trouble of one sort or another.
3952 # A longer-term fix would be to have automake use am__CC in this case,
3953 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3954 CC="$am_aux_dir/compile $CC"
3955 fi
3956 ac_ext=c
3957 ac_cpp='$CPP $CPPFLAGS'
3958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3961
3962
3963 depcc="$CC" am_compiler_list=
3964
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3966 $as_echo_n "checking dependency style of $depcc... " >&6; }
3967 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3968 $as_echo_n "(cached) " >&6
3969 else
3970 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3971 # We make a subdir and do the tests there. Otherwise we can end up
3972 # making bogus files that we don't know about and never remove. For
3973 # instance it was reported that on HP-UX the gcc test will end up
3974 # making a dummy file named 'D' -- because '-MD' means "put the output
3975 # in D".
3976 rm -rf conftest.dir
3977 mkdir conftest.dir
3978 # Copy depcomp to subdir because otherwise we won't find it if we're
3979 # using a relative directory.
3980 cp "$am_depcomp" conftest.dir
3981 cd conftest.dir
3982 # We will build objects and dependencies in a subdirectory because
3983 # it helps to detect inapplicable dependency modes. For instance
3984 # both Tru64's cc and ICC support -MD to output dependencies as a
3985 # side effect of compilation, but ICC will put the dependencies in
3986 # the current directory while Tru64 will put them in the object
3987 # directory.
3988 mkdir sub
3989
3990 am_cv_CC_dependencies_compiler_type=none
3991 if test "$am_compiler_list" = ""; then
3992 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3993 fi
3994 am__universal=false
3995 case " $depcc " in #(
3996 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3997 esac
3998
3999 for depmode in $am_compiler_list; do
4000 # Setup a source with many dependencies, because some compilers
4001 # like to wrap large dependency lists on column 80 (with \), and
4002 # we should not choose a depcomp mode which is confused by this.
4003 #
4004 # We need to recreate these files for each test, as the compiler may
4005 # overwrite some of them when testing with obscure command lines.
4006 # This happens at least with the AIX C compiler.
4007 : > sub/conftest.c
4008 for i in 1 2 3 4 5 6; do
4009 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4010 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4011 # Solaris 10 /bin/sh.
4012 echo '/* dummy */' > sub/conftst$i.h
4013 done
4014 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4015
4016 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4017 # mode. It turns out that the SunPro C++ compiler does not properly
4018 # handle '-M -o', and we need to detect this. Also, some Intel
4019 # versions had trouble with output in subdirs.
4020 am__obj=sub/conftest.${OBJEXT-o}
4021 am__minus_obj="-o $am__obj"
4022 case $depmode in
4023 gcc)
4024 # This depmode causes a compiler race in universal mode.
4025 test "$am__universal" = false || continue
4026 ;;
4027 nosideeffect)
4028 # After this tag, mechanisms are not by side-effect, so they'll
4029 # only be used when explicitly requested.
4030 if test "x$enable_dependency_tracking" = xyes; then
4031 continue
4032 else
4033 break
4034 fi
4035 ;;
4036 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4037 # This compiler won't grok '-c -o', but also, the minuso test has
4038 # not run yet. These depmodes are late enough in the game, and
4039 # so weak that their functioning should not be impacted.
4040 am__obj=conftest.${OBJEXT-o}
4041 am__minus_obj=
4042 ;;
4043 none) break ;;
4044 esac
4045 if depmode=$depmode \
4046 source=sub/conftest.c object=$am__obj \
4047 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4048 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4049 >/dev/null 2>conftest.err &&
4050 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4051 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4052 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4053 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4054 # icc doesn't choke on unknown options, it will just issue warnings
4055 # or remarks (even with -Werror). So we grep stderr for any message
4056 # that says an option was ignored or not supported.
4057 # When given -MP, icc 7.0 and 7.1 complain thusly:
4058 # icc: Command line warning: ignoring option '-M'; no argument required
4059 # The diagnosis changed in icc 8.0:
4060 # icc: Command line remark: option '-MP' not supported
4061 if (grep 'ignoring option' conftest.err ||
4062 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4063 am_cv_CC_dependencies_compiler_type=$depmode
4064 break
4065 fi
4066 fi
4067 done
4068
4069 cd ..
4070 rm -rf conftest.dir
4071 else
4072 am_cv_CC_dependencies_compiler_type=none
4073 fi
4074
4075 fi
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4077 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4078 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4079
4080 if
4081 test "x$enable_dependency_tracking" != xno \
4082 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4083 am__fastdepCC_TRUE=
4084 am__fastdepCC_FALSE='#'
4085 else
4086 am__fastdepCC_TRUE='#'
4087 am__fastdepCC_FALSE=
4088 fi
4089
4090
4091
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4093 $as_echo_n "checking for library containing strerror... " >&6; }
4094 if ${ac_cv_search_strerror+:} false; then :
4095 $as_echo_n "(cached) " >&6
4096 else
4097 ac_func_search_save_LIBS=$LIBS
4098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4099 /* end confdefs.h. */
4100
4101 /* Override any GCC internal prototype to avoid an error.
4102 Use char because int might match the return type of a GCC
4103 builtin and then its argument prototype would still apply. */
4104 #ifdef __cplusplus
4105 extern "C"
4106 #endif
4107 char strerror ();
4108 int
4109 main ()
4110 {
4111 return strerror ();
4112 ;
4113 return 0;
4114 }
4115 _ACEOF
4116 for ac_lib in '' cposix; do
4117 if test -z "$ac_lib"; then
4118 ac_res="none required"
4119 else
4120 ac_res=-l$ac_lib
4121 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4122 fi
4123 if ac_fn_c_try_link "$LINENO"; then :
4124 ac_cv_search_strerror=$ac_res
4125 fi
4126 rm -f core conftest.err conftest.$ac_objext \
4127 conftest$ac_exeext
4128 if ${ac_cv_search_strerror+:} false; then :
4129 break
4130 fi
4131 done
4132 if ${ac_cv_search_strerror+:} false; then :
4133
4134 else
4135 ac_cv_search_strerror=no
4136 fi
4137 rm conftest.$ac_ext
4138 LIBS=$ac_func_search_save_LIBS
4139 fi
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4141 $as_echo "$ac_cv_search_strerror" >&6; }
4142 ac_res=$ac_cv_search_strerror
4143 if test "$ac_res" != no; then :
4144 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4145
4146 fi
4147
4148 ac_ext=c
4149 ac_cpp='$CPP $CPPFLAGS'
4150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4153 if test -n "$ac_tool_prefix"; then
4154 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4155 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4157 $as_echo_n "checking for $ac_word... " >&6; }
4158 if ${ac_cv_prog_CC+:} false; then :
4159 $as_echo_n "(cached) " >&6
4160 else
4161 if test -n "$CC"; then
4162 ac_cv_prog_CC="$CC" # Let the user override the test.
4163 else
4164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4165 for as_dir in $PATH
4166 do
4167 IFS=$as_save_IFS
4168 test -z "$as_dir" && as_dir=.
4169 for ac_exec_ext in '' $ac_executable_extensions; do
4170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4171 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4173 break 2
4174 fi
4175 done
4176 done
4177 IFS=$as_save_IFS
4178
4179 fi
4180 fi
4181 CC=$ac_cv_prog_CC
4182 if test -n "$CC"; then
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4184 $as_echo "$CC" >&6; }
4185 else
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4187 $as_echo "no" >&6; }
4188 fi
4189
4190
4191 fi
4192 if test -z "$ac_cv_prog_CC"; then
4193 ac_ct_CC=$CC
4194 # Extract the first word of "gcc", so it can be a program name with args.
4195 set dummy gcc; ac_word=$2
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4197 $as_echo_n "checking for $ac_word... " >&6; }
4198 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4199 $as_echo_n "(cached) " >&6
4200 else
4201 if test -n "$ac_ct_CC"; then
4202 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4203 else
4204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4205 for as_dir in $PATH
4206 do
4207 IFS=$as_save_IFS
4208 test -z "$as_dir" && as_dir=.
4209 for ac_exec_ext in '' $ac_executable_extensions; do
4210 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4211 ac_cv_prog_ac_ct_CC="gcc"
4212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4213 break 2
4214 fi
4215 done
4216 done
4217 IFS=$as_save_IFS
4218
4219 fi
4220 fi
4221 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4222 if test -n "$ac_ct_CC"; then
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4224 $as_echo "$ac_ct_CC" >&6; }
4225 else
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4227 $as_echo "no" >&6; }
4228 fi
4229
4230 if test "x$ac_ct_CC" = x; then
4231 CC=""
4232 else
4233 case $cross_compiling:$ac_tool_warned in
4234 yes:)
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4236 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4237 ac_tool_warned=yes ;;
4238 esac
4239 CC=$ac_ct_CC
4240 fi
4241 else
4242 CC="$ac_cv_prog_CC"
4243 fi
4244
4245 if test -z "$CC"; then
4246 if test -n "$ac_tool_prefix"; then
4247 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4248 set dummy ${ac_tool_prefix}cc; ac_word=$2
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4250 $as_echo_n "checking for $ac_word... " >&6; }
4251 if ${ac_cv_prog_CC+:} false; then :
4252 $as_echo_n "(cached) " >&6
4253 else
4254 if test -n "$CC"; then
4255 ac_cv_prog_CC="$CC" # Let the user override the test.
4256 else
4257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4258 for as_dir in $PATH
4259 do
4260 IFS=$as_save_IFS
4261 test -z "$as_dir" && as_dir=.
4262 for ac_exec_ext in '' $ac_executable_extensions; do
4263 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4264 ac_cv_prog_CC="${ac_tool_prefix}cc"
4265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4266 break 2
4267 fi
4268 done
4269 done
4270 IFS=$as_save_IFS
4271
4272 fi
4273 fi
4274 CC=$ac_cv_prog_CC
4275 if test -n "$CC"; then
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4277 $as_echo "$CC" >&6; }
4278 else
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4280 $as_echo "no" >&6; }
4281 fi
4282
4283
4284 fi
4285 fi
4286 if test -z "$CC"; then
4287 # Extract the first word of "cc", so it can be a program name with args.
4288 set dummy cc; ac_word=$2
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4290 $as_echo_n "checking for $ac_word... " >&6; }
4291 if ${ac_cv_prog_CC+:} false; then :
4292 $as_echo_n "(cached) " >&6
4293 else
4294 if test -n "$CC"; then
4295 ac_cv_prog_CC="$CC" # Let the user override the test.
4296 else
4297 ac_prog_rejected=no
4298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4299 for as_dir in $PATH
4300 do
4301 IFS=$as_save_IFS
4302 test -z "$as_dir" && as_dir=.
4303 for ac_exec_ext in '' $ac_executable_extensions; do
4304 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4305 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4306 ac_prog_rejected=yes
4307 continue
4308 fi
4309 ac_cv_prog_CC="cc"
4310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4311 break 2
4312 fi
4313 done
4314 done
4315 IFS=$as_save_IFS
4316
4317 if test $ac_prog_rejected = yes; then
4318 # We found a bogon in the path, so make sure we never use it.
4319 set dummy $ac_cv_prog_CC
4320 shift
4321 if test $# != 0; then
4322 # We chose a different compiler from the bogus one.
4323 # However, it has the same basename, so the bogon will be chosen
4324 # first if we set CC to just the basename; use the full file name.
4325 shift
4326 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4327 fi
4328 fi
4329 fi
4330 fi
4331 CC=$ac_cv_prog_CC
4332 if test -n "$CC"; then
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4334 $as_echo "$CC" >&6; }
4335 else
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4337 $as_echo "no" >&6; }
4338 fi
4339
4340
4341 fi
4342 if test -z "$CC"; then
4343 if test -n "$ac_tool_prefix"; then
4344 for ac_prog in cl.exe
4345 do
4346 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4347 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4349 $as_echo_n "checking for $ac_word... " >&6; }
4350 if ${ac_cv_prog_CC+:} false; then :
4351 $as_echo_n "(cached) " >&6
4352 else
4353 if test -n "$CC"; then
4354 ac_cv_prog_CC="$CC" # Let the user override the test.
4355 else
4356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4357 for as_dir in $PATH
4358 do
4359 IFS=$as_save_IFS
4360 test -z "$as_dir" && as_dir=.
4361 for ac_exec_ext in '' $ac_executable_extensions; do
4362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4363 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4365 break 2
4366 fi
4367 done
4368 done
4369 IFS=$as_save_IFS
4370
4371 fi
4372 fi
4373 CC=$ac_cv_prog_CC
4374 if test -n "$CC"; then
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4376 $as_echo "$CC" >&6; }
4377 else
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4379 $as_echo "no" >&6; }
4380 fi
4381
4382
4383 test -n "$CC" && break
4384 done
4385 fi
4386 if test -z "$CC"; then
4387 ac_ct_CC=$CC
4388 for ac_prog in cl.exe
4389 do
4390 # Extract the first word of "$ac_prog", so it can be a program name with args.
4391 set dummy $ac_prog; ac_word=$2
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4393 $as_echo_n "checking for $ac_word... " >&6; }
4394 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4395 $as_echo_n "(cached) " >&6
4396 else
4397 if test -n "$ac_ct_CC"; then
4398 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4399 else
4400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4401 for as_dir in $PATH
4402 do
4403 IFS=$as_save_IFS
4404 test -z "$as_dir" && as_dir=.
4405 for ac_exec_ext in '' $ac_executable_extensions; do
4406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4407 ac_cv_prog_ac_ct_CC="$ac_prog"
4408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4409 break 2
4410 fi
4411 done
4412 done
4413 IFS=$as_save_IFS
4414
4415 fi
4416 fi
4417 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4418 if test -n "$ac_ct_CC"; then
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4420 $as_echo "$ac_ct_CC" >&6; }
4421 else
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4423 $as_echo "no" >&6; }
4424 fi
4425
4426
4427 test -n "$ac_ct_CC" && break
4428 done
4429
4430 if test "x$ac_ct_CC" = x; then
4431 CC=""
4432 else
4433 case $cross_compiling:$ac_tool_warned in
4434 yes:)
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4437 ac_tool_warned=yes ;;
4438 esac
4439 CC=$ac_ct_CC
4440 fi
4441 fi
4442
4443 fi
4444
4445
4446 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4448 as_fn_error $? "no acceptable C compiler found in \$PATH
4449 See \`config.log' for more details" "$LINENO" 5; }
4450
4451 # Provide some information about the compiler.
4452 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4453 set X $ac_compile
4454 ac_compiler=$2
4455 for ac_option in --version -v -V -qversion; do
4456 { { ac_try="$ac_compiler $ac_option >&5"
4457 case "(($ac_try" in
4458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4459 *) ac_try_echo=$ac_try;;
4460 esac
4461 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4462 $as_echo "$ac_try_echo"; } >&5
4463 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4464 ac_status=$?
4465 if test -s conftest.err; then
4466 sed '10a\
4467 ... rest of stderr output deleted ...
4468 10q' conftest.err >conftest.er1
4469 cat conftest.er1 >&5
4470 fi
4471 rm -f conftest.er1 conftest.err
4472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4473 test $ac_status = 0; }
4474 done
4475
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4477 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4478 if ${ac_cv_c_compiler_gnu+:} false; then :
4479 $as_echo_n "(cached) " >&6
4480 else
4481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4482 /* end confdefs.h. */
4483
4484 int
4485 main ()
4486 {
4487 #ifndef __GNUC__
4488 choke me
4489 #endif
4490
4491 ;
4492 return 0;
4493 }
4494 _ACEOF
4495 if ac_fn_c_try_compile "$LINENO"; then :
4496 ac_compiler_gnu=yes
4497 else
4498 ac_compiler_gnu=no
4499 fi
4500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4501 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4502
4503 fi
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4505 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4506 if test $ac_compiler_gnu = yes; then
4507 GCC=yes
4508 else
4509 GCC=
4510 fi
4511 ac_test_CFLAGS=${CFLAGS+set}
4512 ac_save_CFLAGS=$CFLAGS
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4514 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4515 if ${ac_cv_prog_cc_g+:} false; then :
4516 $as_echo_n "(cached) " >&6
4517 else
4518 ac_save_c_werror_flag=$ac_c_werror_flag
4519 ac_c_werror_flag=yes
4520 ac_cv_prog_cc_g=no
4521 CFLAGS="-g"
4522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4523 /* end confdefs.h. */
4524
4525 int
4526 main ()
4527 {
4528
4529 ;
4530 return 0;
4531 }
4532 _ACEOF
4533 if ac_fn_c_try_compile "$LINENO"; then :
4534 ac_cv_prog_cc_g=yes
4535 else
4536 CFLAGS=""
4537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4538 /* end confdefs.h. */
4539
4540 int
4541 main ()
4542 {
4543
4544 ;
4545 return 0;
4546 }
4547 _ACEOF
4548 if ac_fn_c_try_compile "$LINENO"; then :
4549
4550 else
4551 ac_c_werror_flag=$ac_save_c_werror_flag
4552 CFLAGS="-g"
4553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4554 /* end confdefs.h. */
4555
4556 int
4557 main ()
4558 {
4559
4560 ;
4561 return 0;
4562 }
4563 _ACEOF
4564 if ac_fn_c_try_compile "$LINENO"; then :
4565 ac_cv_prog_cc_g=yes
4566 fi
4567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4568 fi
4569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4570 fi
4571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4572 ac_c_werror_flag=$ac_save_c_werror_flag
4573 fi
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4575 $as_echo "$ac_cv_prog_cc_g" >&6; }
4576 if test "$ac_test_CFLAGS" = set; then
4577 CFLAGS=$ac_save_CFLAGS
4578 elif test $ac_cv_prog_cc_g = yes; then
4579 if test "$GCC" = yes; then
4580 CFLAGS="-g -O2"
4581 else
4582 CFLAGS="-g"
4583 fi
4584 else
4585 if test "$GCC" = yes; then
4586 CFLAGS="-O2"
4587 else
4588 CFLAGS=
4589 fi
4590 fi
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4592 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4593 if ${ac_cv_prog_cc_c89+:} false; then :
4594 $as_echo_n "(cached) " >&6
4595 else
4596 ac_cv_prog_cc_c89=no
4597 ac_save_CC=$CC
4598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4599 /* end confdefs.h. */
4600 #include <stdarg.h>
4601 #include <stdio.h>
4602 struct stat;
4603 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4604 struct buf { int x; };
4605 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4606 static char *e (p, i)
4607 char **p;
4608 int i;
4609 {
4610 return p[i];
4611 }
4612 static char *f (char * (*g) (char **, int), char **p, ...)
4613 {
4614 char *s;
4615 va_list v;
4616 va_start (v,p);
4617 s = g (p, va_arg (v,int));
4618 va_end (v);
4619 return s;
4620 }
4621
4622 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4623 function prototypes and stuff, but not '\xHH' hex character constants.
4624 These don't provoke an error unfortunately, instead are silently treated
4625 as 'x'. The following induces an error, until -std is added to get
4626 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4627 array size at least. It's necessary to write '\x00'==0 to get something
4628 that's true only with -std. */
4629 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4630
4631 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4632 inside strings and character constants. */
4633 #define FOO(x) 'x'
4634 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4635
4636 int test (int i, double x);
4637 struct s1 {int (*f) (int a);};
4638 struct s2 {int (*f) (double a);};
4639 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4640 int argc;
4641 char **argv;
4642 int
4643 main ()
4644 {
4645 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4646 ;
4647 return 0;
4648 }
4649 _ACEOF
4650 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4651 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4652 do
4653 CC="$ac_save_CC $ac_arg"
4654 if ac_fn_c_try_compile "$LINENO"; then :
4655 ac_cv_prog_cc_c89=$ac_arg
4656 fi
4657 rm -f core conftest.err conftest.$ac_objext
4658 test "x$ac_cv_prog_cc_c89" != "xno" && break
4659 done
4660 rm -f conftest.$ac_ext
4661 CC=$ac_save_CC
4662
4663 fi
4664 # AC_CACHE_VAL
4665 case "x$ac_cv_prog_cc_c89" in
4666 x)
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4668 $as_echo "none needed" >&6; } ;;
4669 xno)
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4671 $as_echo "unsupported" >&6; } ;;
4672 *)
4673 CC="$CC $ac_cv_prog_cc_c89"
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4675 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4676 esac
4677 if test "x$ac_cv_prog_cc_c89" != xno; then :
4678
4679 fi
4680
4681 ac_ext=c
4682 ac_cpp='$CPP $CPPFLAGS'
4683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4686
4687 ac_ext=c
4688 ac_cpp='$CPP $CPPFLAGS'
4689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4693 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4694 if ${am_cv_prog_cc_c_o+:} false; then :
4695 $as_echo_n "(cached) " >&6
4696 else
4697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4698 /* end confdefs.h. */
4699
4700 int
4701 main ()
4702 {
4703
4704 ;
4705 return 0;
4706 }
4707 _ACEOF
4708 # Make sure it works both with $CC and with simple cc.
4709 # Following AC_PROG_CC_C_O, we do the test twice because some
4710 # compilers refuse to overwrite an existing .o file with -o,
4711 # though they will create one.
4712 am_cv_prog_cc_c_o=yes
4713 for am_i in 1 2; do
4714 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4715 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4716 ac_status=$?
4717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4718 (exit $ac_status); } \
4719 && test -f conftest2.$ac_objext; then
4720 : OK
4721 else
4722 am_cv_prog_cc_c_o=no
4723 break
4724 fi
4725 done
4726 rm -f core conftest*
4727 unset am_i
4728 fi
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4730 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4731 if test "$am_cv_prog_cc_c_o" != yes; then
4732 # Losing compiler, so override with the script.
4733 # FIXME: It is wrong to rewrite CC.
4734 # But if we don't then we get into trouble of one sort or another.
4735 # A longer-term fix would be to have automake use am__CC in this case,
4736 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4737 CC="$am_aux_dir/compile $CC"
4738 fi
4739 ac_ext=c
4740 ac_cpp='$CPP $CPPFLAGS'
4741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4744
4745
4746 depcc="$CC" am_compiler_list=
4747
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4749 $as_echo_n "checking dependency style of $depcc... " >&6; }
4750 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4751 $as_echo_n "(cached) " >&6
4752 else
4753 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4754 # We make a subdir and do the tests there. Otherwise we can end up
4755 # making bogus files that we don't know about and never remove. For
4756 # instance it was reported that on HP-UX the gcc test will end up
4757 # making a dummy file named 'D' -- because '-MD' means "put the output
4758 # in D".
4759 rm -rf conftest.dir
4760 mkdir conftest.dir
4761 # Copy depcomp to subdir because otherwise we won't find it if we're
4762 # using a relative directory.
4763 cp "$am_depcomp" conftest.dir
4764 cd conftest.dir
4765 # We will build objects and dependencies in a subdirectory because
4766 # it helps to detect inapplicable dependency modes. For instance
4767 # both Tru64's cc and ICC support -MD to output dependencies as a
4768 # side effect of compilation, but ICC will put the dependencies in
4769 # the current directory while Tru64 will put them in the object
4770 # directory.
4771 mkdir sub
4772
4773 am_cv_CC_dependencies_compiler_type=none
4774 if test "$am_compiler_list" = ""; then
4775 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4776 fi
4777 am__universal=false
4778 case " $depcc " in #(
4779 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4780 esac
4781
4782 for depmode in $am_compiler_list; do
4783 # Setup a source with many dependencies, because some compilers
4784 # like to wrap large dependency lists on column 80 (with \), and
4785 # we should not choose a depcomp mode which is confused by this.
4786 #
4787 # We need to recreate these files for each test, as the compiler may
4788 # overwrite some of them when testing with obscure command lines.
4789 # This happens at least with the AIX C compiler.
4790 : > sub/conftest.c
4791 for i in 1 2 3 4 5 6; do
4792 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4793 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4794 # Solaris 10 /bin/sh.
4795 echo '/* dummy */' > sub/conftst$i.h
4796 done
4797 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4798
4799 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4800 # mode. It turns out that the SunPro C++ compiler does not properly
4801 # handle '-M -o', and we need to detect this. Also, some Intel
4802 # versions had trouble with output in subdirs.
4803 am__obj=sub/conftest.${OBJEXT-o}
4804 am__minus_obj="-o $am__obj"
4805 case $depmode in
4806 gcc)
4807 # This depmode causes a compiler race in universal mode.
4808 test "$am__universal" = false || continue
4809 ;;
4810 nosideeffect)
4811 # After this tag, mechanisms are not by side-effect, so they'll
4812 # only be used when explicitly requested.
4813 if test "x$enable_dependency_tracking" = xyes; then
4814 continue
4815 else
4816 break
4817 fi
4818 ;;
4819 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4820 # This compiler won't grok '-c -o', but also, the minuso test has
4821 # not run yet. These depmodes are late enough in the game, and
4822 # so weak that their functioning should not be impacted.
4823 am__obj=conftest.${OBJEXT-o}
4824 am__minus_obj=
4825 ;;
4826 none) break ;;
4827 esac
4828 if depmode=$depmode \
4829 source=sub/conftest.c object=$am__obj \
4830 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4831 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4832 >/dev/null 2>conftest.err &&
4833 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4834 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4835 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4836 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4837 # icc doesn't choke on unknown options, it will just issue warnings
4838 # or remarks (even with -Werror). So we grep stderr for any message
4839 # that says an option was ignored or not supported.
4840 # When given -MP, icc 7.0 and 7.1 complain thusly:
4841 # icc: Command line warning: ignoring option '-M'; no argument required
4842 # The diagnosis changed in icc 8.0:
4843 # icc: Command line remark: option '-MP' not supported
4844 if (grep 'ignoring option' conftest.err ||
4845 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4846 am_cv_CC_dependencies_compiler_type=$depmode
4847 break
4848 fi
4849 fi
4850 done
4851
4852 cd ..
4853 rm -rf conftest.dir
4854 else
4855 am_cv_CC_dependencies_compiler_type=none
4856 fi
4857
4858 fi
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4860 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4861 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4862
4863 if
4864 test "x$enable_dependency_tracking" != xno \
4865 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4866 am__fastdepCC_TRUE=
4867 am__fastdepCC_FALSE='#'
4868 else
4869 am__fastdepCC_TRUE='#'
4870 am__fastdepCC_FALSE=
4871 fi
4872
4873
4874 ac_ext=c
4875 ac_cpp='$CPP $CPPFLAGS'
4876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4880 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4881 # On Suns, sometimes $CPP names a directory.
4882 if test -n "$CPP" && test -d "$CPP"; then
4883 CPP=
4884 fi
4885 if test -z "$CPP"; then
4886 if ${ac_cv_prog_CPP+:} false; then :
4887 $as_echo_n "(cached) " >&6
4888 else
4889 # Double quotes because CPP needs to be expanded
4890 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4891 do
4892 ac_preproc_ok=false
4893 for ac_c_preproc_warn_flag in '' yes
4894 do
4895 # Use a header file that comes with gcc, so configuring glibc
4896 # with a fresh cross-compiler works.
4897 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4898 # <limits.h> exists even on freestanding compilers.
4899 # On the NeXT, cc -E runs the code through the compiler's parser,
4900 # not just through cpp. "Syntax error" is here to catch this case.
4901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4902 /* end confdefs.h. */
4903 #ifdef __STDC__
4904 # include <limits.h>
4905 #else
4906 # include <assert.h>
4907 #endif
4908 Syntax error
4909 _ACEOF
4910 if ac_fn_c_try_cpp "$LINENO"; then :
4911
4912 else
4913 # Broken: fails on valid input.
4914 continue
4915 fi
4916 rm -f conftest.err conftest.i conftest.$ac_ext
4917
4918 # OK, works on sane cases. Now check whether nonexistent headers
4919 # can be detected and how.
4920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4921 /* end confdefs.h. */
4922 #include <ac_nonexistent.h>
4923 _ACEOF
4924 if ac_fn_c_try_cpp "$LINENO"; then :
4925 # Broken: success on invalid input.
4926 continue
4927 else
4928 # Passes both tests.
4929 ac_preproc_ok=:
4930 break
4931 fi
4932 rm -f conftest.err conftest.i conftest.$ac_ext
4933
4934 done
4935 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4936 rm -f conftest.i conftest.err conftest.$ac_ext
4937 if $ac_preproc_ok; then :
4938 break
4939 fi
4940
4941 done
4942 ac_cv_prog_CPP=$CPP
4943
4944 fi
4945 CPP=$ac_cv_prog_CPP
4946 else
4947 ac_cv_prog_CPP=$CPP
4948 fi
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4950 $as_echo "$CPP" >&6; }
4951 ac_preproc_ok=false
4952 for ac_c_preproc_warn_flag in '' yes
4953 do
4954 # Use a header file that comes with gcc, so configuring glibc
4955 # with a fresh cross-compiler works.
4956 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4957 # <limits.h> exists even on freestanding compilers.
4958 # On the NeXT, cc -E runs the code through the compiler's parser,
4959 # not just through cpp. "Syntax error" is here to catch this case.
4960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4961 /* end confdefs.h. */
4962 #ifdef __STDC__
4963 # include <limits.h>
4964 #else
4965 # include <assert.h>
4966 #endif
4967 Syntax error
4968 _ACEOF
4969 if ac_fn_c_try_cpp "$LINENO"; then :
4970
4971 else
4972 # Broken: fails on valid input.
4973 continue
4974 fi
4975 rm -f conftest.err conftest.i conftest.$ac_ext
4976
4977 # OK, works on sane cases. Now check whether nonexistent headers
4978 # can be detected and how.
4979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4980 /* end confdefs.h. */
4981 #include <ac_nonexistent.h>
4982 _ACEOF
4983 if ac_fn_c_try_cpp "$LINENO"; then :
4984 # Broken: success on invalid input.
4985 continue
4986 else
4987 # Passes both tests.
4988 ac_preproc_ok=:
4989 break
4990 fi
4991 rm -f conftest.err conftest.i conftest.$ac_ext
4992
4993 done
4994 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4995 rm -f conftest.i conftest.err conftest.$ac_ext
4996 if $ac_preproc_ok; then :
4997
4998 else
4999 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5000 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5001 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5002 See \`config.log' for more details" "$LINENO" 5; }
5003 fi
5004
5005 ac_ext=c
5006 ac_cpp='$CPP $CPPFLAGS'
5007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5010
5011 case `pwd` in
5012 *\ * | *\ *)
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5014 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5015 esac
5016
5017
5018
5019 macro_version='2.4.6'
5020 macro_revision='2.4.6'
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034 ltmain=$ac_aux_dir/ltmain.sh
5035
5036 # Make sure we can run config.sub.
5037 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5038 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5039
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5041 $as_echo_n "checking build system type... " >&6; }
5042 if ${ac_cv_build+:} false; then :
5043 $as_echo_n "(cached) " >&6
5044 else
5045 ac_build_alias=$build_alias
5046 test "x$ac_build_alias" = x &&
5047 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5048 test "x$ac_build_alias" = x &&
5049 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5050 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5051 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5052
5053 fi
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5055 $as_echo "$ac_cv_build" >&6; }
5056 case $ac_cv_build in
5057 *-*-*) ;;
5058 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5059 esac
5060 build=$ac_cv_build
5061 ac_save_IFS=$IFS; IFS='-'
5062 set x $ac_cv_build
5063 shift
5064 build_cpu=$1
5065 build_vendor=$2
5066 shift; shift
5067 # Remember, the first character of IFS is used to create $*,
5068 # except with old shells:
5069 build_os=$*
5070 IFS=$ac_save_IFS
5071 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5072
5073
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5075 $as_echo_n "checking host system type... " >&6; }
5076 if ${ac_cv_host+:} false; then :
5077 $as_echo_n "(cached) " >&6
5078 else
5079 if test "x$host_alias" = x; then
5080 ac_cv_host=$ac_cv_build
5081 else
5082 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5083 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5084 fi
5085
5086 fi
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5088 $as_echo "$ac_cv_host" >&6; }
5089 case $ac_cv_host in
5090 *-*-*) ;;
5091 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5092 esac
5093 host=$ac_cv_host
5094 ac_save_IFS=$IFS; IFS='-'
5095 set x $ac_cv_host
5096 shift
5097 host_cpu=$1
5098 host_vendor=$2
5099 shift; shift
5100 # Remember, the first character of IFS is used to create $*,
5101 # except with old shells:
5102 host_os=$*
5103 IFS=$ac_save_IFS
5104 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5105
5106
5107 # Backslashify metacharacters that are still active within
5108 # double-quoted strings.
5109 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5110
5111 # Same as above, but do not quote variable references.
5112 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5113
5114 # Sed substitution to delay expansion of an escaped shell variable in a
5115 # double_quote_subst'ed string.
5116 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5117
5118 # Sed substitution to delay expansion of an escaped single quote.
5119 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5120
5121 # Sed substitution to avoid accidental globbing in evaled expressions
5122 no_glob_subst='s/\*/\\\*/g'
5123
5124 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5125 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5126 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5127
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5129 $as_echo_n "checking how to print strings... " >&6; }
5130 # Test print first, because it will be a builtin if present.
5131 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5132 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5133 ECHO='print -r --'
5134 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5135 ECHO='printf %s\n'
5136 else
5137 # Use this function as a fallback that always works.
5138 func_fallback_echo ()
5139 {
5140 eval 'cat <<_LTECHO_EOF
5141 $1
5142 _LTECHO_EOF'
5143 }
5144 ECHO='func_fallback_echo'
5145 fi
5146
5147 # func_echo_all arg...
5148 # Invoke $ECHO with all args, space-separated.
5149 func_echo_all ()
5150 {
5151 $ECHO ""
5152 }
5153
5154 case $ECHO in
5155 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5156 $as_echo "printf" >&6; } ;;
5157 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5158 $as_echo "print -r" >&6; } ;;
5159 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5160 $as_echo "cat" >&6; } ;;
5161 esac
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5177 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5178 if ${ac_cv_path_SED+:} false; then :
5179 $as_echo_n "(cached) " >&6
5180 else
5181 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5182 for ac_i in 1 2 3 4 5 6 7; do
5183 ac_script="$ac_script$as_nl$ac_script"
5184 done
5185 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5186 { ac_script=; unset ac_script;}
5187 if test -z "$SED"; then
5188 ac_path_SED_found=false
5189 # Loop through the user's path and test for each of PROGNAME-LIST
5190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5191 for as_dir in $PATH
5192 do
5193 IFS=$as_save_IFS
5194 test -z "$as_dir" && as_dir=.
5195 for ac_prog in sed gsed; do
5196 for ac_exec_ext in '' $ac_executable_extensions; do
5197 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5198 as_fn_executable_p "$ac_path_SED" || continue
5199 # Check for GNU ac_path_SED and select it if it is found.
5200 # Check for GNU $ac_path_SED
5201 case `"$ac_path_SED" --version 2>&1` in
5202 *GNU*)
5203 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5204 *)
5205 ac_count=0
5206 $as_echo_n 0123456789 >"conftest.in"
5207 while :
5208 do
5209 cat "conftest.in" "conftest.in" >"conftest.tmp"
5210 mv "conftest.tmp" "conftest.in"
5211 cp "conftest.in" "conftest.nl"
5212 $as_echo '' >> "conftest.nl"
5213 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5214 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5215 as_fn_arith $ac_count + 1 && ac_count=$as_val
5216 if test $ac_count -gt ${ac_path_SED_max-0}; then
5217 # Best one so far, save it but keep looking for a better one
5218 ac_cv_path_SED="$ac_path_SED"
5219 ac_path_SED_max=$ac_count
5220 fi
5221 # 10*(2^10) chars as input seems more than enough
5222 test $ac_count -gt 10 && break
5223 done
5224 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5225 esac
5226
5227 $ac_path_SED_found && break 3
5228 done
5229 done
5230 done
5231 IFS=$as_save_IFS
5232 if test -z "$ac_cv_path_SED"; then
5233 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5234 fi
5235 else
5236 ac_cv_path_SED=$SED
5237 fi
5238
5239 fi
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5241 $as_echo "$ac_cv_path_SED" >&6; }
5242 SED="$ac_cv_path_SED"
5243 rm -f conftest.sed
5244
5245 test -z "$SED" && SED=sed
5246 Xsed="$SED -e 1s/^X//"
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5259 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5260 if ${ac_cv_path_GREP+:} false; then :
5261 $as_echo_n "(cached) " >&6
5262 else
5263 if test -z "$GREP"; then
5264 ac_path_GREP_found=false
5265 # Loop through the user's path and test for each of PROGNAME-LIST
5266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5267 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5268 do
5269 IFS=$as_save_IFS
5270 test -z "$as_dir" && as_dir=.
5271 for ac_prog in grep ggrep; do
5272 for ac_exec_ext in '' $ac_executable_extensions; do
5273 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5274 as_fn_executable_p "$ac_path_GREP" || continue
5275 # Check for GNU ac_path_GREP and select it if it is found.
5276 # Check for GNU $ac_path_GREP
5277 case `"$ac_path_GREP" --version 2>&1` in
5278 *GNU*)
5279 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5280 *)
5281 ac_count=0
5282 $as_echo_n 0123456789 >"conftest.in"
5283 while :
5284 do
5285 cat "conftest.in" "conftest.in" >"conftest.tmp"
5286 mv "conftest.tmp" "conftest.in"
5287 cp "conftest.in" "conftest.nl"
5288 $as_echo 'GREP' >> "conftest.nl"
5289 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5290 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5291 as_fn_arith $ac_count + 1 && ac_count=$as_val
5292 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5293 # Best one so far, save it but keep looking for a better one
5294 ac_cv_path_GREP="$ac_path_GREP"
5295 ac_path_GREP_max=$ac_count
5296 fi
5297 # 10*(2^10) chars as input seems more than enough
5298 test $ac_count -gt 10 && break
5299 done
5300 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5301 esac
5302
5303 $ac_path_GREP_found && break 3
5304 done
5305 done
5306 done
5307 IFS=$as_save_IFS
5308 if test -z "$ac_cv_path_GREP"; then
5309 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5310 fi
5311 else
5312 ac_cv_path_GREP=$GREP
5313 fi
5314
5315 fi
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5317 $as_echo "$ac_cv_path_GREP" >&6; }
5318 GREP="$ac_cv_path_GREP"
5319
5320
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5322 $as_echo_n "checking for egrep... " >&6; }
5323 if ${ac_cv_path_EGREP+:} false; then :
5324 $as_echo_n "(cached) " >&6
5325 else
5326 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5327 then ac_cv_path_EGREP="$GREP -E"
5328 else
5329 if test -z "$EGREP"; then
5330 ac_path_EGREP_found=false
5331 # Loop through the user's path and test for each of PROGNAME-LIST
5332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5333 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5334 do
5335 IFS=$as_save_IFS
5336 test -z "$as_dir" && as_dir=.
5337 for ac_prog in egrep; do
5338 for ac_exec_ext in '' $ac_executable_extensions; do
5339 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5340 as_fn_executable_p "$ac_path_EGREP" || continue
5341 # Check for GNU ac_path_EGREP and select it if it is found.
5342 # Check for GNU $ac_path_EGREP
5343 case `"$ac_path_EGREP" --version 2>&1` in
5344 *GNU*)
5345 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5346 *)
5347 ac_count=0
5348 $as_echo_n 0123456789 >"conftest.in"
5349 while :
5350 do
5351 cat "conftest.in" "conftest.in" >"conftest.tmp"
5352 mv "conftest.tmp" "conftest.in"
5353 cp "conftest.in" "conftest.nl"
5354 $as_echo 'EGREP' >> "conftest.nl"
5355 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5356 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5357 as_fn_arith $ac_count + 1 && ac_count=$as_val
5358 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5359 # Best one so far, save it but keep looking for a better one
5360 ac_cv_path_EGREP="$ac_path_EGREP"
5361 ac_path_EGREP_max=$ac_count
5362 fi
5363 # 10*(2^10) chars as input seems more than enough
5364 test $ac_count -gt 10 && break
5365 done
5366 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5367 esac
5368
5369 $ac_path_EGREP_found && break 3
5370 done
5371 done
5372 done
5373 IFS=$as_save_IFS
5374 if test -z "$ac_cv_path_EGREP"; then
5375 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5376 fi
5377 else
5378 ac_cv_path_EGREP=$EGREP
5379 fi
5380
5381 fi
5382 fi
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5384 $as_echo "$ac_cv_path_EGREP" >&6; }
5385 EGREP="$ac_cv_path_EGREP"
5386
5387
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5389 $as_echo_n "checking for fgrep... " >&6; }
5390 if ${ac_cv_path_FGREP+:} false; then :
5391 $as_echo_n "(cached) " >&6
5392 else
5393 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5394 then ac_cv_path_FGREP="$GREP -F"
5395 else
5396 if test -z "$FGREP"; then
5397 ac_path_FGREP_found=false
5398 # Loop through the user's path and test for each of PROGNAME-LIST
5399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5400 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5401 do
5402 IFS=$as_save_IFS
5403 test -z "$as_dir" && as_dir=.
5404 for ac_prog in fgrep; do
5405 for ac_exec_ext in '' $ac_executable_extensions; do
5406 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5407 as_fn_executable_p "$ac_path_FGREP" || continue
5408 # Check for GNU ac_path_FGREP and select it if it is found.
5409 # Check for GNU $ac_path_FGREP
5410 case `"$ac_path_FGREP" --version 2>&1` in
5411 *GNU*)
5412 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5413 *)
5414 ac_count=0
5415 $as_echo_n 0123456789 >"conftest.in"
5416 while :
5417 do
5418 cat "conftest.in" "conftest.in" >"conftest.tmp"
5419 mv "conftest.tmp" "conftest.in"
5420 cp "conftest.in" "conftest.nl"
5421 $as_echo 'FGREP' >> "conftest.nl"
5422 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5423 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5424 as_fn_arith $ac_count + 1 && ac_count=$as_val
5425 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5426 # Best one so far, save it but keep looking for a better one
5427 ac_cv_path_FGREP="$ac_path_FGREP"
5428 ac_path_FGREP_max=$ac_count
5429 fi
5430 # 10*(2^10) chars as input seems more than enough
5431 test $ac_count -gt 10 && break
5432 done
5433 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5434 esac
5435
5436 $ac_path_FGREP_found && break 3
5437 done
5438 done
5439 done
5440 IFS=$as_save_IFS
5441 if test -z "$ac_cv_path_FGREP"; then
5442 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5443 fi
5444 else
5445 ac_cv_path_FGREP=$FGREP
5446 fi
5447
5448 fi
5449 fi
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5451 $as_echo "$ac_cv_path_FGREP" >&6; }
5452 FGREP="$ac_cv_path_FGREP"
5453
5454
5455 test -z "$GREP" && GREP=grep
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475 # Check whether --with-gnu-ld was given.
5476 if test "${with_gnu_ld+set}" = set; then :
5477 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5478 else
5479 with_gnu_ld=no
5480 fi
5481
5482 ac_prog=ld
5483 if test yes = "$GCC"; then
5484 # Check if gcc -print-prog-name=ld gives a path.
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5486 $as_echo_n "checking for ld used by $CC... " >&6; }
5487 case $host in
5488 *-*-mingw*)
5489 # gcc leaves a trailing carriage return, which upsets mingw
5490 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5491 *)
5492 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5493 esac
5494 case $ac_prog in
5495 # Accept absolute paths.
5496 [\\/]* | ?:[\\/]*)
5497 re_direlt='/[^/][^/]*/\.\./'
5498 # Canonicalize the pathname of ld
5499 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5500 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5501 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5502 done
5503 test -z "$LD" && LD=$ac_prog
5504 ;;
5505 "")
5506 # If it fails, then pretend we aren't using GCC.
5507 ac_prog=ld
5508 ;;
5509 *)
5510 # If it is relative, then search for the first ld in PATH.
5511 with_gnu_ld=unknown
5512 ;;
5513 esac
5514 elif test yes = "$with_gnu_ld"; then
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5516 $as_echo_n "checking for GNU ld... " >&6; }
5517 else
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5519 $as_echo_n "checking for non-GNU ld... " >&6; }
5520 fi
5521 if ${lt_cv_path_LD+:} false; then :
5522 $as_echo_n "(cached) " >&6
5523 else
5524 if test -z "$LD"; then
5525 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5526 for ac_dir in $PATH; do
5527 IFS=$lt_save_ifs
5528 test -z "$ac_dir" && ac_dir=.
5529 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5530 lt_cv_path_LD=$ac_dir/$ac_prog
5531 # Check to see if the program is GNU ld. I'd rather use --version,
5532 # but apparently some variants of GNU ld only accept -v.
5533 # Break only if it was the GNU/non-GNU ld that we prefer.
5534 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5535 *GNU* | *'with BFD'*)
5536 test no != "$with_gnu_ld" && break
5537 ;;
5538 *)
5539 test yes != "$with_gnu_ld" && break
5540 ;;
5541 esac
5542 fi
5543 done
5544 IFS=$lt_save_ifs
5545 else
5546 lt_cv_path_LD=$LD # Let the user override the test with a path.
5547 fi
5548 fi
5549
5550 LD=$lt_cv_path_LD
5551 if test -n "$LD"; then
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5553 $as_echo "$LD" >&6; }
5554 else
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5556 $as_echo "no" >&6; }
5557 fi
5558 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5560 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5561 if ${lt_cv_prog_gnu_ld+:} false; then :
5562 $as_echo_n "(cached) " >&6
5563 else
5564 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5565 case `$LD -v 2>&1 </dev/null` in
5566 *GNU* | *'with BFD'*)
5567 lt_cv_prog_gnu_ld=yes
5568 ;;
5569 *)
5570 lt_cv_prog_gnu_ld=no
5571 ;;
5572 esac
5573 fi
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5575 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5576 with_gnu_ld=$lt_cv_prog_gnu_ld
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5587 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5588 if ${lt_cv_path_NM+:} false; then :
5589 $as_echo_n "(cached) " >&6
5590 else
5591 if test -n "$NM"; then
5592 # Let the user override the test.
5593 lt_cv_path_NM=$NM
5594 else
5595 lt_nm_to_check=${ac_tool_prefix}nm
5596 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5597 lt_nm_to_check="$lt_nm_to_check nm"
5598 fi
5599 for lt_tmp_nm in $lt_nm_to_check; do
5600 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5601 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5602 IFS=$lt_save_ifs
5603 test -z "$ac_dir" && ac_dir=.
5604 tmp_nm=$ac_dir/$lt_tmp_nm
5605 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5606 # Check to see if the nm accepts a BSD-compat flag.
5607 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5608 # nm: unknown option "B" ignored
5609 # Tru64's nm complains that /dev/null is an invalid object file
5610 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5611 case $build_os in
5612 mingw*) lt_bad_file=conftest.nm/nofile ;;
5613 *) lt_bad_file=/dev/null ;;
5614 esac
5615 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5616 *$lt_bad_file* | *'Invalid file or object type'*)
5617 lt_cv_path_NM="$tmp_nm -B"
5618 break 2
5619 ;;
5620 *)
5621 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5622 */dev/null*)
5623 lt_cv_path_NM="$tmp_nm -p"
5624 break 2
5625 ;;
5626 *)
5627 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5628 continue # so that we can try to find one that supports BSD flags
5629 ;;
5630 esac
5631 ;;
5632 esac
5633 fi
5634 done
5635 IFS=$lt_save_ifs
5636 done
5637 : ${lt_cv_path_NM=no}
5638 fi
5639 fi
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5641 $as_echo "$lt_cv_path_NM" >&6; }
5642 if test no != "$lt_cv_path_NM"; then
5643 NM=$lt_cv_path_NM
5644 else
5645 # Didn't find any BSD compatible name lister, look for dumpbin.
5646 if test -n "$DUMPBIN"; then :
5647 # Let the user override the test.
5648 else
5649 if test -n "$ac_tool_prefix"; then
5650 for ac_prog in dumpbin "link -dump"
5651 do
5652 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5653 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5655 $as_echo_n "checking for $ac_word... " >&6; }
5656 if ${ac_cv_prog_DUMPBIN+:} false; then :
5657 $as_echo_n "(cached) " >&6
5658 else
5659 if test -n "$DUMPBIN"; then
5660 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5661 else
5662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5663 for as_dir in $PATH
5664 do
5665 IFS=$as_save_IFS
5666 test -z "$as_dir" && as_dir=.
5667 for ac_exec_ext in '' $ac_executable_extensions; do
5668 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5669 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5671 break 2
5672 fi
5673 done
5674 done
5675 IFS=$as_save_IFS
5676
5677 fi
5678 fi
5679 DUMPBIN=$ac_cv_prog_DUMPBIN
5680 if test -n "$DUMPBIN"; then
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5682 $as_echo "$DUMPBIN" >&6; }
5683 else
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5685 $as_echo "no" >&6; }
5686 fi
5687
5688
5689 test -n "$DUMPBIN" && break
5690 done
5691 fi
5692 if test -z "$DUMPBIN"; then
5693 ac_ct_DUMPBIN=$DUMPBIN
5694 for ac_prog in dumpbin "link -dump"
5695 do
5696 # Extract the first word of "$ac_prog", so it can be a program name with args.
5697 set dummy $ac_prog; ac_word=$2
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5699 $as_echo_n "checking for $ac_word... " >&6; }
5700 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5701 $as_echo_n "(cached) " >&6
5702 else
5703 if test -n "$ac_ct_DUMPBIN"; then
5704 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5705 else
5706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5707 for as_dir in $PATH
5708 do
5709 IFS=$as_save_IFS
5710 test -z "$as_dir" && as_dir=.
5711 for ac_exec_ext in '' $ac_executable_extensions; do
5712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5713 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5715 break 2
5716 fi
5717 done
5718 done
5719 IFS=$as_save_IFS
5720
5721 fi
5722 fi
5723 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5724 if test -n "$ac_ct_DUMPBIN"; then
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5726 $as_echo "$ac_ct_DUMPBIN" >&6; }
5727 else
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5729 $as_echo "no" >&6; }
5730 fi
5731
5732
5733 test -n "$ac_ct_DUMPBIN" && break
5734 done
5735
5736 if test "x$ac_ct_DUMPBIN" = x; then
5737 DUMPBIN=":"
5738 else
5739 case $cross_compiling:$ac_tool_warned in
5740 yes:)
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5742 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5743 ac_tool_warned=yes ;;
5744 esac
5745 DUMPBIN=$ac_ct_DUMPBIN
5746 fi
5747 fi
5748
5749 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5750 *COFF*)
5751 DUMPBIN="$DUMPBIN -symbols -headers"
5752 ;;
5753 *)
5754 DUMPBIN=:
5755 ;;
5756 esac
5757 fi
5758
5759 if test : != "$DUMPBIN"; then
5760 NM=$DUMPBIN
5761 fi
5762 fi
5763 test -z "$NM" && NM=nm
5764
5765
5766
5767
5768
5769
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5771 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5772 if ${lt_cv_nm_interface+:} false; then :
5773 $as_echo_n "(cached) " >&6
5774 else
5775 lt_cv_nm_interface="BSD nm"
5776 echo "int some_variable = 0;" > conftest.$ac_ext
5777 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5778 (eval "$ac_compile" 2>conftest.err)
5779 cat conftest.err >&5
5780 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5781 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5782 cat conftest.err >&5
5783 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5784 cat conftest.out >&5
5785 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5786 lt_cv_nm_interface="MS dumpbin"
5787 fi
5788 rm -f conftest*
5789 fi
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5791 $as_echo "$lt_cv_nm_interface" >&6; }
5792
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5794 $as_echo_n "checking whether ln -s works... " >&6; }
5795 LN_S=$as_ln_s
5796 if test "$LN_S" = "ln -s"; then
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5798 $as_echo "yes" >&6; }
5799 else
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5801 $as_echo "no, using $LN_S" >&6; }
5802 fi
5803
5804 # find the maximum length of command line arguments
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5806 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5807 if ${lt_cv_sys_max_cmd_len+:} false; then :
5808 $as_echo_n "(cached) " >&6
5809 else
5810 i=0
5811 teststring=ABCD
5812
5813 case $build_os in
5814 msdosdjgpp*)
5815 # On DJGPP, this test can blow up pretty badly due to problems in libc
5816 # (any single argument exceeding 2000 bytes causes a buffer overrun
5817 # during glob expansion). Even if it were fixed, the result of this
5818 # check would be larger than it should be.
5819 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5820 ;;
5821
5822 gnu*)
5823 # Under GNU Hurd, this test is not required because there is
5824 # no limit to the length of command line arguments.
5825 # Libtool will interpret -1 as no limit whatsoever
5826 lt_cv_sys_max_cmd_len=-1;
5827 ;;
5828
5829 cygwin* | mingw* | cegcc*)
5830 # On Win9x/ME, this test blows up -- it succeeds, but takes
5831 # about 5 minutes as the teststring grows exponentially.
5832 # Worse, since 9x/ME are not pre-emptively multitasking,
5833 # you end up with a "frozen" computer, even though with patience
5834 # the test eventually succeeds (with a max line length of 256k).
5835 # Instead, let's just punt: use the minimum linelength reported by
5836 # all of the supported platforms: 8192 (on NT/2K/XP).
5837 lt_cv_sys_max_cmd_len=8192;
5838 ;;
5839
5840 mint*)
5841 # On MiNT this can take a long time and run out of memory.
5842 lt_cv_sys_max_cmd_len=8192;
5843 ;;
5844
5845 amigaos*)
5846 # On AmigaOS with pdksh, this test takes hours, literally.
5847 # So we just punt and use a minimum line length of 8192.
5848 lt_cv_sys_max_cmd_len=8192;
5849 ;;
5850
5851 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5852 # This has been around since 386BSD, at least. Likely further.
5853 if test -x /sbin/sysctl; then
5854 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5855 elif test -x /usr/sbin/sysctl; then
5856 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5857 else
5858 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5859 fi
5860 # And add a safety zone
5861 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5862 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5863 ;;
5864
5865 interix*)
5866 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5867 lt_cv_sys_max_cmd_len=196608
5868 ;;
5869
5870 os2*)
5871 # The test takes a long time on OS/2.
5872 lt_cv_sys_max_cmd_len=8192
5873 ;;
5874
5875 osf*)
5876 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5877 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5878 # nice to cause kernel panics so lets avoid the loop below.
5879 # First set a reasonable default.
5880 lt_cv_sys_max_cmd_len=16384
5881 #
5882 if test -x /sbin/sysconfig; then
5883 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5884 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5885 esac
5886 fi
5887 ;;
5888 sco3.2v5*)
5889 lt_cv_sys_max_cmd_len=102400
5890 ;;
5891 sysv5* | sco5v6* | sysv4.2uw2*)
5892 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5893 if test -n "$kargmax"; then
5894 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5895 else
5896 lt_cv_sys_max_cmd_len=32768
5897 fi
5898 ;;
5899 *)
5900 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5901 if test -n "$lt_cv_sys_max_cmd_len" && \
5902 test undefined != "$lt_cv_sys_max_cmd_len"; then
5903 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5904 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5905 else
5906 # Make teststring a little bigger before we do anything with it.
5907 # a 1K string should be a reasonable start.
5908 for i in 1 2 3 4 5 6 7 8; do
5909 teststring=$teststring$teststring
5910 done
5911 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5912 # If test is not a shell built-in, we'll probably end up computing a
5913 # maximum length that is only half of the actual maximum length, but
5914 # we can't tell.
5915 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5916 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5917 test 17 != "$i" # 1/2 MB should be enough
5918 do
5919 i=`expr $i + 1`
5920 teststring=$teststring$teststring
5921 done
5922 # Only check the string length outside the loop.
5923 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5924 teststring=
5925 # Add a significant safety factor because C++ compilers can tack on
5926 # massive amounts of additional arguments before passing them to the
5927 # linker. It appears as though 1/2 is a usable value.
5928 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5929 fi
5930 ;;
5931 esac
5932
5933 fi
5934
5935 if test -n "$lt_cv_sys_max_cmd_len"; then
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5937 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5938 else
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5940 $as_echo "none" >&6; }
5941 fi
5942 max_cmd_len=$lt_cv_sys_max_cmd_len
5943
5944
5945
5946
5947
5948
5949 : ${CP="cp -f"}
5950 : ${MV="mv -f"}
5951 : ${RM="rm -f"}
5952
5953 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5954 lt_unset=unset
5955 else
5956 lt_unset=false
5957 fi
5958
5959
5960
5961
5962
5963 # test EBCDIC or ASCII
5964 case `echo X|tr X '\101'` in
5965 A) # ASCII based system
5966 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5967 lt_SP2NL='tr \040 \012'
5968 lt_NL2SP='tr \015\012 \040\040'
5969 ;;
5970 *) # EBCDIC based system
5971 lt_SP2NL='tr \100 \n'
5972 lt_NL2SP='tr \r\n \100\100'
5973 ;;
5974 esac
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5985 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5986 if ${lt_cv_to_host_file_cmd+:} false; then :
5987 $as_echo_n "(cached) " >&6
5988 else
5989 case $host in
5990 *-*-mingw* )
5991 case $build in
5992 *-*-mingw* ) # actually msys
5993 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5994 ;;
5995 *-*-cygwin* )
5996 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5997 ;;
5998 * ) # otherwise, assume *nix
5999 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6000 ;;
6001 esac
6002 ;;
6003 *-*-cygwin* )
6004 case $build in
6005 *-*-mingw* ) # actually msys
6006 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6007 ;;
6008 *-*-cygwin* )
6009 lt_cv_to_host_file_cmd=func_convert_file_noop
6010 ;;
6011 * ) # otherwise, assume *nix
6012 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6013 ;;
6014 esac
6015 ;;
6016 * ) # unhandled hosts (and "normal" native builds)
6017 lt_cv_to_host_file_cmd=func_convert_file_noop
6018 ;;
6019 esac
6020
6021 fi
6022
6023 to_host_file_cmd=$lt_cv_to_host_file_cmd
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6025 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6026
6027
6028
6029
6030
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6032 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6033 if ${lt_cv_to_tool_file_cmd+:} false; then :
6034 $as_echo_n "(cached) " >&6
6035 else
6036 #assume ordinary cross tools, or native build.
6037 lt_cv_to_tool_file_cmd=func_convert_file_noop
6038 case $host in
6039 *-*-mingw* )
6040 case $build in
6041 *-*-mingw* ) # actually msys
6042 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6043 ;;
6044 esac
6045 ;;
6046 esac
6047
6048 fi
6049
6050 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6052 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6053
6054
6055
6056
6057
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6059 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6060 if ${lt_cv_ld_reload_flag+:} false; then :
6061 $as_echo_n "(cached) " >&6
6062 else
6063 lt_cv_ld_reload_flag='-r'
6064 fi
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6066 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6067 reload_flag=$lt_cv_ld_reload_flag
6068 case $reload_flag in
6069 "" | " "*) ;;
6070 *) reload_flag=" $reload_flag" ;;
6071 esac
6072 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6073 case $host_os in
6074 cygwin* | mingw* | pw32* | cegcc*)
6075 if test yes != "$GCC"; then
6076 reload_cmds=false
6077 fi
6078 ;;
6079 darwin*)
6080 if test yes = "$GCC"; then
6081 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6082 else
6083 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6084 fi
6085 ;;
6086 esac
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096 if test -n "$ac_tool_prefix"; then
6097 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6098 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6100 $as_echo_n "checking for $ac_word... " >&6; }
6101 if ${ac_cv_prog_OBJDUMP+:} false; then :
6102 $as_echo_n "(cached) " >&6
6103 else
6104 if test -n "$OBJDUMP"; then
6105 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6106 else
6107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6108 for as_dir in $PATH
6109 do
6110 IFS=$as_save_IFS
6111 test -z "$as_dir" && as_dir=.
6112 for ac_exec_ext in '' $ac_executable_extensions; do
6113 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6114 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6116 break 2
6117 fi
6118 done
6119 done
6120 IFS=$as_save_IFS
6121
6122 fi
6123 fi
6124 OBJDUMP=$ac_cv_prog_OBJDUMP
6125 if test -n "$OBJDUMP"; then
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6127 $as_echo "$OBJDUMP" >&6; }
6128 else
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6130 $as_echo "no" >&6; }
6131 fi
6132
6133
6134 fi
6135 if test -z "$ac_cv_prog_OBJDUMP"; then
6136 ac_ct_OBJDUMP=$OBJDUMP
6137 # Extract the first word of "objdump", so it can be a program name with args.
6138 set dummy objdump; ac_word=$2
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6140 $as_echo_n "checking for $ac_word... " >&6; }
6141 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6142 $as_echo_n "(cached) " >&6
6143 else
6144 if test -n "$ac_ct_OBJDUMP"; then
6145 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6146 else
6147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6148 for as_dir in $PATH
6149 do
6150 IFS=$as_save_IFS
6151 test -z "$as_dir" && as_dir=.
6152 for ac_exec_ext in '' $ac_executable_extensions; do
6153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6154 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6156 break 2
6157 fi
6158 done
6159 done
6160 IFS=$as_save_IFS
6161
6162 fi
6163 fi
6164 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6165 if test -n "$ac_ct_OBJDUMP"; then
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6167 $as_echo "$ac_ct_OBJDUMP" >&6; }
6168 else
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6170 $as_echo "no" >&6; }
6171 fi
6172
6173 if test "x$ac_ct_OBJDUMP" = x; then
6174 OBJDUMP="false"
6175 else
6176 case $cross_compiling:$ac_tool_warned in
6177 yes:)
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6179 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6180 ac_tool_warned=yes ;;
6181 esac
6182 OBJDUMP=$ac_ct_OBJDUMP
6183 fi
6184 else
6185 OBJDUMP="$ac_cv_prog_OBJDUMP"
6186 fi
6187
6188 test -z "$OBJDUMP" && OBJDUMP=objdump
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6199 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6200 if ${lt_cv_deplibs_check_method+:} false; then :
6201 $as_echo_n "(cached) " >&6
6202 else
6203 lt_cv_file_magic_cmd='$MAGIC_CMD'
6204 lt_cv_file_magic_test_file=
6205 lt_cv_deplibs_check_method='unknown'
6206 # Need to set the preceding variable on all platforms that support
6207 # interlibrary dependencies.
6208 # 'none' -- dependencies not supported.
6209 # 'unknown' -- same as none, but documents that we really don't know.
6210 # 'pass_all' -- all dependencies passed with no checks.
6211 # 'test_compile' -- check by making test program.
6212 # 'file_magic [[regex]]' -- check by looking for files in library path
6213 # that responds to the $file_magic_cmd with a given extended regex.
6214 # If you have 'file' or equivalent on your system and you're not sure
6215 # whether 'pass_all' will *always* work, you probably want this one.
6216
6217 case $host_os in
6218 aix[4-9]*)
6219 lt_cv_deplibs_check_method=pass_all
6220 ;;
6221
6222 beos*)
6223 lt_cv_deplibs_check_method=pass_all
6224 ;;
6225
6226 bsdi[45]*)
6227 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6228 lt_cv_file_magic_cmd='/usr/bin/file -L'
6229 lt_cv_file_magic_test_file=/shlib/libc.so
6230 ;;
6231
6232 cygwin*)
6233 # func_win32_libid is a shell function defined in ltmain.sh
6234 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6235 lt_cv_file_magic_cmd='func_win32_libid'
6236 ;;
6237
6238 mingw* | pw32*)
6239 # Base MSYS/MinGW do not provide the 'file' command needed by
6240 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6241 # unless we find 'file', for example because we are cross-compiling.
6242 if ( file / ) >/dev/null 2>&1; then
6243 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6244 lt_cv_file_magic_cmd='func_win32_libid'
6245 else
6246 # Keep this pattern in sync with the one in func_win32_libid.
6247 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6248 lt_cv_file_magic_cmd='$OBJDUMP -f'
6249 fi
6250 ;;
6251
6252 cegcc*)
6253 # use the weaker test based on 'objdump'. See mingw*.
6254 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6255 lt_cv_file_magic_cmd='$OBJDUMP -f'
6256 ;;
6257
6258 darwin* | rhapsody*)
6259 lt_cv_deplibs_check_method=pass_all
6260 ;;
6261
6262 freebsd* | dragonfly*)
6263 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6264 case $host_cpu in
6265 i*86 )
6266 # Not sure whether the presence of OpenBSD here was a mistake.
6267 # Let's accept both of them until this is cleared up.
6268 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6269 lt_cv_file_magic_cmd=/usr/bin/file
6270 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6271 ;;
6272 esac
6273 else
6274 lt_cv_deplibs_check_method=pass_all
6275 fi
6276 ;;
6277
6278 haiku*)
6279 lt_cv_deplibs_check_method=pass_all
6280 ;;
6281
6282 hpux10.20* | hpux11*)
6283 lt_cv_file_magic_cmd=/usr/bin/file
6284 case $host_cpu in
6285 ia64*)
6286 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6287 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6288 ;;
6289 hppa*64*)
6290 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]'
6291 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6292 ;;
6293 *)
6294 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6295 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6296 ;;
6297 esac
6298 ;;
6299
6300 interix[3-9]*)
6301 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6302 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6303 ;;
6304
6305 irix5* | irix6* | nonstopux*)
6306 case $LD in
6307 *-32|*"-32 ") libmagic=32-bit;;
6308 *-n32|*"-n32 ") libmagic=N32;;
6309 *-64|*"-64 ") libmagic=64-bit;;
6310 *) libmagic=never-match;;
6311 esac
6312 lt_cv_deplibs_check_method=pass_all
6313 ;;
6314
6315 # This must be glibc/ELF.
6316 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6317 lt_cv_deplibs_check_method=pass_all
6318 ;;
6319
6320 netbsd* | netbsdelf*-gnu)
6321 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6322 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6323 else
6324 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6325 fi
6326 ;;
6327
6328 newos6*)
6329 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6330 lt_cv_file_magic_cmd=/usr/bin/file
6331 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6332 ;;
6333
6334 *nto* | *qnx*)
6335 lt_cv_deplibs_check_method=pass_all
6336 ;;
6337
6338 openbsd* | bitrig*)
6339 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6340 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6341 else
6342 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6343 fi
6344 ;;
6345
6346 osf3* | osf4* | osf5*)
6347 lt_cv_deplibs_check_method=pass_all
6348 ;;
6349
6350 rdos*)
6351 lt_cv_deplibs_check_method=pass_all
6352 ;;
6353
6354 solaris*)
6355 lt_cv_deplibs_check_method=pass_all
6356 ;;
6357
6358 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6359 lt_cv_deplibs_check_method=pass_all
6360 ;;
6361
6362 sysv4 | sysv4.3*)
6363 case $host_vendor in
6364 motorola)
6365 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]'
6366 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6367 ;;
6368 ncr)
6369 lt_cv_deplibs_check_method=pass_all
6370 ;;
6371 sequent)
6372 lt_cv_file_magic_cmd='/bin/file'
6373 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6374 ;;
6375 sni)
6376 lt_cv_file_magic_cmd='/bin/file'
6377 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6378 lt_cv_file_magic_test_file=/lib/libc.so
6379 ;;
6380 siemens)
6381 lt_cv_deplibs_check_method=pass_all
6382 ;;
6383 pc)
6384 lt_cv_deplibs_check_method=pass_all
6385 ;;
6386 esac
6387 ;;
6388
6389 tpf*)
6390 lt_cv_deplibs_check_method=pass_all
6391 ;;
6392 os2*)
6393 lt_cv_deplibs_check_method=pass_all
6394 ;;
6395 esac
6396
6397 fi
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6399 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6400
6401 file_magic_glob=
6402 want_nocaseglob=no
6403 if test "$build" = "$host"; then
6404 case $host_os in
6405 mingw* | pw32*)
6406 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6407 want_nocaseglob=yes
6408 else
6409 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6410 fi
6411 ;;
6412 esac
6413 fi
6414
6415 file_magic_cmd=$lt_cv_file_magic_cmd
6416 deplibs_check_method=$lt_cv_deplibs_check_method
6417 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440 if test -n "$ac_tool_prefix"; then
6441 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6442 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6444 $as_echo_n "checking for $ac_word... " >&6; }
6445 if ${ac_cv_prog_DLLTOOL+:} false; then :
6446 $as_echo_n "(cached) " >&6
6447 else
6448 if test -n "$DLLTOOL"; then
6449 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6450 else
6451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6452 for as_dir in $PATH
6453 do
6454 IFS=$as_save_IFS
6455 test -z "$as_dir" && as_dir=.
6456 for ac_exec_ext in '' $ac_executable_extensions; do
6457 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6458 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6460 break 2
6461 fi
6462 done
6463 done
6464 IFS=$as_save_IFS
6465
6466 fi
6467 fi
6468 DLLTOOL=$ac_cv_prog_DLLTOOL
6469 if test -n "$DLLTOOL"; then
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6471 $as_echo "$DLLTOOL" >&6; }
6472 else
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6474 $as_echo "no" >&6; }
6475 fi
6476
6477
6478 fi
6479 if test -z "$ac_cv_prog_DLLTOOL"; then
6480 ac_ct_DLLTOOL=$DLLTOOL
6481 # Extract the first word of "dlltool", so it can be a program name with args.
6482 set dummy dlltool; ac_word=$2
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6484 $as_echo_n "checking for $ac_word... " >&6; }
6485 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6486 $as_echo_n "(cached) " >&6
6487 else
6488 if test -n "$ac_ct_DLLTOOL"; then
6489 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6490 else
6491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6492 for as_dir in $PATH
6493 do
6494 IFS=$as_save_IFS
6495 test -z "$as_dir" && as_dir=.
6496 for ac_exec_ext in '' $ac_executable_extensions; do
6497 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6498 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6500 break 2
6501 fi
6502 done
6503 done
6504 IFS=$as_save_IFS
6505
6506 fi
6507 fi
6508 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6509 if test -n "$ac_ct_DLLTOOL"; then
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6511 $as_echo "$ac_ct_DLLTOOL" >&6; }
6512 else
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6514 $as_echo "no" >&6; }
6515 fi
6516
6517 if test "x$ac_ct_DLLTOOL" = x; then
6518 DLLTOOL="false"
6519 else
6520 case $cross_compiling:$ac_tool_warned in
6521 yes:)
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6524 ac_tool_warned=yes ;;
6525 esac
6526 DLLTOOL=$ac_ct_DLLTOOL
6527 fi
6528 else
6529 DLLTOOL="$ac_cv_prog_DLLTOOL"
6530 fi
6531
6532 test -z "$DLLTOOL" && DLLTOOL=dlltool
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6544 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6545 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6546 $as_echo_n "(cached) " >&6
6547 else
6548 lt_cv_sharedlib_from_linklib_cmd='unknown'
6549
6550 case $host_os in
6551 cygwin* | mingw* | pw32* | cegcc*)
6552 # two different shell functions defined in ltmain.sh;
6553 # decide which one to use based on capabilities of $DLLTOOL
6554 case `$DLLTOOL --help 2>&1` in
6555 *--identify-strict*)
6556 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6557 ;;
6558 *)
6559 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6560 ;;
6561 esac
6562 ;;
6563 *)
6564 # fallback: assume linklib IS sharedlib
6565 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6566 ;;
6567 esac
6568
6569 fi
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6571 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6572 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6573 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6574
6575
6576
6577
6578
6579
6580
6581 if test -n "$ac_tool_prefix"; then
6582 for ac_prog in ar
6583 do
6584 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6585 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6587 $as_echo_n "checking for $ac_word... " >&6; }
6588 if ${ac_cv_prog_AR+:} false; then :
6589 $as_echo_n "(cached) " >&6
6590 else
6591 if test -n "$AR"; then
6592 ac_cv_prog_AR="$AR" # Let the user override the test.
6593 else
6594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6595 for as_dir in $PATH
6596 do
6597 IFS=$as_save_IFS
6598 test -z "$as_dir" && as_dir=.
6599 for ac_exec_ext in '' $ac_executable_extensions; do
6600 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6601 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6603 break 2
6604 fi
6605 done
6606 done
6607 IFS=$as_save_IFS
6608
6609 fi
6610 fi
6611 AR=$ac_cv_prog_AR
6612 if test -n "$AR"; then
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6614 $as_echo "$AR" >&6; }
6615 else
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6617 $as_echo "no" >&6; }
6618 fi
6619
6620
6621 test -n "$AR" && break
6622 done
6623 fi
6624 if test -z "$AR"; then
6625 ac_ct_AR=$AR
6626 for ac_prog in ar
6627 do
6628 # Extract the first word of "$ac_prog", so it can be a program name with args.
6629 set dummy $ac_prog; ac_word=$2
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6631 $as_echo_n "checking for $ac_word... " >&6; }
6632 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6633 $as_echo_n "(cached) " >&6
6634 else
6635 if test -n "$ac_ct_AR"; then
6636 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6637 else
6638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6639 for as_dir in $PATH
6640 do
6641 IFS=$as_save_IFS
6642 test -z "$as_dir" && as_dir=.
6643 for ac_exec_ext in '' $ac_executable_extensions; do
6644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6645 ac_cv_prog_ac_ct_AR="$ac_prog"
6646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6647 break 2
6648 fi
6649 done
6650 done
6651 IFS=$as_save_IFS
6652
6653 fi
6654 fi
6655 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6656 if test -n "$ac_ct_AR"; then
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6658 $as_echo "$ac_ct_AR" >&6; }
6659 else
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6661 $as_echo "no" >&6; }
6662 fi
6663
6664
6665 test -n "$ac_ct_AR" && break
6666 done
6667
6668 if test "x$ac_ct_AR" = x; then
6669 AR="false"
6670 else
6671 case $cross_compiling:$ac_tool_warned in
6672 yes:)
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6674 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6675 ac_tool_warned=yes ;;
6676 esac
6677 AR=$ac_ct_AR
6678 fi
6679 fi
6680
6681 : ${AR=ar}
6682 : ${AR_FLAGS=cru}
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6695 $as_echo_n "checking for archiver @FILE support... " >&6; }
6696 if ${lt_cv_ar_at_file+:} false; then :
6697 $as_echo_n "(cached) " >&6
6698 else
6699 lt_cv_ar_at_file=no
6700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6701 /* end confdefs.h. */
6702
6703 int
6704 main ()
6705 {
6706
6707 ;
6708 return 0;
6709 }
6710 _ACEOF
6711 if ac_fn_c_try_compile "$LINENO"; then :
6712 echo conftest.$ac_objext > conftest.lst
6713 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6714 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6715 (eval $lt_ar_try) 2>&5
6716 ac_status=$?
6717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6718 test $ac_status = 0; }
6719 if test 0 -eq "$ac_status"; then
6720 # Ensure the archiver fails upon bogus file names.
6721 rm -f conftest.$ac_objext libconftest.a
6722 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6723 (eval $lt_ar_try) 2>&5
6724 ac_status=$?
6725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6726 test $ac_status = 0; }
6727 if test 0 -ne "$ac_status"; then
6728 lt_cv_ar_at_file=@
6729 fi
6730 fi
6731 rm -f conftest.* libconftest.a
6732
6733 fi
6734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6735
6736 fi
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6738 $as_echo "$lt_cv_ar_at_file" >&6; }
6739
6740 if test no = "$lt_cv_ar_at_file"; then
6741 archiver_list_spec=
6742 else
6743 archiver_list_spec=$lt_cv_ar_at_file
6744 fi
6745
6746
6747
6748
6749
6750
6751
6752 if test -n "$ac_tool_prefix"; then
6753 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6754 set dummy ${ac_tool_prefix}strip; ac_word=$2
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6756 $as_echo_n "checking for $ac_word... " >&6; }
6757 if ${ac_cv_prog_STRIP+:} false; then :
6758 $as_echo_n "(cached) " >&6
6759 else
6760 if test -n "$STRIP"; then
6761 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6762 else
6763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6764 for as_dir in $PATH
6765 do
6766 IFS=$as_save_IFS
6767 test -z "$as_dir" && as_dir=.
6768 for ac_exec_ext in '' $ac_executable_extensions; do
6769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6770 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6772 break 2
6773 fi
6774 done
6775 done
6776 IFS=$as_save_IFS
6777
6778 fi
6779 fi
6780 STRIP=$ac_cv_prog_STRIP
6781 if test -n "$STRIP"; then
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6783 $as_echo "$STRIP" >&6; }
6784 else
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6786 $as_echo "no" >&6; }
6787 fi
6788
6789
6790 fi
6791 if test -z "$ac_cv_prog_STRIP"; then
6792 ac_ct_STRIP=$STRIP
6793 # Extract the first word of "strip", so it can be a program name with args.
6794 set dummy strip; ac_word=$2
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6796 $as_echo_n "checking for $ac_word... " >&6; }
6797 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6798 $as_echo_n "(cached) " >&6
6799 else
6800 if test -n "$ac_ct_STRIP"; then
6801 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6802 else
6803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6804 for as_dir in $PATH
6805 do
6806 IFS=$as_save_IFS
6807 test -z "$as_dir" && as_dir=.
6808 for ac_exec_ext in '' $ac_executable_extensions; do
6809 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6810 ac_cv_prog_ac_ct_STRIP="strip"
6811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6812 break 2
6813 fi
6814 done
6815 done
6816 IFS=$as_save_IFS
6817
6818 fi
6819 fi
6820 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6821 if test -n "$ac_ct_STRIP"; then
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6823 $as_echo "$ac_ct_STRIP" >&6; }
6824 else
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6826 $as_echo "no" >&6; }
6827 fi
6828
6829 if test "x$ac_ct_STRIP" = x; then
6830 STRIP=":"
6831 else
6832 case $cross_compiling:$ac_tool_warned in
6833 yes:)
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6835 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6836 ac_tool_warned=yes ;;
6837 esac
6838 STRIP=$ac_ct_STRIP
6839 fi
6840 else
6841 STRIP="$ac_cv_prog_STRIP"
6842 fi
6843
6844 test -z "$STRIP" && STRIP=:
6845
6846
6847
6848
6849
6850
6851 if test -n "$ac_tool_prefix"; then
6852 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6853 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6855 $as_echo_n "checking for $ac_word... " >&6; }
6856 if ${ac_cv_prog_RANLIB+:} false; then :
6857 $as_echo_n "(cached) " >&6
6858 else
6859 if test -n "$RANLIB"; then
6860 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6861 else
6862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6863 for as_dir in $PATH
6864 do
6865 IFS=$as_save_IFS
6866 test -z "$as_dir" && as_dir=.
6867 for ac_exec_ext in '' $ac_executable_extensions; do
6868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6869 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6871 break 2
6872 fi
6873 done
6874 done
6875 IFS=$as_save_IFS
6876
6877 fi
6878 fi
6879 RANLIB=$ac_cv_prog_RANLIB
6880 if test -n "$RANLIB"; then
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6882 $as_echo "$RANLIB" >&6; }
6883 else
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6885 $as_echo "no" >&6; }
6886 fi
6887
6888
6889 fi
6890 if test -z "$ac_cv_prog_RANLIB"; then
6891 ac_ct_RANLIB=$RANLIB
6892 # Extract the first word of "ranlib", so it can be a program name with args.
6893 set dummy ranlib; ac_word=$2
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6895 $as_echo_n "checking for $ac_word... " >&6; }
6896 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6897 $as_echo_n "(cached) " >&6
6898 else
6899 if test -n "$ac_ct_RANLIB"; then
6900 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6901 else
6902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6903 for as_dir in $PATH
6904 do
6905 IFS=$as_save_IFS
6906 test -z "$as_dir" && as_dir=.
6907 for ac_exec_ext in '' $ac_executable_extensions; do
6908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6909 ac_cv_prog_ac_ct_RANLIB="ranlib"
6910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6911 break 2
6912 fi
6913 done
6914 done
6915 IFS=$as_save_IFS
6916
6917 fi
6918 fi
6919 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6920 if test -n "$ac_ct_RANLIB"; then
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6922 $as_echo "$ac_ct_RANLIB" >&6; }
6923 else
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6925 $as_echo "no" >&6; }
6926 fi
6927
6928 if test "x$ac_ct_RANLIB" = x; then
6929 RANLIB=":"
6930 else
6931 case $cross_compiling:$ac_tool_warned in
6932 yes:)
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6934 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6935 ac_tool_warned=yes ;;
6936 esac
6937 RANLIB=$ac_ct_RANLIB
6938 fi
6939 else
6940 RANLIB="$ac_cv_prog_RANLIB"
6941 fi
6942
6943 test -z "$RANLIB" && RANLIB=:
6944
6945
6946
6947
6948
6949
6950 # Determine commands to create old-style static archives.
6951 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6952 old_postinstall_cmds='chmod 644 $oldlib'
6953 old_postuninstall_cmds=
6954
6955 if test -n "$RANLIB"; then
6956 case $host_os in
6957 bitrig* | openbsd*)
6958 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6959 ;;
6960 *)
6961 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6962 ;;
6963 esac
6964 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6965 fi
6966
6967 case $host_os in
6968 darwin*)
6969 lock_old_archive_extraction=yes ;;
6970 *)
6971 lock_old_archive_extraction=no ;;
6972 esac
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012 # If no C compiler was specified, use CC.
7013 LTCC=${LTCC-"$CC"}
7014
7015 # If no C compiler flags were specified, use CFLAGS.
7016 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7017
7018 # Allow CC to be a program name with arguments.
7019 compiler=$CC
7020
7021
7022 # Check for command to grab the raw symbol name followed by C symbol from nm.
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7024 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7025 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7026 $as_echo_n "(cached) " >&6
7027 else
7028
7029 # These are sane defaults that work on at least a few old systems.
7030 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7031
7032 # Character class describing NM global symbol codes.
7033 symcode='[BCDEGRST]'
7034
7035 # Regexp to match symbols that can be accessed directly from C.
7036 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7037
7038 # Define system-specific variables.
7039 case $host_os in
7040 aix*)
7041 symcode='[BCDT]'
7042 ;;
7043 cygwin* | mingw* | pw32* | cegcc*)
7044 symcode='[ABCDGISTW]'
7045 ;;
7046 hpux*)
7047 if test ia64 = "$host_cpu"; then
7048 symcode='[ABCDEGRST]'
7049 fi
7050 ;;
7051 irix* | nonstopux*)
7052 symcode='[BCDEGRST]'
7053 ;;
7054 osf*)
7055 symcode='[BCDEGQRST]'
7056 ;;
7057 solaris*)
7058 symcode='[BDRT]'
7059 ;;
7060 sco3.2v5*)
7061 symcode='[DT]'
7062 ;;
7063 sysv4.2uw2*)
7064 symcode='[DT]'
7065 ;;
7066 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7067 symcode='[ABDT]'
7068 ;;
7069 sysv4)
7070 symcode='[DFNSTU]'
7071 ;;
7072 esac
7073
7074 # If we're using GNU nm, then use its standard symbol codes.
7075 case `$NM -V 2>&1` in
7076 *GNU* | *'with BFD'*)
7077 symcode='[ABCDGIRSTW]' ;;
7078 esac
7079
7080 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7081 # Gets list of data symbols to import.
7082 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7083 # Adjust the below global symbol transforms to fixup imported variables.
7084 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7085 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7086 lt_c_name_lib_hook="\
7087 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7088 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7089 else
7090 # Disable hooks by default.
7091 lt_cv_sys_global_symbol_to_import=
7092 lt_cdecl_hook=
7093 lt_c_name_hook=
7094 lt_c_name_lib_hook=
7095 fi
7096
7097 # Transform an extracted symbol line into a proper C declaration.
7098 # Some systems (esp. on ia64) link data and code symbols differently,
7099 # so use this general approach.
7100 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7101 $lt_cdecl_hook\
7102 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7103 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7104
7105 # Transform an extracted symbol line into symbol name and symbol address
7106 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7107 $lt_c_name_hook\
7108 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7109 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7110
7111 # Transform an extracted symbol line into symbol name with lib prefix and
7112 # symbol address.
7113 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7114 $lt_c_name_lib_hook\
7115 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7116 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7117 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7118
7119 # Handle CRLF in mingw tool chain
7120 opt_cr=
7121 case $build_os in
7122 mingw*)
7123 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7124 ;;
7125 esac
7126
7127 # Try without a prefix underscore, then with it.
7128 for ac_symprfx in "" "_"; do
7129
7130 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7131 symxfrm="\\1 $ac_symprfx\\2 \\2"
7132
7133 # Write the raw and C identifiers.
7134 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7135 # Fake it for dumpbin and say T for any non-static function,
7136 # D for any global variable and I for any imported variable.
7137 # Also find C++ and __fastcall symbols from MSVC++,
7138 # which start with @ or ?.
7139 lt_cv_sys_global_symbol_pipe="$AWK '"\
7140 " {last_section=section; section=\$ 3};"\
7141 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7142 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7143 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7144 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7145 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7146 " \$ 0!~/External *\|/{next};"\
7147 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7148 " {if(hide[section]) next};"\
7149 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7150 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7151 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7152 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7153 " ' prfx=^$ac_symprfx"
7154 else
7155 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7156 fi
7157 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7158
7159 # Check to see that the pipe works correctly.
7160 pipe_works=no
7161
7162 rm -f conftest*
7163 cat > conftest.$ac_ext <<_LT_EOF
7164 #ifdef __cplusplus
7165 extern "C" {
7166 #endif
7167 char nm_test_var;
7168 void nm_test_func(void);
7169 void nm_test_func(void){}
7170 #ifdef __cplusplus
7171 }
7172 #endif
7173 int main(){nm_test_var='a';nm_test_func();return(0);}
7174 _LT_EOF
7175
7176 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7177 (eval $ac_compile) 2>&5
7178 ac_status=$?
7179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7180 test $ac_status = 0; }; then
7181 # Now try to grab the symbols.
7182 nlist=conftest.nm
7183 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7184 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7185 ac_status=$?
7186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7187 test $ac_status = 0; } && test -s "$nlist"; then
7188 # Try sorting and uniquifying the output.
7189 if sort "$nlist" | uniq > "$nlist"T; then
7190 mv -f "$nlist"T "$nlist"
7191 else
7192 rm -f "$nlist"T
7193 fi
7194
7195 # Make sure that we snagged all the symbols we need.
7196 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7197 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7198 cat <<_LT_EOF > conftest.$ac_ext
7199 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7200 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7201 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7202 relocations are performed -- see ld's documentation on pseudo-relocs. */
7203 # define LT_DLSYM_CONST
7204 #elif defined __osf__
7205 /* This system does not cope well with relocations in const data. */
7206 # define LT_DLSYM_CONST
7207 #else
7208 # define LT_DLSYM_CONST const
7209 #endif
7210
7211 #ifdef __cplusplus
7212 extern "C" {
7213 #endif
7214
7215 _LT_EOF
7216 # Now generate the symbol file.
7217 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7218
7219 cat <<_LT_EOF >> conftest.$ac_ext
7220
7221 /* The mapping between symbol names and symbols. */
7222 LT_DLSYM_CONST struct {
7223 const char *name;
7224 void *address;
7225 }
7226 lt__PROGRAM__LTX_preloaded_symbols[] =
7227 {
7228 { "@PROGRAM@", (void *) 0 },
7229 _LT_EOF
7230 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7231 cat <<\_LT_EOF >> conftest.$ac_ext
7232 {0, (void *) 0}
7233 };
7234
7235 /* This works around a problem in FreeBSD linker */
7236 #ifdef FREEBSD_WORKAROUND
7237 static const void *lt_preloaded_setup() {
7238 return lt__PROGRAM__LTX_preloaded_symbols;
7239 }
7240 #endif
7241
7242 #ifdef __cplusplus
7243 }
7244 #endif
7245 _LT_EOF
7246 # Now try linking the two files.
7247 mv conftest.$ac_objext conftstm.$ac_objext
7248 lt_globsym_save_LIBS=$LIBS
7249 lt_globsym_save_CFLAGS=$CFLAGS
7250 LIBS=conftstm.$ac_objext
7251 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7252 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7253 (eval $ac_link) 2>&5
7254 ac_status=$?
7255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7256 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7257 pipe_works=yes
7258 fi
7259 LIBS=$lt_globsym_save_LIBS
7260 CFLAGS=$lt_globsym_save_CFLAGS
7261 else
7262 echo "cannot find nm_test_func in $nlist" >&5
7263 fi
7264 else
7265 echo "cannot find nm_test_var in $nlist" >&5
7266 fi
7267 else
7268 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7269 fi
7270 else
7271 echo "$progname: failed program was:" >&5
7272 cat conftest.$ac_ext >&5
7273 fi
7274 rm -rf conftest* conftst*
7275
7276 # Do not use the global_symbol_pipe unless it works.
7277 if test yes = "$pipe_works"; then
7278 break
7279 else
7280 lt_cv_sys_global_symbol_pipe=
7281 fi
7282 done
7283
7284 fi
7285
7286 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7287 lt_cv_sys_global_symbol_to_cdecl=
7288 fi
7289 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7291 $as_echo "failed" >&6; }
7292 else
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7294 $as_echo "ok" >&6; }
7295 fi
7296
7297 # Response file support.
7298 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7299 nm_file_list_spec='@'
7300 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7301 nm_file_list_spec='@'
7302 fi
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7341 $as_echo_n "checking for sysroot... " >&6; }
7342
7343 # Check whether --with-sysroot was given.
7344 if test "${with_sysroot+set}" = set; then :
7345 withval=$with_sysroot;
7346 else
7347 with_sysroot=no
7348 fi
7349
7350
7351 lt_sysroot=
7352 case $with_sysroot in #(
7353 yes)
7354 if test yes = "$GCC"; then
7355 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7356 fi
7357 ;; #(
7358 /*)
7359 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7360 ;; #(
7361 no|'')
7362 ;; #(
7363 *)
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7365 $as_echo "$with_sysroot" >&6; }
7366 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7367 ;;
7368 esac
7369
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7371 $as_echo "${lt_sysroot:-no}" >&6; }
7372
7373
7374
7375
7376
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7378 $as_echo_n "checking for a working dd... " >&6; }
7379 if ${ac_cv_path_lt_DD+:} false; then :
7380 $as_echo_n "(cached) " >&6
7381 else
7382 printf 0123456789abcdef0123456789abcdef >conftest.i
7383 cat conftest.i conftest.i >conftest2.i
7384 : ${lt_DD:=$DD}
7385 if test -z "$lt_DD"; then
7386 ac_path_lt_DD_found=false
7387 # Loop through the user's path and test for each of PROGNAME-LIST
7388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7389 for as_dir in $PATH
7390 do
7391 IFS=$as_save_IFS
7392 test -z "$as_dir" && as_dir=.
7393 for ac_prog in dd; do
7394 for ac_exec_ext in '' $ac_executable_extensions; do
7395 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7396 as_fn_executable_p "$ac_path_lt_DD" || continue
7397 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7398 cmp -s conftest.i conftest.out \
7399 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7400 fi
7401 $ac_path_lt_DD_found && break 3
7402 done
7403 done
7404 done
7405 IFS=$as_save_IFS
7406 if test -z "$ac_cv_path_lt_DD"; then
7407 :
7408 fi
7409 else
7410 ac_cv_path_lt_DD=$lt_DD
7411 fi
7412
7413 rm -f conftest.i conftest2.i conftest.out
7414 fi
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7416 $as_echo "$ac_cv_path_lt_DD" >&6; }
7417
7418
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7420 $as_echo_n "checking how to truncate binary pipes... " >&6; }
7421 if ${lt_cv_truncate_bin+:} false; then :
7422 $as_echo_n "(cached) " >&6
7423 else
7424 printf 0123456789abcdef0123456789abcdef >conftest.i
7425 cat conftest.i conftest.i >conftest2.i
7426 lt_cv_truncate_bin=
7427 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7428 cmp -s conftest.i conftest.out \
7429 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7430 fi
7431 rm -f conftest.i conftest2.i conftest.out
7432 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7433 fi
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7435 $as_echo "$lt_cv_truncate_bin" >&6; }
7436
7437
7438
7439
7440
7441
7442
7443 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7444 func_cc_basename ()
7445 {
7446 for cc_temp in $*""; do
7447 case $cc_temp in
7448 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7449 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7450 \-*) ;;
7451 *) break;;
7452 esac
7453 done
7454 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7455 }
7456
7457 # Check whether --enable-libtool-lock was given.
7458 if test "${enable_libtool_lock+set}" = set; then :
7459 enableval=$enable_libtool_lock;
7460 fi
7461
7462 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7463
7464 # Some flags need to be propagated to the compiler or linker for good
7465 # libtool support.
7466 case $host in
7467 ia64-*-hpux*)
7468 # Find out what ABI is being produced by ac_compile, and set mode
7469 # options accordingly.
7470 echo 'int i;' > conftest.$ac_ext
7471 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7472 (eval $ac_compile) 2>&5
7473 ac_status=$?
7474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7475 test $ac_status = 0; }; then
7476 case `/usr/bin/file conftest.$ac_objext` in
7477 *ELF-32*)
7478 HPUX_IA64_MODE=32
7479 ;;
7480 *ELF-64*)
7481 HPUX_IA64_MODE=64
7482 ;;
7483 esac
7484 fi
7485 rm -rf conftest*
7486 ;;
7487 *-*-irix6*)
7488 # Find out what ABI is being produced by ac_compile, and set linker
7489 # options accordingly.
7490 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7491 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7492 (eval $ac_compile) 2>&5
7493 ac_status=$?
7494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7495 test $ac_status = 0; }; then
7496 if test yes = "$lt_cv_prog_gnu_ld"; then
7497 case `/usr/bin/file conftest.$ac_objext` in
7498 *32-bit*)
7499 LD="${LD-ld} -melf32bsmip"
7500 ;;
7501 *N32*)
7502 LD="${LD-ld} -melf32bmipn32"
7503 ;;
7504 *64-bit*)
7505 LD="${LD-ld} -melf64bmip"
7506 ;;
7507 esac
7508 else
7509 case `/usr/bin/file conftest.$ac_objext` in
7510 *32-bit*)
7511 LD="${LD-ld} -32"
7512 ;;
7513 *N32*)
7514 LD="${LD-ld} -n32"
7515 ;;
7516 *64-bit*)
7517 LD="${LD-ld} -64"
7518 ;;
7519 esac
7520 fi
7521 fi
7522 rm -rf conftest*
7523 ;;
7524
7525 mips64*-*linux*)
7526 # Find out what ABI is being produced by ac_compile, and set linker
7527 # options accordingly.
7528 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7529 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7530 (eval $ac_compile) 2>&5
7531 ac_status=$?
7532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7533 test $ac_status = 0; }; then
7534 emul=elf
7535 case `/usr/bin/file conftest.$ac_objext` in
7536 *32-bit*)
7537 emul="${emul}32"
7538 ;;
7539 *64-bit*)
7540 emul="${emul}64"
7541 ;;
7542 esac
7543 case `/usr/bin/file conftest.$ac_objext` in
7544 *MSB*)
7545 emul="${emul}btsmip"
7546 ;;
7547 *LSB*)
7548 emul="${emul}ltsmip"
7549 ;;
7550 esac
7551 case `/usr/bin/file conftest.$ac_objext` in
7552 *N32*)
7553 emul="${emul}n32"
7554 ;;
7555 esac
7556 LD="${LD-ld} -m $emul"
7557 fi
7558 rm -rf conftest*
7559 ;;
7560
7561 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7562 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7563 # Find out what ABI is being produced by ac_compile, and set linker
7564 # options accordingly. Note that the listed cases only cover the
7565 # situations where additional linker options are needed (such as when
7566 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7567 # vice versa); the common cases where no linker options are needed do
7568 # not appear in the list.
7569 echo 'int i;' > conftest.$ac_ext
7570 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7571 (eval $ac_compile) 2>&5
7572 ac_status=$?
7573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7574 test $ac_status = 0; }; then
7575 case `/usr/bin/file conftest.o` in
7576 *32-bit*)
7577 case $host in
7578 x86_64-*kfreebsd*-gnu)
7579 LD="${LD-ld} -m elf_i386_fbsd"
7580 ;;
7581 x86_64-*linux*)
7582 case `/usr/bin/file conftest.o` in
7583 *x86-64*)
7584 LD="${LD-ld} -m elf32_x86_64"
7585 ;;
7586 *)
7587 LD="${LD-ld} -m elf_i386"
7588 ;;
7589 esac
7590 ;;
7591 powerpc64le-*linux*)
7592 LD="${LD-ld} -m elf32lppclinux"
7593 ;;
7594 powerpc64-*linux*)
7595 LD="${LD-ld} -m elf32ppclinux"
7596 ;;
7597 s390x-*linux*)
7598 LD="${LD-ld} -m elf_s390"
7599 ;;
7600 sparc64-*linux*)
7601 LD="${LD-ld} -m elf32_sparc"
7602 ;;
7603 esac
7604 ;;
7605 *64-bit*)
7606 case $host in
7607 x86_64-*kfreebsd*-gnu)
7608 LD="${LD-ld} -m elf_x86_64_fbsd"
7609 ;;
7610 x86_64-*linux*)
7611 LD="${LD-ld} -m elf_x86_64"
7612 ;;
7613 powerpcle-*linux*)
7614 LD="${LD-ld} -m elf64lppc"
7615 ;;
7616 powerpc-*linux*)
7617 LD="${LD-ld} -m elf64ppc"
7618 ;;
7619 s390*-*linux*|s390*-*tpf*)
7620 LD="${LD-ld} -m elf64_s390"
7621 ;;
7622 sparc*-*linux*)
7623 LD="${LD-ld} -m elf64_sparc"
7624 ;;
7625 esac
7626 ;;
7627 esac
7628 fi
7629 rm -rf conftest*
7630 ;;
7631
7632 *-*-sco3.2v5*)
7633 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7634 SAVE_CFLAGS=$CFLAGS
7635 CFLAGS="$CFLAGS -belf"
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7637 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7638 if ${lt_cv_cc_needs_belf+:} false; then :
7639 $as_echo_n "(cached) " >&6
7640 else
7641 ac_ext=c
7642 ac_cpp='$CPP $CPPFLAGS'
7643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7646
7647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7648 /* end confdefs.h. */
7649
7650 int
7651 main ()
7652 {
7653
7654 ;
7655 return 0;
7656 }
7657 _ACEOF
7658 if ac_fn_c_try_link "$LINENO"; then :
7659 lt_cv_cc_needs_belf=yes
7660 else
7661 lt_cv_cc_needs_belf=no
7662 fi
7663 rm -f core conftest.err conftest.$ac_objext \
7664 conftest$ac_exeext conftest.$ac_ext
7665 ac_ext=c
7666 ac_cpp='$CPP $CPPFLAGS'
7667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7670
7671 fi
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7673 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7674 if test yes != "$lt_cv_cc_needs_belf"; then
7675 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7676 CFLAGS=$SAVE_CFLAGS
7677 fi
7678 ;;
7679 *-*solaris*)
7680 # Find out what ABI is being produced by ac_compile, and set linker
7681 # options accordingly.
7682 echo 'int i;' > conftest.$ac_ext
7683 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7684 (eval $ac_compile) 2>&5
7685 ac_status=$?
7686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7687 test $ac_status = 0; }; then
7688 case `/usr/bin/file conftest.o` in
7689 *64-bit*)
7690 case $lt_cv_prog_gnu_ld in
7691 yes*)
7692 case $host in
7693 i?86-*-solaris*|x86_64-*-solaris*)
7694 LD="${LD-ld} -m elf_x86_64"
7695 ;;
7696 sparc*-*-solaris*)
7697 LD="${LD-ld} -m elf64_sparc"
7698 ;;
7699 esac
7700 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7701 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7702 LD=${LD-ld}_sol2
7703 fi
7704 ;;
7705 *)
7706 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7707 LD="${LD-ld} -64"
7708 fi
7709 ;;
7710 esac
7711 ;;
7712 esac
7713 fi
7714 rm -rf conftest*
7715 ;;
7716 esac
7717
7718 need_locks=$enable_libtool_lock
7719
7720 if test -n "$ac_tool_prefix"; then
7721 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7722 set dummy ${ac_tool_prefix}mt; ac_word=$2
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7724 $as_echo_n "checking for $ac_word... " >&6; }
7725 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7726 $as_echo_n "(cached) " >&6
7727 else
7728 if test -n "$MANIFEST_TOOL"; then
7729 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7730 else
7731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7732 for as_dir in $PATH
7733 do
7734 IFS=$as_save_IFS
7735 test -z "$as_dir" && as_dir=.
7736 for ac_exec_ext in '' $ac_executable_extensions; do
7737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7738 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7740 break 2
7741 fi
7742 done
7743 done
7744 IFS=$as_save_IFS
7745
7746 fi
7747 fi
7748 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7749 if test -n "$MANIFEST_TOOL"; then
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7751 $as_echo "$MANIFEST_TOOL" >&6; }
7752 else
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7754 $as_echo "no" >&6; }
7755 fi
7756
7757
7758 fi
7759 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7760 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7761 # Extract the first word of "mt", so it can be a program name with args.
7762 set dummy mt; ac_word=$2
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7764 $as_echo_n "checking for $ac_word... " >&6; }
7765 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7766 $as_echo_n "(cached) " >&6
7767 else
7768 if test -n "$ac_ct_MANIFEST_TOOL"; then
7769 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7770 else
7771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7772 for as_dir in $PATH
7773 do
7774 IFS=$as_save_IFS
7775 test -z "$as_dir" && as_dir=.
7776 for ac_exec_ext in '' $ac_executable_extensions; do
7777 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7778 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7780 break 2
7781 fi
7782 done
7783 done
7784 IFS=$as_save_IFS
7785
7786 fi
7787 fi
7788 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7789 if test -n "$ac_ct_MANIFEST_TOOL"; then
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7791 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7792 else
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7794 $as_echo "no" >&6; }
7795 fi
7796
7797 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7798 MANIFEST_TOOL=":"
7799 else
7800 case $cross_compiling:$ac_tool_warned in
7801 yes:)
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7803 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7804 ac_tool_warned=yes ;;
7805 esac
7806 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7807 fi
7808 else
7809 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7810 fi
7811
7812 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7814 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7815 if ${lt_cv_path_mainfest_tool+:} false; then :
7816 $as_echo_n "(cached) " >&6
7817 else
7818 lt_cv_path_mainfest_tool=no
7819 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7820 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7821 cat conftest.err >&5
7822 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7823 lt_cv_path_mainfest_tool=yes
7824 fi
7825 rm -f conftest*
7826 fi
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7828 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7829 if test yes != "$lt_cv_path_mainfest_tool"; then
7830 MANIFEST_TOOL=:
7831 fi
7832
7833
7834
7835
7836
7837
7838 case $host_os in
7839 rhapsody* | darwin*)
7840 if test -n "$ac_tool_prefix"; then
7841 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7842 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7844 $as_echo_n "checking for $ac_word... " >&6; }
7845 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7846 $as_echo_n "(cached) " >&6
7847 else
7848 if test -n "$DSYMUTIL"; then
7849 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7850 else
7851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7852 for as_dir in $PATH
7853 do
7854 IFS=$as_save_IFS
7855 test -z "$as_dir" && as_dir=.
7856 for ac_exec_ext in '' $ac_executable_extensions; do
7857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7858 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7860 break 2
7861 fi
7862 done
7863 done
7864 IFS=$as_save_IFS
7865
7866 fi
7867 fi
7868 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7869 if test -n "$DSYMUTIL"; then
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7871 $as_echo "$DSYMUTIL" >&6; }
7872 else
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7874 $as_echo "no" >&6; }
7875 fi
7876
7877
7878 fi
7879 if test -z "$ac_cv_prog_DSYMUTIL"; then
7880 ac_ct_DSYMUTIL=$DSYMUTIL
7881 # Extract the first word of "dsymutil", so it can be a program name with args.
7882 set dummy dsymutil; ac_word=$2
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7884 $as_echo_n "checking for $ac_word... " >&6; }
7885 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7886 $as_echo_n "(cached) " >&6
7887 else
7888 if test -n "$ac_ct_DSYMUTIL"; then
7889 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7890 else
7891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7892 for as_dir in $PATH
7893 do
7894 IFS=$as_save_IFS
7895 test -z "$as_dir" && as_dir=.
7896 for ac_exec_ext in '' $ac_executable_extensions; do
7897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7898 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7900 break 2
7901 fi
7902 done
7903 done
7904 IFS=$as_save_IFS
7905
7906 fi
7907 fi
7908 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7909 if test -n "$ac_ct_DSYMUTIL"; then
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7911 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7912 else
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7914 $as_echo "no" >&6; }
7915 fi
7916
7917 if test "x$ac_ct_DSYMUTIL" = x; then
7918 DSYMUTIL=":"
7919 else
7920 case $cross_compiling:$ac_tool_warned in
7921 yes:)
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7923 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7924 ac_tool_warned=yes ;;
7925 esac
7926 DSYMUTIL=$ac_ct_DSYMUTIL
7927 fi
7928 else
7929 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7930 fi
7931
7932 if test -n "$ac_tool_prefix"; then
7933 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7934 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7936 $as_echo_n "checking for $ac_word... " >&6; }
7937 if ${ac_cv_prog_NMEDIT+:} false; then :
7938 $as_echo_n "(cached) " >&6
7939 else
7940 if test -n "$NMEDIT"; then
7941 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7942 else
7943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7944 for as_dir in $PATH
7945 do
7946 IFS=$as_save_IFS
7947 test -z "$as_dir" && as_dir=.
7948 for ac_exec_ext in '' $ac_executable_extensions; do
7949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7950 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7952 break 2
7953 fi
7954 done
7955 done
7956 IFS=$as_save_IFS
7957
7958 fi
7959 fi
7960 NMEDIT=$ac_cv_prog_NMEDIT
7961 if test -n "$NMEDIT"; then
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7963 $as_echo "$NMEDIT" >&6; }
7964 else
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7966 $as_echo "no" >&6; }
7967 fi
7968
7969
7970 fi
7971 if test -z "$ac_cv_prog_NMEDIT"; then
7972 ac_ct_NMEDIT=$NMEDIT
7973 # Extract the first word of "nmedit", so it can be a program name with args.
7974 set dummy nmedit; ac_word=$2
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7976 $as_echo_n "checking for $ac_word... " >&6; }
7977 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7978 $as_echo_n "(cached) " >&6
7979 else
7980 if test -n "$ac_ct_NMEDIT"; then
7981 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7982 else
7983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7984 for as_dir in $PATH
7985 do
7986 IFS=$as_save_IFS
7987 test -z "$as_dir" && as_dir=.
7988 for ac_exec_ext in '' $ac_executable_extensions; do
7989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7990 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7992 break 2
7993 fi
7994 done
7995 done
7996 IFS=$as_save_IFS
7997
7998 fi
7999 fi
8000 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8001 if test -n "$ac_ct_NMEDIT"; then
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8003 $as_echo "$ac_ct_NMEDIT" >&6; }
8004 else
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8006 $as_echo "no" >&6; }
8007 fi
8008
8009 if test "x$ac_ct_NMEDIT" = x; then
8010 NMEDIT=":"
8011 else
8012 case $cross_compiling:$ac_tool_warned in
8013 yes:)
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8015 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8016 ac_tool_warned=yes ;;
8017 esac
8018 NMEDIT=$ac_ct_NMEDIT
8019 fi
8020 else
8021 NMEDIT="$ac_cv_prog_NMEDIT"
8022 fi
8023
8024 if test -n "$ac_tool_prefix"; then
8025 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8026 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8028 $as_echo_n "checking for $ac_word... " >&6; }
8029 if ${ac_cv_prog_LIPO+:} false; then :
8030 $as_echo_n "(cached) " >&6
8031 else
8032 if test -n "$LIPO"; then
8033 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8034 else
8035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8036 for as_dir in $PATH
8037 do
8038 IFS=$as_save_IFS
8039 test -z "$as_dir" && as_dir=.
8040 for ac_exec_ext in '' $ac_executable_extensions; do
8041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8042 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8044 break 2
8045 fi
8046 done
8047 done
8048 IFS=$as_save_IFS
8049
8050 fi
8051 fi
8052 LIPO=$ac_cv_prog_LIPO
8053 if test -n "$LIPO"; then
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8055 $as_echo "$LIPO" >&6; }
8056 else
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8058 $as_echo "no" >&6; }
8059 fi
8060
8061
8062 fi
8063 if test -z "$ac_cv_prog_LIPO"; then
8064 ac_ct_LIPO=$LIPO
8065 # Extract the first word of "lipo", so it can be a program name with args.
8066 set dummy lipo; ac_word=$2
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8068 $as_echo_n "checking for $ac_word... " >&6; }
8069 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8070 $as_echo_n "(cached) " >&6
8071 else
8072 if test -n "$ac_ct_LIPO"; then
8073 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8074 else
8075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8076 for as_dir in $PATH
8077 do
8078 IFS=$as_save_IFS
8079 test -z "$as_dir" && as_dir=.
8080 for ac_exec_ext in '' $ac_executable_extensions; do
8081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8082 ac_cv_prog_ac_ct_LIPO="lipo"
8083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8084 break 2
8085 fi
8086 done
8087 done
8088 IFS=$as_save_IFS
8089
8090 fi
8091 fi
8092 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8093 if test -n "$ac_ct_LIPO"; then
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8095 $as_echo "$ac_ct_LIPO" >&6; }
8096 else
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8098 $as_echo "no" >&6; }
8099 fi
8100
8101 if test "x$ac_ct_LIPO" = x; then
8102 LIPO=":"
8103 else
8104 case $cross_compiling:$ac_tool_warned in
8105 yes:)
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8107 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8108 ac_tool_warned=yes ;;
8109 esac
8110 LIPO=$ac_ct_LIPO
8111 fi
8112 else
8113 LIPO="$ac_cv_prog_LIPO"
8114 fi
8115
8116 if test -n "$ac_tool_prefix"; then
8117 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8118 set dummy ${ac_tool_prefix}otool; ac_word=$2
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8120 $as_echo_n "checking for $ac_word... " >&6; }
8121 if ${ac_cv_prog_OTOOL+:} false; then :
8122 $as_echo_n "(cached) " >&6
8123 else
8124 if test -n "$OTOOL"; then
8125 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8126 else
8127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8128 for as_dir in $PATH
8129 do
8130 IFS=$as_save_IFS
8131 test -z "$as_dir" && as_dir=.
8132 for ac_exec_ext in '' $ac_executable_extensions; do
8133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8134 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8136 break 2
8137 fi
8138 done
8139 done
8140 IFS=$as_save_IFS
8141
8142 fi
8143 fi
8144 OTOOL=$ac_cv_prog_OTOOL
8145 if test -n "$OTOOL"; then
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8147 $as_echo "$OTOOL" >&6; }
8148 else
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8150 $as_echo "no" >&6; }
8151 fi
8152
8153
8154 fi
8155 if test -z "$ac_cv_prog_OTOOL"; then
8156 ac_ct_OTOOL=$OTOOL
8157 # Extract the first word of "otool", so it can be a program name with args.
8158 set dummy otool; ac_word=$2
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8160 $as_echo_n "checking for $ac_word... " >&6; }
8161 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8162 $as_echo_n "(cached) " >&6
8163 else
8164 if test -n "$ac_ct_OTOOL"; then
8165 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8166 else
8167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8168 for as_dir in $PATH
8169 do
8170 IFS=$as_save_IFS
8171 test -z "$as_dir" && as_dir=.
8172 for ac_exec_ext in '' $ac_executable_extensions; do
8173 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8174 ac_cv_prog_ac_ct_OTOOL="otool"
8175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8176 break 2
8177 fi
8178 done
8179 done
8180 IFS=$as_save_IFS
8181
8182 fi
8183 fi
8184 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8185 if test -n "$ac_ct_OTOOL"; then
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8187 $as_echo "$ac_ct_OTOOL" >&6; }
8188 else
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8190 $as_echo "no" >&6; }
8191 fi
8192
8193 if test "x$ac_ct_OTOOL" = x; then
8194 OTOOL=":"
8195 else
8196 case $cross_compiling:$ac_tool_warned in
8197 yes:)
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8199 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8200 ac_tool_warned=yes ;;
8201 esac
8202 OTOOL=$ac_ct_OTOOL
8203 fi
8204 else
8205 OTOOL="$ac_cv_prog_OTOOL"
8206 fi
8207
8208 if test -n "$ac_tool_prefix"; then
8209 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8210 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8212 $as_echo_n "checking for $ac_word... " >&6; }
8213 if ${ac_cv_prog_OTOOL64+:} false; then :
8214 $as_echo_n "(cached) " >&6
8215 else
8216 if test -n "$OTOOL64"; then
8217 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8218 else
8219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8220 for as_dir in $PATH
8221 do
8222 IFS=$as_save_IFS
8223 test -z "$as_dir" && as_dir=.
8224 for ac_exec_ext in '' $ac_executable_extensions; do
8225 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8226 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8228 break 2
8229 fi
8230 done
8231 done
8232 IFS=$as_save_IFS
8233
8234 fi
8235 fi
8236 OTOOL64=$ac_cv_prog_OTOOL64
8237 if test -n "$OTOOL64"; then
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8239 $as_echo "$OTOOL64" >&6; }
8240 else
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8242 $as_echo "no" >&6; }
8243 fi
8244
8245
8246 fi
8247 if test -z "$ac_cv_prog_OTOOL64"; then
8248 ac_ct_OTOOL64=$OTOOL64
8249 # Extract the first word of "otool64", so it can be a program name with args.
8250 set dummy otool64; ac_word=$2
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8252 $as_echo_n "checking for $ac_word... " >&6; }
8253 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8254 $as_echo_n "(cached) " >&6
8255 else
8256 if test -n "$ac_ct_OTOOL64"; then
8257 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8258 else
8259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8260 for as_dir in $PATH
8261 do
8262 IFS=$as_save_IFS
8263 test -z "$as_dir" && as_dir=.
8264 for ac_exec_ext in '' $ac_executable_extensions; do
8265 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8266 ac_cv_prog_ac_ct_OTOOL64="otool64"
8267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8268 break 2
8269 fi
8270 done
8271 done
8272 IFS=$as_save_IFS
8273
8274 fi
8275 fi
8276 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8277 if test -n "$ac_ct_OTOOL64"; then
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8279 $as_echo "$ac_ct_OTOOL64" >&6; }
8280 else
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8282 $as_echo "no" >&6; }
8283 fi
8284
8285 if test "x$ac_ct_OTOOL64" = x; then
8286 OTOOL64=":"
8287 else
8288 case $cross_compiling:$ac_tool_warned in
8289 yes:)
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8291 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8292 ac_tool_warned=yes ;;
8293 esac
8294 OTOOL64=$ac_ct_OTOOL64
8295 fi
8296 else
8297 OTOOL64="$ac_cv_prog_OTOOL64"
8298 fi
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8327 $as_echo_n "checking for -single_module linker flag... " >&6; }
8328 if ${lt_cv_apple_cc_single_mod+:} false; then :
8329 $as_echo_n "(cached) " >&6
8330 else
8331 lt_cv_apple_cc_single_mod=no
8332 if test -z "$LT_MULTI_MODULE"; then
8333 # By default we will add the -single_module flag. You can override
8334 # by either setting the environment variable LT_MULTI_MODULE
8335 # non-empty at configure time, or by adding -multi_module to the
8336 # link flags.
8337 rm -rf libconftest.dylib*
8338 echo "int foo(void){return 1;}" > conftest.c
8339 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8340 -dynamiclib -Wl,-single_module conftest.c" >&5
8341 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8342 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8343 _lt_result=$?
8344 # If there is a non-empty error log, and "single_module"
8345 # appears in it, assume the flag caused a linker warning
8346 if test -s conftest.err && $GREP single_module conftest.err; then
8347 cat conftest.err >&5
8348 # Otherwise, if the output was created with a 0 exit code from
8349 # the compiler, it worked.
8350 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8351 lt_cv_apple_cc_single_mod=yes
8352 else
8353 cat conftest.err >&5
8354 fi
8355 rm -rf libconftest.dylib*
8356 rm -f conftest.*
8357 fi
8358 fi
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8360 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8361
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8363 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8364 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8365 $as_echo_n "(cached) " >&6
8366 else
8367 lt_cv_ld_exported_symbols_list=no
8368 save_LDFLAGS=$LDFLAGS
8369 echo "_main" > conftest.sym
8370 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8372 /* end confdefs.h. */
8373
8374 int
8375 main ()
8376 {
8377
8378 ;
8379 return 0;
8380 }
8381 _ACEOF
8382 if ac_fn_c_try_link "$LINENO"; then :
8383 lt_cv_ld_exported_symbols_list=yes
8384 else
8385 lt_cv_ld_exported_symbols_list=no
8386 fi
8387 rm -f core conftest.err conftest.$ac_objext \
8388 conftest$ac_exeext conftest.$ac_ext
8389 LDFLAGS=$save_LDFLAGS
8390
8391 fi
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8393 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8394
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8396 $as_echo_n "checking for -force_load linker flag... " >&6; }
8397 if ${lt_cv_ld_force_load+:} false; then :
8398 $as_echo_n "(cached) " >&6
8399 else
8400 lt_cv_ld_force_load=no
8401 cat > conftest.c << _LT_EOF
8402 int forced_loaded() { return 2;}
8403 _LT_EOF
8404 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8405 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8406 echo "$AR cru libconftest.a conftest.o" >&5
8407 $AR cru libconftest.a conftest.o 2>&5
8408 echo "$RANLIB libconftest.a" >&5
8409 $RANLIB libconftest.a 2>&5
8410 cat > conftest.c << _LT_EOF
8411 int main() { return 0;}
8412 _LT_EOF
8413 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8414 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8415 _lt_result=$?
8416 if test -s conftest.err && $GREP force_load conftest.err; then
8417 cat conftest.err >&5
8418 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8419 lt_cv_ld_force_load=yes
8420 else
8421 cat conftest.err >&5
8422 fi
8423 rm -f conftest.err libconftest.a conftest conftest.c
8424 rm -rf conftest.dSYM
8425
8426 fi
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8428 $as_echo "$lt_cv_ld_force_load" >&6; }
8429 case $host_os in
8430 rhapsody* | darwin1.[012])
8431 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8432 darwin1.*)
8433 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8434 darwin*) # darwin 5.x on
8435 # if running on 10.5 or later, the deployment target defaults
8436 # to the OS version, if on x86, and 10.4, the deployment
8437 # target defaults to 10.4. Don't you love it?
8438 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8439 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8440 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8441 10.[012][,.]*)
8442 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8443 10.*)
8444 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8445 esac
8446 ;;
8447 esac
8448 if test yes = "$lt_cv_apple_cc_single_mod"; then
8449 _lt_dar_single_mod='$single_module'
8450 fi
8451 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8452 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8453 else
8454 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8455 fi
8456 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8457 _lt_dsymutil='~$DSYMUTIL $lib || :'
8458 else
8459 _lt_dsymutil=
8460 fi
8461 ;;
8462 esac
8463
8464 # func_munge_path_list VARIABLE PATH
8465 # -----------------------------------
8466 # VARIABLE is name of variable containing _space_ separated list of
8467 # directories to be munged by the contents of PATH, which is string
8468 # having a format:
8469 # "DIR[:DIR]:"
8470 # string "DIR[ DIR]" will be prepended to VARIABLE
8471 # ":DIR[:DIR]"
8472 # string "DIR[ DIR]" will be appended to VARIABLE
8473 # "DIRP[:DIRP]::[DIRA:]DIRA"
8474 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8475 # "DIRA[ DIRA]" will be appended to VARIABLE
8476 # "DIR[:DIR]"
8477 # VARIABLE will be replaced by "DIR[ DIR]"
8478 func_munge_path_list ()
8479 {
8480 case x$2 in
8481 x)
8482 ;;
8483 *:)
8484 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8485 ;;
8486 x:*)
8487 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8488 ;;
8489 *::*)
8490 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8491 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8492 ;;
8493 *)
8494 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8495 ;;
8496 esac
8497 }
8498
8499
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8501 $as_echo_n "checking for ANSI C header files... " >&6; }
8502 if ${ac_cv_header_stdc+:} false; then :
8503 $as_echo_n "(cached) " >&6
8504 else
8505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8506 /* end confdefs.h. */
8507 #include <stdlib.h>
8508 #include <stdarg.h>
8509 #include <string.h>
8510 #include <float.h>
8511
8512 int
8513 main ()
8514 {
8515
8516 ;
8517 return 0;
8518 }
8519 _ACEOF
8520 if ac_fn_c_try_compile "$LINENO"; then :
8521 ac_cv_header_stdc=yes
8522 else
8523 ac_cv_header_stdc=no
8524 fi
8525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8526
8527 if test $ac_cv_header_stdc = yes; then
8528 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8530 /* end confdefs.h. */
8531 #include <string.h>
8532
8533 _ACEOF
8534 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8535 $EGREP "memchr" >/dev/null 2>&1; then :
8536
8537 else
8538 ac_cv_header_stdc=no
8539 fi
8540 rm -f conftest*
8541
8542 fi
8543
8544 if test $ac_cv_header_stdc = yes; then
8545 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8547 /* end confdefs.h. */
8548 #include <stdlib.h>
8549
8550 _ACEOF
8551 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8552 $EGREP "free" >/dev/null 2>&1; then :
8553
8554 else
8555 ac_cv_header_stdc=no
8556 fi
8557 rm -f conftest*
8558
8559 fi
8560
8561 if test $ac_cv_header_stdc = yes; then
8562 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8563 if test "$cross_compiling" = yes; then :
8564 :
8565 else
8566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8567 /* end confdefs.h. */
8568 #include <ctype.h>
8569 #include <stdlib.h>
8570 #if ((' ' & 0x0FF) == 0x020)
8571 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8572 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8573 #else
8574 # define ISLOWER(c) \
8575 (('a' <= (c) && (c) <= 'i') \
8576 || ('j' <= (c) && (c) <= 'r') \
8577 || ('s' <= (c) && (c) <= 'z'))
8578 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8579 #endif
8580
8581 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8582 int
8583 main ()
8584 {
8585 int i;
8586 for (i = 0; i < 256; i++)
8587 if (XOR (islower (i), ISLOWER (i))
8588 || toupper (i) != TOUPPER (i))
8589 return 2;
8590 return 0;
8591 }
8592 _ACEOF
8593 if ac_fn_c_try_run "$LINENO"; then :
8594
8595 else
8596 ac_cv_header_stdc=no
8597 fi
8598 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8599 conftest.$ac_objext conftest.beam conftest.$ac_ext
8600 fi
8601
8602 fi
8603 fi
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8605 $as_echo "$ac_cv_header_stdc" >&6; }
8606 if test $ac_cv_header_stdc = yes; then
8607
8608 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8609
8610 fi
8611
8612 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8613 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8614 inttypes.h stdint.h unistd.h
8615 do :
8616 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8617 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8618 "
8619 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8620 cat >>confdefs.h <<_ACEOF
8621 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8622 _ACEOF
8623
8624 fi
8625
8626 done
8627
8628
8629 for ac_header in dlfcn.h
8630 do :
8631 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8632 "
8633 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8634 cat >>confdefs.h <<_ACEOF
8635 #define HAVE_DLFCN_H 1
8636 _ACEOF
8637
8638 fi
8639
8640 done
8641
8642
8643
8644
8645
8646 # Set options
8647
8648
8649
8650 enable_dlopen=no
8651
8652
8653 enable_win32_dll=no
8654
8655
8656 # Check whether --enable-shared was given.
8657 if test "${enable_shared+set}" = set; then :
8658 enableval=$enable_shared; p=${PACKAGE-default}
8659 case $enableval in
8660 yes) enable_shared=yes ;;
8661 no) enable_shared=no ;;
8662 *)
8663 enable_shared=no
8664 # Look at the argument we got. We use all the common list separators.
8665 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8666 for pkg in $enableval; do
8667 IFS=$lt_save_ifs
8668 if test "X$pkg" = "X$p"; then
8669 enable_shared=yes
8670 fi
8671 done
8672 IFS=$lt_save_ifs
8673 ;;
8674 esac
8675 else
8676 enable_shared=yes
8677 fi
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687 # Check whether --enable-static was given.
8688 if test "${enable_static+set}" = set; then :
8689 enableval=$enable_static; p=${PACKAGE-default}
8690 case $enableval in
8691 yes) enable_static=yes ;;
8692 no) enable_static=no ;;
8693 *)
8694 enable_static=no
8695 # Look at the argument we got. We use all the common list separators.
8696 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8697 for pkg in $enableval; do
8698 IFS=$lt_save_ifs
8699 if test "X$pkg" = "X$p"; then
8700 enable_static=yes
8701 fi
8702 done
8703 IFS=$lt_save_ifs
8704 ;;
8705 esac
8706 else
8707 enable_static=yes
8708 fi
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719 # Check whether --with-pic was given.
8720 if test "${with_pic+set}" = set; then :
8721 withval=$with_pic; lt_p=${PACKAGE-default}
8722 case $withval in
8723 yes|no) pic_mode=$withval ;;
8724 *)
8725 pic_mode=default
8726 # Look at the argument we got. We use all the common list separators.
8727 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8728 for lt_pkg in $withval; do
8729 IFS=$lt_save_ifs
8730 if test "X$lt_pkg" = "X$lt_p"; then
8731 pic_mode=yes
8732 fi
8733 done
8734 IFS=$lt_save_ifs
8735 ;;
8736 esac
8737 else
8738 pic_mode=default
8739 fi
8740
8741
8742
8743
8744
8745
8746
8747
8748 # Check whether --enable-fast-install was given.
8749 if test "${enable_fast_install+set}" = set; then :
8750 enableval=$enable_fast_install; p=${PACKAGE-default}
8751 case $enableval in
8752 yes) enable_fast_install=yes ;;
8753 no) enable_fast_install=no ;;
8754 *)
8755 enable_fast_install=no
8756 # Look at the argument we got. We use all the common list separators.
8757 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8758 for pkg in $enableval; do
8759 IFS=$lt_save_ifs
8760 if test "X$pkg" = "X$p"; then
8761 enable_fast_install=yes
8762 fi
8763 done
8764 IFS=$lt_save_ifs
8765 ;;
8766 esac
8767 else
8768 enable_fast_install=yes
8769 fi
8770
8771
8772
8773
8774
8775
8776
8777
8778 shared_archive_member_spec=
8779 case $host,$enable_shared in
8780 power*-*-aix[5-9]*,yes)
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8782 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8783
8784 # Check whether --with-aix-soname was given.
8785 if test "${with_aix_soname+set}" = set; then :
8786 withval=$with_aix_soname; case $withval in
8787 aix|svr4|both)
8788 ;;
8789 *)
8790 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8791 ;;
8792 esac
8793 lt_cv_with_aix_soname=$with_aix_soname
8794 else
8795 if ${lt_cv_with_aix_soname+:} false; then :
8796 $as_echo_n "(cached) " >&6
8797 else
8798 lt_cv_with_aix_soname=aix
8799 fi
8800
8801 with_aix_soname=$lt_cv_with_aix_soname
8802 fi
8803
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8805 $as_echo "$with_aix_soname" >&6; }
8806 if test aix != "$with_aix_soname"; then
8807 # For the AIX way of multilib, we name the shared archive member
8808 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8809 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8810 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8811 # the AIX toolchain works better with OBJECT_MODE set (default 32).
8812 if test 64 = "${OBJECT_MODE-32}"; then
8813 shared_archive_member_spec=shr_64
8814 else
8815 shared_archive_member_spec=shr
8816 fi
8817 fi
8818 ;;
8819 *)
8820 with_aix_soname=aix
8821 ;;
8822 esac
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833 # This can be used to rebuild libtool when needed
8834 LIBTOOL_DEPS=$ltmain
8835
8836 # Always use our own libtool.
8837 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868 test -z "$LN_S" && LN_S="ln -s"
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883 if test -n "${ZSH_VERSION+set}"; then
8884 setopt NO_GLOB_SUBST
8885 fi
8886
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8888 $as_echo_n "checking for objdir... " >&6; }
8889 if ${lt_cv_objdir+:} false; then :
8890 $as_echo_n "(cached) " >&6
8891 else
8892 rm -f .libs 2>/dev/null
8893 mkdir .libs 2>/dev/null
8894 if test -d .libs; then
8895 lt_cv_objdir=.libs
8896 else
8897 # MS-DOS does not allow filenames that begin with a dot.
8898 lt_cv_objdir=_libs
8899 fi
8900 rmdir .libs 2>/dev/null
8901 fi
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8903 $as_echo "$lt_cv_objdir" >&6; }
8904 objdir=$lt_cv_objdir
8905
8906
8907
8908
8909
8910 cat >>confdefs.h <<_ACEOF
8911 #define LT_OBJDIR "$lt_cv_objdir/"
8912 _ACEOF
8913
8914
8915
8916
8917 case $host_os in
8918 aix3*)
8919 # AIX sometimes has problems with the GCC collect2 program. For some
8920 # reason, if we set the COLLECT_NAMES environment variable, the problems
8921 # vanish in a puff of smoke.
8922 if test set != "${COLLECT_NAMES+set}"; then
8923 COLLECT_NAMES=
8924 export COLLECT_NAMES
8925 fi
8926 ;;
8927 esac
8928
8929 # Global variables:
8930 ofile=libtool
8931 can_build_shared=yes
8932
8933 # All known linkers require a '.a' archive for static linking (except MSVC,
8934 # which needs '.lib').
8935 libext=a
8936
8937 with_gnu_ld=$lt_cv_prog_gnu_ld
8938
8939 old_CC=$CC
8940 old_CFLAGS=$CFLAGS
8941
8942 # Set sane defaults for various variables
8943 test -z "$CC" && CC=cc
8944 test -z "$LTCC" && LTCC=$CC
8945 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8946 test -z "$LD" && LD=ld
8947 test -z "$ac_objext" && ac_objext=o
8948
8949 func_cc_basename $compiler
8950 cc_basename=$func_cc_basename_result
8951
8952
8953 # Only perform the check for file, if the check method requires it
8954 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8955 case $deplibs_check_method in
8956 file_magic*)
8957 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8959 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8960 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8961 $as_echo_n "(cached) " >&6
8962 else
8963 case $MAGIC_CMD in
8964 [\\/*] | ?:[\\/]*)
8965 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8966 ;;
8967 *)
8968 lt_save_MAGIC_CMD=$MAGIC_CMD
8969 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8970 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8971 for ac_dir in $ac_dummy; do
8972 IFS=$lt_save_ifs
8973 test -z "$ac_dir" && ac_dir=.
8974 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8975 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8976 if test -n "$file_magic_test_file"; then
8977 case $deplibs_check_method in
8978 "file_magic "*)
8979 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8980 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8981 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8982 $EGREP "$file_magic_regex" > /dev/null; then
8983 :
8984 else
8985 cat <<_LT_EOF 1>&2
8986
8987 *** Warning: the command libtool uses to detect shared libraries,
8988 *** $file_magic_cmd, produces output that libtool cannot recognize.
8989 *** The result is that libtool may fail to recognize shared libraries
8990 *** as such. This will affect the creation of libtool libraries that
8991 *** depend on shared libraries, but programs linked with such libtool
8992 *** libraries will work regardless of this problem. Nevertheless, you
8993 *** may want to report the problem to your system manager and/or to
8994 *** [email protected]
8995
8996 _LT_EOF
8997 fi ;;
8998 esac
8999 fi
9000 break
9001 fi
9002 done
9003 IFS=$lt_save_ifs
9004 MAGIC_CMD=$lt_save_MAGIC_CMD
9005 ;;
9006 esac
9007 fi
9008
9009 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9010 if test -n "$MAGIC_CMD"; then
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9012 $as_echo "$MAGIC_CMD" >&6; }
9013 else
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9015 $as_echo "no" >&6; }
9016 fi
9017
9018
9019
9020
9021
9022 if test -z "$lt_cv_path_MAGIC_CMD"; then
9023 if test -n "$ac_tool_prefix"; then
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9025 $as_echo_n "checking for file... " >&6; }
9026 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9027 $as_echo_n "(cached) " >&6
9028 else
9029 case $MAGIC_CMD in
9030 [\\/*] | ?:[\\/]*)
9031 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9032 ;;
9033 *)
9034 lt_save_MAGIC_CMD=$MAGIC_CMD
9035 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9036 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9037 for ac_dir in $ac_dummy; do
9038 IFS=$lt_save_ifs
9039 test -z "$ac_dir" && ac_dir=.
9040 if test -f "$ac_dir/file"; then
9041 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9042 if test -n "$file_magic_test_file"; then
9043 case $deplibs_check_method in
9044 "file_magic "*)
9045 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9046 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9047 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9048 $EGREP "$file_magic_regex" > /dev/null; then
9049 :
9050 else
9051 cat <<_LT_EOF 1>&2
9052
9053 *** Warning: the command libtool uses to detect shared libraries,
9054 *** $file_magic_cmd, produces output that libtool cannot recognize.
9055 *** The result is that libtool may fail to recognize shared libraries
9056 *** as such. This will affect the creation of libtool libraries that
9057 *** depend on shared libraries, but programs linked with such libtool
9058 *** libraries will work regardless of this problem. Nevertheless, you
9059 *** may want to report the problem to your system manager and/or to
9060 *** [email protected]
9061
9062 _LT_EOF
9063 fi ;;
9064 esac
9065 fi
9066 break
9067 fi
9068 done
9069 IFS=$lt_save_ifs
9070 MAGIC_CMD=$lt_save_MAGIC_CMD
9071 ;;
9072 esac
9073 fi
9074
9075 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9076 if test -n "$MAGIC_CMD"; then
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9078 $as_echo "$MAGIC_CMD" >&6; }
9079 else
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9081 $as_echo "no" >&6; }
9082 fi
9083
9084
9085 else
9086 MAGIC_CMD=:
9087 fi
9088 fi
9089
9090 fi
9091 ;;
9092 esac
9093
9094 # Use C for the default configuration in the libtool script
9095
9096 lt_save_CC=$CC
9097 ac_ext=c
9098 ac_cpp='$CPP $CPPFLAGS'
9099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9102
9103
9104 # Source file extension for C test sources.
9105 ac_ext=c
9106
9107 # Object file extension for compiled C test sources.
9108 objext=o
9109 objext=$objext
9110
9111 # Code to be used in simple compile tests
9112 lt_simple_compile_test_code="int some_variable = 0;"
9113
9114 # Code to be used in simple link tests
9115 lt_simple_link_test_code='int main(){return(0);}'
9116
9117
9118
9119
9120
9121
9122
9123 # If no C compiler was specified, use CC.
9124 LTCC=${LTCC-"$CC"}
9125
9126 # If no C compiler flags were specified, use CFLAGS.
9127 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9128
9129 # Allow CC to be a program name with arguments.
9130 compiler=$CC
9131
9132 # Save the default compiler, since it gets overwritten when the other
9133 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9134 compiler_DEFAULT=$CC
9135
9136 # save warnings/boilerplate of simple test code
9137 ac_outfile=conftest.$ac_objext
9138 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9139 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9140 _lt_compiler_boilerplate=`cat conftest.err`
9141 $RM conftest*
9142
9143 ac_outfile=conftest.$ac_objext
9144 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9145 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9146 _lt_linker_boilerplate=`cat conftest.err`
9147 $RM -r conftest*
9148
9149
9150 ## CAVEAT EMPTOR:
9151 ## There is no encapsulation within the following macros, do not change
9152 ## the running order or otherwise move them around unless you know exactly
9153 ## what you are doing...
9154 if test -n "$compiler"; then
9155
9156 lt_prog_compiler_no_builtin_flag=
9157
9158 if test yes = "$GCC"; then
9159 case $cc_basename in
9160 nvcc*)
9161 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9162 *)
9163 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9164 esac
9165
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9167 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9168 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9169 $as_echo_n "(cached) " >&6
9170 else
9171 lt_cv_prog_compiler_rtti_exceptions=no
9172 ac_outfile=conftest.$ac_objext
9173 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9174 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9175 # Insert the option either (1) after the last *FLAGS variable, or
9176 # (2) before a word containing "conftest.", or (3) at the end.
9177 # Note that $ac_compile itself does not contain backslashes and begins
9178 # with a dollar sign (not a hyphen), so the echo should work correctly.
9179 # The option is referenced via a variable to avoid confusing sed.
9180 lt_compile=`echo "$ac_compile" | $SED \
9181 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9182 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9183 -e 's:$: $lt_compiler_flag:'`
9184 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9185 (eval "$lt_compile" 2>conftest.err)
9186 ac_status=$?
9187 cat conftest.err >&5
9188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9189 if (exit $ac_status) && test -s "$ac_outfile"; then
9190 # The compiler can only warn and ignore the option if not recognized
9191 # So say no if there are warnings other than the usual output.
9192 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9193 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9194 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9195 lt_cv_prog_compiler_rtti_exceptions=yes
9196 fi
9197 fi
9198 $RM conftest*
9199
9200 fi
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9202 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9203
9204 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9205 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9206 else
9207 :
9208 fi
9209
9210 fi
9211
9212
9213
9214
9215
9216
9217 lt_prog_compiler_wl=
9218 lt_prog_compiler_pic=
9219 lt_prog_compiler_static=
9220
9221
9222 if test yes = "$GCC"; then
9223 lt_prog_compiler_wl='-Wl,'
9224 lt_prog_compiler_static='-static'
9225
9226 case $host_os in
9227 aix*)
9228 # All AIX code is PIC.
9229 if test ia64 = "$host_cpu"; then
9230 # AIX 5 now supports IA64 processor
9231 lt_prog_compiler_static='-Bstatic'
9232 fi
9233 lt_prog_compiler_pic='-fPIC'
9234 ;;
9235
9236 amigaos*)
9237 case $host_cpu in
9238 powerpc)
9239 # see comment about AmigaOS4 .so support
9240 lt_prog_compiler_pic='-fPIC'
9241 ;;
9242 m68k)
9243 # FIXME: we need at least 68020 code to build shared libraries, but
9244 # adding the '-m68020' flag to GCC prevents building anything better,
9245 # like '-m68040'.
9246 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9247 ;;
9248 esac
9249 ;;
9250
9251 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9252 # PIC is the default for these OSes.
9253 ;;
9254
9255 mingw* | cygwin* | pw32* | os2* | cegcc*)
9256 # This hack is so that the source file can tell whether it is being
9257 # built for inclusion in a dll (and should export symbols for example).
9258 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9259 # (--disable-auto-import) libraries
9260 lt_prog_compiler_pic='-DDLL_EXPORT'
9261 case $host_os in
9262 os2*)
9263 lt_prog_compiler_static='$wl-static'
9264 ;;
9265 esac
9266 ;;
9267
9268 darwin* | rhapsody*)
9269 # PIC is the default on this platform
9270 # Common symbols not allowed in MH_DYLIB files
9271 lt_prog_compiler_pic='-fno-common'
9272 ;;
9273
9274 haiku*)
9275 # PIC is the default for Haiku.
9276 # The "-static" flag exists, but is broken.
9277 lt_prog_compiler_static=
9278 ;;
9279
9280 hpux*)
9281 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9282 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9283 # sets the default TLS model and affects inlining.
9284 case $host_cpu in
9285 hppa*64*)
9286 # +Z the default
9287 ;;
9288 *)
9289 lt_prog_compiler_pic='-fPIC'
9290 ;;
9291 esac
9292 ;;
9293
9294 interix[3-9]*)
9295 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9296 # Instead, we relocate shared libraries at runtime.
9297 ;;
9298
9299 msdosdjgpp*)
9300 # Just because we use GCC doesn't mean we suddenly get shared libraries
9301 # on systems that don't support them.
9302 lt_prog_compiler_can_build_shared=no
9303 enable_shared=no
9304 ;;
9305
9306 *nto* | *qnx*)
9307 # QNX uses GNU C++, but need to define -shared option too, otherwise
9308 # it will coredump.
9309 lt_prog_compiler_pic='-fPIC -shared'
9310 ;;
9311
9312 sysv4*MP*)
9313 if test -d /usr/nec; then
9314 lt_prog_compiler_pic=-Kconform_pic
9315 fi
9316 ;;
9317
9318 *)
9319 lt_prog_compiler_pic='-fPIC'
9320 ;;
9321 esac
9322
9323 case $cc_basename in
9324 nvcc*) # Cuda Compiler Driver 2.2
9325 lt_prog_compiler_wl='-Xlinker '
9326 if test -n "$lt_prog_compiler_pic"; then
9327 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9328 fi
9329 ;;
9330 esac
9331 else
9332 # PORTME Check for flag to pass linker flags through the system compiler.
9333 case $host_os in
9334 aix*)
9335 lt_prog_compiler_wl='-Wl,'
9336 if test ia64 = "$host_cpu"; then
9337 # AIX 5 now supports IA64 processor
9338 lt_prog_compiler_static='-Bstatic'
9339 else
9340 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9341 fi
9342 ;;
9343
9344 darwin* | rhapsody*)
9345 # PIC is the default on this platform
9346 # Common symbols not allowed in MH_DYLIB files
9347 lt_prog_compiler_pic='-fno-common'
9348 case $cc_basename in
9349 nagfor*)
9350 # NAG Fortran compiler
9351 lt_prog_compiler_wl='-Wl,-Wl,,'
9352 lt_prog_compiler_pic='-PIC'
9353 lt_prog_compiler_static='-Bstatic'
9354 ;;
9355 esac
9356 ;;
9357
9358 mingw* | cygwin* | pw32* | os2* | cegcc*)
9359 # This hack is so that the source file can tell whether it is being
9360 # built for inclusion in a dll (and should export symbols for example).
9361 lt_prog_compiler_pic='-DDLL_EXPORT'
9362 case $host_os in
9363 os2*)
9364 lt_prog_compiler_static='$wl-static'
9365 ;;
9366 esac
9367 ;;
9368
9369 hpux9* | hpux10* | hpux11*)
9370 lt_prog_compiler_wl='-Wl,'
9371 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9372 # not for PA HP-UX.
9373 case $host_cpu in
9374 hppa*64*|ia64*)
9375 # +Z the default
9376 ;;
9377 *)
9378 lt_prog_compiler_pic='+Z'
9379 ;;
9380 esac
9381 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9382 lt_prog_compiler_static='$wl-a ${wl}archive'
9383 ;;
9384
9385 irix5* | irix6* | nonstopux*)
9386 lt_prog_compiler_wl='-Wl,'
9387 # PIC (with -KPIC) is the default.
9388 lt_prog_compiler_static='-non_shared'
9389 ;;
9390
9391 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9392 case $cc_basename in
9393 # old Intel for x86_64, which still supported -KPIC.
9394 ecc*)
9395 lt_prog_compiler_wl='-Wl,'
9396 lt_prog_compiler_pic='-KPIC'
9397 lt_prog_compiler_static='-static'
9398 ;;
9399 # icc used to be incompatible with GCC.
9400 # ICC 10 doesn't accept -KPIC any more.
9401 icc* | ifort*)
9402 lt_prog_compiler_wl='-Wl,'
9403 lt_prog_compiler_pic='-fPIC'
9404 lt_prog_compiler_static='-static'
9405 ;;
9406 # Lahey Fortran 8.1.
9407 lf95*)
9408 lt_prog_compiler_wl='-Wl,'
9409 lt_prog_compiler_pic='--shared'
9410 lt_prog_compiler_static='--static'
9411 ;;
9412 nagfor*)
9413 # NAG Fortran compiler
9414 lt_prog_compiler_wl='-Wl,-Wl,,'
9415 lt_prog_compiler_pic='-PIC'
9416 lt_prog_compiler_static='-Bstatic'
9417 ;;
9418 tcc*)
9419 # Fabrice Bellard et al's Tiny C Compiler
9420 lt_prog_compiler_wl='-Wl,'
9421 lt_prog_compiler_pic='-fPIC'
9422 lt_prog_compiler_static='-static'
9423 ;;
9424 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9425 # Portland Group compilers (*not* the Pentium gcc compiler,
9426 # which looks to be a dead project)
9427 lt_prog_compiler_wl='-Wl,'
9428 lt_prog_compiler_pic='-fpic'
9429 lt_prog_compiler_static='-Bstatic'
9430 ;;
9431 ccc*)
9432 lt_prog_compiler_wl='-Wl,'
9433 # All Alpha code is PIC.
9434 lt_prog_compiler_static='-non_shared'
9435 ;;
9436 xl* | bgxl* | bgf* | mpixl*)
9437 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9438 lt_prog_compiler_wl='-Wl,'
9439 lt_prog_compiler_pic='-qpic'
9440 lt_prog_compiler_static='-qstaticlink'
9441 ;;
9442 *)
9443 case `$CC -V 2>&1 | sed 5q` in
9444 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9445 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9446 lt_prog_compiler_pic='-KPIC'
9447 lt_prog_compiler_static='-Bstatic'
9448 lt_prog_compiler_wl=''
9449 ;;
9450 *Sun\ F* | *Sun*Fortran*)
9451 lt_prog_compiler_pic='-KPIC'
9452 lt_prog_compiler_static='-Bstatic'
9453 lt_prog_compiler_wl='-Qoption ld '
9454 ;;
9455 *Sun\ C*)
9456 # Sun C 5.9
9457 lt_prog_compiler_pic='-KPIC'
9458 lt_prog_compiler_static='-Bstatic'
9459 lt_prog_compiler_wl='-Wl,'
9460 ;;
9461 *Intel*\ [CF]*Compiler*)
9462 lt_prog_compiler_wl='-Wl,'
9463 lt_prog_compiler_pic='-fPIC'
9464 lt_prog_compiler_static='-static'
9465 ;;
9466 *Portland\ Group*)
9467 lt_prog_compiler_wl='-Wl,'
9468 lt_prog_compiler_pic='-fpic'
9469 lt_prog_compiler_static='-Bstatic'
9470 ;;
9471 esac
9472 ;;
9473 esac
9474 ;;
9475
9476 newsos6)
9477 lt_prog_compiler_pic='-KPIC'
9478 lt_prog_compiler_static='-Bstatic'
9479 ;;
9480
9481 *nto* | *qnx*)
9482 # QNX uses GNU C++, but need to define -shared option too, otherwise
9483 # it will coredump.
9484 lt_prog_compiler_pic='-fPIC -shared'
9485 ;;
9486
9487 osf3* | osf4* | osf5*)
9488 lt_prog_compiler_wl='-Wl,'
9489 # All OSF/1 code is PIC.
9490 lt_prog_compiler_static='-non_shared'
9491 ;;
9492
9493 rdos*)
9494 lt_prog_compiler_static='-non_shared'
9495 ;;
9496
9497 solaris*)
9498 lt_prog_compiler_pic='-KPIC'
9499 lt_prog_compiler_static='-Bstatic'
9500 case $cc_basename in
9501 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9502 lt_prog_compiler_wl='-Qoption ld ';;
9503 *)
9504 lt_prog_compiler_wl='-Wl,';;
9505 esac
9506 ;;
9507
9508 sunos4*)
9509 lt_prog_compiler_wl='-Qoption ld '
9510 lt_prog_compiler_pic='-PIC'
9511 lt_prog_compiler_static='-Bstatic'
9512 ;;
9513
9514 sysv4 | sysv4.2uw2* | sysv4.3*)
9515 lt_prog_compiler_wl='-Wl,'
9516 lt_prog_compiler_pic='-KPIC'
9517 lt_prog_compiler_static='-Bstatic'
9518 ;;
9519
9520 sysv4*MP*)
9521 if test -d /usr/nec; then
9522 lt_prog_compiler_pic='-Kconform_pic'
9523 lt_prog_compiler_static='-Bstatic'
9524 fi
9525 ;;
9526
9527 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9528 lt_prog_compiler_wl='-Wl,'
9529 lt_prog_compiler_pic='-KPIC'
9530 lt_prog_compiler_static='-Bstatic'
9531 ;;
9532
9533 unicos*)
9534 lt_prog_compiler_wl='-Wl,'
9535 lt_prog_compiler_can_build_shared=no
9536 ;;
9537
9538 uts4*)
9539 lt_prog_compiler_pic='-pic'
9540 lt_prog_compiler_static='-Bstatic'
9541 ;;
9542
9543 *)
9544 lt_prog_compiler_can_build_shared=no
9545 ;;
9546 esac
9547 fi
9548
9549 case $host_os in
9550 # For platforms that do not support PIC, -DPIC is meaningless:
9551 *djgpp*)
9552 lt_prog_compiler_pic=
9553 ;;
9554 *)
9555 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9556 ;;
9557 esac
9558
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9560 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9561 if ${lt_cv_prog_compiler_pic+:} false; then :
9562 $as_echo_n "(cached) " >&6
9563 else
9564 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9565 fi
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9567 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9568 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9569
9570 #
9571 # Check to make sure the PIC flag actually works.
9572 #
9573 if test -n "$lt_prog_compiler_pic"; then
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9575 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9576 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9577 $as_echo_n "(cached) " >&6
9578 else
9579 lt_cv_prog_compiler_pic_works=no
9580 ac_outfile=conftest.$ac_objext
9581 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9582 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9583 # Insert the option either (1) after the last *FLAGS variable, or
9584 # (2) before a word containing "conftest.", or (3) at the end.
9585 # Note that $ac_compile itself does not contain backslashes and begins
9586 # with a dollar sign (not a hyphen), so the echo should work correctly.
9587 # The option is referenced via a variable to avoid confusing sed.
9588 lt_compile=`echo "$ac_compile" | $SED \
9589 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9590 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9591 -e 's:$: $lt_compiler_flag:'`
9592 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9593 (eval "$lt_compile" 2>conftest.err)
9594 ac_status=$?
9595 cat conftest.err >&5
9596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9597 if (exit $ac_status) && test -s "$ac_outfile"; then
9598 # The compiler can only warn and ignore the option if not recognized
9599 # So say no if there are warnings other than the usual output.
9600 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9601 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9602 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9603 lt_cv_prog_compiler_pic_works=yes
9604 fi
9605 fi
9606 $RM conftest*
9607
9608 fi
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9610 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9611
9612 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9613 case $lt_prog_compiler_pic in
9614 "" | " "*) ;;
9615 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9616 esac
9617 else
9618 lt_prog_compiler_pic=
9619 lt_prog_compiler_can_build_shared=no
9620 fi
9621
9622 fi
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634 #
9635 # Check to make sure the static flag actually works.
9636 #
9637 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9639 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9640 if ${lt_cv_prog_compiler_static_works+:} false; then :
9641 $as_echo_n "(cached) " >&6
9642 else
9643 lt_cv_prog_compiler_static_works=no
9644 save_LDFLAGS=$LDFLAGS
9645 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9646 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9647 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9648 # The linker can only warn and ignore the option if not recognized
9649 # So say no if there are warnings
9650 if test -s conftest.err; then
9651 # Append any errors to the config.log.
9652 cat conftest.err 1>&5
9653 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9654 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9655 if diff conftest.exp conftest.er2 >/dev/null; then
9656 lt_cv_prog_compiler_static_works=yes
9657 fi
9658 else
9659 lt_cv_prog_compiler_static_works=yes
9660 fi
9661 fi
9662 $RM -r conftest*
9663 LDFLAGS=$save_LDFLAGS
9664
9665 fi
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9667 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9668
9669 if test yes = "$lt_cv_prog_compiler_static_works"; then
9670 :
9671 else
9672 lt_prog_compiler_static=
9673 fi
9674
9675
9676
9677
9678
9679
9680
9681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9682 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9683 if ${lt_cv_prog_compiler_c_o+:} false; then :
9684 $as_echo_n "(cached) " >&6
9685 else
9686 lt_cv_prog_compiler_c_o=no
9687 $RM -r conftest 2>/dev/null
9688 mkdir conftest
9689 cd conftest
9690 mkdir out
9691 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9692
9693 lt_compiler_flag="-o out/conftest2.$ac_objext"
9694 # Insert the option either (1) after the last *FLAGS variable, or
9695 # (2) before a word containing "conftest.", or (3) at the end.
9696 # Note that $ac_compile itself does not contain backslashes and begins
9697 # with a dollar sign (not a hyphen), so the echo should work correctly.
9698 lt_compile=`echo "$ac_compile" | $SED \
9699 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9700 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9701 -e 's:$: $lt_compiler_flag:'`
9702 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9703 (eval "$lt_compile" 2>out/conftest.err)
9704 ac_status=$?
9705 cat out/conftest.err >&5
9706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9707 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9708 then
9709 # The compiler can only warn and ignore the option if not recognized
9710 # So say no if there are warnings
9711 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9712 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9713 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9714 lt_cv_prog_compiler_c_o=yes
9715 fi
9716 fi
9717 chmod u+w . 2>&5
9718 $RM conftest*
9719 # SGI C++ compiler will create directory out/ii_files/ for
9720 # template instantiation
9721 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9722 $RM out/* && rmdir out
9723 cd ..
9724 $RM -r conftest
9725 $RM conftest*
9726
9727 fi
9728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9729 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9730
9731
9732
9733
9734
9735
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9737 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9738 if ${lt_cv_prog_compiler_c_o+:} false; then :
9739 $as_echo_n "(cached) " >&6
9740 else
9741 lt_cv_prog_compiler_c_o=no
9742 $RM -r conftest 2>/dev/null
9743 mkdir conftest
9744 cd conftest
9745 mkdir out
9746 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9747
9748 lt_compiler_flag="-o out/conftest2.$ac_objext"
9749 # Insert the option either (1) after the last *FLAGS variable, or
9750 # (2) before a word containing "conftest.", or (3) at the end.
9751 # Note that $ac_compile itself does not contain backslashes and begins
9752 # with a dollar sign (not a hyphen), so the echo should work correctly.
9753 lt_compile=`echo "$ac_compile" | $SED \
9754 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9755 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9756 -e 's:$: $lt_compiler_flag:'`
9757 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9758 (eval "$lt_compile" 2>out/conftest.err)
9759 ac_status=$?
9760 cat out/conftest.err >&5
9761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9762 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9763 then
9764 # The compiler can only warn and ignore the option if not recognized
9765 # So say no if there are warnings
9766 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9767 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9768 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9769 lt_cv_prog_compiler_c_o=yes
9770 fi
9771 fi
9772 chmod u+w . 2>&5
9773 $RM conftest*
9774 # SGI C++ compiler will create directory out/ii_files/ for
9775 # template instantiation
9776 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9777 $RM out/* && rmdir out
9778 cd ..
9779 $RM -r conftest
9780 $RM conftest*
9781
9782 fi
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9784 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9785
9786
9787
9788
9789 hard_links=nottested
9790 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9791 # do not overwrite the value of need_locks provided by the user
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9793 $as_echo_n "checking if we can lock with hard links... " >&6; }
9794 hard_links=yes
9795 $RM conftest*
9796 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9797 touch conftest.a
9798 ln conftest.a conftest.b 2>&5 || hard_links=no
9799 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9801 $as_echo "$hard_links" >&6; }
9802 if test no = "$hard_links"; then
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9804 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9805 need_locks=warn
9806 fi
9807 else
9808 need_locks=no
9809 fi
9810
9811
9812
9813
9814
9815
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9817 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9818
9819 runpath_var=
9820 allow_undefined_flag=
9821 always_export_symbols=no
9822 archive_cmds=
9823 archive_expsym_cmds=
9824 compiler_needs_object=no
9825 enable_shared_with_static_runtimes=no
9826 export_dynamic_flag_spec=
9827 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9828 hardcode_automatic=no
9829 hardcode_direct=no
9830 hardcode_direct_absolute=no
9831 hardcode_libdir_flag_spec=
9832 hardcode_libdir_separator=
9833 hardcode_minus_L=no
9834 hardcode_shlibpath_var=unsupported
9835 inherit_rpath=no
9836 link_all_deplibs=unknown
9837 module_cmds=
9838 module_expsym_cmds=
9839 old_archive_from_new_cmds=
9840 old_archive_from_expsyms_cmds=
9841 thread_safe_flag_spec=
9842 whole_archive_flag_spec=
9843 # include_expsyms should be a list of space-separated symbols to be *always*
9844 # included in the symbol list
9845 include_expsyms=
9846 # exclude_expsyms can be an extended regexp of symbols to exclude
9847 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9848 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9849 # as well as any symbol that contains 'd'.
9850 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9851 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9852 # platforms (ab)use it in PIC code, but their linkers get confused if
9853 # the symbol is explicitly referenced. Since portable code cannot
9854 # rely on this symbol name, it's probably fine to never include it in
9855 # preloaded symbol tables.
9856 # Exclude shared library initialization/finalization symbols.
9857 extract_expsyms_cmds=
9858
9859 case $host_os in
9860 cygwin* | mingw* | pw32* | cegcc*)
9861 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9862 # When not using gcc, we currently assume that we are using
9863 # Microsoft Visual C++.
9864 if test yes != "$GCC"; then
9865 with_gnu_ld=no
9866 fi
9867 ;;
9868 interix*)
9869 # we just hope/assume this is gcc and not c89 (= MSVC++)
9870 with_gnu_ld=yes
9871 ;;
9872 openbsd* | bitrig*)
9873 with_gnu_ld=no
9874 ;;
9875 linux* | k*bsd*-gnu | gnu*)
9876 link_all_deplibs=no
9877 ;;
9878 esac
9879
9880 ld_shlibs=yes
9881
9882 # On some targets, GNU ld is compatible enough with the native linker
9883 # that we're better off using the native interface for both.
9884 lt_use_gnu_ld_interface=no
9885 if test yes = "$with_gnu_ld"; then
9886 case $host_os in
9887 aix*)
9888 # The AIX port of GNU ld has always aspired to compatibility
9889 # with the native linker. However, as the warning in the GNU ld
9890 # block says, versions before 2.19.5* couldn't really create working
9891 # shared libraries, regardless of the interface used.
9892 case `$LD -v 2>&1` in
9893 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9894 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9895 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9896 *)
9897 lt_use_gnu_ld_interface=yes
9898 ;;
9899 esac
9900 ;;
9901 *)
9902 lt_use_gnu_ld_interface=yes
9903 ;;
9904 esac
9905 fi
9906
9907 if test yes = "$lt_use_gnu_ld_interface"; then
9908 # If archive_cmds runs LD, not CC, wlarc should be empty
9909 wlarc='$wl'
9910
9911 # Set some defaults for GNU ld with shared library support. These
9912 # are reset later if shared libraries are not supported. Putting them
9913 # here allows them to be overridden if necessary.
9914 runpath_var=LD_RUN_PATH
9915 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9916 export_dynamic_flag_spec='$wl--export-dynamic'
9917 # ancient GNU ld didn't support --whole-archive et. al.
9918 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9919 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9920 else
9921 whole_archive_flag_spec=
9922 fi
9923 supports_anon_versioning=no
9924 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9925 *GNU\ gold*) supports_anon_versioning=yes ;;
9926 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9927 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9928 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9929 *\ 2.11.*) ;; # other 2.11 versions
9930 *) supports_anon_versioning=yes ;;
9931 esac
9932
9933 # See if GNU ld supports shared libraries.
9934 case $host_os in
9935 aix[3-9]*)
9936 # On AIX/PPC, the GNU linker is very broken
9937 if test ia64 != "$host_cpu"; then
9938 ld_shlibs=no
9939 cat <<_LT_EOF 1>&2
9940
9941 *** Warning: the GNU linker, at least up to release 2.19, is reported
9942 *** to be unable to reliably create shared libraries on AIX.
9943 *** Therefore, libtool is disabling shared libraries support. If you
9944 *** really care for shared libraries, you may want to install binutils
9945 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9946 *** You will then need to restart the configuration process.
9947
9948 _LT_EOF
9949 fi
9950 ;;
9951
9952 amigaos*)
9953 case $host_cpu in
9954 powerpc)
9955 # see comment about AmigaOS4 .so support
9956 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9957 archive_expsym_cmds=''
9958 ;;
9959 m68k)
9960 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)'
9961 hardcode_libdir_flag_spec='-L$libdir'
9962 hardcode_minus_L=yes
9963 ;;
9964 esac
9965 ;;
9966
9967 beos*)
9968 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9969 allow_undefined_flag=unsupported
9970 # Joseph Beckenbach <[email protected]> says some releases of gcc
9971 # support --undefined. This deserves some investigation. FIXME
9972 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9973 else
9974 ld_shlibs=no
9975 fi
9976 ;;
9977
9978 cygwin* | mingw* | pw32* | cegcc*)
9979 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9980 # as there is no search path for DLLs.
9981 hardcode_libdir_flag_spec='-L$libdir'
9982 export_dynamic_flag_spec='$wl--export-all-symbols'
9983 allow_undefined_flag=unsupported
9984 always_export_symbols=no
9985 enable_shared_with_static_runtimes=yes
9986 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'
9987 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9988
9989 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9990 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9991 # If the export-symbols file already is a .def file, use it as
9992 # is; otherwise, prepend EXPORTS...
9993 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9994 cp $export_symbols $output_objdir/$soname.def;
9995 else
9996 echo EXPORTS > $output_objdir/$soname.def;
9997 cat $export_symbols >> $output_objdir/$soname.def;
9998 fi~
9999 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10000 else
10001 ld_shlibs=no
10002 fi
10003 ;;
10004
10005 haiku*)
10006 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10007 link_all_deplibs=yes
10008 ;;
10009
10010 os2*)
10011 hardcode_libdir_flag_spec='-L$libdir'
10012 hardcode_minus_L=yes
10013 allow_undefined_flag=unsupported
10014 shrext_cmds=.dll
10015 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10016 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10017 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10018 $ECHO EXPORTS >> $output_objdir/$libname.def~
10019 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10020 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10021 emximp -o $lib $output_objdir/$libname.def'
10022 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10023 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10024 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10025 $ECHO EXPORTS >> $output_objdir/$libname.def~
10026 prefix_cmds="$SED"~
10027 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10028 prefix_cmds="$prefix_cmds -e 1d";
10029 fi~
10030 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10031 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10032 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10033 emximp -o $lib $output_objdir/$libname.def'
10034 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10035 enable_shared_with_static_runtimes=yes
10036 ;;
10037
10038 interix[3-9]*)
10039 hardcode_direct=no
10040 hardcode_shlibpath_var=no
10041 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10042 export_dynamic_flag_spec='$wl-E'
10043 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10044 # Instead, shared libraries are loaded at an image base (0x10000000 by
10045 # default) and relocated if they conflict, which is a slow very memory
10046 # consuming and fragmenting process. To avoid this, we pick a random,
10047 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10048 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10049 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10050 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'
10051 ;;
10052
10053 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10054 tmp_diet=no
10055 if test linux-dietlibc = "$host_os"; then
10056 case $cc_basename in
10057 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10058 esac
10059 fi
10060 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10061 && test no = "$tmp_diet"
10062 then
10063 tmp_addflag=' $pic_flag'
10064 tmp_sharedflag='-shared'
10065 case $cc_basename,$host_cpu in
10066 pgcc*) # Portland Group C compiler
10067 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'
10068 tmp_addflag=' $pic_flag'
10069 ;;
10070 pgf77* | pgf90* | pgf95* | pgfortran*)
10071 # Portland Group f77 and f90 compilers
10072 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'
10073 tmp_addflag=' $pic_flag -Mnomain' ;;
10074 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10075 tmp_addflag=' -i_dynamic' ;;
10076 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10077 tmp_addflag=' -i_dynamic -nofor_main' ;;
10078 ifc* | ifort*) # Intel Fortran compiler
10079 tmp_addflag=' -nofor_main' ;;
10080 lf95*) # Lahey Fortran 8.1
10081 whole_archive_flag_spec=
10082 tmp_sharedflag='--shared' ;;
10083 nagfor*) # NAGFOR 5.3
10084 tmp_sharedflag='-Wl,-shared' ;;
10085 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10086 tmp_sharedflag='-qmkshrobj'
10087 tmp_addflag= ;;
10088 nvcc*) # Cuda Compiler Driver 2.2
10089 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'
10090 compiler_needs_object=yes
10091 ;;
10092 esac
10093 case `$CC -V 2>&1 | sed 5q` in
10094 *Sun\ C*) # Sun C 5.9
10095 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'
10096 compiler_needs_object=yes
10097 tmp_sharedflag='-G' ;;
10098 *Sun\ F*) # Sun Fortran 8.3
10099 tmp_sharedflag='-G' ;;
10100 esac
10101 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10102
10103 if test yes = "$supports_anon_versioning"; then
10104 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10105 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10106 echo "local: *; };" >> $output_objdir/$libname.ver~
10107 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10108 fi
10109
10110 case $cc_basename in
10111 tcc*)
10112 export_dynamic_flag_spec='-rdynamic'
10113 ;;
10114 xlf* | bgf* | bgxlf* | mpixlf*)
10115 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10116 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10117 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10118 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10119 if test yes = "$supports_anon_versioning"; then
10120 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10121 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10122 echo "local: *; };" >> $output_objdir/$libname.ver~
10123 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10124 fi
10125 ;;
10126 esac
10127 else
10128 ld_shlibs=no
10129 fi
10130 ;;
10131
10132 netbsd* | netbsdelf*-gnu)
10133 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10134 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10135 wlarc=
10136 else
10137 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10138 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10139 fi
10140 ;;
10141
10142 solaris*)
10143 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10144 ld_shlibs=no
10145 cat <<_LT_EOF 1>&2
10146
10147 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10148 *** create shared libraries on Solaris systems. Therefore, libtool
10149 *** is disabling shared libraries support. We urge you to upgrade GNU
10150 *** binutils to release 2.9.1 or newer. Another option is to modify
10151 *** your PATH or compiler configuration so that the native linker is
10152 *** used, and then restart.
10153
10154 _LT_EOF
10155 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10156 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10157 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10158 else
10159 ld_shlibs=no
10160 fi
10161 ;;
10162
10163 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10164 case `$LD -v 2>&1` in
10165 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10166 ld_shlibs=no
10167 cat <<_LT_EOF 1>&2
10168
10169 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10170 *** reliably create shared libraries on SCO systems. Therefore, libtool
10171 *** is disabling shared libraries support. We urge you to upgrade GNU
10172 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10173 *** your PATH or compiler configuration so that the native linker is
10174 *** used, and then restart.
10175
10176 _LT_EOF
10177 ;;
10178 *)
10179 # For security reasons, it is highly recommended that you always
10180 # use absolute paths for naming shared libraries, and exclude the
10181 # DT_RUNPATH tag from executables and libraries. But doing so
10182 # requires that you compile everything twice, which is a pain.
10183 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10184 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10185 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10186 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10187 else
10188 ld_shlibs=no
10189 fi
10190 ;;
10191 esac
10192 ;;
10193
10194 sunos4*)
10195 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10196 wlarc=
10197 hardcode_direct=yes
10198 hardcode_shlibpath_var=no
10199 ;;
10200
10201 *)
10202 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10203 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10204 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10205 else
10206 ld_shlibs=no
10207 fi
10208 ;;
10209 esac
10210
10211 if test no = "$ld_shlibs"; then
10212 runpath_var=
10213 hardcode_libdir_flag_spec=
10214 export_dynamic_flag_spec=
10215 whole_archive_flag_spec=
10216 fi
10217 else
10218 # PORTME fill in a description of your system's linker (not GNU ld)
10219 case $host_os in
10220 aix3*)
10221 allow_undefined_flag=unsupported
10222 always_export_symbols=yes
10223 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'
10224 # Note: this linker hardcodes the directories in LIBPATH if there
10225 # are no directories specified by -L.
10226 hardcode_minus_L=yes
10227 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10228 # Neither direct hardcoding nor static linking is supported with a
10229 # broken collect2.
10230 hardcode_direct=unsupported
10231 fi
10232 ;;
10233
10234 aix[4-9]*)
10235 if test ia64 = "$host_cpu"; then
10236 # On IA64, the linker does run time linking by default, so we don't
10237 # have to do anything special.
10238 aix_use_runtimelinking=no
10239 exp_sym_flag='-Bexport'
10240 no_entry_flag=
10241 else
10242 # If we're using GNU nm, then we don't want the "-C" option.
10243 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10244 # Without the "-l" option, or with the "-B" option, AIX nm treats
10245 # weak defined symbols like other global defined symbols, whereas
10246 # GNU nm marks them as "W".
10247 # While the 'weak' keyword is ignored in the Export File, we need
10248 # it in the Import File for the 'aix-soname' feature, so we have
10249 # to replace the "-B" option with "-P" for AIX nm.
10250 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10251 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'
10252 else
10253 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'
10254 fi
10255 aix_use_runtimelinking=no
10256
10257 # Test if we are trying to use run time linking or normal
10258 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10259 # have runtime linking enabled, and use it for executables.
10260 # For shared libraries, we enable/disable runtime linking
10261 # depending on the kind of the shared library created -
10262 # when "with_aix_soname,aix_use_runtimelinking" is:
10263 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10264 # "aix,yes" lib.so shared, rtl:yes, for executables
10265 # lib.a static archive
10266 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10267 # lib.a(lib.so.V) shared, rtl:no, for executables
10268 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10269 # lib.a(lib.so.V) shared, rtl:no
10270 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10271 # lib.a static archive
10272 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10273 for ld_flag in $LDFLAGS; do
10274 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10275 aix_use_runtimelinking=yes
10276 break
10277 fi
10278 done
10279 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10280 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10281 # so we don't have lib.a shared libs to link our executables.
10282 # We have to force runtime linking in this case.
10283 aix_use_runtimelinking=yes
10284 LDFLAGS="$LDFLAGS -Wl,-brtl"
10285 fi
10286 ;;
10287 esac
10288
10289 exp_sym_flag='-bexport'
10290 no_entry_flag='-bnoentry'
10291 fi
10292
10293 # When large executables or shared objects are built, AIX ld can
10294 # have problems creating the table of contents. If linking a library
10295 # or program results in "error TOC overflow" add -mminimal-toc to
10296 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10297 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10298
10299 archive_cmds=''
10300 hardcode_direct=yes
10301 hardcode_direct_absolute=yes
10302 hardcode_libdir_separator=':'
10303 link_all_deplibs=yes
10304 file_list_spec='$wl-f,'
10305 case $with_aix_soname,$aix_use_runtimelinking in
10306 aix,*) ;; # traditional, no import file
10307 svr4,* | *,yes) # use import file
10308 # The Import File defines what to hardcode.
10309 hardcode_direct=no
10310 hardcode_direct_absolute=no
10311 ;;
10312 esac
10313
10314 if test yes = "$GCC"; then
10315 case $host_os in aix4.[012]|aix4.[012].*)
10316 # We only want to do this on AIX 4.2 and lower, the check
10317 # below for broken collect2 doesn't work under 4.3+
10318 collect2name=`$CC -print-prog-name=collect2`
10319 if test -f "$collect2name" &&
10320 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10321 then
10322 # We have reworked collect2
10323 :
10324 else
10325 # We have old collect2
10326 hardcode_direct=unsupported
10327 # It fails to find uninstalled libraries when the uninstalled
10328 # path is not listed in the libpath. Setting hardcode_minus_L
10329 # to unsupported forces relinking
10330 hardcode_minus_L=yes
10331 hardcode_libdir_flag_spec='-L$libdir'
10332 hardcode_libdir_separator=
10333 fi
10334 ;;
10335 esac
10336 shared_flag='-shared'
10337 if test yes = "$aix_use_runtimelinking"; then
10338 shared_flag="$shared_flag "'$wl-G'
10339 fi
10340 # Need to ensure runtime linking is disabled for the traditional
10341 # shared library, or the linker may eventually find shared libraries
10342 # /with/ Import File - we do not want to mix them.
10343 shared_flag_aix='-shared'
10344 shared_flag_svr4='-shared $wl-G'
10345 else
10346 # not using gcc
10347 if test ia64 = "$host_cpu"; then
10348 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10349 # chokes on -Wl,-G. The following line is correct:
10350 shared_flag='-G'
10351 else
10352 if test yes = "$aix_use_runtimelinking"; then
10353 shared_flag='$wl-G'
10354 else
10355 shared_flag='$wl-bM:SRE'
10356 fi
10357 shared_flag_aix='$wl-bM:SRE'
10358 shared_flag_svr4='$wl-G'
10359 fi
10360 fi
10361
10362 export_dynamic_flag_spec='$wl-bexpall'
10363 # It seems that -bexpall does not export symbols beginning with
10364 # underscore (_), so it is better to generate a list of symbols to export.
10365 always_export_symbols=yes
10366 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10367 # Warning - without using the other runtime loading flags (-brtl),
10368 # -berok will link without error, but may produce a broken library.
10369 allow_undefined_flag='-berok'
10370 # Determine the default libpath from the value encoded in an
10371 # empty executable.
10372 if test set = "${lt_cv_aix_libpath+set}"; then
10373 aix_libpath=$lt_cv_aix_libpath
10374 else
10375 if ${lt_cv_aix_libpath_+:} false; then :
10376 $as_echo_n "(cached) " >&6
10377 else
10378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10379 /* end confdefs.h. */
10380
10381 int
10382 main ()
10383 {
10384
10385 ;
10386 return 0;
10387 }
10388 _ACEOF
10389 if ac_fn_c_try_link "$LINENO"; then :
10390
10391 lt_aix_libpath_sed='
10392 /Import File Strings/,/^$/ {
10393 /^0/ {
10394 s/^0 *\([^ ]*\) *$/\1/
10395 p
10396 }
10397 }'
10398 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10399 # Check for a 64-bit object if we didn't find anything.
10400 if test -z "$lt_cv_aix_libpath_"; then
10401 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10402 fi
10403 fi
10404 rm -f core conftest.err conftest.$ac_objext \
10405 conftest$ac_exeext conftest.$ac_ext
10406 if test -z "$lt_cv_aix_libpath_"; then
10407 lt_cv_aix_libpath_=/usr/lib:/lib
10408 fi
10409
10410 fi
10411
10412 aix_libpath=$lt_cv_aix_libpath_
10413 fi
10414
10415 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10416 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
10417 else
10418 if test ia64 = "$host_cpu"; then
10419 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10420 allow_undefined_flag="-z nodefs"
10421 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"
10422 else
10423 # Determine the default libpath from the value encoded in an
10424 # empty executable.
10425 if test set = "${lt_cv_aix_libpath+set}"; then
10426 aix_libpath=$lt_cv_aix_libpath
10427 else
10428 if ${lt_cv_aix_libpath_+:} false; then :
10429 $as_echo_n "(cached) " >&6
10430 else
10431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10432 /* end confdefs.h. */
10433
10434 int
10435 main ()
10436 {
10437
10438 ;
10439 return 0;
10440 }
10441 _ACEOF
10442 if ac_fn_c_try_link "$LINENO"; then :
10443
10444 lt_aix_libpath_sed='
10445 /Import File Strings/,/^$/ {
10446 /^0/ {
10447 s/^0 *\([^ ]*\) *$/\1/
10448 p
10449 }
10450 }'
10451 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10452 # Check for a 64-bit object if we didn't find anything.
10453 if test -z "$lt_cv_aix_libpath_"; then
10454 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10455 fi
10456 fi
10457 rm -f core conftest.err conftest.$ac_objext \
10458 conftest$ac_exeext conftest.$ac_ext
10459 if test -z "$lt_cv_aix_libpath_"; then
10460 lt_cv_aix_libpath_=/usr/lib:/lib
10461 fi
10462
10463 fi
10464
10465 aix_libpath=$lt_cv_aix_libpath_
10466 fi
10467
10468 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10469 # Warning - without using the other run time loading flags,
10470 # -berok will link without error, but may produce a broken library.
10471 no_undefined_flag=' $wl-bernotok'
10472 allow_undefined_flag=' $wl-berok'
10473 if test yes = "$with_gnu_ld"; then
10474 # We only use this code for GNU lds that support --whole-archive.
10475 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10476 else
10477 # Exported symbols can be pulled into shared objects from archives
10478 whole_archive_flag_spec='$convenience'
10479 fi
10480 archive_cmds_need_lc=yes
10481 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10482 # -brtl affects multiple linker settings, -berok does not and is overridden later
10483 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10484 if test svr4 != "$with_aix_soname"; then
10485 # This is similar to how AIX traditionally builds its shared libraries.
10486 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'
10487 fi
10488 if test aix != "$with_aix_soname"; then
10489 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'
10490 else
10491 # used by -dlpreopen to get the symbols
10492 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10493 fi
10494 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10495 fi
10496 fi
10497 ;;
10498
10499 amigaos*)
10500 case $host_cpu in
10501 powerpc)
10502 # see comment about AmigaOS4 .so support
10503 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10504 archive_expsym_cmds=''
10505 ;;
10506 m68k)
10507 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)'
10508 hardcode_libdir_flag_spec='-L$libdir'
10509 hardcode_minus_L=yes
10510 ;;
10511 esac
10512 ;;
10513
10514 bsdi[45]*)
10515 export_dynamic_flag_spec=-rdynamic
10516 ;;
10517
10518 cygwin* | mingw* | pw32* | cegcc*)
10519 # When not using gcc, we currently assume that we are using
10520 # Microsoft Visual C++.
10521 # hardcode_libdir_flag_spec is actually meaningless, as there is
10522 # no search path for DLLs.
10523 case $cc_basename in
10524 cl*)
10525 # Native MSVC
10526 hardcode_libdir_flag_spec=' '
10527 allow_undefined_flag=unsupported
10528 always_export_symbols=yes
10529 file_list_spec='@'
10530 # Tell ltmain to make .lib files, not .a files.
10531 libext=lib
10532 # Tell ltmain to make .dll files, not .so files.
10533 shrext_cmds=.dll
10534 # FIXME: Setting linknames here is a bad hack.
10535 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10536 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10537 cp "$export_symbols" "$output_objdir/$soname.def";
10538 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10539 else
10540 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10541 fi~
10542 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10543 linknames='
10544 # The linker will not automatically build a static lib if we build a DLL.
10545 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10546 enable_shared_with_static_runtimes=yes
10547 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10548 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10549 # Don't use ranlib
10550 old_postinstall_cmds='chmod 644 $oldlib'
10551 postlink_cmds='lt_outputfile="@OUTPUT@"~
10552 lt_tool_outputfile="@TOOL_OUTPUT@"~
10553 case $lt_outputfile in
10554 *.exe|*.EXE) ;;
10555 *)
10556 lt_outputfile=$lt_outputfile.exe
10557 lt_tool_outputfile=$lt_tool_outputfile.exe
10558 ;;
10559 esac~
10560 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10561 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10562 $RM "$lt_outputfile.manifest";
10563 fi'
10564 ;;
10565 *)
10566 # Assume MSVC wrapper
10567 hardcode_libdir_flag_spec=' '
10568 allow_undefined_flag=unsupported
10569 # Tell ltmain to make .lib files, not .a files.
10570 libext=lib
10571 # Tell ltmain to make .dll files, not .so files.
10572 shrext_cmds=.dll
10573 # FIXME: Setting linknames here is a bad hack.
10574 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10575 # The linker will automatically build a .lib file if we build a DLL.
10576 old_archive_from_new_cmds='true'
10577 # FIXME: Should let the user specify the lib program.
10578 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10579 enable_shared_with_static_runtimes=yes
10580 ;;
10581 esac
10582 ;;
10583
10584 darwin* | rhapsody*)
10585
10586
10587 archive_cmds_need_lc=no
10588 hardcode_direct=no
10589 hardcode_automatic=yes
10590 hardcode_shlibpath_var=unsupported
10591 if test yes = "$lt_cv_ld_force_load"; then
10592 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\"`'
10593
10594 else
10595 whole_archive_flag_spec=''
10596 fi
10597 link_all_deplibs=yes
10598 allow_undefined_flag=$_lt_dar_allow_undefined
10599 case $cc_basename in
10600 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10601 *) _lt_dar_can_shared=$GCC ;;
10602 esac
10603 if test yes = "$_lt_dar_can_shared"; then
10604 output_verbose_link_cmd=func_echo_all
10605 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10606 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10607 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"
10608 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"
10609
10610 else
10611 ld_shlibs=no
10612 fi
10613
10614 ;;
10615
10616 dgux*)
10617 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10618 hardcode_libdir_flag_spec='-L$libdir'
10619 hardcode_shlibpath_var=no
10620 ;;
10621
10622 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10623 # support. Future versions do this automatically, but an explicit c++rt0.o
10624 # does not break anything, and helps significantly (at the cost of a little
10625 # extra space).
10626 freebsd2.2*)
10627 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10628 hardcode_libdir_flag_spec='-R$libdir'
10629 hardcode_direct=yes
10630 hardcode_shlibpath_var=no
10631 ;;
10632
10633 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10634 freebsd2.*)
10635 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10636 hardcode_direct=yes
10637 hardcode_minus_L=yes
10638 hardcode_shlibpath_var=no
10639 ;;
10640
10641 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10642 freebsd* | dragonfly*)
10643 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10644 hardcode_libdir_flag_spec='-R$libdir'
10645 hardcode_direct=yes
10646 hardcode_shlibpath_var=no
10647 ;;
10648
10649 hpux9*)
10650 if test yes = "$GCC"; then
10651 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'
10652 else
10653 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'
10654 fi
10655 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10656 hardcode_libdir_separator=:
10657 hardcode_direct=yes
10658
10659 # hardcode_minus_L: Not really in the search PATH,
10660 # but as the default location of the library.
10661 hardcode_minus_L=yes
10662 export_dynamic_flag_spec='$wl-E'
10663 ;;
10664
10665 hpux10*)
10666 if test yes,no = "$GCC,$with_gnu_ld"; then
10667 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10668 else
10669 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10670 fi
10671 if test no = "$with_gnu_ld"; then
10672 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10673 hardcode_libdir_separator=:
10674 hardcode_direct=yes
10675 hardcode_direct_absolute=yes
10676 export_dynamic_flag_spec='$wl-E'
10677 # hardcode_minus_L: Not really in the search PATH,
10678 # but as the default location of the library.
10679 hardcode_minus_L=yes
10680 fi
10681 ;;
10682
10683 hpux11*)
10684 if test yes,no = "$GCC,$with_gnu_ld"; then
10685 case $host_cpu in
10686 hppa*64*)
10687 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10688 ;;
10689 ia64*)
10690 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10691 ;;
10692 *)
10693 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10694 ;;
10695 esac
10696 else
10697 case $host_cpu in
10698 hppa*64*)
10699 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10700 ;;
10701 ia64*)
10702 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10703 ;;
10704 *)
10705
10706 # Older versions of the 11.00 compiler do not understand -b yet
10707 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10709 $as_echo_n "checking if $CC understands -b... " >&6; }
10710 if ${lt_cv_prog_compiler__b+:} false; then :
10711 $as_echo_n "(cached) " >&6
10712 else
10713 lt_cv_prog_compiler__b=no
10714 save_LDFLAGS=$LDFLAGS
10715 LDFLAGS="$LDFLAGS -b"
10716 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10717 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10718 # The linker can only warn and ignore the option if not recognized
10719 # So say no if there are warnings
10720 if test -s conftest.err; then
10721 # Append any errors to the config.log.
10722 cat conftest.err 1>&5
10723 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10724 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10725 if diff conftest.exp conftest.er2 >/dev/null; then
10726 lt_cv_prog_compiler__b=yes
10727 fi
10728 else
10729 lt_cv_prog_compiler__b=yes
10730 fi
10731 fi
10732 $RM -r conftest*
10733 LDFLAGS=$save_LDFLAGS
10734
10735 fi
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10737 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10738
10739 if test yes = "$lt_cv_prog_compiler__b"; then
10740 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10741 else
10742 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10743 fi
10744
10745 ;;
10746 esac
10747 fi
10748 if test no = "$with_gnu_ld"; then
10749 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10750 hardcode_libdir_separator=:
10751
10752 case $host_cpu in
10753 hppa*64*|ia64*)
10754 hardcode_direct=no
10755 hardcode_shlibpath_var=no
10756 ;;
10757 *)
10758 hardcode_direct=yes
10759 hardcode_direct_absolute=yes
10760 export_dynamic_flag_spec='$wl-E'
10761
10762 # hardcode_minus_L: Not really in the search PATH,
10763 # but as the default location of the library.
10764 hardcode_minus_L=yes
10765 ;;
10766 esac
10767 fi
10768 ;;
10769
10770 irix5* | irix6* | nonstopux*)
10771 if test yes = "$GCC"; then
10772 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'
10773 # Try to use the -exported_symbol ld option, if it does not
10774 # work, assume that -exports_file does not work either and
10775 # implicitly export all symbols.
10776 # This should be the same for all languages, so no per-tag cache variable.
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10778 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10779 if ${lt_cv_irix_exported_symbol+:} false; then :
10780 $as_echo_n "(cached) " >&6
10781 else
10782 save_LDFLAGS=$LDFLAGS
10783 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10785 /* end confdefs.h. */
10786 int foo (void) { return 0; }
10787 _ACEOF
10788 if ac_fn_c_try_link "$LINENO"; then :
10789 lt_cv_irix_exported_symbol=yes
10790 else
10791 lt_cv_irix_exported_symbol=no
10792 fi
10793 rm -f core conftest.err conftest.$ac_objext \
10794 conftest$ac_exeext conftest.$ac_ext
10795 LDFLAGS=$save_LDFLAGS
10796 fi
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10798 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10799 if test yes = "$lt_cv_irix_exported_symbol"; then
10800 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'
10801 fi
10802 link_all_deplibs=no
10803 else
10804 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'
10805 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'
10806 fi
10807 archive_cmds_need_lc='no'
10808 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10809 hardcode_libdir_separator=:
10810 inherit_rpath=yes
10811 link_all_deplibs=yes
10812 ;;
10813
10814 linux*)
10815 case $cc_basename in
10816 tcc*)
10817 # Fabrice Bellard et al's Tiny C Compiler
10818 ld_shlibs=yes
10819 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10820 ;;
10821 esac
10822 ;;
10823
10824 netbsd* | netbsdelf*-gnu)
10825 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10826 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10827 else
10828 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10829 fi
10830 hardcode_libdir_flag_spec='-R$libdir'
10831 hardcode_direct=yes
10832 hardcode_shlibpath_var=no
10833 ;;
10834
10835 newsos6)
10836 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10837 hardcode_direct=yes
10838 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10839 hardcode_libdir_separator=:
10840 hardcode_shlibpath_var=no
10841 ;;
10842
10843 *nto* | *qnx*)
10844 ;;
10845
10846 openbsd* | bitrig*)
10847 if test -f /usr/libexec/ld.so; then
10848 hardcode_direct=yes
10849 hardcode_shlibpath_var=no
10850 hardcode_direct_absolute=yes
10851 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10852 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10853 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10854 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10855 export_dynamic_flag_spec='$wl-E'
10856 else
10857 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10858 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10859 fi
10860 else
10861 ld_shlibs=no
10862 fi
10863 ;;
10864
10865 os2*)
10866 hardcode_libdir_flag_spec='-L$libdir'
10867 hardcode_minus_L=yes
10868 allow_undefined_flag=unsupported
10869 shrext_cmds=.dll
10870 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10871 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10872 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10873 $ECHO EXPORTS >> $output_objdir/$libname.def~
10874 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10875 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10876 emximp -o $lib $output_objdir/$libname.def'
10877 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10878 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10879 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10880 $ECHO EXPORTS >> $output_objdir/$libname.def~
10881 prefix_cmds="$SED"~
10882 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10883 prefix_cmds="$prefix_cmds -e 1d";
10884 fi~
10885 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10886 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10887 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10888 emximp -o $lib $output_objdir/$libname.def'
10889 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10890 enable_shared_with_static_runtimes=yes
10891 ;;
10892
10893 osf3*)
10894 if test yes = "$GCC"; then
10895 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10896 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'
10897 else
10898 allow_undefined_flag=' -expect_unresolved \*'
10899 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'
10900 fi
10901 archive_cmds_need_lc='no'
10902 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10903 hardcode_libdir_separator=:
10904 ;;
10905
10906 osf4* | osf5*) # as osf3* with the addition of -msym flag
10907 if test yes = "$GCC"; then
10908 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10909 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'
10910 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10911 else
10912 allow_undefined_flag=' -expect_unresolved \*'
10913 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'
10914 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~
10915 $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'
10916
10917 # Both c and cxx compiler support -rpath directly
10918 hardcode_libdir_flag_spec='-rpath $libdir'
10919 fi
10920 archive_cmds_need_lc='no'
10921 hardcode_libdir_separator=:
10922 ;;
10923
10924 solaris*)
10925 no_undefined_flag=' -z defs'
10926 if test yes = "$GCC"; then
10927 wlarc='$wl'
10928 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10929 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10930 $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'
10931 else
10932 case `$CC -V 2>&1` in
10933 *"Compilers 5.0"*)
10934 wlarc=''
10935 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10936 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10937 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10938 ;;
10939 *)
10940 wlarc='$wl'
10941 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10942 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10943 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10944 ;;
10945 esac
10946 fi
10947 hardcode_libdir_flag_spec='-R$libdir'
10948 hardcode_shlibpath_var=no
10949 case $host_os in
10950 solaris2.[0-5] | solaris2.[0-5].*) ;;
10951 *)
10952 # The compiler driver will combine and reorder linker options,
10953 # but understands '-z linker_flag'. GCC discards it without '$wl',
10954 # but is careful enough not to reorder.
10955 # Supported since Solaris 2.6 (maybe 2.5.1?)
10956 if test yes = "$GCC"; then
10957 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10958 else
10959 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10960 fi
10961 ;;
10962 esac
10963 link_all_deplibs=yes
10964 ;;
10965
10966 sunos4*)
10967 if test sequent = "$host_vendor"; then
10968 # Use $CC to link under sequent, because it throws in some extra .o
10969 # files that make .init and .fini sections work.
10970 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10971 else
10972 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10973 fi
10974 hardcode_libdir_flag_spec='-L$libdir'
10975 hardcode_direct=yes
10976 hardcode_minus_L=yes
10977 hardcode_shlibpath_var=no
10978 ;;
10979
10980 sysv4)
10981 case $host_vendor in
10982 sni)
10983 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10984 hardcode_direct=yes # is this really true???
10985 ;;
10986 siemens)
10987 ## LD is ld it makes a PLAMLIB
10988 ## CC just makes a GrossModule.
10989 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10990 reload_cmds='$CC -r -o $output$reload_objs'
10991 hardcode_direct=no
10992 ;;
10993 motorola)
10994 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10995 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10996 ;;
10997 esac
10998 runpath_var='LD_RUN_PATH'
10999 hardcode_shlibpath_var=no
11000 ;;
11001
11002 sysv4.3*)
11003 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11004 hardcode_shlibpath_var=no
11005 export_dynamic_flag_spec='-Bexport'
11006 ;;
11007
11008 sysv4*MP*)
11009 if test -d /usr/nec; then
11010 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11011 hardcode_shlibpath_var=no
11012 runpath_var=LD_RUN_PATH
11013 hardcode_runpath_var=yes
11014 ld_shlibs=yes
11015 fi
11016 ;;
11017
11018 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11019 no_undefined_flag='$wl-z,text'
11020 archive_cmds_need_lc=no
11021 hardcode_shlibpath_var=no
11022 runpath_var='LD_RUN_PATH'
11023
11024 if test yes = "$GCC"; then
11025 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11026 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11027 else
11028 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11029 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11030 fi
11031 ;;
11032
11033 sysv5* | sco3.2v5* | sco5v6*)
11034 # Note: We CANNOT use -z defs as we might desire, because we do not
11035 # link with -lc, and that would cause any symbols used from libc to
11036 # always be unresolved, which means just about no library would
11037 # ever link correctly. If we're not using GNU ld we use -z text
11038 # though, which does catch some bad symbols but isn't as heavy-handed
11039 # as -z defs.
11040 no_undefined_flag='$wl-z,text'
11041 allow_undefined_flag='$wl-z,nodefs'
11042 archive_cmds_need_lc=no
11043 hardcode_shlibpath_var=no
11044 hardcode_libdir_flag_spec='$wl-R,$libdir'
11045 hardcode_libdir_separator=':'
11046 link_all_deplibs=yes
11047 export_dynamic_flag_spec='$wl-Bexport'
11048 runpath_var='LD_RUN_PATH'
11049
11050 if test yes = "$GCC"; then
11051 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11052 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11053 else
11054 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11055 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11056 fi
11057 ;;
11058
11059 uts4*)
11060 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11061 hardcode_libdir_flag_spec='-L$libdir'
11062 hardcode_shlibpath_var=no
11063 ;;
11064
11065 *)
11066 ld_shlibs=no
11067 ;;
11068 esac
11069
11070 if test sni = "$host_vendor"; then
11071 case $host in
11072 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11073 export_dynamic_flag_spec='$wl-Blargedynsym'
11074 ;;
11075 esac
11076 fi
11077 fi
11078
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11080 $as_echo "$ld_shlibs" >&6; }
11081 test no = "$ld_shlibs" && can_build_shared=no
11082
11083 with_gnu_ld=$with_gnu_ld
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099 #
11100 # Do we need to explicitly link libc?
11101 #
11102 case "x$archive_cmds_need_lc" in
11103 x|xyes)
11104 # Assume -lc should be added
11105 archive_cmds_need_lc=yes
11106
11107 if test yes,yes = "$GCC,$enable_shared"; then
11108 case $archive_cmds in
11109 *'~'*)
11110 # FIXME: we may have to deal with multi-command sequences.
11111 ;;
11112 '$CC '*)
11113 # Test whether the compiler implicitly links with -lc since on some
11114 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11115 # to ld, don't add -lc before -lgcc.
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11117 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11118 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11119 $as_echo_n "(cached) " >&6
11120 else
11121 $RM conftest*
11122 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11123
11124 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11125 (eval $ac_compile) 2>&5
11126 ac_status=$?
11127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11128 test $ac_status = 0; } 2>conftest.err; then
11129 soname=conftest
11130 lib=conftest
11131 libobjs=conftest.$ac_objext
11132 deplibs=
11133 wl=$lt_prog_compiler_wl
11134 pic_flag=$lt_prog_compiler_pic
11135 compiler_flags=-v
11136 linker_flags=-v
11137 verstring=
11138 output_objdir=.
11139 libname=conftest
11140 lt_save_allow_undefined_flag=$allow_undefined_flag
11141 allow_undefined_flag=
11142 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11143 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11144 ac_status=$?
11145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11146 test $ac_status = 0; }
11147 then
11148 lt_cv_archive_cmds_need_lc=no
11149 else
11150 lt_cv_archive_cmds_need_lc=yes
11151 fi
11152 allow_undefined_flag=$lt_save_allow_undefined_flag
11153 else
11154 cat conftest.err 1>&5
11155 fi
11156 $RM conftest*
11157
11158 fi
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11160 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11161 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11162 ;;
11163 esac
11164 fi
11165 ;;
11166 esac
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11320 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11321
11322 if test yes = "$GCC"; then
11323 case $host_os in
11324 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11325 *) lt_awk_arg='/^libraries:/' ;;
11326 esac
11327 case $host_os in
11328 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11329 *) lt_sed_strip_eq='s|=/|/|g' ;;
11330 esac
11331 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11332 case $lt_search_path_spec in
11333 *\;*)
11334 # if the path contains ";" then we assume it to be the separator
11335 # otherwise default to the standard path separator (i.e. ":") - it is
11336 # assumed that no part of a normal pathname contains ";" but that should
11337 # okay in the real world where ";" in dirpaths is itself problematic.
11338 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11339 ;;
11340 *)
11341 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11342 ;;
11343 esac
11344 # Ok, now we have the path, separated by spaces, we can step through it
11345 # and add multilib dir if necessary...
11346 lt_tmp_lt_search_path_spec=
11347 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11348 # ...but if some path component already ends with the multilib dir we assume
11349 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11350 case "$lt_multi_os_dir; $lt_search_path_spec " in
11351 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11352 lt_multi_os_dir=
11353 ;;
11354 esac
11355 for lt_sys_path in $lt_search_path_spec; do
11356 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11357 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11358 elif test -n "$lt_multi_os_dir"; then
11359 test -d "$lt_sys_path" && \
11360 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11361 fi
11362 done
11363 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11364 BEGIN {RS = " "; FS = "/|\n";} {
11365 lt_foo = "";
11366 lt_count = 0;
11367 for (lt_i = NF; lt_i > 0; lt_i--) {
11368 if ($lt_i != "" && $lt_i != ".") {
11369 if ($lt_i == "..") {
11370 lt_count++;
11371 } else {
11372 if (lt_count == 0) {
11373 lt_foo = "/" $lt_i lt_foo;
11374 } else {
11375 lt_count--;
11376 }
11377 }
11378 }
11379 }
11380 if (lt_foo != "") { lt_freq[lt_foo]++; }
11381 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11382 }'`
11383 # AWK program above erroneously prepends '/' to C:/dos/paths
11384 # for these hosts.
11385 case $host_os in
11386 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11387 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11388 esac
11389 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11390 else
11391 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11392 fi
11393 library_names_spec=
11394 libname_spec='lib$name'
11395 soname_spec=
11396 shrext_cmds=.so
11397 postinstall_cmds=
11398 postuninstall_cmds=
11399 finish_cmds=
11400 finish_eval=
11401 shlibpath_var=
11402 shlibpath_overrides_runpath=unknown
11403 version_type=none
11404 dynamic_linker="$host_os ld.so"
11405 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11406 need_lib_prefix=unknown
11407 hardcode_into_libs=no
11408
11409 # when you set need_version to no, make sure it does not cause -set_version
11410 # flags to be left without arguments
11411 need_version=unknown
11412
11413
11414
11415 case $host_os in
11416 aix3*)
11417 version_type=linux # correct to gnu/linux during the next big refactor
11418 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11419 shlibpath_var=LIBPATH
11420
11421 # AIX 3 has no versioning support, so we append a major version to the name.
11422 soname_spec='$libname$release$shared_ext$major'
11423 ;;
11424
11425 aix[4-9]*)
11426 version_type=linux # correct to gnu/linux during the next big refactor
11427 need_lib_prefix=no
11428 need_version=no
11429 hardcode_into_libs=yes
11430 if test ia64 = "$host_cpu"; then
11431 # AIX 5 supports IA64
11432 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11433 shlibpath_var=LD_LIBRARY_PATH
11434 else
11435 # With GCC up to 2.95.x, collect2 would create an import file
11436 # for dependence libraries. The import file would start with
11437 # the line '#! .'. This would cause the generated library to
11438 # depend on '.', always an invalid library. This was fixed in
11439 # development snapshots of GCC prior to 3.0.
11440 case $host_os in
11441 aix4 | aix4.[01] | aix4.[01].*)
11442 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11443 echo ' yes '
11444 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11445 :
11446 else
11447 can_build_shared=no
11448 fi
11449 ;;
11450 esac
11451 # Using Import Files as archive members, it is possible to support
11452 # filename-based versioning of shared library archives on AIX. While
11453 # this would work for both with and without runtime linking, it will
11454 # prevent static linking of such archives. So we do filename-based
11455 # shared library versioning with .so extension only, which is used
11456 # when both runtime linking and shared linking is enabled.
11457 # Unfortunately, runtime linking may impact performance, so we do
11458 # not want this to be the default eventually. Also, we use the
11459 # versioned .so libs for executables only if there is the -brtl
11460 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11461 # To allow for filename-based versioning support, we need to create
11462 # libNAME.so.V as an archive file, containing:
11463 # *) an Import File, referring to the versioned filename of the
11464 # archive as well as the shared archive member, telling the
11465 # bitwidth (32 or 64) of that shared object, and providing the
11466 # list of exported symbols of that shared object, eventually
11467 # decorated with the 'weak' keyword
11468 # *) the shared object with the F_LOADONLY flag set, to really avoid
11469 # it being seen by the linker.
11470 # At run time we better use the real file rather than another symlink,
11471 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11472
11473 case $with_aix_soname,$aix_use_runtimelinking in
11474 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11475 # soname into executable. Probably we can add versioning support to
11476 # collect2, so additional links can be useful in future.
11477 aix,yes) # traditional libtool
11478 dynamic_linker='AIX unversionable lib.so'
11479 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11480 # instead of lib<name>.a to let people know that these are not
11481 # typical AIX shared libraries.
11482 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11483 ;;
11484 aix,no) # traditional AIX only
11485 dynamic_linker='AIX lib.a(lib.so.V)'
11486 # We preserve .a as extension for shared libraries through AIX4.2
11487 # and later when we are not doing run time linking.
11488 library_names_spec='$libname$release.a $libname.a'
11489 soname_spec='$libname$release$shared_ext$major'
11490 ;;
11491 svr4,*) # full svr4 only
11492 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11493 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11494 # We do not specify a path in Import Files, so LIBPATH fires.
11495 shlibpath_overrides_runpath=yes
11496 ;;
11497 *,yes) # both, prefer svr4
11498 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11499 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11500 # unpreferred sharedlib libNAME.a needs extra handling
11501 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"'
11502 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"'
11503 # We do not specify a path in Import Files, so LIBPATH fires.
11504 shlibpath_overrides_runpath=yes
11505 ;;
11506 *,no) # both, prefer aix
11507 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11508 library_names_spec='$libname$release.a $libname.a'
11509 soname_spec='$libname$release$shared_ext$major'
11510 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11511 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)'
11512 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"'
11513 ;;
11514 esac
11515 shlibpath_var=LIBPATH
11516 fi
11517 ;;
11518
11519 amigaos*)
11520 case $host_cpu in
11521 powerpc)
11522 # Since July 2007 AmigaOS4 officially supports .so libraries.
11523 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11524 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11525 ;;
11526 m68k)
11527 library_names_spec='$libname.ixlibrary $libname.a'
11528 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11529 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'
11530 ;;
11531 esac
11532 ;;
11533
11534 beos*)
11535 library_names_spec='$libname$shared_ext'
11536 dynamic_linker="$host_os ld.so"
11537 shlibpath_var=LIBRARY_PATH
11538 ;;
11539
11540 bsdi[45]*)
11541 version_type=linux # correct to gnu/linux during the next big refactor
11542 need_version=no
11543 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11544 soname_spec='$libname$release$shared_ext$major'
11545 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11546 shlibpath_var=LD_LIBRARY_PATH
11547 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11548 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11549 # the default ld.so.conf also contains /usr/contrib/lib and
11550 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11551 # libtool to hard-code these into programs
11552 ;;
11553
11554 cygwin* | mingw* | pw32* | cegcc*)
11555 version_type=windows
11556 shrext_cmds=.dll
11557 need_version=no
11558 need_lib_prefix=no
11559
11560 case $GCC,$cc_basename in
11561 yes,*)
11562 # gcc
11563 library_names_spec='$libname.dll.a'
11564 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11565 postinstall_cmds='base_file=`basename \$file`~
11566 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11567 dldir=$destdir/`dirname \$dlpath`~
11568 test -d \$dldir || mkdir -p \$dldir~
11569 $install_prog $dir/$dlname \$dldir/$dlname~
11570 chmod a+x \$dldir/$dlname~
11571 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11572 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11573 fi'
11574 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11575 dlpath=$dir/\$dldll~
11576 $RM \$dlpath'
11577 shlibpath_overrides_runpath=yes
11578
11579 case $host_os in
11580 cygwin*)
11581 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11582 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11583
11584 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11585 ;;
11586 mingw* | cegcc*)
11587 # MinGW DLLs use traditional 'lib' prefix
11588 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11589 ;;
11590 pw32*)
11591 # pw32 DLLs use 'pw' prefix rather than 'lib'
11592 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11593 ;;
11594 esac
11595 dynamic_linker='Win32 ld.exe'
11596 ;;
11597
11598 *,cl*)
11599 # Native MSVC
11600 libname_spec='$name'
11601 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11602 library_names_spec='$libname.dll.lib'
11603
11604 case $build_os in
11605 mingw*)
11606 sys_lib_search_path_spec=
11607 lt_save_ifs=$IFS
11608 IFS=';'
11609 for lt_path in $LIB
11610 do
11611 IFS=$lt_save_ifs
11612 # Let DOS variable expansion print the short 8.3 style file name.
11613 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11614 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11615 done
11616 IFS=$lt_save_ifs
11617 # Convert to MSYS style.
11618 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11619 ;;
11620 cygwin*)
11621 # Convert to unix form, then to dos form, then back to unix form
11622 # but this time dos style (no spaces!) so that the unix form looks
11623 # like /cygdrive/c/PROGRA~1:/cygdr...
11624 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11625 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11626 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11627 ;;
11628 *)
11629 sys_lib_search_path_spec=$LIB
11630 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11631 # It is most probably a Windows format PATH.
11632 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11633 else
11634 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11635 fi
11636 # FIXME: find the short name or the path components, as spaces are
11637 # common. (e.g. "Program Files" -> "PROGRA~1")
11638 ;;
11639 esac
11640
11641 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11642 postinstall_cmds='base_file=`basename \$file`~
11643 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11644 dldir=$destdir/`dirname \$dlpath`~
11645 test -d \$dldir || mkdir -p \$dldir~
11646 $install_prog $dir/$dlname \$dldir/$dlname'
11647 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11648 dlpath=$dir/\$dldll~
11649 $RM \$dlpath'
11650 shlibpath_overrides_runpath=yes
11651 dynamic_linker='Win32 link.exe'
11652 ;;
11653
11654 *)
11655 # Assume MSVC wrapper
11656 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11657 dynamic_linker='Win32 ld.exe'
11658 ;;
11659 esac
11660 # FIXME: first we should search . and the directory the executable is in
11661 shlibpath_var=PATH
11662 ;;
11663
11664 darwin* | rhapsody*)
11665 dynamic_linker="$host_os dyld"
11666 version_type=darwin
11667 need_lib_prefix=no
11668 need_version=no
11669 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11670 soname_spec='$libname$release$major$shared_ext'
11671 shlibpath_overrides_runpath=yes
11672 shlibpath_var=DYLD_LIBRARY_PATH
11673 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11674
11675 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11676 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11677 ;;
11678
11679 dgux*)
11680 version_type=linux # correct to gnu/linux during the next big refactor
11681 need_lib_prefix=no
11682 need_version=no
11683 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11684 soname_spec='$libname$release$shared_ext$major'
11685 shlibpath_var=LD_LIBRARY_PATH
11686 ;;
11687
11688 freebsd* | dragonfly*)
11689 # DragonFly does not have aout. When/if they implement a new
11690 # versioning mechanism, adjust this.
11691 if test -x /usr/bin/objformat; then
11692 objformat=`/usr/bin/objformat`
11693 else
11694 case $host_os in
11695 freebsd[23].*) objformat=aout ;;
11696 *) objformat=elf ;;
11697 esac
11698 fi
11699 version_type=freebsd-$objformat
11700 case $version_type in
11701 freebsd-elf*)
11702 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11703 soname_spec='$libname$release$shared_ext$major'
11704 need_version=no
11705 need_lib_prefix=no
11706 ;;
11707 freebsd-*)
11708 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11709 need_version=yes
11710 ;;
11711 esac
11712 shlibpath_var=LD_LIBRARY_PATH
11713 case $host_os in
11714 freebsd2.*)
11715 shlibpath_overrides_runpath=yes
11716 ;;
11717 freebsd3.[01]* | freebsdelf3.[01]*)
11718 shlibpath_overrides_runpath=yes
11719 hardcode_into_libs=yes
11720 ;;
11721 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11722 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11723 shlibpath_overrides_runpath=no
11724 hardcode_into_libs=yes
11725 ;;
11726 *) # from 4.6 on, and DragonFly
11727 shlibpath_overrides_runpath=yes
11728 hardcode_into_libs=yes
11729 ;;
11730 esac
11731 ;;
11732
11733 haiku*)
11734 version_type=linux # correct to gnu/linux during the next big refactor
11735 need_lib_prefix=no
11736 need_version=no
11737 dynamic_linker="$host_os runtime_loader"
11738 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11739 soname_spec='$libname$release$shared_ext$major'
11740 shlibpath_var=LIBRARY_PATH
11741 shlibpath_overrides_runpath=no
11742 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11743 hardcode_into_libs=yes
11744 ;;
11745
11746 hpux9* | hpux10* | hpux11*)
11747 # Give a soname corresponding to the major version so that dld.sl refuses to
11748 # link against other versions.
11749 version_type=sunos
11750 need_lib_prefix=no
11751 need_version=no
11752 case $host_cpu in
11753 ia64*)
11754 shrext_cmds='.so'
11755 hardcode_into_libs=yes
11756 dynamic_linker="$host_os dld.so"
11757 shlibpath_var=LD_LIBRARY_PATH
11758 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11759 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11760 soname_spec='$libname$release$shared_ext$major'
11761 if test 32 = "$HPUX_IA64_MODE"; then
11762 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11763 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11764 else
11765 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11766 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11767 fi
11768 ;;
11769 hppa*64*)
11770 shrext_cmds='.sl'
11771 hardcode_into_libs=yes
11772 dynamic_linker="$host_os dld.sl"
11773 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11774 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11775 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11776 soname_spec='$libname$release$shared_ext$major'
11777 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11778 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11779 ;;
11780 *)
11781 shrext_cmds='.sl'
11782 dynamic_linker="$host_os dld.sl"
11783 shlibpath_var=SHLIB_PATH
11784 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11785 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11786 soname_spec='$libname$release$shared_ext$major'
11787 ;;
11788 esac
11789 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11790 postinstall_cmds='chmod 555 $lib'
11791 # or fails outright, so override atomically:
11792 install_override_mode=555
11793 ;;
11794
11795 interix[3-9]*)
11796 version_type=linux # correct to gnu/linux during the next big refactor
11797 need_lib_prefix=no
11798 need_version=no
11799 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11800 soname_spec='$libname$release$shared_ext$major'
11801 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11802 shlibpath_var=LD_LIBRARY_PATH
11803 shlibpath_overrides_runpath=no
11804 hardcode_into_libs=yes
11805 ;;
11806
11807 irix5* | irix6* | nonstopux*)
11808 case $host_os in
11809 nonstopux*) version_type=nonstopux ;;
11810 *)
11811 if test yes = "$lt_cv_prog_gnu_ld"; then
11812 version_type=linux # correct to gnu/linux during the next big refactor
11813 else
11814 version_type=irix
11815 fi ;;
11816 esac
11817 need_lib_prefix=no
11818 need_version=no
11819 soname_spec='$libname$release$shared_ext$major'
11820 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11821 case $host_os in
11822 irix5* | nonstopux*)
11823 libsuff= shlibsuff=
11824 ;;
11825 *)
11826 case $LD in # libtool.m4 will add one of these switches to LD
11827 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11828 libsuff= shlibsuff= libmagic=32-bit;;
11829 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11830 libsuff=32 shlibsuff=N32 libmagic=N32;;
11831 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11832 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11833 *) libsuff= shlibsuff= libmagic=never-match;;
11834 esac
11835 ;;
11836 esac
11837 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11838 shlibpath_overrides_runpath=no
11839 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11840 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11841 hardcode_into_libs=yes
11842 ;;
11843
11844 # No shared lib support for Linux oldld, aout, or coff.
11845 linux*oldld* | linux*aout* | linux*coff*)
11846 dynamic_linker=no
11847 ;;
11848
11849 linux*android*)
11850 version_type=none # Android doesn't support versioned libraries.
11851 need_lib_prefix=no
11852 need_version=no
11853 library_names_spec='$libname$release$shared_ext'
11854 soname_spec='$libname$release$shared_ext'
11855 finish_cmds=
11856 shlibpath_var=LD_LIBRARY_PATH
11857 shlibpath_overrides_runpath=yes
11858
11859 # This implies no fast_install, which is unacceptable.
11860 # Some rework will be needed to allow for fast_install
11861 # before this can be enabled.
11862 hardcode_into_libs=yes
11863
11864 dynamic_linker='Android linker'
11865 # Don't embed -rpath directories since the linker doesn't support them.
11866 hardcode_libdir_flag_spec='-L$libdir'
11867 ;;
11868
11869 # This must be glibc/ELF.
11870 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11871 version_type=linux # correct to gnu/linux during the next big refactor
11872 need_lib_prefix=no
11873 need_version=no
11874 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11875 soname_spec='$libname$release$shared_ext$major'
11876 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11877 shlibpath_var=LD_LIBRARY_PATH
11878 shlibpath_overrides_runpath=no
11879
11880 # Some binutils ld are patched to set DT_RUNPATH
11881 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11882 $as_echo_n "(cached) " >&6
11883 else
11884 lt_cv_shlibpath_overrides_runpath=no
11885 save_LDFLAGS=$LDFLAGS
11886 save_libdir=$libdir
11887 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11888 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11890 /* end confdefs.h. */
11891
11892 int
11893 main ()
11894 {
11895
11896 ;
11897 return 0;
11898 }
11899 _ACEOF
11900 if ac_fn_c_try_link "$LINENO"; then :
11901 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11902 lt_cv_shlibpath_overrides_runpath=yes
11903 fi
11904 fi
11905 rm -f core conftest.err conftest.$ac_objext \
11906 conftest$ac_exeext conftest.$ac_ext
11907 LDFLAGS=$save_LDFLAGS
11908 libdir=$save_libdir
11909
11910 fi
11911
11912 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11913
11914 # This implies no fast_install, which is unacceptable.
11915 # Some rework will be needed to allow for fast_install
11916 # before this can be enabled.
11917 hardcode_into_libs=yes
11918
11919 # Ideally, we could use ldconfig to report *all* directores which are
11920 # searched for libraries, however this is still not possible. Aside from not
11921 # being certain /sbin/ldconfig is available, command
11922 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11923 # even though it is searched at run-time. Try to do the best guess by
11924 # appending ld.so.conf contents (and includes) to the search path.
11925 if test -f /etc/ld.so.conf; then
11926 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' ' '`
11927 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11928 fi
11929
11930 # We used to test for /lib/ld.so.1 and disable shared libraries on
11931 # powerpc, because MkLinux only supported shared libraries with the
11932 # GNU dynamic linker. Since this was broken with cross compilers,
11933 # most powerpc-linux boxes support dynamic linking these days and
11934 # people can always --disable-shared, the test was removed, and we
11935 # assume the GNU/Linux dynamic linker is in use.
11936 dynamic_linker='GNU/Linux ld.so'
11937 ;;
11938
11939 netbsdelf*-gnu)
11940 version_type=linux
11941 need_lib_prefix=no
11942 need_version=no
11943 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11944 soname_spec='${libname}${release}${shared_ext}$major'
11945 shlibpath_var=LD_LIBRARY_PATH
11946 shlibpath_overrides_runpath=no
11947 hardcode_into_libs=yes
11948 dynamic_linker='NetBSD ld.elf_so'
11949 ;;
11950
11951 netbsd*)
11952 version_type=sunos
11953 need_lib_prefix=no
11954 need_version=no
11955 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11956 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11957 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11958 dynamic_linker='NetBSD (a.out) ld.so'
11959 else
11960 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11961 soname_spec='$libname$release$shared_ext$major'
11962 dynamic_linker='NetBSD ld.elf_so'
11963 fi
11964 shlibpath_var=LD_LIBRARY_PATH
11965 shlibpath_overrides_runpath=yes
11966 hardcode_into_libs=yes
11967 ;;
11968
11969 newsos6)
11970 version_type=linux # correct to gnu/linux during the next big refactor
11971 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11972 shlibpath_var=LD_LIBRARY_PATH
11973 shlibpath_overrides_runpath=yes
11974 ;;
11975
11976 *nto* | *qnx*)
11977 version_type=qnx
11978 need_lib_prefix=no
11979 need_version=no
11980 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11981 soname_spec='$libname$release$shared_ext$major'
11982 shlibpath_var=LD_LIBRARY_PATH
11983 shlibpath_overrides_runpath=no
11984 hardcode_into_libs=yes
11985 dynamic_linker='ldqnx.so'
11986 ;;
11987
11988 openbsd* | bitrig*)
11989 version_type=sunos
11990 sys_lib_dlsearch_path_spec=/usr/lib
11991 need_lib_prefix=no
11992 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11993 need_version=no
11994 else
11995 need_version=yes
11996 fi
11997 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11998 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11999 shlibpath_var=LD_LIBRARY_PATH
12000 shlibpath_overrides_runpath=yes
12001 ;;
12002
12003 os2*)
12004 libname_spec='$name'
12005 version_type=windows
12006 shrext_cmds=.dll
12007 need_version=no
12008 need_lib_prefix=no
12009 # OS/2 can only load a DLL with a base name of 8 characters or less.
12010 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12011 v=$($ECHO $release$versuffix | tr -d .-);
12012 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12013 $ECHO $n$v`$shared_ext'
12014 library_names_spec='${libname}_dll.$libext'
12015 dynamic_linker='OS/2 ld.exe'
12016 shlibpath_var=BEGINLIBPATH
12017 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12018 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12019 postinstall_cmds='base_file=`basename \$file`~
12020 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12021 dldir=$destdir/`dirname \$dlpath`~
12022 test -d \$dldir || mkdir -p \$dldir~
12023 $install_prog $dir/$dlname \$dldir/$dlname~
12024 chmod a+x \$dldir/$dlname~
12025 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12026 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12027 fi'
12028 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12029 dlpath=$dir/\$dldll~
12030 $RM \$dlpath'
12031 ;;
12032
12033 osf3* | osf4* | osf5*)
12034 version_type=osf
12035 need_lib_prefix=no
12036 need_version=no
12037 soname_spec='$libname$release$shared_ext$major'
12038 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12039 shlibpath_var=LD_LIBRARY_PATH
12040 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12041 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12042 ;;
12043
12044 rdos*)
12045 dynamic_linker=no
12046 ;;
12047
12048 solaris*)
12049 version_type=linux # correct to gnu/linux during the next big refactor
12050 need_lib_prefix=no
12051 need_version=no
12052 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12053 soname_spec='$libname$release$shared_ext$major'
12054 shlibpath_var=LD_LIBRARY_PATH
12055 shlibpath_overrides_runpath=yes
12056 hardcode_into_libs=yes
12057 # ldd complains unless libraries are executable
12058 postinstall_cmds='chmod +x $lib'
12059 ;;
12060
12061 sunos4*)
12062 version_type=sunos
12063 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12064 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12065 shlibpath_var=LD_LIBRARY_PATH
12066 shlibpath_overrides_runpath=yes
12067 if test yes = "$with_gnu_ld"; then
12068 need_lib_prefix=no
12069 fi
12070 need_version=yes
12071 ;;
12072
12073 sysv4 | sysv4.3*)
12074 version_type=linux # correct to gnu/linux during the next big refactor
12075 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12076 soname_spec='$libname$release$shared_ext$major'
12077 shlibpath_var=LD_LIBRARY_PATH
12078 case $host_vendor in
12079 sni)
12080 shlibpath_overrides_runpath=no
12081 need_lib_prefix=no
12082 runpath_var=LD_RUN_PATH
12083 ;;
12084 siemens)
12085 need_lib_prefix=no
12086 ;;
12087 motorola)
12088 need_lib_prefix=no
12089 need_version=no
12090 shlibpath_overrides_runpath=no
12091 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12092 ;;
12093 esac
12094 ;;
12095
12096 sysv4*MP*)
12097 if test -d /usr/nec; then
12098 version_type=linux # correct to gnu/linux during the next big refactor
12099 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12100 soname_spec='$libname$shared_ext.$major'
12101 shlibpath_var=LD_LIBRARY_PATH
12102 fi
12103 ;;
12104
12105 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12106 version_type=sco
12107 need_lib_prefix=no
12108 need_version=no
12109 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12110 soname_spec='$libname$release$shared_ext$major'
12111 shlibpath_var=LD_LIBRARY_PATH
12112 shlibpath_overrides_runpath=yes
12113 hardcode_into_libs=yes
12114 if test yes = "$with_gnu_ld"; then
12115 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12116 else
12117 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12118 case $host_os in
12119 sco3.2v5*)
12120 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12121 ;;
12122 esac
12123 fi
12124 sys_lib_dlsearch_path_spec='/usr/lib'
12125 ;;
12126
12127 tpf*)
12128 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12129 version_type=linux # correct to gnu/linux during the next big refactor
12130 need_lib_prefix=no
12131 need_version=no
12132 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12133 shlibpath_var=LD_LIBRARY_PATH
12134 shlibpath_overrides_runpath=no
12135 hardcode_into_libs=yes
12136 ;;
12137
12138 uts4*)
12139 version_type=linux # correct to gnu/linux during the next big refactor
12140 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12141 soname_spec='$libname$release$shared_ext$major'
12142 shlibpath_var=LD_LIBRARY_PATH
12143 ;;
12144
12145 *)
12146 dynamic_linker=no
12147 ;;
12148 esac
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12150 $as_echo "$dynamic_linker" >&6; }
12151 test no = "$dynamic_linker" && can_build_shared=no
12152
12153 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12154 if test yes = "$GCC"; then
12155 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12156 fi
12157
12158 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12159 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12160 fi
12161
12162 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12163 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12164 fi
12165
12166 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12167 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12168
12169 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12170 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12171
12172 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12173 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12272 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12273 hardcode_action=
12274 if test -n "$hardcode_libdir_flag_spec" ||
12275 test -n "$runpath_var" ||
12276 test yes = "$hardcode_automatic"; then
12277
12278 # We can hardcode non-existent directories.
12279 if test no != "$hardcode_direct" &&
12280 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12281 # have to relink, otherwise we might link with an installed library
12282 # when we should be linking with a yet-to-be-installed one
12283 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12284 test no != "$hardcode_minus_L"; then
12285 # Linking always hardcodes the temporary library directory.
12286 hardcode_action=relink
12287 else
12288 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12289 hardcode_action=immediate
12290 fi
12291 else
12292 # We cannot hardcode anything, or else we can only hardcode existing
12293 # directories.
12294 hardcode_action=unsupported
12295 fi
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12297 $as_echo "$hardcode_action" >&6; }
12298
12299 if test relink = "$hardcode_action" ||
12300 test yes = "$inherit_rpath"; then
12301 # Fast installation is not supported
12302 enable_fast_install=no
12303 elif test yes = "$shlibpath_overrides_runpath" ||
12304 test no = "$enable_shared"; then
12305 # Fast installation is not necessary
12306 enable_fast_install=needless
12307 fi
12308
12309
12310
12311
12312
12313
12314 if test yes != "$enable_dlopen"; then
12315 enable_dlopen=unknown
12316 enable_dlopen_self=unknown
12317 enable_dlopen_self_static=unknown
12318 else
12319 lt_cv_dlopen=no
12320 lt_cv_dlopen_libs=
12321
12322 case $host_os in
12323 beos*)
12324 lt_cv_dlopen=load_add_on
12325 lt_cv_dlopen_libs=
12326 lt_cv_dlopen_self=yes
12327 ;;
12328
12329 mingw* | pw32* | cegcc*)
12330 lt_cv_dlopen=LoadLibrary
12331 lt_cv_dlopen_libs=
12332 ;;
12333
12334 cygwin*)
12335 lt_cv_dlopen=dlopen
12336 lt_cv_dlopen_libs=
12337 ;;
12338
12339 darwin*)
12340 # if libdl is installed we need to link against it
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12342 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12343 if ${ac_cv_lib_dl_dlopen+:} false; then :
12344 $as_echo_n "(cached) " >&6
12345 else
12346 ac_check_lib_save_LIBS=$LIBS
12347 LIBS="-ldl $LIBS"
12348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12349 /* end confdefs.h. */
12350
12351 /* Override any GCC internal prototype to avoid an error.
12352 Use char because int might match the return type of a GCC
12353 builtin and then its argument prototype would still apply. */
12354 #ifdef __cplusplus
12355 extern "C"
12356 #endif
12357 char dlopen ();
12358 int
12359 main ()
12360 {
12361 return dlopen ();
12362 ;
12363 return 0;
12364 }
12365 _ACEOF
12366 if ac_fn_c_try_link "$LINENO"; then :
12367 ac_cv_lib_dl_dlopen=yes
12368 else
12369 ac_cv_lib_dl_dlopen=no
12370 fi
12371 rm -f core conftest.err conftest.$ac_objext \
12372 conftest$ac_exeext conftest.$ac_ext
12373 LIBS=$ac_check_lib_save_LIBS
12374 fi
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12376 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12377 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12378 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12379 else
12380
12381 lt_cv_dlopen=dyld
12382 lt_cv_dlopen_libs=
12383 lt_cv_dlopen_self=yes
12384
12385 fi
12386
12387 ;;
12388
12389 tpf*)
12390 # Don't try to run any link tests for TPF. We know it's impossible
12391 # because TPF is a cross-compiler, and we know how we open DSOs.
12392 lt_cv_dlopen=dlopen
12393 lt_cv_dlopen_libs=
12394 lt_cv_dlopen_self=no
12395 ;;
12396
12397 *)
12398 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12399 if test "x$ac_cv_func_shl_load" = xyes; then :
12400 lt_cv_dlopen=shl_load
12401 else
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12403 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12404 if ${ac_cv_lib_dld_shl_load+:} false; then :
12405 $as_echo_n "(cached) " >&6
12406 else
12407 ac_check_lib_save_LIBS=$LIBS
12408 LIBS="-ldld $LIBS"
12409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12410 /* end confdefs.h. */
12411
12412 /* Override any GCC internal prototype to avoid an error.
12413 Use char because int might match the return type of a GCC
12414 builtin and then its argument prototype would still apply. */
12415 #ifdef __cplusplus
12416 extern "C"
12417 #endif
12418 char shl_load ();
12419 int
12420 main ()
12421 {
12422 return shl_load ();
12423 ;
12424 return 0;
12425 }
12426 _ACEOF
12427 if ac_fn_c_try_link "$LINENO"; then :
12428 ac_cv_lib_dld_shl_load=yes
12429 else
12430 ac_cv_lib_dld_shl_load=no
12431 fi
12432 rm -f core conftest.err conftest.$ac_objext \
12433 conftest$ac_exeext conftest.$ac_ext
12434 LIBS=$ac_check_lib_save_LIBS
12435 fi
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12437 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12438 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12439 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12440 else
12441 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12442 if test "x$ac_cv_func_dlopen" = xyes; then :
12443 lt_cv_dlopen=dlopen
12444 else
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12446 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12447 if ${ac_cv_lib_dl_dlopen+:} false; then :
12448 $as_echo_n "(cached) " >&6
12449 else
12450 ac_check_lib_save_LIBS=$LIBS
12451 LIBS="-ldl $LIBS"
12452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12453 /* end confdefs.h. */
12454
12455 /* Override any GCC internal prototype to avoid an error.
12456 Use char because int might match the return type of a GCC
12457 builtin and then its argument prototype would still apply. */
12458 #ifdef __cplusplus
12459 extern "C"
12460 #endif
12461 char dlopen ();
12462 int
12463 main ()
12464 {
12465 return dlopen ();
12466 ;
12467 return 0;
12468 }
12469 _ACEOF
12470 if ac_fn_c_try_link "$LINENO"; then :
12471 ac_cv_lib_dl_dlopen=yes
12472 else
12473 ac_cv_lib_dl_dlopen=no
12474 fi
12475 rm -f core conftest.err conftest.$ac_objext \
12476 conftest$ac_exeext conftest.$ac_ext
12477 LIBS=$ac_check_lib_save_LIBS
12478 fi
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12480 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12481 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12482 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12483 else
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12485 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12486 if ${ac_cv_lib_svld_dlopen+:} false; then :
12487 $as_echo_n "(cached) " >&6
12488 else
12489 ac_check_lib_save_LIBS=$LIBS
12490 LIBS="-lsvld $LIBS"
12491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12492 /* end confdefs.h. */
12493
12494 /* Override any GCC internal prototype to avoid an error.
12495 Use char because int might match the return type of a GCC
12496 builtin and then its argument prototype would still apply. */
12497 #ifdef __cplusplus
12498 extern "C"
12499 #endif
12500 char dlopen ();
12501 int
12502 main ()
12503 {
12504 return dlopen ();
12505 ;
12506 return 0;
12507 }
12508 _ACEOF
12509 if ac_fn_c_try_link "$LINENO"; then :
12510 ac_cv_lib_svld_dlopen=yes
12511 else
12512 ac_cv_lib_svld_dlopen=no
12513 fi
12514 rm -f core conftest.err conftest.$ac_objext \
12515 conftest$ac_exeext conftest.$ac_ext
12516 LIBS=$ac_check_lib_save_LIBS
12517 fi
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12519 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12520 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12521 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12522 else
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12524 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12525 if ${ac_cv_lib_dld_dld_link+:} false; then :
12526 $as_echo_n "(cached) " >&6
12527 else
12528 ac_check_lib_save_LIBS=$LIBS
12529 LIBS="-ldld $LIBS"
12530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12531 /* end confdefs.h. */
12532
12533 /* Override any GCC internal prototype to avoid an error.
12534 Use char because int might match the return type of a GCC
12535 builtin and then its argument prototype would still apply. */
12536 #ifdef __cplusplus
12537 extern "C"
12538 #endif
12539 char dld_link ();
12540 int
12541 main ()
12542 {
12543 return dld_link ();
12544 ;
12545 return 0;
12546 }
12547 _ACEOF
12548 if ac_fn_c_try_link "$LINENO"; then :
12549 ac_cv_lib_dld_dld_link=yes
12550 else
12551 ac_cv_lib_dld_dld_link=no
12552 fi
12553 rm -f core conftest.err conftest.$ac_objext \
12554 conftest$ac_exeext conftest.$ac_ext
12555 LIBS=$ac_check_lib_save_LIBS
12556 fi
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12558 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12559 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12560 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12561 fi
12562
12563
12564 fi
12565
12566
12567 fi
12568
12569
12570 fi
12571
12572
12573 fi
12574
12575
12576 fi
12577
12578 ;;
12579 esac
12580
12581 if test no = "$lt_cv_dlopen"; then
12582 enable_dlopen=no
12583 else
12584 enable_dlopen=yes
12585 fi
12586
12587 case $lt_cv_dlopen in
12588 dlopen)
12589 save_CPPFLAGS=$CPPFLAGS
12590 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12591
12592 save_LDFLAGS=$LDFLAGS
12593 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12594
12595 save_LIBS=$LIBS
12596 LIBS="$lt_cv_dlopen_libs $LIBS"
12597
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12599 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12600 if ${lt_cv_dlopen_self+:} false; then :
12601 $as_echo_n "(cached) " >&6
12602 else
12603 if test yes = "$cross_compiling"; then :
12604 lt_cv_dlopen_self=cross
12605 else
12606 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12607 lt_status=$lt_dlunknown
12608 cat > conftest.$ac_ext <<_LT_EOF
12609 #line $LINENO "configure"
12610 #include "confdefs.h"
12611
12612 #if HAVE_DLFCN_H
12613 #include <dlfcn.h>
12614 #endif
12615
12616 #include <stdio.h>
12617
12618 #ifdef RTLD_GLOBAL
12619 # define LT_DLGLOBAL RTLD_GLOBAL
12620 #else
12621 # ifdef DL_GLOBAL
12622 # define LT_DLGLOBAL DL_GLOBAL
12623 # else
12624 # define LT_DLGLOBAL 0
12625 # endif
12626 #endif
12627
12628 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12629 find out it does not work in some platform. */
12630 #ifndef LT_DLLAZY_OR_NOW
12631 # ifdef RTLD_LAZY
12632 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12633 # else
12634 # ifdef DL_LAZY
12635 # define LT_DLLAZY_OR_NOW DL_LAZY
12636 # else
12637 # ifdef RTLD_NOW
12638 # define LT_DLLAZY_OR_NOW RTLD_NOW
12639 # else
12640 # ifdef DL_NOW
12641 # define LT_DLLAZY_OR_NOW DL_NOW
12642 # else
12643 # define LT_DLLAZY_OR_NOW 0
12644 # endif
12645 # endif
12646 # endif
12647 # endif
12648 #endif
12649
12650 /* When -fvisibility=hidden is used, assume the code has been annotated
12651 correspondingly for the symbols needed. */
12652 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12653 int fnord () __attribute__((visibility("default")));
12654 #endif
12655
12656 int fnord () { return 42; }
12657 int main ()
12658 {
12659 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12660 int status = $lt_dlunknown;
12661
12662 if (self)
12663 {
12664 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12665 else
12666 {
12667 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12668 else puts (dlerror ());
12669 }
12670 /* dlclose (self); */
12671 }
12672 else
12673 puts (dlerror ());
12674
12675 return status;
12676 }
12677 _LT_EOF
12678 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12679 (eval $ac_link) 2>&5
12680 ac_status=$?
12681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12682 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12683 (./conftest; exit; ) >&5 2>/dev/null
12684 lt_status=$?
12685 case x$lt_status in
12686 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12687 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12688 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12689 esac
12690 else :
12691 # compilation failed
12692 lt_cv_dlopen_self=no
12693 fi
12694 fi
12695 rm -fr conftest*
12696
12697
12698 fi
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12700 $as_echo "$lt_cv_dlopen_self" >&6; }
12701
12702 if test yes = "$lt_cv_dlopen_self"; then
12703 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12705 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12706 if ${lt_cv_dlopen_self_static+:} false; then :
12707 $as_echo_n "(cached) " >&6
12708 else
12709 if test yes = "$cross_compiling"; then :
12710 lt_cv_dlopen_self_static=cross
12711 else
12712 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12713 lt_status=$lt_dlunknown
12714 cat > conftest.$ac_ext <<_LT_EOF
12715 #line $LINENO "configure"
12716 #include "confdefs.h"
12717
12718 #if HAVE_DLFCN_H
12719 #include <dlfcn.h>
12720 #endif
12721
12722 #include <stdio.h>
12723
12724 #ifdef RTLD_GLOBAL
12725 # define LT_DLGLOBAL RTLD_GLOBAL
12726 #else
12727 # ifdef DL_GLOBAL
12728 # define LT_DLGLOBAL DL_GLOBAL
12729 # else
12730 # define LT_DLGLOBAL 0
12731 # endif
12732 #endif
12733
12734 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12735 find out it does not work in some platform. */
12736 #ifndef LT_DLLAZY_OR_NOW
12737 # ifdef RTLD_LAZY
12738 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12739 # else
12740 # ifdef DL_LAZY
12741 # define LT_DLLAZY_OR_NOW DL_LAZY
12742 # else
12743 # ifdef RTLD_NOW
12744 # define LT_DLLAZY_OR_NOW RTLD_NOW
12745 # else
12746 # ifdef DL_NOW
12747 # define LT_DLLAZY_OR_NOW DL_NOW
12748 # else
12749 # define LT_DLLAZY_OR_NOW 0
12750 # endif
12751 # endif
12752 # endif
12753 # endif
12754 #endif
12755
12756 /* When -fvisibility=hidden is used, assume the code has been annotated
12757 correspondingly for the symbols needed. */
12758 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12759 int fnord () __attribute__((visibility("default")));
12760 #endif
12761
12762 int fnord () { return 42; }
12763 int main ()
12764 {
12765 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12766 int status = $lt_dlunknown;
12767
12768 if (self)
12769 {
12770 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12771 else
12772 {
12773 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12774 else puts (dlerror ());
12775 }
12776 /* dlclose (self); */
12777 }
12778 else
12779 puts (dlerror ());
12780
12781 return status;
12782 }
12783 _LT_EOF
12784 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12785 (eval $ac_link) 2>&5
12786 ac_status=$?
12787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12788 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12789 (./conftest; exit; ) >&5 2>/dev/null
12790 lt_status=$?
12791 case x$lt_status in
12792 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12793 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12794 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12795 esac
12796 else :
12797 # compilation failed
12798 lt_cv_dlopen_self_static=no
12799 fi
12800 fi
12801 rm -fr conftest*
12802
12803
12804 fi
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12806 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12807 fi
12808
12809 CPPFLAGS=$save_CPPFLAGS
12810 LDFLAGS=$save_LDFLAGS
12811 LIBS=$save_LIBS
12812 ;;
12813 esac
12814
12815 case $lt_cv_dlopen_self in
12816 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12817 *) enable_dlopen_self=unknown ;;
12818 esac
12819
12820 case $lt_cv_dlopen_self_static in
12821 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12822 *) enable_dlopen_self_static=unknown ;;
12823 esac
12824 fi
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842 striplib=
12843 old_striplib=
12844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12845 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12846 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12847 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12848 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12850 $as_echo "yes" >&6; }
12851 else
12852 # FIXME - insert some real tests, host_os isn't really good enough
12853 case $host_os in
12854 darwin*)
12855 if test -n "$STRIP"; then
12856 striplib="$STRIP -x"
12857 old_striplib="$STRIP -S"
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12859 $as_echo "yes" >&6; }
12860 else
12861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12862 $as_echo "no" >&6; }
12863 fi
12864 ;;
12865 *)
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12867 $as_echo "no" >&6; }
12868 ;;
12869 esac
12870 fi
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883 # Report what library types will actually be built
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12885 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12887 $as_echo "$can_build_shared" >&6; }
12888
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12890 $as_echo_n "checking whether to build shared libraries... " >&6; }
12891 test no = "$can_build_shared" && enable_shared=no
12892
12893 # On AIX, shared libraries and static libraries use the same namespace, and
12894 # are all built from PIC.
12895 case $host_os in
12896 aix3*)
12897 test yes = "$enable_shared" && enable_static=no
12898 if test -n "$RANLIB"; then
12899 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12900 postinstall_cmds='$RANLIB $lib'
12901 fi
12902 ;;
12903
12904 aix[4-9]*)
12905 if test ia64 != "$host_cpu"; then
12906 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12907 yes,aix,yes) ;; # shared object as lib.so file only
12908 yes,svr4,*) ;; # shared object as lib.so archive member only
12909 yes,*) enable_static=no ;; # shared object in lib.a archive as well
12910 esac
12911 fi
12912 ;;
12913 esac
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12915 $as_echo "$enable_shared" >&6; }
12916
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12918 $as_echo_n "checking whether to build static libraries... " >&6; }
12919 # Make sure either enable_shared or enable_static is yes.
12920 test yes = "$enable_shared" || enable_static=yes
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12922 $as_echo "$enable_static" >&6; }
12923
12924
12925
12926
12927 fi
12928 ac_ext=c
12929 ac_cpp='$CPP $CPPFLAGS'
12930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12933
12934 CC=$lt_save_CC
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950 ac_config_commands="$ac_config_commands libtool"
12951
12952
12953
12954
12955 # Only expand once:
12956
12957
12958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12959 $as_echo_n "checking for ANSI C header files... " >&6; }
12960 if ${ac_cv_header_stdc+:} false; then :
12961 $as_echo_n "(cached) " >&6
12962 else
12963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12964 /* end confdefs.h. */
12965 #include <stdlib.h>
12966 #include <stdarg.h>
12967 #include <string.h>
12968 #include <float.h>
12969
12970 int
12971 main ()
12972 {
12973
12974 ;
12975 return 0;
12976 }
12977 _ACEOF
12978 if ac_fn_c_try_compile "$LINENO"; then :
12979 ac_cv_header_stdc=yes
12980 else
12981 ac_cv_header_stdc=no
12982 fi
12983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12984
12985 if test $ac_cv_header_stdc = yes; then
12986 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12988 /* end confdefs.h. */
12989 #include <string.h>
12990
12991 _ACEOF
12992 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12993 $EGREP "memchr" >/dev/null 2>&1; then :
12994
12995 else
12996 ac_cv_header_stdc=no
12997 fi
12998 rm -f conftest*
12999
13000 fi
13001
13002 if test $ac_cv_header_stdc = yes; then
13003 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13005 /* end confdefs.h. */
13006 #include <stdlib.h>
13007
13008 _ACEOF
13009 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13010 $EGREP "free" >/dev/null 2>&1; then :
13011
13012 else
13013 ac_cv_header_stdc=no
13014 fi
13015 rm -f conftest*
13016
13017 fi
13018
13019 if test $ac_cv_header_stdc = yes; then
13020 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13021 if test "$cross_compiling" = yes; then :
13022 :
13023 else
13024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13025 /* end confdefs.h. */
13026 #include <ctype.h>
13027 #include <stdlib.h>
13028 #if ((' ' & 0x0FF) == 0x020)
13029 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13030 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13031 #else
13032 # define ISLOWER(c) \
13033 (('a' <= (c) && (c) <= 'i') \
13034 || ('j' <= (c) && (c) <= 'r') \
13035 || ('s' <= (c) && (c) <= 'z'))
13036 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13037 #endif
13038
13039 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13040 int
13041 main ()
13042 {
13043 int i;
13044 for (i = 0; i < 256; i++)
13045 if (XOR (islower (i), ISLOWER (i))
13046 || toupper (i) != TOUPPER (i))
13047 return 2;
13048 return 0;
13049 }
13050 _ACEOF
13051 if ac_fn_c_try_run "$LINENO"; then :
13052
13053 else
13054 ac_cv_header_stdc=no
13055 fi
13056 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13057 conftest.$ac_objext conftest.beam conftest.$ac_ext
13058 fi
13059
13060 fi
13061 fi
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13063 $as_echo "$ac_cv_header_stdc" >&6; }
13064 if test $ac_cv_header_stdc = yes; then
13065
13066 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
13067
13068 fi
13069
13070 for ac_header in stdlib.h sys/time.h unistd.h
13071 do :
13072 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13073 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13074 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13075 cat >>confdefs.h <<_ACEOF
13076 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13077 _ACEOF
13078
13079 fi
13080
13081 done
13082
13083
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13085 $as_echo_n "checking whether NLS is requested... " >&6; }
13086 # Check whether --enable-nls was given.
13087 if test "${enable_nls+set}" = set; then :
13088 enableval=$enable_nls; USE_NLS=$enableval
13089 else
13090 USE_NLS=yes
13091 fi
13092
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13094 $as_echo "$USE_NLS" >&6; }
13095
13096
13097
13098
13099 case "$am__api_version" in
13100 1.01234)
13101 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
13102 ;;
13103 *)
13104 ;;
13105 esac
13106
13107 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
13108 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
13109 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
13110 if test -n "0.35.0"; then
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
13112 $as_echo_n "checking for intltool >= 0.35.0... " >&6; }
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
13114 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
13115 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
13116 as_fn_error $? "Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5
13117 fi
13118
13119 # Extract the first word of "intltool-update", so it can be a program name with args.
13120 set dummy intltool-update; ac_word=$2
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13122 $as_echo_n "checking for $ac_word... " >&6; }
13123 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
13124 $as_echo_n "(cached) " >&6
13125 else
13126 case $INTLTOOL_UPDATE in
13127 [\\/]* | ?:[\\/]*)
13128 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
13129 ;;
13130 *)
13131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13132 for as_dir in $PATH
13133 do
13134 IFS=$as_save_IFS
13135 test -z "$as_dir" && as_dir=.
13136 for ac_exec_ext in '' $ac_executable_extensions; do
13137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13138 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
13139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13140 break 2
13141 fi
13142 done
13143 done
13144 IFS=$as_save_IFS
13145
13146 ;;
13147 esac
13148 fi
13149 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
13150 if test -n "$INTLTOOL_UPDATE"; then
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
13152 $as_echo "$INTLTOOL_UPDATE" >&6; }
13153 else
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13155 $as_echo "no" >&6; }
13156 fi
13157
13158
13159 # Extract the first word of "intltool-merge", so it can be a program name with args.
13160 set dummy intltool-merge; ac_word=$2
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13162 $as_echo_n "checking for $ac_word... " >&6; }
13163 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
13164 $as_echo_n "(cached) " >&6
13165 else
13166 case $INTLTOOL_MERGE in
13167 [\\/]* | ?:[\\/]*)
13168 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
13169 ;;
13170 *)
13171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13172 for as_dir in $PATH
13173 do
13174 IFS=$as_save_IFS
13175 test -z "$as_dir" && as_dir=.
13176 for ac_exec_ext in '' $ac_executable_extensions; do
13177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13178 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
13179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13180 break 2
13181 fi
13182 done
13183 done
13184 IFS=$as_save_IFS
13185
13186 ;;
13187 esac
13188 fi
13189 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
13190 if test -n "$INTLTOOL_MERGE"; then
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
13192 $as_echo "$INTLTOOL_MERGE" >&6; }
13193 else
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13195 $as_echo "no" >&6; }
13196 fi
13197
13198
13199 # Extract the first word of "intltool-extract", so it can be a program name with args.
13200 set dummy intltool-extract; ac_word=$2
13201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13202 $as_echo_n "checking for $ac_word... " >&6; }
13203 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
13204 $as_echo_n "(cached) " >&6
13205 else
13206 case $INTLTOOL_EXTRACT in
13207 [\\/]* | ?:[\\/]*)
13208 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
13209 ;;
13210 *)
13211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13212 for as_dir in $PATH
13213 do
13214 IFS=$as_save_IFS
13215 test -z "$as_dir" && as_dir=.
13216 for ac_exec_ext in '' $ac_executable_extensions; do
13217 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13218 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
13219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13220 break 2
13221 fi
13222 done
13223 done
13224 IFS=$as_save_IFS
13225
13226 ;;
13227 esac
13228 fi
13229 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
13230 if test -n "$INTLTOOL_EXTRACT"; then
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
13232 $as_echo "$INTLTOOL_EXTRACT" >&6; }
13233 else
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13235 $as_echo "no" >&6; }
13236 fi
13237
13238
13239 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
13240 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
13241 fi
13242
13243 if test -z "$AM_DEFAULT_VERBOSITY"; then
13244 AM_DEFAULT_VERBOSITY=1
13245 fi
13246
13247
13248 INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
13249 INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
13250 INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
13251
13252
13253
13254
13255 INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
13256 intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
13257 intltool__v_merge_options_0='-q'
13258
13259
13260
13261
13262 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13263 INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13264 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13265 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13266 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
13267 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13268 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13269 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13270 INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13271 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13272 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13273 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
13274 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
13275 else
13276 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
13277 fi
13278 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13279 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13280 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13281 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13282 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13283 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13284 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382 # Check the gettext tools to make sure they are GNU
13383 # Extract the first word of "xgettext", so it can be a program name with args.
13384 set dummy xgettext; ac_word=$2
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13386 $as_echo_n "checking for $ac_word... " >&6; }
13387 if ${ac_cv_path_XGETTEXT+:} false; then :
13388 $as_echo_n "(cached) " >&6
13389 else
13390 case $XGETTEXT in
13391 [\\/]* | ?:[\\/]*)
13392 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13393 ;;
13394 *)
13395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13396 for as_dir in $PATH
13397 do
13398 IFS=$as_save_IFS
13399 test -z "$as_dir" && as_dir=.
13400 for ac_exec_ext in '' $ac_executable_extensions; do
13401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13402 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
13403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13404 break 2
13405 fi
13406 done
13407 done
13408 IFS=$as_save_IFS
13409
13410 ;;
13411 esac
13412 fi
13413 XGETTEXT=$ac_cv_path_XGETTEXT
13414 if test -n "$XGETTEXT"; then
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13416 $as_echo "$XGETTEXT" >&6; }
13417 else
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13419 $as_echo "no" >&6; }
13420 fi
13421
13422
13423 # Extract the first word of "msgmerge", so it can be a program name with args.
13424 set dummy msgmerge; ac_word=$2
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13426 $as_echo_n "checking for $ac_word... " >&6; }
13427 if ${ac_cv_path_MSGMERGE+:} false; then :
13428 $as_echo_n "(cached) " >&6
13429 else
13430 case $MSGMERGE in
13431 [\\/]* | ?:[\\/]*)
13432 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13433 ;;
13434 *)
13435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13436 for as_dir in $PATH
13437 do
13438 IFS=$as_save_IFS
13439 test -z "$as_dir" && as_dir=.
13440 for ac_exec_ext in '' $ac_executable_extensions; do
13441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13442 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
13443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13444 break 2
13445 fi
13446 done
13447 done
13448 IFS=$as_save_IFS
13449
13450 ;;
13451 esac
13452 fi
13453 MSGMERGE=$ac_cv_path_MSGMERGE
13454 if test -n "$MSGMERGE"; then
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13456 $as_echo "$MSGMERGE" >&6; }
13457 else
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13459 $as_echo "no" >&6; }
13460 fi
13461
13462
13463 # Extract the first word of "msgfmt", so it can be a program name with args.
13464 set dummy msgfmt; ac_word=$2
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13466 $as_echo_n "checking for $ac_word... " >&6; }
13467 if ${ac_cv_path_MSGFMT+:} false; then :
13468 $as_echo_n "(cached) " >&6
13469 else
13470 case $MSGFMT in
13471 [\\/]* | ?:[\\/]*)
13472 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13473 ;;
13474 *)
13475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13476 for as_dir in $PATH
13477 do
13478 IFS=$as_save_IFS
13479 test -z "$as_dir" && as_dir=.
13480 for ac_exec_ext in '' $ac_executable_extensions; do
13481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13482 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
13483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13484 break 2
13485 fi
13486 done
13487 done
13488 IFS=$as_save_IFS
13489
13490 ;;
13491 esac
13492 fi
13493 MSGFMT=$ac_cv_path_MSGFMT
13494 if test -n "$MSGFMT"; then
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13496 $as_echo "$MSGFMT" >&6; }
13497 else
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13499 $as_echo "no" >&6; }
13500 fi
13501
13502
13503 # Extract the first word of "gmsgfmt", so it can be a program name with args.
13504 set dummy gmsgfmt; ac_word=$2
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13506 $as_echo_n "checking for $ac_word... " >&6; }
13507 if ${ac_cv_path_GMSGFMT+:} false; then :
13508 $as_echo_n "(cached) " >&6
13509 else
13510 case $GMSGFMT in
13511 [\\/]* | ?:[\\/]*)
13512 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13513 ;;
13514 *)
13515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13516 for as_dir in $PATH
13517 do
13518 IFS=$as_save_IFS
13519 test -z "$as_dir" && as_dir=.
13520 for ac_exec_ext in '' $ac_executable_extensions; do
13521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13522 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13524 break 2
13525 fi
13526 done
13527 done
13528 IFS=$as_save_IFS
13529
13530 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13531 ;;
13532 esac
13533 fi
13534 GMSGFMT=$ac_cv_path_GMSGFMT
13535 if test -n "$GMSGFMT"; then
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13537 $as_echo "$GMSGFMT" >&6; }
13538 else
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13540 $as_echo "no" >&6; }
13541 fi
13542
13543
13544 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
13545 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
13546 fi
13547 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
13548 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
13549 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
13550 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
13551 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
13552 fi
13553
13554 # Extract the first word of "perl", so it can be a program name with args.
13555 set dummy perl; ac_word=$2
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13557 $as_echo_n "checking for $ac_word... " >&6; }
13558 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
13559 $as_echo_n "(cached) " >&6
13560 else
13561 case $INTLTOOL_PERL in
13562 [\\/]* | ?:[\\/]*)
13563 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
13564 ;;
13565 *)
13566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13567 for as_dir in $PATH
13568 do
13569 IFS=$as_save_IFS
13570 test -z "$as_dir" && as_dir=.
13571 for ac_exec_ext in '' $ac_executable_extensions; do
13572 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13573 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
13574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13575 break 2
13576 fi
13577 done
13578 done
13579 IFS=$as_save_IFS
13580
13581 ;;
13582 esac
13583 fi
13584 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
13585 if test -n "$INTLTOOL_PERL"; then
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
13587 $as_echo "$INTLTOOL_PERL" >&6; }
13588 else
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13590 $as_echo "no" >&6; }
13591 fi
13592
13593
13594 if test -z "$INTLTOOL_PERL"; then
13595 as_fn_error $? "perl not found" "$LINENO" 5
13596 fi
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
13598 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
13599 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
13600 if test $? -ne 0; then
13601 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
13602 else
13603 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
13605 $as_echo "$IT_PERL_VERSION" >&6; }
13606 fi
13607 if test "x" != "xno-xml"; then
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
13609 $as_echo_n "checking for XML::Parser... " >&6; }
13610 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
13612 $as_echo "ok" >&6; }
13613 else
13614 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
13615 fi
13616 fi
13617
13618 # Substitute ALL_LINGUAS so we can use it in po/Makefile
13619
13620
13621
13622
13623
13624
13625
13626
13627 GETTEXT_MACRO_VERSION=0.19
13628
13629
13630
13631
13632 # Prepare PATH_SEPARATOR.
13633 # The user is always right.
13634 if test "${PATH_SEPARATOR+set}" != set; then
13635 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
13636 # contains only /bin. Note that ksh looks also at the FPATH variable,
13637 # so we have to set that as well for the test.
13638 PATH_SEPARATOR=:
13639 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
13640 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
13641 || PATH_SEPARATOR=';'
13642 }
13643 fi
13644
13645 # Find out how to test for executable files. Don't use a zero-byte file,
13646 # as systems may use methods other than mode bits to determine executability.
13647 cat >conf$$.file <<_ASEOF
13648 #! /bin/sh
13649 exit 0
13650 _ASEOF
13651 chmod +x conf$$.file
13652 if test -x conf$$.file >/dev/null 2>&1; then
13653 ac_executable_p="test -x"
13654 else
13655 ac_executable_p="test -f"
13656 fi
13657 rm -f conf$$.file
13658
13659 # Extract the first word of "msgfmt", so it can be a program name with args.
13660 set dummy msgfmt; ac_word=$2
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13662 $as_echo_n "checking for $ac_word... " >&6; }
13663 if ${ac_cv_path_MSGFMT+:} false; then :
13664 $as_echo_n "(cached) " >&6
13665 else
13666 case "$MSGFMT" in
13667 [\\/]* | ?:[\\/]*)
13668 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13669 ;;
13670 *)
13671 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13672 for ac_dir in $PATH; do
13673 IFS="$ac_save_IFS"
13674 test -z "$ac_dir" && ac_dir=.
13675 for ac_exec_ext in '' $ac_executable_extensions; do
13676 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13677 echo "$as_me: trying $ac_dir/$ac_word..." >&5
13678 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
13679 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
13680 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
13681 break 2
13682 fi
13683 fi
13684 done
13685 done
13686 IFS="$ac_save_IFS"
13687 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
13688 ;;
13689 esac
13690 fi
13691 MSGFMT="$ac_cv_path_MSGFMT"
13692 if test "$MSGFMT" != ":"; then
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13694 $as_echo "$MSGFMT" >&6; }
13695 else
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13697 $as_echo "no" >&6; }
13698 fi
13699
13700 # Extract the first word of "gmsgfmt", so it can be a program name with args.
13701 set dummy gmsgfmt; ac_word=$2
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13703 $as_echo_n "checking for $ac_word... " >&6; }
13704 if ${ac_cv_path_GMSGFMT+:} false; then :
13705 $as_echo_n "(cached) " >&6
13706 else
13707 case $GMSGFMT in
13708 [\\/]* | ?:[\\/]*)
13709 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13710 ;;
13711 *)
13712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13713 for as_dir in $PATH
13714 do
13715 IFS=$as_save_IFS
13716 test -z "$as_dir" && as_dir=.
13717 for ac_exec_ext in '' $ac_executable_extensions; do
13718 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13719 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13721 break 2
13722 fi
13723 done
13724 done
13725 IFS=$as_save_IFS
13726
13727 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13728 ;;
13729 esac
13730 fi
13731 GMSGFMT=$ac_cv_path_GMSGFMT
13732 if test -n "$GMSGFMT"; then
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13734 $as_echo "$GMSGFMT" >&6; }
13735 else
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13737 $as_echo "no" >&6; }
13738 fi
13739
13740
13741
13742 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13743 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
13744 *) MSGFMT_015=$MSGFMT ;;
13745 esac
13746
13747 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13748 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
13749 *) GMSGFMT_015=$GMSGFMT ;;
13750 esac
13751
13752
13753
13754 # Prepare PATH_SEPARATOR.
13755 # The user is always right.
13756 if test "${PATH_SEPARATOR+set}" != set; then
13757 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
13758 # contains only /bin. Note that ksh looks also at the FPATH variable,
13759 # so we have to set that as well for the test.
13760 PATH_SEPARATOR=:
13761 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
13762 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
13763 || PATH_SEPARATOR=';'
13764 }
13765 fi
13766
13767 # Find out how to test for executable files. Don't use a zero-byte file,
13768 # as systems may use methods other than mode bits to determine executability.
13769 cat >conf$$.file <<_ASEOF
13770 #! /bin/sh
13771 exit 0
13772 _ASEOF
13773 chmod +x conf$$.file
13774 if test -x conf$$.file >/dev/null 2>&1; then
13775 ac_executable_p="test -x"
13776 else
13777 ac_executable_p="test -f"
13778 fi
13779 rm -f conf$$.file
13780
13781 # Extract the first word of "xgettext", so it can be a program name with args.
13782 set dummy xgettext; ac_word=$2
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13784 $as_echo_n "checking for $ac_word... " >&6; }
13785 if ${ac_cv_path_XGETTEXT+:} false; then :
13786 $as_echo_n "(cached) " >&6
13787 else
13788 case "$XGETTEXT" in
13789 [\\/]* | ?:[\\/]*)
13790 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13791 ;;
13792 *)
13793 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13794 for ac_dir in $PATH; do
13795 IFS="$ac_save_IFS"
13796 test -z "$ac_dir" && ac_dir=.
13797 for ac_exec_ext in '' $ac_executable_extensions; do
13798 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13799 echo "$as_me: trying $ac_dir/$ac_word..." >&5
13800 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
13801 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
13802 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
13803 break 2
13804 fi
13805 fi
13806 done
13807 done
13808 IFS="$ac_save_IFS"
13809 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13810 ;;
13811 esac
13812 fi
13813 XGETTEXT="$ac_cv_path_XGETTEXT"
13814 if test "$XGETTEXT" != ":"; then
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13816 $as_echo "$XGETTEXT" >&6; }
13817 else
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13819 $as_echo "no" >&6; }
13820 fi
13821
13822 rm -f messages.po
13823
13824 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13825 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
13826 *) XGETTEXT_015=$XGETTEXT ;;
13827 esac
13828
13829
13830
13831 # Prepare PATH_SEPARATOR.
13832 # The user is always right.
13833 if test "${PATH_SEPARATOR+set}" != set; then
13834 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
13835 # contains only /bin. Note that ksh looks also at the FPATH variable,
13836 # so we have to set that as well for the test.
13837 PATH_SEPARATOR=:
13838 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
13839 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
13840 || PATH_SEPARATOR=';'
13841 }
13842 fi
13843
13844 # Find out how to test for executable files. Don't use a zero-byte file,
13845 # as systems may use methods other than mode bits to determine executability.
13846 cat >conf$$.file <<_ASEOF
13847 #! /bin/sh
13848 exit 0
13849 _ASEOF
13850 chmod +x conf$$.file
13851 if test -x conf$$.file >/dev/null 2>&1; then
13852 ac_executable_p="test -x"
13853 else
13854 ac_executable_p="test -f"
13855 fi
13856 rm -f conf$$.file
13857
13858 # Extract the first word of "msgmerge", so it can be a program name with args.
13859 set dummy msgmerge; ac_word=$2
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13861 $as_echo_n "checking for $ac_word... " >&6; }
13862 if ${ac_cv_path_MSGMERGE+:} false; then :
13863 $as_echo_n "(cached) " >&6
13864 else
13865 case "$MSGMERGE" in
13866 [\\/]* | ?:[\\/]*)
13867 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13868 ;;
13869 *)
13870 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13871 for ac_dir in $PATH; do
13872 IFS="$ac_save_IFS"
13873 test -z "$ac_dir" && ac_dir=.
13874 for ac_exec_ext in '' $ac_executable_extensions; do
13875 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13876 echo "$as_me: trying $ac_dir/$ac_word..." >&5
13877 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
13878 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
13879 break 2
13880 fi
13881 fi
13882 done
13883 done
13884 IFS="$ac_save_IFS"
13885 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
13886 ;;
13887 esac
13888 fi
13889 MSGMERGE="$ac_cv_path_MSGMERGE"
13890 if test "$MSGMERGE" != ":"; then
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13892 $as_echo "$MSGMERGE" >&6; }
13893 else
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13895 $as_echo "no" >&6; }
13896 fi
13897
13898
13899 test -n "$localedir" || localedir='${datadir}/locale'
13900
13901
13902 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
13903
13904
13905 ac_config_commands="$ac_config_commands po-directories"
13906
13907
13908
13909 if test "X$prefix" = "XNONE"; then
13910 acl_final_prefix="$ac_default_prefix"
13911 else
13912 acl_final_prefix="$prefix"
13913 fi
13914 if test "X$exec_prefix" = "XNONE"; then
13915 acl_final_exec_prefix='${prefix}'
13916 else
13917 acl_final_exec_prefix="$exec_prefix"
13918 fi
13919 acl_save_prefix="$prefix"
13920 prefix="$acl_final_prefix"
13921 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
13922 prefix="$acl_save_prefix"
13923
13924
13925
13926 # Check whether --with-gnu-ld was given.
13927 if test "${with_gnu_ld+set}" = set; then :
13928 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13929 else
13930 with_gnu_ld=no
13931 fi
13932
13933 # Prepare PATH_SEPARATOR.
13934 # The user is always right.
13935 if test "${PATH_SEPARATOR+set}" != set; then
13936 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
13937 # contains only /bin. Note that ksh looks also at the FPATH variable,
13938 # so we have to set that as well for the test.
13939 PATH_SEPARATOR=:
13940 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
13941 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
13942 || PATH_SEPARATOR=';'
13943 }
13944 fi
13945
13946 ac_prog=ld
13947 if test "$GCC" = yes; then
13948 # Check if gcc -print-prog-name=ld gives a path.
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13950 $as_echo_n "checking for ld used by $CC... " >&6; }
13951 case $host in
13952 *-*-mingw*)
13953 # gcc leaves a trailing carriage return which upsets mingw
13954 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13955 *)
13956 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13957 esac
13958 case $ac_prog in
13959 # Accept absolute paths.
13960 [\\/]* | ?:[\\/]*)
13961 re_direlt='/[^/][^/]*/\.\./'
13962 # Canonicalize the pathname of ld
13963 ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
13964 while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
13965 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
13966 done
13967 test -z "$LD" && LD="$ac_prog"
13968 ;;
13969 "")
13970 # If it fails, then pretend we aren't using GCC.
13971 ac_prog=ld
13972 ;;
13973 *)
13974 # If it is relative, then search for the first ld in PATH.
13975 with_gnu_ld=unknown
13976 ;;
13977 esac
13978 elif test "$with_gnu_ld" = yes; then
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13980 $as_echo_n "checking for GNU ld... " >&6; }
13981 else
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13983 $as_echo_n "checking for non-GNU ld... " >&6; }
13984 fi
13985 if ${acl_cv_path_LD+:} false; then :
13986 $as_echo_n "(cached) " >&6
13987 else
13988 if test -z "$LD"; then
13989 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13990 for ac_dir in $PATH; do
13991 IFS="$acl_save_ifs"
13992 test -z "$ac_dir" && ac_dir=.
13993 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13994 acl_cv_path_LD="$ac_dir/$ac_prog"
13995 # Check to see if the program is GNU ld. I'd rather use --version,
13996 # but apparently some variants of GNU ld only accept -v.
13997 # Break only if it was the GNU/non-GNU ld that we prefer.
13998 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
13999 *GNU* | *'with BFD'*)
14000 test "$with_gnu_ld" != no && break
14001 ;;
14002 *)
14003 test "$with_gnu_ld" != yes && break
14004 ;;
14005 esac
14006 fi
14007 done
14008 IFS="$acl_save_ifs"
14009 else
14010 acl_cv_path_LD="$LD" # Let the user override the test with a path.
14011 fi
14012 fi
14013
14014 LD="$acl_cv_path_LD"
14015 if test -n "$LD"; then
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14017 $as_echo "$LD" >&6; }
14018 else
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14020 $as_echo "no" >&6; }
14021 fi
14022 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14024 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14025 if ${acl_cv_prog_gnu_ld+:} false; then :
14026 $as_echo_n "(cached) " >&6
14027 else
14028 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14029 case `$LD -v 2>&1 </dev/null` in
14030 *GNU* | *'with BFD'*)
14031 acl_cv_prog_gnu_ld=yes
14032 ;;
14033 *)
14034 acl_cv_prog_gnu_ld=no
14035 ;;
14036 esac
14037 fi
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
14039 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
14040 with_gnu_ld=$acl_cv_prog_gnu_ld
14041
14042
14043
14044
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
14046 $as_echo_n "checking for shared library run path origin... " >&6; }
14047 if ${acl_cv_rpath+:} false; then :
14048 $as_echo_n "(cached) " >&6
14049 else
14050
14051 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
14052 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
14053 . ./conftest.sh
14054 rm -f ./conftest.sh
14055 acl_cv_rpath=done
14056
14057 fi
14058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
14059 $as_echo "$acl_cv_rpath" >&6; }
14060 wl="$acl_cv_wl"
14061 acl_libext="$acl_cv_libext"
14062 acl_shlibext="$acl_cv_shlibext"
14063 acl_libname_spec="$acl_cv_libname_spec"
14064 acl_library_names_spec="$acl_cv_library_names_spec"
14065 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
14066 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
14067 acl_hardcode_direct="$acl_cv_hardcode_direct"
14068 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
14069 # Check whether --enable-rpath was given.
14070 if test "${enable_rpath+set}" = set; then :
14071 enableval=$enable_rpath; :
14072 else
14073 enable_rpath=yes
14074 fi
14075
14076
14077
14078
14079 acl_libdirstem=lib
14080 acl_libdirstem2=
14081 case "$host_os" in
14082 solaris*)
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
14084 $as_echo_n "checking for 64-bit host... " >&6; }
14085 if ${gl_cv_solaris_64bit+:} false; then :
14086 $as_echo_n "(cached) " >&6
14087 else
14088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14089 /* end confdefs.h. */
14090
14091 #ifdef _LP64
14092 sixtyfour bits
14093 #endif
14094
14095 _ACEOF
14096 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14097 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
14098 gl_cv_solaris_64bit=yes
14099 else
14100 gl_cv_solaris_64bit=no
14101 fi
14102 rm -f conftest*
14103
14104
14105 fi
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
14107 $as_echo "$gl_cv_solaris_64bit" >&6; }
14108 if test $gl_cv_solaris_64bit = yes; then
14109 acl_libdirstem=lib/64
14110 case "$host_cpu" in
14111 sparc*) acl_libdirstem2=lib/sparcv9 ;;
14112 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
14113 esac
14114 fi
14115 ;;
14116 *)
14117 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
14118 if test -n "$searchpath"; then
14119 acl_save_IFS="${IFS= }"; IFS=":"
14120 for searchdir in $searchpath; do
14121 if test -d "$searchdir"; then
14122 case "$searchdir" in
14123 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
14124 */../ | */.. )
14125 # Better ignore directories of this form. They are misleading.
14126 ;;
14127 *) searchdir=`cd "$searchdir" && pwd`
14128 case "$searchdir" in
14129 */lib64 ) acl_libdirstem=lib64 ;;
14130 esac ;;
14131 esac
14132 fi
14133 done
14134 IFS="$acl_save_IFS"
14135 fi
14136 ;;
14137 esac
14138 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151 use_additional=yes
14152
14153 acl_save_prefix="$prefix"
14154 prefix="$acl_final_prefix"
14155 acl_save_exec_prefix="$exec_prefix"
14156 exec_prefix="$acl_final_exec_prefix"
14157
14158 eval additional_includedir=\"$includedir\"
14159 eval additional_libdir=\"$libdir\"
14160
14161 exec_prefix="$acl_save_exec_prefix"
14162 prefix="$acl_save_prefix"
14163
14164
14165 # Check whether --with-libiconv-prefix was given.
14166 if test "${with_libiconv_prefix+set}" = set; then :
14167 withval=$with_libiconv_prefix;
14168 if test "X$withval" = "Xno"; then
14169 use_additional=no
14170 else
14171 if test "X$withval" = "X"; then
14172
14173 acl_save_prefix="$prefix"
14174 prefix="$acl_final_prefix"
14175 acl_save_exec_prefix="$exec_prefix"
14176 exec_prefix="$acl_final_exec_prefix"
14177
14178 eval additional_includedir=\"$includedir\"
14179 eval additional_libdir=\"$libdir\"
14180
14181 exec_prefix="$acl_save_exec_prefix"
14182 prefix="$acl_save_prefix"
14183
14184 else
14185 additional_includedir="$withval/include"
14186 additional_libdir="$withval/$acl_libdirstem"
14187 if test "$acl_libdirstem2" != "$acl_libdirstem" \
14188 && ! test -d "$withval/$acl_libdirstem"; then
14189 additional_libdir="$withval/$acl_libdirstem2"
14190 fi
14191 fi
14192 fi
14193
14194 fi
14195
14196 LIBICONV=
14197 LTLIBICONV=
14198 INCICONV=
14199 LIBICONV_PREFIX=
14200 HAVE_LIBICONV=
14201 rpathdirs=
14202 ltrpathdirs=
14203 names_already_handled=
14204 names_next_round='iconv '
14205 while test -n "$names_next_round"; do
14206 names_this_round="$names_next_round"
14207 names_next_round=
14208 for name in $names_this_round; do
14209 already_handled=
14210 for n in $names_already_handled; do
14211 if test "$n" = "$name"; then
14212 already_handled=yes
14213 break
14214 fi
14215 done
14216 if test -z "$already_handled"; then
14217 names_already_handled="$names_already_handled $name"
14218 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
14219 eval value=\"\$HAVE_LIB$uppername\"
14220 if test -n "$value"; then
14221 if test "$value" = yes; then
14222 eval value=\"\$LIB$uppername\"
14223 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
14224 eval value=\"\$LTLIB$uppername\"
14225 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
14226 else
14227 :
14228 fi
14229 else
14230 found_dir=
14231 found_la=
14232 found_so=
14233 found_a=
14234 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
14235 if test -n "$acl_shlibext"; then
14236 shrext=".$acl_shlibext" # typically: shrext=.so
14237 else
14238 shrext=
14239 fi
14240 if test $use_additional = yes; then
14241 dir="$additional_libdir"
14242 if test -n "$acl_shlibext"; then
14243 if test -f "$dir/$libname$shrext"; then
14244 found_dir="$dir"
14245 found_so="$dir/$libname$shrext"
14246 else
14247 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14248 ver=`(cd "$dir" && \
14249 for f in "$libname$shrext".*; do echo "$f"; done \
14250 | sed -e "s,^$libname$shrext\\\\.,," \
14251 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14252 | sed 1q ) 2>/dev/null`
14253 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14254 found_dir="$dir"
14255 found_so="$dir/$libname$shrext.$ver"
14256 fi
14257 else
14258 eval library_names=\"$acl_library_names_spec\"
14259 for f in $library_names; do
14260 if test -f "$dir/$f"; then
14261 found_dir="$dir"
14262 found_so="$dir/$f"
14263 break
14264 fi
14265 done
14266 fi
14267 fi
14268 fi
14269 if test "X$found_dir" = "X"; then
14270 if test -f "$dir/$libname.$acl_libext"; then
14271 found_dir="$dir"
14272 found_a="$dir/$libname.$acl_libext"
14273 fi
14274 fi
14275 if test "X$found_dir" != "X"; then
14276 if test -f "$dir/$libname.la"; then
14277 found_la="$dir/$libname.la"
14278 fi
14279 fi
14280 fi
14281 if test "X$found_dir" = "X"; then
14282 for x in $LDFLAGS $LTLIBICONV; do
14283
14284 acl_save_prefix="$prefix"
14285 prefix="$acl_final_prefix"
14286 acl_save_exec_prefix="$exec_prefix"
14287 exec_prefix="$acl_final_exec_prefix"
14288 eval x=\"$x\"
14289 exec_prefix="$acl_save_exec_prefix"
14290 prefix="$acl_save_prefix"
14291
14292 case "$x" in
14293 -L*)
14294 dir=`echo "X$x" | sed -e 's/^X-L//'`
14295 if test -n "$acl_shlibext"; then
14296 if test -f "$dir/$libname$shrext"; then
14297 found_dir="$dir"
14298 found_so="$dir/$libname$shrext"
14299 else
14300 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14301 ver=`(cd "$dir" && \
14302 for f in "$libname$shrext".*; do echo "$f"; done \
14303 | sed -e "s,^$libname$shrext\\\\.,," \
14304 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14305 | sed 1q ) 2>/dev/null`
14306 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14307 found_dir="$dir"
14308 found_so="$dir/$libname$shrext.$ver"
14309 fi
14310 else
14311 eval library_names=\"$acl_library_names_spec\"
14312 for f in $library_names; do
14313 if test -f "$dir/$f"; then
14314 found_dir="$dir"
14315 found_so="$dir/$f"
14316 break
14317 fi
14318 done
14319 fi
14320 fi
14321 fi
14322 if test "X$found_dir" = "X"; then
14323 if test -f "$dir/$libname.$acl_libext"; then
14324 found_dir="$dir"
14325 found_a="$dir/$libname.$acl_libext"
14326 fi
14327 fi
14328 if test "X$found_dir" != "X"; then
14329 if test -f "$dir/$libname.la"; then
14330 found_la="$dir/$libname.la"
14331 fi
14332 fi
14333 ;;
14334 esac
14335 if test "X$found_dir" != "X"; then
14336 break
14337 fi
14338 done
14339 fi
14340 if test "X$found_dir" != "X"; then
14341 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
14342 if test "X$found_so" != "X"; then
14343 if test "$enable_rpath" = no \
14344 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
14345 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
14346 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14347 else
14348 haveit=
14349 for x in $ltrpathdirs; do
14350 if test "X$x" = "X$found_dir"; then
14351 haveit=yes
14352 break
14353 fi
14354 done
14355 if test -z "$haveit"; then
14356 ltrpathdirs="$ltrpathdirs $found_dir"
14357 fi
14358 if test "$acl_hardcode_direct" = yes; then
14359 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14360 else
14361 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
14362 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14363 haveit=
14364 for x in $rpathdirs; do
14365 if test "X$x" = "X$found_dir"; then
14366 haveit=yes
14367 break
14368 fi
14369 done
14370 if test -z "$haveit"; then
14371 rpathdirs="$rpathdirs $found_dir"
14372 fi
14373 else
14374 haveit=
14375 for x in $LDFLAGS $LIBICONV; do
14376
14377 acl_save_prefix="$prefix"
14378 prefix="$acl_final_prefix"
14379 acl_save_exec_prefix="$exec_prefix"
14380 exec_prefix="$acl_final_exec_prefix"
14381 eval x=\"$x\"
14382 exec_prefix="$acl_save_exec_prefix"
14383 prefix="$acl_save_prefix"
14384
14385 if test "X$x" = "X-L$found_dir"; then
14386 haveit=yes
14387 break
14388 fi
14389 done
14390 if test -z "$haveit"; then
14391 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
14392 fi
14393 if test "$acl_hardcode_minus_L" != no; then
14394 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14395 else
14396 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
14397 fi
14398 fi
14399 fi
14400 fi
14401 else
14402 if test "X$found_a" != "X"; then
14403 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
14404 else
14405 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
14406 fi
14407 fi
14408 additional_includedir=
14409 case "$found_dir" in
14410 */$acl_libdirstem | */$acl_libdirstem/)
14411 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14412 if test "$name" = 'iconv'; then
14413 LIBICONV_PREFIX="$basedir"
14414 fi
14415 additional_includedir="$basedir/include"
14416 ;;
14417 */$acl_libdirstem2 | */$acl_libdirstem2/)
14418 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
14419 if test "$name" = 'iconv'; then
14420 LIBICONV_PREFIX="$basedir"
14421 fi
14422 additional_includedir="$basedir/include"
14423 ;;
14424 esac
14425 if test "X$additional_includedir" != "X"; then
14426 if test "X$additional_includedir" != "X/usr/include"; then
14427 haveit=
14428 if test "X$additional_includedir" = "X/usr/local/include"; then
14429 if test -n "$GCC"; then
14430 case $host_os in
14431 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14432 esac
14433 fi
14434 fi
14435 if test -z "$haveit"; then
14436 for x in $CPPFLAGS $INCICONV; do
14437
14438 acl_save_prefix="$prefix"
14439 prefix="$acl_final_prefix"
14440 acl_save_exec_prefix="$exec_prefix"
14441 exec_prefix="$acl_final_exec_prefix"
14442 eval x=\"$x\"
14443 exec_prefix="$acl_save_exec_prefix"
14444 prefix="$acl_save_prefix"
14445
14446 if test "X$x" = "X-I$additional_includedir"; then
14447 haveit=yes
14448 break
14449 fi
14450 done
14451 if test -z "$haveit"; then
14452 if test -d "$additional_includedir"; then
14453 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
14454 fi
14455 fi
14456 fi
14457 fi
14458 fi
14459 if test -n "$found_la"; then
14460 save_libdir="$libdir"
14461 case "$found_la" in
14462 */* | *\\*) . "$found_la" ;;
14463 *) . "./$found_la" ;;
14464 esac
14465 libdir="$save_libdir"
14466 for dep in $dependency_libs; do
14467 case "$dep" in
14468 -L*)
14469 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
14470 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
14471 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
14472 haveit=
14473 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
14474 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
14475 if test -n "$GCC"; then
14476 case $host_os in
14477 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14478 esac
14479 fi
14480 fi
14481 if test -z "$haveit"; then
14482 haveit=
14483 for x in $LDFLAGS $LIBICONV; do
14484
14485 acl_save_prefix="$prefix"
14486 prefix="$acl_final_prefix"
14487 acl_save_exec_prefix="$exec_prefix"
14488 exec_prefix="$acl_final_exec_prefix"
14489 eval x=\"$x\"
14490 exec_prefix="$acl_save_exec_prefix"
14491 prefix="$acl_save_prefix"
14492
14493 if test "X$x" = "X-L$additional_libdir"; then
14494 haveit=yes
14495 break
14496 fi
14497 done
14498 if test -z "$haveit"; then
14499 if test -d "$additional_libdir"; then
14500 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
14501 fi
14502 fi
14503 haveit=
14504 for x in $LDFLAGS $LTLIBICONV; do
14505
14506 acl_save_prefix="$prefix"
14507 prefix="$acl_final_prefix"
14508 acl_save_exec_prefix="$exec_prefix"
14509 exec_prefix="$acl_final_exec_prefix"
14510 eval x=\"$x\"
14511 exec_prefix="$acl_save_exec_prefix"
14512 prefix="$acl_save_prefix"
14513
14514 if test "X$x" = "X-L$additional_libdir"; then
14515 haveit=yes
14516 break
14517 fi
14518 done
14519 if test -z "$haveit"; then
14520 if test -d "$additional_libdir"; then
14521 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
14522 fi
14523 fi
14524 fi
14525 fi
14526 ;;
14527 -R*)
14528 dir=`echo "X$dep" | sed -e 's/^X-R//'`
14529 if test "$enable_rpath" != no; then
14530 haveit=
14531 for x in $rpathdirs; do
14532 if test "X$x" = "X$dir"; then
14533 haveit=yes
14534 break
14535 fi
14536 done
14537 if test -z "$haveit"; then
14538 rpathdirs="$rpathdirs $dir"
14539 fi
14540 haveit=
14541 for x in $ltrpathdirs; do
14542 if test "X$x" = "X$dir"; then
14543 haveit=yes
14544 break
14545 fi
14546 done
14547 if test -z "$haveit"; then
14548 ltrpathdirs="$ltrpathdirs $dir"
14549 fi
14550 fi
14551 ;;
14552 -l*)
14553 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14554 ;;
14555 *.la)
14556 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14557 ;;
14558 *)
14559 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
14560 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
14561 ;;
14562 esac
14563 done
14564 fi
14565 else
14566 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
14567 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
14568 fi
14569 fi
14570 fi
14571 done
14572 done
14573 if test "X$rpathdirs" != "X"; then
14574 if test -n "$acl_hardcode_libdir_separator"; then
14575 alldirs=
14576 for found_dir in $rpathdirs; do
14577 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
14578 done
14579 acl_save_libdir="$libdir"
14580 libdir="$alldirs"
14581 eval flag=\"$acl_hardcode_libdir_flag_spec\"
14582 libdir="$acl_save_libdir"
14583 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
14584 else
14585 for found_dir in $rpathdirs; do
14586 acl_save_libdir="$libdir"
14587 libdir="$found_dir"
14588 eval flag=\"$acl_hardcode_libdir_flag_spec\"
14589 libdir="$acl_save_libdir"
14590 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
14591 done
14592 fi
14593 fi
14594 if test "X$ltrpathdirs" != "X"; then
14595 for found_dir in $ltrpathdirs; do
14596 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
14597 done
14598 fi
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
14631 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
14632 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
14633 $as_echo_n "(cached) " >&6
14634 else
14635 gt_save_LIBS="$LIBS"
14636 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14638 /* end confdefs.h. */
14639 #include <CoreFoundation/CFPreferences.h>
14640 int
14641 main ()
14642 {
14643 CFPreferencesCopyAppValue(NULL, NULL)
14644 ;
14645 return 0;
14646 }
14647 _ACEOF
14648 if ac_fn_c_try_link "$LINENO"; then :
14649 gt_cv_func_CFPreferencesCopyAppValue=yes
14650 else
14651 gt_cv_func_CFPreferencesCopyAppValue=no
14652 fi
14653 rm -f core conftest.err conftest.$ac_objext \
14654 conftest$ac_exeext conftest.$ac_ext
14655 LIBS="$gt_save_LIBS"
14656 fi
14657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
14658 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
14659 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
14660
14661 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
14662
14663 fi
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
14665 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
14666 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
14667 $as_echo_n "(cached) " >&6
14668 else
14669 gt_save_LIBS="$LIBS"
14670 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14672 /* end confdefs.h. */
14673 #include <CoreFoundation/CFLocale.h>
14674 int
14675 main ()
14676 {
14677 CFLocaleCopyCurrent();
14678 ;
14679 return 0;
14680 }
14681 _ACEOF
14682 if ac_fn_c_try_link "$LINENO"; then :
14683 gt_cv_func_CFLocaleCopyCurrent=yes
14684 else
14685 gt_cv_func_CFLocaleCopyCurrent=no
14686 fi
14687 rm -f core conftest.err conftest.$ac_objext \
14688 conftest$ac_exeext conftest.$ac_ext
14689 LIBS="$gt_save_LIBS"
14690 fi
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
14692 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
14693 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14694
14695 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
14696
14697 fi
14698 INTL_MACOSX_LIBS=
14699 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14700 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
14701 fi
14702
14703
14704
14705
14706
14707
14708 LIBINTL=
14709 LTLIBINTL=
14710 POSUB=
14711
14712 case " $gt_needs " in
14713 *" need-formatstring-macros "*) gt_api_version=3 ;;
14714 *" need-ngettext "*) gt_api_version=2 ;;
14715 *) gt_api_version=1 ;;
14716 esac
14717 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
14718 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
14719
14720 if test "$USE_NLS" = "yes"; then
14721 gt_use_preinstalled_gnugettext=no
14722
14723
14724 if test $gt_api_version -ge 3; then
14725 gt_revision_test_code='
14726 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
14727 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
14728 #endif
14729 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
14730 '
14731 else
14732 gt_revision_test_code=
14733 fi
14734 if test $gt_api_version -ge 2; then
14735 gt_expression_test_code=' + * ngettext ("", "", 0)'
14736 else
14737 gt_expression_test_code=
14738 fi
14739
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
14741 $as_echo_n "checking for GNU gettext in libc... " >&6; }
14742 if eval \${$gt_func_gnugettext_libc+:} false; then :
14743 $as_echo_n "(cached) " >&6
14744 else
14745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14746 /* end confdefs.h. */
14747
14748 #include <libintl.h>
14749 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
14750 extern int _nl_msg_cat_cntr;
14751 extern int *_nl_domain_bindings;
14752 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
14753 #else
14754 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
14755 #endif
14756 $gt_revision_test_code
14757
14758 int
14759 main ()
14760 {
14761
14762 bindtextdomain ("", "");
14763 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
14764
14765 ;
14766 return 0;
14767 }
14768 _ACEOF
14769 if ac_fn_c_try_link "$LINENO"; then :
14770 eval "$gt_func_gnugettext_libc=yes"
14771 else
14772 eval "$gt_func_gnugettext_libc=no"
14773 fi
14774 rm -f core conftest.err conftest.$ac_objext \
14775 conftest$ac_exeext conftest.$ac_ext
14776 fi
14777 eval ac_res=\$$gt_func_gnugettext_libc
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14779 $as_echo "$ac_res" >&6; }
14780
14781 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
14782
14783
14784
14785
14786
14787 am_save_CPPFLAGS="$CPPFLAGS"
14788
14789 for element in $INCICONV; do
14790 haveit=
14791 for x in $CPPFLAGS; do
14792
14793 acl_save_prefix="$prefix"
14794 prefix="$acl_final_prefix"
14795 acl_save_exec_prefix="$exec_prefix"
14796 exec_prefix="$acl_final_exec_prefix"
14797 eval x=\"$x\"
14798 exec_prefix="$acl_save_exec_prefix"
14799 prefix="$acl_save_prefix"
14800
14801 if test "X$x" = "X$element"; then
14802 haveit=yes
14803 break
14804 fi
14805 done
14806 if test -z "$haveit"; then
14807 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14808 fi
14809 done
14810
14811
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
14813 $as_echo_n "checking for iconv... " >&6; }
14814 if ${am_cv_func_iconv+:} false; then :
14815 $as_echo_n "(cached) " >&6
14816 else
14817
14818 am_cv_func_iconv="no, consider installing GNU libiconv"
14819 am_cv_lib_iconv=no
14820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14821 /* end confdefs.h. */
14822
14823 #include <stdlib.h>
14824 #include <iconv.h>
14825
14826 int
14827 main ()
14828 {
14829 iconv_t cd = iconv_open("","");
14830 iconv(cd,NULL,NULL,NULL,NULL);
14831 iconv_close(cd);
14832 ;
14833 return 0;
14834 }
14835 _ACEOF
14836 if ac_fn_c_try_link "$LINENO"; then :
14837 am_cv_func_iconv=yes
14838 fi
14839 rm -f core conftest.err conftest.$ac_objext \
14840 conftest$ac_exeext conftest.$ac_ext
14841 if test "$am_cv_func_iconv" != yes; then
14842 am_save_LIBS="$LIBS"
14843 LIBS="$LIBS $LIBICONV"
14844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14845 /* end confdefs.h. */
14846
14847 #include <stdlib.h>
14848 #include <iconv.h>
14849
14850 int
14851 main ()
14852 {
14853 iconv_t cd = iconv_open("","");
14854 iconv(cd,NULL,NULL,NULL,NULL);
14855 iconv_close(cd);
14856 ;
14857 return 0;
14858 }
14859 _ACEOF
14860 if ac_fn_c_try_link "$LINENO"; then :
14861 am_cv_lib_iconv=yes
14862 am_cv_func_iconv=yes
14863 fi
14864 rm -f core conftest.err conftest.$ac_objext \
14865 conftest$ac_exeext conftest.$ac_ext
14866 LIBS="$am_save_LIBS"
14867 fi
14868
14869 fi
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
14871 $as_echo "$am_cv_func_iconv" >&6; }
14872 if test "$am_cv_func_iconv" = yes; then
14873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
14874 $as_echo_n "checking for working iconv... " >&6; }
14875 if ${am_cv_func_iconv_works+:} false; then :
14876 $as_echo_n "(cached) " >&6
14877 else
14878
14879 am_save_LIBS="$LIBS"
14880 if test $am_cv_lib_iconv = yes; then
14881 LIBS="$LIBS $LIBICONV"
14882 fi
14883 am_cv_func_iconv_works=no
14884 for ac_iconv_const in '' 'const'; do
14885 if test "$cross_compiling" = yes; then :
14886 case "$host_os" in
14887 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
14888 *) am_cv_func_iconv_works="guessing yes" ;;
14889 esac
14890 else
14891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14892 /* end confdefs.h. */
14893
14894 #include <iconv.h>
14895 #include <string.h>
14896
14897 #ifndef ICONV_CONST
14898 # define ICONV_CONST $ac_iconv_const
14899 #endif
14900
14901 int
14902 main ()
14903 {
14904 int result = 0;
14905 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
14906 returns. */
14907 {
14908 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
14909 if (cd_utf8_to_88591 != (iconv_t)(-1))
14910 {
14911 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
14912 char buf[10];
14913 ICONV_CONST char *inptr = input;
14914 size_t inbytesleft = strlen (input);
14915 char *outptr = buf;
14916 size_t outbytesleft = sizeof (buf);
14917 size_t res = iconv (cd_utf8_to_88591,
14918 &inptr, &inbytesleft,
14919 &outptr, &outbytesleft);
14920 if (res == 0)
14921 result |= 1;
14922 iconv_close (cd_utf8_to_88591);
14923 }
14924 }
14925 /* Test against Solaris 10 bug: Failures are not distinguishable from
14926 successful returns. */
14927 {
14928 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
14929 if (cd_ascii_to_88591 != (iconv_t)(-1))
14930 {
14931 static ICONV_CONST char input[] = "\263";
14932 char buf[10];
14933 ICONV_CONST char *inptr = input;
14934 size_t inbytesleft = strlen (input);
14935 char *outptr = buf;
14936 size_t outbytesleft = sizeof (buf);
14937 size_t res = iconv (cd_ascii_to_88591,
14938 &inptr, &inbytesleft,
14939 &outptr, &outbytesleft);
14940 if (res == 0)
14941 result |= 2;
14942 iconv_close (cd_ascii_to_88591);
14943 }
14944 }
14945 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
14946 {
14947 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
14948 if (cd_88591_to_utf8 != (iconv_t)(-1))
14949 {
14950 static ICONV_CONST char input[] = "\304";
14951 static char buf[2] = { (char)0xDE, (char)0xAD };
14952 ICONV_CONST char *inptr = input;
14953 size_t inbytesleft = 1;
14954 char *outptr = buf;
14955 size_t outbytesleft = 1;
14956 size_t res = iconv (cd_88591_to_utf8,
14957 &inptr, &inbytesleft,
14958 &outptr, &outbytesleft);
14959 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
14960 result |= 4;
14961 iconv_close (cd_88591_to_utf8);
14962 }
14963 }
14964 #if 0 /* This bug could be worked around by the caller. */
14965 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
14966 {
14967 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
14968 if (cd_88591_to_utf8 != (iconv_t)(-1))
14969 {
14970 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
14971 char buf[50];
14972 ICONV_CONST char *inptr = input;
14973 size_t inbytesleft = strlen (input);
14974 char *outptr = buf;
14975 size_t outbytesleft = sizeof (buf);
14976 size_t res = iconv (cd_88591_to_utf8,
14977 &inptr, &inbytesleft,
14978 &outptr, &outbytesleft);
14979 if ((int)res > 0)
14980 result |= 8;
14981 iconv_close (cd_88591_to_utf8);
14982 }
14983 }
14984 #endif
14985 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
14986 provided. */
14987 if (/* Try standardized names. */
14988 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
14989 /* Try IRIX, OSF/1 names. */
14990 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
14991 /* Try AIX names. */
14992 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
14993 /* Try HP-UX names. */
14994 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
14995 result |= 16;
14996 return result;
14997
14998 ;
14999 return 0;
15000 }
15001 _ACEOF
15002 if ac_fn_c_try_run "$LINENO"; then :
15003 am_cv_func_iconv_works=yes
15004 fi
15005 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15006 conftest.$ac_objext conftest.beam conftest.$ac_ext
15007 fi
15008
15009 test "$am_cv_func_iconv_works" = no || break
15010 done
15011 LIBS="$am_save_LIBS"
15012
15013 fi
15014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
15015 $as_echo "$am_cv_func_iconv_works" >&6; }
15016 case "$am_cv_func_iconv_works" in
15017 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
15018 *) am_func_iconv=yes ;;
15019 esac
15020 else
15021 am_func_iconv=no am_cv_lib_iconv=no
15022 fi
15023 if test "$am_func_iconv" = yes; then
15024
15025 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
15026
15027 fi
15028 if test "$am_cv_lib_iconv" = yes; then
15029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
15030 $as_echo_n "checking how to link with libiconv... " >&6; }
15031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
15032 $as_echo "$LIBICONV" >&6; }
15033 else
15034 CPPFLAGS="$am_save_CPPFLAGS"
15035 LIBICONV=
15036 LTLIBICONV=
15037 fi
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049 use_additional=yes
15050
15051 acl_save_prefix="$prefix"
15052 prefix="$acl_final_prefix"
15053 acl_save_exec_prefix="$exec_prefix"
15054 exec_prefix="$acl_final_exec_prefix"
15055
15056 eval additional_includedir=\"$includedir\"
15057 eval additional_libdir=\"$libdir\"
15058
15059 exec_prefix="$acl_save_exec_prefix"
15060 prefix="$acl_save_prefix"
15061
15062
15063 # Check whether --with-libintl-prefix was given.
15064 if test "${with_libintl_prefix+set}" = set; then :
15065 withval=$with_libintl_prefix;
15066 if test "X$withval" = "Xno"; then
15067 use_additional=no
15068 else
15069 if test "X$withval" = "X"; then
15070
15071 acl_save_prefix="$prefix"
15072 prefix="$acl_final_prefix"
15073 acl_save_exec_prefix="$exec_prefix"
15074 exec_prefix="$acl_final_exec_prefix"
15075
15076 eval additional_includedir=\"$includedir\"
15077 eval additional_libdir=\"$libdir\"
15078
15079 exec_prefix="$acl_save_exec_prefix"
15080 prefix="$acl_save_prefix"
15081
15082 else
15083 additional_includedir="$withval/include"
15084 additional_libdir="$withval/$acl_libdirstem"
15085 if test "$acl_libdirstem2" != "$acl_libdirstem" \
15086 && ! test -d "$withval/$acl_libdirstem"; then
15087 additional_libdir="$withval/$acl_libdirstem2"
15088 fi
15089 fi
15090 fi
15091
15092 fi
15093
15094 LIBINTL=
15095 LTLIBINTL=
15096 INCINTL=
15097 LIBINTL_PREFIX=
15098 HAVE_LIBINTL=
15099 rpathdirs=
15100 ltrpathdirs=
15101 names_already_handled=
15102 names_next_round='intl '
15103 while test -n "$names_next_round"; do
15104 names_this_round="$names_next_round"
15105 names_next_round=
15106 for name in $names_this_round; do
15107 already_handled=
15108 for n in $names_already_handled; do
15109 if test "$n" = "$name"; then
15110 already_handled=yes
15111 break
15112 fi
15113 done
15114 if test -z "$already_handled"; then
15115 names_already_handled="$names_already_handled $name"
15116 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
15117 eval value=\"\$HAVE_LIB$uppername\"
15118 if test -n "$value"; then
15119 if test "$value" = yes; then
15120 eval value=\"\$LIB$uppername\"
15121 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
15122 eval value=\"\$LTLIB$uppername\"
15123 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
15124 else
15125 :
15126 fi
15127 else
15128 found_dir=
15129 found_la=
15130 found_so=
15131 found_a=
15132 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
15133 if test -n "$acl_shlibext"; then
15134 shrext=".$acl_shlibext" # typically: shrext=.so
15135 else
15136 shrext=
15137 fi
15138 if test $use_additional = yes; then
15139 dir="$additional_libdir"
15140 if test -n "$acl_shlibext"; then
15141 if test -f "$dir/$libname$shrext"; then
15142 found_dir="$dir"
15143 found_so="$dir/$libname$shrext"
15144 else
15145 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15146 ver=`(cd "$dir" && \
15147 for f in "$libname$shrext".*; do echo "$f"; done \
15148 | sed -e "s,^$libname$shrext\\\\.,," \
15149 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15150 | sed 1q ) 2>/dev/null`
15151 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15152 found_dir="$dir"
15153 found_so="$dir/$libname$shrext.$ver"
15154 fi
15155 else
15156 eval library_names=\"$acl_library_names_spec\"
15157 for f in $library_names; do
15158 if test -f "$dir/$f"; then
15159 found_dir="$dir"
15160 found_so="$dir/$f"
15161 break
15162 fi
15163 done
15164 fi
15165 fi
15166 fi
15167 if test "X$found_dir" = "X"; then
15168 if test -f "$dir/$libname.$acl_libext"; then
15169 found_dir="$dir"
15170 found_a="$dir/$libname.$acl_libext"
15171 fi
15172 fi
15173 if test "X$found_dir" != "X"; then
15174 if test -f "$dir/$libname.la"; then
15175 found_la="$dir/$libname.la"
15176 fi
15177 fi
15178 fi
15179 if test "X$found_dir" = "X"; then
15180 for x in $LDFLAGS $LTLIBINTL; do
15181
15182 acl_save_prefix="$prefix"
15183 prefix="$acl_final_prefix"
15184 acl_save_exec_prefix="$exec_prefix"
15185 exec_prefix="$acl_final_exec_prefix"
15186 eval x=\"$x\"
15187 exec_prefix="$acl_save_exec_prefix"
15188 prefix="$acl_save_prefix"
15189
15190 case "$x" in
15191 -L*)
15192 dir=`echo "X$x" | sed -e 's/^X-L//'`
15193 if test -n "$acl_shlibext"; then
15194 if test -f "$dir/$libname$shrext"; then
15195 found_dir="$dir"
15196 found_so="$dir/$libname$shrext"
15197 else
15198 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15199 ver=`(cd "$dir" && \
15200 for f in "$libname$shrext".*; do echo "$f"; done \
15201 | sed -e "s,^$libname$shrext\\\\.,," \
15202 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15203 | sed 1q ) 2>/dev/null`
15204 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15205 found_dir="$dir"
15206 found_so="$dir/$libname$shrext.$ver"
15207 fi
15208 else
15209 eval library_names=\"$acl_library_names_spec\"
15210 for f in $library_names; do
15211 if test -f "$dir/$f"; then
15212 found_dir="$dir"
15213 found_so="$dir/$f"
15214 break
15215 fi
15216 done
15217 fi
15218 fi
15219 fi
15220 if test "X$found_dir" = "X"; then
15221 if test -f "$dir/$libname.$acl_libext"; then
15222 found_dir="$dir"
15223 found_a="$dir/$libname.$acl_libext"
15224 fi
15225 fi
15226 if test "X$found_dir" != "X"; then
15227 if test -f "$dir/$libname.la"; then
15228 found_la="$dir/$libname.la"
15229 fi
15230 fi
15231 ;;
15232 esac
15233 if test "X$found_dir" != "X"; then
15234 break
15235 fi
15236 done
15237 fi
15238 if test "X$found_dir" != "X"; then
15239 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
15240 if test "X$found_so" != "X"; then
15241 if test "$enable_rpath" = no \
15242 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
15243 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
15244 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15245 else
15246 haveit=
15247 for x in $ltrpathdirs; do
15248 if test "X$x" = "X$found_dir"; then
15249 haveit=yes
15250 break
15251 fi
15252 done
15253 if test -z "$haveit"; then
15254 ltrpathdirs="$ltrpathdirs $found_dir"
15255 fi
15256 if test "$acl_hardcode_direct" = yes; then
15257 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15258 else
15259 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
15260 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15261 haveit=
15262 for x in $rpathdirs; do
15263 if test "X$x" = "X$found_dir"; then
15264 haveit=yes
15265 break
15266 fi
15267 done
15268 if test -z "$haveit"; then
15269 rpathdirs="$rpathdirs $found_dir"
15270 fi
15271 else
15272 haveit=
15273 for x in $LDFLAGS $LIBINTL; do
15274
15275 acl_save_prefix="$prefix"
15276 prefix="$acl_final_prefix"
15277 acl_save_exec_prefix="$exec_prefix"
15278 exec_prefix="$acl_final_exec_prefix"
15279 eval x=\"$x\"
15280 exec_prefix="$acl_save_exec_prefix"
15281 prefix="$acl_save_prefix"
15282
15283 if test "X$x" = "X-L$found_dir"; then
15284 haveit=yes
15285 break
15286 fi
15287 done
15288 if test -z "$haveit"; then
15289 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
15290 fi
15291 if test "$acl_hardcode_minus_L" != no; then
15292 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15293 else
15294 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
15295 fi
15296 fi
15297 fi
15298 fi
15299 else
15300 if test "X$found_a" != "X"; then
15301 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
15302 else
15303 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
15304 fi
15305 fi
15306 additional_includedir=
15307 case "$found_dir" in
15308 */$acl_libdirstem | */$acl_libdirstem/)
15309 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15310 if test "$name" = 'intl'; then
15311 LIBINTL_PREFIX="$basedir"
15312 fi
15313 additional_includedir="$basedir/include"
15314 ;;
15315 */$acl_libdirstem2 | */$acl_libdirstem2/)
15316 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
15317 if test "$name" = 'intl'; then
15318 LIBINTL_PREFIX="$basedir"
15319 fi
15320 additional_includedir="$basedir/include"
15321 ;;
15322 esac
15323 if test "X$additional_includedir" != "X"; then
15324 if test "X$additional_includedir" != "X/usr/include"; then
15325 haveit=
15326 if test "X$additional_includedir" = "X/usr/local/include"; then
15327 if test -n "$GCC"; then
15328 case $host_os in
15329 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15330 esac
15331 fi
15332 fi
15333 if test -z "$haveit"; then
15334 for x in $CPPFLAGS $INCINTL; do
15335
15336 acl_save_prefix="$prefix"
15337 prefix="$acl_final_prefix"
15338 acl_save_exec_prefix="$exec_prefix"
15339 exec_prefix="$acl_final_exec_prefix"
15340 eval x=\"$x\"
15341 exec_prefix="$acl_save_exec_prefix"
15342 prefix="$acl_save_prefix"
15343
15344 if test "X$x" = "X-I$additional_includedir"; then
15345 haveit=yes
15346 break
15347 fi
15348 done
15349 if test -z "$haveit"; then
15350 if test -d "$additional_includedir"; then
15351 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
15352 fi
15353 fi
15354 fi
15355 fi
15356 fi
15357 if test -n "$found_la"; then
15358 save_libdir="$libdir"
15359 case "$found_la" in
15360 */* | *\\*) . "$found_la" ;;
15361 *) . "./$found_la" ;;
15362 esac
15363 libdir="$save_libdir"
15364 for dep in $dependency_libs; do
15365 case "$dep" in
15366 -L*)
15367 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
15368 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
15369 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
15370 haveit=
15371 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
15372 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
15373 if test -n "$GCC"; then
15374 case $host_os in
15375 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15376 esac
15377 fi
15378 fi
15379 if test -z "$haveit"; then
15380 haveit=
15381 for x in $LDFLAGS $LIBINTL; do
15382
15383 acl_save_prefix="$prefix"
15384 prefix="$acl_final_prefix"
15385 acl_save_exec_prefix="$exec_prefix"
15386 exec_prefix="$acl_final_exec_prefix"
15387 eval x=\"$x\"
15388 exec_prefix="$acl_save_exec_prefix"
15389 prefix="$acl_save_prefix"
15390
15391 if test "X$x" = "X-L$additional_libdir"; then
15392 haveit=yes
15393 break
15394 fi
15395 done
15396 if test -z "$haveit"; then
15397 if test -d "$additional_libdir"; then
15398 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
15399 fi
15400 fi
15401 haveit=
15402 for x in $LDFLAGS $LTLIBINTL; do
15403
15404 acl_save_prefix="$prefix"
15405 prefix="$acl_final_prefix"
15406 acl_save_exec_prefix="$exec_prefix"
15407 exec_prefix="$acl_final_exec_prefix"
15408 eval x=\"$x\"
15409 exec_prefix="$acl_save_exec_prefix"
15410 prefix="$acl_save_prefix"
15411
15412 if test "X$x" = "X-L$additional_libdir"; then
15413 haveit=yes
15414 break
15415 fi
15416 done
15417 if test -z "$haveit"; then
15418 if test -d "$additional_libdir"; then
15419 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
15420 fi
15421 fi
15422 fi
15423 fi
15424 ;;
15425 -R*)
15426 dir=`echo "X$dep" | sed -e 's/^X-R//'`
15427 if test "$enable_rpath" != no; then
15428 haveit=
15429 for x in $rpathdirs; do
15430 if test "X$x" = "X$dir"; then
15431 haveit=yes
15432 break
15433 fi
15434 done
15435 if test -z "$haveit"; then
15436 rpathdirs="$rpathdirs $dir"
15437 fi
15438 haveit=
15439 for x in $ltrpathdirs; do
15440 if test "X$x" = "X$dir"; then
15441 haveit=yes
15442 break
15443 fi
15444 done
15445 if test -z "$haveit"; then
15446 ltrpathdirs="$ltrpathdirs $dir"
15447 fi
15448 fi
15449 ;;
15450 -l*)
15451 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15452 ;;
15453 *.la)
15454 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15455 ;;
15456 *)
15457 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
15458 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
15459 ;;
15460 esac
15461 done
15462 fi
15463 else
15464 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
15465 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
15466 fi
15467 fi
15468 fi
15469 done
15470 done
15471 if test "X$rpathdirs" != "X"; then
15472 if test -n "$acl_hardcode_libdir_separator"; then
15473 alldirs=
15474 for found_dir in $rpathdirs; do
15475 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15476 done
15477 acl_save_libdir="$libdir"
15478 libdir="$alldirs"
15479 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15480 libdir="$acl_save_libdir"
15481 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
15482 else
15483 for found_dir in $rpathdirs; do
15484 acl_save_libdir="$libdir"
15485 libdir="$found_dir"
15486 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15487 libdir="$acl_save_libdir"
15488 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
15489 done
15490 fi
15491 fi
15492 if test "X$ltrpathdirs" != "X"; then
15493 for found_dir in $ltrpathdirs; do
15494 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
15495 done
15496 fi
15497
15498
15499
15500
15501
15502
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
15504 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
15505 if eval \${$gt_func_gnugettext_libintl+:} false; then :
15506 $as_echo_n "(cached) " >&6
15507 else
15508 gt_save_CPPFLAGS="$CPPFLAGS"
15509 CPPFLAGS="$CPPFLAGS $INCINTL"
15510 gt_save_LIBS="$LIBS"
15511 LIBS="$LIBS $LIBINTL"
15512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15513 /* end confdefs.h. */
15514
15515 #include <libintl.h>
15516 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
15517 extern int _nl_msg_cat_cntr;
15518 extern
15519 #ifdef __cplusplus
15520 "C"
15521 #endif
15522 const char *_nl_expand_alias (const char *);
15523 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
15524 #else
15525 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
15526 #endif
15527 $gt_revision_test_code
15528
15529 int
15530 main ()
15531 {
15532
15533 bindtextdomain ("", "");
15534 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
15535
15536 ;
15537 return 0;
15538 }
15539 _ACEOF
15540 if ac_fn_c_try_link "$LINENO"; then :
15541 eval "$gt_func_gnugettext_libintl=yes"
15542 else
15543 eval "$gt_func_gnugettext_libintl=no"
15544 fi
15545 rm -f core conftest.err conftest.$ac_objext \
15546 conftest$ac_exeext conftest.$ac_ext
15547 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
15548 LIBS="$LIBS $LIBICONV"
15549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15550 /* end confdefs.h. */
15551
15552 #include <libintl.h>
15553 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
15554 extern int _nl_msg_cat_cntr;
15555 extern
15556 #ifdef __cplusplus
15557 "C"
15558 #endif
15559 const char *_nl_expand_alias (const char *);
15560 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
15561 #else
15562 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
15563 #endif
15564 $gt_revision_test_code
15565
15566 int
15567 main ()
15568 {
15569
15570 bindtextdomain ("", "");
15571 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
15572
15573 ;
15574 return 0;
15575 }
15576 _ACEOF
15577 if ac_fn_c_try_link "$LINENO"; then :
15578 LIBINTL="$LIBINTL $LIBICONV"
15579 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
15580 eval "$gt_func_gnugettext_libintl=yes"
15581
15582 fi
15583 rm -f core conftest.err conftest.$ac_objext \
15584 conftest$ac_exeext conftest.$ac_ext
15585 fi
15586 CPPFLAGS="$gt_save_CPPFLAGS"
15587 LIBS="$gt_save_LIBS"
15588 fi
15589 eval ac_res=\$$gt_func_gnugettext_libintl
15590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15591 $as_echo "$ac_res" >&6; }
15592 fi
15593
15594 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
15595 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
15596 && test "$PACKAGE" != gettext-runtime \
15597 && test "$PACKAGE" != gettext-tools; }; then
15598 gt_use_preinstalled_gnugettext=yes
15599 else
15600 LIBINTL=
15601 LTLIBINTL=
15602 INCINTL=
15603 fi
15604
15605
15606
15607 if test -n "$INTL_MACOSX_LIBS"; then
15608 if test "$gt_use_preinstalled_gnugettext" = "yes" \
15609 || test "$nls_cv_use_gnu_gettext" = "yes"; then
15610 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
15611 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
15612 fi
15613 fi
15614
15615 if test "$gt_use_preinstalled_gnugettext" = "yes" \
15616 || test "$nls_cv_use_gnu_gettext" = "yes"; then
15617
15618 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
15619
15620 else
15621 USE_NLS=no
15622 fi
15623 fi
15624
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
15626 $as_echo_n "checking whether to use NLS... " >&6; }
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
15628 $as_echo "$USE_NLS" >&6; }
15629 if test "$USE_NLS" = "yes"; then
15630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
15631 $as_echo_n "checking where the gettext function comes from... " >&6; }
15632 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15633 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
15634 gt_source="external libintl"
15635 else
15636 gt_source="libc"
15637 fi
15638 else
15639 gt_source="included intl directory"
15640 fi
15641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
15642 $as_echo "$gt_source" >&6; }
15643 fi
15644
15645 if test "$USE_NLS" = "yes"; then
15646
15647 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15648 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
15649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
15650 $as_echo_n "checking how to link with libintl... " >&6; }
15651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
15652 $as_echo "$LIBINTL" >&6; }
15653
15654 for element in $INCINTL; do
15655 haveit=
15656 for x in $CPPFLAGS; do
15657
15658 acl_save_prefix="$prefix"
15659 prefix="$acl_final_prefix"
15660 acl_save_exec_prefix="$exec_prefix"
15661 exec_prefix="$acl_final_exec_prefix"
15662 eval x=\"$x\"
15663 exec_prefix="$acl_save_exec_prefix"
15664 prefix="$acl_save_prefix"
15665
15666 if test "X$x" = "X$element"; then
15667 haveit=yes
15668 break
15669 fi
15670 done
15671 if test -z "$haveit"; then
15672 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
15673 fi
15674 done
15675
15676 fi
15677
15678
15679 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15680
15681
15682 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
15683
15684 fi
15685
15686 POSUB=po
15687 fi
15688
15689
15690
15691 INTLLIBS="$LIBINTL"
15692
15693
15694
15695
15696
15697
15698
15699 GETTEXT_PACKAGE=compiz-plugins-extra
15700
15701 cat >>confdefs.h <<_ACEOF
15702 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
15703 _ACEOF
15704
15705
15706
15707 if test "x$GCC" = "xyes"; then
15708 case " $CFLAGS " in
15709 *[\ \ ]-Wall[\ \ ]*) ;;
15710 *) CFLAGS="$CFLAGS -Wall" ;;
15711 esac
15712
15713 case " $CFLAGS " in
15714 *[\ \ ]-Wpointer-arith[\ \ ]*) ;;
15715 *) CFLAGS="$CFLAGS -Wpointer-arith" ;;
15716 esac
15717
15718 case " $CFLAGS " in
15719 *[\ \ ]-Wstrict-prototypes[\ \ ]*) ;;
15720 *) CFLAGS="$CFLAGS -Wstrict-prototypes" ;;
15721 esac
15722
15723 case " $CFLAGS " in
15724 *[\ \ ]-Wmissing-prototypes[\ \ ]*) ;;
15725 *) CFLAGS="$CFLAGS -Wmissing-prototypes" ;;
15726 esac
15727
15728 case " $CFLAGS " in
15729 *[\ \ ]-Wmissing-declarations[\ \ ]*) ;;
15730 *) CFLAGS="$CFLAGS -Wmissing-declarations" ;;
15731 esac
15732
15733 case " $CFLAGS " in
15734 *[\ \ ]-Wnested-externs[\ \ ]*) ;;
15735 *) CFLAGS="$CFLAGS -Wnested-externs" ;;
15736 esac
15737
15738 case " $CFLAGS " in
15739 *[\ \ ]-fno-strict-aliasing[\ \ ]*) ;;
15740 *) CFLAGS="$CFLAGS -fno-strict-aliasing" ;;
15741 esac
15742
15743 if test "x$enable_ansi" = "xyes"; then
15744 case " $CFLAGS " in
15745 *[\ \ ]-ansi[\ \ ]*) ;;
15746 *) CFLAGS="$CFLAGS -ansi" ;;
15747 esac
15748
15749 case " $CFLAGS " in
15750 *[\ \ ]-pedantic[\ \ ]*) ;;
15751 *) CFLAGS="$CFLAGS -pedantic" ;;
15752 esac
15753 fi
15754 fi
15755
15756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
15757 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
15758 if ${ac_cv_c_bigendian+:} false; then :
15759 $as_echo_n "(cached) " >&6
15760 else
15761 ac_cv_c_bigendian=unknown
15762 # See if we're dealing with a universal compiler.
15763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15764 /* end confdefs.h. */
15765 #ifndef __APPLE_CC__
15766 not a universal capable compiler
15767 #endif
15768 typedef int dummy;
15769
15770 _ACEOF
15771 if ac_fn_c_try_compile "$LINENO"; then :
15772
15773 # Check for potential -arch flags. It is not universal unless
15774 # there are at least two -arch flags with different values.
15775 ac_arch=
15776 ac_prev=
15777 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
15778 if test -n "$ac_prev"; then
15779 case $ac_word in
15780 i?86 | x86_64 | ppc | ppc64)
15781 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
15782 ac_arch=$ac_word
15783 else
15784 ac_cv_c_bigendian=universal
15785 break
15786 fi
15787 ;;
15788 esac
15789 ac_prev=
15790 elif test "x$ac_word" = "x-arch"; then
15791 ac_prev=arch
15792 fi
15793 done
15794 fi
15795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15796 if test $ac_cv_c_bigendian = unknown; then
15797 # See if sys/param.h defines the BYTE_ORDER macro.
15798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15799 /* end confdefs.h. */
15800 #include <sys/types.h>
15801 #include <sys/param.h>
15802
15803 int
15804 main ()
15805 {
15806 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
15807 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
15808 && LITTLE_ENDIAN)
15809 bogus endian macros
15810 #endif
15811
15812 ;
15813 return 0;
15814 }
15815 _ACEOF
15816 if ac_fn_c_try_compile "$LINENO"; then :
15817 # It does; now see whether it defined to BIG_ENDIAN or not.
15818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15819 /* end confdefs.h. */
15820 #include <sys/types.h>
15821 #include <sys/param.h>
15822
15823 int
15824 main ()
15825 {
15826 #if BYTE_ORDER != BIG_ENDIAN
15827 not big endian
15828 #endif
15829
15830 ;
15831 return 0;
15832 }
15833 _ACEOF
15834 if ac_fn_c_try_compile "$LINENO"; then :
15835 ac_cv_c_bigendian=yes
15836 else
15837 ac_cv_c_bigendian=no
15838 fi
15839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15840 fi
15841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15842 fi
15843 if test $ac_cv_c_bigendian = unknown; then
15844 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
15845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15846 /* end confdefs.h. */
15847 #include <limits.h>
15848
15849 int
15850 main ()
15851 {
15852 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
15853 bogus endian macros
15854 #endif
15855
15856 ;
15857 return 0;
15858 }
15859 _ACEOF
15860 if ac_fn_c_try_compile "$LINENO"; then :
15861 # It does; now see whether it defined to _BIG_ENDIAN or not.
15862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15863 /* end confdefs.h. */
15864 #include <limits.h>
15865
15866 int
15867 main ()
15868 {
15869 #ifndef _BIG_ENDIAN
15870 not big endian
15871 #endif
15872
15873 ;
15874 return 0;
15875 }
15876 _ACEOF
15877 if ac_fn_c_try_compile "$LINENO"; then :
15878 ac_cv_c_bigendian=yes
15879 else
15880 ac_cv_c_bigendian=no
15881 fi
15882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15883 fi
15884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15885 fi
15886 if test $ac_cv_c_bigendian = unknown; then
15887 # Compile a test program.
15888 if test "$cross_compiling" = yes; then :
15889 # Try to guess by grepping values from an object file.
15890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15891 /* end confdefs.h. */
15892 short int ascii_mm[] =
15893 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
15894 short int ascii_ii[] =
15895 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
15896 int use_ascii (int i) {
15897 return ascii_mm[i] + ascii_ii[i];
15898 }
15899 short int ebcdic_ii[] =
15900 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
15901 short int ebcdic_mm[] =
15902 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
15903 int use_ebcdic (int i) {
15904 return ebcdic_mm[i] + ebcdic_ii[i];
15905 }
15906 extern int foo;
15907
15908 int
15909 main ()
15910 {
15911 return use_ascii (foo) == use_ebcdic (foo);
15912 ;
15913 return 0;
15914 }
15915 _ACEOF
15916 if ac_fn_c_try_compile "$LINENO"; then :
15917 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
15918 ac_cv_c_bigendian=yes
15919 fi
15920 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
15921 if test "$ac_cv_c_bigendian" = unknown; then
15922 ac_cv_c_bigendian=no
15923 else
15924 # finding both strings is unlikely to happen, but who knows?
15925 ac_cv_c_bigendian=unknown
15926 fi
15927 fi
15928 fi
15929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15930 else
15931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15932 /* end confdefs.h. */
15933 $ac_includes_default
15934 int
15935 main ()
15936 {
15937
15938 /* Are we little or big endian? From Harbison&Steele. */
15939 union
15940 {
15941 long int l;
15942 char c[sizeof (long int)];
15943 } u;
15944 u.l = 1;
15945 return u.c[sizeof (long int) - 1] == 1;
15946
15947 ;
15948 return 0;
15949 }
15950 _ACEOF
15951 if ac_fn_c_try_run "$LINENO"; then :
15952 ac_cv_c_bigendian=no
15953 else
15954 ac_cv_c_bigendian=yes
15955 fi
15956 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15957 conftest.$ac_objext conftest.beam conftest.$ac_ext
15958 fi
15959
15960 fi
15961 fi
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
15963 $as_echo "$ac_cv_c_bigendian" >&6; }
15964 case $ac_cv_c_bigendian in #(
15965 yes)
15966 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
15967 ;; #(
15968 no)
15969 ;; #(
15970 universal)
15971
15972 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
15973
15974 ;; #(
15975 *)
15976 as_fn_error $? "unknown endianness
15977 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
15978 esac
15979
15980
15981 plugindir=$libdir/compiz
15982
15983
15984 imagedir=$datadir/compiz
15985
15986
15987 metadatadir=$datadir/compiz
15988
15989
15990 pluginiconsdir=$datadir/compiz/icons/hicolor
15991
15992
15993 if test x"$PKG_CONFIG_PATH" = x; then
15994 PKG_CONFIG_PATH=${prefix}/lib/pkgconfig:${prefix}/share/pkgconfig
15995 else
15996 PKG_CONFIG_PATH=${prefix}/lib/pkgconfig:${prefix}/share/pkgconfig:${PKG_CONFIG_PATH}
15997 fi
15998 export PKG_CONFIG_PATH
15999
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: Using PKG_CONFIG_PATH=$PKG_CONFIG_PATH" >&5
16001 $as_echo "$as_me: Using PKG_CONFIG_PATH=$PKG_CONFIG_PATH" >&6;}
16002
16003
16004
16005
16006
16007
16008
16009
16010 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16011 if test -n "$ac_tool_prefix"; then
16012 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16013 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16015 $as_echo_n "checking for $ac_word... " >&6; }
16016 if ${ac_cv_path_PKG_CONFIG+:} false; then :
16017 $as_echo_n "(cached) " >&6
16018 else
16019 case $PKG_CONFIG in
16020 [\\/]* | ?:[\\/]*)
16021 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
16022 ;;
16023 *)
16024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16025 for as_dir in $PATH
16026 do
16027 IFS=$as_save_IFS
16028 test -z "$as_dir" && as_dir=.
16029 for ac_exec_ext in '' $ac_executable_extensions; do
16030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16031 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16033 break 2
16034 fi
16035 done
16036 done
16037 IFS=$as_save_IFS
16038
16039 ;;
16040 esac
16041 fi
16042 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16043 if test -n "$PKG_CONFIG"; then
16044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16045 $as_echo "$PKG_CONFIG" >&6; }
16046 else
16047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16048 $as_echo "no" >&6; }
16049 fi
16050
16051
16052 fi
16053 if test -z "$ac_cv_path_PKG_CONFIG"; then
16054 ac_pt_PKG_CONFIG=$PKG_CONFIG
16055 # Extract the first word of "pkg-config", so it can be a program name with args.
16056 set dummy pkg-config; ac_word=$2
16057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16058 $as_echo_n "checking for $ac_word... " >&6; }
16059 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
16060 $as_echo_n "(cached) " >&6
16061 else
16062 case $ac_pt_PKG_CONFIG in
16063 [\\/]* | ?:[\\/]*)
16064 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16065 ;;
16066 *)
16067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16068 for as_dir in $PATH
16069 do
16070 IFS=$as_save_IFS
16071 test -z "$as_dir" && as_dir=.
16072 for ac_exec_ext in '' $ac_executable_extensions; do
16073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16074 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16076 break 2
16077 fi
16078 done
16079 done
16080 IFS=$as_save_IFS
16081
16082 ;;
16083 esac
16084 fi
16085 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
16086 if test -n "$ac_pt_PKG_CONFIG"; then
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16088 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
16089 else
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16091 $as_echo "no" >&6; }
16092 fi
16093
16094 if test "x$ac_pt_PKG_CONFIG" = x; then
16095 PKG_CONFIG=""
16096 else
16097 case $cross_compiling:$ac_tool_warned in
16098 yes:)
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16100 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16101 ac_tool_warned=yes ;;
16102 esac
16103 PKG_CONFIG=$ac_pt_PKG_CONFIG
16104 fi
16105 else
16106 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
16107 fi
16108
16109 fi
16110 if test -n "$PKG_CONFIG"; then
16111 _pkg_min_version=0.9.0
16112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16113 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16114 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16116 $as_echo "yes" >&6; }
16117 else
16118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16119 $as_echo "no" >&6; }
16120 PKG_CONFIG=""
16121 fi
16122 fi
16123
16124 pkg_failed=no
16125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for COMPIZ" >&5
16126 $as_echo_n "checking for COMPIZ... " >&6; }
16127
16128 if test -n "$COMPIZ_CFLAGS"; then
16129 pkg_cv_COMPIZ_CFLAGS="$COMPIZ_CFLAGS"
16130 elif test -n "$PKG_CONFIG"; then
16131 if test -n "$PKG_CONFIG" && \
16132 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"compiz\""; } >&5
16133 ($PKG_CONFIG --exists --print-errors "compiz") 2>&5
16134 ac_status=$?
16135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16136 test $ac_status = 0; }; then
16137 pkg_cv_COMPIZ_CFLAGS=`$PKG_CONFIG --cflags "compiz" 2>/dev/null`
16138 test "x$?" != "x0" && pkg_failed=yes
16139 else
16140 pkg_failed=yes
16141 fi
16142 else
16143 pkg_failed=untried
16144 fi
16145 if test -n "$COMPIZ_LIBS"; then
16146 pkg_cv_COMPIZ_LIBS="$COMPIZ_LIBS"
16147 elif test -n "$PKG_CONFIG"; then
16148 if test -n "$PKG_CONFIG" && \
16149 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"compiz\""; } >&5
16150 ($PKG_CONFIG --exists --print-errors "compiz") 2>&5
16151 ac_status=$?
16152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16153 test $ac_status = 0; }; then
16154 pkg_cv_COMPIZ_LIBS=`$PKG_CONFIG --libs "compiz" 2>/dev/null`
16155 test "x$?" != "x0" && pkg_failed=yes
16156 else
16157 pkg_failed=yes
16158 fi
16159 else
16160 pkg_failed=untried
16161 fi
16162
16163
16164
16165 if test $pkg_failed = yes; then
16166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16167 $as_echo "no" >&6; }
16168
16169 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16170 _pkg_short_errors_supported=yes
16171 else
16172 _pkg_short_errors_supported=no
16173 fi
16174 if test $_pkg_short_errors_supported = yes; then
16175 COMPIZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "compiz" 2>&1`
16176 else
16177 COMPIZ_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "compiz" 2>&1`
16178 fi
16179 # Put the nasty error message in config.log where it belongs
16180 echo "$COMPIZ_PKG_ERRORS" >&5
16181
16182 as_fn_error $? "Package requirements (compiz) were not met:
16183
16184 $COMPIZ_PKG_ERRORS
16185
16186 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16187 installed software in a non-standard prefix.
16188
16189 Alternatively, you may set the environment variables COMPIZ_CFLAGS
16190 and COMPIZ_LIBS to avoid the need to call pkg-config.
16191 See the pkg-config man page for more details." "$LINENO" 5
16192 elif test $pkg_failed = untried; then
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16194 $as_echo "no" >&6; }
16195 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16196 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16197 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16198 is in your PATH or set the PKG_CONFIG environment variable to the full
16199 path to pkg-config.
16200
16201 Alternatively, you may set the environment variables COMPIZ_CFLAGS
16202 and COMPIZ_LIBS to avoid the need to call pkg-config.
16203 See the pkg-config man page for more details.
16204
16205 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16206 See \`config.log' for more details" "$LINENO" 5; }
16207 else
16208 COMPIZ_CFLAGS=$pkg_cv_COMPIZ_CFLAGS
16209 COMPIZ_LIBS=$pkg_cv_COMPIZ_LIBS
16210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16211 $as_echo "yes" >&6; }
16212
16213 fi
16214
16215 pkg_failed=no
16216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BCOP" >&5
16217 $as_echo_n "checking for BCOP... " >&6; }
16218
16219 if test -n "$BCOP_CFLAGS"; then
16220 pkg_cv_BCOP_CFLAGS="$BCOP_CFLAGS"
16221 elif test -n "$PKG_CONFIG"; then
16222 if test -n "$PKG_CONFIG" && \
16223 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"bcop >= 0.7.3\""; } >&5
16224 ($PKG_CONFIG --exists --print-errors "bcop >= 0.7.3") 2>&5
16225 ac_status=$?
16226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16227 test $ac_status = 0; }; then
16228 pkg_cv_BCOP_CFLAGS=`$PKG_CONFIG --cflags "bcop >= 0.7.3" 2>/dev/null`
16229 test "x$?" != "x0" && pkg_failed=yes
16230 else
16231 pkg_failed=yes
16232 fi
16233 else
16234 pkg_failed=untried
16235 fi
16236 if test -n "$BCOP_LIBS"; then
16237 pkg_cv_BCOP_LIBS="$BCOP_LIBS"
16238 elif test -n "$PKG_CONFIG"; then
16239 if test -n "$PKG_CONFIG" && \
16240 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"bcop >= 0.7.3\""; } >&5
16241 ($PKG_CONFIG --exists --print-errors "bcop >= 0.7.3") 2>&5
16242 ac_status=$?
16243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16244 test $ac_status = 0; }; then
16245 pkg_cv_BCOP_LIBS=`$PKG_CONFIG --libs "bcop >= 0.7.3" 2>/dev/null`
16246 test "x$?" != "x0" && pkg_failed=yes
16247 else
16248 pkg_failed=yes
16249 fi
16250 else
16251 pkg_failed=untried
16252 fi
16253
16254
16255
16256 if test $pkg_failed = yes; then
16257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16258 $as_echo "no" >&6; }
16259
16260 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16261 _pkg_short_errors_supported=yes
16262 else
16263 _pkg_short_errors_supported=no
16264 fi
16265 if test $_pkg_short_errors_supported = yes; then
16266 BCOP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "bcop >= 0.7.3" 2>&1`
16267 else
16268 BCOP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "bcop >= 0.7.3" 2>&1`
16269 fi
16270 # Put the nasty error message in config.log where it belongs
16271 echo "$BCOP_PKG_ERRORS" >&5
16272
16273 as_fn_error $? "Package requirements (bcop >= 0.7.3) were not met:
16274
16275 $BCOP_PKG_ERRORS
16276
16277 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16278 installed software in a non-standard prefix.
16279
16280 Alternatively, you may set the environment variables BCOP_CFLAGS
16281 and BCOP_LIBS to avoid the need to call pkg-config.
16282 See the pkg-config man page for more details." "$LINENO" 5
16283 elif test $pkg_failed = untried; then
16284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16285 $as_echo "no" >&6; }
16286 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16287 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16288 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16289 is in your PATH or set the PKG_CONFIG environment variable to the full
16290 path to pkg-config.
16291
16292 Alternatively, you may set the environment variables BCOP_CFLAGS
16293 and BCOP_LIBS to avoid the need to call pkg-config.
16294 See the pkg-config man page for more details.
16295
16296 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16297 See \`config.log' for more details" "$LINENO" 5; }
16298 else
16299 BCOP_CFLAGS=$pkg_cv_BCOP_CFLAGS
16300 BCOP_LIBS=$pkg_cv_BCOP_LIBS
16301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16302 $as_echo "yes" >&6; }
16303 bcop_found=yes
16304 fi
16305 if test "$bcop_found" = yes; then
16306 if test -z "$PKG_CONFIG"; then
16307 # Extract the first word of "pkg-config", so it can be a program name with args.
16308 set dummy pkg-config; ac_word=$2
16309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16310 $as_echo_n "checking for $ac_word... " >&6; }
16311 if ${ac_cv_path_PKG_CONFIG+:} false; then :
16312 $as_echo_n "(cached) " >&6
16313 else
16314 case $PKG_CONFIG in
16315 [\\/]* | ?:[\\/]*)
16316 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
16317 ;;
16318 *)
16319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16320 for as_dir in $PATH
16321 do
16322 IFS=$as_save_IFS
16323 test -z "$as_dir" && as_dir=.
16324 for ac_exec_ext in '' $ac_executable_extensions; do
16325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16326 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16328 break 2
16329 fi
16330 done
16331 done
16332 IFS=$as_save_IFS
16333
16334 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
16335 ;;
16336 esac
16337 fi
16338 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16339 if test -n "$PKG_CONFIG"; then
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16341 $as_echo "$PKG_CONFIG" >&6; }
16342 else
16343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16344 $as_echo "no" >&6; }
16345 fi
16346
16347
16348 fi
16349 if test "$PKG_CONFIG" != "no" ; then
16350 BCOP_BIN=`$PKG_CONFIG --variable=bin bcop`
16351
16352 fi
16353 fi
16354
16355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_CFLAGS" >&5
16356 $as_echo_n "checking for GL_CFLAGS... " >&6; }
16357
16358 # Check whether --with-gl-cflags was given.
16359 if test "${with_gl_cflags+set}" = set; then :
16360 withval=$with_gl_cflags; GL_CFLAGS="$withval"
16361 else
16362 GL_CFLAGS=""
16363 fi
16364
16365
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GL_CFLAGS" >&5
16367 $as_echo "$GL_CFLAGS" >&6; }
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_LIBS" >&5
16369 $as_echo_n "checking for GL_LIBS... " >&6; }
16370
16371 # Check whether --with-gl-libs was given.
16372 if test "${with_gl_libs+set}" = set; then :
16373 withval=$with_gl_libs; GL_LIBS="$withval"
16374 else
16375 GL_LIBS="-lGL"
16376 fi
16377
16378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GL_LIBS" >&5
16379 $as_echo "$GL_LIBS" >&6; }
16380
16381
16382
16383
16384
16385
16386 pkg_failed=no
16387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BELL" >&5
16388 $as_echo_n "checking for BELL... " >&6; }
16389
16390 if test -n "$BELL_CFLAGS"; then
16391 pkg_cv_BELL_CFLAGS="$BELL_CFLAGS"
16392 elif test -n "$PKG_CONFIG"; then
16393 if test -n "$PKG_CONFIG" && \
16394 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcanberra libxsettings-client\""; } >&5
16395 ($PKG_CONFIG --exists --print-errors "libcanberra libxsettings-client") 2>&5
16396 ac_status=$?
16397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16398 test $ac_status = 0; }; then
16399 pkg_cv_BELL_CFLAGS=`$PKG_CONFIG --cflags "libcanberra libxsettings-client" 2>/dev/null`
16400 test "x$?" != "x0" && pkg_failed=yes
16401 else
16402 pkg_failed=yes
16403 fi
16404 else
16405 pkg_failed=untried
16406 fi
16407 if test -n "$BELL_LIBS"; then
16408 pkg_cv_BELL_LIBS="$BELL_LIBS"
16409 elif test -n "$PKG_CONFIG"; then
16410 if test -n "$PKG_CONFIG" && \
16411 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcanberra libxsettings-client\""; } >&5
16412 ($PKG_CONFIG --exists --print-errors "libcanberra libxsettings-client") 2>&5
16413 ac_status=$?
16414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16415 test $ac_status = 0; }; then
16416 pkg_cv_BELL_LIBS=`$PKG_CONFIG --libs "libcanberra libxsettings-client" 2>/dev/null`
16417 test "x$?" != "x0" && pkg_failed=yes
16418 else
16419 pkg_failed=yes
16420 fi
16421 else
16422 pkg_failed=untried
16423 fi
16424
16425
16426
16427 if test $pkg_failed = yes; then
16428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16429 $as_echo "no" >&6; }
16430
16431 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16432 _pkg_short_errors_supported=yes
16433 else
16434 _pkg_short_errors_supported=no
16435 fi
16436 if test $_pkg_short_errors_supported = yes; then
16437 BELL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcanberra libxsettings-client" 2>&1`
16438 else
16439 BELL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcanberra libxsettings-client" 2>&1`
16440 fi
16441 # Put the nasty error message in config.log where it belongs
16442 echo "$BELL_PKG_ERRORS" >&5
16443
16444 bell_plugin=no
16445 elif test $pkg_failed = untried; then
16446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16447 $as_echo "no" >&6; }
16448 bell_plugin=no
16449 else
16450 BELL_CFLAGS=$pkg_cv_BELL_CFLAGS
16451 BELL_LIBS=$pkg_cv_BELL_LIBS
16452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16453 $as_echo "yes" >&6; }
16454 bell_plugin=yes
16455 fi
16456 if test "x$bell_plugin" = "xyes"; then
16457 BELL_PLUGIN_TRUE=
16458 BELL_PLUGIN_FALSE='#'
16459 else
16460 BELL_PLUGIN_TRUE='#'
16461 BELL_PLUGIN_FALSE=
16462 fi
16463
16464
16465
16466 pkg_failed=no
16467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GROUP" >&5
16468 $as_echo_n "checking for GROUP... " >&6; }
16469
16470 if test -n "$GROUP_CFLAGS"; then
16471 pkg_cv_GROUP_CFLAGS="$GROUP_CFLAGS"
16472 elif test -n "$PKG_CONFIG"; then
16473 if test -n "$PKG_CONFIG" && \
16474 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"compiz-text cairo >= 1.0\""; } >&5
16475 ($PKG_CONFIG --exists --print-errors "compiz-text cairo >= 1.0") 2>&5
16476 ac_status=$?
16477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16478 test $ac_status = 0; }; then
16479 pkg_cv_GROUP_CFLAGS=`$PKG_CONFIG --cflags "compiz-text cairo >= 1.0" 2>/dev/null`
16480 test "x$?" != "x0" && pkg_failed=yes
16481 else
16482 pkg_failed=yes
16483 fi
16484 else
16485 pkg_failed=untried
16486 fi
16487 if test -n "$GROUP_LIBS"; then
16488 pkg_cv_GROUP_LIBS="$GROUP_LIBS"
16489 elif test -n "$PKG_CONFIG"; then
16490 if test -n "$PKG_CONFIG" && \
16491 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"compiz-text cairo >= 1.0\""; } >&5
16492 ($PKG_CONFIG --exists --print-errors "compiz-text cairo >= 1.0") 2>&5
16493 ac_status=$?
16494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16495 test $ac_status = 0; }; then
16496 pkg_cv_GROUP_LIBS=`$PKG_CONFIG --libs "compiz-text cairo >= 1.0" 2>/dev/null`
16497 test "x$?" != "x0" && pkg_failed=yes
16498 else
16499 pkg_failed=yes
16500 fi
16501 else
16502 pkg_failed=untried
16503 fi
16504
16505
16506
16507 if test $pkg_failed = yes; then
16508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16509 $as_echo "no" >&6; }
16510
16511 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16512 _pkg_short_errors_supported=yes
16513 else
16514 _pkg_short_errors_supported=no
16515 fi
16516 if test $_pkg_short_errors_supported = yes; then
16517 GROUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "compiz-text cairo >= 1.0" 2>&1`
16518 else
16519 GROUP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "compiz-text cairo >= 1.0" 2>&1`
16520 fi
16521 # Put the nasty error message in config.log where it belongs
16522 echo "$GROUP_PKG_ERRORS" >&5
16523
16524 use_group=no
16525 elif test $pkg_failed = untried; then
16526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16527 $as_echo "no" >&6; }
16528 use_group=no
16529 else
16530 GROUP_CFLAGS=$pkg_cv_GROUP_CFLAGS
16531 GROUP_LIBS=$pkg_cv_GROUP_LIBS
16532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16533 $as_echo "yes" >&6; }
16534 use_group=yes
16535 fi
16536 if test "x$use_group" = "xyes"; then
16537 GROUP_PLUGIN_TRUE=
16538 GROUP_PLUGIN_FALSE='#'
16539 else
16540 GROUP_PLUGIN_TRUE='#'
16541 GROUP_PLUGIN_FALSE=
16542 fi
16543
16544
16545
16546 pkg_failed=no
16547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SCALEFILTER" >&5
16548 $as_echo_n "checking for SCALEFILTER... " >&6; }
16549
16550 if test -n "$SCALEFILTER_CFLAGS"; then
16551 pkg_cv_SCALEFILTER_CFLAGS="$SCALEFILTER_CFLAGS"
16552 elif test -n "$PKG_CONFIG"; then
16553 if test -n "$PKG_CONFIG" && \
16554 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"compiz-text compiz-scale\""; } >&5
16555 ($PKG_CONFIG --exists --print-errors "compiz-text compiz-scale") 2>&5
16556 ac_status=$?
16557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16558 test $ac_status = 0; }; then
16559 pkg_cv_SCALEFILTER_CFLAGS=`$PKG_CONFIG --cflags "compiz-text compiz-scale" 2>/dev/null`
16560 test "x$?" != "x0" && pkg_failed=yes
16561 else
16562 pkg_failed=yes
16563 fi
16564 else
16565 pkg_failed=untried
16566 fi
16567 if test -n "$SCALEFILTER_LIBS"; then
16568 pkg_cv_SCALEFILTER_LIBS="$SCALEFILTER_LIBS"
16569 elif test -n "$PKG_CONFIG"; then
16570 if test -n "$PKG_CONFIG" && \
16571 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"compiz-text compiz-scale\""; } >&5
16572 ($PKG_CONFIG --exists --print-errors "compiz-text compiz-scale") 2>&5
16573 ac_status=$?
16574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16575 test $ac_status = 0; }; then
16576 pkg_cv_SCALEFILTER_LIBS=`$PKG_CONFIG --libs "compiz-text compiz-scale" 2>/dev/null`
16577 test "x$?" != "x0" && pkg_failed=yes
16578 else
16579 pkg_failed=yes
16580 fi
16581 else
16582 pkg_failed=untried
16583 fi
16584
16585
16586
16587 if test $pkg_failed = yes; then
16588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16589 $as_echo "no" >&6; }
16590
16591 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16592 _pkg_short_errors_supported=yes
16593 else
16594 _pkg_short_errors_supported=no
16595 fi
16596 if test $_pkg_short_errors_supported = yes; then
16597 SCALEFILTER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "compiz-text compiz-scale" 2>&1`
16598 else
16599 SCALEFILTER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "compiz-text compiz-scale" 2>&1`
16600 fi
16601 # Put the nasty error message in config.log where it belongs
16602 echo "$SCALEFILTER_PKG_ERRORS" >&5
16603
16604 use_scalefilter=no
16605 elif test $pkg_failed = untried; then
16606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16607 $as_echo "no" >&6; }
16608 use_scalefilter=no
16609 else
16610 SCALEFILTER_CFLAGS=$pkg_cv_SCALEFILTER_CFLAGS
16611 SCALEFILTER_LIBS=$pkg_cv_SCALEFILTER_LIBS
16612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16613 $as_echo "yes" >&6; }
16614 use_scalefilter=yes
16615 fi
16616 if test "x$use_scalefilter" = "xyes"; then
16617 SCALEFILTER_PLUGIN_TRUE=
16618 SCALEFILTER_PLUGIN_FALSE='#'
16619 else
16620 SCALEFILTER_PLUGIN_TRUE='#'
16621 SCALEFILTER_PLUGIN_FALSE=
16622 fi
16623
16624
16625
16626 pkg_failed=no
16627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for COMPIZCUBE" >&5
16628 $as_echo_n "checking for COMPIZCUBE... " >&6; }
16629
16630 if test -n "$COMPIZCUBE_CFLAGS"; then
16631 pkg_cv_COMPIZCUBE_CFLAGS="$COMPIZCUBE_CFLAGS"
16632 elif test -n "$PKG_CONFIG"; then
16633 if test -n "$PKG_CONFIG" && \
16634 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"compiz-cube\""; } >&5
16635 ($PKG_CONFIG --exists --print-errors "compiz-cube") 2>&5
16636 ac_status=$?
16637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16638 test $ac_status = 0; }; then
16639 pkg_cv_COMPIZCUBE_CFLAGS=`$PKG_CONFIG --cflags "compiz-cube" 2>/dev/null`
16640 test "x$?" != "x0" && pkg_failed=yes
16641 else
16642 pkg_failed=yes
16643 fi
16644 else
16645 pkg_failed=untried
16646 fi
16647 if test -n "$COMPIZCUBE_LIBS"; then
16648 pkg_cv_COMPIZCUBE_LIBS="$COMPIZCUBE_LIBS"
16649 elif test -n "$PKG_CONFIG"; then
16650 if test -n "$PKG_CONFIG" && \
16651 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"compiz-cube\""; } >&5
16652 ($PKG_CONFIG --exists --print-errors "compiz-cube") 2>&5
16653 ac_status=$?
16654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16655 test $ac_status = 0; }; then
16656 pkg_cv_COMPIZCUBE_LIBS=`$PKG_CONFIG --libs "compiz-cube" 2>/dev/null`
16657 test "x$?" != "x0" && pkg_failed=yes
16658 else
16659 pkg_failed=yes
16660 fi
16661 else
16662 pkg_failed=untried
16663 fi
16664
16665
16666
16667 if test $pkg_failed = yes; then
16668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16669 $as_echo "no" >&6; }
16670
16671 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16672 _pkg_short_errors_supported=yes
16673 else
16674 _pkg_short_errors_supported=no
16675 fi
16676 if test $_pkg_short_errors_supported = yes; then
16677 COMPIZCUBE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "compiz-cube" 2>&1`
16678 else
16679 COMPIZCUBE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "compiz-cube" 2>&1`
16680 fi
16681 # Put the nasty error message in config.log where it belongs
16682 echo "$COMPIZCUBE_PKG_ERRORS" >&5
16683
16684 have_compiz_cube=no
16685 elif test $pkg_failed = untried; then
16686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16687 $as_echo "no" >&6; }
16688 have_compiz_cube=no
16689 else
16690 COMPIZCUBE_CFLAGS=$pkg_cv_COMPIZCUBE_CFLAGS
16691 COMPIZCUBE_LIBS=$pkg_cv_COMPIZCUBE_LIBS
16692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16693 $as_echo "yes" >&6; }
16694 have_compiz_cube=yes
16695 fi
16696 if test "x$have_compiz_cube" = "xyes"; then
16697 CUBEADDON_PLUGIN_TRUE=
16698 CUBEADDON_PLUGIN_FALSE='#'
16699 else
16700 CUBEADDON_PLUGIN_TRUE='#'
16701 CUBEADDON_PLUGIN_FALSE=
16702 fi
16703
16704 if test "x$have_compiz_cube" = "xyes"; then
16705 THREED_PLUGIN_TRUE=
16706 THREED_PLUGIN_FALSE='#'
16707 else
16708 THREED_PLUGIN_TRUE='#'
16709 THREED_PLUGIN_FALSE=
16710 fi
16711
16712
16713
16714 pkg_failed=no
16715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHOWMOUSE" >&5
16716 $as_echo_n "checking for SHOWMOUSE... " >&6; }
16717
16718 if test -n "$SHOWMOUSE_CFLAGS"; then
16719 pkg_cv_SHOWMOUSE_CFLAGS="$SHOWMOUSE_CFLAGS"
16720 elif test -n "$PKG_CONFIG"; then
16721 if test -n "$PKG_CONFIG" && \
16722 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"compiz-mousepoll cairo-xlib cairo xrender\""; } >&5
16723 ($PKG_CONFIG --exists --print-errors "compiz-mousepoll cairo-xlib cairo xrender") 2>&5
16724 ac_status=$?
16725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16726 test $ac_status = 0; }; then
16727 pkg_cv_SHOWMOUSE_CFLAGS=`$PKG_CONFIG --cflags "compiz-mousepoll cairo-xlib cairo xrender" 2>/dev/null`
16728 test "x$?" != "x0" && pkg_failed=yes
16729 else
16730 pkg_failed=yes
16731 fi
16732 else
16733 pkg_failed=untried
16734 fi
16735 if test -n "$SHOWMOUSE_LIBS"; then
16736 pkg_cv_SHOWMOUSE_LIBS="$SHOWMOUSE_LIBS"
16737 elif test -n "$PKG_CONFIG"; then
16738 if test -n "$PKG_CONFIG" && \
16739 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"compiz-mousepoll cairo-xlib cairo xrender\""; } >&5
16740 ($PKG_CONFIG --exists --print-errors "compiz-mousepoll cairo-xlib cairo xrender") 2>&5
16741 ac_status=$?
16742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16743 test $ac_status = 0; }; then
16744 pkg_cv_SHOWMOUSE_LIBS=`$PKG_CONFIG --libs "compiz-mousepoll cairo-xlib cairo xrender" 2>/dev/null`
16745 test "x$?" != "x0" && pkg_failed=yes
16746 else
16747 pkg_failed=yes
16748 fi
16749 else
16750 pkg_failed=untried
16751 fi
16752
16753
16754
16755 if test $pkg_failed = yes; then
16756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16757 $as_echo "no" >&6; }
16758
16759 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16760 _pkg_short_errors_supported=yes
16761 else
16762 _pkg_short_errors_supported=no
16763 fi
16764 if test $_pkg_short_errors_supported = yes; then
16765 SHOWMOUSE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "compiz-mousepoll cairo-xlib cairo xrender" 2>&1`
16766 else
16767 SHOWMOUSE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "compiz-mousepoll cairo-xlib cairo xrender" 2>&1`
16768 fi
16769 # Put the nasty error message in config.log where it belongs
16770 echo "$SHOWMOUSE_PKG_ERRORS" >&5
16771
16772 use_showmouse=no
16773 elif test $pkg_failed = untried; then
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16775 $as_echo "no" >&6; }
16776 use_showmouse=no
16777 else
16778 SHOWMOUSE_CFLAGS=$pkg_cv_SHOWMOUSE_CFLAGS
16779 SHOWMOUSE_LIBS=$pkg_cv_SHOWMOUSE_LIBS
16780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16781 $as_echo "yes" >&6; }
16782 use_showmouse=yes
16783 fi
16784 if test "x$use_showmouse" = "xyes"; then
16785 SHOWMOUSE_PLUGIN_TRUE=
16786 SHOWMOUSE_PLUGIN_FALSE='#'
16787 else
16788 SHOWMOUSE_PLUGIN_TRUE='#'
16789 SHOWMOUSE_PLUGIN_FALSE=
16790 fi
16791
16792
16793
16794 pkg_failed=no
16795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HIGHLIGHTCONTENT" >&5
16796 $as_echo_n "checking for HIGHLIGHTCONTENT... " >&6; }
16797
16798 if test -n "$HIGHLIGHTCONTENT_CFLAGS"; then
16799 pkg_cv_HIGHLIGHTCONTENT_CFLAGS="$HIGHLIGHTCONTENT_CFLAGS"
16800 elif test -n "$PKG_CONFIG"; then
16801 if test -n "$PKG_CONFIG" && \
16802 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"compiz-focuspoll cairo-xlib cairo xrender\""; } >&5
16803 ($PKG_CONFIG --exists --print-errors "compiz-focuspoll cairo-xlib cairo xrender") 2>&5
16804 ac_status=$?
16805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16806 test $ac_status = 0; }; then
16807 pkg_cv_HIGHLIGHTCONTENT_CFLAGS=`$PKG_CONFIG --cflags "compiz-focuspoll cairo-xlib cairo xrender" 2>/dev/null`
16808 test "x$?" != "x0" && pkg_failed=yes
16809 else
16810 pkg_failed=yes
16811 fi
16812 else
16813 pkg_failed=untried
16814 fi
16815 if test -n "$HIGHLIGHTCONTENT_LIBS"; then
16816 pkg_cv_HIGHLIGHTCONTENT_LIBS="$HIGHLIGHTCONTENT_LIBS"
16817 elif test -n "$PKG_CONFIG"; then
16818 if test -n "$PKG_CONFIG" && \
16819 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"compiz-focuspoll cairo-xlib cairo xrender\""; } >&5
16820 ($PKG_CONFIG --exists --print-errors "compiz-focuspoll cairo-xlib cairo xrender") 2>&5
16821 ac_status=$?
16822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16823 test $ac_status = 0; }; then
16824 pkg_cv_HIGHLIGHTCONTENT_LIBS=`$PKG_CONFIG --libs "compiz-focuspoll cairo-xlib cairo xrender" 2>/dev/null`
16825 test "x$?" != "x0" && pkg_failed=yes
16826 else
16827 pkg_failed=yes
16828 fi
16829 else
16830 pkg_failed=untried
16831 fi
16832
16833
16834
16835 if test $pkg_failed = yes; then
16836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16837 $as_echo "no" >&6; }
16838
16839 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16840 _pkg_short_errors_supported=yes
16841 else
16842 _pkg_short_errors_supported=no
16843 fi
16844 if test $_pkg_short_errors_supported = yes; then
16845 HIGHLIGHTCONTENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "compiz-focuspoll cairo-xlib cairo xrender" 2>&1`
16846 else
16847 HIGHLIGHTCONTENT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "compiz-focuspoll cairo-xlib cairo xrender" 2>&1`
16848 fi
16849 # Put the nasty error message in config.log where it belongs
16850 echo "$HIGHLIGHTCONTENT_PKG_ERRORS" >&5
16851
16852 use_highlightcontent=no
16853 elif test $pkg_failed = untried; then
16854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16855 $as_echo "no" >&6; }
16856 use_highlightcontent=no
16857 else
16858 HIGHLIGHTCONTENT_CFLAGS=$pkg_cv_HIGHLIGHTCONTENT_CFLAGS
16859 HIGHLIGHTCONTENT_LIBS=$pkg_cv_HIGHLIGHTCONTENT_LIBS
16860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16861 $as_echo "yes" >&6; }
16862 use_highlightcontent=yes
16863 fi
16864 if test "x$use_highlightcontent" = "xyes"; then
16865 HIGHLIGHTCONTENT_PLUGIN_TRUE=
16866 HIGHLIGHTCONTENT_PLUGIN_FALSE='#'
16867 else
16868 HIGHLIGHTCONTENT_PLUGIN_TRUE='#'
16869 HIGHLIGHTCONTENT_PLUGIN_FALSE=
16870 fi
16871
16872
16873 if test -n "$PKG_CONFIG" && \
16874 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify > 0.6.0\""; } >&5
16875 ($PKG_CONFIG --exists --print-errors "libnotify > 0.6.0") 2>&5
16876 ac_status=$?
16877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16878 test $ac_status = 0; }; then
16879 have_libnotify_0_7_0=yes
16880 else
16881 have_libnotify_0_7_0=no
16882 fi
16883 if test "$have_libnotify_0_7_0" = yes; then
16884
16885 pkg_failed=no
16886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
16887 $as_echo_n "checking for LIBNOTIFY... " >&6; }
16888
16889 if test -n "$LIBNOTIFY_CFLAGS"; then
16890 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
16891 elif test -n "$PKG_CONFIG"; then
16892 if test -n "$PKG_CONFIG" && \
16893 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify\""; } >&5
16894 ($PKG_CONFIG --exists --print-errors "libnotify") 2>&5
16895 ac_status=$?
16896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16897 test $ac_status = 0; }; then
16898 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify" 2>/dev/null`
16899 test "x$?" != "x0" && pkg_failed=yes
16900 else
16901 pkg_failed=yes
16902 fi
16903 else
16904 pkg_failed=untried
16905 fi
16906 if test -n "$LIBNOTIFY_LIBS"; then
16907 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
16908 elif test -n "$PKG_CONFIG"; then
16909 if test -n "$PKG_CONFIG" && \
16910 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify\""; } >&5
16911 ($PKG_CONFIG --exists --print-errors "libnotify") 2>&5
16912 ac_status=$?
16913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16914 test $ac_status = 0; }; then
16915 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify" 2>/dev/null`
16916 test "x$?" != "x0" && pkg_failed=yes
16917 else
16918 pkg_failed=yes
16919 fi
16920 else
16921 pkg_failed=untried
16922 fi
16923
16924
16925
16926 if test $pkg_failed = yes; then
16927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16928 $as_echo "no" >&6; }
16929
16930 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16931 _pkg_short_errors_supported=yes
16932 else
16933 _pkg_short_errors_supported=no
16934 fi
16935 if test $_pkg_short_errors_supported = yes; then
16936 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnotify" 2>&1`
16937 else
16938 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnotify" 2>&1`
16939 fi
16940 # Put the nasty error message in config.log where it belongs
16941 echo "$LIBNOTIFY_PKG_ERRORS" >&5
16942
16943 have_libnotify=no
16944 elif test $pkg_failed = untried; then
16945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16946 $as_echo "no" >&6; }
16947 have_libnotify=no
16948 else
16949 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
16950 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
16951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16952 $as_echo "yes" >&6; }
16953 have_libnotify=yes
16954 fi
16955 else
16956
16957 pkg_failed=no
16958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
16959 $as_echo_n "checking for LIBNOTIFY... " >&6; }
16960
16961 if test -n "$LIBNOTIFY_CFLAGS"; then
16962 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
16963 elif test -n "$PKG_CONFIG"; then
16964 if test -n "$PKG_CONFIG" && \
16965 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify gtk+-2.0\""; } >&5
16966 ($PKG_CONFIG --exists --print-errors "libnotify gtk+-2.0") 2>&5
16967 ac_status=$?
16968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16969 test $ac_status = 0; }; then
16970 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify gtk+-2.0" 2>/dev/null`
16971 test "x$?" != "x0" && pkg_failed=yes
16972 else
16973 pkg_failed=yes
16974 fi
16975 else
16976 pkg_failed=untried
16977 fi
16978 if test -n "$LIBNOTIFY_LIBS"; then
16979 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
16980 elif test -n "$PKG_CONFIG"; then
16981 if test -n "$PKG_CONFIG" && \
16982 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify gtk+-2.0\""; } >&5
16983 ($PKG_CONFIG --exists --print-errors "libnotify gtk+-2.0") 2>&5
16984 ac_status=$?
16985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16986 test $ac_status = 0; }; then
16987 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify gtk+-2.0" 2>/dev/null`
16988 test "x$?" != "x0" && pkg_failed=yes
16989 else
16990 pkg_failed=yes
16991 fi
16992 else
16993 pkg_failed=untried
16994 fi
16995
16996
16997
16998 if test $pkg_failed = yes; then
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17000 $as_echo "no" >&6; }
17001
17002 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17003 _pkg_short_errors_supported=yes
17004 else
17005 _pkg_short_errors_supported=no
17006 fi
17007 if test $_pkg_short_errors_supported = yes; then
17008 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnotify gtk+-2.0" 2>&1`
17009 else
17010 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnotify gtk+-2.0" 2>&1`
17011 fi
17012 # Put the nasty error message in config.log where it belongs
17013 echo "$LIBNOTIFY_PKG_ERRORS" >&5
17014
17015 have_libnotify=no
17016 elif test $pkg_failed = untried; then
17017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17018 $as_echo "no" >&6; }
17019 have_libnotify=no
17020 else
17021 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
17022 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17024 $as_echo "yes" >&6; }
17025 have_libnotify=yes
17026 fi
17027 fi
17028 if test "x$have_libnotify" = "xyes"; then
17029 NOTIFICATION_PLUGIN_TRUE=
17030 NOTIFICATION_PLUGIN_FALSE='#'
17031 else
17032 NOTIFICATION_PLUGIN_TRUE='#'
17033 NOTIFICATION_PLUGIN_FALSE=
17034 fi
17035
17036 if test "$have_libnotify" = yes; then
17037
17038 $as_echo "#define USE_NOTIFICATION 1" >>confdefs.h
17039
17040 if test "$have_libnotify_0_7_0" = yes; then
17041
17042 $as_echo "#define HAVE_LIBNOTIFY_0_7_0 1" >>confdefs.h
17043
17044 fi
17045 fi
17046
17047
17048 pkg_failed=no
17049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for COMPIZANIMATION" >&5
17050 $as_echo_n "checking for COMPIZANIMATION... " >&6; }
17051
17052 if test -n "$COMPIZANIMATION_CFLAGS"; then
17053 pkg_cv_COMPIZANIMATION_CFLAGS="$COMPIZANIMATION_CFLAGS"
17054 elif test -n "$PKG_CONFIG"; then
17055 if test -n "$PKG_CONFIG" && \
17056 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"compiz-animation\""; } >&5
17057 ($PKG_CONFIG --exists --print-errors "compiz-animation") 2>&5
17058 ac_status=$?
17059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17060 test $ac_status = 0; }; then
17061 pkg_cv_COMPIZANIMATION_CFLAGS=`$PKG_CONFIG --cflags "compiz-animation" 2>/dev/null`
17062 test "x$?" != "x0" && pkg_failed=yes
17063 else
17064 pkg_failed=yes
17065 fi
17066 else
17067 pkg_failed=untried
17068 fi
17069 if test -n "$COMPIZANIMATION_LIBS"; then
17070 pkg_cv_COMPIZANIMATION_LIBS="$COMPIZANIMATION_LIBS"
17071 elif test -n "$PKG_CONFIG"; then
17072 if test -n "$PKG_CONFIG" && \
17073 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"compiz-animation\""; } >&5
17074 ($PKG_CONFIG --exists --print-errors "compiz-animation") 2>&5
17075 ac_status=$?
17076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17077 test $ac_status = 0; }; then
17078 pkg_cv_COMPIZANIMATION_LIBS=`$PKG_CONFIG --libs "compiz-animation" 2>/dev/null`
17079 test "x$?" != "x0" && pkg_failed=yes
17080 else
17081 pkg_failed=yes
17082 fi
17083 else
17084 pkg_failed=untried
17085 fi
17086
17087
17088
17089 if test $pkg_failed = yes; then
17090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17091 $as_echo "no" >&6; }
17092
17093 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17094 _pkg_short_errors_supported=yes
17095 else
17096 _pkg_short_errors_supported=no
17097 fi
17098 if test $_pkg_short_errors_supported = yes; then
17099 COMPIZANIMATION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "compiz-animation" 2>&1`
17100 else
17101 COMPIZANIMATION_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "compiz-animation" 2>&1`
17102 fi
17103 # Put the nasty error message in config.log where it belongs
17104 echo "$COMPIZANIMATION_PKG_ERRORS" >&5
17105
17106 have_compiz_animation=no
17107 elif test $pkg_failed = untried; then
17108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17109 $as_echo "no" >&6; }
17110 have_compiz_animation=no
17111 else
17112 COMPIZANIMATION_CFLAGS=$pkg_cv_COMPIZANIMATION_CFLAGS
17113 COMPIZANIMATION_LIBS=$pkg_cv_COMPIZANIMATION_LIBS
17114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17115 $as_echo "yes" >&6; }
17116 have_compiz_animation=yes
17117 fi
17118 if test "x$have_compiz_animation" = "xyes"; then
17119 ANIMATIONADDON_PLUGIN_TRUE=
17120 ANIMATIONADDON_PLUGIN_FALSE='#'
17121 else
17122 ANIMATIONADDON_PLUGIN_TRUE='#'
17123 ANIMATIONADDON_PLUGIN_FALSE=
17124 fi
17125
17126
17127
17128 pkg_failed=no
17129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for COMPIZTEXT" >&5
17130 $as_echo_n "checking for COMPIZTEXT... " >&6; }
17131
17132 if test -n "$COMPIZTEXT_CFLAGS"; then
17133 pkg_cv_COMPIZTEXT_CFLAGS="$COMPIZTEXT_CFLAGS"
17134 elif test -n "$PKG_CONFIG"; then
17135 if test -n "$PKG_CONFIG" && \
17136 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"compiz-text\""; } >&5
17137 ($PKG_CONFIG --exists --print-errors "compiz-text") 2>&5
17138 ac_status=$?
17139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17140 test $ac_status = 0; }; then
17141 pkg_cv_COMPIZTEXT_CFLAGS=`$PKG_CONFIG --cflags "compiz-text" 2>/dev/null`
17142 test "x$?" != "x0" && pkg_failed=yes
17143 else
17144 pkg_failed=yes
17145 fi
17146 else
17147 pkg_failed=untried
17148 fi
17149 if test -n "$COMPIZTEXT_LIBS"; then
17150 pkg_cv_COMPIZTEXT_LIBS="$COMPIZTEXT_LIBS"
17151 elif test -n "$PKG_CONFIG"; then
17152 if test -n "$PKG_CONFIG" && \
17153 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"compiz-text\""; } >&5
17154 ($PKG_CONFIG --exists --print-errors "compiz-text") 2>&5
17155 ac_status=$?
17156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17157 test $ac_status = 0; }; then
17158 pkg_cv_COMPIZTEXT_LIBS=`$PKG_CONFIG --libs "compiz-text" 2>/dev/null`
17159 test "x$?" != "x0" && pkg_failed=yes
17160 else
17161 pkg_failed=yes
17162 fi
17163 else
17164 pkg_failed=untried
17165 fi
17166
17167
17168
17169 if test $pkg_failed = yes; then
17170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17171 $as_echo "no" >&6; }
17172
17173 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17174 _pkg_short_errors_supported=yes
17175 else
17176 _pkg_short_errors_supported=no
17177 fi
17178 if test $_pkg_short_errors_supported = yes; then
17179 COMPIZTEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "compiz-text" 2>&1`
17180 else
17181 COMPIZTEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "compiz-text" 2>&1`
17182 fi
17183 # Put the nasty error message in config.log where it belongs
17184 echo "$COMPIZTEXT_PKG_ERRORS" >&5
17185
17186 have_compiz_text=no
17187 elif test $pkg_failed = untried; then
17188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17189 $as_echo "no" >&6; }
17190 have_compiz_text=no
17191 else
17192 COMPIZTEXT_CFLAGS=$pkg_cv_COMPIZTEXT_CFLAGS
17193 COMPIZTEXT_LIBS=$pkg_cv_COMPIZTEXT_LIBS
17194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17195 $as_echo "yes" >&6; }
17196 have_compiz_text=yes
17197 fi
17198 if test "x$have_compiz_text" = "xyes"; then
17199 WORKSPACENAMES_PLUGIN_TRUE=
17200 WORKSPACENAMES_PLUGIN_FALSE='#'
17201 else
17202 WORKSPACENAMES_PLUGIN_TRUE='#'
17203 WORKSPACENAMES_PLUGIN_FALSE=
17204 fi
17205
17206
17207 # Extract the first word of "gtk-update-icon-cache", so it can be a program name with args.
17208 set dummy gtk-update-icon-cache; ac_word=$2
17209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17210 $as_echo_n "checking for $ac_word... " >&6; }
17211 if ${ac_cv_path_UPDATE_ICON_CACHE+:} false; then :
17212 $as_echo_n "(cached) " >&6
17213 else
17214 case $UPDATE_ICON_CACHE in
17215 [\\/]* | ?:[\\/]*)
17216 ac_cv_path_UPDATE_ICON_CACHE="$UPDATE_ICON_CACHE" # Let the user override the test with a path.
17217 ;;
17218 *)
17219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17220 for as_dir in $PATH
17221 do
17222 IFS=$as_save_IFS
17223 test -z "$as_dir" && as_dir=.
17224 for ac_exec_ext in '' $ac_executable_extensions; do
17225 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17226 ac_cv_path_UPDATE_ICON_CACHE="$as_dir/$ac_word$ac_exec_ext"
17227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17228 break 2
17229 fi
17230 done
17231 done
17232 IFS=$as_save_IFS
17233
17234 ;;
17235 esac
17236 fi
17237 UPDATE_ICON_CACHE=$ac_cv_path_UPDATE_ICON_CACHE
17238 if test -n "$UPDATE_ICON_CACHE"; then
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPDATE_ICON_CACHE" >&5
17240 $as_echo "$UPDATE_ICON_CACHE" >&6; }
17241 else
17242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17243 $as_echo "no" >&6; }
17244 fi
17245
17246
17247
17248 ac_config_files="$ac_config_files compiz-animationaddon.pc Makefile icons/Makefile images/Makefile include/Makefile metadata/Makefile src/Makefile src/3d/Makefile src/addhelper/Makefile src/animationaddon/Makefile src/bell/Makefile src/bench/Makefile src/bicubic/Makefile src/crashhandler/Makefile src/cubeaddon/Makefile src/extrawm/Makefile src/fadedesktop/Makefile src/firepaint/Makefile src/gears/Makefile src/grid/Makefile src/group/Makefile src/highlightcontent/Makefile src/maximumize/Makefile src/mblur/Makefile src/notification/Makefile src/reflex/Makefile src/scalefilter/Makefile src/shelf/Makefile src/showdesktop/Makefile src/splash/Makefile src/trailfocus/Makefile src/widget/Makefile src/showmouse/Makefile src/loginout/Makefile src/vidcap/Makefile src/wallpaper/Makefile src/workspacenames/Makefile po/Makefile.in"
17249
17250 cat >confcache <<\_ACEOF
17251 # This file is a shell script that caches the results of configure
17252 # tests run on this system so they can be shared between configure
17253 # scripts and configure runs, see configure's option --config-cache.
17254 # It is not useful on other systems. If it contains results you don't
17255 # want to keep, you may remove or edit it.
17256 #
17257 # config.status only pays attention to the cache file if you give it
17258 # the --recheck option to rerun configure.
17259 #
17260 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17261 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17262 # following values.
17263
17264 _ACEOF
17265
17266 # The following way of writing the cache mishandles newlines in values,
17267 # but we know of no workaround that is simple, portable, and efficient.
17268 # So, we kill variables containing newlines.
17269 # Ultrix sh set writes to stderr and can't be redirected directly,
17270 # and sets the high bit in the cache file unless we assign to the vars.
17271 (
17272 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17273 eval ac_val=\$$ac_var
17274 case $ac_val in #(
17275 *${as_nl}*)
17276 case $ac_var in #(
17277 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17278 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17279 esac
17280 case $ac_var in #(
17281 _ | IFS | as_nl) ;; #(
17282 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17283 *) { eval $ac_var=; unset $ac_var;} ;;
17284 esac ;;
17285 esac
17286 done
17287
17288 (set) 2>&1 |
17289 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17290 *${as_nl}ac_space=\ *)
17291 # `set' does not quote correctly, so add quotes: double-quote
17292 # substitution turns \\\\ into \\, and sed turns \\ into \.
17293 sed -n \
17294 "s/'/'\\\\''/g;
17295 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17296 ;; #(
17297 *)
17298 # `set' quotes correctly as required by POSIX, so do not add quotes.
17299 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17300 ;;
17301 esac |
17302 sort
17303 ) |
17304 sed '
17305 /^ac_cv_env_/b end
17306 t clear
17307 :clear
17308 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17309 t end
17310 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17311 :end' >>confcache
17312 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17313 if test -w "$cache_file"; then
17314 if test "x$cache_file" != "x/dev/null"; then
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17316 $as_echo "$as_me: updating cache $cache_file" >&6;}
17317 if test ! -f "$cache_file" || test -h "$cache_file"; then
17318 cat confcache >"$cache_file"
17319 else
17320 case $cache_file in #(
17321 */* | ?:*)
17322 mv -f confcache "$cache_file"$$ &&
17323 mv -f "$cache_file"$$ "$cache_file" ;; #(
17324 *)
17325 mv -f confcache "$cache_file" ;;
17326 esac
17327 fi
17328 fi
17329 else
17330 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17331 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17332 fi
17333 fi
17334 rm -f confcache
17335
17336 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17337 # Let make expand exec_prefix.
17338 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17339
17340 DEFS=-DHAVE_CONFIG_H
17341
17342 ac_libobjs=
17343 ac_ltlibobjs=
17344 U=
17345 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17346 # 1. Remove the extension, and $U if already installed.
17347 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17348 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17349 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17350 # will be set to the directory where LIBOBJS objects are built.
17351 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17352 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17353 done
17354 LIBOBJS=$ac_libobjs
17355
17356 LTLIBOBJS=$ac_ltlibobjs
17357
17358
17359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17360 $as_echo_n "checking that generated files are newer than configure... " >&6; }
17361 if test -n "$am_sleep_pid"; then
17362 # Hide warnings about reused PIDs.
17363 wait $am_sleep_pid 2>/dev/null
17364 fi
17365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17366 $as_echo "done" >&6; }
17367 if test -n "$EXEEXT"; then
17368 am__EXEEXT_TRUE=
17369 am__EXEEXT_FALSE='#'
17370 else
17371 am__EXEEXT_TRUE='#'
17372 am__EXEEXT_FALSE=
17373 fi
17374
17375 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17376 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
17377 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17378 fi
17379 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17380 as_fn_error $? "conditional \"AMDEP\" was never defined.
17381 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17382 fi
17383 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17384 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17385 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17386 fi
17387 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17388 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17389 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17390 fi
17391
17392 ac_config_commands="$ac_config_commands po/stamp-it"
17393
17394
17395
17396 if test -z "${BELL_PLUGIN_TRUE}" && test -z "${BELL_PLUGIN_FALSE}"; then
17397 as_fn_error $? "conditional \"BELL_PLUGIN\" was never defined.
17398 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17399 fi
17400 if test -z "${GROUP_PLUGIN_TRUE}" && test -z "${GROUP_PLUGIN_FALSE}"; then
17401 as_fn_error $? "conditional \"GROUP_PLUGIN\" was never defined.
17402 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17403 fi
17404 if test -z "${SCALEFILTER_PLUGIN_TRUE}" && test -z "${SCALEFILTER_PLUGIN_FALSE}"; then
17405 as_fn_error $? "conditional \"SCALEFILTER_PLUGIN\" was never defined.
17406 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17407 fi
17408 if test -z "${CUBEADDON_PLUGIN_TRUE}" && test -z "${CUBEADDON_PLUGIN_FALSE}"; then
17409 as_fn_error $? "conditional \"CUBEADDON_PLUGIN\" was never defined.
17410 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17411 fi
17412 if test -z "${THREED_PLUGIN_TRUE}" && test -z "${THREED_PLUGIN_FALSE}"; then
17413 as_fn_error $? "conditional \"THREED_PLUGIN\" was never defined.
17414 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17415 fi
17416 if test -z "${SHOWMOUSE_PLUGIN_TRUE}" && test -z "${SHOWMOUSE_PLUGIN_FALSE}"; then
17417 as_fn_error $? "conditional \"SHOWMOUSE_PLUGIN\" was never defined.
17418 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17419 fi
17420 if test -z "${HIGHLIGHTCONTENT_PLUGIN_TRUE}" && test -z "${HIGHLIGHTCONTENT_PLUGIN_FALSE}"; then
17421 as_fn_error $? "conditional \"HIGHLIGHTCONTENT_PLUGIN\" was never defined.
17422 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17423 fi
17424 if test -z "${NOTIFICATION_PLUGIN_TRUE}" && test -z "${NOTIFICATION_PLUGIN_FALSE}"; then
17425 as_fn_error $? "conditional \"NOTIFICATION_PLUGIN\" was never defined.
17426 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17427 fi
17428 if test -z "${ANIMATIONADDON_PLUGIN_TRUE}" && test -z "${ANIMATIONADDON_PLUGIN_FALSE}"; then
17429 as_fn_error $? "conditional \"ANIMATIONADDON_PLUGIN\" was never defined.
17430 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17431 fi
17432 if test -z "${WORKSPACENAMES_PLUGIN_TRUE}" && test -z "${WORKSPACENAMES_PLUGIN_FALSE}"; then
17433 as_fn_error $? "conditional \"WORKSPACENAMES_PLUGIN\" was never defined.
17434 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17435 fi
17436
17437 : "${CONFIG_STATUS=./config.status}"
17438 ac_write_fail=0
17439 ac_clean_files_save=$ac_clean_files
17440 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17441 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17442 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17443 as_write_fail=0
17444 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17445 #! $SHELL
17446 # Generated by $as_me.
17447 # Run this file to recreate the current configuration.
17448 # Compiler output produced by configure, useful for debugging
17449 # configure, is in config.log if it exists.
17450
17451 debug=false
17452 ac_cs_recheck=false
17453 ac_cs_silent=false
17454
17455 SHELL=\${CONFIG_SHELL-$SHELL}
17456 export SHELL
17457 _ASEOF
17458 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17459 ## -------------------- ##
17460 ## M4sh Initialization. ##
17461 ## -------------------- ##
17462
17463 # Be more Bourne compatible
17464 DUALCASE=1; export DUALCASE # for MKS sh
17465 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17466 emulate sh
17467 NULLCMD=:
17468 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17469 # is contrary to our usage. Disable this feature.
17470 alias -g '${1+"$@"}'='"$@"'
17471 setopt NO_GLOB_SUBST
17472 else
17473 case `(set -o) 2>/dev/null` in #(
17474 *posix*) :
17475 set -o posix ;; #(
17476 *) :
17477 ;;
17478 esac
17479 fi
17480
17481
17482 as_nl='
17483 '
17484 export as_nl
17485 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17486 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17487 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17488 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17489 # Prefer a ksh shell builtin over an external printf program on Solaris,
17490 # but without wasting forks for bash or zsh.
17491 if test -z "$BASH_VERSION$ZSH_VERSION" \
17492 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17493 as_echo='print -r --'
17494 as_echo_n='print -rn --'
17495 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17496 as_echo='printf %s\n'
17497 as_echo_n='printf %s'
17498 else
17499 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17500 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17501 as_echo_n='/usr/ucb/echo -n'
17502 else
17503 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17504 as_echo_n_body='eval
17505 arg=$1;
17506 case $arg in #(
17507 *"$as_nl"*)
17508 expr "X$arg" : "X\\(.*\\)$as_nl";
17509 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17510 esac;
17511 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17512 '
17513 export as_echo_n_body
17514 as_echo_n='sh -c $as_echo_n_body as_echo'
17515 fi
17516 export as_echo_body
17517 as_echo='sh -c $as_echo_body as_echo'
17518 fi
17519
17520 # The user is always right.
17521 if test "${PATH_SEPARATOR+set}" != set; then
17522 PATH_SEPARATOR=:
17523 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17524 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17525 PATH_SEPARATOR=';'
17526 }
17527 fi
17528
17529
17530 # IFS
17531 # We need space, tab and new line, in precisely that order. Quoting is
17532 # there to prevent editors from complaining about space-tab.
17533 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17534 # splitting by setting IFS to empty value.)
17535 IFS=" "" $as_nl"
17536
17537 # Find who we are. Look in the path if we contain no directory separator.
17538 as_myself=
17539 case $0 in #((
17540 *[\\/]* ) as_myself=$0 ;;
17541 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17542 for as_dir in $PATH
17543 do
17544 IFS=$as_save_IFS
17545 test -z "$as_dir" && as_dir=.
17546 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17547 done
17548 IFS=$as_save_IFS
17549
17550 ;;
17551 esac
17552 # We did not find ourselves, most probably we were run as `sh COMMAND'
17553 # in which case we are not to be found in the path.
17554 if test "x$as_myself" = x; then
17555 as_myself=$0
17556 fi
17557 if test ! -f "$as_myself"; then
17558 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17559 exit 1
17560 fi
17561
17562 # Unset variables that we do not need and which cause bugs (e.g. in
17563 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17564 # suppresses any "Segmentation fault" message there. '((' could
17565 # trigger a bug in pdksh 5.2.14.
17566 for as_var in BASH_ENV ENV MAIL MAILPATH
17567 do eval test x\${$as_var+set} = xset \
17568 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17569 done
17570 PS1='$ '
17571 PS2='> '
17572 PS4='+ '
17573
17574 # NLS nuisances.
17575 LC_ALL=C
17576 export LC_ALL
17577 LANGUAGE=C
17578 export LANGUAGE
17579
17580 # CDPATH.
17581 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17582
17583
17584 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17585 # ----------------------------------------
17586 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17587 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17588 # script with STATUS, using 1 if that was 0.
17589 as_fn_error ()
17590 {
17591 as_status=$1; test $as_status -eq 0 && as_status=1
17592 if test "$4"; then
17593 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17594 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17595 fi
17596 $as_echo "$as_me: error: $2" >&2
17597 as_fn_exit $as_status
17598 } # as_fn_error
17599
17600
17601 # as_fn_set_status STATUS
17602 # -----------------------
17603 # Set $? to STATUS, without forking.
17604 as_fn_set_status ()
17605 {
17606 return $1
17607 } # as_fn_set_status
17608
17609 # as_fn_exit STATUS
17610 # -----------------
17611 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17612 as_fn_exit ()
17613 {
17614 set +e
17615 as_fn_set_status $1
17616 exit $1
17617 } # as_fn_exit
17618
17619 # as_fn_unset VAR
17620 # ---------------
17621 # Portably unset VAR.
17622 as_fn_unset ()
17623 {
17624 { eval $1=; unset $1;}
17625 }
17626 as_unset=as_fn_unset
17627 # as_fn_append VAR VALUE
17628 # ----------------------
17629 # Append the text in VALUE to the end of the definition contained in VAR. Take
17630 # advantage of any shell optimizations that allow amortized linear growth over
17631 # repeated appends, instead of the typical quadratic growth present in naive
17632 # implementations.
17633 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17634 eval 'as_fn_append ()
17635 {
17636 eval $1+=\$2
17637 }'
17638 else
17639 as_fn_append ()
17640 {
17641 eval $1=\$$1\$2
17642 }
17643 fi # as_fn_append
17644
17645 # as_fn_arith ARG...
17646 # ------------------
17647 # Perform arithmetic evaluation on the ARGs, and store the result in the
17648 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17649 # must be portable across $(()) and expr.
17650 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17651 eval 'as_fn_arith ()
17652 {
17653 as_val=$(( $* ))
17654 }'
17655 else
17656 as_fn_arith ()
17657 {
17658 as_val=`expr "$@" || test $? -eq 1`
17659 }
17660 fi # as_fn_arith
17661
17662
17663 if expr a : '\(a\)' >/dev/null 2>&1 &&
17664 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17665 as_expr=expr
17666 else
17667 as_expr=false
17668 fi
17669
17670 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17671 as_basename=basename
17672 else
17673 as_basename=false
17674 fi
17675
17676 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17677 as_dirname=dirname
17678 else
17679 as_dirname=false
17680 fi
17681
17682 as_me=`$as_basename -- "$0" ||
17683 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17684 X"$0" : 'X\(//\)$' \| \
17685 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17686 $as_echo X/"$0" |
17687 sed '/^.*\/\([^/][^/]*\)\/*$/{
17688 s//\1/
17689 q
17690 }
17691 /^X\/\(\/\/\)$/{
17692 s//\1/
17693 q
17694 }
17695 /^X\/\(\/\).*/{
17696 s//\1/
17697 q
17698 }
17699 s/.*/./; q'`
17700
17701 # Avoid depending upon Character Ranges.
17702 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17703 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17704 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17705 as_cr_digits='0123456789'
17706 as_cr_alnum=$as_cr_Letters$as_cr_digits
17707
17708 ECHO_C= ECHO_N= ECHO_T=
17709 case `echo -n x` in #(((((
17710 -n*)
17711 case `echo 'xy\c'` in
17712 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17713 xy) ECHO_C='\c';;
17714 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17715 ECHO_T=' ';;
17716 esac;;
17717 *)
17718 ECHO_N='-n';;
17719 esac
17720
17721 rm -f conf$$ conf$$.exe conf$$.file
17722 if test -d conf$$.dir; then
17723 rm -f conf$$.dir/conf$$.file
17724 else
17725 rm -f conf$$.dir
17726 mkdir conf$$.dir 2>/dev/null
17727 fi
17728 if (echo >conf$$.file) 2>/dev/null; then
17729 if ln -s conf$$.file conf$$ 2>/dev/null; then
17730 as_ln_s='ln -s'
17731 # ... but there are two gotchas:
17732 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17733 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17734 # In both cases, we have to default to `cp -pR'.
17735 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17736 as_ln_s='cp -pR'
17737 elif ln conf$$.file conf$$ 2>/dev/null; then
17738 as_ln_s=ln
17739 else
17740 as_ln_s='cp -pR'
17741 fi
17742 else
17743 as_ln_s='cp -pR'
17744 fi
17745 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17746 rmdir conf$$.dir 2>/dev/null
17747
17748
17749 # as_fn_mkdir_p
17750 # -------------
17751 # Create "$as_dir" as a directory, including parents if necessary.
17752 as_fn_mkdir_p ()
17753 {
17754
17755 case $as_dir in #(
17756 -*) as_dir=./$as_dir;;
17757 esac
17758 test -d "$as_dir" || eval $as_mkdir_p || {
17759 as_dirs=
17760 while :; do
17761 case $as_dir in #(
17762 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17763 *) as_qdir=$as_dir;;
17764 esac
17765 as_dirs="'$as_qdir' $as_dirs"
17766 as_dir=`$as_dirname -- "$as_dir" ||
17767 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17768 X"$as_dir" : 'X\(//\)[^/]' \| \
17769 X"$as_dir" : 'X\(//\)$' \| \
17770 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17771 $as_echo X"$as_dir" |
17772 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17773 s//\1/
17774 q
17775 }
17776 /^X\(\/\/\)[^/].*/{
17777 s//\1/
17778 q
17779 }
17780 /^X\(\/\/\)$/{
17781 s//\1/
17782 q
17783 }
17784 /^X\(\/\).*/{
17785 s//\1/
17786 q
17787 }
17788 s/.*/./; q'`
17789 test -d "$as_dir" && break
17790 done
17791 test -z "$as_dirs" || eval "mkdir $as_dirs"
17792 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17793
17794
17795 } # as_fn_mkdir_p
17796 if mkdir -p . 2>/dev/null; then
17797 as_mkdir_p='mkdir -p "$as_dir"'
17798 else
17799 test -d ./-p && rmdir ./-p
17800 as_mkdir_p=false
17801 fi
17802
17803
17804 # as_fn_executable_p FILE
17805 # -----------------------
17806 # Test if FILE is an executable regular file.
17807 as_fn_executable_p ()
17808 {
17809 test -f "$1" && test -x "$1"
17810 } # as_fn_executable_p
17811 as_test_x='test -x'
17812 as_executable_p=as_fn_executable_p
17813
17814 # Sed expression to map a string onto a valid CPP name.
17815 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17816
17817 # Sed expression to map a string onto a valid variable name.
17818 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17819
17820
17821 exec 6>&1
17822 ## ----------------------------------- ##
17823 ## Main body of $CONFIG_STATUS script. ##
17824 ## ----------------------------------- ##
17825 _ASEOF
17826 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17827
17828 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17829 # Save the log message, to keep $0 and so on meaningful, and to
17830 # report actual input values of CONFIG_FILES etc. instead of their
17831 # values after options handling.
17832 ac_log="
17833 This file was extended by compiz-plugins-extra $as_me 0.8.18, which was
17834 generated by GNU Autoconf 2.69. Invocation command line was
17835
17836 CONFIG_FILES = $CONFIG_FILES
17837 CONFIG_HEADERS = $CONFIG_HEADERS
17838 CONFIG_LINKS = $CONFIG_LINKS
17839 CONFIG_COMMANDS = $CONFIG_COMMANDS
17840 $ $0 $@
17841
17842 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17843 "
17844
17845 _ACEOF
17846
17847 case $ac_config_files in *"
17848 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17849 esac
17850
17851 case $ac_config_headers in *"
17852 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17853 esac
17854
17855
17856 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17857 # Files that config.status was made for.
17858 config_files="$ac_config_files"
17859 config_headers="$ac_config_headers"
17860 config_commands="$ac_config_commands"
17861
17862 _ACEOF
17863
17864 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17865 ac_cs_usage="\
17866 \`$as_me' instantiates files and other configuration actions
17867 from templates according to the current configuration. Unless the files
17868 and actions are specified as TAGs, all are instantiated by default.
17869
17870 Usage: $0 [OPTION]... [TAG]...
17871
17872 -h, --help print this help, then exit
17873 -V, --version print version number and configuration settings, then exit
17874 --config print configuration, then exit
17875 -q, --quiet, --silent
17876 do not print progress messages
17877 -d, --debug don't remove temporary files
17878 --recheck update $as_me by reconfiguring in the same conditions
17879 --file=FILE[:TEMPLATE]
17880 instantiate the configuration file FILE
17881 --header=FILE[:TEMPLATE]
17882 instantiate the configuration header FILE
17883
17884 Configuration files:
17885 $config_files
17886
17887 Configuration headers:
17888 $config_headers
17889
17890 Configuration commands:
17891 $config_commands
17892
17893 Report bugs to <[email protected]>."
17894
17895 _ACEOF
17896 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17897 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17898 ac_cs_version="\\
17899 compiz-plugins-extra config.status 0.8.18
17900 configured by $0, generated by GNU Autoconf 2.69,
17901 with options \\"\$ac_cs_config\\"
17902
17903 Copyright (C) 2012 Free Software Foundation, Inc.
17904 This config.status script is free software; the Free Software Foundation
17905 gives unlimited permission to copy, distribute and modify it."
17906
17907 ac_pwd='$ac_pwd'
17908 srcdir='$srcdir'
17909 INSTALL='$INSTALL'
17910 MKDIR_P='$MKDIR_P'
17911 AWK='$AWK'
17912 test -n "\$AWK" || AWK=awk
17913 _ACEOF
17914
17915 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17916 # The default lists apply if the user does not specify any file.
17917 ac_need_defaults=:
17918 while test $# != 0
17919 do
17920 case $1 in
17921 --*=?*)
17922 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17923 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17924 ac_shift=:
17925 ;;
17926 --*=)
17927 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17928 ac_optarg=
17929 ac_shift=:
17930 ;;
17931 *)
17932 ac_option=$1
17933 ac_optarg=$2
17934 ac_shift=shift
17935 ;;
17936 esac
17937
17938 case $ac_option in
17939 # Handling of the options.
17940 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17941 ac_cs_recheck=: ;;
17942 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17943 $as_echo "$ac_cs_version"; exit ;;
17944 --config | --confi | --conf | --con | --co | --c )
17945 $as_echo "$ac_cs_config"; exit ;;
17946 --debug | --debu | --deb | --de | --d | -d )
17947 debug=: ;;
17948 --file | --fil | --fi | --f )
17949 $ac_shift
17950 case $ac_optarg in
17951 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17952 '') as_fn_error $? "missing file argument" ;;
17953 esac
17954 as_fn_append CONFIG_FILES " '$ac_optarg'"
17955 ac_need_defaults=false;;
17956 --header | --heade | --head | --hea )
17957 $ac_shift
17958 case $ac_optarg in
17959 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17960 esac
17961 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17962 ac_need_defaults=false;;
17963 --he | --h)
17964 # Conflict between --help and --header
17965 as_fn_error $? "ambiguous option: \`$1'
17966 Try \`$0 --help' for more information.";;
17967 --help | --hel | -h )
17968 $as_echo "$ac_cs_usage"; exit ;;
17969 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17970 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17971 ac_cs_silent=: ;;
17972
17973 # This is an error.
17974 -*) as_fn_error $? "unrecognized option: \`$1'
17975 Try \`$0 --help' for more information." ;;
17976
17977 *) as_fn_append ac_config_targets " $1"
17978 ac_need_defaults=false ;;
17979
17980 esac
17981 shift
17982 done
17983
17984 ac_configure_extra_args=
17985
17986 if $ac_cs_silent; then
17987 exec 6>/dev/null
17988 ac_configure_extra_args="$ac_configure_extra_args --silent"
17989 fi
17990
17991 _ACEOF
17992 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17993 if \$ac_cs_recheck; then
17994 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17995 shift
17996 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17997 CONFIG_SHELL='$SHELL'
17998 export CONFIG_SHELL
17999 exec "\$@"
18000 fi
18001
18002 _ACEOF
18003 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18004 exec 5>>config.log
18005 {
18006 echo
18007 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18008 ## Running $as_me. ##
18009 _ASBOX
18010 $as_echo "$ac_log"
18011 } >&5
18012
18013 _ACEOF
18014 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18015 #
18016 # INIT-COMMANDS
18017 #
18018 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18019
18020
18021 # The HP-UX ksh and POSIX shell print the target directory to stdout
18022 # if CDPATH is set.
18023 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18024
18025 sed_quote_subst='$sed_quote_subst'
18026 double_quote_subst='$double_quote_subst'
18027 delay_variable_subst='$delay_variable_subst'
18028 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18029 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18030 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18031 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18032 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18033 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18034 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
18035 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18036 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18037 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18038 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18039 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18040 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18041 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18042 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18043 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18044 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18045 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18046 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18047 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18048 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18049 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18050 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18051 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18052 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18053 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18054 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18055 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18056 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18057 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18058 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18059 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18060 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18061 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18062 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18063 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18064 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18065 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18066 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18067 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18068 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18069 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18070 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18071 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18072 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18073 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18074 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18075 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18076 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18077 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18078 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18079 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18080 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18081 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18082 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18083 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18084 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
18085 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18086 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"`'
18087 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
18088 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18089 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18090 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
18091 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18092 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18093 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18094 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18095 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18096 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18097 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18098 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18099 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18100 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18101 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18102 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18103 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18104 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18105 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18106 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18107 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18108 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18109 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18110 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18111 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18112 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18113 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18114 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18115 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18116 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18117 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18118 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18119 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18120 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18121 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18122 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18123 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18124 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18125 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18126 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18127 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18128 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18129 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18130 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18131 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18132 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18133 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18134 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18135 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18136 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18137 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18138 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18139 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18140 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18141 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18142 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18143 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18144 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18145 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18146 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18147 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18148 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18149 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18150 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18151 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18152 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18153 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18154 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18155 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
18156 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
18157 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18158 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18159 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18160 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18161 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18162 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18163
18164 LTCC='$LTCC'
18165 LTCFLAGS='$LTCFLAGS'
18166 compiler='$compiler_DEFAULT'
18167
18168 # A function that is used when there is no print builtin or printf.
18169 func_fallback_echo ()
18170 {
18171 eval 'cat <<_LTECHO_EOF
18172 \$1
18173 _LTECHO_EOF'
18174 }
18175
18176 # Quote evaled strings.
18177 for var in SHELL \
18178 ECHO \
18179 PATH_SEPARATOR \
18180 SED \
18181 GREP \
18182 EGREP \
18183 FGREP \
18184 LD \
18185 NM \
18186 LN_S \
18187 lt_SP2NL \
18188 lt_NL2SP \
18189 reload_flag \
18190 OBJDUMP \
18191 deplibs_check_method \
18192 file_magic_cmd \
18193 file_magic_glob \
18194 want_nocaseglob \
18195 DLLTOOL \
18196 sharedlib_from_linklib_cmd \
18197 AR \
18198 AR_FLAGS \
18199 archiver_list_spec \
18200 STRIP \
18201 RANLIB \
18202 CC \
18203 CFLAGS \
18204 compiler \
18205 lt_cv_sys_global_symbol_pipe \
18206 lt_cv_sys_global_symbol_to_cdecl \
18207 lt_cv_sys_global_symbol_to_import \
18208 lt_cv_sys_global_symbol_to_c_name_address \
18209 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18210 lt_cv_nm_interface \
18211 nm_file_list_spec \
18212 lt_cv_truncate_bin \
18213 lt_prog_compiler_no_builtin_flag \
18214 lt_prog_compiler_pic \
18215 lt_prog_compiler_wl \
18216 lt_prog_compiler_static \
18217 lt_cv_prog_compiler_c_o \
18218 need_locks \
18219 MANIFEST_TOOL \
18220 DSYMUTIL \
18221 NMEDIT \
18222 LIPO \
18223 OTOOL \
18224 OTOOL64 \
18225 shrext_cmds \
18226 export_dynamic_flag_spec \
18227 whole_archive_flag_spec \
18228 compiler_needs_object \
18229 with_gnu_ld \
18230 allow_undefined_flag \
18231 no_undefined_flag \
18232 hardcode_libdir_flag_spec \
18233 hardcode_libdir_separator \
18234 exclude_expsyms \
18235 include_expsyms \
18236 file_list_spec \
18237 variables_saved_for_relink \
18238 libname_spec \
18239 library_names_spec \
18240 soname_spec \
18241 install_override_mode \
18242 finish_eval \
18243 old_striplib \
18244 striplib; do
18245 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18246 *[\\\\\\\`\\"\\\$]*)
18247 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18248 ;;
18249 *)
18250 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18251 ;;
18252 esac
18253 done
18254
18255 # Double-quote double-evaled strings.
18256 for var in reload_cmds \
18257 old_postinstall_cmds \
18258 old_postuninstall_cmds \
18259 old_archive_cmds \
18260 extract_expsyms_cmds \
18261 old_archive_from_new_cmds \
18262 old_archive_from_expsyms_cmds \
18263 archive_cmds \
18264 archive_expsym_cmds \
18265 module_cmds \
18266 module_expsym_cmds \
18267 export_symbols_cmds \
18268 prelink_cmds \
18269 postlink_cmds \
18270 postinstall_cmds \
18271 postuninstall_cmds \
18272 finish_cmds \
18273 sys_lib_search_path_spec \
18274 configure_time_dlsearch_path \
18275 configure_time_lt_sys_library_path; do
18276 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18277 *[\\\\\\\`\\"\\\$]*)
18278 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18279 ;;
18280 *)
18281 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18282 ;;
18283 esac
18284 done
18285
18286 ac_aux_dir='$ac_aux_dir'
18287
18288 # See if we are running on zsh, and set the options that allow our
18289 # commands through without removal of \ escapes INIT.
18290 if test -n "\${ZSH_VERSION+set}"; then
18291 setopt NO_GLOB_SUBST
18292 fi
18293
18294
18295 PACKAGE='$PACKAGE'
18296 VERSION='$VERSION'
18297 RM='$RM'
18298 ofile='$ofile'
18299
18300
18301
18302 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
18303 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
18304 # from automake < 1.5.
18305 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
18306 # Capture the value of LINGUAS because we need it to compute CATALOGS.
18307 LINGUAS="${LINGUAS-%UNSET%}"
18308
18309
18310 _ACEOF
18311
18312 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18313
18314 # Handling of arguments.
18315 for ac_config_target in $ac_config_targets
18316 do
18317 case $ac_config_target in
18318 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18319 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18320 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18321 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
18322 "compiz-animationaddon.pc") CONFIG_FILES="$CONFIG_FILES compiz-animationaddon.pc" ;;
18323 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18324 "icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;;
18325 "images/Makefile") CONFIG_FILES="$CONFIG_FILES images/Makefile" ;;
18326 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
18327 "metadata/Makefile") CONFIG_FILES="$CONFIG_FILES metadata/Makefile" ;;
18328 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
18329 "src/3d/Makefile") CONFIG_FILES="$CONFIG_FILES src/3d/Makefile" ;;
18330 "src/addhelper/Makefile") CONFIG_FILES="$CONFIG_FILES src/addhelper/Makefile" ;;
18331 "src/animationaddon/Makefile") CONFIG_FILES="$CONFIG_FILES src/animationaddon/Makefile" ;;
18332 "src/bell/Makefile") CONFIG_FILES="$CONFIG_FILES src/bell/Makefile" ;;
18333 "src/bench/Makefile") CONFIG_FILES="$CONFIG_FILES src/bench/Makefile" ;;
18334 "src/bicubic/Makefile") CONFIG_FILES="$CONFIG_FILES src/bicubic/Makefile" ;;
18335 "src/crashhandler/Makefile") CONFIG_FILES="$CONFIG_FILES src/crashhandler/Makefile" ;;
18336 "src/cubeaddon/Makefile") CONFIG_FILES="$CONFIG_FILES src/cubeaddon/Makefile" ;;
18337 "src/extrawm/Makefile") CONFIG_FILES="$CONFIG_FILES src/extrawm/Makefile" ;;
18338 "src/fadedesktop/Makefile") CONFIG_FILES="$CONFIG_FILES src/fadedesktop/Makefile" ;;
18339 "src/firepaint/Makefile") CONFIG_FILES="$CONFIG_FILES src/firepaint/Makefile" ;;
18340 "src/gears/Makefile") CONFIG_FILES="$CONFIG_FILES src/gears/Makefile" ;;
18341 "src/grid/Makefile") CONFIG_FILES="$CONFIG_FILES src/grid/Makefile" ;;
18342 "src/group/Makefile") CONFIG_FILES="$CONFIG_FILES src/group/Makefile" ;;
18343 "src/highlightcontent/Makefile") CONFIG_FILES="$CONFIG_FILES src/highlightcontent/Makefile" ;;
18344 "src/maximumize/Makefile") CONFIG_FILES="$CONFIG_FILES src/maximumize/Makefile" ;;
18345 "src/mblur/Makefile") CONFIG_FILES="$CONFIG_FILES src/mblur/Makefile" ;;
18346 "src/notification/Makefile") CONFIG_FILES="$CONFIG_FILES src/notification/Makefile" ;;
18347 "src/reflex/Makefile") CONFIG_FILES="$CONFIG_FILES src/reflex/Makefile" ;;
18348 "src/scalefilter/Makefile") CONFIG_FILES="$CONFIG_FILES src/scalefilter/Makefile" ;;
18349 "src/shelf/Makefile") CONFIG_FILES="$CONFIG_FILES src/shelf/Makefile" ;;
18350 "src/showdesktop/Makefile") CONFIG_FILES="$CONFIG_FILES src/showdesktop/Makefile" ;;
18351 "src/splash/Makefile") CONFIG_FILES="$CONFIG_FILES src/splash/Makefile" ;;
18352 "src/trailfocus/Makefile") CONFIG_FILES="$CONFIG_FILES src/trailfocus/Makefile" ;;
18353 "src/widget/Makefile") CONFIG_FILES="$CONFIG_FILES src/widget/Makefile" ;;
18354 "src/showmouse/Makefile") CONFIG_FILES="$CONFIG_FILES src/showmouse/Makefile" ;;
18355 "src/loginout/Makefile") CONFIG_FILES="$CONFIG_FILES src/loginout/Makefile" ;;
18356 "src/vidcap/Makefile") CONFIG_FILES="$CONFIG_FILES src/vidcap/Makefile" ;;
18357 "src/wallpaper/Makefile") CONFIG_FILES="$CONFIG_FILES src/wallpaper/Makefile" ;;
18358 "src/workspacenames/Makefile") CONFIG_FILES="$CONFIG_FILES src/workspacenames/Makefile" ;;
18359 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
18360 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
18361
18362 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18363 esac
18364 done
18365
18366
18367 # If the user did not use the arguments to specify the items to instantiate,
18368 # then the envvar interface is used. Set only those that are not.
18369 # We use the long form for the default assignment because of an extremely
18370 # bizarre bug on SunOS 4.1.3.
18371 if $ac_need_defaults; then
18372 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18373 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18374 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18375 fi
18376
18377 # Have a temporary directory for convenience. Make it in the build tree
18378 # simply because there is no reason against having it here, and in addition,
18379 # creating and moving files from /tmp can sometimes cause problems.
18380 # Hook for its removal unless debugging.
18381 # Note that there is a small window in which the directory will not be cleaned:
18382 # after its creation but before its name has been assigned to `$tmp'.
18383 $debug ||
18384 {
18385 tmp= ac_tmp=
18386 trap 'exit_status=$?
18387 : "${ac_tmp:=$tmp}"
18388 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18389 ' 0
18390 trap 'as_fn_exit 1' 1 2 13 15
18391 }
18392 # Create a (secure) tmp directory for tmp files.
18393
18394 {
18395 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18396 test -d "$tmp"
18397 } ||
18398 {
18399 tmp=./conf$$-$RANDOM
18400 (umask 077 && mkdir "$tmp")
18401 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18402 ac_tmp=$tmp
18403
18404 # Set up the scripts for CONFIG_FILES section.
18405 # No need to generate them if there are no CONFIG_FILES.
18406 # This happens for instance with `./config.status config.h'.
18407 if test -n "$CONFIG_FILES"; then
18408
18409
18410 ac_cr=`echo X | tr X '\015'`
18411 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18412 # But we know of no other shell where ac_cr would be empty at this
18413 # point, so we can use a bashism as a fallback.
18414 if test "x$ac_cr" = x; then
18415 eval ac_cr=\$\'\\r\'
18416 fi
18417 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18418 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18419 ac_cs_awk_cr='\\r'
18420 else
18421 ac_cs_awk_cr=$ac_cr
18422 fi
18423
18424 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18425 _ACEOF
18426
18427
18428 {
18429 echo "cat >conf$$subs.awk <<_ACEOF" &&
18430 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18431 echo "_ACEOF"
18432 } >conf$$subs.sh ||
18433 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18434 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18435 ac_delim='%!_!# '
18436 for ac_last_try in false false false false false :; do
18437 . ./conf$$subs.sh ||
18438 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18439
18440 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18441 if test $ac_delim_n = $ac_delim_num; then
18442 break
18443 elif $ac_last_try; then
18444 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18445 else
18446 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18447 fi
18448 done
18449 rm -f conf$$subs.sh
18450
18451 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18452 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18453 _ACEOF
18454 sed -n '
18455 h
18456 s/^/S["/; s/!.*/"]=/
18457 p
18458 g
18459 s/^[^!]*!//
18460 :repl
18461 t repl
18462 s/'"$ac_delim"'$//
18463 t delim
18464 :nl
18465 h
18466 s/\(.\{148\}\)..*/\1/
18467 t more1
18468 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18469 p
18470 n
18471 b repl
18472 :more1
18473 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18474 p
18475 g
18476 s/.\{148\}//
18477 t nl
18478 :delim
18479 h
18480 s/\(.\{148\}\)..*/\1/
18481 t more2
18482 s/["\\]/\\&/g; s/^/"/; s/$/"/
18483 p
18484 b
18485 :more2
18486 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18487 p
18488 g
18489 s/.\{148\}//
18490 t delim
18491 ' <conf$$subs.awk | sed '
18492 /^[^""]/{
18493 N
18494 s/\n//
18495 }
18496 ' >>$CONFIG_STATUS || ac_write_fail=1
18497 rm -f conf$$subs.awk
18498 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18499 _ACAWK
18500 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18501 for (key in S) S_is_set[key] = 1
18502 FS = ""
18503
18504 }
18505 {
18506 line = $ 0
18507 nfields = split(line, field, "@")
18508 substed = 0
18509 len = length(field[1])
18510 for (i = 2; i < nfields; i++) {
18511 key = field[i]
18512 keylen = length(key)
18513 if (S_is_set[key]) {
18514 value = S[key]
18515 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18516 len += length(value) + length(field[++i])
18517 substed = 1
18518 } else
18519 len += 1 + keylen
18520 }
18521
18522 print line
18523 }
18524
18525 _ACAWK
18526 _ACEOF
18527 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18528 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18529 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18530 else
18531 cat
18532 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18533 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18534 _ACEOF
18535
18536 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18537 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18538 # trailing colons and then remove the whole line if VPATH becomes empty
18539 # (actually we leave an empty line to preserve line numbers).
18540 if test "x$srcdir" = x.; then
18541 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18542 h
18543 s///
18544 s/^/:/
18545 s/[ ]*$/:/
18546 s/:\$(srcdir):/:/g
18547 s/:\${srcdir}:/:/g
18548 s/:@srcdir@:/:/g
18549 s/^:*//
18550 s/:*$//
18551 x
18552 s/\(=[ ]*\).*/\1/
18553 G
18554 s/\n//
18555 s/^[^=]*=[ ]*$//
18556 }'
18557 fi
18558
18559 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18560 fi # test -n "$CONFIG_FILES"
18561
18562 # Set up the scripts for CONFIG_HEADERS section.
18563 # No need to generate them if there are no CONFIG_HEADERS.
18564 # This happens for instance with `./config.status Makefile'.
18565 if test -n "$CONFIG_HEADERS"; then
18566 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18567 BEGIN {
18568 _ACEOF
18569
18570 # Transform confdefs.h into an awk script `defines.awk', embedded as
18571 # here-document in config.status, that substitutes the proper values into
18572 # config.h.in to produce config.h.
18573
18574 # Create a delimiter string that does not exist in confdefs.h, to ease
18575 # handling of long lines.
18576 ac_delim='%!_!# '
18577 for ac_last_try in false false :; do
18578 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18579 if test -z "$ac_tt"; then
18580 break
18581 elif $ac_last_try; then
18582 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18583 else
18584 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18585 fi
18586 done
18587
18588 # For the awk script, D is an array of macro values keyed by name,
18589 # likewise P contains macro parameters if any. Preserve backslash
18590 # newline sequences.
18591
18592 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18593 sed -n '
18594 s/.\{148\}/&'"$ac_delim"'/g
18595 t rset
18596 :rset
18597 s/^[ ]*#[ ]*define[ ][ ]*/ /
18598 t def
18599 d
18600 :def
18601 s/\\$//
18602 t bsnl
18603 s/["\\]/\\&/g
18604 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18605 D["\1"]=" \3"/p
18606 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18607 d
18608 :bsnl
18609 s/["\\]/\\&/g
18610 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18611 D["\1"]=" \3\\\\\\n"\\/p
18612 t cont
18613 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18614 t cont
18615 d
18616 :cont
18617 n
18618 s/.\{148\}/&'"$ac_delim"'/g
18619 t clear
18620 :clear
18621 s/\\$//
18622 t bsnlc
18623 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18624 d
18625 :bsnlc
18626 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18627 b cont
18628 ' <confdefs.h | sed '
18629 s/'"$ac_delim"'/"\\\
18630 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18631
18632 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18633 for (key in D) D_is_set[key] = 1
18634 FS = ""
18635 }
18636 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18637 line = \$ 0
18638 split(line, arg, " ")
18639 if (arg[1] == "#") {
18640 defundef = arg[2]
18641 mac1 = arg[3]
18642 } else {
18643 defundef = substr(arg[1], 2)
18644 mac1 = arg[2]
18645 }
18646 split(mac1, mac2, "(") #)
18647 macro = mac2[1]
18648 prefix = substr(line, 1, index(line, defundef) - 1)
18649 if (D_is_set[macro]) {
18650 # Preserve the white space surrounding the "#".
18651 print prefix "define", macro P[macro] D[macro]
18652 next
18653 } else {
18654 # Replace #undef with comments. This is necessary, for example,
18655 # in the case of _POSIX_SOURCE, which is predefined and required
18656 # on some systems where configure will not decide to define it.
18657 if (defundef == "undef") {
18658 print "/*", prefix defundef, macro, "*/"
18659 next
18660 }
18661 }
18662 }
18663 { print }
18664 _ACAWK
18665 _ACEOF
18666 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18667 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18668 fi # test -n "$CONFIG_HEADERS"
18669
18670
18671 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18672 shift
18673 for ac_tag
18674 do
18675 case $ac_tag in
18676 :[FHLC]) ac_mode=$ac_tag; continue;;
18677 esac
18678 case $ac_mode$ac_tag in
18679 :[FHL]*:*);;
18680 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18681 :[FH]-) ac_tag=-:-;;
18682 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18683 esac
18684 ac_save_IFS=$IFS
18685 IFS=:
18686 set x $ac_tag
18687 IFS=$ac_save_IFS
18688 shift
18689 ac_file=$1
18690 shift
18691
18692 case $ac_mode in
18693 :L) ac_source=$1;;
18694 :[FH])
18695 ac_file_inputs=
18696 for ac_f
18697 do
18698 case $ac_f in
18699 -) ac_f="$ac_tmp/stdin";;
18700 *) # Look for the file first in the build tree, then in the source tree
18701 # (if the path is not absolute). The absolute path cannot be DOS-style,
18702 # because $ac_f cannot contain `:'.
18703 test -f "$ac_f" ||
18704 case $ac_f in
18705 [\\/$]*) false;;
18706 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18707 esac ||
18708 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18709 esac
18710 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18711 as_fn_append ac_file_inputs " '$ac_f'"
18712 done
18713
18714 # Let's still pretend it is `configure' which instantiates (i.e., don't
18715 # use $as_me), people would be surprised to read:
18716 # /* config.h. Generated by config.status. */
18717 configure_input='Generated from '`
18718 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18719 `' by configure.'
18720 if test x"$ac_file" != x-; then
18721 configure_input="$ac_file. $configure_input"
18722 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18723 $as_echo "$as_me: creating $ac_file" >&6;}
18724 fi
18725 # Neutralize special characters interpreted by sed in replacement strings.
18726 case $configure_input in #(
18727 *\&* | *\|* | *\\* )
18728 ac_sed_conf_input=`$as_echo "$configure_input" |
18729 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18730 *) ac_sed_conf_input=$configure_input;;
18731 esac
18732
18733 case $ac_tag in
18734 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18735 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18736 esac
18737 ;;
18738 esac
18739
18740 ac_dir=`$as_dirname -- "$ac_file" ||
18741 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18742 X"$ac_file" : 'X\(//\)[^/]' \| \
18743 X"$ac_file" : 'X\(//\)$' \| \
18744 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18745 $as_echo X"$ac_file" |
18746 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18747 s//\1/
18748 q
18749 }
18750 /^X\(\/\/\)[^/].*/{
18751 s//\1/
18752 q
18753 }
18754 /^X\(\/\/\)$/{
18755 s//\1/
18756 q
18757 }
18758 /^X\(\/\).*/{
18759 s//\1/
18760 q
18761 }
18762 s/.*/./; q'`
18763 as_dir="$ac_dir"; as_fn_mkdir_p
18764 ac_builddir=.
18765
18766 case "$ac_dir" in
18767 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18768 *)
18769 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18770 # A ".." for each directory in $ac_dir_suffix.
18771 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18772 case $ac_top_builddir_sub in
18773 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18774 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18775 esac ;;
18776 esac
18777 ac_abs_top_builddir=$ac_pwd
18778 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18779 # for backward compatibility:
18780 ac_top_builddir=$ac_top_build_prefix
18781
18782 case $srcdir in
18783 .) # We are building in place.
18784 ac_srcdir=.
18785 ac_top_srcdir=$ac_top_builddir_sub
18786 ac_abs_top_srcdir=$ac_pwd ;;
18787 [\\/]* | ?:[\\/]* ) # Absolute name.
18788 ac_srcdir=$srcdir$ac_dir_suffix;
18789 ac_top_srcdir=$srcdir
18790 ac_abs_top_srcdir=$srcdir ;;
18791 *) # Relative name.
18792 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18793 ac_top_srcdir=$ac_top_build_prefix$srcdir
18794 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18795 esac
18796 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18797
18798
18799 case $ac_mode in
18800 :F)
18801 #
18802 # CONFIG_FILE
18803 #
18804
18805 case $INSTALL in
18806 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18807 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18808 esac
18809 ac_MKDIR_P=$MKDIR_P
18810 case $MKDIR_P in
18811 [\\/$]* | ?:[\\/]* ) ;;
18812 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18813 esac
18814 _ACEOF
18815
18816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18817 # If the template does not know about datarootdir, expand it.
18818 # FIXME: This hack should be removed a few years after 2.60.
18819 ac_datarootdir_hack=; ac_datarootdir_seen=
18820 ac_sed_dataroot='
18821 /datarootdir/ {
18822 p
18823 q
18824 }
18825 /@datadir@/p
18826 /@docdir@/p
18827 /@infodir@/p
18828 /@localedir@/p
18829 /@mandir@/p'
18830 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18831 *datarootdir*) ac_datarootdir_seen=yes;;
18832 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18834 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18835 _ACEOF
18836 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18837 ac_datarootdir_hack='
18838 s&@datadir@&$datadir&g
18839 s&@docdir@&$docdir&g
18840 s&@infodir@&$infodir&g
18841 s&@localedir@&$localedir&g
18842 s&@mandir@&$mandir&g
18843 s&\\\${datarootdir}&$datarootdir&g' ;;
18844 esac
18845 _ACEOF
18846
18847 # Neutralize VPATH when `$srcdir' = `.'.
18848 # Shell code in configure.ac might set extrasub.
18849 # FIXME: do we really want to maintain this feature?
18850 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18851 ac_sed_extra="$ac_vpsub
18852 $extrasub
18853 _ACEOF
18854 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18855 :t
18856 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18857 s|@configure_input@|$ac_sed_conf_input|;t t
18858 s&@top_builddir@&$ac_top_builddir_sub&;t t
18859 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18860 s&@srcdir@&$ac_srcdir&;t t
18861 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18862 s&@top_srcdir@&$ac_top_srcdir&;t t
18863 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18864 s&@builddir@&$ac_builddir&;t t
18865 s&@abs_builddir@&$ac_abs_builddir&;t t
18866 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18867 s&@INSTALL@&$ac_INSTALL&;t t
18868 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18869 $ac_datarootdir_hack
18870 "
18871 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18872 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18873
18874 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18875 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18876 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18877 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18879 which seems to be undefined. Please make sure it is defined" >&5
18880 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18881 which seems to be undefined. Please make sure it is defined" >&2;}
18882
18883 rm -f "$ac_tmp/stdin"
18884 case $ac_file in
18885 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18886 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18887 esac \
18888 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18889 ;;
18890 :H)
18891 #
18892 # CONFIG_HEADER
18893 #
18894 if test x"$ac_file" != x-; then
18895 {
18896 $as_echo "/* $configure_input */" \
18897 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18898 } >"$ac_tmp/config.h" \
18899 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18900 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18901 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18902 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18903 else
18904 rm -f "$ac_file"
18905 mv "$ac_tmp/config.h" "$ac_file" \
18906 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18907 fi
18908 else
18909 $as_echo "/* $configure_input */" \
18910 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18911 || as_fn_error $? "could not create -" "$LINENO" 5
18912 fi
18913 # Compute "$ac_file"'s index in $config_headers.
18914 _am_arg="$ac_file"
18915 _am_stamp_count=1
18916 for _am_header in $config_headers :; do
18917 case $_am_header in
18918 $_am_arg | $_am_arg:* )
18919 break ;;
18920 * )
18921 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18922 esac
18923 done
18924 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18925 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18926 X"$_am_arg" : 'X\(//\)[^/]' \| \
18927 X"$_am_arg" : 'X\(//\)$' \| \
18928 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18929 $as_echo X"$_am_arg" |
18930 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18931 s//\1/
18932 q
18933 }
18934 /^X\(\/\/\)[^/].*/{
18935 s//\1/
18936 q
18937 }
18938 /^X\(\/\/\)$/{
18939 s//\1/
18940 q
18941 }
18942 /^X\(\/\).*/{
18943 s//\1/
18944 q
18945 }
18946 s/.*/./; q'`/stamp-h$_am_stamp_count
18947 ;;
18948
18949 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18950 $as_echo "$as_me: executing $ac_file commands" >&6;}
18951 ;;
18952 esac
18953
18954
18955 case $ac_file$ac_mode in
18956 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18957 # Older Autoconf quotes --file arguments for eval, but not when files
18958 # are listed without --file. Let's play safe and only enable the eval
18959 # if we detect the quoting.
18960 case $CONFIG_FILES in
18961 *\'*) eval set x "$CONFIG_FILES" ;;
18962 *) set x $CONFIG_FILES ;;
18963 esac
18964 shift
18965 for mf
18966 do
18967 # Strip MF so we end up with the name of the file.
18968 mf=`echo "$mf" | sed -e 's/:.*$//'`
18969 # Check whether this is an Automake generated Makefile or not.
18970 # We used to match only the files named 'Makefile.in', but
18971 # some people rename them; so instead we look at the file content.
18972 # Grep'ing the first line is not enough: some people post-process
18973 # each Makefile.in and add a new line on top of each file to say so.
18974 # Grep'ing the whole file is not good either: AIX grep has a line
18975 # limit of 2048, but all sed's we know have understand at least 4000.
18976 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18977 dirpart=`$as_dirname -- "$mf" ||
18978 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18979 X"$mf" : 'X\(//\)[^/]' \| \
18980 X"$mf" : 'X\(//\)$' \| \
18981 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18982 $as_echo X"$mf" |
18983 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18984 s//\1/
18985 q
18986 }
18987 /^X\(\/\/\)[^/].*/{
18988 s//\1/
18989 q
18990 }
18991 /^X\(\/\/\)$/{
18992 s//\1/
18993 q
18994 }
18995 /^X\(\/\).*/{
18996 s//\1/
18997 q
18998 }
18999 s/.*/./; q'`
19000 else
19001 continue
19002 fi
19003 # Extract the definition of DEPDIR, am__include, and am__quote
19004 # from the Makefile without running 'make'.
19005 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
19006 test -z "$DEPDIR" && continue
19007 am__include=`sed -n 's/^am__include = //p' < "$mf"`
19008 test -z "$am__include" && continue
19009 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
19010 # Find all dependency output files, they are included files with
19011 # $(DEPDIR) in their names. We invoke sed twice because it is the
19012 # simplest approach to changing $(DEPDIR) to its actual value in the
19013 # expansion.
19014 for file in `sed -n "
19015 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19016 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
19017 # Make sure the directory exists.
19018 test -f "$dirpart/$file" && continue
19019 fdir=`$as_dirname -- "$file" ||
19020 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19021 X"$file" : 'X\(//\)[^/]' \| \
19022 X"$file" : 'X\(//\)$' \| \
19023 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19024 $as_echo X"$file" |
19025 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19026 s//\1/
19027 q
19028 }
19029 /^X\(\/\/\)[^/].*/{
19030 s//\1/
19031 q
19032 }
19033 /^X\(\/\/\)$/{
19034 s//\1/
19035 q
19036 }
19037 /^X\(\/\).*/{
19038 s//\1/
19039 q
19040 }
19041 s/.*/./; q'`
19042 as_dir=$dirpart/$fdir; as_fn_mkdir_p
19043 # echo "creating $dirpart/$file"
19044 echo '# dummy' > "$dirpart/$file"
19045 done
19046 done
19047 }
19048 ;;
19049 "libtool":C)
19050
19051 # See if we are running on zsh, and set the options that allow our
19052 # commands through without removal of \ escapes.
19053 if test -n "${ZSH_VERSION+set}"; then
19054 setopt NO_GLOB_SUBST
19055 fi
19056
19057 cfgfile=${ofile}T
19058 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19059 $RM "$cfgfile"
19060
19061 cat <<_LT_EOF >> "$cfgfile"
19062 #! $SHELL
19063 # Generated automatically by $as_me ($PACKAGE) $VERSION
19064 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19065
19066 # Provide generalized library-building support services.
19067 # Written by Gordon Matzigkeit, 1996
19068
19069 # Copyright (C) 2014 Free Software Foundation, Inc.
19070 # This is free software; see the source for copying conditions. There is NO
19071 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19072
19073 # GNU Libtool is free software; you can redistribute it and/or modify
19074 # it under the terms of the GNU General Public License as published by
19075 # the Free Software Foundation; either version 2 of of the License, or
19076 # (at your option) any later version.
19077 #
19078 # As a special exception to the GNU General Public License, if you
19079 # distribute this file as part of a program or library that is built
19080 # using GNU Libtool, you may include this file under the same
19081 # distribution terms that you use for the rest of that program.
19082 #
19083 # GNU Libtool is distributed in the hope that it will be useful, but
19084 # WITHOUT ANY WARRANTY; without even the implied warranty of
19085 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19086 # GNU General Public License for more details.
19087 #
19088 # You should have received a copy of the GNU General Public License
19089 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19090
19091
19092 # The names of the tagged configurations supported by this script.
19093 available_tags=''
19094
19095 # Configured defaults for sys_lib_dlsearch_path munging.
19096 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
19097
19098 # ### BEGIN LIBTOOL CONFIG
19099
19100 # Which release of libtool.m4 was used?
19101 macro_version=$macro_version
19102 macro_revision=$macro_revision
19103
19104 # Whether or not to build shared libraries.
19105 build_libtool_libs=$enable_shared
19106
19107 # Whether or not to build static libraries.
19108 build_old_libs=$enable_static
19109
19110 # What type of objects to build.
19111 pic_mode=$pic_mode
19112
19113 # Whether or not to optimize for fast installation.
19114 fast_install=$enable_fast_install
19115
19116 # Shared archive member basename,for filename based shared library versioning on AIX.
19117 shared_archive_member_spec=$shared_archive_member_spec
19118
19119 # Shell to use when invoking shell scripts.
19120 SHELL=$lt_SHELL
19121
19122 # An echo program that protects backslashes.
19123 ECHO=$lt_ECHO
19124
19125 # The PATH separator for the build system.
19126 PATH_SEPARATOR=$lt_PATH_SEPARATOR
19127
19128 # The host system.
19129 host_alias=$host_alias
19130 host=$host
19131 host_os=$host_os
19132
19133 # The build system.
19134 build_alias=$build_alias
19135 build=$build
19136 build_os=$build_os
19137
19138 # A sed program that does not truncate output.
19139 SED=$lt_SED
19140
19141 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19142 Xsed="\$SED -e 1s/^X//"
19143
19144 # A grep program that handles long lines.
19145 GREP=$lt_GREP
19146
19147 # An ERE matcher.
19148 EGREP=$lt_EGREP
19149
19150 # A literal string matcher.
19151 FGREP=$lt_FGREP
19152
19153 # A BSD- or MS-compatible name lister.
19154 NM=$lt_NM
19155
19156 # Whether we need soft or hard links.
19157 LN_S=$lt_LN_S
19158
19159 # What is the maximum length of a command?
19160 max_cmd_len=$max_cmd_len
19161
19162 # Object file suffix (normally "o").
19163 objext=$ac_objext
19164
19165 # Executable file suffix (normally "").
19166 exeext=$exeext
19167
19168 # whether the shell understands "unset".
19169 lt_unset=$lt_unset
19170
19171 # turn spaces into newlines.
19172 SP2NL=$lt_lt_SP2NL
19173
19174 # turn newlines into spaces.
19175 NL2SP=$lt_lt_NL2SP
19176
19177 # convert \$build file names to \$host format.
19178 to_host_file_cmd=$lt_cv_to_host_file_cmd
19179
19180 # convert \$build files to toolchain format.
19181 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19182
19183 # An object symbol dumper.
19184 OBJDUMP=$lt_OBJDUMP
19185
19186 # Method to check whether dependent libraries are shared objects.
19187 deplibs_check_method=$lt_deplibs_check_method
19188
19189 # Command to use when deplibs_check_method = "file_magic".
19190 file_magic_cmd=$lt_file_magic_cmd
19191
19192 # How to find potential files when deplibs_check_method = "file_magic".
19193 file_magic_glob=$lt_file_magic_glob
19194
19195 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19196 want_nocaseglob=$lt_want_nocaseglob
19197
19198 # DLL creation program.
19199 DLLTOOL=$lt_DLLTOOL
19200
19201 # Command to associate shared and link libraries.
19202 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19203
19204 # The archiver.
19205 AR=$lt_AR
19206
19207 # Flags to create an archive.
19208 AR_FLAGS=$lt_AR_FLAGS
19209
19210 # How to feed a file listing to the archiver.
19211 archiver_list_spec=$lt_archiver_list_spec
19212
19213 # A symbol stripping program.
19214 STRIP=$lt_STRIP
19215
19216 # Commands used to install an old-style archive.
19217 RANLIB=$lt_RANLIB
19218 old_postinstall_cmds=$lt_old_postinstall_cmds
19219 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19220
19221 # Whether to use a lock for old archive extraction.
19222 lock_old_archive_extraction=$lock_old_archive_extraction
19223
19224 # A C compiler.
19225 LTCC=$lt_CC
19226
19227 # LTCC compiler flags.
19228 LTCFLAGS=$lt_CFLAGS
19229
19230 # Take the output of nm and produce a listing of raw symbols and C names.
19231 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19232
19233 # Transform the output of nm in a proper C declaration.
19234 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19235
19236 # Transform the output of nm into a list of symbols to manually relocate.
19237 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
19238
19239 # Transform the output of nm in a C name address pair.
19240 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19241
19242 # Transform the output of nm in a C name address pair when lib prefix is needed.
19243 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19244
19245 # The name lister interface.
19246 nm_interface=$lt_lt_cv_nm_interface
19247
19248 # Specify filename containing input files for \$NM.
19249 nm_file_list_spec=$lt_nm_file_list_spec
19250
19251 # The root where to search for dependent libraries,and where our libraries should be installed.
19252 lt_sysroot=$lt_sysroot
19253
19254 # Command to truncate a binary pipe.
19255 lt_truncate_bin=$lt_lt_cv_truncate_bin
19256
19257 # The name of the directory that contains temporary libtool files.
19258 objdir=$objdir
19259
19260 # Used to examine libraries when file_magic_cmd begins with "file".
19261 MAGIC_CMD=$MAGIC_CMD
19262
19263 # Must we lock files when doing compilation?
19264 need_locks=$lt_need_locks
19265
19266 # Manifest tool.
19267 MANIFEST_TOOL=$lt_MANIFEST_TOOL
19268
19269 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19270 DSYMUTIL=$lt_DSYMUTIL
19271
19272 # Tool to change global to local symbols on Mac OS X.
19273 NMEDIT=$lt_NMEDIT
19274
19275 # Tool to manipulate fat objects and archives on Mac OS X.
19276 LIPO=$lt_LIPO
19277
19278 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19279 OTOOL=$lt_OTOOL
19280
19281 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19282 OTOOL64=$lt_OTOOL64
19283
19284 # Old archive suffix (normally "a").
19285 libext=$libext
19286
19287 # Shared library suffix (normally ".so").
19288 shrext_cmds=$lt_shrext_cmds
19289
19290 # The commands to extract the exported symbol list from a shared archive.
19291 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19292
19293 # Variables whose values should be saved in libtool wrapper scripts and
19294 # restored at link time.
19295 variables_saved_for_relink=$lt_variables_saved_for_relink
19296
19297 # Do we need the "lib" prefix for modules?
19298 need_lib_prefix=$need_lib_prefix
19299
19300 # Do we need a version for libraries?
19301 need_version=$need_version
19302
19303 # Library versioning type.
19304 version_type=$version_type
19305
19306 # Shared library runtime path variable.
19307 runpath_var=$runpath_var
19308
19309 # Shared library path variable.
19310 shlibpath_var=$shlibpath_var
19311
19312 # Is shlibpath searched before the hard-coded library search path?
19313 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19314
19315 # Format of library name prefix.
19316 libname_spec=$lt_libname_spec
19317
19318 # List of archive names. First name is the real one, the rest are links.
19319 # The last name is the one that the linker finds with -lNAME
19320 library_names_spec=$lt_library_names_spec
19321
19322 # The coded name of the library, if different from the real name.
19323 soname_spec=$lt_soname_spec
19324
19325 # Permission mode override for installation of shared libraries.
19326 install_override_mode=$lt_install_override_mode
19327
19328 # Command to use after installation of a shared archive.
19329 postinstall_cmds=$lt_postinstall_cmds
19330
19331 # Command to use after uninstallation of a shared archive.
19332 postuninstall_cmds=$lt_postuninstall_cmds
19333
19334 # Commands used to finish a libtool library installation in a directory.
19335 finish_cmds=$lt_finish_cmds
19336
19337 # As "finish_cmds", except a single script fragment to be evaled but
19338 # not shown.
19339 finish_eval=$lt_finish_eval
19340
19341 # Whether we should hardcode library paths into libraries.
19342 hardcode_into_libs=$hardcode_into_libs
19343
19344 # Compile-time system search path for libraries.
19345 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19346
19347 # Detected run-time system search path for libraries.
19348 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
19349
19350 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
19351 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
19352
19353 # Whether dlopen is supported.
19354 dlopen_support=$enable_dlopen
19355
19356 # Whether dlopen of programs is supported.
19357 dlopen_self=$enable_dlopen_self
19358
19359 # Whether dlopen of statically linked programs is supported.
19360 dlopen_self_static=$enable_dlopen_self_static
19361
19362 # Commands to strip libraries.
19363 old_striplib=$lt_old_striplib
19364 striplib=$lt_striplib
19365
19366
19367 # The linker used to build libraries.
19368 LD=$lt_LD
19369
19370 # How to create reloadable object files.
19371 reload_flag=$lt_reload_flag
19372 reload_cmds=$lt_reload_cmds
19373
19374 # Commands used to build an old-style archive.
19375 old_archive_cmds=$lt_old_archive_cmds
19376
19377 # A language specific compiler.
19378 CC=$lt_compiler
19379
19380 # Is the compiler the GNU compiler?
19381 with_gcc=$GCC
19382
19383 # Compiler flag to turn off builtin functions.
19384 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19385
19386 # Additional compiler flags for building library objects.
19387 pic_flag=$lt_lt_prog_compiler_pic
19388
19389 # How to pass a linker flag through the compiler.
19390 wl=$lt_lt_prog_compiler_wl
19391
19392 # Compiler flag to prevent dynamic linking.
19393 link_static_flag=$lt_lt_prog_compiler_static
19394
19395 # Does compiler simultaneously support -c and -o options?
19396 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19397
19398 # Whether or not to add -lc for building shared libraries.
19399 build_libtool_need_lc=$archive_cmds_need_lc
19400
19401 # Whether or not to disallow shared libs when runtime libs are static.
19402 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19403
19404 # Compiler flag to allow reflexive dlopens.
19405 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19406
19407 # Compiler flag to generate shared objects directly from archives.
19408 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19409
19410 # Whether the compiler copes with passing no objects directly.
19411 compiler_needs_object=$lt_compiler_needs_object
19412
19413 # Create an old-style archive from a shared archive.
19414 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19415
19416 # Create a temporary old-style archive to link instead of a shared archive.
19417 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19418
19419 # Commands used to build a shared archive.
19420 archive_cmds=$lt_archive_cmds
19421 archive_expsym_cmds=$lt_archive_expsym_cmds
19422
19423 # Commands used to build a loadable module if different from building
19424 # a shared archive.
19425 module_cmds=$lt_module_cmds
19426 module_expsym_cmds=$lt_module_expsym_cmds
19427
19428 # Whether we are building with GNU ld or not.
19429 with_gnu_ld=$lt_with_gnu_ld
19430
19431 # Flag that allows shared libraries with undefined symbols to be built.
19432 allow_undefined_flag=$lt_allow_undefined_flag
19433
19434 # Flag that enforces no undefined symbols.
19435 no_undefined_flag=$lt_no_undefined_flag
19436
19437 # Flag to hardcode \$libdir into a binary during linking.
19438 # This must work even if \$libdir does not exist
19439 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19440
19441 # Whether we need a single "-rpath" flag with a separated argument.
19442 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19443
19444 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19445 # DIR into the resulting binary.
19446 hardcode_direct=$hardcode_direct
19447
19448 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19449 # DIR into the resulting binary and the resulting library dependency is
19450 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
19451 # library is relocated.
19452 hardcode_direct_absolute=$hardcode_direct_absolute
19453
19454 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19455 # into the resulting binary.
19456 hardcode_minus_L=$hardcode_minus_L
19457
19458 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19459 # into the resulting binary.
19460 hardcode_shlibpath_var=$hardcode_shlibpath_var
19461
19462 # Set to "yes" if building a shared library automatically hardcodes DIR
19463 # into the library and all subsequent libraries and executables linked
19464 # against it.
19465 hardcode_automatic=$hardcode_automatic
19466
19467 # Set to yes if linker adds runtime paths of dependent libraries
19468 # to runtime path list.
19469 inherit_rpath=$inherit_rpath
19470
19471 # Whether libtool must link a program against all its dependency libraries.
19472 link_all_deplibs=$link_all_deplibs
19473
19474 # Set to "yes" if exported symbols are required.
19475 always_export_symbols=$always_export_symbols
19476
19477 # The commands to list exported symbols.
19478 export_symbols_cmds=$lt_export_symbols_cmds
19479
19480 # Symbols that should not be listed in the preloaded symbols.
19481 exclude_expsyms=$lt_exclude_expsyms
19482
19483 # Symbols that must always be exported.
19484 include_expsyms=$lt_include_expsyms
19485
19486 # Commands necessary for linking programs (against libraries) with templates.
19487 prelink_cmds=$lt_prelink_cmds
19488
19489 # Commands necessary for finishing linking programs.
19490 postlink_cmds=$lt_postlink_cmds
19491
19492 # Specify filename containing input files.
19493 file_list_spec=$lt_file_list_spec
19494
19495 # How to hardcode a shared library path into an executable.
19496 hardcode_action=$hardcode_action
19497
19498 # ### END LIBTOOL CONFIG
19499
19500 _LT_EOF
19501
19502 cat <<'_LT_EOF' >> "$cfgfile"
19503
19504 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
19505
19506 # func_munge_path_list VARIABLE PATH
19507 # -----------------------------------
19508 # VARIABLE is name of variable containing _space_ separated list of
19509 # directories to be munged by the contents of PATH, which is string
19510 # having a format:
19511 # "DIR[:DIR]:"
19512 # string "DIR[ DIR]" will be prepended to VARIABLE
19513 # ":DIR[:DIR]"
19514 # string "DIR[ DIR]" will be appended to VARIABLE
19515 # "DIRP[:DIRP]::[DIRA:]DIRA"
19516 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
19517 # "DIRA[ DIRA]" will be appended to VARIABLE
19518 # "DIR[:DIR]"
19519 # VARIABLE will be replaced by "DIR[ DIR]"
19520 func_munge_path_list ()
19521 {
19522 case x$2 in
19523 x)
19524 ;;
19525 *:)
19526 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
19527 ;;
19528 x:*)
19529 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
19530 ;;
19531 *::*)
19532 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
19533 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
19534 ;;
19535 *)
19536 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
19537 ;;
19538 esac
19539 }
19540
19541
19542 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
19543 func_cc_basename ()
19544 {
19545 for cc_temp in $*""; do
19546 case $cc_temp in
19547 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19548 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19549 \-*) ;;
19550 *) break;;
19551 esac
19552 done
19553 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19554 }
19555
19556
19557 # ### END FUNCTIONS SHARED WITH CONFIGURE
19558
19559 _LT_EOF
19560
19561 case $host_os in
19562 aix3*)
19563 cat <<\_LT_EOF >> "$cfgfile"
19564 # AIX sometimes has problems with the GCC collect2 program. For some
19565 # reason, if we set the COLLECT_NAMES environment variable, the problems
19566 # vanish in a puff of smoke.
19567 if test set != "${COLLECT_NAMES+set}"; then
19568 COLLECT_NAMES=
19569 export COLLECT_NAMES
19570 fi
19571 _LT_EOF
19572 ;;
19573 esac
19574
19575
19576 ltmain=$ac_aux_dir/ltmain.sh
19577
19578
19579 # We use sed instead of cat because bash on DJGPP gets confused if
19580 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19581 # text mode, it properly converts lines to CR/LF. This bash problem
19582 # is reportedly fixed, but why not run on old versions too?
19583 sed '$q' "$ltmain" >> "$cfgfile" \
19584 || (rm -f "$cfgfile"; exit 1)
19585
19586 mv -f "$cfgfile" "$ofile" ||
19587 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19588 chmod +x "$ofile"
19589
19590 ;;
19591 "po-directories":C)
19592 for ac_file in $CONFIG_FILES; do
19593 # Support "outfile[:infile[:infile...]]"
19594 case "$ac_file" in
19595 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
19596 esac
19597 # PO directories have a Makefile.in generated from Makefile.in.in.
19598 case "$ac_file" in */Makefile.in)
19599 # Adjust a relative srcdir.
19600 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
19601 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
19602 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
19603 # In autoconf-2.13 it is called $ac_given_srcdir.
19604 # In autoconf-2.50 it is called $srcdir.
19605 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
19606 case "$ac_given_srcdir" in
19607 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
19608 /*) top_srcdir="$ac_given_srcdir" ;;
19609 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
19610 esac
19611 # Treat a directory as a PO directory if and only if it has a
19612 # POTFILES.in file. This allows packages to have multiple PO
19613 # directories under different names or in different locations.
19614 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
19615 rm -f "$ac_dir/POTFILES"
19616 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
19617 gt_tab=`printf '\t'`
19618 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
19619 POMAKEFILEDEPS="POTFILES.in"
19620 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
19621 # on $ac_dir but don't depend on user-specified configuration
19622 # parameters.
19623 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
19624 # The LINGUAS file contains the set of available languages.
19625 if test -n "$OBSOLETE_ALL_LINGUAS"; then
19626 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
19627 fi
19628 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
19629 # Hide the ALL_LINGUAS assignment from automake < 1.5.
19630 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
19631 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
19632 else
19633 # The set of available languages was given in configure.in.
19634 # Hide the ALL_LINGUAS assignment from automake < 1.5.
19635 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
19636 fi
19637 # Compute POFILES
19638 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
19639 # Compute UPDATEPOFILES
19640 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
19641 # Compute DUMMYPOFILES
19642 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
19643 # Compute GMOFILES
19644 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
19645 case "$ac_given_srcdir" in
19646 .) srcdirpre= ;;
19647 *) srcdirpre='$(srcdir)/' ;;
19648 esac
19649 POFILES=
19650 UPDATEPOFILES=
19651 DUMMYPOFILES=
19652 GMOFILES=
19653 for lang in $ALL_LINGUAS; do
19654 POFILES="$POFILES $srcdirpre$lang.po"
19655 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
19656 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
19657 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
19658 done
19659 # CATALOGS depends on both $ac_dir and the user's LINGUAS
19660 # environment variable.
19661 INST_LINGUAS=
19662 if test -n "$ALL_LINGUAS"; then
19663 for presentlang in $ALL_LINGUAS; do
19664 useit=no
19665 if test "%UNSET%" != "$LINGUAS"; then
19666 desiredlanguages="$LINGUAS"
19667 else
19668 desiredlanguages="$ALL_LINGUAS"
19669 fi
19670 for desiredlang in $desiredlanguages; do
19671 # Use the presentlang catalog if desiredlang is
19672 # a. equal to presentlang, or
19673 # b. a variant of presentlang (because in this case,
19674 # presentlang can be used as a fallback for messages
19675 # which are not translated in the desiredlang catalog).
19676 case "$desiredlang" in
19677 "$presentlang"*) useit=yes;;
19678 esac
19679 done
19680 if test $useit = yes; then
19681 INST_LINGUAS="$INST_LINGUAS $presentlang"
19682 fi
19683 done
19684 fi
19685 CATALOGS=
19686 if test -n "$INST_LINGUAS"; then
19687 for lang in $INST_LINGUAS; do
19688 CATALOGS="$CATALOGS $lang.gmo"
19689 done
19690 fi
19691 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
19692 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
19693 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
19694 if test -f "$f"; then
19695 case "$f" in
19696 *.orig | *.bak | *~) ;;
19697 *) cat "$f" >> "$ac_dir/Makefile" ;;
19698 esac
19699 fi
19700 done
19701 fi
19702 ;;
19703 esac
19704 done ;;
19705 "po/stamp-it":C)
19706 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
19707 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
19708 fi
19709 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
19710 >"po/stamp-it.tmp"
19711 sed '/^#/d
19712 s/^[[].*] *//
19713 /^[ ]*$/d
19714 '"s|^| $ac_top_srcdir/|" \
19715 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
19716
19717 sed '/^POTFILES =/,/[^\\]$/ {
19718 /^POTFILES =/!d
19719 r po/POTFILES
19720 }
19721 ' "po/Makefile.in" >"po/Makefile"
19722 rm -f "po/Makefile.tmp"
19723 mv "po/stamp-it.tmp" "po/stamp-it"
19724 ;;
19725
19726 esac
19727 done # for ac_tag
19728
19729
19730 as_fn_exit 0
19731 _ACEOF
19732 ac_clean_files=$ac_clean_files_save
19733
19734 test $ac_write_fail = 0 ||
19735 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19736
19737
19738 # configure is writing to config.log, and then calls config.status.
19739 # config.status does its own redirection, appending to config.log.
19740 # Unfortunately, on DOS this fails, as config.log is still kept open
19741 # by configure, so config.status won't be able to write to it; its
19742 # output is simply discarded. So we exec the FD to /dev/null,
19743 # effectively closing config.log, so it can be properly (re)opened and
19744 # appended to by config.status. When coming back to configure, we
19745 # need to make the FD available again.
19746 if test "$no_create" != yes; then
19747 ac_cs_success=:
19748 ac_config_status_args=
19749 test "$silent" = yes &&
19750 ac_config_status_args="$ac_config_status_args --quiet"
19751 exec 5>/dev/null
19752 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19753 exec 5>>config.log
19754 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19755 # would make configure fail if this is the last instruction.
19756 $ac_cs_success || as_fn_exit 1
19757 fi
19758 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19760 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19761 fi
19762