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 myproxy 6.2.20.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 #
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
78 }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
88
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
95 do
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
101
102 ;;
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
112 fi
113
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
125
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
131
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
157 fi
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
173 ;;
174 esac
175 fi
176 "
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
182
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190 else
191 exitcode=1; echo positional parameters were not saved.
192 fi
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199
200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 PATH=/empty FPATH=/empty; export PATH FPATH
205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207 test \$(( 1 + 1 )) = 2 || exit 1"
208 if (eval "$as_required") 2>/dev/null; then :
209 as_have_required=yes
210 else
211 as_have_required=no
212 fi
213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214
215 else
216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217 as_found=false
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219 do
220 IFS=$as_save_IFS
221 test -z "$as_dir" && as_dir=.
222 as_found=:
223 case $as_dir in #(
224 /*)
225 for as_base in sh bash ksh sh5; do
226 # Try only shells that exist, to save several forks.
227 as_shell=$as_dir/$as_base
228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230 CONFIG_SHELL=$as_shell as_have_required=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 break 2
233 fi
234 fi
235 done;;
236 esac
237 as_found=false
238 done
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241 CONFIG_SHELL=$SHELL as_have_required=yes
242 fi; }
243 IFS=$as_save_IFS
244
245
246 if test "x$CONFIG_SHELL" != x; then :
247 export CONFIG_SHELL
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
252 BASH_ENV=/dev/null
253 ENV=/dev/null
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255 case $- in # ((((
256 *v*x* | *x*v* ) as_opts=-vx ;;
257 *v* ) as_opts=-v ;;
258 *x* ) as_opts=-x ;;
259 * ) as_opts= ;;
260 esac
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 exit 255
266 fi
267
268 if test x$as_have_required = xno; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x${ZSH_VERSION+set} = xset ; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274 else
275 $as_echo "$0: Please tell [email protected] about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
279 fi
280 exit 1
281 fi
282 fi
283 fi
284 SHELL=${CONFIG_SHELL-/bin/sh}
285 export SHELL
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
289
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
293 # as_fn_unset VAR
294 # ---------------
295 # Portably unset VAR.
296 as_fn_unset ()
297 {
298 { eval $1=; unset $1;}
299 }
300 as_unset=as_fn_unset
301
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
305 as_fn_set_status ()
306 {
307 return $1
308 } # as_fn_set_status
309
310 # as_fn_exit STATUS
311 # -----------------
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 as_fn_exit ()
314 {
315 set +e
316 as_fn_set_status $1
317 exit $1
318 } # as_fn_exit
319
320 # as_fn_mkdir_p
321 # -------------
322 # Create "$as_dir" as a directory, including parents if necessary.
323 as_fn_mkdir_p ()
324 {
325
326 case $as_dir in #(
327 -*) as_dir=./$as_dir;;
328 esac
329 test -d "$as_dir" || eval $as_mkdir_p || {
330 as_dirs=
331 while :; do
332 case $as_dir in #(
333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334 *) as_qdir=$as_dir;;
335 esac
336 as_dirs="'$as_qdir' $as_dirs"
337 as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344 s//\1/
345 q
346 }
347 /^X\(\/\/\)[^/].*/{
348 s//\1/
349 q
350 }
351 /^X\(\/\/\)$/{
352 s//\1/
353 q
354 }
355 /^X\(\/\).*/{
356 s//\1/
357 q
358 }
359 s/.*/./; q'`
360 test -d "$as_dir" && break
361 done
362 test -z "$as_dirs" || eval "mkdir $as_dirs"
363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364
365
366 } # as_fn_mkdir_p
367
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
372 {
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
380 # implementations.
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382 eval 'as_fn_append ()
383 {
384 eval $1+=\$2
385 }'
386 else
387 as_fn_append ()
388 {
389 eval $1=\$$1\$2
390 }
391 fi # as_fn_append
392
393 # as_fn_arith ARG...
394 # ------------------
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399 eval 'as_fn_arith ()
400 {
401 as_val=$(( $* ))
402 }'
403 else
404 as_fn_arith ()
405 {
406 as_val=`expr "$@" || test $? -eq 1`
407 }
408 fi # as_fn_arith
409
410
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
416 as_fn_error ()
417 {
418 as_status=$1; test $as_status -eq 0 && as_status=1
419 if test "$4"; then
420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
422 fi
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit $as_status
425 } # as_fn_error
426
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 as_expr=expr
430 else
431 as_expr=false
432 fi
433
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 as_basename=basename
436 else
437 as_basename=false
438 fi
439
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_dirname=dirname
442 else
443 as_dirname=false
444 fi
445
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450 $as_echo X/"$0" |
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
452 s//\1/
453 q
454 }
455 /^X\/\(\/\/\)$/{
456 s//\1/
457 q
458 }
459 /^X\/\(\/\).*/{
460 s//\1/
461 q
462 }
463 s/.*/./; q'`
464
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
471
472
473 as_lineno_1=$LINENO as_lineno_1a=$LINENO
474 as_lineno_2=$LINENO as_lineno_2a=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
478 sed -n '
479 p
480 /[$]LINENO/=
481 ' <$as_myself |
482 sed '
483 s/[$]LINENO.*/&-/
484 t lineno
485 b
486 :lineno
487 N
488 :loop
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490 t loop
491 s/-\n.*//
492 ' >$as_me.lineno &&
493 chmod +x "$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
495
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec=no; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
503 . "./$as_me.lineno"
504 # Exit status is that of the last command.
505 exit
506 }
507
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
510 -n*)
511 case `echo 'xy\c'` in
512 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
513 xy) ECHO_C='\c';;
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
515 ECHO_T=' ';;
516 esac;;
517 *)
518 ECHO_N='-n';;
519 esac
520
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523 rm -f conf$$.dir/conf$$.file
524 else
525 rm -f conf$$.dir
526 mkdir conf$$.dir 2>/dev/null
527 fi
528 if (echo >conf$$.file) 2>/dev/null; then
529 if ln -s conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s='ln -s'
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536 as_ln_s='cp -pR'
537 elif ln conf$$.file conf$$ 2>/dev/null; then
538 as_ln_s=ln
539 else
540 as_ln_s='cp -pR'
541 fi
542 else
543 as_ln_s='cp -pR'
544 fi
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
547
548 if mkdir -p . 2>/dev/null; then
549 as_mkdir_p='mkdir -p "$as_dir"'
550 else
551 test -d ./-p && rmdir ./-p
552 as_mkdir_p=false
553 fi
554
555 as_test_x='test -x'
556 as_executable_p=as_fn_executable_p
557
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563
564 SHELL=${CONFIG_SHELL-/bin/sh}
565
566
567 test -n "$DJDIR" || exec 7<&0 </dev/null
568 exec 6>&1
569
570 # Name of the host.
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574
575 #
576 # Initializations.
577 #
578 ac_default_prefix=/usr/local
579 ac_clean_files=
580 ac_config_libobj_dir=.
581 LIBOBJS=
582 cross_compiling=no
583 subdirs=
584 MFLAGS=
585 MAKEFLAGS=
586
587 # Identity of this package.
588 PACKAGE_NAME='myproxy'
589 PACKAGE_TARNAME='myproxy'
590 PACKAGE_VERSION='6.2.20'
591 PACKAGE_STRING='myproxy 6.2.20'
592 PACKAGE_BUGREPORT=''
593 PACKAGE_URL=''
594
595 # Factoring default headers for most tests.
596 ac_includes_default="\
597 #include <stdio.h>
598 #ifdef HAVE_SYS_TYPES_H
599 # include <sys/types.h>
600 #endif
601 #ifdef HAVE_SYS_STAT_H
602 # include <sys/stat.h>
603 #endif
604 #ifdef STDC_HEADERS
605 # include <stdlib.h>
606 # include <stddef.h>
607 #else
608 # ifdef HAVE_STDLIB_H
609 # include <stdlib.h>
610 # endif
611 #endif
612 #ifdef HAVE_STRING_H
613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
614 # include <memory.h>
615 # endif
616 # include <string.h>
617 #endif
618 #ifdef HAVE_STRINGS_H
619 # include <strings.h>
620 #endif
621 #ifdef HAVE_INTTYPES_H
622 # include <inttypes.h>
623 #endif
624 #ifdef HAVE_STDINT_H
625 # include <stdint.h>
626 #endif
627 #ifdef HAVE_UNISTD_H
628 # include <unistd.h>
629 #endif"
630
631 ac_subst_vars='am__EXEEXT_FALSE
632 am__EXEEXT_TRUE
633 LTLIBOBJS
634 LIBOBJS
635 HAVE_VOMS_FALSE
636 HAVE_VOMS_TRUE
637 VOMS_LIBS
638 KRB5CPPFLAGS
639 ENABLE_TESTS_FALSE
640 ENABLE_TESTS_TRUE
641 OPENSSL
642 OPENSSL_LIBS
643 OPENSSL_CFLAGS
644 GLOBUS_LIBS
645 GLOBUS_CFLAGS
646 SYSLIBS
647 GSI_CERT_UTILS_PATH
648 GSI_PROXY_UTILS_PATH
649 PKG_CONFIG_LIBDIR
650 PKG_CONFIG_PATH
651 PKG_CONFIG
652 MYPROXY_DATE
653 PACKAGE_DEPS
654 AGE_VERSION
655 MICRO_VERSION
656 MINOR_VERSION
657 MAJOR_VERSION
658 CPP
659 LT_SYS_LIBRARY_PATH
660 OTOOL64
661 OTOOL
662 LIPO
663 NMEDIT
664 DSYMUTIL
665 MANIFEST_TOOL
666 RANLIB
667 ac_ct_AR
668 AR
669 LN_S
670 NM
671 ac_ct_DUMPBIN
672 DUMPBIN
673 LD
674 FGREP
675 EGREP
676 GREP
677 SED
678 am__fastdepCC_FALSE
679 am__fastdepCC_TRUE
680 CCDEPMODE
681 am__nodep
682 AMDEPBACKSLASH
683 AMDEP_FALSE
684 AMDEP_TRUE
685 am__include
686 DEPDIR
687 OBJEXT
688 EXEEXT
689 ac_ct_CC
690 CPPFLAGS
691 LDFLAGS
692 CFLAGS
693 CC
694 host_os
695 host_vendor
696 host_cpu
697 host
698 build_os
699 build_vendor
700 build_cpu
701 build
702 LIBTOOL
703 OBJDUMP
704 DLLTOOL
705 AS
706 AM_BACKSLASH
707 AM_DEFAULT_VERBOSITY
708 AM_DEFAULT_V
709 AM_V
710 am__untar
711 am__tar
712 AMTAR
713 am__leading_dot
714 SET_MAKE
715 AWK
716 mkdir_p
717 MKDIR_P
718 INSTALL_STRIP_PROGRAM
719 STRIP
720 install_sh
721 MAKEINFO
722 AUTOHEADER
723 AUTOMAKE
724 AUTOCONF
725 ACLOCAL
726 VERSION
727 PACKAGE
728 CYGPATH_W
729 am__isrc
730 INSTALL_DATA
731 INSTALL_SCRIPT
732 INSTALL_PROGRAM
733 target_alias
734 host_alias
735 build_alias
736 LIBS
737 ECHO_T
738 ECHO_N
739 ECHO_C
740 DEFS
741 mandir
742 localedir
743 libdir
744 psdir
745 pdfdir
746 dvidir
747 htmldir
748 infodir
749 docdir
750 oldincludedir
751 includedir
752 localstatedir
753 sharedstatedir
754 sysconfdir
755 datadir
756 datarootdir
757 libexecdir
758 sbindir
759 bindir
760 program_transform_name
761 prefix
762 exec_prefix
763 PACKAGE_URL
764 PACKAGE_BUGREPORT
765 PACKAGE_STRING
766 PACKAGE_VERSION
767 PACKAGE_TARNAME
768 PACKAGE_NAME
769 PATH_SEPARATOR
770 SHELL
771 am__quote'
772 ac_subst_files=''
773 ac_user_opts='
774 enable_option_checking
775 enable_silent_rules
776 enable_shared
777 enable_static
778 with_pic
779 enable_fast_install
780 with_aix_soname
781 enable_dependency_tracking
782 with_gnu_ld
783 with_sysroot
784 enable_libtool_lock
785 with_sasl2
786 with_kerberos5
787 with_openldap
788 with_voms
789 '
790 ac_precious_vars='build_alias
791 host_alias
792 target_alias
793 CC
794 CFLAGS
795 LDFLAGS
796 LIBS
797 CPPFLAGS
798 LT_SYS_LIBRARY_PATH
799 CPP
800 PKG_CONFIG
801 PKG_CONFIG_PATH
802 PKG_CONFIG_LIBDIR
803 GLOBUS_CFLAGS
804 GLOBUS_LIBS
805 OPENSSL_CFLAGS
806 OPENSSL_LIBS'
807
808
809 # Initialize some variables set by options.
810 ac_init_help=
811 ac_init_version=false
812 ac_unrecognized_opts=
813 ac_unrecognized_sep=
814 # The variables have the same names as the options, with
815 # dashes changed to underlines.
816 cache_file=/dev/null
817 exec_prefix=NONE
818 no_create=
819 no_recursion=
820 prefix=NONE
821 program_prefix=NONE
822 program_suffix=NONE
823 program_transform_name=s,x,x,
824 silent=
825 site=
826 srcdir=
827 verbose=
828 x_includes=NONE
829 x_libraries=NONE
830
831 # Installation directory options.
832 # These are left unexpanded so users can "make install exec_prefix=/foo"
833 # and all the variables that are supposed to be based on exec_prefix
834 # by default will actually change.
835 # Use braces instead of parens because sh, perl, etc. also accept them.
836 # (The list follows the same order as the GNU Coding Standards.)
837 bindir='${exec_prefix}/bin'
838 sbindir='${exec_prefix}/sbin'
839 libexecdir='${exec_prefix}/libexec'
840 datarootdir='${prefix}/share'
841 datadir='${datarootdir}'
842 sysconfdir='${prefix}/etc'
843 sharedstatedir='${prefix}/com'
844 localstatedir='${prefix}/var'
845 includedir='${prefix}/include'
846 oldincludedir='/usr/include'
847 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
848 infodir='${datarootdir}/info'
849 htmldir='${docdir}'
850 dvidir='${docdir}'
851 pdfdir='${docdir}'
852 psdir='${docdir}'
853 libdir='${exec_prefix}/lib'
854 localedir='${datarootdir}/locale'
855 mandir='${datarootdir}/man'
856
857 ac_prev=
858 ac_dashdash=
859 for ac_option
860 do
861 # If the previous option needs an argument, assign it.
862 if test -n "$ac_prev"; then
863 eval $ac_prev=\$ac_option
864 ac_prev=
865 continue
866 fi
867
868 case $ac_option in
869 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
870 *=) ac_optarg= ;;
871 *) ac_optarg=yes ;;
872 esac
873
874 # Accept the important Cygnus configure options, so we can diagnose typos.
875
876 case $ac_dashdash$ac_option in
877 --)
878 ac_dashdash=yes ;;
879
880 -bindir | --bindir | --bindi | --bind | --bin | --bi)
881 ac_prev=bindir ;;
882 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
883 bindir=$ac_optarg ;;
884
885 -build | --build | --buil | --bui | --bu)
886 ac_prev=build_alias ;;
887 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
888 build_alias=$ac_optarg ;;
889
890 -cache-file | --cache-file | --cache-fil | --cache-fi \
891 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
892 ac_prev=cache_file ;;
893 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
894 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
895 cache_file=$ac_optarg ;;
896
897 --config-cache | -C)
898 cache_file=config.cache ;;
899
900 -datadir | --datadir | --datadi | --datad)
901 ac_prev=datadir ;;
902 -datadir=* | --datadir=* | --datadi=* | --datad=*)
903 datadir=$ac_optarg ;;
904
905 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
906 | --dataroo | --dataro | --datar)
907 ac_prev=datarootdir ;;
908 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
909 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
910 datarootdir=$ac_optarg ;;
911
912 -disable-* | --disable-*)
913 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
914 # Reject names that are not valid shell variable names.
915 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
916 as_fn_error $? "invalid feature name: $ac_useropt"
917 ac_useropt_orig=$ac_useropt
918 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
919 case $ac_user_opts in
920 *"
921 "enable_$ac_useropt"
922 "*) ;;
923 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
924 ac_unrecognized_sep=', ';;
925 esac
926 eval enable_$ac_useropt=no ;;
927
928 -docdir | --docdir | --docdi | --doc | --do)
929 ac_prev=docdir ;;
930 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
931 docdir=$ac_optarg ;;
932
933 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
934 ac_prev=dvidir ;;
935 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
936 dvidir=$ac_optarg ;;
937
938 -enable-* | --enable-*)
939 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
940 # Reject names that are not valid shell variable names.
941 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
942 as_fn_error $? "invalid feature name: $ac_useropt"
943 ac_useropt_orig=$ac_useropt
944 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
945 case $ac_user_opts in
946 *"
947 "enable_$ac_useropt"
948 "*) ;;
949 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
950 ac_unrecognized_sep=', ';;
951 esac
952 eval enable_$ac_useropt=\$ac_optarg ;;
953
954 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
955 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
956 | --exec | --exe | --ex)
957 ac_prev=exec_prefix ;;
958 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
959 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
960 | --exec=* | --exe=* | --ex=*)
961 exec_prefix=$ac_optarg ;;
962
963 -gas | --gas | --ga | --g)
964 # Obsolete; use --with-gas.
965 with_gas=yes ;;
966
967 -help | --help | --hel | --he | -h)
968 ac_init_help=long ;;
969 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
970 ac_init_help=recursive ;;
971 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
972 ac_init_help=short ;;
973
974 -host | --host | --hos | --ho)
975 ac_prev=host_alias ;;
976 -host=* | --host=* | --hos=* | --ho=*)
977 host_alias=$ac_optarg ;;
978
979 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
980 ac_prev=htmldir ;;
981 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
982 | --ht=*)
983 htmldir=$ac_optarg ;;
984
985 -includedir | --includedir | --includedi | --included | --include \
986 | --includ | --inclu | --incl | --inc)
987 ac_prev=includedir ;;
988 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
989 | --includ=* | --inclu=* | --incl=* | --inc=*)
990 includedir=$ac_optarg ;;
991
992 -infodir | --infodir | --infodi | --infod | --info | --inf)
993 ac_prev=infodir ;;
994 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
995 infodir=$ac_optarg ;;
996
997 -libdir | --libdir | --libdi | --libd)
998 ac_prev=libdir ;;
999 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1000 libdir=$ac_optarg ;;
1001
1002 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1003 | --libexe | --libex | --libe)
1004 ac_prev=libexecdir ;;
1005 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1006 | --libexe=* | --libex=* | --libe=*)
1007 libexecdir=$ac_optarg ;;
1008
1009 -localedir | --localedir | --localedi | --localed | --locale)
1010 ac_prev=localedir ;;
1011 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1012 localedir=$ac_optarg ;;
1013
1014 -localstatedir | --localstatedir | --localstatedi | --localstated \
1015 | --localstate | --localstat | --localsta | --localst | --locals)
1016 ac_prev=localstatedir ;;
1017 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1018 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1019 localstatedir=$ac_optarg ;;
1020
1021 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1022 ac_prev=mandir ;;
1023 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1024 mandir=$ac_optarg ;;
1025
1026 -nfp | --nfp | --nf)
1027 # Obsolete; use --without-fp.
1028 with_fp=no ;;
1029
1030 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1031 | --no-cr | --no-c | -n)
1032 no_create=yes ;;
1033
1034 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1035 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1036 no_recursion=yes ;;
1037
1038 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1039 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1040 | --oldin | --oldi | --old | --ol | --o)
1041 ac_prev=oldincludedir ;;
1042 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1043 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1044 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1045 oldincludedir=$ac_optarg ;;
1046
1047 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1048 ac_prev=prefix ;;
1049 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1050 prefix=$ac_optarg ;;
1051
1052 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1053 | --program-pre | --program-pr | --program-p)
1054 ac_prev=program_prefix ;;
1055 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1056 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1057 program_prefix=$ac_optarg ;;
1058
1059 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1060 | --program-suf | --program-su | --program-s)
1061 ac_prev=program_suffix ;;
1062 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1063 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1064 program_suffix=$ac_optarg ;;
1065
1066 -program-transform-name | --program-transform-name \
1067 | --program-transform-nam | --program-transform-na \
1068 | --program-transform-n | --program-transform- \
1069 | --program-transform | --program-transfor \
1070 | --program-transfo | --program-transf \
1071 | --program-trans | --program-tran \
1072 | --progr-tra | --program-tr | --program-t)
1073 ac_prev=program_transform_name ;;
1074 -program-transform-name=* | --program-transform-name=* \
1075 | --program-transform-nam=* | --program-transform-na=* \
1076 | --program-transform-n=* | --program-transform-=* \
1077 | --program-transform=* | --program-transfor=* \
1078 | --program-transfo=* | --program-transf=* \
1079 | --program-trans=* | --program-tran=* \
1080 | --progr-tra=* | --program-tr=* | --program-t=*)
1081 program_transform_name=$ac_optarg ;;
1082
1083 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1084 ac_prev=pdfdir ;;
1085 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1086 pdfdir=$ac_optarg ;;
1087
1088 -psdir | --psdir | --psdi | --psd | --ps)
1089 ac_prev=psdir ;;
1090 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1091 psdir=$ac_optarg ;;
1092
1093 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1094 | -silent | --silent | --silen | --sile | --sil)
1095 silent=yes ;;
1096
1097 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1098 ac_prev=sbindir ;;
1099 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1100 | --sbi=* | --sb=*)
1101 sbindir=$ac_optarg ;;
1102
1103 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1104 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1105 | --sharedst | --shareds | --shared | --share | --shar \
1106 | --sha | --sh)
1107 ac_prev=sharedstatedir ;;
1108 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1109 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1110 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1111 | --sha=* | --sh=*)
1112 sharedstatedir=$ac_optarg ;;
1113
1114 -site | --site | --sit)
1115 ac_prev=site ;;
1116 -site=* | --site=* | --sit=*)
1117 site=$ac_optarg ;;
1118
1119 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1120 ac_prev=srcdir ;;
1121 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1122 srcdir=$ac_optarg ;;
1123
1124 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1125 | --syscon | --sysco | --sysc | --sys | --sy)
1126 ac_prev=sysconfdir ;;
1127 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1128 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1129 sysconfdir=$ac_optarg ;;
1130
1131 -target | --target | --targe | --targ | --tar | --ta | --t)
1132 ac_prev=target_alias ;;
1133 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1134 target_alias=$ac_optarg ;;
1135
1136 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1137 verbose=yes ;;
1138
1139 -version | --version | --versio | --versi | --vers | -V)
1140 ac_init_version=: ;;
1141
1142 -with-* | --with-*)
1143 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1144 # Reject names that are not valid shell variable names.
1145 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1146 as_fn_error $? "invalid package name: $ac_useropt"
1147 ac_useropt_orig=$ac_useropt
1148 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1149 case $ac_user_opts in
1150 *"
1151 "with_$ac_useropt"
1152 "*) ;;
1153 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1154 ac_unrecognized_sep=', ';;
1155 esac
1156 eval with_$ac_useropt=\$ac_optarg ;;
1157
1158 -without-* | --without-*)
1159 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1160 # Reject names that are not valid shell variable names.
1161 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1162 as_fn_error $? "invalid package name: $ac_useropt"
1163 ac_useropt_orig=$ac_useropt
1164 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1165 case $ac_user_opts in
1166 *"
1167 "with_$ac_useropt"
1168 "*) ;;
1169 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1170 ac_unrecognized_sep=', ';;
1171 esac
1172 eval with_$ac_useropt=no ;;
1173
1174 --x)
1175 # Obsolete; use --with-x.
1176 with_x=yes ;;
1177
1178 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1179 | --x-incl | --x-inc | --x-in | --x-i)
1180 ac_prev=x_includes ;;
1181 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1182 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1183 x_includes=$ac_optarg ;;
1184
1185 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1186 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1187 ac_prev=x_libraries ;;
1188 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1189 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1190 x_libraries=$ac_optarg ;;
1191
1192 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1193 Try \`$0 --help' for more information"
1194 ;;
1195
1196 *=*)
1197 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1198 # Reject names that are not valid shell variable names.
1199 case $ac_envvar in #(
1200 '' | [0-9]* | *[!_$as_cr_alnum]* )
1201 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1202 esac
1203 eval $ac_envvar=\$ac_optarg
1204 export $ac_envvar ;;
1205
1206 *)
1207 # FIXME: should be removed in autoconf 3.0.
1208 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1209 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1210 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1211 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1212 ;;
1213
1214 esac
1215 done
1216
1217 if test -n "$ac_prev"; then
1218 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1219 as_fn_error $? "missing argument to $ac_option"
1220 fi
1221
1222 if test -n "$ac_unrecognized_opts"; then
1223 case $enable_option_checking in
1224 no) ;;
1225 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1226 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1227 esac
1228 fi
1229
1230 # Check all directory arguments for consistency.
1231 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1232 datadir sysconfdir sharedstatedir localstatedir includedir \
1233 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1234 libdir localedir mandir
1235 do
1236 eval ac_val=\$$ac_var
1237 # Remove trailing slashes.
1238 case $ac_val in
1239 */ )
1240 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1241 eval $ac_var=\$ac_val;;
1242 esac
1243 # Be sure to have absolute directory names.
1244 case $ac_val in
1245 [\\/$]* | ?:[\\/]* ) continue;;
1246 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1247 esac
1248 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1249 done
1250
1251 # There might be people who depend on the old broken behavior: `$host'
1252 # used to hold the argument of --host etc.
1253 # FIXME: To remove some day.
1254 build=$build_alias
1255 host=$host_alias
1256 target=$target_alias
1257
1258 # FIXME: To remove some day.
1259 if test "x$host_alias" != x; then
1260 if test "x$build_alias" = x; then
1261 cross_compiling=maybe
1262 elif test "x$build_alias" != "x$host_alias"; then
1263 cross_compiling=yes
1264 fi
1265 fi
1266
1267 ac_tool_prefix=
1268 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1269
1270 test "$silent" = yes && exec 6>/dev/null
1271
1272
1273 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1274 ac_ls_di=`ls -di .` &&
1275 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1276 as_fn_error $? "working directory cannot be determined"
1277 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1278 as_fn_error $? "pwd does not report name of working directory"
1279
1280
1281 # Find the source files, if location was not specified.
1282 if test -z "$srcdir"; then
1283 ac_srcdir_defaulted=yes
1284 # Try the directory containing this script, then the parent directory.
1285 ac_confdir=`$as_dirname -- "$as_myself" ||
1286 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1287 X"$as_myself" : 'X\(//\)[^/]' \| \
1288 X"$as_myself" : 'X\(//\)$' \| \
1289 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1290 $as_echo X"$as_myself" |
1291 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1292 s//\1/
1293 q
1294 }
1295 /^X\(\/\/\)[^/].*/{
1296 s//\1/
1297 q
1298 }
1299 /^X\(\/\/\)$/{
1300 s//\1/
1301 q
1302 }
1303 /^X\(\/\).*/{
1304 s//\1/
1305 q
1306 }
1307 s/.*/./; q'`
1308 srcdir=$ac_confdir
1309 if test ! -r "$srcdir/$ac_unique_file"; then
1310 srcdir=..
1311 fi
1312 else
1313 ac_srcdir_defaulted=no
1314 fi
1315 if test ! -r "$srcdir/$ac_unique_file"; then
1316 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1317 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1318 fi
1319 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1320 ac_abs_confdir=`(
1321 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1322 pwd)`
1323 # When building in place, set srcdir=.
1324 if test "$ac_abs_confdir" = "$ac_pwd"; then
1325 srcdir=.
1326 fi
1327 # Remove unnecessary trailing slashes from srcdir.
1328 # Double slashes in file names in object file debugging info
1329 # mess up M-x gdb in Emacs.
1330 case $srcdir in
1331 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1332 esac
1333 for ac_var in $ac_precious_vars; do
1334 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1335 eval ac_env_${ac_var}_value=\$${ac_var}
1336 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1337 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1338 done
1339
1340 #
1341 # Report the --help message.
1342 #
1343 if test "$ac_init_help" = "long"; then
1344 # Omit some internal or obsolete options to make the list less imposing.
1345 # This message is too long to be a string in the A/UX 3.1 sh.
1346 cat <<_ACEOF
1347 \`configure' configures myproxy 6.2.20 to adapt to many kinds of systems.
1348
1349 Usage: $0 [OPTION]... [VAR=VALUE]...
1350
1351 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1352 VAR=VALUE. See below for descriptions of some of the useful variables.
1353
1354 Defaults for the options are specified in brackets.
1355
1356 Configuration:
1357 -h, --help display this help and exit
1358 --help=short display options specific to this package
1359 --help=recursive display the short help of all the included packages
1360 -V, --version display version information and exit
1361 -q, --quiet, --silent do not print \`checking ...' messages
1362 --cache-file=FILE cache test results in FILE [disabled]
1363 -C, --config-cache alias for \`--cache-file=config.cache'
1364 -n, --no-create do not create output files
1365 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1366
1367 Installation directories:
1368 --prefix=PREFIX install architecture-independent files in PREFIX
1369 [$ac_default_prefix]
1370 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1371 [PREFIX]
1372
1373 By default, \`make install' will install all the files in
1374 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1375 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1376 for instance \`--prefix=\$HOME'.
1377
1378 For better control, use the options below.
1379
1380 Fine tuning of the installation directories:
1381 --bindir=DIR user executables [EPREFIX/bin]
1382 --sbindir=DIR system admin executables [EPREFIX/sbin]
1383 --libexecdir=DIR program executables [EPREFIX/libexec]
1384 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1385 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1386 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1387 --libdir=DIR object code libraries [EPREFIX/lib]
1388 --includedir=DIR C header files [PREFIX/include]
1389 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1390 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1391 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1392 --infodir=DIR info documentation [DATAROOTDIR/info]
1393 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1394 --mandir=DIR man documentation [DATAROOTDIR/man]
1395 --docdir=DIR documentation root [DATAROOTDIR/doc/myproxy]
1396 --htmldir=DIR html documentation [DOCDIR]
1397 --dvidir=DIR dvi documentation [DOCDIR]
1398 --pdfdir=DIR pdf documentation [DOCDIR]
1399 --psdir=DIR ps documentation [DOCDIR]
1400 _ACEOF
1401
1402 cat <<\_ACEOF
1403
1404 Program names:
1405 --program-prefix=PREFIX prepend PREFIX to installed program names
1406 --program-suffix=SUFFIX append SUFFIX to installed program names
1407 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1408
1409 System types:
1410 --build=BUILD configure for building on BUILD [guessed]
1411 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1412 _ACEOF
1413 fi
1414
1415 if test -n "$ac_init_help"; then
1416 case $ac_init_help in
1417 short | recursive ) echo "Configuration of myproxy 6.2.20:";;
1418 esac
1419 cat <<\_ACEOF
1420
1421 Optional Features:
1422 --disable-option-checking ignore unrecognized --enable/--with options
1423 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1424 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1425 --enable-silent-rules less verbose build output (undo: "make V=1")
1426 --disable-silent-rules verbose build output (undo: "make V=0")
1427 --enable-shared[=PKGS] build shared libraries [default=yes]
1428 --enable-static[=PKGS] build static libraries [default=yes]
1429 --enable-fast-install[=PKGS]
1430 optimize for fast installation [default=yes]
1431 --enable-dependency-tracking
1432 do not reject slow dependency extractors
1433 --disable-dependency-tracking
1434 speeds up one-time build
1435 --disable-libtool-lock avoid locking (might break parallel builds)
1436
1437 Optional Packages:
1438 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1439 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1440 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1441 both]
1442 --with-aix-soname=aix|svr4|both
1443 shared library versioning (aka "SONAME") variant to
1444 provide on AIX, [default=aix].
1445 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1446 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1447 compiler's sysroot if not specified).
1448 --with-sasl2=PATH Build with SASL V2 support
1449 --with-kerberos5=PATH Build with Kerberos V5 support
1450 --with-openldap=PATH Build with OpenLDAP CA support
1451 --with-voms=PATH Build with VOMS support
1452
1453 Some influential environment variables:
1454 CC C compiler command
1455 CFLAGS C compiler flags
1456 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1457 nonstandard directory <lib dir>
1458 LIBS libraries to pass to the linker, e.g. -l<library>
1459 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1460 you have headers in a nonstandard directory <include dir>
1461 LT_SYS_LIBRARY_PATH
1462 User-defined run-time library search path.
1463 CPP C preprocessor
1464 PKG_CONFIG path to pkg-config utility
1465 PKG_CONFIG_PATH
1466 directories to add to pkg-config's search path
1467 PKG_CONFIG_LIBDIR
1468 path overriding pkg-config's built-in search path
1469 GLOBUS_CFLAGS
1470 C compiler flags for GLOBUS, overriding pkg-config
1471 GLOBUS_LIBS linker flags for GLOBUS, overriding pkg-config
1472 OPENSSL_CFLAGS
1473 C compiler flags for OPENSSL, overriding pkg-config
1474 OPENSSL_LIBS
1475 linker flags for OPENSSL, overriding pkg-config
1476
1477 Use these variables to override the choices made by `configure' or to help
1478 it to find libraries and programs with nonstandard names/locations.
1479
1480 Report bugs to the package provider.
1481 _ACEOF
1482 ac_status=$?
1483 fi
1484
1485 if test "$ac_init_help" = "recursive"; then
1486 # If there are subdirs, report their specific --help.
1487 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1488 test -d "$ac_dir" ||
1489 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1490 continue
1491 ac_builddir=.
1492
1493 case "$ac_dir" in
1494 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1495 *)
1496 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1497 # A ".." for each directory in $ac_dir_suffix.
1498 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1499 case $ac_top_builddir_sub in
1500 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1501 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1502 esac ;;
1503 esac
1504 ac_abs_top_builddir=$ac_pwd
1505 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1506 # for backward compatibility:
1507 ac_top_builddir=$ac_top_build_prefix
1508
1509 case $srcdir in
1510 .) # We are building in place.
1511 ac_srcdir=.
1512 ac_top_srcdir=$ac_top_builddir_sub
1513 ac_abs_top_srcdir=$ac_pwd ;;
1514 [\\/]* | ?:[\\/]* ) # Absolute name.
1515 ac_srcdir=$srcdir$ac_dir_suffix;
1516 ac_top_srcdir=$srcdir
1517 ac_abs_top_srcdir=$srcdir ;;
1518 *) # Relative name.
1519 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1520 ac_top_srcdir=$ac_top_build_prefix$srcdir
1521 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1522 esac
1523 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1524
1525 cd "$ac_dir" || { ac_status=$?; continue; }
1526 # Check for guested configure.
1527 if test -f "$ac_srcdir/configure.gnu"; then
1528 echo &&
1529 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1530 elif test -f "$ac_srcdir/configure"; then
1531 echo &&
1532 $SHELL "$ac_srcdir/configure" --help=recursive
1533 else
1534 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1535 fi || ac_status=$?
1536 cd "$ac_pwd" || { ac_status=$?; break; }
1537 done
1538 fi
1539
1540 test -n "$ac_init_help" && exit $ac_status
1541 if $ac_init_version; then
1542 cat <<\_ACEOF
1543 myproxy configure 6.2.20
1544 generated by GNU Autoconf 2.69
1545
1546 Copyright (C) 2012 Free Software Foundation, Inc.
1547 This configure script is free software; the Free Software Foundation
1548 gives unlimited permission to copy, distribute and modify it.
1549 _ACEOF
1550 exit
1551 fi
1552
1553 ## ------------------------ ##
1554 ## Autoconf initialization. ##
1555 ## ------------------------ ##
1556
1557 # ac_fn_c_try_compile LINENO
1558 # --------------------------
1559 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1560 ac_fn_c_try_compile ()
1561 {
1562 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1563 rm -f conftest.$ac_objext
1564 if { { ac_try="$ac_compile"
1565 case "(($ac_try" in
1566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1567 *) ac_try_echo=$ac_try;;
1568 esac
1569 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1570 $as_echo "$ac_try_echo"; } >&5
1571 (eval "$ac_compile") 2>conftest.err
1572 ac_status=$?
1573 if test -s conftest.err; then
1574 grep -v '^ *+' conftest.err >conftest.er1
1575 cat conftest.er1 >&5
1576 mv -f conftest.er1 conftest.err
1577 fi
1578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1579 test $ac_status = 0; } && {
1580 test -z "$ac_c_werror_flag" ||
1581 test ! -s conftest.err
1582 } && test -s conftest.$ac_objext; then :
1583 ac_retval=0
1584 else
1585 $as_echo "$as_me: failed program was:" >&5
1586 sed 's/^/| /' conftest.$ac_ext >&5
1587
1588 ac_retval=1
1589 fi
1590 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1591 as_fn_set_status $ac_retval
1592
1593 } # ac_fn_c_try_compile
1594
1595 # ac_fn_c_try_link LINENO
1596 # -----------------------
1597 # Try to link conftest.$ac_ext, and return whether this succeeded.
1598 ac_fn_c_try_link ()
1599 {
1600 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1601 rm -f conftest.$ac_objext conftest$ac_exeext
1602 if { { ac_try="$ac_link"
1603 case "(($ac_try" in
1604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1605 *) ac_try_echo=$ac_try;;
1606 esac
1607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1608 $as_echo "$ac_try_echo"; } >&5
1609 (eval "$ac_link") 2>conftest.err
1610 ac_status=$?
1611 if test -s conftest.err; then
1612 grep -v '^ *+' conftest.err >conftest.er1
1613 cat conftest.er1 >&5
1614 mv -f conftest.er1 conftest.err
1615 fi
1616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1617 test $ac_status = 0; } && {
1618 test -z "$ac_c_werror_flag" ||
1619 test ! -s conftest.err
1620 } && test -s conftest$ac_exeext && {
1621 test "$cross_compiling" = yes ||
1622 test -x conftest$ac_exeext
1623 }; then :
1624 ac_retval=0
1625 else
1626 $as_echo "$as_me: failed program was:" >&5
1627 sed 's/^/| /' conftest.$ac_ext >&5
1628
1629 ac_retval=1
1630 fi
1631 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1632 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1633 # interfere with the next link command; also delete a directory that is
1634 # left behind by Apple's compiler. We do this before executing the actions.
1635 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1636 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1637 as_fn_set_status $ac_retval
1638
1639 } # ac_fn_c_try_link
1640
1641 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1642 # -------------------------------------------------------
1643 # Tests whether HEADER exists and can be compiled using the include files in
1644 # INCLUDES, setting the cache variable VAR accordingly.
1645 ac_fn_c_check_header_compile ()
1646 {
1647 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1649 $as_echo_n "checking for $2... " >&6; }
1650 if eval \${$3+:} false; then :
1651 $as_echo_n "(cached) " >&6
1652 else
1653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1654 /* end confdefs.h. */
1655 $4
1656 #include <$2>
1657 _ACEOF
1658 if ac_fn_c_try_compile "$LINENO"; then :
1659 eval "$3=yes"
1660 else
1661 eval "$3=no"
1662 fi
1663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1664 fi
1665 eval ac_res=\$$3
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1667 $as_echo "$ac_res" >&6; }
1668 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1669
1670 } # ac_fn_c_check_header_compile
1671
1672 # ac_fn_c_try_cpp LINENO
1673 # ----------------------
1674 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1675 ac_fn_c_try_cpp ()
1676 {
1677 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1678 if { { ac_try="$ac_cpp conftest.$ac_ext"
1679 case "(($ac_try" in
1680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1681 *) ac_try_echo=$ac_try;;
1682 esac
1683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1684 $as_echo "$ac_try_echo"; } >&5
1685 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1686 ac_status=$?
1687 if test -s conftest.err; then
1688 grep -v '^ *+' conftest.err >conftest.er1
1689 cat conftest.er1 >&5
1690 mv -f conftest.er1 conftest.err
1691 fi
1692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1693 test $ac_status = 0; } > conftest.i && {
1694 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1695 test ! -s conftest.err
1696 }; then :
1697 ac_retval=0
1698 else
1699 $as_echo "$as_me: failed program was:" >&5
1700 sed 's/^/| /' conftest.$ac_ext >&5
1701
1702 ac_retval=1
1703 fi
1704 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1705 as_fn_set_status $ac_retval
1706
1707 } # ac_fn_c_try_cpp
1708
1709 # ac_fn_c_try_run LINENO
1710 # ----------------------
1711 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1712 # that executables *can* be run.
1713 ac_fn_c_try_run ()
1714 {
1715 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1716 if { { ac_try="$ac_link"
1717 case "(($ac_try" in
1718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1719 *) ac_try_echo=$ac_try;;
1720 esac
1721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1722 $as_echo "$ac_try_echo"; } >&5
1723 (eval "$ac_link") 2>&5
1724 ac_status=$?
1725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1726 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1727 { { case "(($ac_try" in
1728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1729 *) ac_try_echo=$ac_try;;
1730 esac
1731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1732 $as_echo "$ac_try_echo"; } >&5
1733 (eval "$ac_try") 2>&5
1734 ac_status=$?
1735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1736 test $ac_status = 0; }; }; then :
1737 ac_retval=0
1738 else
1739 $as_echo "$as_me: program exited with status $ac_status" >&5
1740 $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.$ac_ext >&5
1742
1743 ac_retval=$ac_status
1744 fi
1745 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1747 as_fn_set_status $ac_retval
1748
1749 } # ac_fn_c_try_run
1750
1751 # ac_fn_c_check_func LINENO FUNC VAR
1752 # ----------------------------------
1753 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1754 ac_fn_c_check_func ()
1755 {
1756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1758 $as_echo_n "checking for $2... " >&6; }
1759 if eval \${$3+:} false; then :
1760 $as_echo_n "(cached) " >&6
1761 else
1762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1763 /* end confdefs.h. */
1764 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1766 #define $2 innocuous_$2
1767
1768 /* System header to define __stub macros and hopefully few prototypes,
1769 which can conflict with char $2 (); below.
1770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1771 <limits.h> exists even on freestanding compilers. */
1772
1773 #ifdef __STDC__
1774 # include <limits.h>
1775 #else
1776 # include <assert.h>
1777 #endif
1778
1779 #undef $2
1780
1781 /* Override any GCC internal prototype to avoid an error.
1782 Use char because int might match the return type of a GCC
1783 builtin and then its argument prototype would still apply. */
1784 #ifdef __cplusplus
1785 extern "C"
1786 #endif
1787 char $2 ();
1788 /* The GNU C library defines this for functions which it implements
1789 to always fail with ENOSYS. Some functions are actually named
1790 something starting with __ and the normal name is an alias. */
1791 #if defined __stub_$2 || defined __stub___$2
1792 choke me
1793 #endif
1794
1795 int
1796 main ()
1797 {
1798 return $2 ();
1799 ;
1800 return 0;
1801 }
1802 _ACEOF
1803 if ac_fn_c_try_link "$LINENO"; then :
1804 eval "$3=yes"
1805 else
1806 eval "$3=no"
1807 fi
1808 rm -f core conftest.err conftest.$ac_objext \
1809 conftest$ac_exeext conftest.$ac_ext
1810 fi
1811 eval ac_res=\$$3
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1813 $as_echo "$ac_res" >&6; }
1814 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1815
1816 } # ac_fn_c_check_func
1817
1818 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1819 # -------------------------------------------------------
1820 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1821 # the include files in INCLUDES and setting the cache variable VAR
1822 # accordingly.
1823 ac_fn_c_check_header_mongrel ()
1824 {
1825 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1826 if eval \${$3+:} false; then :
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1828 $as_echo_n "checking for $2... " >&6; }
1829 if eval \${$3+:} false; then :
1830 $as_echo_n "(cached) " >&6
1831 fi
1832 eval ac_res=\$$3
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1834 $as_echo "$ac_res" >&6; }
1835 else
1836 # Is the header compilable?
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1838 $as_echo_n "checking $2 usability... " >&6; }
1839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1840 /* end confdefs.h. */
1841 $4
1842 #include <$2>
1843 _ACEOF
1844 if ac_fn_c_try_compile "$LINENO"; then :
1845 ac_header_compiler=yes
1846 else
1847 ac_header_compiler=no
1848 fi
1849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1851 $as_echo "$ac_header_compiler" >&6; }
1852
1853 # Is the header present?
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1855 $as_echo_n "checking $2 presence... " >&6; }
1856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1857 /* end confdefs.h. */
1858 #include <$2>
1859 _ACEOF
1860 if ac_fn_c_try_cpp "$LINENO"; then :
1861 ac_header_preproc=yes
1862 else
1863 ac_header_preproc=no
1864 fi
1865 rm -f conftest.err conftest.i conftest.$ac_ext
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1867 $as_echo "$ac_header_preproc" >&6; }
1868
1869 # So? What about this header?
1870 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1871 yes:no: )
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1873 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1875 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1876 ;;
1877 no:yes:* )
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1879 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1881 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1883 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1885 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1887 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1888 ;;
1889 esac
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1891 $as_echo_n "checking for $2... " >&6; }
1892 if eval \${$3+:} false; then :
1893 $as_echo_n "(cached) " >&6
1894 else
1895 eval "$3=\$ac_header_compiler"
1896 fi
1897 eval ac_res=\$$3
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1899 $as_echo "$ac_res" >&6; }
1900 fi
1901 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1902
1903 } # ac_fn_c_check_header_mongrel
1904
1905 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1906 # -------------------------------------------
1907 # Tests whether TYPE exists after having included INCLUDES, setting cache
1908 # variable VAR accordingly.
1909 ac_fn_c_check_type ()
1910 {
1911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1913 $as_echo_n "checking for $2... " >&6; }
1914 if eval \${$3+:} false; then :
1915 $as_echo_n "(cached) " >&6
1916 else
1917 eval "$3=no"
1918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1919 /* end confdefs.h. */
1920 $4
1921 int
1922 main ()
1923 {
1924 if (sizeof ($2))
1925 return 0;
1926 ;
1927 return 0;
1928 }
1929 _ACEOF
1930 if ac_fn_c_try_compile "$LINENO"; then :
1931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1932 /* end confdefs.h. */
1933 $4
1934 int
1935 main ()
1936 {
1937 if (sizeof (($2)))
1938 return 0;
1939 ;
1940 return 0;
1941 }
1942 _ACEOF
1943 if ac_fn_c_try_compile "$LINENO"; then :
1944
1945 else
1946 eval "$3=yes"
1947 fi
1948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1949 fi
1950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1951 fi
1952 eval ac_res=\$$3
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1954 $as_echo "$ac_res" >&6; }
1955 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1956
1957 } # ac_fn_c_check_type
1958
1959 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1960 # ---------------------------------------------
1961 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1962 # accordingly.
1963 ac_fn_c_check_decl ()
1964 {
1965 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1966 as_decl_name=`echo $2|sed 's/ *(.*//'`
1967 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1969 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1970 if eval \${$3+:} false; then :
1971 $as_echo_n "(cached) " >&6
1972 else
1973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1974 /* end confdefs.h. */
1975 $4
1976 int
1977 main ()
1978 {
1979 #ifndef $as_decl_name
1980 #ifdef __cplusplus
1981 (void) $as_decl_use;
1982 #else
1983 (void) $as_decl_name;
1984 #endif
1985 #endif
1986
1987 ;
1988 return 0;
1989 }
1990 _ACEOF
1991 if ac_fn_c_try_compile "$LINENO"; then :
1992 eval "$3=yes"
1993 else
1994 eval "$3=no"
1995 fi
1996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1997 fi
1998 eval ac_res=\$$3
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2000 $as_echo "$ac_res" >&6; }
2001 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2002
2003 } # ac_fn_c_check_decl
2004 cat >config.log <<_ACEOF
2005 This file contains any messages produced by compilers while
2006 running configure, to aid debugging if configure makes a mistake.
2007
2008 It was created by myproxy $as_me 6.2.20, which was
2009 generated by GNU Autoconf 2.69. Invocation command line was
2010
2011 $ $0 $@
2012
2013 _ACEOF
2014 exec 5>>config.log
2015 {
2016 cat <<_ASUNAME
2017 ## --------- ##
2018 ## Platform. ##
2019 ## --------- ##
2020
2021 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2022 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2023 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2024 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2025 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2026
2027 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2028 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2029
2030 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2031 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2032 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2033 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2034 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2035 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2036 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2037
2038 _ASUNAME
2039
2040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2041 for as_dir in $PATH
2042 do
2043 IFS=$as_save_IFS
2044 test -z "$as_dir" && as_dir=.
2045 $as_echo "PATH: $as_dir"
2046 done
2047 IFS=$as_save_IFS
2048
2049 } >&5
2050
2051 cat >&5 <<_ACEOF
2052
2053
2054 ## ----------- ##
2055 ## Core tests. ##
2056 ## ----------- ##
2057
2058 _ACEOF
2059
2060
2061 # Keep a trace of the command line.
2062 # Strip out --no-create and --no-recursion so they do not pile up.
2063 # Strip out --silent because we don't want to record it for future runs.
2064 # Also quote any args containing shell meta-characters.
2065 # Make two passes to allow for proper duplicate-argument suppression.
2066 ac_configure_args=
2067 ac_configure_args0=
2068 ac_configure_args1=
2069 ac_must_keep_next=false
2070 for ac_pass in 1 2
2071 do
2072 for ac_arg
2073 do
2074 case $ac_arg in
2075 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2076 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2077 | -silent | --silent | --silen | --sile | --sil)
2078 continue ;;
2079 *\'*)
2080 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2081 esac
2082 case $ac_pass in
2083 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2084 2)
2085 as_fn_append ac_configure_args1 " '$ac_arg'"
2086 if test $ac_must_keep_next = true; then
2087 ac_must_keep_next=false # Got value, back to normal.
2088 else
2089 case $ac_arg in
2090 *=* | --config-cache | -C | -disable-* | --disable-* \
2091 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2092 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2093 | -with-* | --with-* | -without-* | --without-* | --x)
2094 case "$ac_configure_args0 " in
2095 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2096 esac
2097 ;;
2098 -* ) ac_must_keep_next=true ;;
2099 esac
2100 fi
2101 as_fn_append ac_configure_args " '$ac_arg'"
2102 ;;
2103 esac
2104 done
2105 done
2106 { ac_configure_args0=; unset ac_configure_args0;}
2107 { ac_configure_args1=; unset ac_configure_args1;}
2108
2109 # When interrupted or exit'd, cleanup temporary files, and complete
2110 # config.log. We remove comments because anyway the quotes in there
2111 # would cause problems or look ugly.
2112 # WARNING: Use '\'' to represent an apostrophe within the trap.
2113 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2114 trap 'exit_status=$?
2115 # Save into config.log some information that might help in debugging.
2116 {
2117 echo
2118
2119 $as_echo "## ---------------- ##
2120 ## Cache variables. ##
2121 ## ---------------- ##"
2122 echo
2123 # The following way of writing the cache mishandles newlines in values,
2124 (
2125 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2126 eval ac_val=\$$ac_var
2127 case $ac_val in #(
2128 *${as_nl}*)
2129 case $ac_var in #(
2130 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2131 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2132 esac
2133 case $ac_var in #(
2134 _ | IFS | as_nl) ;; #(
2135 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2136 *) { eval $ac_var=; unset $ac_var;} ;;
2137 esac ;;
2138 esac
2139 done
2140 (set) 2>&1 |
2141 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2142 *${as_nl}ac_space=\ *)
2143 sed -n \
2144 "s/'\''/'\''\\\\'\'''\''/g;
2145 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2146 ;; #(
2147 *)
2148 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2149 ;;
2150 esac |
2151 sort
2152 )
2153 echo
2154
2155 $as_echo "## ----------------- ##
2156 ## Output variables. ##
2157 ## ----------------- ##"
2158 echo
2159 for ac_var in $ac_subst_vars
2160 do
2161 eval ac_val=\$$ac_var
2162 case $ac_val in
2163 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2164 esac
2165 $as_echo "$ac_var='\''$ac_val'\''"
2166 done | sort
2167 echo
2168
2169 if test -n "$ac_subst_files"; then
2170 $as_echo "## ------------------- ##
2171 ## File substitutions. ##
2172 ## ------------------- ##"
2173 echo
2174 for ac_var in $ac_subst_files
2175 do
2176 eval ac_val=\$$ac_var
2177 case $ac_val in
2178 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2179 esac
2180 $as_echo "$ac_var='\''$ac_val'\''"
2181 done | sort
2182 echo
2183 fi
2184
2185 if test -s confdefs.h; then
2186 $as_echo "## ----------- ##
2187 ## confdefs.h. ##
2188 ## ----------- ##"
2189 echo
2190 cat confdefs.h
2191 echo
2192 fi
2193 test "$ac_signal" != 0 &&
2194 $as_echo "$as_me: caught signal $ac_signal"
2195 $as_echo "$as_me: exit $exit_status"
2196 } >&5
2197 rm -f core *.core core.conftest.* &&
2198 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2199 exit $exit_status
2200 ' 0
2201 for ac_signal in 1 2 13 15; do
2202 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2203 done
2204 ac_signal=0
2205
2206 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2207 rm -f -r conftest* confdefs.h
2208
2209 $as_echo "/* confdefs.h */" > confdefs.h
2210
2211 # Predefined preprocessor variables.
2212
2213 cat >>confdefs.h <<_ACEOF
2214 #define PACKAGE_NAME "$PACKAGE_NAME"
2215 _ACEOF
2216
2217 cat >>confdefs.h <<_ACEOF
2218 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2219 _ACEOF
2220
2221 cat >>confdefs.h <<_ACEOF
2222 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2223 _ACEOF
2224
2225 cat >>confdefs.h <<_ACEOF
2226 #define PACKAGE_STRING "$PACKAGE_STRING"
2227 _ACEOF
2228
2229 cat >>confdefs.h <<_ACEOF
2230 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2231 _ACEOF
2232
2233 cat >>confdefs.h <<_ACEOF
2234 #define PACKAGE_URL "$PACKAGE_URL"
2235 _ACEOF
2236
2237
2238 # Let the site file select an alternate cache file if it wants to.
2239 # Prefer an explicitly selected file to automatically selected ones.
2240 ac_site_file1=NONE
2241 ac_site_file2=NONE
2242 if test -n "$CONFIG_SITE"; then
2243 # We do not want a PATH search for config.site.
2244 case $CONFIG_SITE in #((
2245 -*) ac_site_file1=./$CONFIG_SITE;;
2246 */*) ac_site_file1=$CONFIG_SITE;;
2247 *) ac_site_file1=./$CONFIG_SITE;;
2248 esac
2249 elif test "x$prefix" != xNONE; then
2250 ac_site_file1=$prefix/share/config.site
2251 ac_site_file2=$prefix/etc/config.site
2252 else
2253 ac_site_file1=$ac_default_prefix/share/config.site
2254 ac_site_file2=$ac_default_prefix/etc/config.site
2255 fi
2256 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2257 do
2258 test "x$ac_site_file" = xNONE && continue
2259 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2261 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2262 sed 's/^/| /' "$ac_site_file" >&5
2263 . "$ac_site_file" \
2264 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2266 as_fn_error $? "failed to load site script $ac_site_file
2267 See \`config.log' for more details" "$LINENO" 5; }
2268 fi
2269 done
2270
2271 if test -r "$cache_file"; then
2272 # Some versions of bash will fail to source /dev/null (special files
2273 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2274 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2276 $as_echo "$as_me: loading cache $cache_file" >&6;}
2277 case $cache_file in
2278 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2279 *) . "./$cache_file";;
2280 esac
2281 fi
2282 else
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2284 $as_echo "$as_me: creating cache $cache_file" >&6;}
2285 >$cache_file
2286 fi
2287
2288 # Check that the precious variables saved in the cache have kept the same
2289 # value.
2290 ac_cache_corrupted=false
2291 for ac_var in $ac_precious_vars; do
2292 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2293 eval ac_new_set=\$ac_env_${ac_var}_set
2294 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2295 eval ac_new_val=\$ac_env_${ac_var}_value
2296 case $ac_old_set,$ac_new_set in
2297 set,)
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2299 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2300 ac_cache_corrupted=: ;;
2301 ,set)
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2303 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2304 ac_cache_corrupted=: ;;
2305 ,);;
2306 *)
2307 if test "x$ac_old_val" != "x$ac_new_val"; then
2308 # differences in whitespace do not lead to failure.
2309 ac_old_val_w=`echo x $ac_old_val`
2310 ac_new_val_w=`echo x $ac_new_val`
2311 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2313 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2314 ac_cache_corrupted=:
2315 else
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2317 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2318 eval $ac_var=\$ac_old_val
2319 fi
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2321 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2323 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2324 fi;;
2325 esac
2326 # Pass precious variables to config.status.
2327 if test "$ac_new_set" = set; then
2328 case $ac_new_val in
2329 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2330 *) ac_arg=$ac_var=$ac_new_val ;;
2331 esac
2332 case " $ac_configure_args " in
2333 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2334 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2335 esac
2336 fi
2337 done
2338 if $ac_cache_corrupted; then
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2340 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2342 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2343 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2344 fi
2345 ## -------------------- ##
2346 ## Main body of script. ##
2347 ## -------------------- ##
2348
2349 ac_ext=c
2350 ac_cpp='$CPP $CPPFLAGS'
2351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2354
2355
2356 ac_aux_dir=
2357 for ac_dir in build-aux "$srcdir"/build-aux; do
2358 if test -f "$ac_dir/install-sh"; then
2359 ac_aux_dir=$ac_dir
2360 ac_install_sh="$ac_aux_dir/install-sh -c"
2361 break
2362 elif test -f "$ac_dir/install.sh"; then
2363 ac_aux_dir=$ac_dir
2364 ac_install_sh="$ac_aux_dir/install.sh -c"
2365 break
2366 elif test -f "$ac_dir/shtool"; then
2367 ac_aux_dir=$ac_dir
2368 ac_install_sh="$ac_aux_dir/shtool install -c"
2369 break
2370 fi
2371 done
2372 if test -z "$ac_aux_dir"; then
2373 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2374 fi
2375
2376 # These three variables are undocumented and unsupported,
2377 # and are intended to be withdrawn in a future Autoconf release.
2378 # They can cause serious problems if a builder's source tree is in a directory
2379 # whose full name contains unusual characters.
2380 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2381 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2382 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2383
2384
2385 am__api_version='1.16'
2386
2387 # Find a good install program. We prefer a C program (faster),
2388 # so one script is as good as another. But avoid the broken or
2389 # incompatible versions:
2390 # SysV /etc/install, /usr/sbin/install
2391 # SunOS /usr/etc/install
2392 # IRIX /sbin/install
2393 # AIX /bin/install
2394 # AmigaOS /C/install, which installs bootblocks on floppy discs
2395 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2396 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2397 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2398 # OS/2's system install, which has a completely different semantic
2399 # ./install, which can be erroneously created by make from ./install.sh.
2400 # Reject install programs that cannot install multiple files.
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2402 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2403 if test -z "$INSTALL"; then
2404 if ${ac_cv_path_install+:} false; then :
2405 $as_echo_n "(cached) " >&6
2406 else
2407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2408 for as_dir in $PATH
2409 do
2410 IFS=$as_save_IFS
2411 test -z "$as_dir" && as_dir=.
2412 # Account for people who put trailing slashes in PATH elements.
2413 case $as_dir/ in #((
2414 ./ | .// | /[cC]/* | \
2415 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2416 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2417 /usr/ucb/* ) ;;
2418 *)
2419 # OSF1 and SCO ODT 3.0 have their own names for install.
2420 # Don't use installbsd from OSF since it installs stuff as root
2421 # by default.
2422 for ac_prog in ginstall scoinst install; do
2423 for ac_exec_ext in '' $ac_executable_extensions; do
2424 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2425 if test $ac_prog = install &&
2426 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2427 # AIX install. It has an incompatible calling convention.
2428 :
2429 elif test $ac_prog = install &&
2430 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2431 # program-specific install script used by HP pwplus--don't use.
2432 :
2433 else
2434 rm -rf conftest.one conftest.two conftest.dir
2435 echo one > conftest.one
2436 echo two > conftest.two
2437 mkdir conftest.dir
2438 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2439 test -s conftest.one && test -s conftest.two &&
2440 test -s conftest.dir/conftest.one &&
2441 test -s conftest.dir/conftest.two
2442 then
2443 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2444 break 3
2445 fi
2446 fi
2447 fi
2448 done
2449 done
2450 ;;
2451 esac
2452
2453 done
2454 IFS=$as_save_IFS
2455
2456 rm -rf conftest.one conftest.two conftest.dir
2457
2458 fi
2459 if test "${ac_cv_path_install+set}" = set; then
2460 INSTALL=$ac_cv_path_install
2461 else
2462 # As a last resort, use the slow shell script. Don't cache a
2463 # value for INSTALL within a source directory, because that will
2464 # break other packages using the cache if that directory is
2465 # removed, or if the value is a relative name.
2466 INSTALL=$ac_install_sh
2467 fi
2468 fi
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2470 $as_echo "$INSTALL" >&6; }
2471
2472 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2473 # It thinks the first close brace ends the variable substitution.
2474 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2475
2476 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2477
2478 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2479
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2481 $as_echo_n "checking whether build environment is sane... " >&6; }
2482 # Reject unsafe characters in $srcdir or the absolute working directory
2483 # name. Accept space and tab only in the latter.
2484 am_lf='
2485 '
2486 case `pwd` in
2487 *[\\\"\#\$\&\'\`$am_lf]*)
2488 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2489 esac
2490 case $srcdir in
2491 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2492 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2493 esac
2494
2495 # Do 'set' in a subshell so we don't clobber the current shell's
2496 # arguments. Must try -L first in case configure is actually a
2497 # symlink; some systems play weird games with the mod time of symlinks
2498 # (eg FreeBSD returns the mod time of the symlink's containing
2499 # directory).
2500 if (
2501 am_has_slept=no
2502 for am_try in 1 2; do
2503 echo "timestamp, slept: $am_has_slept" > conftest.file
2504 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2505 if test "$*" = "X"; then
2506 # -L didn't work.
2507 set X `ls -t "$srcdir/configure" conftest.file`
2508 fi
2509 if test "$*" != "X $srcdir/configure conftest.file" \
2510 && test "$*" != "X conftest.file $srcdir/configure"; then
2511
2512 # If neither matched, then we have a broken ls. This can happen
2513 # if, for instance, CONFIG_SHELL is bash and it inherits a
2514 # broken ls alias from the environment. This has actually
2515 # happened. Such a system could not be considered "sane".
2516 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2517 alias in your environment" "$LINENO" 5
2518 fi
2519 if test "$2" = conftest.file || test $am_try -eq 2; then
2520 break
2521 fi
2522 # Just in case.
2523 sleep 1
2524 am_has_slept=yes
2525 done
2526 test "$2" = conftest.file
2527 )
2528 then
2529 # Ok.
2530 :
2531 else
2532 as_fn_error $? "newly created file is older than distributed files!
2533 Check your system clock" "$LINENO" 5
2534 fi
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2536 $as_echo "yes" >&6; }
2537 # If we didn't sleep, we still need to ensure time stamps of config.status and
2538 # generated files are strictly newer.
2539 am_sleep_pid=
2540 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2541 ( sleep 1 ) &
2542 am_sleep_pid=$!
2543 fi
2544
2545 rm -f conftest.file
2546
2547 test "$program_prefix" != NONE &&
2548 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2549 # Use a double $ so make ignores it.
2550 test "$program_suffix" != NONE &&
2551 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2552 # Double any \ or $.
2553 # By default was `s,x,x', remove it if useless.
2554 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2555 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2556
2557 # Expand $ac_aux_dir to an absolute path.
2558 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2559
2560 if test x"${MISSING+set}" != xset; then
2561 case $am_aux_dir in
2562 *\ * | *\ *)
2563 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2564 *)
2565 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2566 esac
2567 fi
2568 # Use eval to expand $SHELL
2569 if eval "$MISSING --is-lightweight"; then
2570 am_missing_run="$MISSING "
2571 else
2572 am_missing_run=
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2574 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2575 fi
2576
2577 if test x"${install_sh+set}" != xset; then
2578 case $am_aux_dir in
2579 *\ * | *\ *)
2580 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2581 *)
2582 install_sh="\${SHELL} $am_aux_dir/install-sh"
2583 esac
2584 fi
2585
2586 # Installed binaries are usually stripped using 'strip' when the user
2587 # run "make install-strip". However 'strip' might not be the right
2588 # tool to use in cross-compilation environments, therefore Automake
2589 # will honor the 'STRIP' environment variable to overrule this program.
2590 if test "$cross_compiling" != no; then
2591 if test -n "$ac_tool_prefix"; then
2592 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2593 set dummy ${ac_tool_prefix}strip; ac_word=$2
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2595 $as_echo_n "checking for $ac_word... " >&6; }
2596 if ${ac_cv_prog_STRIP+:} false; then :
2597 $as_echo_n "(cached) " >&6
2598 else
2599 if test -n "$STRIP"; then
2600 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2601 else
2602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2603 for as_dir in $PATH
2604 do
2605 IFS=$as_save_IFS
2606 test -z "$as_dir" && as_dir=.
2607 for ac_exec_ext in '' $ac_executable_extensions; do
2608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2609 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2611 break 2
2612 fi
2613 done
2614 done
2615 IFS=$as_save_IFS
2616
2617 fi
2618 fi
2619 STRIP=$ac_cv_prog_STRIP
2620 if test -n "$STRIP"; then
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2622 $as_echo "$STRIP" >&6; }
2623 else
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2625 $as_echo "no" >&6; }
2626 fi
2627
2628
2629 fi
2630 if test -z "$ac_cv_prog_STRIP"; then
2631 ac_ct_STRIP=$STRIP
2632 # Extract the first word of "strip", so it can be a program name with args.
2633 set dummy strip; ac_word=$2
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2635 $as_echo_n "checking for $ac_word... " >&6; }
2636 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2637 $as_echo_n "(cached) " >&6
2638 else
2639 if test -n "$ac_ct_STRIP"; then
2640 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2641 else
2642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2643 for as_dir in $PATH
2644 do
2645 IFS=$as_save_IFS
2646 test -z "$as_dir" && as_dir=.
2647 for ac_exec_ext in '' $ac_executable_extensions; do
2648 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2649 ac_cv_prog_ac_ct_STRIP="strip"
2650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2651 break 2
2652 fi
2653 done
2654 done
2655 IFS=$as_save_IFS
2656
2657 fi
2658 fi
2659 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2660 if test -n "$ac_ct_STRIP"; then
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2662 $as_echo "$ac_ct_STRIP" >&6; }
2663 else
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2665 $as_echo "no" >&6; }
2666 fi
2667
2668 if test "x$ac_ct_STRIP" = x; then
2669 STRIP=":"
2670 else
2671 case $cross_compiling:$ac_tool_warned in
2672 yes:)
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2674 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2675 ac_tool_warned=yes ;;
2676 esac
2677 STRIP=$ac_ct_STRIP
2678 fi
2679 else
2680 STRIP="$ac_cv_prog_STRIP"
2681 fi
2682
2683 fi
2684 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2685
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2687 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2688 if test -z "$MKDIR_P"; then
2689 if ${ac_cv_path_mkdir+:} false; then :
2690 $as_echo_n "(cached) " >&6
2691 else
2692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2693 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2694 do
2695 IFS=$as_save_IFS
2696 test -z "$as_dir" && as_dir=.
2697 for ac_prog in mkdir gmkdir; do
2698 for ac_exec_ext in '' $ac_executable_extensions; do
2699 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2700 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2701 'mkdir (GNU coreutils) '* | \
2702 'mkdir (coreutils) '* | \
2703 'mkdir (fileutils) '4.1*)
2704 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2705 break 3;;
2706 esac
2707 done
2708 done
2709 done
2710 IFS=$as_save_IFS
2711
2712 fi
2713
2714 test -d ./--version && rmdir ./--version
2715 if test "${ac_cv_path_mkdir+set}" = set; then
2716 MKDIR_P="$ac_cv_path_mkdir -p"
2717 else
2718 # As a last resort, use the slow shell script. Don't cache a
2719 # value for MKDIR_P within a source directory, because that will
2720 # break other packages using the cache if that directory is
2721 # removed, or if the value is a relative name.
2722 MKDIR_P="$ac_install_sh -d"
2723 fi
2724 fi
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2726 $as_echo "$MKDIR_P" >&6; }
2727
2728 for ac_prog in gawk mawk nawk awk
2729 do
2730 # Extract the first word of "$ac_prog", so it can be a program name with args.
2731 set dummy $ac_prog; ac_word=$2
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2733 $as_echo_n "checking for $ac_word... " >&6; }
2734 if ${ac_cv_prog_AWK+:} false; then :
2735 $as_echo_n "(cached) " >&6
2736 else
2737 if test -n "$AWK"; then
2738 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2739 else
2740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2741 for as_dir in $PATH
2742 do
2743 IFS=$as_save_IFS
2744 test -z "$as_dir" && as_dir=.
2745 for ac_exec_ext in '' $ac_executable_extensions; do
2746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2747 ac_cv_prog_AWK="$ac_prog"
2748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2749 break 2
2750 fi
2751 done
2752 done
2753 IFS=$as_save_IFS
2754
2755 fi
2756 fi
2757 AWK=$ac_cv_prog_AWK
2758 if test -n "$AWK"; then
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2760 $as_echo "$AWK" >&6; }
2761 else
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2763 $as_echo "no" >&6; }
2764 fi
2765
2766
2767 test -n "$AWK" && break
2768 done
2769
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2771 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2772 set x ${MAKE-make}
2773 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2774 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2775 $as_echo_n "(cached) " >&6
2776 else
2777 cat >conftest.make <<\_ACEOF
2778 SHELL = /bin/sh
2779 all:
2780 @echo '@@@%%%=$(MAKE)=@@@%%%'
2781 _ACEOF
2782 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2783 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2784 *@@@%%%=?*=@@@%%%*)
2785 eval ac_cv_prog_make_${ac_make}_set=yes;;
2786 *)
2787 eval ac_cv_prog_make_${ac_make}_set=no;;
2788 esac
2789 rm -f conftest.make
2790 fi
2791 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2793 $as_echo "yes" >&6; }
2794 SET_MAKE=
2795 else
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2797 $as_echo "no" >&6; }
2798 SET_MAKE="MAKE=${MAKE-make}"
2799 fi
2800
2801 rm -rf .tst 2>/dev/null
2802 mkdir .tst 2>/dev/null
2803 if test -d .tst; then
2804 am__leading_dot=.
2805 else
2806 am__leading_dot=_
2807 fi
2808 rmdir .tst 2>/dev/null
2809
2810 # Check whether --enable-silent-rules was given.
2811 if test "${enable_silent_rules+set}" = set; then :
2812 enableval=$enable_silent_rules;
2813 fi
2814
2815 case $enable_silent_rules in # (((
2816 yes) AM_DEFAULT_VERBOSITY=0;;
2817 no) AM_DEFAULT_VERBOSITY=1;;
2818 *) AM_DEFAULT_VERBOSITY=1;;
2819 esac
2820 am_make=${MAKE-make}
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2822 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2823 if ${am_cv_make_support_nested_variables+:} false; then :
2824 $as_echo_n "(cached) " >&6
2825 else
2826 if $as_echo 'TRUE=$(BAR$(V))
2827 BAR0=false
2828 BAR1=true
2829 V=1
2830 am__doit:
2831 @$(TRUE)
2832 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2833 am_cv_make_support_nested_variables=yes
2834 else
2835 am_cv_make_support_nested_variables=no
2836 fi
2837 fi
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2839 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2840 if test $am_cv_make_support_nested_variables = yes; then
2841 AM_V='$(V)'
2842 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2843 else
2844 AM_V=$AM_DEFAULT_VERBOSITY
2845 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2846 fi
2847 AM_BACKSLASH='\'
2848
2849 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2850 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2851 # is not polluted with repeated "-I."
2852 am__isrc=' -I$(srcdir)'
2853 # test to see if srcdir already configured
2854 if test -f $srcdir/config.status; then
2855 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2856 fi
2857 fi
2858
2859 # test whether we have cygpath
2860 if test -z "$CYGPATH_W"; then
2861 if (cygpath --version) >/dev/null 2>/dev/null; then
2862 CYGPATH_W='cygpath -w'
2863 else
2864 CYGPATH_W=echo
2865 fi
2866 fi
2867
2868
2869 # Define the identity of the package.
2870 PACKAGE='myproxy'
2871 VERSION='6.2.20'
2872
2873
2874 cat >>confdefs.h <<_ACEOF
2875 #define PACKAGE "$PACKAGE"
2876 _ACEOF
2877
2878
2879 cat >>confdefs.h <<_ACEOF
2880 #define VERSION "$VERSION"
2881 _ACEOF
2882
2883 # Some tools Automake needs.
2884
2885 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2886
2887
2888 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2889
2890
2891 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2892
2893
2894 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2895
2896
2897 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2898
2899 # For better backward compatibility. To be removed once Automake 1.9.x
2900 # dies out for good. For more background, see:
2901 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2902 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2903 mkdir_p='$(MKDIR_P)'
2904
2905 # We need awk for the "check" target (and possibly the TAP driver). The
2906 # system "awk" is bad on some platforms.
2907 # Always define AMTAR for backward compatibility. Yes, it's still used
2908 # in the wild :-( We should find a proper way to deprecate it ...
2909 AMTAR='$${TAR-tar}'
2910
2911
2912 # We'll loop over all known methods to create a tar archive until one works.
2913 _am_tools='gnutar pax cpio none'
2914
2915 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2916
2917
2918
2919
2920
2921
2922 # POSIX will say in a future version that running "rm -f" with no argument
2923 # is OK; and we want to be able to make that assumption in our Makefile
2924 # recipes. So use an aggressive probe to check that the usage we want is
2925 # actually supported "in the wild" to an acceptable degree.
2926 # See automake bug#10828.
2927 # To make any issue more visible, cause the running configure to be aborted
2928 # by default if the 'rm' program in use doesn't match our expectations; the
2929 # user can still override this though.
2930 if rm -f && rm -fr && rm -rf; then : OK; else
2931 cat >&2 <<'END'
2932 Oops!
2933
2934 Your 'rm' program seems unable to run without file operands specified
2935 on the command line, even when the '-f' option is present. This is contrary
2936 to the behaviour of most rm programs out there, and not conforming with
2937 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2938
2939 Please tell [email protected] about your system, including the value
2940 of your $PATH and any error possibly output before this message. This
2941 can help us improve future automake versions.
2942
2943 END
2944 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2945 echo 'Configuration will proceed anyway, since you have set the' >&2
2946 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2947 echo >&2
2948 else
2949 cat >&2 <<'END'
2950 Aborting the configuration process, to ensure you take notice of the issue.
2951
2952 You can download and install GNU coreutils to get an 'rm' implementation
2953 that behaves properly: <https://www.gnu.org/software/coreutils/>.
2954
2955 If you want to complete the configuration process using your problematic
2956 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2957 to "yes", and re-run configure.
2958
2959 END
2960 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2961 fi
2962 fi
2963
2964 case `pwd` in
2965 *\ * | *\ *)
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2967 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2968 esac
2969
2970
2971
2972 macro_version='2.4.6'
2973 macro_revision='2.4.6'
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987 ltmain=$ac_aux_dir/ltmain.sh
2988
2989 # Make sure we can run config.sub.
2990 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2991 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2992
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2994 $as_echo_n "checking build system type... " >&6; }
2995 if ${ac_cv_build+:} false; then :
2996 $as_echo_n "(cached) " >&6
2997 else
2998 ac_build_alias=$build_alias
2999 test "x$ac_build_alias" = x &&
3000 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3001 test "x$ac_build_alias" = x &&
3002 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3003 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3004 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3005
3006 fi
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3008 $as_echo "$ac_cv_build" >&6; }
3009 case $ac_cv_build in
3010 *-*-*) ;;
3011 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3012 esac
3013 build=$ac_cv_build
3014 ac_save_IFS=$IFS; IFS='-'
3015 set x $ac_cv_build
3016 shift
3017 build_cpu=$1
3018 build_vendor=$2
3019 shift; shift
3020 # Remember, the first character of IFS is used to create $*,
3021 # except with old shells:
3022 build_os=$*
3023 IFS=$ac_save_IFS
3024 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3025
3026
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3028 $as_echo_n "checking host system type... " >&6; }
3029 if ${ac_cv_host+:} false; then :
3030 $as_echo_n "(cached) " >&6
3031 else
3032 if test "x$host_alias" = x; then
3033 ac_cv_host=$ac_cv_build
3034 else
3035 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3036 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3037 fi
3038
3039 fi
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3041 $as_echo "$ac_cv_host" >&6; }
3042 case $ac_cv_host in
3043 *-*-*) ;;
3044 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3045 esac
3046 host=$ac_cv_host
3047 ac_save_IFS=$IFS; IFS='-'
3048 set x $ac_cv_host
3049 shift
3050 host_cpu=$1
3051 host_vendor=$2
3052 shift; shift
3053 # Remember, the first character of IFS is used to create $*,
3054 # except with old shells:
3055 host_os=$*
3056 IFS=$ac_save_IFS
3057 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3058
3059
3060 # Backslashify metacharacters that are still active within
3061 # double-quoted strings.
3062 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3063
3064 # Same as above, but do not quote variable references.
3065 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3066
3067 # Sed substitution to delay expansion of an escaped shell variable in a
3068 # double_quote_subst'ed string.
3069 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3070
3071 # Sed substitution to delay expansion of an escaped single quote.
3072 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3073
3074 # Sed substitution to avoid accidental globbing in evaled expressions
3075 no_glob_subst='s/\*/\\\*/g'
3076
3077 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3078 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3079 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3080
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3082 $as_echo_n "checking how to print strings... " >&6; }
3083 # Test print first, because it will be a builtin if present.
3084 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3085 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3086 ECHO='print -r --'
3087 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3088 ECHO='printf %s\n'
3089 else
3090 # Use this function as a fallback that always works.
3091 func_fallback_echo ()
3092 {
3093 eval 'cat <<_LTECHO_EOF
3094 $1
3095 _LTECHO_EOF'
3096 }
3097 ECHO='func_fallback_echo'
3098 fi
3099
3100 # func_echo_all arg...
3101 # Invoke $ECHO with all args, space-separated.
3102 func_echo_all ()
3103 {
3104 $ECHO ""
3105 }
3106
3107 case $ECHO in
3108 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3109 $as_echo "printf" >&6; } ;;
3110 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3111 $as_echo "print -r" >&6; } ;;
3112 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3113 $as_echo "cat" >&6; } ;;
3114 esac
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129 DEPDIR="${am__leading_dot}deps"
3130
3131 ac_config_commands="$ac_config_commands depfiles"
3132
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3134 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3135 cat > confinc.mk << 'END'
3136 am__doit:
3137 @echo this is the am__doit target >confinc.out
3138 .PHONY: am__doit
3139 END
3140 am__include="#"
3141 am__quote=
3142 # BSD make does it like this.
3143 echo '.include "confinc.mk" # ignored' > confmf.BSD
3144 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3145 echo 'include confinc.mk # ignored' > confmf.GNU
3146 _am_result=no
3147 for s in GNU BSD; do
3148 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3149 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3150 ac_status=$?
3151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3152 (exit $ac_status); }
3153 case $?:`cat confinc.out 2>/dev/null` in #(
3154 '0:this is the am__doit target') :
3155 case $s in #(
3156 BSD) :
3157 am__include='.include' am__quote='"' ;; #(
3158 *) :
3159 am__include='include' am__quote='' ;;
3160 esac ;; #(
3161 *) :
3162 ;;
3163 esac
3164 if test "$am__include" != "#"; then
3165 _am_result="yes ($s style)"
3166 break
3167 fi
3168 done
3169 rm -f confinc.* confmf.*
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3171 $as_echo "${_am_result}" >&6; }
3172
3173 # Check whether --enable-dependency-tracking was given.
3174 if test "${enable_dependency_tracking+set}" = set; then :
3175 enableval=$enable_dependency_tracking;
3176 fi
3177
3178 if test "x$enable_dependency_tracking" != xno; then
3179 am_depcomp="$ac_aux_dir/depcomp"
3180 AMDEPBACKSLASH='\'
3181 am__nodep='_no'
3182 fi
3183 if test "x$enable_dependency_tracking" != xno; then
3184 AMDEP_TRUE=
3185 AMDEP_FALSE='#'
3186 else
3187 AMDEP_TRUE='#'
3188 AMDEP_FALSE=
3189 fi
3190
3191
3192 ac_ext=c
3193 ac_cpp='$CPP $CPPFLAGS'
3194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3197 if test -n "$ac_tool_prefix"; then
3198 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3199 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3201 $as_echo_n "checking for $ac_word... " >&6; }
3202 if ${ac_cv_prog_CC+:} false; then :
3203 $as_echo_n "(cached) " >&6
3204 else
3205 if test -n "$CC"; then
3206 ac_cv_prog_CC="$CC" # Let the user override the test.
3207 else
3208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3209 for as_dir in $PATH
3210 do
3211 IFS=$as_save_IFS
3212 test -z "$as_dir" && as_dir=.
3213 for ac_exec_ext in '' $ac_executable_extensions; do
3214 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3215 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3217 break 2
3218 fi
3219 done
3220 done
3221 IFS=$as_save_IFS
3222
3223 fi
3224 fi
3225 CC=$ac_cv_prog_CC
3226 if test -n "$CC"; then
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3228 $as_echo "$CC" >&6; }
3229 else
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3231 $as_echo "no" >&6; }
3232 fi
3233
3234
3235 fi
3236 if test -z "$ac_cv_prog_CC"; then
3237 ac_ct_CC=$CC
3238 # Extract the first word of "gcc", so it can be a program name with args.
3239 set dummy gcc; ac_word=$2
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3241 $as_echo_n "checking for $ac_word... " >&6; }
3242 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3243 $as_echo_n "(cached) " >&6
3244 else
3245 if test -n "$ac_ct_CC"; then
3246 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3247 else
3248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3249 for as_dir in $PATH
3250 do
3251 IFS=$as_save_IFS
3252 test -z "$as_dir" && as_dir=.
3253 for ac_exec_ext in '' $ac_executable_extensions; do
3254 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3255 ac_cv_prog_ac_ct_CC="gcc"
3256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3257 break 2
3258 fi
3259 done
3260 done
3261 IFS=$as_save_IFS
3262
3263 fi
3264 fi
3265 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3266 if test -n "$ac_ct_CC"; then
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3268 $as_echo "$ac_ct_CC" >&6; }
3269 else
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3271 $as_echo "no" >&6; }
3272 fi
3273
3274 if test "x$ac_ct_CC" = x; then
3275 CC=""
3276 else
3277 case $cross_compiling:$ac_tool_warned in
3278 yes:)
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3280 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3281 ac_tool_warned=yes ;;
3282 esac
3283 CC=$ac_ct_CC
3284 fi
3285 else
3286 CC="$ac_cv_prog_CC"
3287 fi
3288
3289 if test -z "$CC"; then
3290 if test -n "$ac_tool_prefix"; then
3291 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3292 set dummy ${ac_tool_prefix}cc; ac_word=$2
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3294 $as_echo_n "checking for $ac_word... " >&6; }
3295 if ${ac_cv_prog_CC+:} false; then :
3296 $as_echo_n "(cached) " >&6
3297 else
3298 if test -n "$CC"; then
3299 ac_cv_prog_CC="$CC" # Let the user override the test.
3300 else
3301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3302 for as_dir in $PATH
3303 do
3304 IFS=$as_save_IFS
3305 test -z "$as_dir" && as_dir=.
3306 for ac_exec_ext in '' $ac_executable_extensions; do
3307 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3308 ac_cv_prog_CC="${ac_tool_prefix}cc"
3309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3310 break 2
3311 fi
3312 done
3313 done
3314 IFS=$as_save_IFS
3315
3316 fi
3317 fi
3318 CC=$ac_cv_prog_CC
3319 if test -n "$CC"; then
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3321 $as_echo "$CC" >&6; }
3322 else
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3324 $as_echo "no" >&6; }
3325 fi
3326
3327
3328 fi
3329 fi
3330 if test -z "$CC"; then
3331 # Extract the first word of "cc", so it can be a program name with args.
3332 set dummy cc; ac_word=$2
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3334 $as_echo_n "checking for $ac_word... " >&6; }
3335 if ${ac_cv_prog_CC+:} false; then :
3336 $as_echo_n "(cached) " >&6
3337 else
3338 if test -n "$CC"; then
3339 ac_cv_prog_CC="$CC" # Let the user override the test.
3340 else
3341 ac_prog_rejected=no
3342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3343 for as_dir in $PATH
3344 do
3345 IFS=$as_save_IFS
3346 test -z "$as_dir" && as_dir=.
3347 for ac_exec_ext in '' $ac_executable_extensions; do
3348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3349 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3350 ac_prog_rejected=yes
3351 continue
3352 fi
3353 ac_cv_prog_CC="cc"
3354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3355 break 2
3356 fi
3357 done
3358 done
3359 IFS=$as_save_IFS
3360
3361 if test $ac_prog_rejected = yes; then
3362 # We found a bogon in the path, so make sure we never use it.
3363 set dummy $ac_cv_prog_CC
3364 shift
3365 if test $# != 0; then
3366 # We chose a different compiler from the bogus one.
3367 # However, it has the same basename, so the bogon will be chosen
3368 # first if we set CC to just the basename; use the full file name.
3369 shift
3370 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3371 fi
3372 fi
3373 fi
3374 fi
3375 CC=$ac_cv_prog_CC
3376 if test -n "$CC"; then
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3378 $as_echo "$CC" >&6; }
3379 else
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3381 $as_echo "no" >&6; }
3382 fi
3383
3384
3385 fi
3386 if test -z "$CC"; then
3387 if test -n "$ac_tool_prefix"; then
3388 for ac_prog in cl.exe
3389 do
3390 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3391 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3393 $as_echo_n "checking for $ac_word... " >&6; }
3394 if ${ac_cv_prog_CC+:} false; then :
3395 $as_echo_n "(cached) " >&6
3396 else
3397 if test -n "$CC"; then
3398 ac_cv_prog_CC="$CC" # Let the user override the test.
3399 else
3400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3401 for as_dir in $PATH
3402 do
3403 IFS=$as_save_IFS
3404 test -z "$as_dir" && as_dir=.
3405 for ac_exec_ext in '' $ac_executable_extensions; do
3406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3407 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3409 break 2
3410 fi
3411 done
3412 done
3413 IFS=$as_save_IFS
3414
3415 fi
3416 fi
3417 CC=$ac_cv_prog_CC
3418 if test -n "$CC"; then
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3420 $as_echo "$CC" >&6; }
3421 else
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3423 $as_echo "no" >&6; }
3424 fi
3425
3426
3427 test -n "$CC" && break
3428 done
3429 fi
3430 if test -z "$CC"; then
3431 ac_ct_CC=$CC
3432 for ac_prog in cl.exe
3433 do
3434 # Extract the first word of "$ac_prog", so it can be a program name with args.
3435 set dummy $ac_prog; ac_word=$2
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3437 $as_echo_n "checking for $ac_word... " >&6; }
3438 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3439 $as_echo_n "(cached) " >&6
3440 else
3441 if test -n "$ac_ct_CC"; then
3442 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3443 else
3444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3445 for as_dir in $PATH
3446 do
3447 IFS=$as_save_IFS
3448 test -z "$as_dir" && as_dir=.
3449 for ac_exec_ext in '' $ac_executable_extensions; do
3450 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3451 ac_cv_prog_ac_ct_CC="$ac_prog"
3452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3453 break 2
3454 fi
3455 done
3456 done
3457 IFS=$as_save_IFS
3458
3459 fi
3460 fi
3461 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3462 if test -n "$ac_ct_CC"; then
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3464 $as_echo "$ac_ct_CC" >&6; }
3465 else
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3467 $as_echo "no" >&6; }
3468 fi
3469
3470
3471 test -n "$ac_ct_CC" && break
3472 done
3473
3474 if test "x$ac_ct_CC" = x; then
3475 CC=""
3476 else
3477 case $cross_compiling:$ac_tool_warned in
3478 yes:)
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3480 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3481 ac_tool_warned=yes ;;
3482 esac
3483 CC=$ac_ct_CC
3484 fi
3485 fi
3486
3487 fi
3488
3489
3490 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3491 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3492 as_fn_error $? "no acceptable C compiler found in \$PATH
3493 See \`config.log' for more details" "$LINENO" 5; }
3494
3495 # Provide some information about the compiler.
3496 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3497 set X $ac_compile
3498 ac_compiler=$2
3499 for ac_option in --version -v -V -qversion; do
3500 { { ac_try="$ac_compiler $ac_option >&5"
3501 case "(($ac_try" in
3502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3503 *) ac_try_echo=$ac_try;;
3504 esac
3505 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3506 $as_echo "$ac_try_echo"; } >&5
3507 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3508 ac_status=$?
3509 if test -s conftest.err; then
3510 sed '10a\
3511 ... rest of stderr output deleted ...
3512 10q' conftest.err >conftest.er1
3513 cat conftest.er1 >&5
3514 fi
3515 rm -f conftest.er1 conftest.err
3516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3517 test $ac_status = 0; }
3518 done
3519
3520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3521 /* end confdefs.h. */
3522
3523 int
3524 main ()
3525 {
3526
3527 ;
3528 return 0;
3529 }
3530 _ACEOF
3531 ac_clean_files_save=$ac_clean_files
3532 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3533 # Try to create an executable without -o first, disregard a.out.
3534 # It will help us diagnose broken compilers, and finding out an intuition
3535 # of exeext.
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3537 $as_echo_n "checking whether the C compiler works... " >&6; }
3538 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3539
3540 # The possible output files:
3541 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3542
3543 ac_rmfiles=
3544 for ac_file in $ac_files
3545 do
3546 case $ac_file in
3547 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3548 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3549 esac
3550 done
3551 rm -f $ac_rmfiles
3552
3553 if { { ac_try="$ac_link_default"
3554 case "(($ac_try" in
3555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3556 *) ac_try_echo=$ac_try;;
3557 esac
3558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3559 $as_echo "$ac_try_echo"; } >&5
3560 (eval "$ac_link_default") 2>&5
3561 ac_status=$?
3562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3563 test $ac_status = 0; }; then :
3564 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3565 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3566 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3567 # so that the user can short-circuit this test for compilers unknown to
3568 # Autoconf.
3569 for ac_file in $ac_files ''
3570 do
3571 test -f "$ac_file" || continue
3572 case $ac_file in
3573 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3574 ;;
3575 [ab].out )
3576 # We found the default executable, but exeext='' is most
3577 # certainly right.
3578 break;;
3579 *.* )
3580 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3581 then :; else
3582 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3583 fi
3584 # We set ac_cv_exeext here because the later test for it is not
3585 # safe: cross compilers may not add the suffix if given an `-o'
3586 # argument, so we may need to know it at that point already.
3587 # Even if this section looks crufty: it has the advantage of
3588 # actually working.
3589 break;;
3590 * )
3591 break;;
3592 esac
3593 done
3594 test "$ac_cv_exeext" = no && ac_cv_exeext=
3595
3596 else
3597 ac_file=''
3598 fi
3599 if test -z "$ac_file"; then :
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3601 $as_echo "no" >&6; }
3602 $as_echo "$as_me: failed program was:" >&5
3603 sed 's/^/| /' conftest.$ac_ext >&5
3604
3605 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3606 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3607 as_fn_error 77 "C compiler cannot create executables
3608 See \`config.log' for more details" "$LINENO" 5; }
3609 else
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3611 $as_echo "yes" >&6; }
3612 fi
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3614 $as_echo_n "checking for C compiler default output file name... " >&6; }
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3616 $as_echo "$ac_file" >&6; }
3617 ac_exeext=$ac_cv_exeext
3618
3619 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3620 ac_clean_files=$ac_clean_files_save
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3622 $as_echo_n "checking for suffix of executables... " >&6; }
3623 if { { ac_try="$ac_link"
3624 case "(($ac_try" in
3625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3626 *) ac_try_echo=$ac_try;;
3627 esac
3628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3629 $as_echo "$ac_try_echo"; } >&5
3630 (eval "$ac_link") 2>&5
3631 ac_status=$?
3632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3633 test $ac_status = 0; }; then :
3634 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3635 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3636 # work properly (i.e., refer to `conftest.exe'), while it won't with
3637 # `rm'.
3638 for ac_file in conftest.exe conftest conftest.*; do
3639 test -f "$ac_file" || continue
3640 case $ac_file in
3641 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3642 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3643 break;;
3644 * ) break;;
3645 esac
3646 done
3647 else
3648 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3649 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3650 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3651 See \`config.log' for more details" "$LINENO" 5; }
3652 fi
3653 rm -f conftest conftest$ac_cv_exeext
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3655 $as_echo "$ac_cv_exeext" >&6; }
3656
3657 rm -f conftest.$ac_ext
3658 EXEEXT=$ac_cv_exeext
3659 ac_exeext=$EXEEXT
3660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3661 /* end confdefs.h. */
3662 #include <stdio.h>
3663 int
3664 main ()
3665 {
3666 FILE *f = fopen ("conftest.out", "w");
3667 return ferror (f) || fclose (f) != 0;
3668
3669 ;
3670 return 0;
3671 }
3672 _ACEOF
3673 ac_clean_files="$ac_clean_files conftest.out"
3674 # Check that the compiler produces executables we can run. If not, either
3675 # the compiler is broken, or we cross compile.
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3677 $as_echo_n "checking whether we are cross compiling... " >&6; }
3678 if test "$cross_compiling" != yes; then
3679 { { ac_try="$ac_link"
3680 case "(($ac_try" in
3681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3682 *) ac_try_echo=$ac_try;;
3683 esac
3684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3685 $as_echo "$ac_try_echo"; } >&5
3686 (eval "$ac_link") 2>&5
3687 ac_status=$?
3688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3689 test $ac_status = 0; }
3690 if { ac_try='./conftest$ac_cv_exeext'
3691 { { case "(($ac_try" in
3692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3693 *) ac_try_echo=$ac_try;;
3694 esac
3695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3696 $as_echo "$ac_try_echo"; } >&5
3697 (eval "$ac_try") 2>&5
3698 ac_status=$?
3699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3700 test $ac_status = 0; }; }; then
3701 cross_compiling=no
3702 else
3703 if test "$cross_compiling" = maybe; then
3704 cross_compiling=yes
3705 else
3706 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3707 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3708 as_fn_error $? "cannot run C compiled programs.
3709 If you meant to cross compile, use \`--host'.
3710 See \`config.log' for more details" "$LINENO" 5; }
3711 fi
3712 fi
3713 fi
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3715 $as_echo "$cross_compiling" >&6; }
3716
3717 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3718 ac_clean_files=$ac_clean_files_save
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3720 $as_echo_n "checking for suffix of object files... " >&6; }
3721 if ${ac_cv_objext+:} false; then :
3722 $as_echo_n "(cached) " >&6
3723 else
3724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3725 /* end confdefs.h. */
3726
3727 int
3728 main ()
3729 {
3730
3731 ;
3732 return 0;
3733 }
3734 _ACEOF
3735 rm -f conftest.o conftest.obj
3736 if { { ac_try="$ac_compile"
3737 case "(($ac_try" in
3738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3739 *) ac_try_echo=$ac_try;;
3740 esac
3741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3742 $as_echo "$ac_try_echo"; } >&5
3743 (eval "$ac_compile") 2>&5
3744 ac_status=$?
3745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3746 test $ac_status = 0; }; then :
3747 for ac_file in conftest.o conftest.obj conftest.*; do
3748 test -f "$ac_file" || continue;
3749 case $ac_file in
3750 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3751 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3752 break;;
3753 esac
3754 done
3755 else
3756 $as_echo "$as_me: failed program was:" >&5
3757 sed 's/^/| /' conftest.$ac_ext >&5
3758
3759 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3760 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3761 as_fn_error $? "cannot compute suffix of object files: cannot compile
3762 See \`config.log' for more details" "$LINENO" 5; }
3763 fi
3764 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3765 fi
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3767 $as_echo "$ac_cv_objext" >&6; }
3768 OBJEXT=$ac_cv_objext
3769 ac_objext=$OBJEXT
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3771 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3772 if ${ac_cv_c_compiler_gnu+:} false; then :
3773 $as_echo_n "(cached) " >&6
3774 else
3775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3776 /* end confdefs.h. */
3777
3778 int
3779 main ()
3780 {
3781 #ifndef __GNUC__
3782 choke me
3783 #endif
3784
3785 ;
3786 return 0;
3787 }
3788 _ACEOF
3789 if ac_fn_c_try_compile "$LINENO"; then :
3790 ac_compiler_gnu=yes
3791 else
3792 ac_compiler_gnu=no
3793 fi
3794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3795 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3796
3797 fi
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3799 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3800 if test $ac_compiler_gnu = yes; then
3801 GCC=yes
3802 else
3803 GCC=
3804 fi
3805 ac_test_CFLAGS=${CFLAGS+set}
3806 ac_save_CFLAGS=$CFLAGS
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3808 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3809 if ${ac_cv_prog_cc_g+:} false; then :
3810 $as_echo_n "(cached) " >&6
3811 else
3812 ac_save_c_werror_flag=$ac_c_werror_flag
3813 ac_c_werror_flag=yes
3814 ac_cv_prog_cc_g=no
3815 CFLAGS="-g"
3816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3817 /* end confdefs.h. */
3818
3819 int
3820 main ()
3821 {
3822
3823 ;
3824 return 0;
3825 }
3826 _ACEOF
3827 if ac_fn_c_try_compile "$LINENO"; then :
3828 ac_cv_prog_cc_g=yes
3829 else
3830 CFLAGS=""
3831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3832 /* end confdefs.h. */
3833
3834 int
3835 main ()
3836 {
3837
3838 ;
3839 return 0;
3840 }
3841 _ACEOF
3842 if ac_fn_c_try_compile "$LINENO"; then :
3843
3844 else
3845 ac_c_werror_flag=$ac_save_c_werror_flag
3846 CFLAGS="-g"
3847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3848 /* end confdefs.h. */
3849
3850 int
3851 main ()
3852 {
3853
3854 ;
3855 return 0;
3856 }
3857 _ACEOF
3858 if ac_fn_c_try_compile "$LINENO"; then :
3859 ac_cv_prog_cc_g=yes
3860 fi
3861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3862 fi
3863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3864 fi
3865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3866 ac_c_werror_flag=$ac_save_c_werror_flag
3867 fi
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3869 $as_echo "$ac_cv_prog_cc_g" >&6; }
3870 if test "$ac_test_CFLAGS" = set; then
3871 CFLAGS=$ac_save_CFLAGS
3872 elif test $ac_cv_prog_cc_g = yes; then
3873 if test "$GCC" = yes; then
3874 CFLAGS="-g -O2"
3875 else
3876 CFLAGS="-g"
3877 fi
3878 else
3879 if test "$GCC" = yes; then
3880 CFLAGS="-O2"
3881 else
3882 CFLAGS=
3883 fi
3884 fi
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3886 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3887 if ${ac_cv_prog_cc_c89+:} false; then :
3888 $as_echo_n "(cached) " >&6
3889 else
3890 ac_cv_prog_cc_c89=no
3891 ac_save_CC=$CC
3892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3893 /* end confdefs.h. */
3894 #include <stdarg.h>
3895 #include <stdio.h>
3896 struct stat;
3897 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3898 struct buf { int x; };
3899 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3900 static char *e (p, i)
3901 char **p;
3902 int i;
3903 {
3904 return p[i];
3905 }
3906 static char *f (char * (*g) (char **, int), char **p, ...)
3907 {
3908 char *s;
3909 va_list v;
3910 va_start (v,p);
3911 s = g (p, va_arg (v,int));
3912 va_end (v);
3913 return s;
3914 }
3915
3916 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3917 function prototypes and stuff, but not '\xHH' hex character constants.
3918 These don't provoke an error unfortunately, instead are silently treated
3919 as 'x'. The following induces an error, until -std is added to get
3920 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3921 array size at least. It's necessary to write '\x00'==0 to get something
3922 that's true only with -std. */
3923 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3924
3925 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3926 inside strings and character constants. */
3927 #define FOO(x) 'x'
3928 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3929
3930 int test (int i, double x);
3931 struct s1 {int (*f) (int a);};
3932 struct s2 {int (*f) (double a);};
3933 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3934 int argc;
3935 char **argv;
3936 int
3937 main ()
3938 {
3939 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3940 ;
3941 return 0;
3942 }
3943 _ACEOF
3944 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3945 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3946 do
3947 CC="$ac_save_CC $ac_arg"
3948 if ac_fn_c_try_compile "$LINENO"; then :
3949 ac_cv_prog_cc_c89=$ac_arg
3950 fi
3951 rm -f core conftest.err conftest.$ac_objext
3952 test "x$ac_cv_prog_cc_c89" != "xno" && break
3953 done
3954 rm -f conftest.$ac_ext
3955 CC=$ac_save_CC
3956
3957 fi
3958 # AC_CACHE_VAL
3959 case "x$ac_cv_prog_cc_c89" in
3960 x)
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3962 $as_echo "none needed" >&6; } ;;
3963 xno)
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3965 $as_echo "unsupported" >&6; } ;;
3966 *)
3967 CC="$CC $ac_cv_prog_cc_c89"
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3969 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3970 esac
3971 if test "x$ac_cv_prog_cc_c89" != xno; then :
3972
3973 fi
3974
3975 ac_ext=c
3976 ac_cpp='$CPP $CPPFLAGS'
3977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3980
3981 ac_ext=c
3982 ac_cpp='$CPP $CPPFLAGS'
3983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3987 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3988 if ${am_cv_prog_cc_c_o+:} false; then :
3989 $as_echo_n "(cached) " >&6
3990 else
3991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3992 /* end confdefs.h. */
3993
3994 int
3995 main ()
3996 {
3997
3998 ;
3999 return 0;
4000 }
4001 _ACEOF
4002 # Make sure it works both with $CC and with simple cc.
4003 # Following AC_PROG_CC_C_O, we do the test twice because some
4004 # compilers refuse to overwrite an existing .o file with -o,
4005 # though they will create one.
4006 am_cv_prog_cc_c_o=yes
4007 for am_i in 1 2; do
4008 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4009 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4010 ac_status=$?
4011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4012 (exit $ac_status); } \
4013 && test -f conftest2.$ac_objext; then
4014 : OK
4015 else
4016 am_cv_prog_cc_c_o=no
4017 break
4018 fi
4019 done
4020 rm -f core conftest*
4021 unset am_i
4022 fi
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4024 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4025 if test "$am_cv_prog_cc_c_o" != yes; then
4026 # Losing compiler, so override with the script.
4027 # FIXME: It is wrong to rewrite CC.
4028 # But if we don't then we get into trouble of one sort or another.
4029 # A longer-term fix would be to have automake use am__CC in this case,
4030 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4031 CC="$am_aux_dir/compile $CC"
4032 fi
4033 ac_ext=c
4034 ac_cpp='$CPP $CPPFLAGS'
4035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4038
4039
4040 depcc="$CC" am_compiler_list=
4041
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4043 $as_echo_n "checking dependency style of $depcc... " >&6; }
4044 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4045 $as_echo_n "(cached) " >&6
4046 else
4047 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4048 # We make a subdir and do the tests there. Otherwise we can end up
4049 # making bogus files that we don't know about and never remove. For
4050 # instance it was reported that on HP-UX the gcc test will end up
4051 # making a dummy file named 'D' -- because '-MD' means "put the output
4052 # in D".
4053 rm -rf conftest.dir
4054 mkdir conftest.dir
4055 # Copy depcomp to subdir because otherwise we won't find it if we're
4056 # using a relative directory.
4057 cp "$am_depcomp" conftest.dir
4058 cd conftest.dir
4059 # We will build objects and dependencies in a subdirectory because
4060 # it helps to detect inapplicable dependency modes. For instance
4061 # both Tru64's cc and ICC support -MD to output dependencies as a
4062 # side effect of compilation, but ICC will put the dependencies in
4063 # the current directory while Tru64 will put them in the object
4064 # directory.
4065 mkdir sub
4066
4067 am_cv_CC_dependencies_compiler_type=none
4068 if test "$am_compiler_list" = ""; then
4069 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4070 fi
4071 am__universal=false
4072 case " $depcc " in #(
4073 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4074 esac
4075
4076 for depmode in $am_compiler_list; do
4077 # Setup a source with many dependencies, because some compilers
4078 # like to wrap large dependency lists on column 80 (with \), and
4079 # we should not choose a depcomp mode which is confused by this.
4080 #
4081 # We need to recreate these files for each test, as the compiler may
4082 # overwrite some of them when testing with obscure command lines.
4083 # This happens at least with the AIX C compiler.
4084 : > sub/conftest.c
4085 for i in 1 2 3 4 5 6; do
4086 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4087 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4088 # Solaris 10 /bin/sh.
4089 echo '/* dummy */' > sub/conftst$i.h
4090 done
4091 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4092
4093 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4094 # mode. It turns out that the SunPro C++ compiler does not properly
4095 # handle '-M -o', and we need to detect this. Also, some Intel
4096 # versions had trouble with output in subdirs.
4097 am__obj=sub/conftest.${OBJEXT-o}
4098 am__minus_obj="-o $am__obj"
4099 case $depmode in
4100 gcc)
4101 # This depmode causes a compiler race in universal mode.
4102 test "$am__universal" = false || continue
4103 ;;
4104 nosideeffect)
4105 # After this tag, mechanisms are not by side-effect, so they'll
4106 # only be used when explicitly requested.
4107 if test "x$enable_dependency_tracking" = xyes; then
4108 continue
4109 else
4110 break
4111 fi
4112 ;;
4113 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4114 # This compiler won't grok '-c -o', but also, the minuso test has
4115 # not run yet. These depmodes are late enough in the game, and
4116 # so weak that their functioning should not be impacted.
4117 am__obj=conftest.${OBJEXT-o}
4118 am__minus_obj=
4119 ;;
4120 none) break ;;
4121 esac
4122 if depmode=$depmode \
4123 source=sub/conftest.c object=$am__obj \
4124 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4125 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4126 >/dev/null 2>conftest.err &&
4127 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4128 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4129 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4130 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4131 # icc doesn't choke on unknown options, it will just issue warnings
4132 # or remarks (even with -Werror). So we grep stderr for any message
4133 # that says an option was ignored or not supported.
4134 # When given -MP, icc 7.0 and 7.1 complain thusly:
4135 # icc: Command line warning: ignoring option '-M'; no argument required
4136 # The diagnosis changed in icc 8.0:
4137 # icc: Command line remark: option '-MP' not supported
4138 if (grep 'ignoring option' conftest.err ||
4139 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4140 am_cv_CC_dependencies_compiler_type=$depmode
4141 break
4142 fi
4143 fi
4144 done
4145
4146 cd ..
4147 rm -rf conftest.dir
4148 else
4149 am_cv_CC_dependencies_compiler_type=none
4150 fi
4151
4152 fi
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4154 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4155 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4156
4157 if
4158 test "x$enable_dependency_tracking" != xno \
4159 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4160 am__fastdepCC_TRUE=
4161 am__fastdepCC_FALSE='#'
4162 else
4163 am__fastdepCC_TRUE='#'
4164 am__fastdepCC_FALSE=
4165 fi
4166
4167
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4169 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4170 if ${ac_cv_path_SED+:} false; then :
4171 $as_echo_n "(cached) " >&6
4172 else
4173 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4174 for ac_i in 1 2 3 4 5 6 7; do
4175 ac_script="$ac_script$as_nl$ac_script"
4176 done
4177 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4178 { ac_script=; unset ac_script;}
4179 if test -z "$SED"; then
4180 ac_path_SED_found=false
4181 # Loop through the user's path and test for each of PROGNAME-LIST
4182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4183 for as_dir in $PATH
4184 do
4185 IFS=$as_save_IFS
4186 test -z "$as_dir" && as_dir=.
4187 for ac_prog in sed gsed; do
4188 for ac_exec_ext in '' $ac_executable_extensions; do
4189 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4190 as_fn_executable_p "$ac_path_SED" || continue
4191 # Check for GNU ac_path_SED and select it if it is found.
4192 # Check for GNU $ac_path_SED
4193 case `"$ac_path_SED" --version 2>&1` in
4194 *GNU*)
4195 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4196 *)
4197 ac_count=0
4198 $as_echo_n 0123456789 >"conftest.in"
4199 while :
4200 do
4201 cat "conftest.in" "conftest.in" >"conftest.tmp"
4202 mv "conftest.tmp" "conftest.in"
4203 cp "conftest.in" "conftest.nl"
4204 $as_echo '' >> "conftest.nl"
4205 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4206 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4207 as_fn_arith $ac_count + 1 && ac_count=$as_val
4208 if test $ac_count -gt ${ac_path_SED_max-0}; then
4209 # Best one so far, save it but keep looking for a better one
4210 ac_cv_path_SED="$ac_path_SED"
4211 ac_path_SED_max=$ac_count
4212 fi
4213 # 10*(2^10) chars as input seems more than enough
4214 test $ac_count -gt 10 && break
4215 done
4216 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4217 esac
4218
4219 $ac_path_SED_found && break 3
4220 done
4221 done
4222 done
4223 IFS=$as_save_IFS
4224 if test -z "$ac_cv_path_SED"; then
4225 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4226 fi
4227 else
4228 ac_cv_path_SED=$SED
4229 fi
4230
4231 fi
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4233 $as_echo "$ac_cv_path_SED" >&6; }
4234 SED="$ac_cv_path_SED"
4235 rm -f conftest.sed
4236
4237 test -z "$SED" && SED=sed
4238 Xsed="$SED -e 1s/^X//"
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4251 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4252 if ${ac_cv_path_GREP+:} false; then :
4253 $as_echo_n "(cached) " >&6
4254 else
4255 if test -z "$GREP"; then
4256 ac_path_GREP_found=false
4257 # Loop through the user's path and test for each of PROGNAME-LIST
4258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4259 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4260 do
4261 IFS=$as_save_IFS
4262 test -z "$as_dir" && as_dir=.
4263 for ac_prog in grep ggrep; do
4264 for ac_exec_ext in '' $ac_executable_extensions; do
4265 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4266 as_fn_executable_p "$ac_path_GREP" || continue
4267 # Check for GNU ac_path_GREP and select it if it is found.
4268 # Check for GNU $ac_path_GREP
4269 case `"$ac_path_GREP" --version 2>&1` in
4270 *GNU*)
4271 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4272 *)
4273 ac_count=0
4274 $as_echo_n 0123456789 >"conftest.in"
4275 while :
4276 do
4277 cat "conftest.in" "conftest.in" >"conftest.tmp"
4278 mv "conftest.tmp" "conftest.in"
4279 cp "conftest.in" "conftest.nl"
4280 $as_echo 'GREP' >> "conftest.nl"
4281 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4282 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4283 as_fn_arith $ac_count + 1 && ac_count=$as_val
4284 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4285 # Best one so far, save it but keep looking for a better one
4286 ac_cv_path_GREP="$ac_path_GREP"
4287 ac_path_GREP_max=$ac_count
4288 fi
4289 # 10*(2^10) chars as input seems more than enough
4290 test $ac_count -gt 10 && break
4291 done
4292 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4293 esac
4294
4295 $ac_path_GREP_found && break 3
4296 done
4297 done
4298 done
4299 IFS=$as_save_IFS
4300 if test -z "$ac_cv_path_GREP"; then
4301 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4302 fi
4303 else
4304 ac_cv_path_GREP=$GREP
4305 fi
4306
4307 fi
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4309 $as_echo "$ac_cv_path_GREP" >&6; }
4310 GREP="$ac_cv_path_GREP"
4311
4312
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4314 $as_echo_n "checking for egrep... " >&6; }
4315 if ${ac_cv_path_EGREP+:} false; then :
4316 $as_echo_n "(cached) " >&6
4317 else
4318 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4319 then ac_cv_path_EGREP="$GREP -E"
4320 else
4321 if test -z "$EGREP"; then
4322 ac_path_EGREP_found=false
4323 # Loop through the user's path and test for each of PROGNAME-LIST
4324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4325 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4326 do
4327 IFS=$as_save_IFS
4328 test -z "$as_dir" && as_dir=.
4329 for ac_prog in egrep; do
4330 for ac_exec_ext in '' $ac_executable_extensions; do
4331 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4332 as_fn_executable_p "$ac_path_EGREP" || continue
4333 # Check for GNU ac_path_EGREP and select it if it is found.
4334 # Check for GNU $ac_path_EGREP
4335 case `"$ac_path_EGREP" --version 2>&1` in
4336 *GNU*)
4337 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4338 *)
4339 ac_count=0
4340 $as_echo_n 0123456789 >"conftest.in"
4341 while :
4342 do
4343 cat "conftest.in" "conftest.in" >"conftest.tmp"
4344 mv "conftest.tmp" "conftest.in"
4345 cp "conftest.in" "conftest.nl"
4346 $as_echo 'EGREP' >> "conftest.nl"
4347 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4348 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4349 as_fn_arith $ac_count + 1 && ac_count=$as_val
4350 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4351 # Best one so far, save it but keep looking for a better one
4352 ac_cv_path_EGREP="$ac_path_EGREP"
4353 ac_path_EGREP_max=$ac_count
4354 fi
4355 # 10*(2^10) chars as input seems more than enough
4356 test $ac_count -gt 10 && break
4357 done
4358 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4359 esac
4360
4361 $ac_path_EGREP_found && break 3
4362 done
4363 done
4364 done
4365 IFS=$as_save_IFS
4366 if test -z "$ac_cv_path_EGREP"; then
4367 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4368 fi
4369 else
4370 ac_cv_path_EGREP=$EGREP
4371 fi
4372
4373 fi
4374 fi
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4376 $as_echo "$ac_cv_path_EGREP" >&6; }
4377 EGREP="$ac_cv_path_EGREP"
4378
4379
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4381 $as_echo_n "checking for fgrep... " >&6; }
4382 if ${ac_cv_path_FGREP+:} false; then :
4383 $as_echo_n "(cached) " >&6
4384 else
4385 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4386 then ac_cv_path_FGREP="$GREP -F"
4387 else
4388 if test -z "$FGREP"; then
4389 ac_path_FGREP_found=false
4390 # Loop through the user's path and test for each of PROGNAME-LIST
4391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4392 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4393 do
4394 IFS=$as_save_IFS
4395 test -z "$as_dir" && as_dir=.
4396 for ac_prog in fgrep; do
4397 for ac_exec_ext in '' $ac_executable_extensions; do
4398 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4399 as_fn_executable_p "$ac_path_FGREP" || continue
4400 # Check for GNU ac_path_FGREP and select it if it is found.
4401 # Check for GNU $ac_path_FGREP
4402 case `"$ac_path_FGREP" --version 2>&1` in
4403 *GNU*)
4404 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4405 *)
4406 ac_count=0
4407 $as_echo_n 0123456789 >"conftest.in"
4408 while :
4409 do
4410 cat "conftest.in" "conftest.in" >"conftest.tmp"
4411 mv "conftest.tmp" "conftest.in"
4412 cp "conftest.in" "conftest.nl"
4413 $as_echo 'FGREP' >> "conftest.nl"
4414 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4415 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4416 as_fn_arith $ac_count + 1 && ac_count=$as_val
4417 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4418 # Best one so far, save it but keep looking for a better one
4419 ac_cv_path_FGREP="$ac_path_FGREP"
4420 ac_path_FGREP_max=$ac_count
4421 fi
4422 # 10*(2^10) chars as input seems more than enough
4423 test $ac_count -gt 10 && break
4424 done
4425 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4426 esac
4427
4428 $ac_path_FGREP_found && break 3
4429 done
4430 done
4431 done
4432 IFS=$as_save_IFS
4433 if test -z "$ac_cv_path_FGREP"; then
4434 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4435 fi
4436 else
4437 ac_cv_path_FGREP=$FGREP
4438 fi
4439
4440 fi
4441 fi
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4443 $as_echo "$ac_cv_path_FGREP" >&6; }
4444 FGREP="$ac_cv_path_FGREP"
4445
4446
4447 test -z "$GREP" && GREP=grep
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467 # Check whether --with-gnu-ld was given.
4468 if test "${with_gnu_ld+set}" = set; then :
4469 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4470 else
4471 with_gnu_ld=no
4472 fi
4473
4474 ac_prog=ld
4475 if test yes = "$GCC"; then
4476 # Check if gcc -print-prog-name=ld gives a path.
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4478 $as_echo_n "checking for ld used by $CC... " >&6; }
4479 case $host in
4480 *-*-mingw*)
4481 # gcc leaves a trailing carriage return, which upsets mingw
4482 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4483 *)
4484 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4485 esac
4486 case $ac_prog in
4487 # Accept absolute paths.
4488 [\\/]* | ?:[\\/]*)
4489 re_direlt='/[^/][^/]*/\.\./'
4490 # Canonicalize the pathname of ld
4491 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4492 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4493 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4494 done
4495 test -z "$LD" && LD=$ac_prog
4496 ;;
4497 "")
4498 # If it fails, then pretend we aren't using GCC.
4499 ac_prog=ld
4500 ;;
4501 *)
4502 # If it is relative, then search for the first ld in PATH.
4503 with_gnu_ld=unknown
4504 ;;
4505 esac
4506 elif test yes = "$with_gnu_ld"; then
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4508 $as_echo_n "checking for GNU ld... " >&6; }
4509 else
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4511 $as_echo_n "checking for non-GNU ld... " >&6; }
4512 fi
4513 if ${lt_cv_path_LD+:} false; then :
4514 $as_echo_n "(cached) " >&6
4515 else
4516 if test -z "$LD"; then
4517 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4518 for ac_dir in $PATH; do
4519 IFS=$lt_save_ifs
4520 test -z "$ac_dir" && ac_dir=.
4521 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4522 lt_cv_path_LD=$ac_dir/$ac_prog
4523 # Check to see if the program is GNU ld. I'd rather use --version,
4524 # but apparently some variants of GNU ld only accept -v.
4525 # Break only if it was the GNU/non-GNU ld that we prefer.
4526 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4527 *GNU* | *'with BFD'*)
4528 test no != "$with_gnu_ld" && break
4529 ;;
4530 *)
4531 test yes != "$with_gnu_ld" && break
4532 ;;
4533 esac
4534 fi
4535 done
4536 IFS=$lt_save_ifs
4537 else
4538 lt_cv_path_LD=$LD # Let the user override the test with a path.
4539 fi
4540 fi
4541
4542 LD=$lt_cv_path_LD
4543 if test -n "$LD"; then
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4545 $as_echo "$LD" >&6; }
4546 else
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4548 $as_echo "no" >&6; }
4549 fi
4550 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4552 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4553 if ${lt_cv_prog_gnu_ld+:} false; then :
4554 $as_echo_n "(cached) " >&6
4555 else
4556 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4557 case `$LD -v 2>&1 </dev/null` in
4558 *GNU* | *'with BFD'*)
4559 lt_cv_prog_gnu_ld=yes
4560 ;;
4561 *)
4562 lt_cv_prog_gnu_ld=no
4563 ;;
4564 esac
4565 fi
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4567 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4568 with_gnu_ld=$lt_cv_prog_gnu_ld
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4579 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4580 if ${lt_cv_path_NM+:} false; then :
4581 $as_echo_n "(cached) " >&6
4582 else
4583 if test -n "$NM"; then
4584 # Let the user override the test.
4585 lt_cv_path_NM=$NM
4586 else
4587 lt_nm_to_check=${ac_tool_prefix}nm
4588 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4589 lt_nm_to_check="$lt_nm_to_check nm"
4590 fi
4591 for lt_tmp_nm in $lt_nm_to_check; do
4592 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4593 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4594 IFS=$lt_save_ifs
4595 test -z "$ac_dir" && ac_dir=.
4596 tmp_nm=$ac_dir/$lt_tmp_nm
4597 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4598 # Check to see if the nm accepts a BSD-compat flag.
4599 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4600 # nm: unknown option "B" ignored
4601 # Tru64's nm complains that /dev/null is an invalid object file
4602 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4603 case $build_os in
4604 mingw*) lt_bad_file=conftest.nm/nofile ;;
4605 *) lt_bad_file=/dev/null ;;
4606 esac
4607 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4608 *$lt_bad_file* | *'Invalid file or object type'*)
4609 lt_cv_path_NM="$tmp_nm -B"
4610 break 2
4611 ;;
4612 *)
4613 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4614 */dev/null*)
4615 lt_cv_path_NM="$tmp_nm -p"
4616 break 2
4617 ;;
4618 *)
4619 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4620 continue # so that we can try to find one that supports BSD flags
4621 ;;
4622 esac
4623 ;;
4624 esac
4625 fi
4626 done
4627 IFS=$lt_save_ifs
4628 done
4629 : ${lt_cv_path_NM=no}
4630 fi
4631 fi
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4633 $as_echo "$lt_cv_path_NM" >&6; }
4634 if test no != "$lt_cv_path_NM"; then
4635 NM=$lt_cv_path_NM
4636 else
4637 # Didn't find any BSD compatible name lister, look for dumpbin.
4638 if test -n "$DUMPBIN"; then :
4639 # Let the user override the test.
4640 else
4641 if test -n "$ac_tool_prefix"; then
4642 for ac_prog in dumpbin "link -dump"
4643 do
4644 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4645 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4647 $as_echo_n "checking for $ac_word... " >&6; }
4648 if ${ac_cv_prog_DUMPBIN+:} false; then :
4649 $as_echo_n "(cached) " >&6
4650 else
4651 if test -n "$DUMPBIN"; then
4652 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4653 else
4654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4655 for as_dir in $PATH
4656 do
4657 IFS=$as_save_IFS
4658 test -z "$as_dir" && as_dir=.
4659 for ac_exec_ext in '' $ac_executable_extensions; do
4660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4661 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4663 break 2
4664 fi
4665 done
4666 done
4667 IFS=$as_save_IFS
4668
4669 fi
4670 fi
4671 DUMPBIN=$ac_cv_prog_DUMPBIN
4672 if test -n "$DUMPBIN"; then
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4674 $as_echo "$DUMPBIN" >&6; }
4675 else
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4677 $as_echo "no" >&6; }
4678 fi
4679
4680
4681 test -n "$DUMPBIN" && break
4682 done
4683 fi
4684 if test -z "$DUMPBIN"; then
4685 ac_ct_DUMPBIN=$DUMPBIN
4686 for ac_prog in dumpbin "link -dump"
4687 do
4688 # Extract the first word of "$ac_prog", so it can be a program name with args.
4689 set dummy $ac_prog; ac_word=$2
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4691 $as_echo_n "checking for $ac_word... " >&6; }
4692 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4693 $as_echo_n "(cached) " >&6
4694 else
4695 if test -n "$ac_ct_DUMPBIN"; then
4696 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4697 else
4698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4699 for as_dir in $PATH
4700 do
4701 IFS=$as_save_IFS
4702 test -z "$as_dir" && as_dir=.
4703 for ac_exec_ext in '' $ac_executable_extensions; do
4704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4705 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4707 break 2
4708 fi
4709 done
4710 done
4711 IFS=$as_save_IFS
4712
4713 fi
4714 fi
4715 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4716 if test -n "$ac_ct_DUMPBIN"; then
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4718 $as_echo "$ac_ct_DUMPBIN" >&6; }
4719 else
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4721 $as_echo "no" >&6; }
4722 fi
4723
4724
4725 test -n "$ac_ct_DUMPBIN" && break
4726 done
4727
4728 if test "x$ac_ct_DUMPBIN" = x; then
4729 DUMPBIN=":"
4730 else
4731 case $cross_compiling:$ac_tool_warned in
4732 yes:)
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4734 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4735 ac_tool_warned=yes ;;
4736 esac
4737 DUMPBIN=$ac_ct_DUMPBIN
4738 fi
4739 fi
4740
4741 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4742 *COFF*)
4743 DUMPBIN="$DUMPBIN -symbols -headers"
4744 ;;
4745 *)
4746 DUMPBIN=:
4747 ;;
4748 esac
4749 fi
4750
4751 if test : != "$DUMPBIN"; then
4752 NM=$DUMPBIN
4753 fi
4754 fi
4755 test -z "$NM" && NM=nm
4756
4757
4758
4759
4760
4761
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4763 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4764 if ${lt_cv_nm_interface+:} false; then :
4765 $as_echo_n "(cached) " >&6
4766 else
4767 lt_cv_nm_interface="BSD nm"
4768 echo "int some_variable = 0;" > conftest.$ac_ext
4769 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4770 (eval "$ac_compile" 2>conftest.err)
4771 cat conftest.err >&5
4772 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4773 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4774 cat conftest.err >&5
4775 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4776 cat conftest.out >&5
4777 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4778 lt_cv_nm_interface="MS dumpbin"
4779 fi
4780 rm -f conftest*
4781 fi
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4783 $as_echo "$lt_cv_nm_interface" >&6; }
4784
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4786 $as_echo_n "checking whether ln -s works... " >&6; }
4787 LN_S=$as_ln_s
4788 if test "$LN_S" = "ln -s"; then
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4790 $as_echo "yes" >&6; }
4791 else
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4793 $as_echo "no, using $LN_S" >&6; }
4794 fi
4795
4796 # find the maximum length of command line arguments
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4798 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4799 if ${lt_cv_sys_max_cmd_len+:} false; then :
4800 $as_echo_n "(cached) " >&6
4801 else
4802 i=0
4803 teststring=ABCD
4804
4805 case $build_os in
4806 msdosdjgpp*)
4807 # On DJGPP, this test can blow up pretty badly due to problems in libc
4808 # (any single argument exceeding 2000 bytes causes a buffer overrun
4809 # during glob expansion). Even if it were fixed, the result of this
4810 # check would be larger than it should be.
4811 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4812 ;;
4813
4814 gnu*)
4815 # Under GNU Hurd, this test is not required because there is
4816 # no limit to the length of command line arguments.
4817 # Libtool will interpret -1 as no limit whatsoever
4818 lt_cv_sys_max_cmd_len=-1;
4819 ;;
4820
4821 cygwin* | mingw* | cegcc*)
4822 # On Win9x/ME, this test blows up -- it succeeds, but takes
4823 # about 5 minutes as the teststring grows exponentially.
4824 # Worse, since 9x/ME are not pre-emptively multitasking,
4825 # you end up with a "frozen" computer, even though with patience
4826 # the test eventually succeeds (with a max line length of 256k).
4827 # Instead, let's just punt: use the minimum linelength reported by
4828 # all of the supported platforms: 8192 (on NT/2K/XP).
4829 lt_cv_sys_max_cmd_len=8192;
4830 ;;
4831
4832 mint*)
4833 # On MiNT this can take a long time and run out of memory.
4834 lt_cv_sys_max_cmd_len=8192;
4835 ;;
4836
4837 amigaos*)
4838 # On AmigaOS with pdksh, this test takes hours, literally.
4839 # So we just punt and use a minimum line length of 8192.
4840 lt_cv_sys_max_cmd_len=8192;
4841 ;;
4842
4843 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
4844 # This has been around since 386BSD, at least. Likely further.
4845 if test -x /sbin/sysctl; then
4846 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4847 elif test -x /usr/sbin/sysctl; then
4848 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4849 else
4850 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4851 fi
4852 # And add a safety zone
4853 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4854 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4855 ;;
4856
4857 interix*)
4858 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4859 lt_cv_sys_max_cmd_len=196608
4860 ;;
4861
4862 os2*)
4863 # The test takes a long time on OS/2.
4864 lt_cv_sys_max_cmd_len=8192
4865 ;;
4866
4867 osf*)
4868 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4869 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4870 # nice to cause kernel panics so lets avoid the loop below.
4871 # First set a reasonable default.
4872 lt_cv_sys_max_cmd_len=16384
4873 #
4874 if test -x /sbin/sysconfig; then
4875 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4876 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4877 esac
4878 fi
4879 ;;
4880 sco3.2v5*)
4881 lt_cv_sys_max_cmd_len=102400
4882 ;;
4883 sysv5* | sco5v6* | sysv4.2uw2*)
4884 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4885 if test -n "$kargmax"; then
4886 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4887 else
4888 lt_cv_sys_max_cmd_len=32768
4889 fi
4890 ;;
4891 *)
4892 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4893 if test -n "$lt_cv_sys_max_cmd_len" && \
4894 test undefined != "$lt_cv_sys_max_cmd_len"; then
4895 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4896 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4897 else
4898 # Make teststring a little bigger before we do anything with it.
4899 # a 1K string should be a reasonable start.
4900 for i in 1 2 3 4 5 6 7 8; do
4901 teststring=$teststring$teststring
4902 done
4903 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4904 # If test is not a shell built-in, we'll probably end up computing a
4905 # maximum length that is only half of the actual maximum length, but
4906 # we can't tell.
4907 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
4908 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4909 test 17 != "$i" # 1/2 MB should be enough
4910 do
4911 i=`expr $i + 1`
4912 teststring=$teststring$teststring
4913 done
4914 # Only check the string length outside the loop.
4915 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4916 teststring=
4917 # Add a significant safety factor because C++ compilers can tack on
4918 # massive amounts of additional arguments before passing them to the
4919 # linker. It appears as though 1/2 is a usable value.
4920 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4921 fi
4922 ;;
4923 esac
4924
4925 fi
4926
4927 if test -n "$lt_cv_sys_max_cmd_len"; then
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4929 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4930 else
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4932 $as_echo "none" >&6; }
4933 fi
4934 max_cmd_len=$lt_cv_sys_max_cmd_len
4935
4936
4937
4938
4939
4940
4941 : ${CP="cp -f"}
4942 : ${MV="mv -f"}
4943 : ${RM="rm -f"}
4944
4945 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4946 lt_unset=unset
4947 else
4948 lt_unset=false
4949 fi
4950
4951
4952
4953
4954
4955 # test EBCDIC or ASCII
4956 case `echo X|tr X '\101'` in
4957 A) # ASCII based system
4958 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4959 lt_SP2NL='tr \040 \012'
4960 lt_NL2SP='tr \015\012 \040\040'
4961 ;;
4962 *) # EBCDIC based system
4963 lt_SP2NL='tr \100 \n'
4964 lt_NL2SP='tr \r\n \100\100'
4965 ;;
4966 esac
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4977 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4978 if ${lt_cv_to_host_file_cmd+:} false; then :
4979 $as_echo_n "(cached) " >&6
4980 else
4981 case $host in
4982 *-*-mingw* )
4983 case $build in
4984 *-*-mingw* ) # actually msys
4985 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4986 ;;
4987 *-*-cygwin* )
4988 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4989 ;;
4990 * ) # otherwise, assume *nix
4991 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4992 ;;
4993 esac
4994 ;;
4995 *-*-cygwin* )
4996 case $build in
4997 *-*-mingw* ) # actually msys
4998 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4999 ;;
5000 *-*-cygwin* )
5001 lt_cv_to_host_file_cmd=func_convert_file_noop
5002 ;;
5003 * ) # otherwise, assume *nix
5004 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5005 ;;
5006 esac
5007 ;;
5008 * ) # unhandled hosts (and "normal" native builds)
5009 lt_cv_to_host_file_cmd=func_convert_file_noop
5010 ;;
5011 esac
5012
5013 fi
5014
5015 to_host_file_cmd=$lt_cv_to_host_file_cmd
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5017 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5018
5019
5020
5021
5022
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5024 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5025 if ${lt_cv_to_tool_file_cmd+:} false; then :
5026 $as_echo_n "(cached) " >&6
5027 else
5028 #assume ordinary cross tools, or native build.
5029 lt_cv_to_tool_file_cmd=func_convert_file_noop
5030 case $host in
5031 *-*-mingw* )
5032 case $build in
5033 *-*-mingw* ) # actually msys
5034 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5035 ;;
5036 esac
5037 ;;
5038 esac
5039
5040 fi
5041
5042 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5044 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5045
5046
5047
5048
5049
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5051 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5052 if ${lt_cv_ld_reload_flag+:} false; then :
5053 $as_echo_n "(cached) " >&6
5054 else
5055 lt_cv_ld_reload_flag='-r'
5056 fi
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5058 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5059 reload_flag=$lt_cv_ld_reload_flag
5060 case $reload_flag in
5061 "" | " "*) ;;
5062 *) reload_flag=" $reload_flag" ;;
5063 esac
5064 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5065 case $host_os in
5066 cygwin* | mingw* | pw32* | cegcc*)
5067 if test yes != "$GCC"; then
5068 reload_cmds=false
5069 fi
5070 ;;
5071 darwin*)
5072 if test yes = "$GCC"; then
5073 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5074 else
5075 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5076 fi
5077 ;;
5078 esac
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088 if test -n "$ac_tool_prefix"; then
5089 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5090 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5092 $as_echo_n "checking for $ac_word... " >&6; }
5093 if ${ac_cv_prog_OBJDUMP+:} false; then :
5094 $as_echo_n "(cached) " >&6
5095 else
5096 if test -n "$OBJDUMP"; then
5097 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5098 else
5099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5100 for as_dir in $PATH
5101 do
5102 IFS=$as_save_IFS
5103 test -z "$as_dir" && as_dir=.
5104 for ac_exec_ext in '' $ac_executable_extensions; do
5105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5106 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5108 break 2
5109 fi
5110 done
5111 done
5112 IFS=$as_save_IFS
5113
5114 fi
5115 fi
5116 OBJDUMP=$ac_cv_prog_OBJDUMP
5117 if test -n "$OBJDUMP"; then
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5119 $as_echo "$OBJDUMP" >&6; }
5120 else
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5122 $as_echo "no" >&6; }
5123 fi
5124
5125
5126 fi
5127 if test -z "$ac_cv_prog_OBJDUMP"; then
5128 ac_ct_OBJDUMP=$OBJDUMP
5129 # Extract the first word of "objdump", so it can be a program name with args.
5130 set dummy objdump; ac_word=$2
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5132 $as_echo_n "checking for $ac_word... " >&6; }
5133 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5134 $as_echo_n "(cached) " >&6
5135 else
5136 if test -n "$ac_ct_OBJDUMP"; then
5137 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5138 else
5139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5140 for as_dir in $PATH
5141 do
5142 IFS=$as_save_IFS
5143 test -z "$as_dir" && as_dir=.
5144 for ac_exec_ext in '' $ac_executable_extensions; do
5145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5146 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5148 break 2
5149 fi
5150 done
5151 done
5152 IFS=$as_save_IFS
5153
5154 fi
5155 fi
5156 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5157 if test -n "$ac_ct_OBJDUMP"; then
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5159 $as_echo "$ac_ct_OBJDUMP" >&6; }
5160 else
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5162 $as_echo "no" >&6; }
5163 fi
5164
5165 if test "x$ac_ct_OBJDUMP" = x; then
5166 OBJDUMP="false"
5167 else
5168 case $cross_compiling:$ac_tool_warned in
5169 yes:)
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5171 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5172 ac_tool_warned=yes ;;
5173 esac
5174 OBJDUMP=$ac_ct_OBJDUMP
5175 fi
5176 else
5177 OBJDUMP="$ac_cv_prog_OBJDUMP"
5178 fi
5179
5180 test -z "$OBJDUMP" && OBJDUMP=objdump
5181
5182
5183
5184
5185
5186
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5188 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5189 if ${lt_cv_deplibs_check_method+:} false; then :
5190 $as_echo_n "(cached) " >&6
5191 else
5192 lt_cv_file_magic_cmd='$MAGIC_CMD'
5193 lt_cv_file_magic_test_file=
5194 lt_cv_deplibs_check_method='unknown'
5195 # Need to set the preceding variable on all platforms that support
5196 # interlibrary dependencies.
5197 # 'none' -- dependencies not supported.
5198 # 'unknown' -- same as none, but documents that we really don't know.
5199 # 'pass_all' -- all dependencies passed with no checks.
5200 # 'test_compile' -- check by making test program.
5201 # 'file_magic [[regex]]' -- check by looking for files in library path
5202 # that responds to the $file_magic_cmd with a given extended regex.
5203 # If you have 'file' or equivalent on your system and you're not sure
5204 # whether 'pass_all' will *always* work, you probably want this one.
5205
5206 case $host_os in
5207 aix[4-9]*)
5208 lt_cv_deplibs_check_method=pass_all
5209 ;;
5210
5211 beos*)
5212 lt_cv_deplibs_check_method=pass_all
5213 ;;
5214
5215 bsdi[45]*)
5216 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5217 lt_cv_file_magic_cmd='/usr/bin/file -L'
5218 lt_cv_file_magic_test_file=/shlib/libc.so
5219 ;;
5220
5221 cygwin*)
5222 # func_win32_libid is a shell function defined in ltmain.sh
5223 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5224 lt_cv_file_magic_cmd='func_win32_libid'
5225 ;;
5226
5227 mingw* | pw32*)
5228 # Base MSYS/MinGW do not provide the 'file' command needed by
5229 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5230 # unless we find 'file', for example because we are cross-compiling.
5231 if ( file / ) >/dev/null 2>&1; then
5232 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5233 lt_cv_file_magic_cmd='func_win32_libid'
5234 else
5235 # Keep this pattern in sync with the one in func_win32_libid.
5236 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5237 lt_cv_file_magic_cmd='$OBJDUMP -f'
5238 fi
5239 ;;
5240
5241 cegcc*)
5242 # use the weaker test based on 'objdump'. See mingw*.
5243 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5244 lt_cv_file_magic_cmd='$OBJDUMP -f'
5245 ;;
5246
5247 darwin* | rhapsody*)
5248 lt_cv_deplibs_check_method=pass_all
5249 ;;
5250
5251 freebsd* | dragonfly*)
5252 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5253 case $host_cpu in
5254 i*86 )
5255 # Not sure whether the presence of OpenBSD here was a mistake.
5256 # Let's accept both of them until this is cleared up.
5257 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5258 lt_cv_file_magic_cmd=/usr/bin/file
5259 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5260 ;;
5261 esac
5262 else
5263 lt_cv_deplibs_check_method=pass_all
5264 fi
5265 ;;
5266
5267 haiku*)
5268 lt_cv_deplibs_check_method=pass_all
5269 ;;
5270
5271 hpux10.20* | hpux11*)
5272 lt_cv_file_magic_cmd=/usr/bin/file
5273 case $host_cpu in
5274 ia64*)
5275 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5276 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5277 ;;
5278 hppa*64*)
5279 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]'
5280 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5281 ;;
5282 *)
5283 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5284 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5285 ;;
5286 esac
5287 ;;
5288
5289 interix[3-9]*)
5290 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5291 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5292 ;;
5293
5294 irix5* | irix6* | nonstopux*)
5295 case $LD in
5296 *-32|*"-32 ") libmagic=32-bit;;
5297 *-n32|*"-n32 ") libmagic=N32;;
5298 *-64|*"-64 ") libmagic=64-bit;;
5299 *) libmagic=never-match;;
5300 esac
5301 lt_cv_deplibs_check_method=pass_all
5302 ;;
5303
5304 # This must be glibc/ELF.
5305 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5306 lt_cv_deplibs_check_method=pass_all
5307 ;;
5308
5309 netbsd*)
5310 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5311 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5312 else
5313 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5314 fi
5315 ;;
5316
5317 newos6*)
5318 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5319 lt_cv_file_magic_cmd=/usr/bin/file
5320 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5321 ;;
5322
5323 *nto* | *qnx*)
5324 lt_cv_deplibs_check_method=pass_all
5325 ;;
5326
5327 openbsd* | bitrig*)
5328 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5329 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5330 else
5331 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5332 fi
5333 ;;
5334
5335 osf3* | osf4* | osf5*)
5336 lt_cv_deplibs_check_method=pass_all
5337 ;;
5338
5339 rdos*)
5340 lt_cv_deplibs_check_method=pass_all
5341 ;;
5342
5343 solaris*)
5344 lt_cv_deplibs_check_method=pass_all
5345 ;;
5346
5347 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5348 lt_cv_deplibs_check_method=pass_all
5349 ;;
5350
5351 sysv4 | sysv4.3*)
5352 case $host_vendor in
5353 motorola)
5354 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]'
5355 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5356 ;;
5357 ncr)
5358 lt_cv_deplibs_check_method=pass_all
5359 ;;
5360 sequent)
5361 lt_cv_file_magic_cmd='/bin/file'
5362 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5363 ;;
5364 sni)
5365 lt_cv_file_magic_cmd='/bin/file'
5366 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5367 lt_cv_file_magic_test_file=/lib/libc.so
5368 ;;
5369 siemens)
5370 lt_cv_deplibs_check_method=pass_all
5371 ;;
5372 pc)
5373 lt_cv_deplibs_check_method=pass_all
5374 ;;
5375 esac
5376 ;;
5377
5378 tpf*)
5379 lt_cv_deplibs_check_method=pass_all
5380 ;;
5381 os2*)
5382 lt_cv_deplibs_check_method=pass_all
5383 ;;
5384 esac
5385
5386 fi
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5388 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5389
5390 file_magic_glob=
5391 want_nocaseglob=no
5392 if test "$build" = "$host"; then
5393 case $host_os in
5394 mingw* | pw32*)
5395 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5396 want_nocaseglob=yes
5397 else
5398 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5399 fi
5400 ;;
5401 esac
5402 fi
5403
5404 file_magic_cmd=$lt_cv_file_magic_cmd
5405 deplibs_check_method=$lt_cv_deplibs_check_method
5406 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429 if test -n "$ac_tool_prefix"; then
5430 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5431 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5433 $as_echo_n "checking for $ac_word... " >&6; }
5434 if ${ac_cv_prog_DLLTOOL+:} false; then :
5435 $as_echo_n "(cached) " >&6
5436 else
5437 if test -n "$DLLTOOL"; then
5438 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5439 else
5440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5441 for as_dir in $PATH
5442 do
5443 IFS=$as_save_IFS
5444 test -z "$as_dir" && as_dir=.
5445 for ac_exec_ext in '' $ac_executable_extensions; do
5446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5447 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5449 break 2
5450 fi
5451 done
5452 done
5453 IFS=$as_save_IFS
5454
5455 fi
5456 fi
5457 DLLTOOL=$ac_cv_prog_DLLTOOL
5458 if test -n "$DLLTOOL"; then
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5460 $as_echo "$DLLTOOL" >&6; }
5461 else
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5463 $as_echo "no" >&6; }
5464 fi
5465
5466
5467 fi
5468 if test -z "$ac_cv_prog_DLLTOOL"; then
5469 ac_ct_DLLTOOL=$DLLTOOL
5470 # Extract the first word of "dlltool", so it can be a program name with args.
5471 set dummy dlltool; ac_word=$2
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5473 $as_echo_n "checking for $ac_word... " >&6; }
5474 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5475 $as_echo_n "(cached) " >&6
5476 else
5477 if test -n "$ac_ct_DLLTOOL"; then
5478 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5479 else
5480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5481 for as_dir in $PATH
5482 do
5483 IFS=$as_save_IFS
5484 test -z "$as_dir" && as_dir=.
5485 for ac_exec_ext in '' $ac_executable_extensions; do
5486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5487 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5489 break 2
5490 fi
5491 done
5492 done
5493 IFS=$as_save_IFS
5494
5495 fi
5496 fi
5497 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5498 if test -n "$ac_ct_DLLTOOL"; then
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5500 $as_echo "$ac_ct_DLLTOOL" >&6; }
5501 else
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5503 $as_echo "no" >&6; }
5504 fi
5505
5506 if test "x$ac_ct_DLLTOOL" = x; then
5507 DLLTOOL="false"
5508 else
5509 case $cross_compiling:$ac_tool_warned in
5510 yes:)
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5513 ac_tool_warned=yes ;;
5514 esac
5515 DLLTOOL=$ac_ct_DLLTOOL
5516 fi
5517 else
5518 DLLTOOL="$ac_cv_prog_DLLTOOL"
5519 fi
5520
5521 test -z "$DLLTOOL" && DLLTOOL=dlltool
5522
5523
5524
5525
5526
5527
5528
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5530 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5531 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5532 $as_echo_n "(cached) " >&6
5533 else
5534 lt_cv_sharedlib_from_linklib_cmd='unknown'
5535
5536 case $host_os in
5537 cygwin* | mingw* | pw32* | cegcc*)
5538 # two different shell functions defined in ltmain.sh;
5539 # decide which one to use based on capabilities of $DLLTOOL
5540 case `$DLLTOOL --help 2>&1` in
5541 *--identify-strict*)
5542 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5543 ;;
5544 *)
5545 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5546 ;;
5547 esac
5548 ;;
5549 *)
5550 # fallback: assume linklib IS sharedlib
5551 lt_cv_sharedlib_from_linklib_cmd=$ECHO
5552 ;;
5553 esac
5554
5555 fi
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5557 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5558 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5559 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5560
5561
5562
5563
5564
5565
5566
5567
5568 if test -n "$ac_tool_prefix"; then
5569 for ac_prog in ar
5570 do
5571 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5572 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5574 $as_echo_n "checking for $ac_word... " >&6; }
5575 if ${ac_cv_prog_AR+:} false; then :
5576 $as_echo_n "(cached) " >&6
5577 else
5578 if test -n "$AR"; then
5579 ac_cv_prog_AR="$AR" # Let the user override the test.
5580 else
5581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5582 for as_dir in $PATH
5583 do
5584 IFS=$as_save_IFS
5585 test -z "$as_dir" && as_dir=.
5586 for ac_exec_ext in '' $ac_executable_extensions; do
5587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5588 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5590 break 2
5591 fi
5592 done
5593 done
5594 IFS=$as_save_IFS
5595
5596 fi
5597 fi
5598 AR=$ac_cv_prog_AR
5599 if test -n "$AR"; then
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5601 $as_echo "$AR" >&6; }
5602 else
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5604 $as_echo "no" >&6; }
5605 fi
5606
5607
5608 test -n "$AR" && break
5609 done
5610 fi
5611 if test -z "$AR"; then
5612 ac_ct_AR=$AR
5613 for ac_prog in ar
5614 do
5615 # Extract the first word of "$ac_prog", so it can be a program name with args.
5616 set dummy $ac_prog; ac_word=$2
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5618 $as_echo_n "checking for $ac_word... " >&6; }
5619 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5620 $as_echo_n "(cached) " >&6
5621 else
5622 if test -n "$ac_ct_AR"; then
5623 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5624 else
5625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5626 for as_dir in $PATH
5627 do
5628 IFS=$as_save_IFS
5629 test -z "$as_dir" && as_dir=.
5630 for ac_exec_ext in '' $ac_executable_extensions; do
5631 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5632 ac_cv_prog_ac_ct_AR="$ac_prog"
5633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5634 break 2
5635 fi
5636 done
5637 done
5638 IFS=$as_save_IFS
5639
5640 fi
5641 fi
5642 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5643 if test -n "$ac_ct_AR"; then
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5645 $as_echo "$ac_ct_AR" >&6; }
5646 else
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5648 $as_echo "no" >&6; }
5649 fi
5650
5651
5652 test -n "$ac_ct_AR" && break
5653 done
5654
5655 if test "x$ac_ct_AR" = x; then
5656 AR="false"
5657 else
5658 case $cross_compiling:$ac_tool_warned in
5659 yes:)
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5661 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5662 ac_tool_warned=yes ;;
5663 esac
5664 AR=$ac_ct_AR
5665 fi
5666 fi
5667
5668 : ${AR=ar}
5669 : ${AR_FLAGS=cru}
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5682 $as_echo_n "checking for archiver @FILE support... " >&6; }
5683 if ${lt_cv_ar_at_file+:} false; then :
5684 $as_echo_n "(cached) " >&6
5685 else
5686 lt_cv_ar_at_file=no
5687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5688 /* end confdefs.h. */
5689
5690 int
5691 main ()
5692 {
5693
5694 ;
5695 return 0;
5696 }
5697 _ACEOF
5698 if ac_fn_c_try_compile "$LINENO"; then :
5699 echo conftest.$ac_objext > conftest.lst
5700 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5701 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5702 (eval $lt_ar_try) 2>&5
5703 ac_status=$?
5704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5705 test $ac_status = 0; }
5706 if test 0 -eq "$ac_status"; then
5707 # Ensure the archiver fails upon bogus file names.
5708 rm -f conftest.$ac_objext libconftest.a
5709 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5710 (eval $lt_ar_try) 2>&5
5711 ac_status=$?
5712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5713 test $ac_status = 0; }
5714 if test 0 -ne "$ac_status"; then
5715 lt_cv_ar_at_file=@
5716 fi
5717 fi
5718 rm -f conftest.* libconftest.a
5719
5720 fi
5721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5722
5723 fi
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5725 $as_echo "$lt_cv_ar_at_file" >&6; }
5726
5727 if test no = "$lt_cv_ar_at_file"; then
5728 archiver_list_spec=
5729 else
5730 archiver_list_spec=$lt_cv_ar_at_file
5731 fi
5732
5733
5734
5735
5736
5737
5738
5739 if test -n "$ac_tool_prefix"; then
5740 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5741 set dummy ${ac_tool_prefix}strip; ac_word=$2
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5743 $as_echo_n "checking for $ac_word... " >&6; }
5744 if ${ac_cv_prog_STRIP+:} false; then :
5745 $as_echo_n "(cached) " >&6
5746 else
5747 if test -n "$STRIP"; then
5748 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5749 else
5750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5751 for as_dir in $PATH
5752 do
5753 IFS=$as_save_IFS
5754 test -z "$as_dir" && as_dir=.
5755 for ac_exec_ext in '' $ac_executable_extensions; do
5756 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5757 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5759 break 2
5760 fi
5761 done
5762 done
5763 IFS=$as_save_IFS
5764
5765 fi
5766 fi
5767 STRIP=$ac_cv_prog_STRIP
5768 if test -n "$STRIP"; then
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5770 $as_echo "$STRIP" >&6; }
5771 else
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5773 $as_echo "no" >&6; }
5774 fi
5775
5776
5777 fi
5778 if test -z "$ac_cv_prog_STRIP"; then
5779 ac_ct_STRIP=$STRIP
5780 # Extract the first word of "strip", so it can be a program name with args.
5781 set dummy strip; ac_word=$2
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5783 $as_echo_n "checking for $ac_word... " >&6; }
5784 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5785 $as_echo_n "(cached) " >&6
5786 else
5787 if test -n "$ac_ct_STRIP"; then
5788 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5789 else
5790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5791 for as_dir in $PATH
5792 do
5793 IFS=$as_save_IFS
5794 test -z "$as_dir" && as_dir=.
5795 for ac_exec_ext in '' $ac_executable_extensions; do
5796 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5797 ac_cv_prog_ac_ct_STRIP="strip"
5798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5799 break 2
5800 fi
5801 done
5802 done
5803 IFS=$as_save_IFS
5804
5805 fi
5806 fi
5807 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5808 if test -n "$ac_ct_STRIP"; then
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5810 $as_echo "$ac_ct_STRIP" >&6; }
5811 else
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5813 $as_echo "no" >&6; }
5814 fi
5815
5816 if test "x$ac_ct_STRIP" = x; then
5817 STRIP=":"
5818 else
5819 case $cross_compiling:$ac_tool_warned in
5820 yes:)
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5823 ac_tool_warned=yes ;;
5824 esac
5825 STRIP=$ac_ct_STRIP
5826 fi
5827 else
5828 STRIP="$ac_cv_prog_STRIP"
5829 fi
5830
5831 test -z "$STRIP" && STRIP=:
5832
5833
5834
5835
5836
5837
5838 if test -n "$ac_tool_prefix"; then
5839 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5840 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5842 $as_echo_n "checking for $ac_word... " >&6; }
5843 if ${ac_cv_prog_RANLIB+:} false; then :
5844 $as_echo_n "(cached) " >&6
5845 else
5846 if test -n "$RANLIB"; then
5847 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5848 else
5849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5850 for as_dir in $PATH
5851 do
5852 IFS=$as_save_IFS
5853 test -z "$as_dir" && as_dir=.
5854 for ac_exec_ext in '' $ac_executable_extensions; do
5855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5856 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5858 break 2
5859 fi
5860 done
5861 done
5862 IFS=$as_save_IFS
5863
5864 fi
5865 fi
5866 RANLIB=$ac_cv_prog_RANLIB
5867 if test -n "$RANLIB"; then
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5869 $as_echo "$RANLIB" >&6; }
5870 else
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5872 $as_echo "no" >&6; }
5873 fi
5874
5875
5876 fi
5877 if test -z "$ac_cv_prog_RANLIB"; then
5878 ac_ct_RANLIB=$RANLIB
5879 # Extract the first word of "ranlib", so it can be a program name with args.
5880 set dummy ranlib; ac_word=$2
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5882 $as_echo_n "checking for $ac_word... " >&6; }
5883 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5884 $as_echo_n "(cached) " >&6
5885 else
5886 if test -n "$ac_ct_RANLIB"; then
5887 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5888 else
5889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5890 for as_dir in $PATH
5891 do
5892 IFS=$as_save_IFS
5893 test -z "$as_dir" && as_dir=.
5894 for ac_exec_ext in '' $ac_executable_extensions; do
5895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5896 ac_cv_prog_ac_ct_RANLIB="ranlib"
5897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5898 break 2
5899 fi
5900 done
5901 done
5902 IFS=$as_save_IFS
5903
5904 fi
5905 fi
5906 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5907 if test -n "$ac_ct_RANLIB"; then
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5909 $as_echo "$ac_ct_RANLIB" >&6; }
5910 else
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5912 $as_echo "no" >&6; }
5913 fi
5914
5915 if test "x$ac_ct_RANLIB" = x; then
5916 RANLIB=":"
5917 else
5918 case $cross_compiling:$ac_tool_warned in
5919 yes:)
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5921 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5922 ac_tool_warned=yes ;;
5923 esac
5924 RANLIB=$ac_ct_RANLIB
5925 fi
5926 else
5927 RANLIB="$ac_cv_prog_RANLIB"
5928 fi
5929
5930 test -z "$RANLIB" && RANLIB=:
5931
5932
5933
5934
5935
5936
5937 # Determine commands to create old-style static archives.
5938 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5939 old_postinstall_cmds='chmod 644 $oldlib'
5940 old_postuninstall_cmds=
5941
5942 if test -n "$RANLIB"; then
5943 case $host_os in
5944 bitrig* | openbsd*)
5945 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5946 ;;
5947 *)
5948 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5949 ;;
5950 esac
5951 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5952 fi
5953
5954 case $host_os in
5955 darwin*)
5956 lock_old_archive_extraction=yes ;;
5957 *)
5958 lock_old_archive_extraction=no ;;
5959 esac
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999 # If no C compiler was specified, use CC.
6000 LTCC=${LTCC-"$CC"}
6001
6002 # If no C compiler flags were specified, use CFLAGS.
6003 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6004
6005 # Allow CC to be a program name with arguments.
6006 compiler=$CC
6007
6008
6009 # Check for command to grab the raw symbol name followed by C symbol from nm.
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6011 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6012 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6013 $as_echo_n "(cached) " >&6
6014 else
6015
6016 # These are sane defaults that work on at least a few old systems.
6017 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6018
6019 # Character class describing NM global symbol codes.
6020 symcode='[BCDEGRST]'
6021
6022 # Regexp to match symbols that can be accessed directly from C.
6023 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6024
6025 # Define system-specific variables.
6026 case $host_os in
6027 aix*)
6028 symcode='[BCDT]'
6029 ;;
6030 cygwin* | mingw* | pw32* | cegcc*)
6031 symcode='[ABCDGISTW]'
6032 ;;
6033 hpux*)
6034 if test ia64 = "$host_cpu"; then
6035 symcode='[ABCDEGRST]'
6036 fi
6037 ;;
6038 irix* | nonstopux*)
6039 symcode='[BCDEGRST]'
6040 ;;
6041 osf*)
6042 symcode='[BCDEGQRST]'
6043 ;;
6044 solaris*)
6045 symcode='[BDRT]'
6046 ;;
6047 sco3.2v5*)
6048 symcode='[DT]'
6049 ;;
6050 sysv4.2uw2*)
6051 symcode='[DT]'
6052 ;;
6053 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6054 symcode='[ABDT]'
6055 ;;
6056 sysv4)
6057 symcode='[DFNSTU]'
6058 ;;
6059 esac
6060
6061 # If we're using GNU nm, then use its standard symbol codes.
6062 case `$NM -V 2>&1` in
6063 *GNU* | *'with BFD'*)
6064 symcode='[ABCDGIRSTW]' ;;
6065 esac
6066
6067 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6068 # Gets list of data symbols to import.
6069 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6070 # Adjust the below global symbol transforms to fixup imported variables.
6071 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6072 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6073 lt_c_name_lib_hook="\
6074 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6075 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6076 else
6077 # Disable hooks by default.
6078 lt_cv_sys_global_symbol_to_import=
6079 lt_cdecl_hook=
6080 lt_c_name_hook=
6081 lt_c_name_lib_hook=
6082 fi
6083
6084 # Transform an extracted symbol line into a proper C declaration.
6085 # Some systems (esp. on ia64) link data and code symbols differently,
6086 # so use this general approach.
6087 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6088 $lt_cdecl_hook\
6089 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6090 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6091
6092 # Transform an extracted symbol line into symbol name and symbol address
6093 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6094 $lt_c_name_hook\
6095 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6096 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6097
6098 # Transform an extracted symbol line into symbol name with lib prefix and
6099 # symbol address.
6100 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6101 $lt_c_name_lib_hook\
6102 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6103 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6104 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6105
6106 # Handle CRLF in mingw tool chain
6107 opt_cr=
6108 case $build_os in
6109 mingw*)
6110 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6111 ;;
6112 esac
6113
6114 # Try without a prefix underscore, then with it.
6115 for ac_symprfx in "" "_"; do
6116
6117 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6118 symxfrm="\\1 $ac_symprfx\\2 \\2"
6119
6120 # Write the raw and C identifiers.
6121 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6122 # Fake it for dumpbin and say T for any non-static function,
6123 # D for any global variable and I for any imported variable.
6124 # Also find C++ and __fastcall symbols from MSVC++,
6125 # which start with @ or ?.
6126 lt_cv_sys_global_symbol_pipe="$AWK '"\
6127 " {last_section=section; section=\$ 3};"\
6128 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6129 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6130 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6131 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6132 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6133 " \$ 0!~/External *\|/{next};"\
6134 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6135 " {if(hide[section]) next};"\
6136 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6137 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6138 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6139 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6140 " ' prfx=^$ac_symprfx"
6141 else
6142 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6143 fi
6144 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6145
6146 # Check to see that the pipe works correctly.
6147 pipe_works=no
6148
6149 rm -f conftest*
6150 cat > conftest.$ac_ext <<_LT_EOF
6151 #ifdef __cplusplus
6152 extern "C" {
6153 #endif
6154 char nm_test_var;
6155 void nm_test_func(void);
6156 void nm_test_func(void){}
6157 #ifdef __cplusplus
6158 }
6159 #endif
6160 int main(){nm_test_var='a';nm_test_func();return(0);}
6161 _LT_EOF
6162
6163 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6164 (eval $ac_compile) 2>&5
6165 ac_status=$?
6166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6167 test $ac_status = 0; }; then
6168 # Now try to grab the symbols.
6169 nlist=conftest.nm
6170 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6171 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6172 ac_status=$?
6173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6174 test $ac_status = 0; } && test -s "$nlist"; then
6175 # Try sorting and uniquifying the output.
6176 if sort "$nlist" | uniq > "$nlist"T; then
6177 mv -f "$nlist"T "$nlist"
6178 else
6179 rm -f "$nlist"T
6180 fi
6181
6182 # Make sure that we snagged all the symbols we need.
6183 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6184 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6185 cat <<_LT_EOF > conftest.$ac_ext
6186 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6187 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6188 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6189 relocations are performed -- see ld's documentation on pseudo-relocs. */
6190 # define LT_DLSYM_CONST
6191 #elif defined __osf__
6192 /* This system does not cope well with relocations in const data. */
6193 # define LT_DLSYM_CONST
6194 #else
6195 # define LT_DLSYM_CONST const
6196 #endif
6197
6198 #ifdef __cplusplus
6199 extern "C" {
6200 #endif
6201
6202 _LT_EOF
6203 # Now generate the symbol file.
6204 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6205
6206 cat <<_LT_EOF >> conftest.$ac_ext
6207
6208 /* The mapping between symbol names and symbols. */
6209 LT_DLSYM_CONST struct {
6210 const char *name;
6211 void *address;
6212 }
6213 lt__PROGRAM__LTX_preloaded_symbols[] =
6214 {
6215 { "@PROGRAM@", (void *) 0 },
6216 _LT_EOF
6217 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6218 cat <<\_LT_EOF >> conftest.$ac_ext
6219 {0, (void *) 0}
6220 };
6221
6222 /* This works around a problem in FreeBSD linker */
6223 #ifdef FREEBSD_WORKAROUND
6224 static const void *lt_preloaded_setup() {
6225 return lt__PROGRAM__LTX_preloaded_symbols;
6226 }
6227 #endif
6228
6229 #ifdef __cplusplus
6230 }
6231 #endif
6232 _LT_EOF
6233 # Now try linking the two files.
6234 mv conftest.$ac_objext conftstm.$ac_objext
6235 lt_globsym_save_LIBS=$LIBS
6236 lt_globsym_save_CFLAGS=$CFLAGS
6237 LIBS=conftstm.$ac_objext
6238 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6239 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6240 (eval $ac_link) 2>&5
6241 ac_status=$?
6242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6243 test $ac_status = 0; } && test -s conftest$ac_exeext; then
6244 pipe_works=yes
6245 fi
6246 LIBS=$lt_globsym_save_LIBS
6247 CFLAGS=$lt_globsym_save_CFLAGS
6248 else
6249 echo "cannot find nm_test_func in $nlist" >&5
6250 fi
6251 else
6252 echo "cannot find nm_test_var in $nlist" >&5
6253 fi
6254 else
6255 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6256 fi
6257 else
6258 echo "$progname: failed program was:" >&5
6259 cat conftest.$ac_ext >&5
6260 fi
6261 rm -rf conftest* conftst*
6262
6263 # Do not use the global_symbol_pipe unless it works.
6264 if test yes = "$pipe_works"; then
6265 break
6266 else
6267 lt_cv_sys_global_symbol_pipe=
6268 fi
6269 done
6270
6271 fi
6272
6273 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6274 lt_cv_sys_global_symbol_to_cdecl=
6275 fi
6276 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6278 $as_echo "failed" >&6; }
6279 else
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6281 $as_echo "ok" >&6; }
6282 fi
6283
6284 # Response file support.
6285 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6286 nm_file_list_spec='@'
6287 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6288 nm_file_list_spec='@'
6289 fi
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6328 $as_echo_n "checking for sysroot... " >&6; }
6329
6330 # Check whether --with-sysroot was given.
6331 if test "${with_sysroot+set}" = set; then :
6332 withval=$with_sysroot;
6333 else
6334 with_sysroot=no
6335 fi
6336
6337
6338 lt_sysroot=
6339 case $with_sysroot in #(
6340 yes)
6341 if test yes = "$GCC"; then
6342 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6343 fi
6344 ;; #(
6345 /*)
6346 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6347 ;; #(
6348 no|'')
6349 ;; #(
6350 *)
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6352 $as_echo "$with_sysroot" >&6; }
6353 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6354 ;;
6355 esac
6356
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6358 $as_echo "${lt_sysroot:-no}" >&6; }
6359
6360
6361
6362
6363
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6365 $as_echo_n "checking for a working dd... " >&6; }
6366 if ${ac_cv_path_lt_DD+:} false; then :
6367 $as_echo_n "(cached) " >&6
6368 else
6369 printf 0123456789abcdef0123456789abcdef >conftest.i
6370 cat conftest.i conftest.i >conftest2.i
6371 : ${lt_DD:=$DD}
6372 if test -z "$lt_DD"; then
6373 ac_path_lt_DD_found=false
6374 # Loop through the user's path and test for each of PROGNAME-LIST
6375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6376 for as_dir in $PATH
6377 do
6378 IFS=$as_save_IFS
6379 test -z "$as_dir" && as_dir=.
6380 for ac_prog in dd; do
6381 for ac_exec_ext in '' $ac_executable_extensions; do
6382 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6383 as_fn_executable_p "$ac_path_lt_DD" || continue
6384 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6385 cmp -s conftest.i conftest.out \
6386 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6387 fi
6388 $ac_path_lt_DD_found && break 3
6389 done
6390 done
6391 done
6392 IFS=$as_save_IFS
6393 if test -z "$ac_cv_path_lt_DD"; then
6394 :
6395 fi
6396 else
6397 ac_cv_path_lt_DD=$lt_DD
6398 fi
6399
6400 rm -f conftest.i conftest2.i conftest.out
6401 fi
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6403 $as_echo "$ac_cv_path_lt_DD" >&6; }
6404
6405
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6407 $as_echo_n "checking how to truncate binary pipes... " >&6; }
6408 if ${lt_cv_truncate_bin+:} false; then :
6409 $as_echo_n "(cached) " >&6
6410 else
6411 printf 0123456789abcdef0123456789abcdef >conftest.i
6412 cat conftest.i conftest.i >conftest2.i
6413 lt_cv_truncate_bin=
6414 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6415 cmp -s conftest.i conftest.out \
6416 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6417 fi
6418 rm -f conftest.i conftest2.i conftest.out
6419 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6420 fi
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6422 $as_echo "$lt_cv_truncate_bin" >&6; }
6423
6424
6425
6426
6427
6428
6429
6430 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
6431 func_cc_basename ()
6432 {
6433 for cc_temp in $*""; do
6434 case $cc_temp in
6435 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6436 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6437 \-*) ;;
6438 *) break;;
6439 esac
6440 done
6441 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6442 }
6443
6444 # Check whether --enable-libtool-lock was given.
6445 if test "${enable_libtool_lock+set}" = set; then :
6446 enableval=$enable_libtool_lock;
6447 fi
6448
6449 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6450
6451 # Some flags need to be propagated to the compiler or linker for good
6452 # libtool support.
6453 case $host in
6454 ia64-*-hpux*)
6455 # Find out what ABI is being produced by ac_compile, and set mode
6456 # options accordingly.
6457 echo 'int i;' > conftest.$ac_ext
6458 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6459 (eval $ac_compile) 2>&5
6460 ac_status=$?
6461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6462 test $ac_status = 0; }; then
6463 case `/usr/bin/file conftest.$ac_objext` in
6464 *ELF-32*)
6465 HPUX_IA64_MODE=32
6466 ;;
6467 *ELF-64*)
6468 HPUX_IA64_MODE=64
6469 ;;
6470 esac
6471 fi
6472 rm -rf conftest*
6473 ;;
6474 *-*-irix6*)
6475 # Find out what ABI is being produced by ac_compile, and set linker
6476 # options accordingly.
6477 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6478 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6479 (eval $ac_compile) 2>&5
6480 ac_status=$?
6481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6482 test $ac_status = 0; }; then
6483 if test yes = "$lt_cv_prog_gnu_ld"; then
6484 case `/usr/bin/file conftest.$ac_objext` in
6485 *32-bit*)
6486 LD="${LD-ld} -melf32bsmip"
6487 ;;
6488 *N32*)
6489 LD="${LD-ld} -melf32bmipn32"
6490 ;;
6491 *64-bit*)
6492 LD="${LD-ld} -melf64bmip"
6493 ;;
6494 esac
6495 else
6496 case `/usr/bin/file conftest.$ac_objext` in
6497 *32-bit*)
6498 LD="${LD-ld} -32"
6499 ;;
6500 *N32*)
6501 LD="${LD-ld} -n32"
6502 ;;
6503 *64-bit*)
6504 LD="${LD-ld} -64"
6505 ;;
6506 esac
6507 fi
6508 fi
6509 rm -rf conftest*
6510 ;;
6511
6512 mips64*-*linux*)
6513 # Find out what ABI is being produced by ac_compile, and set linker
6514 # options accordingly.
6515 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6516 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6517 (eval $ac_compile) 2>&5
6518 ac_status=$?
6519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6520 test $ac_status = 0; }; then
6521 emul=elf
6522 case `/usr/bin/file conftest.$ac_objext` in
6523 *32-bit*)
6524 emul="${emul}32"
6525 ;;
6526 *64-bit*)
6527 emul="${emul}64"
6528 ;;
6529 esac
6530 case `/usr/bin/file conftest.$ac_objext` in
6531 *MSB*)
6532 emul="${emul}btsmip"
6533 ;;
6534 *LSB*)
6535 emul="${emul}ltsmip"
6536 ;;
6537 esac
6538 case `/usr/bin/file conftest.$ac_objext` in
6539 *N32*)
6540 emul="${emul}n32"
6541 ;;
6542 esac
6543 LD="${LD-ld} -m $emul"
6544 fi
6545 rm -rf conftest*
6546 ;;
6547
6548 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6549 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6550 # Find out what ABI is being produced by ac_compile, and set linker
6551 # options accordingly. Note that the listed cases only cover the
6552 # situations where additional linker options are needed (such as when
6553 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6554 # vice versa); the common cases where no linker options are needed do
6555 # not appear in the list.
6556 echo 'int i;' > conftest.$ac_ext
6557 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6558 (eval $ac_compile) 2>&5
6559 ac_status=$?
6560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6561 test $ac_status = 0; }; then
6562 case `/usr/bin/file conftest.o` in
6563 *32-bit*)
6564 case $host in
6565 x86_64-*kfreebsd*-gnu)
6566 LD="${LD-ld} -m elf_i386_fbsd"
6567 ;;
6568 x86_64-*linux*)
6569 case `/usr/bin/file conftest.o` in
6570 *x86-64*)
6571 LD="${LD-ld} -m elf32_x86_64"
6572 ;;
6573 *)
6574 LD="${LD-ld} -m elf_i386"
6575 ;;
6576 esac
6577 ;;
6578 powerpc64le-*linux*)
6579 LD="${LD-ld} -m elf32lppclinux"
6580 ;;
6581 powerpc64-*linux*)
6582 LD="${LD-ld} -m elf32ppclinux"
6583 ;;
6584 s390x-*linux*)
6585 LD="${LD-ld} -m elf_s390"
6586 ;;
6587 sparc64-*linux*)
6588 LD="${LD-ld} -m elf32_sparc"
6589 ;;
6590 esac
6591 ;;
6592 *64-bit*)
6593 case $host in
6594 x86_64-*kfreebsd*-gnu)
6595 LD="${LD-ld} -m elf_x86_64_fbsd"
6596 ;;
6597 x86_64-*linux*)
6598 LD="${LD-ld} -m elf_x86_64"
6599 ;;
6600 powerpcle-*linux*)
6601 LD="${LD-ld} -m elf64lppc"
6602 ;;
6603 powerpc-*linux*)
6604 LD="${LD-ld} -m elf64ppc"
6605 ;;
6606 s390*-*linux*|s390*-*tpf*)
6607 LD="${LD-ld} -m elf64_s390"
6608 ;;
6609 sparc*-*linux*)
6610 LD="${LD-ld} -m elf64_sparc"
6611 ;;
6612 esac
6613 ;;
6614 esac
6615 fi
6616 rm -rf conftest*
6617 ;;
6618
6619 *-*-sco3.2v5*)
6620 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6621 SAVE_CFLAGS=$CFLAGS
6622 CFLAGS="$CFLAGS -belf"
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6624 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6625 if ${lt_cv_cc_needs_belf+:} false; then :
6626 $as_echo_n "(cached) " >&6
6627 else
6628 ac_ext=c
6629 ac_cpp='$CPP $CPPFLAGS'
6630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6633
6634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6635 /* end confdefs.h. */
6636
6637 int
6638 main ()
6639 {
6640
6641 ;
6642 return 0;
6643 }
6644 _ACEOF
6645 if ac_fn_c_try_link "$LINENO"; then :
6646 lt_cv_cc_needs_belf=yes
6647 else
6648 lt_cv_cc_needs_belf=no
6649 fi
6650 rm -f core conftest.err conftest.$ac_objext \
6651 conftest$ac_exeext conftest.$ac_ext
6652 ac_ext=c
6653 ac_cpp='$CPP $CPPFLAGS'
6654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6657
6658 fi
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6660 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6661 if test yes != "$lt_cv_cc_needs_belf"; then
6662 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6663 CFLAGS=$SAVE_CFLAGS
6664 fi
6665 ;;
6666 *-*solaris*)
6667 # Find out what ABI is being produced by ac_compile, and set linker
6668 # options accordingly.
6669 echo 'int i;' > conftest.$ac_ext
6670 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6671 (eval $ac_compile) 2>&5
6672 ac_status=$?
6673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6674 test $ac_status = 0; }; then
6675 case `/usr/bin/file conftest.o` in
6676 *64-bit*)
6677 case $lt_cv_prog_gnu_ld in
6678 yes*)
6679 case $host in
6680 i?86-*-solaris*|x86_64-*-solaris*)
6681 LD="${LD-ld} -m elf_x86_64"
6682 ;;
6683 sparc*-*-solaris*)
6684 LD="${LD-ld} -m elf64_sparc"
6685 ;;
6686 esac
6687 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6688 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6689 LD=${LD-ld}_sol2
6690 fi
6691 ;;
6692 *)
6693 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6694 LD="${LD-ld} -64"
6695 fi
6696 ;;
6697 esac
6698 ;;
6699 esac
6700 fi
6701 rm -rf conftest*
6702 ;;
6703 esac
6704
6705 need_locks=$enable_libtool_lock
6706
6707 if test -n "$ac_tool_prefix"; then
6708 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6709 set dummy ${ac_tool_prefix}mt; ac_word=$2
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6711 $as_echo_n "checking for $ac_word... " >&6; }
6712 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6713 $as_echo_n "(cached) " >&6
6714 else
6715 if test -n "$MANIFEST_TOOL"; then
6716 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6717 else
6718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6719 for as_dir in $PATH
6720 do
6721 IFS=$as_save_IFS
6722 test -z "$as_dir" && as_dir=.
6723 for ac_exec_ext in '' $ac_executable_extensions; do
6724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6725 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6727 break 2
6728 fi
6729 done
6730 done
6731 IFS=$as_save_IFS
6732
6733 fi
6734 fi
6735 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6736 if test -n "$MANIFEST_TOOL"; then
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6738 $as_echo "$MANIFEST_TOOL" >&6; }
6739 else
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6741 $as_echo "no" >&6; }
6742 fi
6743
6744
6745 fi
6746 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6747 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6748 # Extract the first word of "mt", so it can be a program name with args.
6749 set dummy mt; ac_word=$2
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6751 $as_echo_n "checking for $ac_word... " >&6; }
6752 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6753 $as_echo_n "(cached) " >&6
6754 else
6755 if test -n "$ac_ct_MANIFEST_TOOL"; then
6756 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6757 else
6758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6759 for as_dir in $PATH
6760 do
6761 IFS=$as_save_IFS
6762 test -z "$as_dir" && as_dir=.
6763 for ac_exec_ext in '' $ac_executable_extensions; do
6764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6765 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6767 break 2
6768 fi
6769 done
6770 done
6771 IFS=$as_save_IFS
6772
6773 fi
6774 fi
6775 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6776 if test -n "$ac_ct_MANIFEST_TOOL"; then
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6778 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6779 else
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6781 $as_echo "no" >&6; }
6782 fi
6783
6784 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6785 MANIFEST_TOOL=":"
6786 else
6787 case $cross_compiling:$ac_tool_warned in
6788 yes:)
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6790 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6791 ac_tool_warned=yes ;;
6792 esac
6793 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6794 fi
6795 else
6796 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6797 fi
6798
6799 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6801 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6802 if ${lt_cv_path_mainfest_tool+:} false; then :
6803 $as_echo_n "(cached) " >&6
6804 else
6805 lt_cv_path_mainfest_tool=no
6806 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6807 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6808 cat conftest.err >&5
6809 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6810 lt_cv_path_mainfest_tool=yes
6811 fi
6812 rm -f conftest*
6813 fi
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6815 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6816 if test yes != "$lt_cv_path_mainfest_tool"; then
6817 MANIFEST_TOOL=:
6818 fi
6819
6820
6821
6822
6823
6824
6825 case $host_os in
6826 rhapsody* | darwin*)
6827 if test -n "$ac_tool_prefix"; then
6828 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6829 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6831 $as_echo_n "checking for $ac_word... " >&6; }
6832 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6833 $as_echo_n "(cached) " >&6
6834 else
6835 if test -n "$DSYMUTIL"; then
6836 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6837 else
6838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6839 for as_dir in $PATH
6840 do
6841 IFS=$as_save_IFS
6842 test -z "$as_dir" && as_dir=.
6843 for ac_exec_ext in '' $ac_executable_extensions; do
6844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6845 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6847 break 2
6848 fi
6849 done
6850 done
6851 IFS=$as_save_IFS
6852
6853 fi
6854 fi
6855 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6856 if test -n "$DSYMUTIL"; then
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6858 $as_echo "$DSYMUTIL" >&6; }
6859 else
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6861 $as_echo "no" >&6; }
6862 fi
6863
6864
6865 fi
6866 if test -z "$ac_cv_prog_DSYMUTIL"; then
6867 ac_ct_DSYMUTIL=$DSYMUTIL
6868 # Extract the first word of "dsymutil", so it can be a program name with args.
6869 set dummy dsymutil; ac_word=$2
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6871 $as_echo_n "checking for $ac_word... " >&6; }
6872 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6873 $as_echo_n "(cached) " >&6
6874 else
6875 if test -n "$ac_ct_DSYMUTIL"; then
6876 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6877 else
6878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6879 for as_dir in $PATH
6880 do
6881 IFS=$as_save_IFS
6882 test -z "$as_dir" && as_dir=.
6883 for ac_exec_ext in '' $ac_executable_extensions; do
6884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6885 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6887 break 2
6888 fi
6889 done
6890 done
6891 IFS=$as_save_IFS
6892
6893 fi
6894 fi
6895 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6896 if test -n "$ac_ct_DSYMUTIL"; then
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6898 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6899 else
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6901 $as_echo "no" >&6; }
6902 fi
6903
6904 if test "x$ac_ct_DSYMUTIL" = x; then
6905 DSYMUTIL=":"
6906 else
6907 case $cross_compiling:$ac_tool_warned in
6908 yes:)
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6911 ac_tool_warned=yes ;;
6912 esac
6913 DSYMUTIL=$ac_ct_DSYMUTIL
6914 fi
6915 else
6916 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6917 fi
6918
6919 if test -n "$ac_tool_prefix"; then
6920 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6921 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6923 $as_echo_n "checking for $ac_word... " >&6; }
6924 if ${ac_cv_prog_NMEDIT+:} false; then :
6925 $as_echo_n "(cached) " >&6
6926 else
6927 if test -n "$NMEDIT"; then
6928 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6929 else
6930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6931 for as_dir in $PATH
6932 do
6933 IFS=$as_save_IFS
6934 test -z "$as_dir" && as_dir=.
6935 for ac_exec_ext in '' $ac_executable_extensions; do
6936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6937 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6939 break 2
6940 fi
6941 done
6942 done
6943 IFS=$as_save_IFS
6944
6945 fi
6946 fi
6947 NMEDIT=$ac_cv_prog_NMEDIT
6948 if test -n "$NMEDIT"; then
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6950 $as_echo "$NMEDIT" >&6; }
6951 else
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6953 $as_echo "no" >&6; }
6954 fi
6955
6956
6957 fi
6958 if test -z "$ac_cv_prog_NMEDIT"; then
6959 ac_ct_NMEDIT=$NMEDIT
6960 # Extract the first word of "nmedit", so it can be a program name with args.
6961 set dummy nmedit; ac_word=$2
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6963 $as_echo_n "checking for $ac_word... " >&6; }
6964 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6965 $as_echo_n "(cached) " >&6
6966 else
6967 if test -n "$ac_ct_NMEDIT"; then
6968 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6969 else
6970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6971 for as_dir in $PATH
6972 do
6973 IFS=$as_save_IFS
6974 test -z "$as_dir" && as_dir=.
6975 for ac_exec_ext in '' $ac_executable_extensions; do
6976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6977 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6979 break 2
6980 fi
6981 done
6982 done
6983 IFS=$as_save_IFS
6984
6985 fi
6986 fi
6987 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6988 if test -n "$ac_ct_NMEDIT"; then
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6990 $as_echo "$ac_ct_NMEDIT" >&6; }
6991 else
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6993 $as_echo "no" >&6; }
6994 fi
6995
6996 if test "x$ac_ct_NMEDIT" = x; then
6997 NMEDIT=":"
6998 else
6999 case $cross_compiling:$ac_tool_warned in
7000 yes:)
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7003 ac_tool_warned=yes ;;
7004 esac
7005 NMEDIT=$ac_ct_NMEDIT
7006 fi
7007 else
7008 NMEDIT="$ac_cv_prog_NMEDIT"
7009 fi
7010
7011 if test -n "$ac_tool_prefix"; then
7012 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7013 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7015 $as_echo_n "checking for $ac_word... " >&6; }
7016 if ${ac_cv_prog_LIPO+:} false; then :
7017 $as_echo_n "(cached) " >&6
7018 else
7019 if test -n "$LIPO"; then
7020 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7021 else
7022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7023 for as_dir in $PATH
7024 do
7025 IFS=$as_save_IFS
7026 test -z "$as_dir" && as_dir=.
7027 for ac_exec_ext in '' $ac_executable_extensions; do
7028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7029 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7031 break 2
7032 fi
7033 done
7034 done
7035 IFS=$as_save_IFS
7036
7037 fi
7038 fi
7039 LIPO=$ac_cv_prog_LIPO
7040 if test -n "$LIPO"; then
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7042 $as_echo "$LIPO" >&6; }
7043 else
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7045 $as_echo "no" >&6; }
7046 fi
7047
7048
7049 fi
7050 if test -z "$ac_cv_prog_LIPO"; then
7051 ac_ct_LIPO=$LIPO
7052 # Extract the first word of "lipo", so it can be a program name with args.
7053 set dummy lipo; ac_word=$2
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7055 $as_echo_n "checking for $ac_word... " >&6; }
7056 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7057 $as_echo_n "(cached) " >&6
7058 else
7059 if test -n "$ac_ct_LIPO"; then
7060 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7061 else
7062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7063 for as_dir in $PATH
7064 do
7065 IFS=$as_save_IFS
7066 test -z "$as_dir" && as_dir=.
7067 for ac_exec_ext in '' $ac_executable_extensions; do
7068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7069 ac_cv_prog_ac_ct_LIPO="lipo"
7070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7071 break 2
7072 fi
7073 done
7074 done
7075 IFS=$as_save_IFS
7076
7077 fi
7078 fi
7079 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7080 if test -n "$ac_ct_LIPO"; then
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7082 $as_echo "$ac_ct_LIPO" >&6; }
7083 else
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7085 $as_echo "no" >&6; }
7086 fi
7087
7088 if test "x$ac_ct_LIPO" = x; then
7089 LIPO=":"
7090 else
7091 case $cross_compiling:$ac_tool_warned in
7092 yes:)
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7094 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7095 ac_tool_warned=yes ;;
7096 esac
7097 LIPO=$ac_ct_LIPO
7098 fi
7099 else
7100 LIPO="$ac_cv_prog_LIPO"
7101 fi
7102
7103 if test -n "$ac_tool_prefix"; then
7104 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7105 set dummy ${ac_tool_prefix}otool; ac_word=$2
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7107 $as_echo_n "checking for $ac_word... " >&6; }
7108 if ${ac_cv_prog_OTOOL+:} false; then :
7109 $as_echo_n "(cached) " >&6
7110 else
7111 if test -n "$OTOOL"; then
7112 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7113 else
7114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7115 for as_dir in $PATH
7116 do
7117 IFS=$as_save_IFS
7118 test -z "$as_dir" && as_dir=.
7119 for ac_exec_ext in '' $ac_executable_extensions; do
7120 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7121 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7123 break 2
7124 fi
7125 done
7126 done
7127 IFS=$as_save_IFS
7128
7129 fi
7130 fi
7131 OTOOL=$ac_cv_prog_OTOOL
7132 if test -n "$OTOOL"; then
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7134 $as_echo "$OTOOL" >&6; }
7135 else
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7137 $as_echo "no" >&6; }
7138 fi
7139
7140
7141 fi
7142 if test -z "$ac_cv_prog_OTOOL"; then
7143 ac_ct_OTOOL=$OTOOL
7144 # Extract the first word of "otool", so it can be a program name with args.
7145 set dummy otool; ac_word=$2
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7147 $as_echo_n "checking for $ac_word... " >&6; }
7148 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7149 $as_echo_n "(cached) " >&6
7150 else
7151 if test -n "$ac_ct_OTOOL"; then
7152 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7153 else
7154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7155 for as_dir in $PATH
7156 do
7157 IFS=$as_save_IFS
7158 test -z "$as_dir" && as_dir=.
7159 for ac_exec_ext in '' $ac_executable_extensions; do
7160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7161 ac_cv_prog_ac_ct_OTOOL="otool"
7162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7163 break 2
7164 fi
7165 done
7166 done
7167 IFS=$as_save_IFS
7168
7169 fi
7170 fi
7171 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7172 if test -n "$ac_ct_OTOOL"; then
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7174 $as_echo "$ac_ct_OTOOL" >&6; }
7175 else
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7177 $as_echo "no" >&6; }
7178 fi
7179
7180 if test "x$ac_ct_OTOOL" = x; then
7181 OTOOL=":"
7182 else
7183 case $cross_compiling:$ac_tool_warned in
7184 yes:)
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7187 ac_tool_warned=yes ;;
7188 esac
7189 OTOOL=$ac_ct_OTOOL
7190 fi
7191 else
7192 OTOOL="$ac_cv_prog_OTOOL"
7193 fi
7194
7195 if test -n "$ac_tool_prefix"; then
7196 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7197 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7199 $as_echo_n "checking for $ac_word... " >&6; }
7200 if ${ac_cv_prog_OTOOL64+:} false; then :
7201 $as_echo_n "(cached) " >&6
7202 else
7203 if test -n "$OTOOL64"; then
7204 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7205 else
7206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7207 for as_dir in $PATH
7208 do
7209 IFS=$as_save_IFS
7210 test -z "$as_dir" && as_dir=.
7211 for ac_exec_ext in '' $ac_executable_extensions; do
7212 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7213 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7215 break 2
7216 fi
7217 done
7218 done
7219 IFS=$as_save_IFS
7220
7221 fi
7222 fi
7223 OTOOL64=$ac_cv_prog_OTOOL64
7224 if test -n "$OTOOL64"; then
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7226 $as_echo "$OTOOL64" >&6; }
7227 else
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7229 $as_echo "no" >&6; }
7230 fi
7231
7232
7233 fi
7234 if test -z "$ac_cv_prog_OTOOL64"; then
7235 ac_ct_OTOOL64=$OTOOL64
7236 # Extract the first word of "otool64", so it can be a program name with args.
7237 set dummy otool64; ac_word=$2
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7239 $as_echo_n "checking for $ac_word... " >&6; }
7240 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7241 $as_echo_n "(cached) " >&6
7242 else
7243 if test -n "$ac_ct_OTOOL64"; then
7244 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7245 else
7246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7247 for as_dir in $PATH
7248 do
7249 IFS=$as_save_IFS
7250 test -z "$as_dir" && as_dir=.
7251 for ac_exec_ext in '' $ac_executable_extensions; do
7252 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7253 ac_cv_prog_ac_ct_OTOOL64="otool64"
7254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7255 break 2
7256 fi
7257 done
7258 done
7259 IFS=$as_save_IFS
7260
7261 fi
7262 fi
7263 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7264 if test -n "$ac_ct_OTOOL64"; then
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7266 $as_echo "$ac_ct_OTOOL64" >&6; }
7267 else
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7269 $as_echo "no" >&6; }
7270 fi
7271
7272 if test "x$ac_ct_OTOOL64" = x; then
7273 OTOOL64=":"
7274 else
7275 case $cross_compiling:$ac_tool_warned in
7276 yes:)
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7278 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7279 ac_tool_warned=yes ;;
7280 esac
7281 OTOOL64=$ac_ct_OTOOL64
7282 fi
7283 else
7284 OTOOL64="$ac_cv_prog_OTOOL64"
7285 fi
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7314 $as_echo_n "checking for -single_module linker flag... " >&6; }
7315 if ${lt_cv_apple_cc_single_mod+:} false; then :
7316 $as_echo_n "(cached) " >&6
7317 else
7318 lt_cv_apple_cc_single_mod=no
7319 if test -z "$LT_MULTI_MODULE"; then
7320 # By default we will add the -single_module flag. You can override
7321 # by either setting the environment variable LT_MULTI_MODULE
7322 # non-empty at configure time, or by adding -multi_module to the
7323 # link flags.
7324 rm -rf libconftest.dylib*
7325 echo "int foo(void){return 1;}" > conftest.c
7326 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7327 -dynamiclib -Wl,-single_module conftest.c" >&5
7328 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7329 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7330 _lt_result=$?
7331 # If there is a non-empty error log, and "single_module"
7332 # appears in it, assume the flag caused a linker warning
7333 if test -s conftest.err && $GREP single_module conftest.err; then
7334 cat conftest.err >&5
7335 # Otherwise, if the output was created with a 0 exit code from
7336 # the compiler, it worked.
7337 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7338 lt_cv_apple_cc_single_mod=yes
7339 else
7340 cat conftest.err >&5
7341 fi
7342 rm -rf libconftest.dylib*
7343 rm -f conftest.*
7344 fi
7345 fi
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7347 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7348
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7350 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7351 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7352 $as_echo_n "(cached) " >&6
7353 else
7354 lt_cv_ld_exported_symbols_list=no
7355 save_LDFLAGS=$LDFLAGS
7356 echo "_main" > conftest.sym
7357 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7359 /* end confdefs.h. */
7360
7361 int
7362 main ()
7363 {
7364
7365 ;
7366 return 0;
7367 }
7368 _ACEOF
7369 if ac_fn_c_try_link "$LINENO"; then :
7370 lt_cv_ld_exported_symbols_list=yes
7371 else
7372 lt_cv_ld_exported_symbols_list=no
7373 fi
7374 rm -f core conftest.err conftest.$ac_objext \
7375 conftest$ac_exeext conftest.$ac_ext
7376 LDFLAGS=$save_LDFLAGS
7377
7378 fi
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7380 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7381
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7383 $as_echo_n "checking for -force_load linker flag... " >&6; }
7384 if ${lt_cv_ld_force_load+:} false; then :
7385 $as_echo_n "(cached) " >&6
7386 else
7387 lt_cv_ld_force_load=no
7388 cat > conftest.c << _LT_EOF
7389 int forced_loaded() { return 2;}
7390 _LT_EOF
7391 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7392 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7393 echo "$AR cru libconftest.a conftest.o" >&5
7394 $AR cru libconftest.a conftest.o 2>&5
7395 echo "$RANLIB libconftest.a" >&5
7396 $RANLIB libconftest.a 2>&5
7397 cat > conftest.c << _LT_EOF
7398 int main() { return 0;}
7399 _LT_EOF
7400 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7401 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7402 _lt_result=$?
7403 if test -s conftest.err && $GREP force_load conftest.err; then
7404 cat conftest.err >&5
7405 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7406 lt_cv_ld_force_load=yes
7407 else
7408 cat conftest.err >&5
7409 fi
7410 rm -f conftest.err libconftest.a conftest conftest.c
7411 rm -rf conftest.dSYM
7412
7413 fi
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7415 $as_echo "$lt_cv_ld_force_load" >&6; }
7416 case $host_os in
7417 rhapsody* | darwin1.[012])
7418 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7419 darwin1.*)
7420 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7421 darwin*) # darwin 5.x on
7422 # if running on 10.5 or later, the deployment target defaults
7423 # to the OS version, if on x86, and 10.4, the deployment
7424 # target defaults to 10.4. Don't you love it?
7425 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7426 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7427 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7428 10.[012][,.]*)
7429 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7430 10.*)
7431 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7432 esac
7433 ;;
7434 esac
7435 if test yes = "$lt_cv_apple_cc_single_mod"; then
7436 _lt_dar_single_mod='$single_module'
7437 fi
7438 if test yes = "$lt_cv_ld_exported_symbols_list"; then
7439 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7440 else
7441 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7442 fi
7443 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7444 _lt_dsymutil='~$DSYMUTIL $lib || :'
7445 else
7446 _lt_dsymutil=
7447 fi
7448 ;;
7449 esac
7450
7451 # func_munge_path_list VARIABLE PATH
7452 # -----------------------------------
7453 # VARIABLE is name of variable containing _space_ separated list of
7454 # directories to be munged by the contents of PATH, which is string
7455 # having a format:
7456 # "DIR[:DIR]:"
7457 # string "DIR[ DIR]" will be prepended to VARIABLE
7458 # ":DIR[:DIR]"
7459 # string "DIR[ DIR]" will be appended to VARIABLE
7460 # "DIRP[:DIRP]::[DIRA:]DIRA"
7461 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7462 # "DIRA[ DIRA]" will be appended to VARIABLE
7463 # "DIR[:DIR]"
7464 # VARIABLE will be replaced by "DIR[ DIR]"
7465 func_munge_path_list ()
7466 {
7467 case x$2 in
7468 x)
7469 ;;
7470 *:)
7471 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7472 ;;
7473 x:*)
7474 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7475 ;;
7476 *::*)
7477 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7478 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7479 ;;
7480 *)
7481 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7482 ;;
7483 esac
7484 }
7485
7486 ac_ext=c
7487 ac_cpp='$CPP $CPPFLAGS'
7488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7492 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7493 # On Suns, sometimes $CPP names a directory.
7494 if test -n "$CPP" && test -d "$CPP"; then
7495 CPP=
7496 fi
7497 if test -z "$CPP"; then
7498 if ${ac_cv_prog_CPP+:} false; then :
7499 $as_echo_n "(cached) " >&6
7500 else
7501 # Double quotes because CPP needs to be expanded
7502 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7503 do
7504 ac_preproc_ok=false
7505 for ac_c_preproc_warn_flag in '' yes
7506 do
7507 # Use a header file that comes with gcc, so configuring glibc
7508 # with a fresh cross-compiler works.
7509 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7510 # <limits.h> exists even on freestanding compilers.
7511 # On the NeXT, cc -E runs the code through the compiler's parser,
7512 # not just through cpp. "Syntax error" is here to catch this case.
7513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7514 /* end confdefs.h. */
7515 #ifdef __STDC__
7516 # include <limits.h>
7517 #else
7518 # include <assert.h>
7519 #endif
7520 Syntax error
7521 _ACEOF
7522 if ac_fn_c_try_cpp "$LINENO"; then :
7523
7524 else
7525 # Broken: fails on valid input.
7526 continue
7527 fi
7528 rm -f conftest.err conftest.i conftest.$ac_ext
7529
7530 # OK, works on sane cases. Now check whether nonexistent headers
7531 # can be detected and how.
7532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7533 /* end confdefs.h. */
7534 #include <ac_nonexistent.h>
7535 _ACEOF
7536 if ac_fn_c_try_cpp "$LINENO"; then :
7537 # Broken: success on invalid input.
7538 continue
7539 else
7540 # Passes both tests.
7541 ac_preproc_ok=:
7542 break
7543 fi
7544 rm -f conftest.err conftest.i conftest.$ac_ext
7545
7546 done
7547 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7548 rm -f conftest.i conftest.err conftest.$ac_ext
7549 if $ac_preproc_ok; then :
7550 break
7551 fi
7552
7553 done
7554 ac_cv_prog_CPP=$CPP
7555
7556 fi
7557 CPP=$ac_cv_prog_CPP
7558 else
7559 ac_cv_prog_CPP=$CPP
7560 fi
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7562 $as_echo "$CPP" >&6; }
7563 ac_preproc_ok=false
7564 for ac_c_preproc_warn_flag in '' yes
7565 do
7566 # Use a header file that comes with gcc, so configuring glibc
7567 # with a fresh cross-compiler works.
7568 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7569 # <limits.h> exists even on freestanding compilers.
7570 # On the NeXT, cc -E runs the code through the compiler's parser,
7571 # not just through cpp. "Syntax error" is here to catch this case.
7572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7573 /* end confdefs.h. */
7574 #ifdef __STDC__
7575 # include <limits.h>
7576 #else
7577 # include <assert.h>
7578 #endif
7579 Syntax error
7580 _ACEOF
7581 if ac_fn_c_try_cpp "$LINENO"; then :
7582
7583 else
7584 # Broken: fails on valid input.
7585 continue
7586 fi
7587 rm -f conftest.err conftest.i conftest.$ac_ext
7588
7589 # OK, works on sane cases. Now check whether nonexistent headers
7590 # can be detected and how.
7591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7592 /* end confdefs.h. */
7593 #include <ac_nonexistent.h>
7594 _ACEOF
7595 if ac_fn_c_try_cpp "$LINENO"; then :
7596 # Broken: success on invalid input.
7597 continue
7598 else
7599 # Passes both tests.
7600 ac_preproc_ok=:
7601 break
7602 fi
7603 rm -f conftest.err conftest.i conftest.$ac_ext
7604
7605 done
7606 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7607 rm -f conftest.i conftest.err conftest.$ac_ext
7608 if $ac_preproc_ok; then :
7609
7610 else
7611 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7612 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7613 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7614 See \`config.log' for more details" "$LINENO" 5; }
7615 fi
7616
7617 ac_ext=c
7618 ac_cpp='$CPP $CPPFLAGS'
7619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7622
7623
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7625 $as_echo_n "checking for ANSI C header files... " >&6; }
7626 if ${ac_cv_header_stdc+:} false; then :
7627 $as_echo_n "(cached) " >&6
7628 else
7629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7630 /* end confdefs.h. */
7631 #include <stdlib.h>
7632 #include <stdarg.h>
7633 #include <string.h>
7634 #include <float.h>
7635
7636 int
7637 main ()
7638 {
7639
7640 ;
7641 return 0;
7642 }
7643 _ACEOF
7644 if ac_fn_c_try_compile "$LINENO"; then :
7645 ac_cv_header_stdc=yes
7646 else
7647 ac_cv_header_stdc=no
7648 fi
7649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7650
7651 if test $ac_cv_header_stdc = yes; then
7652 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7654 /* end confdefs.h. */
7655 #include <string.h>
7656
7657 _ACEOF
7658 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7659 $EGREP "memchr" >/dev/null 2>&1; then :
7660
7661 else
7662 ac_cv_header_stdc=no
7663 fi
7664 rm -f conftest*
7665
7666 fi
7667
7668 if test $ac_cv_header_stdc = yes; then
7669 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7671 /* end confdefs.h. */
7672 #include <stdlib.h>
7673
7674 _ACEOF
7675 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7676 $EGREP "free" >/dev/null 2>&1; then :
7677
7678 else
7679 ac_cv_header_stdc=no
7680 fi
7681 rm -f conftest*
7682
7683 fi
7684
7685 if test $ac_cv_header_stdc = yes; then
7686 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7687 if test "$cross_compiling" = yes; then :
7688 :
7689 else
7690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7691 /* end confdefs.h. */
7692 #include <ctype.h>
7693 #include <stdlib.h>
7694 #if ((' ' & 0x0FF) == 0x020)
7695 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7696 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7697 #else
7698 # define ISLOWER(c) \
7699 (('a' <= (c) && (c) <= 'i') \
7700 || ('j' <= (c) && (c) <= 'r') \
7701 || ('s' <= (c) && (c) <= 'z'))
7702 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7703 #endif
7704
7705 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7706 int
7707 main ()
7708 {
7709 int i;
7710 for (i = 0; i < 256; i++)
7711 if (XOR (islower (i), ISLOWER (i))
7712 || toupper (i) != TOUPPER (i))
7713 return 2;
7714 return 0;
7715 }
7716 _ACEOF
7717 if ac_fn_c_try_run "$LINENO"; then :
7718
7719 else
7720 ac_cv_header_stdc=no
7721 fi
7722 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7723 conftest.$ac_objext conftest.beam conftest.$ac_ext
7724 fi
7725
7726 fi
7727 fi
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7729 $as_echo "$ac_cv_header_stdc" >&6; }
7730 if test $ac_cv_header_stdc = yes; then
7731
7732 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7733
7734 fi
7735
7736 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7737 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7738 inttypes.h stdint.h unistd.h
7739 do :
7740 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7741 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7742 "
7743 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7744 cat >>confdefs.h <<_ACEOF
7745 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7746 _ACEOF
7747
7748 fi
7749
7750 done
7751
7752
7753 for ac_header in dlfcn.h
7754 do :
7755 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7756 "
7757 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7758 cat >>confdefs.h <<_ACEOF
7759 #define HAVE_DLFCN_H 1
7760 _ACEOF
7761
7762 fi
7763
7764 done
7765
7766
7767
7768
7769
7770 # Set options
7771 enable_dlopen=yes
7772 enable_win32_dll=yes
7773
7774 case $host in
7775 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7776 if test -n "$ac_tool_prefix"; then
7777 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7778 set dummy ${ac_tool_prefix}as; ac_word=$2
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7780 $as_echo_n "checking for $ac_word... " >&6; }
7781 if ${ac_cv_prog_AS+:} false; then :
7782 $as_echo_n "(cached) " >&6
7783 else
7784 if test -n "$AS"; then
7785 ac_cv_prog_AS="$AS" # Let the user override the test.
7786 else
7787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7788 for as_dir in $PATH
7789 do
7790 IFS=$as_save_IFS
7791 test -z "$as_dir" && as_dir=.
7792 for ac_exec_ext in '' $ac_executable_extensions; do
7793 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7794 ac_cv_prog_AS="${ac_tool_prefix}as"
7795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7796 break 2
7797 fi
7798 done
7799 done
7800 IFS=$as_save_IFS
7801
7802 fi
7803 fi
7804 AS=$ac_cv_prog_AS
7805 if test -n "$AS"; then
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7807 $as_echo "$AS" >&6; }
7808 else
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7810 $as_echo "no" >&6; }
7811 fi
7812
7813
7814 fi
7815 if test -z "$ac_cv_prog_AS"; then
7816 ac_ct_AS=$AS
7817 # Extract the first word of "as", so it can be a program name with args.
7818 set dummy as; ac_word=$2
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7820 $as_echo_n "checking for $ac_word... " >&6; }
7821 if ${ac_cv_prog_ac_ct_AS+:} false; then :
7822 $as_echo_n "(cached) " >&6
7823 else
7824 if test -n "$ac_ct_AS"; then
7825 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7826 else
7827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7828 for as_dir in $PATH
7829 do
7830 IFS=$as_save_IFS
7831 test -z "$as_dir" && as_dir=.
7832 for ac_exec_ext in '' $ac_executable_extensions; do
7833 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7834 ac_cv_prog_ac_ct_AS="as"
7835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7836 break 2
7837 fi
7838 done
7839 done
7840 IFS=$as_save_IFS
7841
7842 fi
7843 fi
7844 ac_ct_AS=$ac_cv_prog_ac_ct_AS
7845 if test -n "$ac_ct_AS"; then
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7847 $as_echo "$ac_ct_AS" >&6; }
7848 else
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7850 $as_echo "no" >&6; }
7851 fi
7852
7853 if test "x$ac_ct_AS" = x; then
7854 AS="false"
7855 else
7856 case $cross_compiling:$ac_tool_warned in
7857 yes:)
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7859 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7860 ac_tool_warned=yes ;;
7861 esac
7862 AS=$ac_ct_AS
7863 fi
7864 else
7865 AS="$ac_cv_prog_AS"
7866 fi
7867
7868 if test -n "$ac_tool_prefix"; then
7869 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7870 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7872 $as_echo_n "checking for $ac_word... " >&6; }
7873 if ${ac_cv_prog_DLLTOOL+:} false; then :
7874 $as_echo_n "(cached) " >&6
7875 else
7876 if test -n "$DLLTOOL"; then
7877 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7878 else
7879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7880 for as_dir in $PATH
7881 do
7882 IFS=$as_save_IFS
7883 test -z "$as_dir" && as_dir=.
7884 for ac_exec_ext in '' $ac_executable_extensions; do
7885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7886 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7888 break 2
7889 fi
7890 done
7891 done
7892 IFS=$as_save_IFS
7893
7894 fi
7895 fi
7896 DLLTOOL=$ac_cv_prog_DLLTOOL
7897 if test -n "$DLLTOOL"; then
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7899 $as_echo "$DLLTOOL" >&6; }
7900 else
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7902 $as_echo "no" >&6; }
7903 fi
7904
7905
7906 fi
7907 if test -z "$ac_cv_prog_DLLTOOL"; then
7908 ac_ct_DLLTOOL=$DLLTOOL
7909 # Extract the first word of "dlltool", so it can be a program name with args.
7910 set dummy dlltool; ac_word=$2
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7912 $as_echo_n "checking for $ac_word... " >&6; }
7913 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7914 $as_echo_n "(cached) " >&6
7915 else
7916 if test -n "$ac_ct_DLLTOOL"; then
7917 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7918 else
7919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7920 for as_dir in $PATH
7921 do
7922 IFS=$as_save_IFS
7923 test -z "$as_dir" && as_dir=.
7924 for ac_exec_ext in '' $ac_executable_extensions; do
7925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7926 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7928 break 2
7929 fi
7930 done
7931 done
7932 IFS=$as_save_IFS
7933
7934 fi
7935 fi
7936 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7937 if test -n "$ac_ct_DLLTOOL"; then
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7939 $as_echo "$ac_ct_DLLTOOL" >&6; }
7940 else
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7942 $as_echo "no" >&6; }
7943 fi
7944
7945 if test "x$ac_ct_DLLTOOL" = x; then
7946 DLLTOOL="false"
7947 else
7948 case $cross_compiling:$ac_tool_warned in
7949 yes:)
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7951 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7952 ac_tool_warned=yes ;;
7953 esac
7954 DLLTOOL=$ac_ct_DLLTOOL
7955 fi
7956 else
7957 DLLTOOL="$ac_cv_prog_DLLTOOL"
7958 fi
7959
7960 if test -n "$ac_tool_prefix"; then
7961 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7962 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7964 $as_echo_n "checking for $ac_word... " >&6; }
7965 if ${ac_cv_prog_OBJDUMP+:} false; then :
7966 $as_echo_n "(cached) " >&6
7967 else
7968 if test -n "$OBJDUMP"; then
7969 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7970 else
7971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7972 for as_dir in $PATH
7973 do
7974 IFS=$as_save_IFS
7975 test -z "$as_dir" && as_dir=.
7976 for ac_exec_ext in '' $ac_executable_extensions; do
7977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7978 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7980 break 2
7981 fi
7982 done
7983 done
7984 IFS=$as_save_IFS
7985
7986 fi
7987 fi
7988 OBJDUMP=$ac_cv_prog_OBJDUMP
7989 if test -n "$OBJDUMP"; then
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7991 $as_echo "$OBJDUMP" >&6; }
7992 else
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7994 $as_echo "no" >&6; }
7995 fi
7996
7997
7998 fi
7999 if test -z "$ac_cv_prog_OBJDUMP"; then
8000 ac_ct_OBJDUMP=$OBJDUMP
8001 # Extract the first word of "objdump", so it can be a program name with args.
8002 set dummy objdump; ac_word=$2
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8004 $as_echo_n "checking for $ac_word... " >&6; }
8005 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8006 $as_echo_n "(cached) " >&6
8007 else
8008 if test -n "$ac_ct_OBJDUMP"; then
8009 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8010 else
8011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8012 for as_dir in $PATH
8013 do
8014 IFS=$as_save_IFS
8015 test -z "$as_dir" && as_dir=.
8016 for ac_exec_ext in '' $ac_executable_extensions; do
8017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8018 ac_cv_prog_ac_ct_OBJDUMP="objdump"
8019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8020 break 2
8021 fi
8022 done
8023 done
8024 IFS=$as_save_IFS
8025
8026 fi
8027 fi
8028 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8029 if test -n "$ac_ct_OBJDUMP"; then
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8031 $as_echo "$ac_ct_OBJDUMP" >&6; }
8032 else
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8034 $as_echo "no" >&6; }
8035 fi
8036
8037 if test "x$ac_ct_OBJDUMP" = x; then
8038 OBJDUMP="false"
8039 else
8040 case $cross_compiling:$ac_tool_warned in
8041 yes:)
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8043 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8044 ac_tool_warned=yes ;;
8045 esac
8046 OBJDUMP=$ac_ct_OBJDUMP
8047 fi
8048 else
8049 OBJDUMP="$ac_cv_prog_OBJDUMP"
8050 fi
8051
8052 ;;
8053 esac
8054
8055 test -z "$AS" && AS=as
8056
8057
8058
8059
8060
8061 test -z "$DLLTOOL" && DLLTOOL=dlltool
8062
8063
8064
8065
8066
8067 test -z "$OBJDUMP" && OBJDUMP=objdump
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077 # Check whether --enable-shared was given.
8078 if test "${enable_shared+set}" = set; then :
8079 enableval=$enable_shared; p=${PACKAGE-default}
8080 case $enableval in
8081 yes) enable_shared=yes ;;
8082 no) enable_shared=no ;;
8083 *)
8084 enable_shared=no
8085 # Look at the argument we got. We use all the common list separators.
8086 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8087 for pkg in $enableval; do
8088 IFS=$lt_save_ifs
8089 if test "X$pkg" = "X$p"; then
8090 enable_shared=yes
8091 fi
8092 done
8093 IFS=$lt_save_ifs
8094 ;;
8095 esac
8096 else
8097 enable_shared=yes
8098 fi
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108 # Check whether --enable-static was given.
8109 if test "${enable_static+set}" = set; then :
8110 enableval=$enable_static; p=${PACKAGE-default}
8111 case $enableval in
8112 yes) enable_static=yes ;;
8113 no) enable_static=no ;;
8114 *)
8115 enable_static=no
8116 # Look at the argument we got. We use all the common list separators.
8117 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8118 for pkg in $enableval; do
8119 IFS=$lt_save_ifs
8120 if test "X$pkg" = "X$p"; then
8121 enable_static=yes
8122 fi
8123 done
8124 IFS=$lt_save_ifs
8125 ;;
8126 esac
8127 else
8128 enable_static=yes
8129 fi
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140 # Check whether --with-pic was given.
8141 if test "${with_pic+set}" = set; then :
8142 withval=$with_pic; lt_p=${PACKAGE-default}
8143 case $withval in
8144 yes|no) pic_mode=$withval ;;
8145 *)
8146 pic_mode=default
8147 # Look at the argument we got. We use all the common list separators.
8148 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8149 for lt_pkg in $withval; do
8150 IFS=$lt_save_ifs
8151 if test "X$lt_pkg" = "X$lt_p"; then
8152 pic_mode=yes
8153 fi
8154 done
8155 IFS=$lt_save_ifs
8156 ;;
8157 esac
8158 else
8159 pic_mode=default
8160 fi
8161
8162
8163
8164
8165
8166
8167
8168
8169 # Check whether --enable-fast-install was given.
8170 if test "${enable_fast_install+set}" = set; then :
8171 enableval=$enable_fast_install; p=${PACKAGE-default}
8172 case $enableval in
8173 yes) enable_fast_install=yes ;;
8174 no) enable_fast_install=no ;;
8175 *)
8176 enable_fast_install=no
8177 # Look at the argument we got. We use all the common list separators.
8178 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8179 for pkg in $enableval; do
8180 IFS=$lt_save_ifs
8181 if test "X$pkg" = "X$p"; then
8182 enable_fast_install=yes
8183 fi
8184 done
8185 IFS=$lt_save_ifs
8186 ;;
8187 esac
8188 else
8189 enable_fast_install=yes
8190 fi
8191
8192
8193
8194
8195
8196
8197
8198
8199 shared_archive_member_spec=
8200 case $host,$enable_shared in
8201 power*-*-aix[5-9]*,yes)
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8203 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8204
8205 # Check whether --with-aix-soname was given.
8206 if test "${with_aix_soname+set}" = set; then :
8207 withval=$with_aix_soname; case $withval in
8208 aix|svr4|both)
8209 ;;
8210 *)
8211 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8212 ;;
8213 esac
8214 lt_cv_with_aix_soname=$with_aix_soname
8215 else
8216 if ${lt_cv_with_aix_soname+:} false; then :
8217 $as_echo_n "(cached) " >&6
8218 else
8219 lt_cv_with_aix_soname=aix
8220 fi
8221
8222 with_aix_soname=$lt_cv_with_aix_soname
8223 fi
8224
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8226 $as_echo "$with_aix_soname" >&6; }
8227 if test aix != "$with_aix_soname"; then
8228 # For the AIX way of multilib, we name the shared archive member
8229 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8230 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8231 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8232 # the AIX toolchain works better with OBJECT_MODE set (default 32).
8233 if test 64 = "${OBJECT_MODE-32}"; then
8234 shared_archive_member_spec=shr_64
8235 else
8236 shared_archive_member_spec=shr
8237 fi
8238 fi
8239 ;;
8240 *)
8241 with_aix_soname=aix
8242 ;;
8243 esac
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254 # This can be used to rebuild libtool when needed
8255 LIBTOOL_DEPS=$ltmain
8256
8257 # Always use our own libtool.
8258 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289 test -z "$LN_S" && LN_S="ln -s"
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304 if test -n "${ZSH_VERSION+set}"; then
8305 setopt NO_GLOB_SUBST
8306 fi
8307
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8309 $as_echo_n "checking for objdir... " >&6; }
8310 if ${lt_cv_objdir+:} false; then :
8311 $as_echo_n "(cached) " >&6
8312 else
8313 rm -f .libs 2>/dev/null
8314 mkdir .libs 2>/dev/null
8315 if test -d .libs; then
8316 lt_cv_objdir=.libs
8317 else
8318 # MS-DOS does not allow filenames that begin with a dot.
8319 lt_cv_objdir=_libs
8320 fi
8321 rmdir .libs 2>/dev/null
8322 fi
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8324 $as_echo "$lt_cv_objdir" >&6; }
8325 objdir=$lt_cv_objdir
8326
8327
8328
8329
8330
8331 cat >>confdefs.h <<_ACEOF
8332 #define LT_OBJDIR "$lt_cv_objdir/"
8333 _ACEOF
8334
8335
8336
8337
8338 case $host_os in
8339 aix3*)
8340 # AIX sometimes has problems with the GCC collect2 program. For some
8341 # reason, if we set the COLLECT_NAMES environment variable, the problems
8342 # vanish in a puff of smoke.
8343 if test set != "${COLLECT_NAMES+set}"; then
8344 COLLECT_NAMES=
8345 export COLLECT_NAMES
8346 fi
8347 ;;
8348 esac
8349
8350 # Global variables:
8351 ofile=libtool
8352 can_build_shared=yes
8353
8354 # All known linkers require a '.a' archive for static linking (except MSVC,
8355 # which needs '.lib').
8356 libext=a
8357
8358 with_gnu_ld=$lt_cv_prog_gnu_ld
8359
8360 old_CC=$CC
8361 old_CFLAGS=$CFLAGS
8362
8363 # Set sane defaults for various variables
8364 test -z "$CC" && CC=cc
8365 test -z "$LTCC" && LTCC=$CC
8366 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8367 test -z "$LD" && LD=ld
8368 test -z "$ac_objext" && ac_objext=o
8369
8370 func_cc_basename $compiler
8371 cc_basename=$func_cc_basename_result
8372
8373
8374 # Only perform the check for file, if the check method requires it
8375 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8376 case $deplibs_check_method in
8377 file_magic*)
8378 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8380 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8381 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8382 $as_echo_n "(cached) " >&6
8383 else
8384 case $MAGIC_CMD in
8385 [\\/*] | ?:[\\/]*)
8386 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8387 ;;
8388 *)
8389 lt_save_MAGIC_CMD=$MAGIC_CMD
8390 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8391 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8392 for ac_dir in $ac_dummy; do
8393 IFS=$lt_save_ifs
8394 test -z "$ac_dir" && ac_dir=.
8395 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8396 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8397 if test -n "$file_magic_test_file"; then
8398 case $deplibs_check_method in
8399 "file_magic "*)
8400 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8401 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8402 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8403 $EGREP "$file_magic_regex" > /dev/null; then
8404 :
8405 else
8406 cat <<_LT_EOF 1>&2
8407
8408 *** Warning: the command libtool uses to detect shared libraries,
8409 *** $file_magic_cmd, produces output that libtool cannot recognize.
8410 *** The result is that libtool may fail to recognize shared libraries
8411 *** as such. This will affect the creation of libtool libraries that
8412 *** depend on shared libraries, but programs linked with such libtool
8413 *** libraries will work regardless of this problem. Nevertheless, you
8414 *** may want to report the problem to your system manager and/or to
8415 *** [email protected]
8416
8417 _LT_EOF
8418 fi ;;
8419 esac
8420 fi
8421 break
8422 fi
8423 done
8424 IFS=$lt_save_ifs
8425 MAGIC_CMD=$lt_save_MAGIC_CMD
8426 ;;
8427 esac
8428 fi
8429
8430 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8431 if test -n "$MAGIC_CMD"; then
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8433 $as_echo "$MAGIC_CMD" >&6; }
8434 else
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8436 $as_echo "no" >&6; }
8437 fi
8438
8439
8440
8441
8442
8443 if test -z "$lt_cv_path_MAGIC_CMD"; then
8444 if test -n "$ac_tool_prefix"; then
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8446 $as_echo_n "checking for file... " >&6; }
8447 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8448 $as_echo_n "(cached) " >&6
8449 else
8450 case $MAGIC_CMD in
8451 [\\/*] | ?:[\\/]*)
8452 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8453 ;;
8454 *)
8455 lt_save_MAGIC_CMD=$MAGIC_CMD
8456 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8457 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8458 for ac_dir in $ac_dummy; do
8459 IFS=$lt_save_ifs
8460 test -z "$ac_dir" && ac_dir=.
8461 if test -f "$ac_dir/file"; then
8462 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8463 if test -n "$file_magic_test_file"; then
8464 case $deplibs_check_method in
8465 "file_magic "*)
8466 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8467 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8468 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8469 $EGREP "$file_magic_regex" > /dev/null; then
8470 :
8471 else
8472 cat <<_LT_EOF 1>&2
8473
8474 *** Warning: the command libtool uses to detect shared libraries,
8475 *** $file_magic_cmd, produces output that libtool cannot recognize.
8476 *** The result is that libtool may fail to recognize shared libraries
8477 *** as such. This will affect the creation of libtool libraries that
8478 *** depend on shared libraries, but programs linked with such libtool
8479 *** libraries will work regardless of this problem. Nevertheless, you
8480 *** may want to report the problem to your system manager and/or to
8481 *** [email protected]
8482
8483 _LT_EOF
8484 fi ;;
8485 esac
8486 fi
8487 break
8488 fi
8489 done
8490 IFS=$lt_save_ifs
8491 MAGIC_CMD=$lt_save_MAGIC_CMD
8492 ;;
8493 esac
8494 fi
8495
8496 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8497 if test -n "$MAGIC_CMD"; then
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8499 $as_echo "$MAGIC_CMD" >&6; }
8500 else
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8502 $as_echo "no" >&6; }
8503 fi
8504
8505
8506 else
8507 MAGIC_CMD=:
8508 fi
8509 fi
8510
8511 fi
8512 ;;
8513 esac
8514
8515 # Use C for the default configuration in the libtool script
8516
8517 lt_save_CC=$CC
8518 ac_ext=c
8519 ac_cpp='$CPP $CPPFLAGS'
8520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8523
8524
8525 # Source file extension for C test sources.
8526 ac_ext=c
8527
8528 # Object file extension for compiled C test sources.
8529 objext=o
8530 objext=$objext
8531
8532 # Code to be used in simple compile tests
8533 lt_simple_compile_test_code="int some_variable = 0;"
8534
8535 # Code to be used in simple link tests
8536 lt_simple_link_test_code='int main(){return(0);}'
8537
8538
8539
8540
8541
8542
8543
8544 # If no C compiler was specified, use CC.
8545 LTCC=${LTCC-"$CC"}
8546
8547 # If no C compiler flags were specified, use CFLAGS.
8548 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8549
8550 # Allow CC to be a program name with arguments.
8551 compiler=$CC
8552
8553 # Save the default compiler, since it gets overwritten when the other
8554 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8555 compiler_DEFAULT=$CC
8556
8557 # save warnings/boilerplate of simple test code
8558 ac_outfile=conftest.$ac_objext
8559 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8560 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8561 _lt_compiler_boilerplate=`cat conftest.err`
8562 $RM conftest*
8563
8564 ac_outfile=conftest.$ac_objext
8565 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8566 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8567 _lt_linker_boilerplate=`cat conftest.err`
8568 $RM -r conftest*
8569
8570
8571 ## CAVEAT EMPTOR:
8572 ## There is no encapsulation within the following macros, do not change
8573 ## the running order or otherwise move them around unless you know exactly
8574 ## what you are doing...
8575 if test -n "$compiler"; then
8576
8577 lt_prog_compiler_no_builtin_flag=
8578
8579 if test yes = "$GCC"; then
8580 case $cc_basename in
8581 nvcc*)
8582 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8583 *)
8584 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8585 esac
8586
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8588 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8589 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8590 $as_echo_n "(cached) " >&6
8591 else
8592 lt_cv_prog_compiler_rtti_exceptions=no
8593 ac_outfile=conftest.$ac_objext
8594 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8595 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
8596 # Insert the option either (1) after the last *FLAGS variable, or
8597 # (2) before a word containing "conftest.", or (3) at the end.
8598 # Note that $ac_compile itself does not contain backslashes and begins
8599 # with a dollar sign (not a hyphen), so the echo should work correctly.
8600 # The option is referenced via a variable to avoid confusing sed.
8601 lt_compile=`echo "$ac_compile" | $SED \
8602 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8603 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8604 -e 's:$: $lt_compiler_flag:'`
8605 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8606 (eval "$lt_compile" 2>conftest.err)
8607 ac_status=$?
8608 cat conftest.err >&5
8609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8610 if (exit $ac_status) && test -s "$ac_outfile"; then
8611 # The compiler can only warn and ignore the option if not recognized
8612 # So say no if there are warnings other than the usual output.
8613 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8614 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8615 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8616 lt_cv_prog_compiler_rtti_exceptions=yes
8617 fi
8618 fi
8619 $RM conftest*
8620
8621 fi
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8623 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8624
8625 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8626 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8627 else
8628 :
8629 fi
8630
8631 fi
8632
8633
8634
8635
8636
8637
8638 lt_prog_compiler_wl=
8639 lt_prog_compiler_pic=
8640 lt_prog_compiler_static=
8641
8642
8643 if test yes = "$GCC"; then
8644 lt_prog_compiler_wl='-Wl,'
8645 lt_prog_compiler_static='-static'
8646
8647 case $host_os in
8648 aix*)
8649 # All AIX code is PIC.
8650 if test ia64 = "$host_cpu"; then
8651 # AIX 5 now supports IA64 processor
8652 lt_prog_compiler_static='-Bstatic'
8653 fi
8654 lt_prog_compiler_pic='-fPIC'
8655 ;;
8656
8657 amigaos*)
8658 case $host_cpu in
8659 powerpc)
8660 # see comment about AmigaOS4 .so support
8661 lt_prog_compiler_pic='-fPIC'
8662 ;;
8663 m68k)
8664 # FIXME: we need at least 68020 code to build shared libraries, but
8665 # adding the '-m68020' flag to GCC prevents building anything better,
8666 # like '-m68040'.
8667 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8668 ;;
8669 esac
8670 ;;
8671
8672 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8673 # PIC is the default for these OSes.
8674 ;;
8675
8676 mingw* | cygwin* | pw32* | os2* | cegcc*)
8677 # This hack is so that the source file can tell whether it is being
8678 # built for inclusion in a dll (and should export symbols for example).
8679 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8680 # (--disable-auto-import) libraries
8681 lt_prog_compiler_pic='-DDLL_EXPORT'
8682 case $host_os in
8683 os2*)
8684 lt_prog_compiler_static='$wl-static'
8685 ;;
8686 esac
8687 ;;
8688
8689 darwin* | rhapsody*)
8690 # PIC is the default on this platform
8691 # Common symbols not allowed in MH_DYLIB files
8692 lt_prog_compiler_pic='-fno-common'
8693 ;;
8694
8695 haiku*)
8696 # PIC is the default for Haiku.
8697 # The "-static" flag exists, but is broken.
8698 lt_prog_compiler_static=
8699 ;;
8700
8701 hpux*)
8702 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8703 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8704 # sets the default TLS model and affects inlining.
8705 case $host_cpu in
8706 hppa*64*)
8707 # +Z the default
8708 ;;
8709 *)
8710 lt_prog_compiler_pic='-fPIC'
8711 ;;
8712 esac
8713 ;;
8714
8715 interix[3-9]*)
8716 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8717 # Instead, we relocate shared libraries at runtime.
8718 ;;
8719
8720 msdosdjgpp*)
8721 # Just because we use GCC doesn't mean we suddenly get shared libraries
8722 # on systems that don't support them.
8723 lt_prog_compiler_can_build_shared=no
8724 enable_shared=no
8725 ;;
8726
8727 *nto* | *qnx*)
8728 # QNX uses GNU C++, but need to define -shared option too, otherwise
8729 # it will coredump.
8730 lt_prog_compiler_pic='-fPIC -shared'
8731 ;;
8732
8733 sysv4*MP*)
8734 if test -d /usr/nec; then
8735 lt_prog_compiler_pic=-Kconform_pic
8736 fi
8737 ;;
8738
8739 *)
8740 lt_prog_compiler_pic='-fPIC'
8741 ;;
8742 esac
8743
8744 case $cc_basename in
8745 nvcc*) # Cuda Compiler Driver 2.2
8746 lt_prog_compiler_wl='-Xlinker '
8747 if test -n "$lt_prog_compiler_pic"; then
8748 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8749 fi
8750 ;;
8751 esac
8752 else
8753 # PORTME Check for flag to pass linker flags through the system compiler.
8754 case $host_os in
8755 aix*)
8756 lt_prog_compiler_wl='-Wl,'
8757 if test ia64 = "$host_cpu"; then
8758 # AIX 5 now supports IA64 processor
8759 lt_prog_compiler_static='-Bstatic'
8760 else
8761 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8762 fi
8763 ;;
8764
8765 darwin* | rhapsody*)
8766 # PIC is the default on this platform
8767 # Common symbols not allowed in MH_DYLIB files
8768 lt_prog_compiler_pic='-fno-common'
8769 case $cc_basename in
8770 nagfor*)
8771 # NAG Fortran compiler
8772 lt_prog_compiler_wl='-Wl,-Wl,,'
8773 lt_prog_compiler_pic='-PIC'
8774 lt_prog_compiler_static='-Bstatic'
8775 ;;
8776 esac
8777 ;;
8778
8779 mingw* | cygwin* | pw32* | os2* | cegcc*)
8780 # This hack is so that the source file can tell whether it is being
8781 # built for inclusion in a dll (and should export symbols for example).
8782 lt_prog_compiler_pic='-DDLL_EXPORT'
8783 case $host_os in
8784 os2*)
8785 lt_prog_compiler_static='$wl-static'
8786 ;;
8787 esac
8788 ;;
8789
8790 hpux9* | hpux10* | hpux11*)
8791 lt_prog_compiler_wl='-Wl,'
8792 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8793 # not for PA HP-UX.
8794 case $host_cpu in
8795 hppa*64*|ia64*)
8796 # +Z the default
8797 ;;
8798 *)
8799 lt_prog_compiler_pic='+Z'
8800 ;;
8801 esac
8802 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8803 lt_prog_compiler_static='$wl-a ${wl}archive'
8804 ;;
8805
8806 irix5* | irix6* | nonstopux*)
8807 lt_prog_compiler_wl='-Wl,'
8808 # PIC (with -KPIC) is the default.
8809 lt_prog_compiler_static='-non_shared'
8810 ;;
8811
8812 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8813 case $cc_basename in
8814 # old Intel for x86_64, which still supported -KPIC.
8815 ecc*)
8816 lt_prog_compiler_wl='-Wl,'
8817 lt_prog_compiler_pic='-KPIC'
8818 lt_prog_compiler_static='-static'
8819 ;;
8820 # icc used to be incompatible with GCC.
8821 # ICC 10 doesn't accept -KPIC any more.
8822 icc* | ifort*)
8823 lt_prog_compiler_wl='-Wl,'
8824 lt_prog_compiler_pic='-fPIC'
8825 lt_prog_compiler_static='-static'
8826 ;;
8827 # Lahey Fortran 8.1.
8828 lf95*)
8829 lt_prog_compiler_wl='-Wl,'
8830 lt_prog_compiler_pic='--shared'
8831 lt_prog_compiler_static='--static'
8832 ;;
8833 nagfor*)
8834 # NAG Fortran compiler
8835 lt_prog_compiler_wl='-Wl,-Wl,,'
8836 lt_prog_compiler_pic='-PIC'
8837 lt_prog_compiler_static='-Bstatic'
8838 ;;
8839 tcc*)
8840 # Fabrice Bellard et al's Tiny C Compiler
8841 lt_prog_compiler_wl='-Wl,'
8842 lt_prog_compiler_pic='-fPIC'
8843 lt_prog_compiler_static='-static'
8844 ;;
8845 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8846 # Portland Group compilers (*not* the Pentium gcc compiler,
8847 # which looks to be a dead project)
8848 lt_prog_compiler_wl='-Wl,'
8849 lt_prog_compiler_pic='-fpic'
8850 lt_prog_compiler_static='-Bstatic'
8851 ;;
8852 ccc*)
8853 lt_prog_compiler_wl='-Wl,'
8854 # All Alpha code is PIC.
8855 lt_prog_compiler_static='-non_shared'
8856 ;;
8857 xl* | bgxl* | bgf* | mpixl*)
8858 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8859 lt_prog_compiler_wl='-Wl,'
8860 lt_prog_compiler_pic='-qpic'
8861 lt_prog_compiler_static='-qstaticlink'
8862 ;;
8863 *)
8864 case `$CC -V 2>&1 | sed 5q` in
8865 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8866 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8867 lt_prog_compiler_pic='-KPIC'
8868 lt_prog_compiler_static='-Bstatic'
8869 lt_prog_compiler_wl=''
8870 ;;
8871 *Sun\ F* | *Sun*Fortran*)
8872 lt_prog_compiler_pic='-KPIC'
8873 lt_prog_compiler_static='-Bstatic'
8874 lt_prog_compiler_wl='-Qoption ld '
8875 ;;
8876 *Sun\ C*)
8877 # Sun C 5.9
8878 lt_prog_compiler_pic='-KPIC'
8879 lt_prog_compiler_static='-Bstatic'
8880 lt_prog_compiler_wl='-Wl,'
8881 ;;
8882 *Intel*\ [CF]*Compiler*)
8883 lt_prog_compiler_wl='-Wl,'
8884 lt_prog_compiler_pic='-fPIC'
8885 lt_prog_compiler_static='-static'
8886 ;;
8887 *Portland\ Group*)
8888 lt_prog_compiler_wl='-Wl,'
8889 lt_prog_compiler_pic='-fpic'
8890 lt_prog_compiler_static='-Bstatic'
8891 ;;
8892 esac
8893 ;;
8894 esac
8895 ;;
8896
8897 newsos6)
8898 lt_prog_compiler_pic='-KPIC'
8899 lt_prog_compiler_static='-Bstatic'
8900 ;;
8901
8902 *nto* | *qnx*)
8903 # QNX uses GNU C++, but need to define -shared option too, otherwise
8904 # it will coredump.
8905 lt_prog_compiler_pic='-fPIC -shared'
8906 ;;
8907
8908 osf3* | osf4* | osf5*)
8909 lt_prog_compiler_wl='-Wl,'
8910 # All OSF/1 code is PIC.
8911 lt_prog_compiler_static='-non_shared'
8912 ;;
8913
8914 rdos*)
8915 lt_prog_compiler_static='-non_shared'
8916 ;;
8917
8918 solaris*)
8919 lt_prog_compiler_pic='-KPIC'
8920 lt_prog_compiler_static='-Bstatic'
8921 case $cc_basename in
8922 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8923 lt_prog_compiler_wl='-Qoption ld ';;
8924 *)
8925 lt_prog_compiler_wl='-Wl,';;
8926 esac
8927 ;;
8928
8929 sunos4*)
8930 lt_prog_compiler_wl='-Qoption ld '
8931 lt_prog_compiler_pic='-PIC'
8932 lt_prog_compiler_static='-Bstatic'
8933 ;;
8934
8935 sysv4 | sysv4.2uw2* | sysv4.3*)
8936 lt_prog_compiler_wl='-Wl,'
8937 lt_prog_compiler_pic='-KPIC'
8938 lt_prog_compiler_static='-Bstatic'
8939 ;;
8940
8941 sysv4*MP*)
8942 if test -d /usr/nec; then
8943 lt_prog_compiler_pic='-Kconform_pic'
8944 lt_prog_compiler_static='-Bstatic'
8945 fi
8946 ;;
8947
8948 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8949 lt_prog_compiler_wl='-Wl,'
8950 lt_prog_compiler_pic='-KPIC'
8951 lt_prog_compiler_static='-Bstatic'
8952 ;;
8953
8954 unicos*)
8955 lt_prog_compiler_wl='-Wl,'
8956 lt_prog_compiler_can_build_shared=no
8957 ;;
8958
8959 uts4*)
8960 lt_prog_compiler_pic='-pic'
8961 lt_prog_compiler_static='-Bstatic'
8962 ;;
8963
8964 *)
8965 lt_prog_compiler_can_build_shared=no
8966 ;;
8967 esac
8968 fi
8969
8970 case $host_os in
8971 # For platforms that do not support PIC, -DPIC is meaningless:
8972 *djgpp*)
8973 lt_prog_compiler_pic=
8974 ;;
8975 *)
8976 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8977 ;;
8978 esac
8979
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8981 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8982 if ${lt_cv_prog_compiler_pic+:} false; then :
8983 $as_echo_n "(cached) " >&6
8984 else
8985 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8986 fi
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8988 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8989 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8990
8991 #
8992 # Check to make sure the PIC flag actually works.
8993 #
8994 if test -n "$lt_prog_compiler_pic"; then
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8996 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8997 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8998 $as_echo_n "(cached) " >&6
8999 else
9000 lt_cv_prog_compiler_pic_works=no
9001 ac_outfile=conftest.$ac_objext
9002 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9003 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9004 # Insert the option either (1) after the last *FLAGS variable, or
9005 # (2) before a word containing "conftest.", or (3) at the end.
9006 # Note that $ac_compile itself does not contain backslashes and begins
9007 # with a dollar sign (not a hyphen), so the echo should work correctly.
9008 # The option is referenced via a variable to avoid confusing sed.
9009 lt_compile=`echo "$ac_compile" | $SED \
9010 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9011 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9012 -e 's:$: $lt_compiler_flag:'`
9013 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9014 (eval "$lt_compile" 2>conftest.err)
9015 ac_status=$?
9016 cat conftest.err >&5
9017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9018 if (exit $ac_status) && test -s "$ac_outfile"; then
9019 # The compiler can only warn and ignore the option if not recognized
9020 # So say no if there are warnings other than the usual output.
9021 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9022 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9023 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9024 lt_cv_prog_compiler_pic_works=yes
9025 fi
9026 fi
9027 $RM conftest*
9028
9029 fi
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9031 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9032
9033 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9034 case $lt_prog_compiler_pic in
9035 "" | " "*) ;;
9036 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9037 esac
9038 else
9039 lt_prog_compiler_pic=
9040 lt_prog_compiler_can_build_shared=no
9041 fi
9042
9043 fi
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055 #
9056 # Check to make sure the static flag actually works.
9057 #
9058 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9060 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9061 if ${lt_cv_prog_compiler_static_works+:} false; then :
9062 $as_echo_n "(cached) " >&6
9063 else
9064 lt_cv_prog_compiler_static_works=no
9065 save_LDFLAGS=$LDFLAGS
9066 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9067 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9068 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9069 # The linker can only warn and ignore the option if not recognized
9070 # So say no if there are warnings
9071 if test -s conftest.err; then
9072 # Append any errors to the config.log.
9073 cat conftest.err 1>&5
9074 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9075 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9076 if diff conftest.exp conftest.er2 >/dev/null; then
9077 lt_cv_prog_compiler_static_works=yes
9078 fi
9079 else
9080 lt_cv_prog_compiler_static_works=yes
9081 fi
9082 fi
9083 $RM -r conftest*
9084 LDFLAGS=$save_LDFLAGS
9085
9086 fi
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9088 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9089
9090 if test yes = "$lt_cv_prog_compiler_static_works"; then
9091 :
9092 else
9093 lt_prog_compiler_static=
9094 fi
9095
9096
9097
9098
9099
9100
9101
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9103 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9104 if ${lt_cv_prog_compiler_c_o+:} false; then :
9105 $as_echo_n "(cached) " >&6
9106 else
9107 lt_cv_prog_compiler_c_o=no
9108 $RM -r conftest 2>/dev/null
9109 mkdir conftest
9110 cd conftest
9111 mkdir out
9112 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9113
9114 lt_compiler_flag="-o out/conftest2.$ac_objext"
9115 # Insert the option either (1) after the last *FLAGS variable, or
9116 # (2) before a word containing "conftest.", or (3) at the end.
9117 # Note that $ac_compile itself does not contain backslashes and begins
9118 # with a dollar sign (not a hyphen), so the echo should work correctly.
9119 lt_compile=`echo "$ac_compile" | $SED \
9120 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9121 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9122 -e 's:$: $lt_compiler_flag:'`
9123 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9124 (eval "$lt_compile" 2>out/conftest.err)
9125 ac_status=$?
9126 cat out/conftest.err >&5
9127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9128 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9129 then
9130 # The compiler can only warn and ignore the option if not recognized
9131 # So say no if there are warnings
9132 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9133 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9134 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9135 lt_cv_prog_compiler_c_o=yes
9136 fi
9137 fi
9138 chmod u+w . 2>&5
9139 $RM conftest*
9140 # SGI C++ compiler will create directory out/ii_files/ for
9141 # template instantiation
9142 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9143 $RM out/* && rmdir out
9144 cd ..
9145 $RM -r conftest
9146 $RM conftest*
9147
9148 fi
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9150 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9151
9152
9153
9154
9155
9156
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9158 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9159 if ${lt_cv_prog_compiler_c_o+:} false; then :
9160 $as_echo_n "(cached) " >&6
9161 else
9162 lt_cv_prog_compiler_c_o=no
9163 $RM -r conftest 2>/dev/null
9164 mkdir conftest
9165 cd conftest
9166 mkdir out
9167 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9168
9169 lt_compiler_flag="-o out/conftest2.$ac_objext"
9170 # Insert the option either (1) after the last *FLAGS variable, or
9171 # (2) before a word containing "conftest.", or (3) at the end.
9172 # Note that $ac_compile itself does not contain backslashes and begins
9173 # with a dollar sign (not a hyphen), so the echo should work correctly.
9174 lt_compile=`echo "$ac_compile" | $SED \
9175 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9176 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9177 -e 's:$: $lt_compiler_flag:'`
9178 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9179 (eval "$lt_compile" 2>out/conftest.err)
9180 ac_status=$?
9181 cat out/conftest.err >&5
9182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9183 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9184 then
9185 # The compiler can only warn and ignore the option if not recognized
9186 # So say no if there are warnings
9187 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9188 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9189 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9190 lt_cv_prog_compiler_c_o=yes
9191 fi
9192 fi
9193 chmod u+w . 2>&5
9194 $RM conftest*
9195 # SGI C++ compiler will create directory out/ii_files/ for
9196 # template instantiation
9197 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9198 $RM out/* && rmdir out
9199 cd ..
9200 $RM -r conftest
9201 $RM conftest*
9202
9203 fi
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9205 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9206
9207
9208
9209
9210 hard_links=nottested
9211 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9212 # do not overwrite the value of need_locks provided by the user
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9214 $as_echo_n "checking if we can lock with hard links... " >&6; }
9215 hard_links=yes
9216 $RM conftest*
9217 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9218 touch conftest.a
9219 ln conftest.a conftest.b 2>&5 || hard_links=no
9220 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9222 $as_echo "$hard_links" >&6; }
9223 if test no = "$hard_links"; then
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9225 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9226 need_locks=warn
9227 fi
9228 else
9229 need_locks=no
9230 fi
9231
9232
9233
9234
9235
9236
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9238 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9239
9240 runpath_var=
9241 allow_undefined_flag=
9242 always_export_symbols=no
9243 archive_cmds=
9244 archive_expsym_cmds=
9245 compiler_needs_object=no
9246 enable_shared_with_static_runtimes=no
9247 export_dynamic_flag_spec=
9248 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9249 hardcode_automatic=no
9250 hardcode_direct=no
9251 hardcode_direct_absolute=no
9252 hardcode_libdir_flag_spec=
9253 hardcode_libdir_separator=
9254 hardcode_minus_L=no
9255 hardcode_shlibpath_var=unsupported
9256 inherit_rpath=no
9257 link_all_deplibs=unknown
9258 module_cmds=
9259 module_expsym_cmds=
9260 old_archive_from_new_cmds=
9261 old_archive_from_expsyms_cmds=
9262 thread_safe_flag_spec=
9263 whole_archive_flag_spec=
9264 # include_expsyms should be a list of space-separated symbols to be *always*
9265 # included in the symbol list
9266 include_expsyms=
9267 # exclude_expsyms can be an extended regexp of symbols to exclude
9268 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9269 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9270 # as well as any symbol that contains 'd'.
9271 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9272 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9273 # platforms (ab)use it in PIC code, but their linkers get confused if
9274 # the symbol is explicitly referenced. Since portable code cannot
9275 # rely on this symbol name, it's probably fine to never include it in
9276 # preloaded symbol tables.
9277 # Exclude shared library initialization/finalization symbols.
9278 extract_expsyms_cmds=
9279
9280 case $host_os in
9281 cygwin* | mingw* | pw32* | cegcc*)
9282 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9283 # When not using gcc, we currently assume that we are using
9284 # Microsoft Visual C++.
9285 if test yes != "$GCC"; then
9286 with_gnu_ld=no
9287 fi
9288 ;;
9289 interix*)
9290 # we just hope/assume this is gcc and not c89 (= MSVC++)
9291 with_gnu_ld=yes
9292 ;;
9293 openbsd* | bitrig*)
9294 with_gnu_ld=no
9295 ;;
9296 esac
9297
9298 ld_shlibs=yes
9299
9300 # On some targets, GNU ld is compatible enough with the native linker
9301 # that we're better off using the native interface for both.
9302 lt_use_gnu_ld_interface=no
9303 if test yes = "$with_gnu_ld"; then
9304 case $host_os in
9305 aix*)
9306 # The AIX port of GNU ld has always aspired to compatibility
9307 # with the native linker. However, as the warning in the GNU ld
9308 # block says, versions before 2.19.5* couldn't really create working
9309 # shared libraries, regardless of the interface used.
9310 case `$LD -v 2>&1` in
9311 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9312 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9313 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9314 *)
9315 lt_use_gnu_ld_interface=yes
9316 ;;
9317 esac
9318 ;;
9319 *)
9320 lt_use_gnu_ld_interface=yes
9321 ;;
9322 esac
9323 fi
9324
9325 if test yes = "$lt_use_gnu_ld_interface"; then
9326 # If archive_cmds runs LD, not CC, wlarc should be empty
9327 wlarc='$wl'
9328
9329 # Set some defaults for GNU ld with shared library support. These
9330 # are reset later if shared libraries are not supported. Putting them
9331 # here allows them to be overridden if necessary.
9332 runpath_var=LD_RUN_PATH
9333 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9334 export_dynamic_flag_spec='$wl--export-dynamic'
9335 # ancient GNU ld didn't support --whole-archive et. al.
9336 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9337 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9338 else
9339 whole_archive_flag_spec=
9340 fi
9341 supports_anon_versioning=no
9342 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9343 *GNU\ gold*) supports_anon_versioning=yes ;;
9344 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9345 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9346 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9347 *\ 2.11.*) ;; # other 2.11 versions
9348 *) supports_anon_versioning=yes ;;
9349 esac
9350
9351 # See if GNU ld supports shared libraries.
9352 case $host_os in
9353 aix[3-9]*)
9354 # On AIX/PPC, the GNU linker is very broken
9355 if test ia64 != "$host_cpu"; then
9356 ld_shlibs=no
9357 cat <<_LT_EOF 1>&2
9358
9359 *** Warning: the GNU linker, at least up to release 2.19, is reported
9360 *** to be unable to reliably create shared libraries on AIX.
9361 *** Therefore, libtool is disabling shared libraries support. If you
9362 *** really care for shared libraries, you may want to install binutils
9363 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9364 *** You will then need to restart the configuration process.
9365
9366 _LT_EOF
9367 fi
9368 ;;
9369
9370 amigaos*)
9371 case $host_cpu in
9372 powerpc)
9373 # see comment about AmigaOS4 .so support
9374 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9375 archive_expsym_cmds=''
9376 ;;
9377 m68k)
9378 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)'
9379 hardcode_libdir_flag_spec='-L$libdir'
9380 hardcode_minus_L=yes
9381 ;;
9382 esac
9383 ;;
9384
9385 beos*)
9386 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9387 allow_undefined_flag=unsupported
9388 # Joseph Beckenbach <[email protected]> says some releases of gcc
9389 # support --undefined. This deserves some investigation. FIXME
9390 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9391 else
9392 ld_shlibs=no
9393 fi
9394 ;;
9395
9396 cygwin* | mingw* | pw32* | cegcc*)
9397 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9398 # as there is no search path for DLLs.
9399 hardcode_libdir_flag_spec='-L$libdir'
9400 export_dynamic_flag_spec='$wl--export-all-symbols'
9401 allow_undefined_flag=unsupported
9402 always_export_symbols=no
9403 enable_shared_with_static_runtimes=yes
9404 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'
9405 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9406
9407 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9408 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9409 # If the export-symbols file already is a .def file, use it as
9410 # is; otherwise, prepend EXPORTS...
9411 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9412 cp $export_symbols $output_objdir/$soname.def;
9413 else
9414 echo EXPORTS > $output_objdir/$soname.def;
9415 cat $export_symbols >> $output_objdir/$soname.def;
9416 fi~
9417 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9418 else
9419 ld_shlibs=no
9420 fi
9421 ;;
9422
9423 haiku*)
9424 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9425 link_all_deplibs=yes
9426 ;;
9427
9428 os2*)
9429 hardcode_libdir_flag_spec='-L$libdir'
9430 hardcode_minus_L=yes
9431 allow_undefined_flag=unsupported
9432 shrext_cmds=.dll
9433 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9434 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9435 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9436 $ECHO EXPORTS >> $output_objdir/$libname.def~
9437 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9438 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9439 emximp -o $lib $output_objdir/$libname.def'
9440 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9441 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9442 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9443 $ECHO EXPORTS >> $output_objdir/$libname.def~
9444 prefix_cmds="$SED"~
9445 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9446 prefix_cmds="$prefix_cmds -e 1d";
9447 fi~
9448 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9449 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9450 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9451 emximp -o $lib $output_objdir/$libname.def'
9452 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9453 enable_shared_with_static_runtimes=yes
9454 ;;
9455
9456 interix[3-9]*)
9457 hardcode_direct=no
9458 hardcode_shlibpath_var=no
9459 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9460 export_dynamic_flag_spec='$wl-E'
9461 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9462 # Instead, shared libraries are loaded at an image base (0x10000000 by
9463 # default) and relocated if they conflict, which is a slow very memory
9464 # consuming and fragmenting process. To avoid this, we pick a random,
9465 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9466 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9467 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9468 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'
9469 ;;
9470
9471 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9472 tmp_diet=no
9473 if test linux-dietlibc = "$host_os"; then
9474 case $cc_basename in
9475 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9476 esac
9477 fi
9478 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9479 && test no = "$tmp_diet"
9480 then
9481 tmp_addflag=' $pic_flag'
9482 tmp_sharedflag='-shared'
9483 case $cc_basename,$host_cpu in
9484 pgcc*) # Portland Group C compiler
9485 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'
9486 tmp_addflag=' $pic_flag'
9487 ;;
9488 pgf77* | pgf90* | pgf95* | pgfortran*)
9489 # Portland Group f77 and f90 compilers
9490 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'
9491 tmp_addflag=' $pic_flag -Mnomain' ;;
9492 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9493 tmp_addflag=' -i_dynamic' ;;
9494 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9495 tmp_addflag=' -i_dynamic -nofor_main' ;;
9496 ifc* | ifort*) # Intel Fortran compiler
9497 tmp_addflag=' -nofor_main' ;;
9498 lf95*) # Lahey Fortran 8.1
9499 whole_archive_flag_spec=
9500 tmp_sharedflag='--shared' ;;
9501 nagfor*) # NAGFOR 5.3
9502 tmp_sharedflag='-Wl,-shared' ;;
9503 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9504 tmp_sharedflag='-qmkshrobj'
9505 tmp_addflag= ;;
9506 nvcc*) # Cuda Compiler Driver 2.2
9507 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'
9508 compiler_needs_object=yes
9509 ;;
9510 esac
9511 case `$CC -V 2>&1 | sed 5q` in
9512 *Sun\ C*) # Sun C 5.9
9513 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'
9514 compiler_needs_object=yes
9515 tmp_sharedflag='-G' ;;
9516 *Sun\ F*) # Sun Fortran 8.3
9517 tmp_sharedflag='-G' ;;
9518 esac
9519 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9520
9521 if test yes = "$supports_anon_versioning"; then
9522 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9523 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9524 echo "local: *; };" >> $output_objdir/$libname.ver~
9525 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9526 fi
9527
9528 case $cc_basename in
9529 tcc*)
9530 export_dynamic_flag_spec='-rdynamic'
9531 ;;
9532 xlf* | bgf* | bgxlf* | mpixlf*)
9533 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9534 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9535 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9536 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9537 if test yes = "$supports_anon_versioning"; then
9538 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9539 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9540 echo "local: *; };" >> $output_objdir/$libname.ver~
9541 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9542 fi
9543 ;;
9544 esac
9545 else
9546 ld_shlibs=no
9547 fi
9548 ;;
9549
9550 netbsd*)
9551 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9552 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9553 wlarc=
9554 else
9555 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9556 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9557 fi
9558 ;;
9559
9560 solaris*)
9561 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9562 ld_shlibs=no
9563 cat <<_LT_EOF 1>&2
9564
9565 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9566 *** create shared libraries on Solaris systems. Therefore, libtool
9567 *** is disabling shared libraries support. We urge you to upgrade GNU
9568 *** binutils to release 2.9.1 or newer. Another option is to modify
9569 *** your PATH or compiler configuration so that the native linker is
9570 *** used, and then restart.
9571
9572 _LT_EOF
9573 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9574 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9575 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9576 else
9577 ld_shlibs=no
9578 fi
9579 ;;
9580
9581 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9582 case `$LD -v 2>&1` in
9583 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9584 ld_shlibs=no
9585 cat <<_LT_EOF 1>&2
9586
9587 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9588 *** reliably create shared libraries on SCO systems. Therefore, libtool
9589 *** is disabling shared libraries support. We urge you to upgrade GNU
9590 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9591 *** your PATH or compiler configuration so that the native linker is
9592 *** used, and then restart.
9593
9594 _LT_EOF
9595 ;;
9596 *)
9597 # For security reasons, it is highly recommended that you always
9598 # use absolute paths for naming shared libraries, and exclude the
9599 # DT_RUNPATH tag from executables and libraries. But doing so
9600 # requires that you compile everything twice, which is a pain.
9601 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9602 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9603 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9604 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9605 else
9606 ld_shlibs=no
9607 fi
9608 ;;
9609 esac
9610 ;;
9611
9612 sunos4*)
9613 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9614 wlarc=
9615 hardcode_direct=yes
9616 hardcode_shlibpath_var=no
9617 ;;
9618
9619 *)
9620 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9621 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9622 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9623 else
9624 ld_shlibs=no
9625 fi
9626 ;;
9627 esac
9628
9629 if test no = "$ld_shlibs"; then
9630 runpath_var=
9631 hardcode_libdir_flag_spec=
9632 export_dynamic_flag_spec=
9633 whole_archive_flag_spec=
9634 fi
9635 else
9636 # PORTME fill in a description of your system's linker (not GNU ld)
9637 case $host_os in
9638 aix3*)
9639 allow_undefined_flag=unsupported
9640 always_export_symbols=yes
9641 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'
9642 # Note: this linker hardcodes the directories in LIBPATH if there
9643 # are no directories specified by -L.
9644 hardcode_minus_L=yes
9645 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9646 # Neither direct hardcoding nor static linking is supported with a
9647 # broken collect2.
9648 hardcode_direct=unsupported
9649 fi
9650 ;;
9651
9652 aix[4-9]*)
9653 if test ia64 = "$host_cpu"; then
9654 # On IA64, the linker does run time linking by default, so we don't
9655 # have to do anything special.
9656 aix_use_runtimelinking=no
9657 exp_sym_flag='-Bexport'
9658 no_entry_flag=
9659 else
9660 # If we're using GNU nm, then we don't want the "-C" option.
9661 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9662 # Without the "-l" option, or with the "-B" option, AIX nm treats
9663 # weak defined symbols like other global defined symbols, whereas
9664 # GNU nm marks them as "W".
9665 # While the 'weak' keyword is ignored in the Export File, we need
9666 # it in the Import File for the 'aix-soname' feature, so we have
9667 # to replace the "-B" option with "-P" for AIX nm.
9668 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9669 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'
9670 else
9671 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'
9672 fi
9673 aix_use_runtimelinking=no
9674
9675 # Test if we are trying to use run time linking or normal
9676 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9677 # have runtime linking enabled, and use it for executables.
9678 # For shared libraries, we enable/disable runtime linking
9679 # depending on the kind of the shared library created -
9680 # when "with_aix_soname,aix_use_runtimelinking" is:
9681 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
9682 # "aix,yes" lib.so shared, rtl:yes, for executables
9683 # lib.a static archive
9684 # "both,no" lib.so.V(shr.o) shared, rtl:yes
9685 # lib.a(lib.so.V) shared, rtl:no, for executables
9686 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9687 # lib.a(lib.so.V) shared, rtl:no
9688 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
9689 # lib.a static archive
9690 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9691 for ld_flag in $LDFLAGS; do
9692 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9693 aix_use_runtimelinking=yes
9694 break
9695 fi
9696 done
9697 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9698 # With aix-soname=svr4, we create the lib.so.V shared archives only,
9699 # so we don't have lib.a shared libs to link our executables.
9700 # We have to force runtime linking in this case.
9701 aix_use_runtimelinking=yes
9702 LDFLAGS="$LDFLAGS -Wl,-brtl"
9703 fi
9704 ;;
9705 esac
9706
9707 exp_sym_flag='-bexport'
9708 no_entry_flag='-bnoentry'
9709 fi
9710
9711 # When large executables or shared objects are built, AIX ld can
9712 # have problems creating the table of contents. If linking a library
9713 # or program results in "error TOC overflow" add -mminimal-toc to
9714 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9715 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9716
9717 archive_cmds=''
9718 hardcode_direct=yes
9719 hardcode_direct_absolute=yes
9720 hardcode_libdir_separator=':'
9721 link_all_deplibs=yes
9722 file_list_spec='$wl-f,'
9723 case $with_aix_soname,$aix_use_runtimelinking in
9724 aix,*) ;; # traditional, no import file
9725 svr4,* | *,yes) # use import file
9726 # The Import File defines what to hardcode.
9727 hardcode_direct=no
9728 hardcode_direct_absolute=no
9729 ;;
9730 esac
9731
9732 if test yes = "$GCC"; then
9733 case $host_os in aix4.[012]|aix4.[012].*)
9734 # We only want to do this on AIX 4.2 and lower, the check
9735 # below for broken collect2 doesn't work under 4.3+
9736 collect2name=`$CC -print-prog-name=collect2`
9737 if test -f "$collect2name" &&
9738 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9739 then
9740 # We have reworked collect2
9741 :
9742 else
9743 # We have old collect2
9744 hardcode_direct=unsupported
9745 # It fails to find uninstalled libraries when the uninstalled
9746 # path is not listed in the libpath. Setting hardcode_minus_L
9747 # to unsupported forces relinking
9748 hardcode_minus_L=yes
9749 hardcode_libdir_flag_spec='-L$libdir'
9750 hardcode_libdir_separator=
9751 fi
9752 ;;
9753 esac
9754 shared_flag='-shared'
9755 if test yes = "$aix_use_runtimelinking"; then
9756 shared_flag="$shared_flag "'$wl-G'
9757 fi
9758 # Need to ensure runtime linking is disabled for the traditional
9759 # shared library, or the linker may eventually find shared libraries
9760 # /with/ Import File - we do not want to mix them.
9761 shared_flag_aix='-shared'
9762 shared_flag_svr4='-shared $wl-G'
9763 else
9764 # not using gcc
9765 if test ia64 = "$host_cpu"; then
9766 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9767 # chokes on -Wl,-G. The following line is correct:
9768 shared_flag='-G'
9769 else
9770 if test yes = "$aix_use_runtimelinking"; then
9771 shared_flag='$wl-G'
9772 else
9773 shared_flag='$wl-bM:SRE'
9774 fi
9775 shared_flag_aix='$wl-bM:SRE'
9776 shared_flag_svr4='$wl-G'
9777 fi
9778 fi
9779
9780 export_dynamic_flag_spec='$wl-bexpall'
9781 # It seems that -bexpall does not export symbols beginning with
9782 # underscore (_), so it is better to generate a list of symbols to export.
9783 always_export_symbols=yes
9784 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9785 # Warning - without using the other runtime loading flags (-brtl),
9786 # -berok will link without error, but may produce a broken library.
9787 allow_undefined_flag='-berok'
9788 # Determine the default libpath from the value encoded in an
9789 # empty executable.
9790 if test set = "${lt_cv_aix_libpath+set}"; then
9791 aix_libpath=$lt_cv_aix_libpath
9792 else
9793 if ${lt_cv_aix_libpath_+:} false; then :
9794 $as_echo_n "(cached) " >&6
9795 else
9796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9797 /* end confdefs.h. */
9798
9799 int
9800 main ()
9801 {
9802
9803 ;
9804 return 0;
9805 }
9806 _ACEOF
9807 if ac_fn_c_try_link "$LINENO"; then :
9808
9809 lt_aix_libpath_sed='
9810 /Import File Strings/,/^$/ {
9811 /^0/ {
9812 s/^0 *\([^ ]*\) *$/\1/
9813 p
9814 }
9815 }'
9816 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9817 # Check for a 64-bit object if we didn't find anything.
9818 if test -z "$lt_cv_aix_libpath_"; then
9819 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9820 fi
9821 fi
9822 rm -f core conftest.err conftest.$ac_objext \
9823 conftest$ac_exeext conftest.$ac_ext
9824 if test -z "$lt_cv_aix_libpath_"; then
9825 lt_cv_aix_libpath_=/usr/lib:/lib
9826 fi
9827
9828 fi
9829
9830 aix_libpath=$lt_cv_aix_libpath_
9831 fi
9832
9833 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9834 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
9835 else
9836 if test ia64 = "$host_cpu"; then
9837 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9838 allow_undefined_flag="-z nodefs"
9839 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"
9840 else
9841 # Determine the default libpath from the value encoded in an
9842 # empty executable.
9843 if test set = "${lt_cv_aix_libpath+set}"; then
9844 aix_libpath=$lt_cv_aix_libpath
9845 else
9846 if ${lt_cv_aix_libpath_+:} false; then :
9847 $as_echo_n "(cached) " >&6
9848 else
9849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9850 /* end confdefs.h. */
9851
9852 int
9853 main ()
9854 {
9855
9856 ;
9857 return 0;
9858 }
9859 _ACEOF
9860 if ac_fn_c_try_link "$LINENO"; then :
9861
9862 lt_aix_libpath_sed='
9863 /Import File Strings/,/^$/ {
9864 /^0/ {
9865 s/^0 *\([^ ]*\) *$/\1/
9866 p
9867 }
9868 }'
9869 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9870 # Check for a 64-bit object if we didn't find anything.
9871 if test -z "$lt_cv_aix_libpath_"; then
9872 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9873 fi
9874 fi
9875 rm -f core conftest.err conftest.$ac_objext \
9876 conftest$ac_exeext conftest.$ac_ext
9877 if test -z "$lt_cv_aix_libpath_"; then
9878 lt_cv_aix_libpath_=/usr/lib:/lib
9879 fi
9880
9881 fi
9882
9883 aix_libpath=$lt_cv_aix_libpath_
9884 fi
9885
9886 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9887 # Warning - without using the other run time loading flags,
9888 # -berok will link without error, but may produce a broken library.
9889 no_undefined_flag=' $wl-bernotok'
9890 allow_undefined_flag=' $wl-berok'
9891 if test yes = "$with_gnu_ld"; then
9892 # We only use this code for GNU lds that support --whole-archive.
9893 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
9894 else
9895 # Exported symbols can be pulled into shared objects from archives
9896 whole_archive_flag_spec='$convenience'
9897 fi
9898 archive_cmds_need_lc=yes
9899 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9900 # -brtl affects multiple linker settings, -berok does not and is overridden later
9901 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9902 if test svr4 != "$with_aix_soname"; then
9903 # This is similar to how AIX traditionally builds its shared libraries.
9904 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'
9905 fi
9906 if test aix != "$with_aix_soname"; then
9907 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'
9908 else
9909 # used by -dlpreopen to get the symbols
9910 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
9911 fi
9912 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9913 fi
9914 fi
9915 ;;
9916
9917 amigaos*)
9918 case $host_cpu in
9919 powerpc)
9920 # see comment about AmigaOS4 .so support
9921 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9922 archive_expsym_cmds=''
9923 ;;
9924 m68k)
9925 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)'
9926 hardcode_libdir_flag_spec='-L$libdir'
9927 hardcode_minus_L=yes
9928 ;;
9929 esac
9930 ;;
9931
9932 bsdi[45]*)
9933 export_dynamic_flag_spec=-rdynamic
9934 ;;
9935
9936 cygwin* | mingw* | pw32* | cegcc*)
9937 # When not using gcc, we currently assume that we are using
9938 # Microsoft Visual C++.
9939 # hardcode_libdir_flag_spec is actually meaningless, as there is
9940 # no search path for DLLs.
9941 case $cc_basename in
9942 cl*)
9943 # Native MSVC
9944 hardcode_libdir_flag_spec=' '
9945 allow_undefined_flag=unsupported
9946 always_export_symbols=yes
9947 file_list_spec='@'
9948 # Tell ltmain to make .lib files, not .a files.
9949 libext=lib
9950 # Tell ltmain to make .dll files, not .so files.
9951 shrext_cmds=.dll
9952 # FIXME: Setting linknames here is a bad hack.
9953 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9954 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9955 cp "$export_symbols" "$output_objdir/$soname.def";
9956 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9957 else
9958 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9959 fi~
9960 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9961 linknames='
9962 # The linker will not automatically build a static lib if we build a DLL.
9963 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9964 enable_shared_with_static_runtimes=yes
9965 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9966 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9967 # Don't use ranlib
9968 old_postinstall_cmds='chmod 644 $oldlib'
9969 postlink_cmds='lt_outputfile="@OUTPUT@"~
9970 lt_tool_outputfile="@TOOL_OUTPUT@"~
9971 case $lt_outputfile in
9972 *.exe|*.EXE) ;;
9973 *)
9974 lt_outputfile=$lt_outputfile.exe
9975 lt_tool_outputfile=$lt_tool_outputfile.exe
9976 ;;
9977 esac~
9978 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9979 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9980 $RM "$lt_outputfile.manifest";
9981 fi'
9982 ;;
9983 *)
9984 # Assume MSVC wrapper
9985 hardcode_libdir_flag_spec=' '
9986 allow_undefined_flag=unsupported
9987 # Tell ltmain to make .lib files, not .a files.
9988 libext=lib
9989 # Tell ltmain to make .dll files, not .so files.
9990 shrext_cmds=.dll
9991 # FIXME: Setting linknames here is a bad hack.
9992 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9993 # The linker will automatically build a .lib file if we build a DLL.
9994 old_archive_from_new_cmds='true'
9995 # FIXME: Should let the user specify the lib program.
9996 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9997 enable_shared_with_static_runtimes=yes
9998 ;;
9999 esac
10000 ;;
10001
10002 darwin* | rhapsody*)
10003
10004
10005 archive_cmds_need_lc=no
10006 hardcode_direct=no
10007 hardcode_automatic=yes
10008 hardcode_shlibpath_var=unsupported
10009 if test yes = "$lt_cv_ld_force_load"; then
10010 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\"`'
10011
10012 else
10013 whole_archive_flag_spec=''
10014 fi
10015 link_all_deplibs=yes
10016 allow_undefined_flag=$_lt_dar_allow_undefined
10017 case $cc_basename in
10018 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10019 *) _lt_dar_can_shared=$GCC ;;
10020 esac
10021 if test yes = "$_lt_dar_can_shared"; then
10022 output_verbose_link_cmd=func_echo_all
10023 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10024 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10025 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"
10026 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"
10027
10028 else
10029 ld_shlibs=no
10030 fi
10031
10032 ;;
10033
10034 dgux*)
10035 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10036 hardcode_libdir_flag_spec='-L$libdir'
10037 hardcode_shlibpath_var=no
10038 ;;
10039
10040 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10041 # support. Future versions do this automatically, but an explicit c++rt0.o
10042 # does not break anything, and helps significantly (at the cost of a little
10043 # extra space).
10044 freebsd2.2*)
10045 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10046 hardcode_libdir_flag_spec='-R$libdir'
10047 hardcode_direct=yes
10048 hardcode_shlibpath_var=no
10049 ;;
10050
10051 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10052 freebsd2.*)
10053 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10054 hardcode_direct=yes
10055 hardcode_minus_L=yes
10056 hardcode_shlibpath_var=no
10057 ;;
10058
10059 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10060 freebsd* | dragonfly*)
10061 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10062 hardcode_libdir_flag_spec='-R$libdir'
10063 hardcode_direct=yes
10064 hardcode_shlibpath_var=no
10065 ;;
10066
10067 hpux9*)
10068 if test yes = "$GCC"; then
10069 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'
10070 else
10071 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'
10072 fi
10073 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10074 hardcode_libdir_separator=:
10075 hardcode_direct=yes
10076
10077 # hardcode_minus_L: Not really in the search PATH,
10078 # but as the default location of the library.
10079 hardcode_minus_L=yes
10080 export_dynamic_flag_spec='$wl-E'
10081 ;;
10082
10083 hpux10*)
10084 if test yes,no = "$GCC,$with_gnu_ld"; then
10085 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10086 else
10087 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10088 fi
10089 if test no = "$with_gnu_ld"; then
10090 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10091 hardcode_libdir_separator=:
10092 hardcode_direct=yes
10093 hardcode_direct_absolute=yes
10094 export_dynamic_flag_spec='$wl-E'
10095 # hardcode_minus_L: Not really in the search PATH,
10096 # but as the default location of the library.
10097 hardcode_minus_L=yes
10098 fi
10099 ;;
10100
10101 hpux11*)
10102 if test yes,no = "$GCC,$with_gnu_ld"; then
10103 case $host_cpu in
10104 hppa*64*)
10105 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10106 ;;
10107 ia64*)
10108 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10109 ;;
10110 *)
10111 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10112 ;;
10113 esac
10114 else
10115 case $host_cpu in
10116 hppa*64*)
10117 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10118 ;;
10119 ia64*)
10120 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10121 ;;
10122 *)
10123
10124 # Older versions of the 11.00 compiler do not understand -b yet
10125 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10127 $as_echo_n "checking if $CC understands -b... " >&6; }
10128 if ${lt_cv_prog_compiler__b+:} false; then :
10129 $as_echo_n "(cached) " >&6
10130 else
10131 lt_cv_prog_compiler__b=no
10132 save_LDFLAGS=$LDFLAGS
10133 LDFLAGS="$LDFLAGS -b"
10134 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10135 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10136 # The linker can only warn and ignore the option if not recognized
10137 # So say no if there are warnings
10138 if test -s conftest.err; then
10139 # Append any errors to the config.log.
10140 cat conftest.err 1>&5
10141 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10142 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10143 if diff conftest.exp conftest.er2 >/dev/null; then
10144 lt_cv_prog_compiler__b=yes
10145 fi
10146 else
10147 lt_cv_prog_compiler__b=yes
10148 fi
10149 fi
10150 $RM -r conftest*
10151 LDFLAGS=$save_LDFLAGS
10152
10153 fi
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10155 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10156
10157 if test yes = "$lt_cv_prog_compiler__b"; then
10158 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10159 else
10160 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10161 fi
10162
10163 ;;
10164 esac
10165 fi
10166 if test no = "$with_gnu_ld"; then
10167 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10168 hardcode_libdir_separator=:
10169
10170 case $host_cpu in
10171 hppa*64*|ia64*)
10172 hardcode_direct=no
10173 hardcode_shlibpath_var=no
10174 ;;
10175 *)
10176 hardcode_direct=yes
10177 hardcode_direct_absolute=yes
10178 export_dynamic_flag_spec='$wl-E'
10179
10180 # hardcode_minus_L: Not really in the search PATH,
10181 # but as the default location of the library.
10182 hardcode_minus_L=yes
10183 ;;
10184 esac
10185 fi
10186 ;;
10187
10188 irix5* | irix6* | nonstopux*)
10189 if test yes = "$GCC"; then
10190 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'
10191 # Try to use the -exported_symbol ld option, if it does not
10192 # work, assume that -exports_file does not work either and
10193 # implicitly export all symbols.
10194 # This should be the same for all languages, so no per-tag cache variable.
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10196 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10197 if ${lt_cv_irix_exported_symbol+:} false; then :
10198 $as_echo_n "(cached) " >&6
10199 else
10200 save_LDFLAGS=$LDFLAGS
10201 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10203 /* end confdefs.h. */
10204 int foo (void) { return 0; }
10205 _ACEOF
10206 if ac_fn_c_try_link "$LINENO"; then :
10207 lt_cv_irix_exported_symbol=yes
10208 else
10209 lt_cv_irix_exported_symbol=no
10210 fi
10211 rm -f core conftest.err conftest.$ac_objext \
10212 conftest$ac_exeext conftest.$ac_ext
10213 LDFLAGS=$save_LDFLAGS
10214 fi
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10216 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10217 if test yes = "$lt_cv_irix_exported_symbol"; then
10218 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'
10219 fi
10220 else
10221 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'
10222 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'
10223 fi
10224 archive_cmds_need_lc='no'
10225 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10226 hardcode_libdir_separator=:
10227 inherit_rpath=yes
10228 link_all_deplibs=yes
10229 ;;
10230
10231 linux*)
10232 case $cc_basename in
10233 tcc*)
10234 # Fabrice Bellard et al's Tiny C Compiler
10235 ld_shlibs=yes
10236 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10237 ;;
10238 esac
10239 ;;
10240
10241 netbsd*)
10242 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10243 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10244 else
10245 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10246 fi
10247 hardcode_libdir_flag_spec='-R$libdir'
10248 hardcode_direct=yes
10249 hardcode_shlibpath_var=no
10250 ;;
10251
10252 newsos6)
10253 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10254 hardcode_direct=yes
10255 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10256 hardcode_libdir_separator=:
10257 hardcode_shlibpath_var=no
10258 ;;
10259
10260 *nto* | *qnx*)
10261 ;;
10262
10263 openbsd* | bitrig*)
10264 if test -f /usr/libexec/ld.so; then
10265 hardcode_direct=yes
10266 hardcode_shlibpath_var=no
10267 hardcode_direct_absolute=yes
10268 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10269 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10270 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10271 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10272 export_dynamic_flag_spec='$wl-E'
10273 else
10274 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10275 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10276 fi
10277 else
10278 ld_shlibs=no
10279 fi
10280 ;;
10281
10282 os2*)
10283 hardcode_libdir_flag_spec='-L$libdir'
10284 hardcode_minus_L=yes
10285 allow_undefined_flag=unsupported
10286 shrext_cmds=.dll
10287 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10288 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10289 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10290 $ECHO EXPORTS >> $output_objdir/$libname.def~
10291 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10292 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10293 emximp -o $lib $output_objdir/$libname.def'
10294 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10295 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10296 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10297 $ECHO EXPORTS >> $output_objdir/$libname.def~
10298 prefix_cmds="$SED"~
10299 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10300 prefix_cmds="$prefix_cmds -e 1d";
10301 fi~
10302 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10303 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10304 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10305 emximp -o $lib $output_objdir/$libname.def'
10306 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10307 enable_shared_with_static_runtimes=yes
10308 ;;
10309
10310 osf3*)
10311 if test yes = "$GCC"; then
10312 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10313 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'
10314 else
10315 allow_undefined_flag=' -expect_unresolved \*'
10316 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'
10317 fi
10318 archive_cmds_need_lc='no'
10319 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10320 hardcode_libdir_separator=:
10321 ;;
10322
10323 osf4* | osf5*) # as osf3* with the addition of -msym flag
10324 if test yes = "$GCC"; then
10325 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10326 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'
10327 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10328 else
10329 allow_undefined_flag=' -expect_unresolved \*'
10330 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'
10331 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~
10332 $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'
10333
10334 # Both c and cxx compiler support -rpath directly
10335 hardcode_libdir_flag_spec='-rpath $libdir'
10336 fi
10337 archive_cmds_need_lc='no'
10338 hardcode_libdir_separator=:
10339 ;;
10340
10341 solaris*)
10342 no_undefined_flag=' -z defs'
10343 if test yes = "$GCC"; then
10344 wlarc='$wl'
10345 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10346 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10347 $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'
10348 else
10349 case `$CC -V 2>&1` in
10350 *"Compilers 5.0"*)
10351 wlarc=''
10352 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10353 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10354 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10355 ;;
10356 *)
10357 wlarc='$wl'
10358 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10359 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10360 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10361 ;;
10362 esac
10363 fi
10364 hardcode_libdir_flag_spec='-R$libdir'
10365 hardcode_shlibpath_var=no
10366 case $host_os in
10367 solaris2.[0-5] | solaris2.[0-5].*) ;;
10368 *)
10369 # The compiler driver will combine and reorder linker options,
10370 # but understands '-z linker_flag'. GCC discards it without '$wl',
10371 # but is careful enough not to reorder.
10372 # Supported since Solaris 2.6 (maybe 2.5.1?)
10373 if test yes = "$GCC"; then
10374 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10375 else
10376 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10377 fi
10378 ;;
10379 esac
10380 link_all_deplibs=yes
10381 ;;
10382
10383 sunos4*)
10384 if test sequent = "$host_vendor"; then
10385 # Use $CC to link under sequent, because it throws in some extra .o
10386 # files that make .init and .fini sections work.
10387 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10388 else
10389 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10390 fi
10391 hardcode_libdir_flag_spec='-L$libdir'
10392 hardcode_direct=yes
10393 hardcode_minus_L=yes
10394 hardcode_shlibpath_var=no
10395 ;;
10396
10397 sysv4)
10398 case $host_vendor in
10399 sni)
10400 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10401 hardcode_direct=yes # is this really true???
10402 ;;
10403 siemens)
10404 ## LD is ld it makes a PLAMLIB
10405 ## CC just makes a GrossModule.
10406 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10407 reload_cmds='$CC -r -o $output$reload_objs'
10408 hardcode_direct=no
10409 ;;
10410 motorola)
10411 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10412 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10413 ;;
10414 esac
10415 runpath_var='LD_RUN_PATH'
10416 hardcode_shlibpath_var=no
10417 ;;
10418
10419 sysv4.3*)
10420 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10421 hardcode_shlibpath_var=no
10422 export_dynamic_flag_spec='-Bexport'
10423 ;;
10424
10425 sysv4*MP*)
10426 if test -d /usr/nec; then
10427 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10428 hardcode_shlibpath_var=no
10429 runpath_var=LD_RUN_PATH
10430 hardcode_runpath_var=yes
10431 ld_shlibs=yes
10432 fi
10433 ;;
10434
10435 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10436 no_undefined_flag='$wl-z,text'
10437 archive_cmds_need_lc=no
10438 hardcode_shlibpath_var=no
10439 runpath_var='LD_RUN_PATH'
10440
10441 if test yes = "$GCC"; then
10442 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10443 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10444 else
10445 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10446 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10447 fi
10448 ;;
10449
10450 sysv5* | sco3.2v5* | sco5v6*)
10451 # Note: We CANNOT use -z defs as we might desire, because we do not
10452 # link with -lc, and that would cause any symbols used from libc to
10453 # always be unresolved, which means just about no library would
10454 # ever link correctly. If we're not using GNU ld we use -z text
10455 # though, which does catch some bad symbols but isn't as heavy-handed
10456 # as -z defs.
10457 no_undefined_flag='$wl-z,text'
10458 allow_undefined_flag='$wl-z,nodefs'
10459 archive_cmds_need_lc=no
10460 hardcode_shlibpath_var=no
10461 hardcode_libdir_flag_spec='$wl-R,$libdir'
10462 hardcode_libdir_separator=':'
10463 link_all_deplibs=yes
10464 export_dynamic_flag_spec='$wl-Bexport'
10465 runpath_var='LD_RUN_PATH'
10466
10467 if test yes = "$GCC"; then
10468 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10469 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10470 else
10471 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10472 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10473 fi
10474 ;;
10475
10476 uts4*)
10477 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10478 hardcode_libdir_flag_spec='-L$libdir'
10479 hardcode_shlibpath_var=no
10480 ;;
10481
10482 *)
10483 ld_shlibs=no
10484 ;;
10485 esac
10486
10487 if test sni = "$host_vendor"; then
10488 case $host in
10489 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10490 export_dynamic_flag_spec='$wl-Blargedynsym'
10491 ;;
10492 esac
10493 fi
10494 fi
10495
10496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10497 $as_echo "$ld_shlibs" >&6; }
10498 test no = "$ld_shlibs" && can_build_shared=no
10499
10500 with_gnu_ld=$with_gnu_ld
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516 #
10517 # Do we need to explicitly link libc?
10518 #
10519 case "x$archive_cmds_need_lc" in
10520 x|xyes)
10521 # Assume -lc should be added
10522 archive_cmds_need_lc=yes
10523
10524 if test yes,yes = "$GCC,$enable_shared"; then
10525 case $archive_cmds in
10526 *'~'*)
10527 # FIXME: we may have to deal with multi-command sequences.
10528 ;;
10529 '$CC '*)
10530 # Test whether the compiler implicitly links with -lc since on some
10531 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10532 # to ld, don't add -lc before -lgcc.
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10534 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10535 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10536 $as_echo_n "(cached) " >&6
10537 else
10538 $RM conftest*
10539 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10540
10541 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10542 (eval $ac_compile) 2>&5
10543 ac_status=$?
10544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10545 test $ac_status = 0; } 2>conftest.err; then
10546 soname=conftest
10547 lib=conftest
10548 libobjs=conftest.$ac_objext
10549 deplibs=
10550 wl=$lt_prog_compiler_wl
10551 pic_flag=$lt_prog_compiler_pic
10552 compiler_flags=-v
10553 linker_flags=-v
10554 verstring=
10555 output_objdir=.
10556 libname=conftest
10557 lt_save_allow_undefined_flag=$allow_undefined_flag
10558 allow_undefined_flag=
10559 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10560 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10561 ac_status=$?
10562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10563 test $ac_status = 0; }
10564 then
10565 lt_cv_archive_cmds_need_lc=no
10566 else
10567 lt_cv_archive_cmds_need_lc=yes
10568 fi
10569 allow_undefined_flag=$lt_save_allow_undefined_flag
10570 else
10571 cat conftest.err 1>&5
10572 fi
10573 $RM conftest*
10574
10575 fi
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10577 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10578 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10579 ;;
10580 esac
10581 fi
10582 ;;
10583 esac
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10737 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10738
10739 if test yes = "$GCC"; then
10740 case $host_os in
10741 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10742 *) lt_awk_arg='/^libraries:/' ;;
10743 esac
10744 case $host_os in
10745 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10746 *) lt_sed_strip_eq='s|=/|/|g' ;;
10747 esac
10748 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10749 case $lt_search_path_spec in
10750 *\;*)
10751 # if the path contains ";" then we assume it to be the separator
10752 # otherwise default to the standard path separator (i.e. ":") - it is
10753 # assumed that no part of a normal pathname contains ";" but that should
10754 # okay in the real world where ";" in dirpaths is itself problematic.
10755 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10756 ;;
10757 *)
10758 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10759 ;;
10760 esac
10761 # Ok, now we have the path, separated by spaces, we can step through it
10762 # and add multilib dir if necessary...
10763 lt_tmp_lt_search_path_spec=
10764 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10765 # ...but if some path component already ends with the multilib dir we assume
10766 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10767 case "$lt_multi_os_dir; $lt_search_path_spec " in
10768 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10769 lt_multi_os_dir=
10770 ;;
10771 esac
10772 for lt_sys_path in $lt_search_path_spec; do
10773 if test -d "$lt_sys_path$lt_multi_os_dir"; then
10774 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10775 elif test -n "$lt_multi_os_dir"; then
10776 test -d "$lt_sys_path" && \
10777 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10778 fi
10779 done
10780 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10781 BEGIN {RS = " "; FS = "/|\n";} {
10782 lt_foo = "";
10783 lt_count = 0;
10784 for (lt_i = NF; lt_i > 0; lt_i--) {
10785 if ($lt_i != "" && $lt_i != ".") {
10786 if ($lt_i == "..") {
10787 lt_count++;
10788 } else {
10789 if (lt_count == 0) {
10790 lt_foo = "/" $lt_i lt_foo;
10791 } else {
10792 lt_count--;
10793 }
10794 }
10795 }
10796 }
10797 if (lt_foo != "") { lt_freq[lt_foo]++; }
10798 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10799 }'`
10800 # AWK program above erroneously prepends '/' to C:/dos/paths
10801 # for these hosts.
10802 case $host_os in
10803 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10804 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10805 esac
10806 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10807 else
10808 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10809 fi
10810 library_names_spec=
10811 libname_spec='lib$name'
10812 soname_spec=
10813 shrext_cmds=.so
10814 postinstall_cmds=
10815 postuninstall_cmds=
10816 finish_cmds=
10817 finish_eval=
10818 shlibpath_var=
10819 shlibpath_overrides_runpath=unknown
10820 version_type=none
10821 dynamic_linker="$host_os ld.so"
10822 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10823 need_lib_prefix=unknown
10824 hardcode_into_libs=no
10825
10826 # when you set need_version to no, make sure it does not cause -set_version
10827 # flags to be left without arguments
10828 need_version=unknown
10829
10830
10831
10832 case $host_os in
10833 aix3*)
10834 version_type=linux # correct to gnu/linux during the next big refactor
10835 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10836 shlibpath_var=LIBPATH
10837
10838 # AIX 3 has no versioning support, so we append a major version to the name.
10839 soname_spec='$libname$release$shared_ext$major'
10840 ;;
10841
10842 aix[4-9]*)
10843 version_type=linux # correct to gnu/linux during the next big refactor
10844 need_lib_prefix=no
10845 need_version=no
10846 hardcode_into_libs=yes
10847 if test ia64 = "$host_cpu"; then
10848 # AIX 5 supports IA64
10849 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10850 shlibpath_var=LD_LIBRARY_PATH
10851 else
10852 # With GCC up to 2.95.x, collect2 would create an import file
10853 # for dependence libraries. The import file would start with
10854 # the line '#! .'. This would cause the generated library to
10855 # depend on '.', always an invalid library. This was fixed in
10856 # development snapshots of GCC prior to 3.0.
10857 case $host_os in
10858 aix4 | aix4.[01] | aix4.[01].*)
10859 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10860 echo ' yes '
10861 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10862 :
10863 else
10864 can_build_shared=no
10865 fi
10866 ;;
10867 esac
10868 # Using Import Files as archive members, it is possible to support
10869 # filename-based versioning of shared library archives on AIX. While
10870 # this would work for both with and without runtime linking, it will
10871 # prevent static linking of such archives. So we do filename-based
10872 # shared library versioning with .so extension only, which is used
10873 # when both runtime linking and shared linking is enabled.
10874 # Unfortunately, runtime linking may impact performance, so we do
10875 # not want this to be the default eventually. Also, we use the
10876 # versioned .so libs for executables only if there is the -brtl
10877 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10878 # To allow for filename-based versioning support, we need to create
10879 # libNAME.so.V as an archive file, containing:
10880 # *) an Import File, referring to the versioned filename of the
10881 # archive as well as the shared archive member, telling the
10882 # bitwidth (32 or 64) of that shared object, and providing the
10883 # list of exported symbols of that shared object, eventually
10884 # decorated with the 'weak' keyword
10885 # *) the shared object with the F_LOADONLY flag set, to really avoid
10886 # it being seen by the linker.
10887 # At run time we better use the real file rather than another symlink,
10888 # but for link time we create the symlink libNAME.so -> libNAME.so.V
10889
10890 case $with_aix_soname,$aix_use_runtimelinking in
10891 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10892 # soname into executable. Probably we can add versioning support to
10893 # collect2, so additional links can be useful in future.
10894 aix,yes) # traditional libtool
10895 dynamic_linker='AIX unversionable lib.so'
10896 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10897 # instead of lib<name>.a to let people know that these are not
10898 # typical AIX shared libraries.
10899 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10900 ;;
10901 aix,no) # traditional AIX only
10902 dynamic_linker='AIX lib.a(lib.so.V)'
10903 # We preserve .a as extension for shared libraries through AIX4.2
10904 # and later when we are not doing run time linking.
10905 library_names_spec='$libname$release.a $libname.a'
10906 soname_spec='$libname$release$shared_ext$major'
10907 ;;
10908 svr4,*) # full svr4 only
10909 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
10910 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10911 # We do not specify a path in Import Files, so LIBPATH fires.
10912 shlibpath_overrides_runpath=yes
10913 ;;
10914 *,yes) # both, prefer svr4
10915 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10916 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10917 # unpreferred sharedlib libNAME.a needs extra handling
10918 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"'
10919 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"'
10920 # We do not specify a path in Import Files, so LIBPATH fires.
10921 shlibpath_overrides_runpath=yes
10922 ;;
10923 *,no) # both, prefer aix
10924 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10925 library_names_spec='$libname$release.a $libname.a'
10926 soname_spec='$libname$release$shared_ext$major'
10927 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10928 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)'
10929 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"'
10930 ;;
10931 esac
10932 shlibpath_var=LIBPATH
10933 fi
10934 ;;
10935
10936 amigaos*)
10937 case $host_cpu in
10938 powerpc)
10939 # Since July 2007 AmigaOS4 officially supports .so libraries.
10940 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10941 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10942 ;;
10943 m68k)
10944 library_names_spec='$libname.ixlibrary $libname.a'
10945 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10946 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'
10947 ;;
10948 esac
10949 ;;
10950
10951 beos*)
10952 library_names_spec='$libname$shared_ext'
10953 dynamic_linker="$host_os ld.so"
10954 shlibpath_var=LIBRARY_PATH
10955 ;;
10956
10957 bsdi[45]*)
10958 version_type=linux # correct to gnu/linux during the next big refactor
10959 need_version=no
10960 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10961 soname_spec='$libname$release$shared_ext$major'
10962 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10963 shlibpath_var=LD_LIBRARY_PATH
10964 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10965 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10966 # the default ld.so.conf also contains /usr/contrib/lib and
10967 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10968 # libtool to hard-code these into programs
10969 ;;
10970
10971 cygwin* | mingw* | pw32* | cegcc*)
10972 version_type=windows
10973 shrext_cmds=.dll
10974 need_version=no
10975 need_lib_prefix=no
10976
10977 case $GCC,$cc_basename in
10978 yes,*)
10979 # gcc
10980 library_names_spec='$libname.dll.a'
10981 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10982 postinstall_cmds='base_file=`basename \$file`~
10983 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10984 dldir=$destdir/`dirname \$dlpath`~
10985 test -d \$dldir || mkdir -p \$dldir~
10986 $install_prog $dir/$dlname \$dldir/$dlname~
10987 chmod a+x \$dldir/$dlname~
10988 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10989 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10990 fi'
10991 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10992 dlpath=$dir/\$dldll~
10993 $RM \$dlpath'
10994 shlibpath_overrides_runpath=yes
10995
10996 case $host_os in
10997 cygwin*)
10998 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10999 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11000
11001 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11002 ;;
11003 mingw* | cegcc*)
11004 # MinGW DLLs use traditional 'lib' prefix
11005 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11006 ;;
11007 pw32*)
11008 # pw32 DLLs use 'pw' prefix rather than 'lib'
11009 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11010 ;;
11011 esac
11012 dynamic_linker='Win32 ld.exe'
11013 ;;
11014
11015 *,cl*)
11016 # Native MSVC
11017 libname_spec='$name'
11018 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11019 library_names_spec='$libname.dll.lib'
11020
11021 case $build_os in
11022 mingw*)
11023 sys_lib_search_path_spec=
11024 lt_save_ifs=$IFS
11025 IFS=';'
11026 for lt_path in $LIB
11027 do
11028 IFS=$lt_save_ifs
11029 # Let DOS variable expansion print the short 8.3 style file name.
11030 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11031 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11032 done
11033 IFS=$lt_save_ifs
11034 # Convert to MSYS style.
11035 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11036 ;;
11037 cygwin*)
11038 # Convert to unix form, then to dos form, then back to unix form
11039 # but this time dos style (no spaces!) so that the unix form looks
11040 # like /cygdrive/c/PROGRA~1:/cygdr...
11041 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11042 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11043 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11044 ;;
11045 *)
11046 sys_lib_search_path_spec=$LIB
11047 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11048 # It is most probably a Windows format PATH.
11049 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11050 else
11051 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11052 fi
11053 # FIXME: find the short name or the path components, as spaces are
11054 # common. (e.g. "Program Files" -> "PROGRA~1")
11055 ;;
11056 esac
11057
11058 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11059 postinstall_cmds='base_file=`basename \$file`~
11060 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11061 dldir=$destdir/`dirname \$dlpath`~
11062 test -d \$dldir || mkdir -p \$dldir~
11063 $install_prog $dir/$dlname \$dldir/$dlname'
11064 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11065 dlpath=$dir/\$dldll~
11066 $RM \$dlpath'
11067 shlibpath_overrides_runpath=yes
11068 dynamic_linker='Win32 link.exe'
11069 ;;
11070
11071 *)
11072 # Assume MSVC wrapper
11073 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11074 dynamic_linker='Win32 ld.exe'
11075 ;;
11076 esac
11077 # FIXME: first we should search . and the directory the executable is in
11078 shlibpath_var=PATH
11079 ;;
11080
11081 darwin* | rhapsody*)
11082 dynamic_linker="$host_os dyld"
11083 version_type=darwin
11084 need_lib_prefix=no
11085 need_version=no
11086 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11087 soname_spec='$libname$release$major$shared_ext'
11088 shlibpath_overrides_runpath=yes
11089 shlibpath_var=DYLD_LIBRARY_PATH
11090 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11091
11092 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11093 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11094 ;;
11095
11096 dgux*)
11097 version_type=linux # correct to gnu/linux during the next big refactor
11098 need_lib_prefix=no
11099 need_version=no
11100 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11101 soname_spec='$libname$release$shared_ext$major'
11102 shlibpath_var=LD_LIBRARY_PATH
11103 ;;
11104
11105 freebsd* | dragonfly*)
11106 # DragonFly does not have aout. When/if they implement a new
11107 # versioning mechanism, adjust this.
11108 if test -x /usr/bin/objformat; then
11109 objformat=`/usr/bin/objformat`
11110 else
11111 case $host_os in
11112 freebsd[23].*) objformat=aout ;;
11113 *) objformat=elf ;;
11114 esac
11115 fi
11116 version_type=freebsd-$objformat
11117 case $version_type in
11118 freebsd-elf*)
11119 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11120 soname_spec='$libname$release$shared_ext$major'
11121 need_version=no
11122 need_lib_prefix=no
11123 ;;
11124 freebsd-*)
11125 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11126 need_version=yes
11127 ;;
11128 esac
11129 shlibpath_var=LD_LIBRARY_PATH
11130 case $host_os in
11131 freebsd2.*)
11132 shlibpath_overrides_runpath=yes
11133 ;;
11134 freebsd3.[01]* | freebsdelf3.[01]*)
11135 shlibpath_overrides_runpath=yes
11136 hardcode_into_libs=yes
11137 ;;
11138 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11139 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11140 shlibpath_overrides_runpath=no
11141 hardcode_into_libs=yes
11142 ;;
11143 *) # from 4.6 on, and DragonFly
11144 shlibpath_overrides_runpath=yes
11145 hardcode_into_libs=yes
11146 ;;
11147 esac
11148 ;;
11149
11150 haiku*)
11151 version_type=linux # correct to gnu/linux during the next big refactor
11152 need_lib_prefix=no
11153 need_version=no
11154 dynamic_linker="$host_os runtime_loader"
11155 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11156 soname_spec='$libname$release$shared_ext$major'
11157 shlibpath_var=LIBRARY_PATH
11158 shlibpath_overrides_runpath=no
11159 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11160 hardcode_into_libs=yes
11161 ;;
11162
11163 hpux9* | hpux10* | hpux11*)
11164 # Give a soname corresponding to the major version so that dld.sl refuses to
11165 # link against other versions.
11166 version_type=sunos
11167 need_lib_prefix=no
11168 need_version=no
11169 case $host_cpu in
11170 ia64*)
11171 shrext_cmds='.so'
11172 hardcode_into_libs=yes
11173 dynamic_linker="$host_os dld.so"
11174 shlibpath_var=LD_LIBRARY_PATH
11175 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11176 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11177 soname_spec='$libname$release$shared_ext$major'
11178 if test 32 = "$HPUX_IA64_MODE"; then
11179 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11180 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11181 else
11182 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11183 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11184 fi
11185 ;;
11186 hppa*64*)
11187 shrext_cmds='.sl'
11188 hardcode_into_libs=yes
11189 dynamic_linker="$host_os dld.sl"
11190 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11191 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11192 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11193 soname_spec='$libname$release$shared_ext$major'
11194 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11195 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11196 ;;
11197 *)
11198 shrext_cmds='.sl'
11199 dynamic_linker="$host_os dld.sl"
11200 shlibpath_var=SHLIB_PATH
11201 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11202 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11203 soname_spec='$libname$release$shared_ext$major'
11204 ;;
11205 esac
11206 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11207 postinstall_cmds='chmod 555 $lib'
11208 # or fails outright, so override atomically:
11209 install_override_mode=555
11210 ;;
11211
11212 interix[3-9]*)
11213 version_type=linux # correct to gnu/linux during the next big refactor
11214 need_lib_prefix=no
11215 need_version=no
11216 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11217 soname_spec='$libname$release$shared_ext$major'
11218 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11219 shlibpath_var=LD_LIBRARY_PATH
11220 shlibpath_overrides_runpath=no
11221 hardcode_into_libs=yes
11222 ;;
11223
11224 irix5* | irix6* | nonstopux*)
11225 case $host_os in
11226 nonstopux*) version_type=nonstopux ;;
11227 *)
11228 if test yes = "$lt_cv_prog_gnu_ld"; then
11229 version_type=linux # correct to gnu/linux during the next big refactor
11230 else
11231 version_type=irix
11232 fi ;;
11233 esac
11234 need_lib_prefix=no
11235 need_version=no
11236 soname_spec='$libname$release$shared_ext$major'
11237 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11238 case $host_os in
11239 irix5* | nonstopux*)
11240 libsuff= shlibsuff=
11241 ;;
11242 *)
11243 case $LD in # libtool.m4 will add one of these switches to LD
11244 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11245 libsuff= shlibsuff= libmagic=32-bit;;
11246 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11247 libsuff=32 shlibsuff=N32 libmagic=N32;;
11248 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11249 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11250 *) libsuff= shlibsuff= libmagic=never-match;;
11251 esac
11252 ;;
11253 esac
11254 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11255 shlibpath_overrides_runpath=no
11256 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11257 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11258 hardcode_into_libs=yes
11259 ;;
11260
11261 # No shared lib support for Linux oldld, aout, or coff.
11262 linux*oldld* | linux*aout* | linux*coff*)
11263 dynamic_linker=no
11264 ;;
11265
11266 linux*android*)
11267 version_type=none # Android doesn't support versioned libraries.
11268 need_lib_prefix=no
11269 need_version=no
11270 library_names_spec='$libname$release$shared_ext'
11271 soname_spec='$libname$release$shared_ext'
11272 finish_cmds=
11273 shlibpath_var=LD_LIBRARY_PATH
11274 shlibpath_overrides_runpath=yes
11275
11276 # This implies no fast_install, which is unacceptable.
11277 # Some rework will be needed to allow for fast_install
11278 # before this can be enabled.
11279 hardcode_into_libs=yes
11280
11281 dynamic_linker='Android linker'
11282 # Don't embed -rpath directories since the linker doesn't support them.
11283 hardcode_libdir_flag_spec='-L$libdir'
11284 ;;
11285
11286 # This must be glibc/ELF.
11287 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11288 version_type=linux # correct to gnu/linux during the next big refactor
11289 need_lib_prefix=no
11290 need_version=no
11291 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11292 soname_spec='$libname$release$shared_ext$major'
11293 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11294 shlibpath_var=LD_LIBRARY_PATH
11295 shlibpath_overrides_runpath=no
11296
11297 # Some binutils ld are patched to set DT_RUNPATH
11298 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11299 $as_echo_n "(cached) " >&6
11300 else
11301 lt_cv_shlibpath_overrides_runpath=no
11302 save_LDFLAGS=$LDFLAGS
11303 save_libdir=$libdir
11304 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11305 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11307 /* end confdefs.h. */
11308
11309 int
11310 main ()
11311 {
11312
11313 ;
11314 return 0;
11315 }
11316 _ACEOF
11317 if ac_fn_c_try_link "$LINENO"; then :
11318 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11319 lt_cv_shlibpath_overrides_runpath=yes
11320 fi
11321 fi
11322 rm -f core conftest.err conftest.$ac_objext \
11323 conftest$ac_exeext conftest.$ac_ext
11324 LDFLAGS=$save_LDFLAGS
11325 libdir=$save_libdir
11326
11327 fi
11328
11329 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11330
11331 # This implies no fast_install, which is unacceptable.
11332 # Some rework will be needed to allow for fast_install
11333 # before this can be enabled.
11334 hardcode_into_libs=yes
11335
11336 # Add ABI-specific directories to the system library path.
11337 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11338
11339 # Ideally, we could use ldconfig to report *all* directores which are
11340 # searched for libraries, however this is still not possible. Aside from not
11341 # being certain /sbin/ldconfig is available, command
11342 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11343 # even though it is searched at run-time. Try to do the best guess by
11344 # appending ld.so.conf contents (and includes) to the search path.
11345 if test -f /etc/ld.so.conf; then
11346 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' ' '`
11347 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11348 fi
11349
11350 # We used to test for /lib/ld.so.1 and disable shared libraries on
11351 # powerpc, because MkLinux only supported shared libraries with the
11352 # GNU dynamic linker. Since this was broken with cross compilers,
11353 # most powerpc-linux boxes support dynamic linking these days and
11354 # people can always --disable-shared, the test was removed, and we
11355 # assume the GNU/Linux dynamic linker is in use.
11356 dynamic_linker='GNU/Linux ld.so'
11357 ;;
11358
11359 netbsd*)
11360 version_type=sunos
11361 need_lib_prefix=no
11362 need_version=no
11363 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11364 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11365 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11366 dynamic_linker='NetBSD (a.out) ld.so'
11367 else
11368 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11369 soname_spec='$libname$release$shared_ext$major'
11370 dynamic_linker='NetBSD ld.elf_so'
11371 fi
11372 shlibpath_var=LD_LIBRARY_PATH
11373 shlibpath_overrides_runpath=yes
11374 hardcode_into_libs=yes
11375 ;;
11376
11377 newsos6)
11378 version_type=linux # correct to gnu/linux during the next big refactor
11379 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11380 shlibpath_var=LD_LIBRARY_PATH
11381 shlibpath_overrides_runpath=yes
11382 ;;
11383
11384 *nto* | *qnx*)
11385 version_type=qnx
11386 need_lib_prefix=no
11387 need_version=no
11388 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11389 soname_spec='$libname$release$shared_ext$major'
11390 shlibpath_var=LD_LIBRARY_PATH
11391 shlibpath_overrides_runpath=no
11392 hardcode_into_libs=yes
11393 dynamic_linker='ldqnx.so'
11394 ;;
11395
11396 openbsd* | bitrig*)
11397 version_type=sunos
11398 sys_lib_dlsearch_path_spec=/usr/lib
11399 need_lib_prefix=no
11400 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11401 need_version=no
11402 else
11403 need_version=yes
11404 fi
11405 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11406 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11407 shlibpath_var=LD_LIBRARY_PATH
11408 shlibpath_overrides_runpath=yes
11409 ;;
11410
11411 os2*)
11412 libname_spec='$name'
11413 version_type=windows
11414 shrext_cmds=.dll
11415 need_version=no
11416 need_lib_prefix=no
11417 # OS/2 can only load a DLL with a base name of 8 characters or less.
11418 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11419 v=$($ECHO $release$versuffix | tr -d .-);
11420 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11421 $ECHO $n$v`$shared_ext'
11422 library_names_spec='${libname}_dll.$libext'
11423 dynamic_linker='OS/2 ld.exe'
11424 shlibpath_var=BEGINLIBPATH
11425 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11426 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11427 postinstall_cmds='base_file=`basename \$file`~
11428 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11429 dldir=$destdir/`dirname \$dlpath`~
11430 test -d \$dldir || mkdir -p \$dldir~
11431 $install_prog $dir/$dlname \$dldir/$dlname~
11432 chmod a+x \$dldir/$dlname~
11433 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11434 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11435 fi'
11436 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11437 dlpath=$dir/\$dldll~
11438 $RM \$dlpath'
11439 ;;
11440
11441 osf3* | osf4* | osf5*)
11442 version_type=osf
11443 need_lib_prefix=no
11444 need_version=no
11445 soname_spec='$libname$release$shared_ext$major'
11446 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11447 shlibpath_var=LD_LIBRARY_PATH
11448 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11449 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11450 ;;
11451
11452 rdos*)
11453 dynamic_linker=no
11454 ;;
11455
11456 solaris*)
11457 version_type=linux # correct to gnu/linux during the next big refactor
11458 need_lib_prefix=no
11459 need_version=no
11460 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11461 soname_spec='$libname$release$shared_ext$major'
11462 shlibpath_var=LD_LIBRARY_PATH
11463 shlibpath_overrides_runpath=yes
11464 hardcode_into_libs=yes
11465 # ldd complains unless libraries are executable
11466 postinstall_cmds='chmod +x $lib'
11467 ;;
11468
11469 sunos4*)
11470 version_type=sunos
11471 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11472 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11473 shlibpath_var=LD_LIBRARY_PATH
11474 shlibpath_overrides_runpath=yes
11475 if test yes = "$with_gnu_ld"; then
11476 need_lib_prefix=no
11477 fi
11478 need_version=yes
11479 ;;
11480
11481 sysv4 | sysv4.3*)
11482 version_type=linux # correct to gnu/linux during the next big refactor
11483 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11484 soname_spec='$libname$release$shared_ext$major'
11485 shlibpath_var=LD_LIBRARY_PATH
11486 case $host_vendor in
11487 sni)
11488 shlibpath_overrides_runpath=no
11489 need_lib_prefix=no
11490 runpath_var=LD_RUN_PATH
11491 ;;
11492 siemens)
11493 need_lib_prefix=no
11494 ;;
11495 motorola)
11496 need_lib_prefix=no
11497 need_version=no
11498 shlibpath_overrides_runpath=no
11499 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11500 ;;
11501 esac
11502 ;;
11503
11504 sysv4*MP*)
11505 if test -d /usr/nec; then
11506 version_type=linux # correct to gnu/linux during the next big refactor
11507 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11508 soname_spec='$libname$shared_ext.$major'
11509 shlibpath_var=LD_LIBRARY_PATH
11510 fi
11511 ;;
11512
11513 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11514 version_type=sco
11515 need_lib_prefix=no
11516 need_version=no
11517 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11518 soname_spec='$libname$release$shared_ext$major'
11519 shlibpath_var=LD_LIBRARY_PATH
11520 shlibpath_overrides_runpath=yes
11521 hardcode_into_libs=yes
11522 if test yes = "$with_gnu_ld"; then
11523 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11524 else
11525 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11526 case $host_os in
11527 sco3.2v5*)
11528 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11529 ;;
11530 esac
11531 fi
11532 sys_lib_dlsearch_path_spec='/usr/lib'
11533 ;;
11534
11535 tpf*)
11536 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11537 version_type=linux # correct to gnu/linux during the next big refactor
11538 need_lib_prefix=no
11539 need_version=no
11540 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11541 shlibpath_var=LD_LIBRARY_PATH
11542 shlibpath_overrides_runpath=no
11543 hardcode_into_libs=yes
11544 ;;
11545
11546 uts4*)
11547 version_type=linux # correct to gnu/linux during the next big refactor
11548 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11549 soname_spec='$libname$release$shared_ext$major'
11550 shlibpath_var=LD_LIBRARY_PATH
11551 ;;
11552
11553 *)
11554 dynamic_linker=no
11555 ;;
11556 esac
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11558 $as_echo "$dynamic_linker" >&6; }
11559 test no = "$dynamic_linker" && can_build_shared=no
11560
11561 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11562 if test yes = "$GCC"; then
11563 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11564 fi
11565
11566 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11567 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11568 fi
11569
11570 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11571 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11572 fi
11573
11574 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11575 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11576
11577 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11578 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11579
11580 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11581 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11680 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11681 hardcode_action=
11682 if test -n "$hardcode_libdir_flag_spec" ||
11683 test -n "$runpath_var" ||
11684 test yes = "$hardcode_automatic"; then
11685
11686 # We can hardcode non-existent directories.
11687 if test no != "$hardcode_direct" &&
11688 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11689 # have to relink, otherwise we might link with an installed library
11690 # when we should be linking with a yet-to-be-installed one
11691 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11692 test no != "$hardcode_minus_L"; then
11693 # Linking always hardcodes the temporary library directory.
11694 hardcode_action=relink
11695 else
11696 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11697 hardcode_action=immediate
11698 fi
11699 else
11700 # We cannot hardcode anything, or else we can only hardcode existing
11701 # directories.
11702 hardcode_action=unsupported
11703 fi
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11705 $as_echo "$hardcode_action" >&6; }
11706
11707 if test relink = "$hardcode_action" ||
11708 test yes = "$inherit_rpath"; then
11709 # Fast installation is not supported
11710 enable_fast_install=no
11711 elif test yes = "$shlibpath_overrides_runpath" ||
11712 test no = "$enable_shared"; then
11713 # Fast installation is not necessary
11714 enable_fast_install=needless
11715 fi
11716
11717
11718
11719
11720
11721
11722 if test yes != "$enable_dlopen"; then
11723 enable_dlopen=unknown
11724 enable_dlopen_self=unknown
11725 enable_dlopen_self_static=unknown
11726 else
11727 lt_cv_dlopen=no
11728 lt_cv_dlopen_libs=
11729
11730 case $host_os in
11731 beos*)
11732 lt_cv_dlopen=load_add_on
11733 lt_cv_dlopen_libs=
11734 lt_cv_dlopen_self=yes
11735 ;;
11736
11737 mingw* | pw32* | cegcc*)
11738 lt_cv_dlopen=LoadLibrary
11739 lt_cv_dlopen_libs=
11740 ;;
11741
11742 cygwin*)
11743 lt_cv_dlopen=dlopen
11744 lt_cv_dlopen_libs=
11745 ;;
11746
11747 darwin*)
11748 # if libdl is installed we need to link against it
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11750 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11751 if ${ac_cv_lib_dl_dlopen+:} false; then :
11752 $as_echo_n "(cached) " >&6
11753 else
11754 ac_check_lib_save_LIBS=$LIBS
11755 LIBS="-ldl $LIBS"
11756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11757 /* end confdefs.h. */
11758
11759 /* Override any GCC internal prototype to avoid an error.
11760 Use char because int might match the return type of a GCC
11761 builtin and then its argument prototype would still apply. */
11762 #ifdef __cplusplus
11763 extern "C"
11764 #endif
11765 char dlopen ();
11766 int
11767 main ()
11768 {
11769 return dlopen ();
11770 ;
11771 return 0;
11772 }
11773 _ACEOF
11774 if ac_fn_c_try_link "$LINENO"; then :
11775 ac_cv_lib_dl_dlopen=yes
11776 else
11777 ac_cv_lib_dl_dlopen=no
11778 fi
11779 rm -f core conftest.err conftest.$ac_objext \
11780 conftest$ac_exeext conftest.$ac_ext
11781 LIBS=$ac_check_lib_save_LIBS
11782 fi
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11784 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11785 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11786 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11787 else
11788
11789 lt_cv_dlopen=dyld
11790 lt_cv_dlopen_libs=
11791 lt_cv_dlopen_self=yes
11792
11793 fi
11794
11795 ;;
11796
11797 tpf*)
11798 # Don't try to run any link tests for TPF. We know it's impossible
11799 # because TPF is a cross-compiler, and we know how we open DSOs.
11800 lt_cv_dlopen=dlopen
11801 lt_cv_dlopen_libs=
11802 lt_cv_dlopen_self=no
11803 ;;
11804
11805 *)
11806 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11807 if test "x$ac_cv_func_shl_load" = xyes; then :
11808 lt_cv_dlopen=shl_load
11809 else
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11811 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11812 if ${ac_cv_lib_dld_shl_load+:} false; then :
11813 $as_echo_n "(cached) " >&6
11814 else
11815 ac_check_lib_save_LIBS=$LIBS
11816 LIBS="-ldld $LIBS"
11817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11818 /* end confdefs.h. */
11819
11820 /* Override any GCC internal prototype to avoid an error.
11821 Use char because int might match the return type of a GCC
11822 builtin and then its argument prototype would still apply. */
11823 #ifdef __cplusplus
11824 extern "C"
11825 #endif
11826 char shl_load ();
11827 int
11828 main ()
11829 {
11830 return shl_load ();
11831 ;
11832 return 0;
11833 }
11834 _ACEOF
11835 if ac_fn_c_try_link "$LINENO"; then :
11836 ac_cv_lib_dld_shl_load=yes
11837 else
11838 ac_cv_lib_dld_shl_load=no
11839 fi
11840 rm -f core conftest.err conftest.$ac_objext \
11841 conftest$ac_exeext conftest.$ac_ext
11842 LIBS=$ac_check_lib_save_LIBS
11843 fi
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11845 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11846 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11847 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11848 else
11849 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11850 if test "x$ac_cv_func_dlopen" = xyes; then :
11851 lt_cv_dlopen=dlopen
11852 else
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11854 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11855 if ${ac_cv_lib_dl_dlopen+:} false; then :
11856 $as_echo_n "(cached) " >&6
11857 else
11858 ac_check_lib_save_LIBS=$LIBS
11859 LIBS="-ldl $LIBS"
11860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11861 /* end confdefs.h. */
11862
11863 /* Override any GCC internal prototype to avoid an error.
11864 Use char because int might match the return type of a GCC
11865 builtin and then its argument prototype would still apply. */
11866 #ifdef __cplusplus
11867 extern "C"
11868 #endif
11869 char dlopen ();
11870 int
11871 main ()
11872 {
11873 return dlopen ();
11874 ;
11875 return 0;
11876 }
11877 _ACEOF
11878 if ac_fn_c_try_link "$LINENO"; then :
11879 ac_cv_lib_dl_dlopen=yes
11880 else
11881 ac_cv_lib_dl_dlopen=no
11882 fi
11883 rm -f core conftest.err conftest.$ac_objext \
11884 conftest$ac_exeext conftest.$ac_ext
11885 LIBS=$ac_check_lib_save_LIBS
11886 fi
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11888 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11889 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11890 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11891 else
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11893 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11894 if ${ac_cv_lib_svld_dlopen+:} false; then :
11895 $as_echo_n "(cached) " >&6
11896 else
11897 ac_check_lib_save_LIBS=$LIBS
11898 LIBS="-lsvld $LIBS"
11899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11900 /* end confdefs.h. */
11901
11902 /* Override any GCC internal prototype to avoid an error.
11903 Use char because int might match the return type of a GCC
11904 builtin and then its argument prototype would still apply. */
11905 #ifdef __cplusplus
11906 extern "C"
11907 #endif
11908 char dlopen ();
11909 int
11910 main ()
11911 {
11912 return dlopen ();
11913 ;
11914 return 0;
11915 }
11916 _ACEOF
11917 if ac_fn_c_try_link "$LINENO"; then :
11918 ac_cv_lib_svld_dlopen=yes
11919 else
11920 ac_cv_lib_svld_dlopen=no
11921 fi
11922 rm -f core conftest.err conftest.$ac_objext \
11923 conftest$ac_exeext conftest.$ac_ext
11924 LIBS=$ac_check_lib_save_LIBS
11925 fi
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11927 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11928 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11929 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11930 else
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11932 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11933 if ${ac_cv_lib_dld_dld_link+:} false; then :
11934 $as_echo_n "(cached) " >&6
11935 else
11936 ac_check_lib_save_LIBS=$LIBS
11937 LIBS="-ldld $LIBS"
11938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11939 /* end confdefs.h. */
11940
11941 /* Override any GCC internal prototype to avoid an error.
11942 Use char because int might match the return type of a GCC
11943 builtin and then its argument prototype would still apply. */
11944 #ifdef __cplusplus
11945 extern "C"
11946 #endif
11947 char dld_link ();
11948 int
11949 main ()
11950 {
11951 return dld_link ();
11952 ;
11953 return 0;
11954 }
11955 _ACEOF
11956 if ac_fn_c_try_link "$LINENO"; then :
11957 ac_cv_lib_dld_dld_link=yes
11958 else
11959 ac_cv_lib_dld_dld_link=no
11960 fi
11961 rm -f core conftest.err conftest.$ac_objext \
11962 conftest$ac_exeext conftest.$ac_ext
11963 LIBS=$ac_check_lib_save_LIBS
11964 fi
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11966 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11967 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11968 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
11969 fi
11970
11971
11972 fi
11973
11974
11975 fi
11976
11977
11978 fi
11979
11980
11981 fi
11982
11983
11984 fi
11985
11986 ;;
11987 esac
11988
11989 if test no = "$lt_cv_dlopen"; then
11990 enable_dlopen=no
11991 else
11992 enable_dlopen=yes
11993 fi
11994
11995 case $lt_cv_dlopen in
11996 dlopen)
11997 save_CPPFLAGS=$CPPFLAGS
11998 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11999
12000 save_LDFLAGS=$LDFLAGS
12001 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12002
12003 save_LIBS=$LIBS
12004 LIBS="$lt_cv_dlopen_libs $LIBS"
12005
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12007 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12008 if ${lt_cv_dlopen_self+:} false; then :
12009 $as_echo_n "(cached) " >&6
12010 else
12011 if test yes = "$cross_compiling"; then :
12012 lt_cv_dlopen_self=cross
12013 else
12014 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12015 lt_status=$lt_dlunknown
12016 cat > conftest.$ac_ext <<_LT_EOF
12017 #line $LINENO "configure"
12018 #include "confdefs.h"
12019
12020 #if HAVE_DLFCN_H
12021 #include <dlfcn.h>
12022 #endif
12023
12024 #include <stdio.h>
12025
12026 #ifdef RTLD_GLOBAL
12027 # define LT_DLGLOBAL RTLD_GLOBAL
12028 #else
12029 # ifdef DL_GLOBAL
12030 # define LT_DLGLOBAL DL_GLOBAL
12031 # else
12032 # define LT_DLGLOBAL 0
12033 # endif
12034 #endif
12035
12036 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12037 find out it does not work in some platform. */
12038 #ifndef LT_DLLAZY_OR_NOW
12039 # ifdef RTLD_LAZY
12040 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12041 # else
12042 # ifdef DL_LAZY
12043 # define LT_DLLAZY_OR_NOW DL_LAZY
12044 # else
12045 # ifdef RTLD_NOW
12046 # define LT_DLLAZY_OR_NOW RTLD_NOW
12047 # else
12048 # ifdef DL_NOW
12049 # define LT_DLLAZY_OR_NOW DL_NOW
12050 # else
12051 # define LT_DLLAZY_OR_NOW 0
12052 # endif
12053 # endif
12054 # endif
12055 # endif
12056 #endif
12057
12058 /* When -fvisibility=hidden is used, assume the code has been annotated
12059 correspondingly for the symbols needed. */
12060 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12061 int fnord () __attribute__((visibility("default")));
12062 #endif
12063
12064 int fnord () { return 42; }
12065 int main ()
12066 {
12067 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12068 int status = $lt_dlunknown;
12069
12070 if (self)
12071 {
12072 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12073 else
12074 {
12075 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12076 else puts (dlerror ());
12077 }
12078 /* dlclose (self); */
12079 }
12080 else
12081 puts (dlerror ());
12082
12083 return status;
12084 }
12085 _LT_EOF
12086 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12087 (eval $ac_link) 2>&5
12088 ac_status=$?
12089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12090 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12091 (./conftest; exit; ) >&5 2>/dev/null
12092 lt_status=$?
12093 case x$lt_status in
12094 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12095 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12096 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12097 esac
12098 else :
12099 # compilation failed
12100 lt_cv_dlopen_self=no
12101 fi
12102 fi
12103 rm -fr conftest*
12104
12105
12106 fi
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12108 $as_echo "$lt_cv_dlopen_self" >&6; }
12109
12110 if test yes = "$lt_cv_dlopen_self"; then
12111 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12113 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12114 if ${lt_cv_dlopen_self_static+:} false; then :
12115 $as_echo_n "(cached) " >&6
12116 else
12117 if test yes = "$cross_compiling"; then :
12118 lt_cv_dlopen_self_static=cross
12119 else
12120 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12121 lt_status=$lt_dlunknown
12122 cat > conftest.$ac_ext <<_LT_EOF
12123 #line $LINENO "configure"
12124 #include "confdefs.h"
12125
12126 #if HAVE_DLFCN_H
12127 #include <dlfcn.h>
12128 #endif
12129
12130 #include <stdio.h>
12131
12132 #ifdef RTLD_GLOBAL
12133 # define LT_DLGLOBAL RTLD_GLOBAL
12134 #else
12135 # ifdef DL_GLOBAL
12136 # define LT_DLGLOBAL DL_GLOBAL
12137 # else
12138 # define LT_DLGLOBAL 0
12139 # endif
12140 #endif
12141
12142 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12143 find out it does not work in some platform. */
12144 #ifndef LT_DLLAZY_OR_NOW
12145 # ifdef RTLD_LAZY
12146 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12147 # else
12148 # ifdef DL_LAZY
12149 # define LT_DLLAZY_OR_NOW DL_LAZY
12150 # else
12151 # ifdef RTLD_NOW
12152 # define LT_DLLAZY_OR_NOW RTLD_NOW
12153 # else
12154 # ifdef DL_NOW
12155 # define LT_DLLAZY_OR_NOW DL_NOW
12156 # else
12157 # define LT_DLLAZY_OR_NOW 0
12158 # endif
12159 # endif
12160 # endif
12161 # endif
12162 #endif
12163
12164 /* When -fvisibility=hidden is used, assume the code has been annotated
12165 correspondingly for the symbols needed. */
12166 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12167 int fnord () __attribute__((visibility("default")));
12168 #endif
12169
12170 int fnord () { return 42; }
12171 int main ()
12172 {
12173 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12174 int status = $lt_dlunknown;
12175
12176 if (self)
12177 {
12178 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12179 else
12180 {
12181 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12182 else puts (dlerror ());
12183 }
12184 /* dlclose (self); */
12185 }
12186 else
12187 puts (dlerror ());
12188
12189 return status;
12190 }
12191 _LT_EOF
12192 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12193 (eval $ac_link) 2>&5
12194 ac_status=$?
12195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12196 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12197 (./conftest; exit; ) >&5 2>/dev/null
12198 lt_status=$?
12199 case x$lt_status in
12200 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12201 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12202 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12203 esac
12204 else :
12205 # compilation failed
12206 lt_cv_dlopen_self_static=no
12207 fi
12208 fi
12209 rm -fr conftest*
12210
12211
12212 fi
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12214 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12215 fi
12216
12217 CPPFLAGS=$save_CPPFLAGS
12218 LDFLAGS=$save_LDFLAGS
12219 LIBS=$save_LIBS
12220 ;;
12221 esac
12222
12223 case $lt_cv_dlopen_self in
12224 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12225 *) enable_dlopen_self=unknown ;;
12226 esac
12227
12228 case $lt_cv_dlopen_self_static in
12229 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12230 *) enable_dlopen_self_static=unknown ;;
12231 esac
12232 fi
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250 striplib=
12251 old_striplib=
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12253 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12254 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12255 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12256 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12258 $as_echo "yes" >&6; }
12259 else
12260 # FIXME - insert some real tests, host_os isn't really good enough
12261 case $host_os in
12262 darwin*)
12263 if test -n "$STRIP"; then
12264 striplib="$STRIP -x"
12265 old_striplib="$STRIP -S"
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12267 $as_echo "yes" >&6; }
12268 else
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12270 $as_echo "no" >&6; }
12271 fi
12272 ;;
12273 *)
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12275 $as_echo "no" >&6; }
12276 ;;
12277 esac
12278 fi
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291 # Report what library types will actually be built
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12293 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12295 $as_echo "$can_build_shared" >&6; }
12296
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12298 $as_echo_n "checking whether to build shared libraries... " >&6; }
12299 test no = "$can_build_shared" && enable_shared=no
12300
12301 # On AIX, shared libraries and static libraries use the same namespace, and
12302 # are all built from PIC.
12303 case $host_os in
12304 aix3*)
12305 test yes = "$enable_shared" && enable_static=no
12306 if test -n "$RANLIB"; then
12307 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12308 postinstall_cmds='$RANLIB $lib'
12309 fi
12310 ;;
12311
12312 aix[4-9]*)
12313 if test ia64 != "$host_cpu"; then
12314 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12315 yes,aix,yes) ;; # shared object as lib.so file only
12316 yes,svr4,*) ;; # shared object as lib.so archive member only
12317 yes,*) enable_static=no ;; # shared object in lib.a archive as well
12318 esac
12319 fi
12320 ;;
12321 esac
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12323 $as_echo "$enable_shared" >&6; }
12324
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12326 $as_echo_n "checking whether to build static libraries... " >&6; }
12327 # Make sure either enable_shared or enable_static is yes.
12328 test yes = "$enable_shared" || enable_static=yes
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12330 $as_echo "$enable_static" >&6; }
12331
12332
12333
12334
12335 fi
12336 ac_ext=c
12337 ac_cpp='$CPP $CPPFLAGS'
12338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12341
12342 CC=$lt_save_CC
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358 ac_config_commands="$ac_config_commands libtool"
12359
12360
12361
12362
12363 # Only expand once:
12364
12365
12366
12367
12368 PACKAGE_VERSION2=${PACKAGE_VERSION%.*}
12369 MAJOR_VERSION=${PACKAGE_VERSION2%%.*}
12370
12371 MINOR_VERSION=${PACKAGE_VERSION2##*.}
12372
12373 MICRO_VERSION=${PACKAGE_VERSION##*.}
12374
12375 AGE_VERSION=0
12376
12377 PACKAGE_DEPS="globus-gssapi-gsi >= 9, globus-gss-assist >= 8, globus-gsi-sysconfig >= 5, globus-gsi-cert-utils >= 8, globus-gsi-proxy-core >= 6, globus-gsi-credential >= 5, globus-gsi-callback >= 4, globus-common >= 14"
12378
12379
12380 MYPROXY_DATE="Dec 2025"
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12391 if test -n "$ac_tool_prefix"; then
12392 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12393 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12395 $as_echo_n "checking for $ac_word... " >&6; }
12396 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12397 $as_echo_n "(cached) " >&6
12398 else
12399 case $PKG_CONFIG in
12400 [\\/]* | ?:[\\/]*)
12401 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12402 ;;
12403 *)
12404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12405 for as_dir in $PATH
12406 do
12407 IFS=$as_save_IFS
12408 test -z "$as_dir" && as_dir=.
12409 for ac_exec_ext in '' $ac_executable_extensions; do
12410 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12411 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12413 break 2
12414 fi
12415 done
12416 done
12417 IFS=$as_save_IFS
12418
12419 ;;
12420 esac
12421 fi
12422 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12423 if test -n "$PKG_CONFIG"; then
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12425 $as_echo "$PKG_CONFIG" >&6; }
12426 else
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12428 $as_echo "no" >&6; }
12429 fi
12430
12431
12432 fi
12433 if test -z "$ac_cv_path_PKG_CONFIG"; then
12434 ac_pt_PKG_CONFIG=$PKG_CONFIG
12435 # Extract the first word of "pkg-config", so it can be a program name with args.
12436 set dummy pkg-config; ac_word=$2
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12438 $as_echo_n "checking for $ac_word... " >&6; }
12439 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12440 $as_echo_n "(cached) " >&6
12441 else
12442 case $ac_pt_PKG_CONFIG in
12443 [\\/]* | ?:[\\/]*)
12444 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12445 ;;
12446 *)
12447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12448 for as_dir in $PATH
12449 do
12450 IFS=$as_save_IFS
12451 test -z "$as_dir" && as_dir=.
12452 for ac_exec_ext in '' $ac_executable_extensions; do
12453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12454 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12456 break 2
12457 fi
12458 done
12459 done
12460 IFS=$as_save_IFS
12461
12462 ;;
12463 esac
12464 fi
12465 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12466 if test -n "$ac_pt_PKG_CONFIG"; then
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12468 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12469 else
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12471 $as_echo "no" >&6; }
12472 fi
12473
12474 if test "x$ac_pt_PKG_CONFIG" = x; then
12475 PKG_CONFIG=""
12476 else
12477 case $cross_compiling:$ac_tool_warned in
12478 yes:)
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12480 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12481 ac_tool_warned=yes ;;
12482 esac
12483 PKG_CONFIG=$ac_pt_PKG_CONFIG
12484 fi
12485 else
12486 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12487 fi
12488
12489 fi
12490 if test -n "$PKG_CONFIG"; then
12491 _pkg_min_version=0.9.0
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12493 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12494 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12496 $as_echo "yes" >&6; }
12497 else
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12499 $as_echo "no" >&6; }
12500 PKG_CONFIG=""
12501 fi
12502 fi
12503 if test -n "$PKG_CONFIG" && \
12504 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"globus-proxy-utils\""; } >&5
12505 ($PKG_CONFIG --exists --print-errors "globus-proxy-utils") 2>&5
12506 ac_status=$?
12507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12508 test $ac_status = 0; }; then
12509
12510 GSI_PROXY_UTILS_PATH="$($PKG_CONFIG --variable=path globus-proxy-utils)"
12511 fi
12512
12513 if test -n "$PKG_CONFIG" && \
12514 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"globus-gsi-cert-utils\""; } >&5
12515 ($PKG_CONFIG --exists --print-errors "globus-gsi-cert-utils") 2>&5
12516 ac_status=$?
12517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12518 test $ac_status = 0; }; then
12519
12520 GSI_CERT_UTILS_PATH="$($PKG_CONFIG --variable=path globus-gsi-cert-utils)"
12521 fi
12522
12523
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
12525 $as_echo_n "checking whether ln -s works... " >&6; }
12526 LN_S=$as_ln_s
12527 if test "$LN_S" = "ln -s"; then
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12529 $as_echo "yes" >&6; }
12530 else
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
12532 $as_echo "no, using $LN_S" >&6; }
12533 fi
12534
12535
12536 for ac_header in regex.h regexpr.h
12537 do :
12538 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12539 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12540 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12541 cat >>confdefs.h <<_ACEOF
12542 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12543 _ACEOF
12544
12545 fi
12546
12547 done
12548
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working regcomp" >&5
12550 $as_echo_n "checking for working regcomp... " >&6; }
12551 if ${ac_cv_func_regcomp+:} false; then :
12552 $as_echo_n "(cached) " >&6
12553 else
12554 if test "$cross_compiling" = yes; then :
12555 ac_cv_func_regcomp=no
12556 else
12557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12558 /* end confdefs.h. */
12559
12560 #include <sys/types.h>
12561 #include <regex.h>
12562 regex_t x; regmatch_t m;
12563 int main() { return regcomp(&x,"pat.*",0) || regexec(&x,"pattern",1,&m,0); }
12564
12565 _ACEOF
12566 if ac_fn_c_try_run "$LINENO"; then :
12567 ac_cv_func_regcomp=yes
12568 else
12569 ac_cv_func_regcomp=no
12570 fi
12571 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12572 conftest.$ac_objext conftest.beam conftest.$ac_ext
12573 fi
12574
12575 fi
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_regcomp" >&5
12577 $as_echo "$ac_cv_func_regcomp" >&6; }
12578 save_LIBS=$LIBS
12579 LIBS=-lgen
12580 for ac_func in compile step
12581 do :
12582 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12583 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12584 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12585 cat >>confdefs.h <<_ACEOF
12586 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12587 _ACEOF
12588 have_func_compile=yes
12589 fi
12590 done
12591
12592 LIBS=$save_LIBS
12593 if test "$ac_cv_func_regcomp" = yes ; then
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using re_comp for regular expression matching" >&5
12595 $as_echo "Using re_comp for regular expression matching" >&6; }
12596 $as_echo "#define HAVE_REGCOMP 1" >>confdefs.h
12597
12598 elif test "$have_func_compile" = yes ; then
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using compile/step for regular expression matching" >&5
12600 $as_echo "Using compile/step for regular expression matching" >&6; }
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compile in -lgen" >&5
12602 $as_echo_n "checking for compile in -lgen... " >&6; }
12603 if ${ac_cv_lib_gen_compile+:} false; then :
12604 $as_echo_n "(cached) " >&6
12605 else
12606 ac_check_lib_save_LIBS=$LIBS
12607 LIBS="-lgen $LIBS"
12608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12609 /* end confdefs.h. */
12610
12611 /* Override any GCC internal prototype to avoid an error.
12612 Use char because int might match the return type of a GCC
12613 builtin and then its argument prototype would still apply. */
12614 #ifdef __cplusplus
12615 extern "C"
12616 #endif
12617 char compile ();
12618 int
12619 main ()
12620 {
12621 return compile ();
12622 ;
12623 return 0;
12624 }
12625 _ACEOF
12626 if ac_fn_c_try_link "$LINENO"; then :
12627 ac_cv_lib_gen_compile=yes
12628 else
12629 ac_cv_lib_gen_compile=no
12630 fi
12631 rm -f core conftest.err conftest.$ac_objext \
12632 conftest$ac_exeext conftest.$ac_ext
12633 LIBS=$ac_check_lib_save_LIBS
12634 fi
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gen_compile" >&5
12636 $as_echo "$ac_cv_lib_gen_compile" >&6; }
12637 if test "x$ac_cv_lib_gen_compile" = xyes; then :
12638 SERVERLIBS="$SERVERLIBS -lgen"
12639 fi
12640
12641 else
12642 as_fn_error $? "No support for regular expression matching" "$LINENO" 5
12643 fi
12644 for ac_func in setenv
12645 do :
12646 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
12647 if test "x$ac_cv_func_setenv" = xyes; then :
12648 cat >>confdefs.h <<_ACEOF
12649 #define HAVE_SETENV 1
12650 _ACEOF
12651
12652 fi
12653 done
12654
12655 for ac_func in unsetenv
12656 do :
12657 ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
12658 if test "x$ac_cv_func_unsetenv" = xyes; then :
12659 cat >>confdefs.h <<_ACEOF
12660 #define HAVE_UNSETENV 1
12661 _ACEOF
12662
12663 fi
12664 done
12665
12666 for ac_header in getopt.h
12667 do :
12668 ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
12669 if test "x$ac_cv_header_getopt_h" = xyes; then :
12670 cat >>confdefs.h <<_ACEOF
12671 #define HAVE_GETOPT_H 1
12672 _ACEOF
12673
12674 fi
12675
12676 done
12677
12678 for ac_func in getopt_long
12679 do :
12680 ac_fn_c_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long"
12681 if test "x$ac_cv_func_getopt_long" = xyes; then :
12682 cat >>confdefs.h <<_ACEOF
12683 #define HAVE_GETOPT_LONG 1
12684 _ACEOF
12685
12686 fi
12687 done
12688
12689 for ac_header in sys/socket.h
12690 do :
12691 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
12692 if test "x$ac_cv_header_sys_socket_h" = xyes; then :
12693 cat >>confdefs.h <<_ACEOF
12694 #define HAVE_SYS_SOCKET_H 1
12695 _ACEOF
12696
12697 fi
12698
12699 done
12700
12701
12702 ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "$ac_includes_default
12703 #if HAVE_SYS_SOCKET_H
12704 #include <sys/socket.h>
12705 #endif
12706 "
12707 if test "x$ac_cv_type_socklen_t" = xyes; then :
12708
12709 cat >>confdefs.h <<_ACEOF
12710 #define HAVE_SOCKLEN_T 1
12711 _ACEOF
12712
12713
12714 fi
12715
12716 ac_fn_c_check_decl "$LINENO" "facilitynames" "ac_cv_have_decl_facilitynames" "
12717 #define SYSLOG_NAMES
12718 #include <stdio.h>
12719 #include <syslog.h>
12720
12721 "
12722 if test "x$ac_cv_have_decl_facilitynames" = xyes; then :
12723 ac_have_decl=1
12724 else
12725 ac_have_decl=0
12726 fi
12727
12728 cat >>confdefs.h <<_ACEOF
12729 #define HAVE_DECL_FACILITYNAMES $ac_have_decl
12730 _ACEOF
12731
12732 uname=`(uname) 2>/dev/null`
12733 if test "$uname" != IRIX -a "$uname" != IRIX64 ; then
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
12735 $as_echo_n "checking for socket in -lsocket... " >&6; }
12736 if ${ac_cv_lib_socket_socket+:} false; then :
12737 $as_echo_n "(cached) " >&6
12738 else
12739 ac_check_lib_save_LIBS=$LIBS
12740 LIBS="-lsocket -lnsl $LIBS"
12741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12742 /* end confdefs.h. */
12743
12744 /* Override any GCC internal prototype to avoid an error.
12745 Use char because int might match the return type of a GCC
12746 builtin and then its argument prototype would still apply. */
12747 #ifdef __cplusplus
12748 extern "C"
12749 #endif
12750 char socket ();
12751 int
12752 main ()
12753 {
12754 return socket ();
12755 ;
12756 return 0;
12757 }
12758 _ACEOF
12759 if ac_fn_c_try_link "$LINENO"; then :
12760 ac_cv_lib_socket_socket=yes
12761 else
12762 ac_cv_lib_socket_socket=no
12763 fi
12764 rm -f core conftest.err conftest.$ac_objext \
12765 conftest$ac_exeext conftest.$ac_ext
12766 LIBS=$ac_check_lib_save_LIBS
12767 fi
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
12769 $as_echo "$ac_cv_lib_socket_socket" >&6; }
12770 if test "x$ac_cv_lib_socket_socket" = xyes; then :
12771 SYSLIBS="$SYSLIBS -lsocket"
12772 fi
12773
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for t_bind in -lnsl" >&5
12775 $as_echo_n "checking for t_bind in -lnsl... " >&6; }
12776 if ${ac_cv_lib_nsl_t_bind+:} false; then :
12777 $as_echo_n "(cached) " >&6
12778 else
12779 ac_check_lib_save_LIBS=$LIBS
12780 LIBS="-lnsl $LIBS"
12781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12782 /* end confdefs.h. */
12783
12784 /* Override any GCC internal prototype to avoid an error.
12785 Use char because int might match the return type of a GCC
12786 builtin and then its argument prototype would still apply. */
12787 #ifdef __cplusplus
12788 extern "C"
12789 #endif
12790 char t_bind ();
12791 int
12792 main ()
12793 {
12794 return t_bind ();
12795 ;
12796 return 0;
12797 }
12798 _ACEOF
12799 if ac_fn_c_try_link "$LINENO"; then :
12800 ac_cv_lib_nsl_t_bind=yes
12801 else
12802 ac_cv_lib_nsl_t_bind=no
12803 fi
12804 rm -f core conftest.err conftest.$ac_objext \
12805 conftest$ac_exeext conftest.$ac_ext
12806 LIBS=$ac_check_lib_save_LIBS
12807 fi
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_t_bind" >&5
12809 $as_echo "$ac_cv_lib_nsl_t_bind" >&6; }
12810 if test "x$ac_cv_lib_nsl_t_bind" = xyes; then :
12811 SYSLIBS="$SYSLIBS -lnsl"
12812 fi
12813
12814 fi
12815
12816
12817 if test "x$PKG_CONFIG_PATH" = "x" -a "x$GLOBUS_LOCATION" != "x" ; then
12818 PKG_CONFIG_PATH=$GLOBUS_LOCATION/lib/pkgconfig
12819 export PKG_CONFIG_PATH
12820 fi
12821
12822 pkg_failed=no
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLOBUS" >&5
12824 $as_echo_n "checking for GLOBUS... " >&6; }
12825
12826 if test -n "$GLOBUS_CFLAGS"; then
12827 pkg_cv_GLOBUS_CFLAGS="$GLOBUS_CFLAGS"
12828 elif test -n "$PKG_CONFIG"; then
12829 if test -n "$PKG_CONFIG" && \
12830 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$PACKAGE_DEPS\""; } >&5
12831 ($PKG_CONFIG --exists --print-errors "$PACKAGE_DEPS") 2>&5
12832 ac_status=$?
12833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12834 test $ac_status = 0; }; then
12835 pkg_cv_GLOBUS_CFLAGS=`$PKG_CONFIG --cflags "$PACKAGE_DEPS" 2>/dev/null`
12836 test "x$?" != "x0" && pkg_failed=yes
12837 else
12838 pkg_failed=yes
12839 fi
12840 else
12841 pkg_failed=untried
12842 fi
12843 if test -n "$GLOBUS_LIBS"; then
12844 pkg_cv_GLOBUS_LIBS="$GLOBUS_LIBS"
12845 elif test -n "$PKG_CONFIG"; then
12846 if test -n "$PKG_CONFIG" && \
12847 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$PACKAGE_DEPS\""; } >&5
12848 ($PKG_CONFIG --exists --print-errors "$PACKAGE_DEPS") 2>&5
12849 ac_status=$?
12850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12851 test $ac_status = 0; }; then
12852 pkg_cv_GLOBUS_LIBS=`$PKG_CONFIG --libs "$PACKAGE_DEPS" 2>/dev/null`
12853 test "x$?" != "x0" && pkg_failed=yes
12854 else
12855 pkg_failed=yes
12856 fi
12857 else
12858 pkg_failed=untried
12859 fi
12860
12861
12862
12863 if test $pkg_failed = yes; then
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12865 $as_echo "no" >&6; }
12866
12867 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12868 _pkg_short_errors_supported=yes
12869 else
12870 _pkg_short_errors_supported=no
12871 fi
12872 if test $_pkg_short_errors_supported = yes; then
12873 GLOBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$PACKAGE_DEPS" 2>&1`
12874 else
12875 GLOBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$PACKAGE_DEPS" 2>&1`
12876 fi
12877 # Put the nasty error message in config.log where it belongs
12878 echo "$GLOBUS_PKG_ERRORS" >&5
12879
12880 as_fn_error $? "GLOBUS_PKG_ERRORS" "$LINENO" 5
12881 elif test $pkg_failed = untried; then
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12883 $as_echo "no" >&6; }
12884 as_fn_error $? "GLOBUS_PKG_ERRORS" "$LINENO" 5
12885 else
12886 GLOBUS_CFLAGS=$pkg_cv_GLOBUS_CFLAGS
12887 GLOBUS_LIBS=$pkg_cv_GLOBUS_LIBS
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12889 $as_echo "yes" >&6; }
12890
12891 fi
12892
12893
12894 pkg_failed=no
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPENSSL" >&5
12896 $as_echo_n "checking for OPENSSL... " >&6; }
12897
12898 if test -n "$OPENSSL_CFLAGS"; then
12899 pkg_cv_OPENSSL_CFLAGS="$OPENSSL_CFLAGS"
12900 elif test -n "$PKG_CONFIG"; then
12901 if test -n "$PKG_CONFIG" && \
12902 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.0\""; } >&5
12903 ($PKG_CONFIG --exists --print-errors "openssl >= 1.0") 2>&5
12904 ac_status=$?
12905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12906 test $ac_status = 0; }; then
12907 pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl >= 1.0" 2>/dev/null`
12908 test "x$?" != "x0" && pkg_failed=yes
12909 else
12910 pkg_failed=yes
12911 fi
12912 else
12913 pkg_failed=untried
12914 fi
12915 if test -n "$OPENSSL_LIBS"; then
12916 pkg_cv_OPENSSL_LIBS="$OPENSSL_LIBS"
12917 elif test -n "$PKG_CONFIG"; then
12918 if test -n "$PKG_CONFIG" && \
12919 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.0\""; } >&5
12920 ($PKG_CONFIG --exists --print-errors "openssl >= 1.0") 2>&5
12921 ac_status=$?
12922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12923 test $ac_status = 0; }; then
12924 pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl >= 1.0" 2>/dev/null`
12925 test "x$?" != "x0" && pkg_failed=yes
12926 else
12927 pkg_failed=yes
12928 fi
12929 else
12930 pkg_failed=untried
12931 fi
12932
12933
12934
12935 if test $pkg_failed = yes; then
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12937 $as_echo "no" >&6; }
12938
12939 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12940 _pkg_short_errors_supported=yes
12941 else
12942 _pkg_short_errors_supported=no
12943 fi
12944 if test $_pkg_short_errors_supported = yes; then
12945 OPENSSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl >= 1.0" 2>&1`
12946 else
12947 OPENSSL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openssl >= 1.0" 2>&1`
12948 fi
12949 # Put the nasty error message in config.log where it belongs
12950 echo "$OPENSSL_PKG_ERRORS" >&5
12951
12952 as_fn_error $? "Package requirements (openssl >= 1.0) were not met:
12953
12954 $OPENSSL_PKG_ERRORS
12955
12956 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12957 installed software in a non-standard prefix.
12958
12959 Alternatively, you may set the environment variables OPENSSL_CFLAGS
12960 and OPENSSL_LIBS to avoid the need to call pkg-config.
12961 See the pkg-config man page for more details." "$LINENO" 5
12962 elif test $pkg_failed = untried; then
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12964 $as_echo "no" >&6; }
12965 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12966 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12967 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12968 is in your PATH or set the PKG_CONFIG environment variable to the full
12969 path to pkg-config.
12970
12971 Alternatively, you may set the environment variables OPENSSL_CFLAGS
12972 and OPENSSL_LIBS to avoid the need to call pkg-config.
12973 See the pkg-config man page for more details.
12974
12975 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12976 See \`config.log' for more details" "$LINENO" 5; }
12977 else
12978 OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS
12979 OPENSSL_LIBS=$pkg_cv_OPENSSL_LIBS
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12981 $as_echo "yes" >&6; }
12982 OPENSSL_PKGCONFIG="openssl >= 1.0"
12983 fi
12984 CPPFLAGS="$OPENSSL_CFLAGS $CPPFLAGS"
12985 LIBS="$OPENSSL_LIBS $LIBS"
12986
12987 for ac_prog in openssl
12988 do
12989 # Extract the first word of "$ac_prog", so it can be a program name with args.
12990 set dummy $ac_prog; ac_word=$2
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12992 $as_echo_n "checking for $ac_word... " >&6; }
12993 if ${ac_cv_path_OPENSSL+:} false; then :
12994 $as_echo_n "(cached) " >&6
12995 else
12996 case $OPENSSL in
12997 [\\/]* | ?:[\\/]*)
12998 ac_cv_path_OPENSSL="$OPENSSL" # Let the user override the test with a path.
12999 ;;
13000 *)
13001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13002 for as_dir in $PATH
13003 do
13004 IFS=$as_save_IFS
13005 test -z "$as_dir" && as_dir=.
13006 for ac_exec_ext in '' $ac_executable_extensions; do
13007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13008 ac_cv_path_OPENSSL="$as_dir/$ac_word$ac_exec_ext"
13009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13010 break 2
13011 fi
13012 done
13013 done
13014 IFS=$as_save_IFS
13015
13016 ;;
13017 esac
13018 fi
13019 OPENSSL=$ac_cv_path_OPENSSL
13020 if test -n "$OPENSSL"; then
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OPENSSL" >&5
13022 $as_echo "$OPENSSL" >&6; }
13023 else
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13025 $as_echo "no" >&6; }
13026 fi
13027
13028
13029 test -n "$OPENSSL" && break
13030 done
13031
13032 if test "x$OPENSSL" != x; then
13033 ENABLE_TESTS_TRUE=
13034 ENABLE_TESTS_FALSE='#'
13035 else
13036 ENABLE_TESTS_TRUE='#'
13037 ENABLE_TESTS_FALSE=
13038 fi
13039
13040
13041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for globus_gsi_proxy_handle_set_extensions in -lglobus_gsi_proxy_core" >&5
13042 $as_echo_n "checking for globus_gsi_proxy_handle_set_extensions in -lglobus_gsi_proxy_core... " >&6; }
13043 if ${ac_cv_lib_globus_gsi_proxy_core_globus_gsi_proxy_handle_set_extensions+:} false; then :
13044 $as_echo_n "(cached) " >&6
13045 else
13046 ac_check_lib_save_LIBS=$LIBS
13047 LIBS="-lglobus_gsi_proxy_core $LIBS"
13048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13049 /* end confdefs.h. */
13050
13051 /* Override any GCC internal prototype to avoid an error.
13052 Use char because int might match the return type of a GCC
13053 builtin and then its argument prototype would still apply. */
13054 #ifdef __cplusplus
13055 extern "C"
13056 #endif
13057 char globus_gsi_proxy_handle_set_extensions ();
13058 int
13059 main ()
13060 {
13061 return globus_gsi_proxy_handle_set_extensions ();
13062 ;
13063 return 0;
13064 }
13065 _ACEOF
13066 if ac_fn_c_try_link "$LINENO"; then :
13067 ac_cv_lib_globus_gsi_proxy_core_globus_gsi_proxy_handle_set_extensions=yes
13068 else
13069 ac_cv_lib_globus_gsi_proxy_core_globus_gsi_proxy_handle_set_extensions=no
13070 fi
13071 rm -f core conftest.err conftest.$ac_objext \
13072 conftest$ac_exeext conftest.$ac_ext
13073 LIBS=$ac_check_lib_save_LIBS
13074 fi
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_globus_gsi_proxy_core_globus_gsi_proxy_handle_set_extensions" >&5
13076 $as_echo "$ac_cv_lib_globus_gsi_proxy_core_globus_gsi_proxy_handle_set_extensions" >&6; }
13077 if test "x$ac_cv_lib_globus_gsi_proxy_core_globus_gsi_proxy_handle_set_extensions" = xyes; then :
13078 $as_echo "#define HAVE_GLOBUS_GSI_PROXY_HANDLE_SET_EXTENSIONS 1" >>confdefs.h
13079
13080 fi
13081
13082 ac_fn_c_check_func "$LINENO" "OCSP_basic_verify" "ac_cv_func_OCSP_basic_verify"
13083 if test "x$ac_cv_func_OCSP_basic_verify" = xyes; then :
13084 $as_echo "#define HAVE_OCSP 1" >>confdefs.h
13085
13086 fi
13087
13088
13089 # Check whether --with-sasl2 was given.
13090 if test "${with_sasl2+set}" = set; then :
13091 withval=$with_sasl2;
13092 if test "x$withval" = "xyes" ; then
13093 as_fn_error $? "--with-sasl2 requires PATH argument" "$LINENO" 5
13094 fi
13095 if test "x$withval" != "xno" ; then
13096 CPPFLAGS="-I${withval}/include/sasl $CPPFLAGS"
13097 LDFLAGS="-L${withval}/lib $LDFLAGS"
13098 ac_fn_c_check_header_mongrel "$LINENO" "sasl.h" "ac_cv_header_sasl_h" "$ac_includes_default"
13099 if test "x$ac_cv_header_sasl_h" = xyes; then :
13100
13101 fi
13102
13103
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sasl_client_init in -lsasl2" >&5
13105 $as_echo_n "checking for sasl_client_init in -lsasl2... " >&6; }
13106 if ${ac_cv_lib_sasl2_sasl_client_init+:} false; then :
13107 $as_echo_n "(cached) " >&6
13108 else
13109 ac_check_lib_save_LIBS=$LIBS
13110 LIBS="-lsasl2 $LIBS"
13111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13112 /* end confdefs.h. */
13113
13114 /* Override any GCC internal prototype to avoid an error.
13115 Use char because int might match the return type of a GCC
13116 builtin and then its argument prototype would still apply. */
13117 #ifdef __cplusplus
13118 extern "C"
13119 #endif
13120 char sasl_client_init ();
13121 int
13122 main ()
13123 {
13124 return sasl_client_init ();
13125 ;
13126 return 0;
13127 }
13128 _ACEOF
13129 if ac_fn_c_try_link "$LINENO"; then :
13130 ac_cv_lib_sasl2_sasl_client_init=yes
13131 else
13132 ac_cv_lib_sasl2_sasl_client_init=no
13133 fi
13134 rm -f core conftest.err conftest.$ac_objext \
13135 conftest$ac_exeext conftest.$ac_ext
13136 LIBS=$ac_check_lib_save_LIBS
13137 fi
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sasl2_sasl_client_init" >&5
13139 $as_echo "$ac_cv_lib_sasl2_sasl_client_init" >&6; }
13140 if test "x$ac_cv_lib_sasl2_sasl_client_init" = xyes; then :
13141 cat >>confdefs.h <<_ACEOF
13142 #define HAVE_LIBSASL2 1
13143 _ACEOF
13144
13145 LIBS="-lsasl2 $LIBS"
13146
13147 else
13148 as_fn_error $? "libsasl2 not found" "$LINENO" 5
13149 fi
13150
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that sasl.h matches libsasl2" >&5
13152 $as_echo_n "checking that sasl.h matches libsasl2... " >&6; }
13153 if test "$cross_compiling" = yes; then :
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13155 $as_echo "yes" >&6; }
13156 else
13157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13158 /* end confdefs.h. */
13159
13160 #include <sasl.h>
13161 int main(void) { if (SASL_VERSION_MAJOR != 2) return 1; else return 0; }
13162
13163 _ACEOF
13164 if ac_fn_c_try_run "$LINENO"; then :
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13166 $as_echo "yes" >&6; }
13167 else
13168
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13170 $as_echo "no" >&6; }
13171 as_fn_error $? "sasl.h does not match libsasl2" "$LINENO" 5
13172
13173 fi
13174 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13175 conftest.$ac_objext conftest.beam conftest.$ac_ext
13176 fi
13177
13178 SASL="yes"
13179 fi
13180
13181
13182 fi
13183
13184
13185 # Check whether --with-kerberos5 was given.
13186 if test "${with_kerberos5+set}" = set; then :
13187 withval=$with_kerberos5;
13188 if test "x$withval" = "xyes" ; then
13189 as_fn_error $? "--with-kerberos5 requires PATH argument" "$LINENO" 5
13190 fi
13191 if test "x$withval" != "xno" ; then
13192 if test "$SASL" != "yes"; then
13193 as_fn_error $? "--with-kerberos5 requires --with-sasl2" "$LINENO" 5
13194 fi
13195 KRB5CPPFLAGS="-I${withval}/include $CPPFLAGS"
13196
13197 $as_echo "#define BUILD_GSSAPI_PLUGIN 1" >>confdefs.h
13198
13199 for ac_header in gssapi.h
13200 do :
13201 ac_fn_c_check_header_mongrel "$LINENO" "gssapi.h" "ac_cv_header_gssapi_h" "$ac_includes_default"
13202 if test "x$ac_cv_header_gssapi_h" = xyes; then :
13203 cat >>confdefs.h <<_ACEOF
13204 #define HAVE_GSSAPI_H 1
13205 _ACEOF
13206
13207 fi
13208
13209 done
13210
13211 fi
13212
13213
13214 fi
13215
13216 for ac_header in security/pam_appl.h pam/pam_appl.h
13217 do :
13218 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13219 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13220 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13221 cat >>confdefs.h <<_ACEOF
13222 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13223 _ACEOF
13224
13225 fi
13226
13227 done
13228
13229 if test "x$ac_cv_header_security_pam_appl_h" = "xyes" || \
13230 test "x$ac_cv_header_pam_pam_appl_h" = "xyes" ; then
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13232 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13233 if ${ac_cv_lib_dl_dlopen+:} false; then :
13234 $as_echo_n "(cached) " >&6
13235 else
13236 ac_check_lib_save_LIBS=$LIBS
13237 LIBS="-ldl $LIBS"
13238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13239 /* end confdefs.h. */
13240
13241 /* Override any GCC internal prototype to avoid an error.
13242 Use char because int might match the return type of a GCC
13243 builtin and then its argument prototype would still apply. */
13244 #ifdef __cplusplus
13245 extern "C"
13246 #endif
13247 char dlopen ();
13248 int
13249 main ()
13250 {
13251 return dlopen ();
13252 ;
13253 return 0;
13254 }
13255 _ACEOF
13256 if ac_fn_c_try_link "$LINENO"; then :
13257 ac_cv_lib_dl_dlopen=yes
13258 else
13259 ac_cv_lib_dl_dlopen=no
13260 fi
13261 rm -f core conftest.err conftest.$ac_objext \
13262 conftest$ac_exeext conftest.$ac_ext
13263 LIBS=$ac_check_lib_save_LIBS
13264 fi
13265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13266 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13267 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13268 cat >>confdefs.h <<_ACEOF
13269 #define HAVE_LIBDL 1
13270 _ACEOF
13271
13272 LIBS="-ldl $LIBS"
13273
13274 fi
13275
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_set_item in -lpam" >&5
13277 $as_echo_n "checking for pam_set_item in -lpam... " >&6; }
13278 if ${ac_cv_lib_pam_pam_set_item+:} false; then :
13279 $as_echo_n "(cached) " >&6
13280 else
13281 ac_check_lib_save_LIBS=$LIBS
13282 LIBS="-lpam $LIBS"
13283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13284 /* end confdefs.h. */
13285
13286 /* Override any GCC internal prototype to avoid an error.
13287 Use char because int might match the return type of a GCC
13288 builtin and then its argument prototype would still apply. */
13289 #ifdef __cplusplus
13290 extern "C"
13291 #endif
13292 char pam_set_item ();
13293 int
13294 main ()
13295 {
13296 return pam_set_item ();
13297 ;
13298 return 0;
13299 }
13300 _ACEOF
13301 if ac_fn_c_try_link "$LINENO"; then :
13302 ac_cv_lib_pam_pam_set_item=yes
13303 else
13304 ac_cv_lib_pam_pam_set_item=no
13305 fi
13306 rm -f core conftest.err conftest.$ac_objext \
13307 conftest$ac_exeext conftest.$ac_ext
13308 LIBS=$ac_check_lib_save_LIBS
13309 fi
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_set_item" >&5
13311 $as_echo "$ac_cv_lib_pam_pam_set_item" >&6; }
13312 if test "x$ac_cv_lib_pam_pam_set_item" = xyes; then :
13313 cat >>confdefs.h <<_ACEOF
13314 #define HAVE_LIBPAM 1
13315 _ACEOF
13316
13317 LIBS="-lpam $LIBS"
13318
13319 fi
13320
13321 fi
13322
13323 ac_fn_c_check_func "$LINENO" "pthread_sigmask" "ac_cv_func_pthread_sigmask"
13324 if test "x$ac_cv_func_pthread_sigmask" = xyes; then :
13325 $as_echo "#define HAVE_PTHREAD_SIGMASK 1" >>confdefs.h
13326
13327 fi
13328
13329
13330 ac_fn_c_check_decl "$LINENO" "pidfile_open" "ac_cv_have_decl_pidfile_open" "#include <libutil.h>
13331 "
13332 if test "x$ac_cv_have_decl_pidfile_open" = xyes; then :
13333 $as_echo "#define HAVE_PIDFILE_DECL 1" >>confdefs.h
13334
13335 fi
13336
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pidfile_open" >&5
13338 $as_echo_n "checking for library containing pidfile_open... " >&6; }
13339 if ${ac_cv_search_pidfile_open+:} false; then :
13340 $as_echo_n "(cached) " >&6
13341 else
13342 ac_func_search_save_LIBS=$LIBS
13343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13344 /* end confdefs.h. */
13345
13346 /* Override any GCC internal prototype to avoid an error.
13347 Use char because int might match the return type of a GCC
13348 builtin and then its argument prototype would still apply. */
13349 #ifdef __cplusplus
13350 extern "C"
13351 #endif
13352 char pidfile_open ();
13353 int
13354 main ()
13355 {
13356 return pidfile_open ();
13357 ;
13358 return 0;
13359 }
13360 _ACEOF
13361 for ac_lib in '' util bsd; do
13362 if test -z "$ac_lib"; then
13363 ac_res="none required"
13364 else
13365 ac_res=-l$ac_lib
13366 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13367 fi
13368 if ac_fn_c_try_link "$LINENO"; then :
13369 ac_cv_search_pidfile_open=$ac_res
13370 fi
13371 rm -f core conftest.err conftest.$ac_objext \
13372 conftest$ac_exeext
13373 if ${ac_cv_search_pidfile_open+:} false; then :
13374 break
13375 fi
13376 done
13377 if ${ac_cv_search_pidfile_open+:} false; then :
13378
13379 else
13380 ac_cv_search_pidfile_open=no
13381 fi
13382 rm conftest.$ac_ext
13383 LIBS=$ac_func_search_save_LIBS
13384 fi
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pidfile_open" >&5
13386 $as_echo "$ac_cv_search_pidfile_open" >&6; }
13387 ac_res=$ac_cv_search_pidfile_open
13388 if test "$ac_res" != no; then :
13389 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13390 $as_echo "#define HAVE_PIDFILE 1" >>confdefs.h
13391
13392 fi
13393
13394
13395
13396
13397 # Check whether --with-openldap was given.
13398 if test "${with_openldap+set}" = set; then :
13399 withval=$with_openldap;
13400 if test "x$withval" = "xyes" ; then
13401 as_fn_error $? "--with-openldap requires PATH argument" "$LINENO" 5
13402 fi
13403 if test "x$withval" != "xno" ; then
13404 CPPFLAGS="-I${withval}/include $CPPFLAGS"
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenLDAP v2.3 or later" >&5
13406 $as_echo_n "checking for OpenLDAP v2.3 or later... " >&6; }
13407 if test "$cross_compiling" = yes; then :
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13409 $as_echo "yes" >&6; }
13410 else
13411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13412 /* end confdefs.h. */
13413
13414 #include <ldap.h>
13415 int main(void) { if (LDAP_VENDOR_VERSION < 20300) return 1; else return 0; }
13416
13417 _ACEOF
13418 if ac_fn_c_try_run "$LINENO"; then :
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13420 $as_echo "yes" >&6; }
13421 else
13422
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13424 $as_echo "no" >&6; }
13425 as_fn_error $? "OpenLDAP is not v2.3 or later" "$LINENO" 5
13426
13427 fi
13428 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13429 conftest.$ac_objext conftest.beam conftest.$ac_ext
13430 fi
13431
13432 # warning: if ${withval}/lib isn't in the shared library
13433 # search path, then adding -lldap may cause AC_TRY_RUN tests
13434 # below to fail
13435 LDFLAGS="-L${withval}/lib $LDFLAGS"
13436 for ac_header in ldap.h
13437 do :
13438 ac_fn_c_check_header_mongrel "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
13439 if test "x$ac_cv_header_ldap_h" = xyes; then :
13440 cat >>confdefs.h <<_ACEOF
13441 #define HAVE_LDAP_H 1
13442 _ACEOF
13443
13444 fi
13445
13446 done
13447
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_free in -llber" >&5
13449 $as_echo_n "checking for ber_free in -llber... " >&6; }
13450 if ${ac_cv_lib_lber_ber_free+:} false; then :
13451 $as_echo_n "(cached) " >&6
13452 else
13453 ac_check_lib_save_LIBS=$LIBS
13454 LIBS="-llber $LIBS"
13455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13456 /* end confdefs.h. */
13457
13458 /* Override any GCC internal prototype to avoid an error.
13459 Use char because int might match the return type of a GCC
13460 builtin and then its argument prototype would still apply. */
13461 #ifdef __cplusplus
13462 extern "C"
13463 #endif
13464 char ber_free ();
13465 int
13466 main ()
13467 {
13468 return ber_free ();
13469 ;
13470 return 0;
13471 }
13472 _ACEOF
13473 if ac_fn_c_try_link "$LINENO"; then :
13474 ac_cv_lib_lber_ber_free=yes
13475 else
13476 ac_cv_lib_lber_ber_free=no
13477 fi
13478 rm -f core conftest.err conftest.$ac_objext \
13479 conftest$ac_exeext conftest.$ac_ext
13480 LIBS=$ac_check_lib_save_LIBS
13481 fi
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_free" >&5
13483 $as_echo "$ac_cv_lib_lber_ber_free" >&6; }
13484 if test "x$ac_cv_lib_lber_ber_free" = xyes; then :
13485 cat >>confdefs.h <<_ACEOF
13486 #define HAVE_LIBLBER 1
13487 _ACEOF
13488
13489 LIBS="-llber $LIBS"
13490
13491 else
13492 as_fn_error $? "ber_free not found in liblber" "$LINENO" 5
13493 fi
13494
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_sasl_bind_s in -lldap" >&5
13496 $as_echo_n "checking for ldap_sasl_bind_s in -lldap... " >&6; }
13497 if ${ac_cv_lib_ldap_ldap_sasl_bind_s+:} false; then :
13498 $as_echo_n "(cached) " >&6
13499 else
13500 ac_check_lib_save_LIBS=$LIBS
13501 LIBS="-lldap $LIBS"
13502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13503 /* end confdefs.h. */
13504
13505 /* Override any GCC internal prototype to avoid an error.
13506 Use char because int might match the return type of a GCC
13507 builtin and then its argument prototype would still apply. */
13508 #ifdef __cplusplus
13509 extern "C"
13510 #endif
13511 char ldap_sasl_bind_s ();
13512 int
13513 main ()
13514 {
13515 return ldap_sasl_bind_s ();
13516 ;
13517 return 0;
13518 }
13519 _ACEOF
13520 if ac_fn_c_try_link "$LINENO"; then :
13521 ac_cv_lib_ldap_ldap_sasl_bind_s=yes
13522 else
13523 ac_cv_lib_ldap_ldap_sasl_bind_s=no
13524 fi
13525 rm -f core conftest.err conftest.$ac_objext \
13526 conftest$ac_exeext conftest.$ac_ext
13527 LIBS=$ac_check_lib_save_LIBS
13528 fi
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_sasl_bind_s" >&5
13530 $as_echo "$ac_cv_lib_ldap_ldap_sasl_bind_s" >&6; }
13531 if test "x$ac_cv_lib_ldap_ldap_sasl_bind_s" = xyes; then :
13532 cat >>confdefs.h <<_ACEOF
13533 #define HAVE_LIBLDAP 1
13534 _ACEOF
13535
13536 LIBS="-lldap $LIBS"
13537
13538 else
13539 as_fn_error $? "ldap_sasl_bind_s not found in libldap" "$LINENO" 5
13540 fi
13541
13542 ac_fn_c_check_func "$LINENO" "ldap_search_ext_s" "ac_cv_func_ldap_search_ext_s"
13543 if test "x$ac_cv_func_ldap_search_ext_s" = xyes; then :
13544
13545 else
13546 as_fn_error $? "ldap_search_ext_s not found in libldap" "$LINENO" 5
13547 fi
13548
13549 ac_fn_c_check_func "$LINENO" "ldap_str2dn" "ac_cv_func_ldap_str2dn"
13550 if test "x$ac_cv_func_ldap_str2dn" = xyes; then :
13551
13552 else
13553 as_fn_error $? "ldap_str2dn not found in libldap" "$LINENO" 5
13554 fi
13555
13556 ac_fn_c_check_func "$LINENO" "ldap_start_tls_s" "ac_cv_func_ldap_start_tls_s"
13557 if test "x$ac_cv_func_ldap_start_tls_s" = xyes; then :
13558
13559 else
13560 as_fn_error $? "ldap_start_tls_s not found in libldap" "$LINENO" 5
13561 fi
13562
13563 fi
13564
13565
13566 fi
13567
13568
13569
13570
13571 # Check whether --with-voms was given.
13572 if test "${with_voms+set}" = set; then :
13573 withval=$with_voms;
13574 if test "x$withval" = "xyes" ; then
13575 as_fn_error $? "--with-voms requires PATH argument" "$LINENO" 5
13576 fi
13577 if test "x$withval" != "xno" ; then
13578 CPPFLAGS="-I${withval}/include -I${withval}/include/voms -I${withval}/include/glite/security/voms $CPPFLAGS"
13579 LDFLAGS="-L${withval}/lib -L${withval}/lib64 $LDFLAGS"
13580 SAVE_LIBS="$LIBS"
13581 ac_fn_c_check_header_mongrel "$LINENO" "voms_apic.h" "ac_cv_header_voms_apic_h" "$ac_includes_default"
13582 if test "x$ac_cv_header_voms_apic_h" = xyes; then :
13583
13584 fi
13585
13586
13587 ac_fn_c_check_header_mongrel "$LINENO" "newformat.h" "ac_cv_header_newformat_h" "$ac_includes_default"
13588 if test "x$ac_cv_header_newformat_h" = xyes; then :
13589
13590 fi
13591
13592
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing VOMS_Init" >&5
13594 $as_echo_n "checking for library containing VOMS_Init... " >&6; }
13595 if ${ac_cv_search_VOMS_Init+:} false; then :
13596 $as_echo_n "(cached) " >&6
13597 else
13598 ac_func_search_save_LIBS=$LIBS
13599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13600 /* end confdefs.h. */
13601
13602 /* Override any GCC internal prototype to avoid an error.
13603 Use char because int might match the return type of a GCC
13604 builtin and then its argument prototype would still apply. */
13605 #ifdef __cplusplus
13606 extern "C"
13607 #endif
13608 char VOMS_Init ();
13609 int
13610 main ()
13611 {
13612 return VOMS_Init ();
13613 ;
13614 return 0;
13615 }
13616 _ACEOF
13617 for ac_lib in '' vomsapi vomsc; do
13618 if test -z "$ac_lib"; then
13619 ac_res="none required"
13620 else
13621 ac_res=-l$ac_lib
13622 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13623 fi
13624 if ac_fn_c_try_link "$LINENO"; then :
13625 ac_cv_search_VOMS_Init=$ac_res
13626 fi
13627 rm -f core conftest.err conftest.$ac_objext \
13628 conftest$ac_exeext
13629 if ${ac_cv_search_VOMS_Init+:} false; then :
13630 break
13631 fi
13632 done
13633 if ${ac_cv_search_VOMS_Init+:} false; then :
13634
13635 else
13636 ac_cv_search_VOMS_Init=no
13637 fi
13638 rm conftest.$ac_ext
13639 LIBS=$ac_func_search_save_LIBS
13640 fi
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_VOMS_Init" >&5
13642 $as_echo "$ac_cv_search_VOMS_Init" >&6; }
13643 ac_res=$ac_cv_search_VOMS_Init
13644 if test "$ac_res" != no; then :
13645 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13646
13647 else
13648 as_fn_error $? "VOMS_Init not found in libvomsapi/libvomsc" "$LINENO" 5
13649 fi
13650
13651 VOMS_LIBS="$LIBS"
13652 LIBS="$SAVE_LIBS"
13653
13654 HAVE_VOMS=1
13655 $as_echo "#define HAVE_VOMS 1" >>confdefs.h
13656
13657 fi
13658
13659
13660 fi
13661
13662
13663 if test x"$HAVE_VOMS" = x1; then
13664 HAVE_VOMS_TRUE=
13665 HAVE_VOMS_FALSE='#'
13666 else
13667 HAVE_VOMS_TRUE='#'
13668 HAVE_VOMS_FALSE=
13669 fi
13670
13671
13672 ac_config_files="$ac_config_files Makefile web/Makefile systemd/Makefile man/Makefile myproxy.h myproxy.pc"
13673
13674 cat >confcache <<\_ACEOF
13675 # This file is a shell script that caches the results of configure
13676 # tests run on this system so they can be shared between configure
13677 # scripts and configure runs, see configure's option --config-cache.
13678 # It is not useful on other systems. If it contains results you don't
13679 # want to keep, you may remove or edit it.
13680 #
13681 # config.status only pays attention to the cache file if you give it
13682 # the --recheck option to rerun configure.
13683 #
13684 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13685 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13686 # following values.
13687
13688 _ACEOF
13689
13690 # The following way of writing the cache mishandles newlines in values,
13691 # but we know of no workaround that is simple, portable, and efficient.
13692 # So, we kill variables containing newlines.
13693 # Ultrix sh set writes to stderr and can't be redirected directly,
13694 # and sets the high bit in the cache file unless we assign to the vars.
13695 (
13696 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13697 eval ac_val=\$$ac_var
13698 case $ac_val in #(
13699 *${as_nl}*)
13700 case $ac_var in #(
13701 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13702 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13703 esac
13704 case $ac_var in #(
13705 _ | IFS | as_nl) ;; #(
13706 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13707 *) { eval $ac_var=; unset $ac_var;} ;;
13708 esac ;;
13709 esac
13710 done
13711
13712 (set) 2>&1 |
13713 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13714 *${as_nl}ac_space=\ *)
13715 # `set' does not quote correctly, so add quotes: double-quote
13716 # substitution turns \\\\ into \\, and sed turns \\ into \.
13717 sed -n \
13718 "s/'/'\\\\''/g;
13719 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13720 ;; #(
13721 *)
13722 # `set' quotes correctly as required by POSIX, so do not add quotes.
13723 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13724 ;;
13725 esac |
13726 sort
13727 ) |
13728 sed '
13729 /^ac_cv_env_/b end
13730 t clear
13731 :clear
13732 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13733 t end
13734 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13735 :end' >>confcache
13736 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13737 if test -w "$cache_file"; then
13738 if test "x$cache_file" != "x/dev/null"; then
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13740 $as_echo "$as_me: updating cache $cache_file" >&6;}
13741 if test ! -f "$cache_file" || test -h "$cache_file"; then
13742 cat confcache >"$cache_file"
13743 else
13744 case $cache_file in #(
13745 */* | ?:*)
13746 mv -f confcache "$cache_file"$$ &&
13747 mv -f "$cache_file"$$ "$cache_file" ;; #(
13748 *)
13749 mv -f confcache "$cache_file" ;;
13750 esac
13751 fi
13752 fi
13753 else
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13755 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13756 fi
13757 fi
13758 rm -f confcache
13759
13760 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13761 # Let make expand exec_prefix.
13762 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13763
13764 # Transform confdefs.h into DEFS.
13765 # Protect against shell expansion while executing Makefile rules.
13766 # Protect against Makefile macro expansion.
13767 #
13768 # If the first sed substitution is executed (which looks for macros that
13769 # take arguments), then branch to the quote section. Otherwise,
13770 # look for a macro that doesn't take arguments.
13771 ac_script='
13772 :mline
13773 /\\$/{
13774 N
13775 s,\\\n,,
13776 b mline
13777 }
13778 t clear
13779 :clear
13780 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
13781 t quote
13782 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
13783 t quote
13784 b any
13785 :quote
13786 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
13787 s/\[/\\&/g
13788 s/\]/\\&/g
13789 s/\$/$$/g
13790 H
13791 :any
13792 ${
13793 g
13794 s/^\n//
13795 s/\n/ /g
13796 p
13797 }
13798 '
13799 DEFS=`sed -n "$ac_script" confdefs.h`
13800
13801
13802 ac_libobjs=
13803 ac_ltlibobjs=
13804 U=
13805 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13806 # 1. Remove the extension, and $U if already installed.
13807 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13808 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13809 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13810 # will be set to the directory where LIBOBJS objects are built.
13811 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13812 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13813 done
13814 LIBOBJS=$ac_libobjs
13815
13816 LTLIBOBJS=$ac_ltlibobjs
13817
13818
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13820 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13821 if test -n "$am_sleep_pid"; then
13822 # Hide warnings about reused PIDs.
13823 wait $am_sleep_pid 2>/dev/null
13824 fi
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13826 $as_echo "done" >&6; }
13827 if test -n "$EXEEXT"; then
13828 am__EXEEXT_TRUE=
13829 am__EXEEXT_FALSE='#'
13830 else
13831 am__EXEEXT_TRUE='#'
13832 am__EXEEXT_FALSE=
13833 fi
13834
13835 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13836 as_fn_error $? "conditional \"AMDEP\" was never defined.
13837 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13838 fi
13839 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13840 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13841 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13842 fi
13843 if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
13844 as_fn_error $? "conditional \"ENABLE_TESTS\" was never defined.
13845 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13846 fi
13847 if test -z "${HAVE_VOMS_TRUE}" && test -z "${HAVE_VOMS_FALSE}"; then
13848 as_fn_error $? "conditional \"HAVE_VOMS\" was never defined.
13849 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13850 fi
13851
13852 : "${CONFIG_STATUS=./config.status}"
13853 ac_write_fail=0
13854 ac_clean_files_save=$ac_clean_files
13855 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13857 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13858 as_write_fail=0
13859 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13860 #! $SHELL
13861 # Generated by $as_me.
13862 # Run this file to recreate the current configuration.
13863 # Compiler output produced by configure, useful for debugging
13864 # configure, is in config.log if it exists.
13865
13866 debug=false
13867 ac_cs_recheck=false
13868 ac_cs_silent=false
13869
13870 SHELL=\${CONFIG_SHELL-$SHELL}
13871 export SHELL
13872 _ASEOF
13873 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13874 ## -------------------- ##
13875 ## M4sh Initialization. ##
13876 ## -------------------- ##
13877
13878 # Be more Bourne compatible
13879 DUALCASE=1; export DUALCASE # for MKS sh
13880 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13881 emulate sh
13882 NULLCMD=:
13883 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13884 # is contrary to our usage. Disable this feature.
13885 alias -g '${1+"$@"}'='"$@"'
13886 setopt NO_GLOB_SUBST
13887 else
13888 case `(set -o) 2>/dev/null` in #(
13889 *posix*) :
13890 set -o posix ;; #(
13891 *) :
13892 ;;
13893 esac
13894 fi
13895
13896
13897 as_nl='
13898 '
13899 export as_nl
13900 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13901 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13902 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13903 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13904 # Prefer a ksh shell builtin over an external printf program on Solaris,
13905 # but without wasting forks for bash or zsh.
13906 if test -z "$BASH_VERSION$ZSH_VERSION" \
13907 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13908 as_echo='print -r --'
13909 as_echo_n='print -rn --'
13910 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13911 as_echo='printf %s\n'
13912 as_echo_n='printf %s'
13913 else
13914 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13915 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13916 as_echo_n='/usr/ucb/echo -n'
13917 else
13918 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13919 as_echo_n_body='eval
13920 arg=$1;
13921 case $arg in #(
13922 *"$as_nl"*)
13923 expr "X$arg" : "X\\(.*\\)$as_nl";
13924 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13925 esac;
13926 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13927 '
13928 export as_echo_n_body
13929 as_echo_n='sh -c $as_echo_n_body as_echo'
13930 fi
13931 export as_echo_body
13932 as_echo='sh -c $as_echo_body as_echo'
13933 fi
13934
13935 # The user is always right.
13936 if test "${PATH_SEPARATOR+set}" != set; then
13937 PATH_SEPARATOR=:
13938 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13939 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13940 PATH_SEPARATOR=';'
13941 }
13942 fi
13943
13944
13945 # IFS
13946 # We need space, tab and new line, in precisely that order. Quoting is
13947 # there to prevent editors from complaining about space-tab.
13948 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13949 # splitting by setting IFS to empty value.)
13950 IFS=" "" $as_nl"
13951
13952 # Find who we are. Look in the path if we contain no directory separator.
13953 as_myself=
13954 case $0 in #((
13955 *[\\/]* ) as_myself=$0 ;;
13956 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13957 for as_dir in $PATH
13958 do
13959 IFS=$as_save_IFS
13960 test -z "$as_dir" && as_dir=.
13961 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13962 done
13963 IFS=$as_save_IFS
13964
13965 ;;
13966 esac
13967 # We did not find ourselves, most probably we were run as `sh COMMAND'
13968 # in which case we are not to be found in the path.
13969 if test "x$as_myself" = x; then
13970 as_myself=$0
13971 fi
13972 if test ! -f "$as_myself"; then
13973 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13974 exit 1
13975 fi
13976
13977 # Unset variables that we do not need and which cause bugs (e.g. in
13978 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13979 # suppresses any "Segmentation fault" message there. '((' could
13980 # trigger a bug in pdksh 5.2.14.
13981 for as_var in BASH_ENV ENV MAIL MAILPATH
13982 do eval test x\${$as_var+set} = xset \
13983 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13984 done
13985 PS1='$ '
13986 PS2='> '
13987 PS4='+ '
13988
13989 # NLS nuisances.
13990 LC_ALL=C
13991 export LC_ALL
13992 LANGUAGE=C
13993 export LANGUAGE
13994
13995 # CDPATH.
13996 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13997
13998
13999 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14000 # ----------------------------------------
14001 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14002 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14003 # script with STATUS, using 1 if that was 0.
14004 as_fn_error ()
14005 {
14006 as_status=$1; test $as_status -eq 0 && as_status=1
14007 if test "$4"; then
14008 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14009 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14010 fi
14011 $as_echo "$as_me: error: $2" >&2
14012 as_fn_exit $as_status
14013 } # as_fn_error
14014
14015
14016 # as_fn_set_status STATUS
14017 # -----------------------
14018 # Set $? to STATUS, without forking.
14019 as_fn_set_status ()
14020 {
14021 return $1
14022 } # as_fn_set_status
14023
14024 # as_fn_exit STATUS
14025 # -----------------
14026 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14027 as_fn_exit ()
14028 {
14029 set +e
14030 as_fn_set_status $1
14031 exit $1
14032 } # as_fn_exit
14033
14034 # as_fn_unset VAR
14035 # ---------------
14036 # Portably unset VAR.
14037 as_fn_unset ()
14038 {
14039 { eval $1=; unset $1;}
14040 }
14041 as_unset=as_fn_unset
14042 # as_fn_append VAR VALUE
14043 # ----------------------
14044 # Append the text in VALUE to the end of the definition contained in VAR. Take
14045 # advantage of any shell optimizations that allow amortized linear growth over
14046 # repeated appends, instead of the typical quadratic growth present in naive
14047 # implementations.
14048 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14049 eval 'as_fn_append ()
14050 {
14051 eval $1+=\$2
14052 }'
14053 else
14054 as_fn_append ()
14055 {
14056 eval $1=\$$1\$2
14057 }
14058 fi # as_fn_append
14059
14060 # as_fn_arith ARG...
14061 # ------------------
14062 # Perform arithmetic evaluation on the ARGs, and store the result in the
14063 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14064 # must be portable across $(()) and expr.
14065 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14066 eval 'as_fn_arith ()
14067 {
14068 as_val=$(( $* ))
14069 }'
14070 else
14071 as_fn_arith ()
14072 {
14073 as_val=`expr "$@" || test $? -eq 1`
14074 }
14075 fi # as_fn_arith
14076
14077
14078 if expr a : '\(a\)' >/dev/null 2>&1 &&
14079 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14080 as_expr=expr
14081 else
14082 as_expr=false
14083 fi
14084
14085 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14086 as_basename=basename
14087 else
14088 as_basename=false
14089 fi
14090
14091 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14092 as_dirname=dirname
14093 else
14094 as_dirname=false
14095 fi
14096
14097 as_me=`$as_basename -- "$0" ||
14098 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14099 X"$0" : 'X\(//\)$' \| \
14100 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14101 $as_echo X/"$0" |
14102 sed '/^.*\/\([^/][^/]*\)\/*$/{
14103 s//\1/
14104 q
14105 }
14106 /^X\/\(\/\/\)$/{
14107 s//\1/
14108 q
14109 }
14110 /^X\/\(\/\).*/{
14111 s//\1/
14112 q
14113 }
14114 s/.*/./; q'`
14115
14116 # Avoid depending upon Character Ranges.
14117 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14118 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14119 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14120 as_cr_digits='0123456789'
14121 as_cr_alnum=$as_cr_Letters$as_cr_digits
14122
14123 ECHO_C= ECHO_N= ECHO_T=
14124 case `echo -n x` in #(((((
14125 -n*)
14126 case `echo 'xy\c'` in
14127 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14128 xy) ECHO_C='\c';;
14129 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14130 ECHO_T=' ';;
14131 esac;;
14132 *)
14133 ECHO_N='-n';;
14134 esac
14135
14136 rm -f conf$$ conf$$.exe conf$$.file
14137 if test -d conf$$.dir; then
14138 rm -f conf$$.dir/conf$$.file
14139 else
14140 rm -f conf$$.dir
14141 mkdir conf$$.dir 2>/dev/null
14142 fi
14143 if (echo >conf$$.file) 2>/dev/null; then
14144 if ln -s conf$$.file conf$$ 2>/dev/null; then
14145 as_ln_s='ln -s'
14146 # ... but there are two gotchas:
14147 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14148 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14149 # In both cases, we have to default to `cp -pR'.
14150 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14151 as_ln_s='cp -pR'
14152 elif ln conf$$.file conf$$ 2>/dev/null; then
14153 as_ln_s=ln
14154 else
14155 as_ln_s='cp -pR'
14156 fi
14157 else
14158 as_ln_s='cp -pR'
14159 fi
14160 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14161 rmdir conf$$.dir 2>/dev/null
14162
14163
14164 # as_fn_mkdir_p
14165 # -------------
14166 # Create "$as_dir" as a directory, including parents if necessary.
14167 as_fn_mkdir_p ()
14168 {
14169
14170 case $as_dir in #(
14171 -*) as_dir=./$as_dir;;
14172 esac
14173 test -d "$as_dir" || eval $as_mkdir_p || {
14174 as_dirs=
14175 while :; do
14176 case $as_dir in #(
14177 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14178 *) as_qdir=$as_dir;;
14179 esac
14180 as_dirs="'$as_qdir' $as_dirs"
14181 as_dir=`$as_dirname -- "$as_dir" ||
14182 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14183 X"$as_dir" : 'X\(//\)[^/]' \| \
14184 X"$as_dir" : 'X\(//\)$' \| \
14185 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14186 $as_echo X"$as_dir" |
14187 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14188 s//\1/
14189 q
14190 }
14191 /^X\(\/\/\)[^/].*/{
14192 s//\1/
14193 q
14194 }
14195 /^X\(\/\/\)$/{
14196 s//\1/
14197 q
14198 }
14199 /^X\(\/\).*/{
14200 s//\1/
14201 q
14202 }
14203 s/.*/./; q'`
14204 test -d "$as_dir" && break
14205 done
14206 test -z "$as_dirs" || eval "mkdir $as_dirs"
14207 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14208
14209
14210 } # as_fn_mkdir_p
14211 if mkdir -p . 2>/dev/null; then
14212 as_mkdir_p='mkdir -p "$as_dir"'
14213 else
14214 test -d ./-p && rmdir ./-p
14215 as_mkdir_p=false
14216 fi
14217
14218
14219 # as_fn_executable_p FILE
14220 # -----------------------
14221 # Test if FILE is an executable regular file.
14222 as_fn_executable_p ()
14223 {
14224 test -f "$1" && test -x "$1"
14225 } # as_fn_executable_p
14226 as_test_x='test -x'
14227 as_executable_p=as_fn_executable_p
14228
14229 # Sed expression to map a string onto a valid CPP name.
14230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14231
14232 # Sed expression to map a string onto a valid variable name.
14233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14234
14235
14236 exec 6>&1
14237 ## ----------------------------------- ##
14238 ## Main body of $CONFIG_STATUS script. ##
14239 ## ----------------------------------- ##
14240 _ASEOF
14241 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14242
14243 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14244 # Save the log message, to keep $0 and so on meaningful, and to
14245 # report actual input values of CONFIG_FILES etc. instead of their
14246 # values after options handling.
14247 ac_log="
14248 This file was extended by myproxy $as_me 6.2.20, which was
14249 generated by GNU Autoconf 2.69. Invocation command line was
14250
14251 CONFIG_FILES = $CONFIG_FILES
14252 CONFIG_HEADERS = $CONFIG_HEADERS
14253 CONFIG_LINKS = $CONFIG_LINKS
14254 CONFIG_COMMANDS = $CONFIG_COMMANDS
14255 $ $0 $@
14256
14257 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14258 "
14259
14260 _ACEOF
14261
14262 case $ac_config_files in *"
14263 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14264 esac
14265
14266
14267
14268 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14269 # Files that config.status was made for.
14270 config_files="$ac_config_files"
14271 config_commands="$ac_config_commands"
14272
14273 _ACEOF
14274
14275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14276 ac_cs_usage="\
14277 \`$as_me' instantiates files and other configuration actions
14278 from templates according to the current configuration. Unless the files
14279 and actions are specified as TAGs, all are instantiated by default.
14280
14281 Usage: $0 [OPTION]... [TAG]...
14282
14283 -h, --help print this help, then exit
14284 -V, --version print version number and configuration settings, then exit
14285 --config print configuration, then exit
14286 -q, --quiet, --silent
14287 do not print progress messages
14288 -d, --debug don't remove temporary files
14289 --recheck update $as_me by reconfiguring in the same conditions
14290 --file=FILE[:TEMPLATE]
14291 instantiate the configuration file FILE
14292
14293 Configuration files:
14294 $config_files
14295
14296 Configuration commands:
14297 $config_commands
14298
14299 Report bugs to the package provider."
14300
14301 _ACEOF
14302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14303 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14304 ac_cs_version="\\
14305 myproxy config.status 6.2.20
14306 configured by $0, generated by GNU Autoconf 2.69,
14307 with options \\"\$ac_cs_config\\"
14308
14309 Copyright (C) 2012 Free Software Foundation, Inc.
14310 This config.status script is free software; the Free Software Foundation
14311 gives unlimited permission to copy, distribute and modify it."
14312
14313 ac_pwd='$ac_pwd'
14314 srcdir='$srcdir'
14315 INSTALL='$INSTALL'
14316 MKDIR_P='$MKDIR_P'
14317 AWK='$AWK'
14318 test -n "\$AWK" || AWK=awk
14319 _ACEOF
14320
14321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14322 # The default lists apply if the user does not specify any file.
14323 ac_need_defaults=:
14324 while test $# != 0
14325 do
14326 case $1 in
14327 --*=?*)
14328 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14329 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14330 ac_shift=:
14331 ;;
14332 --*=)
14333 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14334 ac_optarg=
14335 ac_shift=:
14336 ;;
14337 *)
14338 ac_option=$1
14339 ac_optarg=$2
14340 ac_shift=shift
14341 ;;
14342 esac
14343
14344 case $ac_option in
14345 # Handling of the options.
14346 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14347 ac_cs_recheck=: ;;
14348 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14349 $as_echo "$ac_cs_version"; exit ;;
14350 --config | --confi | --conf | --con | --co | --c )
14351 $as_echo "$ac_cs_config"; exit ;;
14352 --debug | --debu | --deb | --de | --d | -d )
14353 debug=: ;;
14354 --file | --fil | --fi | --f )
14355 $ac_shift
14356 case $ac_optarg in
14357 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14358 '') as_fn_error $? "missing file argument" ;;
14359 esac
14360 as_fn_append CONFIG_FILES " '$ac_optarg'"
14361 ac_need_defaults=false;;
14362 --he | --h | --help | --hel | -h )
14363 $as_echo "$ac_cs_usage"; exit ;;
14364 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14365 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14366 ac_cs_silent=: ;;
14367
14368 # This is an error.
14369 -*) as_fn_error $? "unrecognized option: \`$1'
14370 Try \`$0 --help' for more information." ;;
14371
14372 *) as_fn_append ac_config_targets " $1"
14373 ac_need_defaults=false ;;
14374
14375 esac
14376 shift
14377 done
14378
14379 ac_configure_extra_args=
14380
14381 if $ac_cs_silent; then
14382 exec 6>/dev/null
14383 ac_configure_extra_args="$ac_configure_extra_args --silent"
14384 fi
14385
14386 _ACEOF
14387 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14388 if \$ac_cs_recheck; then
14389 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14390 shift
14391 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14392 CONFIG_SHELL='$SHELL'
14393 export CONFIG_SHELL
14394 exec "\$@"
14395 fi
14396
14397 _ACEOF
14398 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14399 exec 5>>config.log
14400 {
14401 echo
14402 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14403 ## Running $as_me. ##
14404 _ASBOX
14405 $as_echo "$ac_log"
14406 } >&5
14407
14408 _ACEOF
14409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14410 #
14411 # INIT-COMMANDS
14412 #
14413 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
14414
14415
14416 # The HP-UX ksh and POSIX shell print the target directory to stdout
14417 # if CDPATH is set.
14418 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14419
14420 sed_quote_subst='$sed_quote_subst'
14421 double_quote_subst='$double_quote_subst'
14422 delay_variable_subst='$delay_variable_subst'
14423 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14424 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14425 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
14426 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14427 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14428 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14429 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14430 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14431 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14432 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
14433 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14434 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14435 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14436 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14437 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14438 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14439 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14440 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14441 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14442 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14443 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14444 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14445 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14446 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14447 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14448 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14449 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14450 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14451 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14452 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14453 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14454 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14455 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14456 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14457 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14458 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14459 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14460 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14461 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14462 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14463 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14464 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14465 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14466 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14467 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14468 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14469 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14470 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14471 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14472 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14473 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14474 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14475 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14476 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14477 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14478 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14479 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14480 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
14481 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14482 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"`'
14483 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
14484 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14485 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14486 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
14487 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14488 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14489 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14490 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14491 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14492 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14493 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14494 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14495 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14496 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14497 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14498 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14499 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14500 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14501 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14502 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14503 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14504 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14505 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14506 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14507 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14508 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14509 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14510 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14511 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14512 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14513 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14514 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14515 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14516 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14517 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14518 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14519 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14520 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14521 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14522 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14523 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14524 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14525 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14526 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14527 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14528 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14529 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14530 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14531 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14532 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14533 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14534 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14535 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14536 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14537 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14538 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14539 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14540 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14541 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14542 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14543 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14544 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14545 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14546 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14547 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14548 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14549 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14550 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14551 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
14552 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
14553 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14554 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14555 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14556 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14557 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14558 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14559
14560 LTCC='$LTCC'
14561 LTCFLAGS='$LTCFLAGS'
14562 compiler='$compiler_DEFAULT'
14563
14564 # A function that is used when there is no print builtin or printf.
14565 func_fallback_echo ()
14566 {
14567 eval 'cat <<_LTECHO_EOF
14568 \$1
14569 _LTECHO_EOF'
14570 }
14571
14572 # Quote evaled strings.
14573 for var in AS \
14574 DLLTOOL \
14575 OBJDUMP \
14576 SHELL \
14577 ECHO \
14578 PATH_SEPARATOR \
14579 SED \
14580 GREP \
14581 EGREP \
14582 FGREP \
14583 LD \
14584 NM \
14585 LN_S \
14586 lt_SP2NL \
14587 lt_NL2SP \
14588 reload_flag \
14589 deplibs_check_method \
14590 file_magic_cmd \
14591 file_magic_glob \
14592 want_nocaseglob \
14593 sharedlib_from_linklib_cmd \
14594 AR \
14595 AR_FLAGS \
14596 archiver_list_spec \
14597 STRIP \
14598 RANLIB \
14599 CC \
14600 CFLAGS \
14601 compiler \
14602 lt_cv_sys_global_symbol_pipe \
14603 lt_cv_sys_global_symbol_to_cdecl \
14604 lt_cv_sys_global_symbol_to_import \
14605 lt_cv_sys_global_symbol_to_c_name_address \
14606 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14607 lt_cv_nm_interface \
14608 nm_file_list_spec \
14609 lt_cv_truncate_bin \
14610 lt_prog_compiler_no_builtin_flag \
14611 lt_prog_compiler_pic \
14612 lt_prog_compiler_wl \
14613 lt_prog_compiler_static \
14614 lt_cv_prog_compiler_c_o \
14615 need_locks \
14616 MANIFEST_TOOL \
14617 DSYMUTIL \
14618 NMEDIT \
14619 LIPO \
14620 OTOOL \
14621 OTOOL64 \
14622 shrext_cmds \
14623 export_dynamic_flag_spec \
14624 whole_archive_flag_spec \
14625 compiler_needs_object \
14626 with_gnu_ld \
14627 allow_undefined_flag \
14628 no_undefined_flag \
14629 hardcode_libdir_flag_spec \
14630 hardcode_libdir_separator \
14631 exclude_expsyms \
14632 include_expsyms \
14633 file_list_spec \
14634 variables_saved_for_relink \
14635 libname_spec \
14636 library_names_spec \
14637 soname_spec \
14638 install_override_mode \
14639 finish_eval \
14640 old_striplib \
14641 striplib; do
14642 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14643 *[\\\\\\\`\\"\\\$]*)
14644 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14645 ;;
14646 *)
14647 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14648 ;;
14649 esac
14650 done
14651
14652 # Double-quote double-evaled strings.
14653 for var in reload_cmds \
14654 old_postinstall_cmds \
14655 old_postuninstall_cmds \
14656 old_archive_cmds \
14657 extract_expsyms_cmds \
14658 old_archive_from_new_cmds \
14659 old_archive_from_expsyms_cmds \
14660 archive_cmds \
14661 archive_expsym_cmds \
14662 module_cmds \
14663 module_expsym_cmds \
14664 export_symbols_cmds \
14665 prelink_cmds \
14666 postlink_cmds \
14667 postinstall_cmds \
14668 postuninstall_cmds \
14669 finish_cmds \
14670 sys_lib_search_path_spec \
14671 configure_time_dlsearch_path \
14672 configure_time_lt_sys_library_path; do
14673 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14674 *[\\\\\\\`\\"\\\$]*)
14675 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14676 ;;
14677 *)
14678 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14679 ;;
14680 esac
14681 done
14682
14683 ac_aux_dir='$ac_aux_dir'
14684
14685 # See if we are running on zsh, and set the options that allow our
14686 # commands through without removal of \ escapes INIT.
14687 if test -n "\${ZSH_VERSION+set}"; then
14688 setopt NO_GLOB_SUBST
14689 fi
14690
14691
14692 PACKAGE='$PACKAGE'
14693 VERSION='$VERSION'
14694 RM='$RM'
14695 ofile='$ofile'
14696
14697
14698
14699
14700 _ACEOF
14701
14702 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14703
14704 # Handling of arguments.
14705 for ac_config_target in $ac_config_targets
14706 do
14707 case $ac_config_target in
14708 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14709 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14710 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14711 "web/Makefile") CONFIG_FILES="$CONFIG_FILES web/Makefile" ;;
14712 "systemd/Makefile") CONFIG_FILES="$CONFIG_FILES systemd/Makefile" ;;
14713 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
14714 "myproxy.h") CONFIG_FILES="$CONFIG_FILES myproxy.h" ;;
14715 "myproxy.pc") CONFIG_FILES="$CONFIG_FILES myproxy.pc" ;;
14716
14717 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14718 esac
14719 done
14720
14721
14722 # If the user did not use the arguments to specify the items to instantiate,
14723 # then the envvar interface is used. Set only those that are not.
14724 # We use the long form for the default assignment because of an extremely
14725 # bizarre bug on SunOS 4.1.3.
14726 if $ac_need_defaults; then
14727 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14728 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14729 fi
14730
14731 # Have a temporary directory for convenience. Make it in the build tree
14732 # simply because there is no reason against having it here, and in addition,
14733 # creating and moving files from /tmp can sometimes cause problems.
14734 # Hook for its removal unless debugging.
14735 # Note that there is a small window in which the directory will not be cleaned:
14736 # after its creation but before its name has been assigned to `$tmp'.
14737 $debug ||
14738 {
14739 tmp= ac_tmp=
14740 trap 'exit_status=$?
14741 : "${ac_tmp:=$tmp}"
14742 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14743 ' 0
14744 trap 'as_fn_exit 1' 1 2 13 15
14745 }
14746 # Create a (secure) tmp directory for tmp files.
14747
14748 {
14749 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14750 test -d "$tmp"
14751 } ||
14752 {
14753 tmp=./conf$$-$RANDOM
14754 (umask 077 && mkdir "$tmp")
14755 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14756 ac_tmp=$tmp
14757
14758 # Set up the scripts for CONFIG_FILES section.
14759 # No need to generate them if there are no CONFIG_FILES.
14760 # This happens for instance with `./config.status config.h'.
14761 if test -n "$CONFIG_FILES"; then
14762
14763
14764 ac_cr=`echo X | tr X '\015'`
14765 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14766 # But we know of no other shell where ac_cr would be empty at this
14767 # point, so we can use a bashism as a fallback.
14768 if test "x$ac_cr" = x; then
14769 eval ac_cr=\$\'\\r\'
14770 fi
14771 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14772 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14773 ac_cs_awk_cr='\\r'
14774 else
14775 ac_cs_awk_cr=$ac_cr
14776 fi
14777
14778 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14779 _ACEOF
14780
14781
14782 {
14783 echo "cat >conf$$subs.awk <<_ACEOF" &&
14784 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14785 echo "_ACEOF"
14786 } >conf$$subs.sh ||
14787 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14788 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14789 ac_delim='%!_!# '
14790 for ac_last_try in false false false false false :; do
14791 . ./conf$$subs.sh ||
14792 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14793
14794 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14795 if test $ac_delim_n = $ac_delim_num; then
14796 break
14797 elif $ac_last_try; then
14798 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14799 else
14800 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14801 fi
14802 done
14803 rm -f conf$$subs.sh
14804
14805 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14806 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14807 _ACEOF
14808 sed -n '
14809 h
14810 s/^/S["/; s/!.*/"]=/
14811 p
14812 g
14813 s/^[^!]*!//
14814 :repl
14815 t repl
14816 s/'"$ac_delim"'$//
14817 t delim
14818 :nl
14819 h
14820 s/\(.\{148\}\)..*/\1/
14821 t more1
14822 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14823 p
14824 n
14825 b repl
14826 :more1
14827 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14828 p
14829 g
14830 s/.\{148\}//
14831 t nl
14832 :delim
14833 h
14834 s/\(.\{148\}\)..*/\1/
14835 t more2
14836 s/["\\]/\\&/g; s/^/"/; s/$/"/
14837 p
14838 b
14839 :more2
14840 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14841 p
14842 g
14843 s/.\{148\}//
14844 t delim
14845 ' <conf$$subs.awk | sed '
14846 /^[^""]/{
14847 N
14848 s/\n//
14849 }
14850 ' >>$CONFIG_STATUS || ac_write_fail=1
14851 rm -f conf$$subs.awk
14852 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14853 _ACAWK
14854 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14855 for (key in S) S_is_set[key] = 1
14856 FS = ""
14857
14858 }
14859 {
14860 line = $ 0
14861 nfields = split(line, field, "@")
14862 substed = 0
14863 len = length(field[1])
14864 for (i = 2; i < nfields; i++) {
14865 key = field[i]
14866 keylen = length(key)
14867 if (S_is_set[key]) {
14868 value = S[key]
14869 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14870 len += length(value) + length(field[++i])
14871 substed = 1
14872 } else
14873 len += 1 + keylen
14874 }
14875
14876 print line
14877 }
14878
14879 _ACAWK
14880 _ACEOF
14881 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14882 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14883 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14884 else
14885 cat
14886 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14887 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14888 _ACEOF
14889
14890 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14891 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14892 # trailing colons and then remove the whole line if VPATH becomes empty
14893 # (actually we leave an empty line to preserve line numbers).
14894 if test "x$srcdir" = x.; then
14895 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14896 h
14897 s///
14898 s/^/:/
14899 s/[ ]*$/:/
14900 s/:\$(srcdir):/:/g
14901 s/:\${srcdir}:/:/g
14902 s/:@srcdir@:/:/g
14903 s/^:*//
14904 s/:*$//
14905 x
14906 s/\(=[ ]*\).*/\1/
14907 G
14908 s/\n//
14909 s/^[^=]*=[ ]*$//
14910 }'
14911 fi
14912
14913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14914 fi # test -n "$CONFIG_FILES"
14915
14916
14917 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
14918 shift
14919 for ac_tag
14920 do
14921 case $ac_tag in
14922 :[FHLC]) ac_mode=$ac_tag; continue;;
14923 esac
14924 case $ac_mode$ac_tag in
14925 :[FHL]*:*);;
14926 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14927 :[FH]-) ac_tag=-:-;;
14928 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14929 esac
14930 ac_save_IFS=$IFS
14931 IFS=:
14932 set x $ac_tag
14933 IFS=$ac_save_IFS
14934 shift
14935 ac_file=$1
14936 shift
14937
14938 case $ac_mode in
14939 :L) ac_source=$1;;
14940 :[FH])
14941 ac_file_inputs=
14942 for ac_f
14943 do
14944 case $ac_f in
14945 -) ac_f="$ac_tmp/stdin";;
14946 *) # Look for the file first in the build tree, then in the source tree
14947 # (if the path is not absolute). The absolute path cannot be DOS-style,
14948 # because $ac_f cannot contain `:'.
14949 test -f "$ac_f" ||
14950 case $ac_f in
14951 [\\/$]*) false;;
14952 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14953 esac ||
14954 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14955 esac
14956 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14957 as_fn_append ac_file_inputs " '$ac_f'"
14958 done
14959
14960 # Let's still pretend it is `configure' which instantiates (i.e., don't
14961 # use $as_me), people would be surprised to read:
14962 # /* config.h. Generated by config.status. */
14963 configure_input='Generated from '`
14964 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14965 `' by configure.'
14966 if test x"$ac_file" != x-; then
14967 configure_input="$ac_file. $configure_input"
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14969 $as_echo "$as_me: creating $ac_file" >&6;}
14970 fi
14971 # Neutralize special characters interpreted by sed in replacement strings.
14972 case $configure_input in #(
14973 *\&* | *\|* | *\\* )
14974 ac_sed_conf_input=`$as_echo "$configure_input" |
14975 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14976 *) ac_sed_conf_input=$configure_input;;
14977 esac
14978
14979 case $ac_tag in
14980 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14981 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14982 esac
14983 ;;
14984 esac
14985
14986 ac_dir=`$as_dirname -- "$ac_file" ||
14987 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14988 X"$ac_file" : 'X\(//\)[^/]' \| \
14989 X"$ac_file" : 'X\(//\)$' \| \
14990 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14991 $as_echo X"$ac_file" |
14992 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14993 s//\1/
14994 q
14995 }
14996 /^X\(\/\/\)[^/].*/{
14997 s//\1/
14998 q
14999 }
15000 /^X\(\/\/\)$/{
15001 s//\1/
15002 q
15003 }
15004 /^X\(\/\).*/{
15005 s//\1/
15006 q
15007 }
15008 s/.*/./; q'`
15009 as_dir="$ac_dir"; as_fn_mkdir_p
15010 ac_builddir=.
15011
15012 case "$ac_dir" in
15013 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15014 *)
15015 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15016 # A ".." for each directory in $ac_dir_suffix.
15017 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15018 case $ac_top_builddir_sub in
15019 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15020 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15021 esac ;;
15022 esac
15023 ac_abs_top_builddir=$ac_pwd
15024 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15025 # for backward compatibility:
15026 ac_top_builddir=$ac_top_build_prefix
15027
15028 case $srcdir in
15029 .) # We are building in place.
15030 ac_srcdir=.
15031 ac_top_srcdir=$ac_top_builddir_sub
15032 ac_abs_top_srcdir=$ac_pwd ;;
15033 [\\/]* | ?:[\\/]* ) # Absolute name.
15034 ac_srcdir=$srcdir$ac_dir_suffix;
15035 ac_top_srcdir=$srcdir
15036 ac_abs_top_srcdir=$srcdir ;;
15037 *) # Relative name.
15038 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15039 ac_top_srcdir=$ac_top_build_prefix$srcdir
15040 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15041 esac
15042 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15043
15044
15045 case $ac_mode in
15046 :F)
15047 #
15048 # CONFIG_FILE
15049 #
15050
15051 case $INSTALL in
15052 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15053 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15054 esac
15055 ac_MKDIR_P=$MKDIR_P
15056 case $MKDIR_P in
15057 [\\/$]* | ?:[\\/]* ) ;;
15058 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15059 esac
15060 _ACEOF
15061
15062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15063 # If the template does not know about datarootdir, expand it.
15064 # FIXME: This hack should be removed a few years after 2.60.
15065 ac_datarootdir_hack=; ac_datarootdir_seen=
15066 ac_sed_dataroot='
15067 /datarootdir/ {
15068 p
15069 q
15070 }
15071 /@datadir@/p
15072 /@docdir@/p
15073 /@infodir@/p
15074 /@localedir@/p
15075 /@mandir@/p'
15076 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15077 *datarootdir*) ac_datarootdir_seen=yes;;
15078 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15080 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15081 _ACEOF
15082 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15083 ac_datarootdir_hack='
15084 s&@datadir@&$datadir&g
15085 s&@docdir@&$docdir&g
15086 s&@infodir@&$infodir&g
15087 s&@localedir@&$localedir&g
15088 s&@mandir@&$mandir&g
15089 s&\\\${datarootdir}&$datarootdir&g' ;;
15090 esac
15091 _ACEOF
15092
15093 # Neutralize VPATH when `$srcdir' = `.'.
15094 # Shell code in configure.ac might set extrasub.
15095 # FIXME: do we really want to maintain this feature?
15096 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15097 ac_sed_extra="$ac_vpsub
15098 $extrasub
15099 _ACEOF
15100 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15101 :t
15102 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15103 s|@configure_input@|$ac_sed_conf_input|;t t
15104 s&@top_builddir@&$ac_top_builddir_sub&;t t
15105 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15106 s&@srcdir@&$ac_srcdir&;t t
15107 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15108 s&@top_srcdir@&$ac_top_srcdir&;t t
15109 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15110 s&@builddir@&$ac_builddir&;t t
15111 s&@abs_builddir@&$ac_abs_builddir&;t t
15112 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15113 s&@INSTALL@&$ac_INSTALL&;t t
15114 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15115 $ac_datarootdir_hack
15116 "
15117 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15118 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15119
15120 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15121 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15122 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15123 "$ac_tmp/out"`; test -z "$ac_out"; } &&
15124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15125 which seems to be undefined. Please make sure it is defined" >&5
15126 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15127 which seems to be undefined. Please make sure it is defined" >&2;}
15128
15129 rm -f "$ac_tmp/stdin"
15130 case $ac_file in
15131 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15132 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15133 esac \
15134 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15135 ;;
15136
15137
15138 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15139 $as_echo "$as_me: executing $ac_file commands" >&6;}
15140 ;;
15141 esac
15142
15143
15144 case $ac_file$ac_mode in
15145 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15146 # Older Autoconf quotes --file arguments for eval, but not when files
15147 # are listed without --file. Let's play safe and only enable the eval
15148 # if we detect the quoting.
15149 # TODO: see whether this extra hack can be removed once we start
15150 # requiring Autoconf 2.70 or later.
15151 case $CONFIG_FILES in #(
15152 *\'*) :
15153 eval set x "$CONFIG_FILES" ;; #(
15154 *) :
15155 set x $CONFIG_FILES ;; #(
15156 *) :
15157 ;;
15158 esac
15159 shift
15160 # Used to flag and report bootstrapping failures.
15161 am_rc=0
15162 for am_mf
15163 do
15164 # Strip MF so we end up with the name of the file.
15165 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
15166 # Check whether this is an Automake generated Makefile which includes
15167 # dependency-tracking related rules and includes.
15168 # Grep'ing the whole file directly is not great: AIX grep has a line
15169 # limit of 2048, but all sed's we know have understand at least 4000.
15170 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
15171 || continue
15172 am_dirpart=`$as_dirname -- "$am_mf" ||
15173 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15174 X"$am_mf" : 'X\(//\)[^/]' \| \
15175 X"$am_mf" : 'X\(//\)$' \| \
15176 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
15177 $as_echo X"$am_mf" |
15178 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15179 s//\1/
15180 q
15181 }
15182 /^X\(\/\/\)[^/].*/{
15183 s//\1/
15184 q
15185 }
15186 /^X\(\/\/\)$/{
15187 s//\1/
15188 q
15189 }
15190 /^X\(\/\).*/{
15191 s//\1/
15192 q
15193 }
15194 s/.*/./; q'`
15195 am_filepart=`$as_basename -- "$am_mf" ||
15196 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
15197 X"$am_mf" : 'X\(//\)$' \| \
15198 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
15199 $as_echo X/"$am_mf" |
15200 sed '/^.*\/\([^/][^/]*\)\/*$/{
15201 s//\1/
15202 q
15203 }
15204 /^X\/\(\/\/\)$/{
15205 s//\1/
15206 q
15207 }
15208 /^X\/\(\/\).*/{
15209 s//\1/
15210 q
15211 }
15212 s/.*/./; q'`
15213 { echo "$as_me:$LINENO: cd "$am_dirpart" \
15214 && sed -e '/# am--include-marker/d' "$am_filepart" \
15215 | $MAKE -f - am--depfiles" >&5
15216 (cd "$am_dirpart" \
15217 && sed -e '/# am--include-marker/d' "$am_filepart" \
15218 | $MAKE -f - am--depfiles) >&5 2>&5
15219 ac_status=$?
15220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15221 (exit $ac_status); } || am_rc=$?
15222 done
15223 if test $am_rc -ne 0; then
15224 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15226 as_fn_error $? "Something went wrong bootstrapping makefile fragments
15227 for automatic dependency tracking. Try re-running configure with the
15228 '--disable-dependency-tracking' option to at least be able to build
15229 the package (albeit without support for automatic dependency tracking).
15230 See \`config.log' for more details" "$LINENO" 5; }
15231 fi
15232 { am_dirpart=; unset am_dirpart;}
15233 { am_filepart=; unset am_filepart;}
15234 { am_mf=; unset am_mf;}
15235 { am_rc=; unset am_rc;}
15236 rm -f conftest-deps.mk
15237 }
15238 ;;
15239 "libtool":C)
15240
15241 # See if we are running on zsh, and set the options that allow our
15242 # commands through without removal of \ escapes.
15243 if test -n "${ZSH_VERSION+set}"; then
15244 setopt NO_GLOB_SUBST
15245 fi
15246
15247 cfgfile=${ofile}T
15248 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15249 $RM "$cfgfile"
15250
15251 cat <<_LT_EOF >> "$cfgfile"
15252 #! $SHELL
15253 # Generated automatically by $as_me ($PACKAGE) $VERSION
15254 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15255 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15256
15257 # Provide generalized library-building support services.
15258 # Written by Gordon Matzigkeit, 1996
15259
15260 # Copyright (C) 2014 Free Software Foundation, Inc.
15261 # This is free software; see the source for copying conditions. There is NO
15262 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15263
15264 # GNU Libtool is free software; you can redistribute it and/or modify
15265 # it under the terms of the GNU General Public License as published by
15266 # the Free Software Foundation; either version 2 of of the License, or
15267 # (at your option) any later version.
15268 #
15269 # As a special exception to the GNU General Public License, if you
15270 # distribute this file as part of a program or library that is built
15271 # using GNU Libtool, you may include this file under the same
15272 # distribution terms that you use for the rest of that program.
15273 #
15274 # GNU Libtool is distributed in the hope that it will be useful, but
15275 # WITHOUT ANY WARRANTY; without even the implied warranty of
15276 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15277 # GNU General Public License for more details.
15278 #
15279 # You should have received a copy of the GNU General Public License
15280 # along with this program. If not, see <http://www.gnu.org/licenses/>.
15281
15282
15283 # The names of the tagged configurations supported by this script.
15284 available_tags=''
15285
15286 # Configured defaults for sys_lib_dlsearch_path munging.
15287 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
15288
15289 # ### BEGIN LIBTOOL CONFIG
15290
15291 # Which release of libtool.m4 was used?
15292 macro_version=$macro_version
15293 macro_revision=$macro_revision
15294
15295 # Assembler program.
15296 AS=$lt_AS
15297
15298 # DLL creation program.
15299 DLLTOOL=$lt_DLLTOOL
15300
15301 # Object dumper program.
15302 OBJDUMP=$lt_OBJDUMP
15303
15304 # Whether or not to build shared libraries.
15305 build_libtool_libs=$enable_shared
15306
15307 # Whether or not to build static libraries.
15308 build_old_libs=$enable_static
15309
15310 # What type of objects to build.
15311 pic_mode=$pic_mode
15312
15313 # Whether or not to optimize for fast installation.
15314 fast_install=$enable_fast_install
15315
15316 # Shared archive member basename,for filename based shared library versioning on AIX.
15317 shared_archive_member_spec=$shared_archive_member_spec
15318
15319 # Shell to use when invoking shell scripts.
15320 SHELL=$lt_SHELL
15321
15322 # An echo program that protects backslashes.
15323 ECHO=$lt_ECHO
15324
15325 # The PATH separator for the build system.
15326 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15327
15328 # The host system.
15329 host_alias=$host_alias
15330 host=$host
15331 host_os=$host_os
15332
15333 # The build system.
15334 build_alias=$build_alias
15335 build=$build
15336 build_os=$build_os
15337
15338 # A sed program that does not truncate output.
15339 SED=$lt_SED
15340
15341 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15342 Xsed="\$SED -e 1s/^X//"
15343
15344 # A grep program that handles long lines.
15345 GREP=$lt_GREP
15346
15347 # An ERE matcher.
15348 EGREP=$lt_EGREP
15349
15350 # A literal string matcher.
15351 FGREP=$lt_FGREP
15352
15353 # A BSD- or MS-compatible name lister.
15354 NM=$lt_NM
15355
15356 # Whether we need soft or hard links.
15357 LN_S=$lt_LN_S
15358
15359 # What is the maximum length of a command?
15360 max_cmd_len=$max_cmd_len
15361
15362 # Object file suffix (normally "o").
15363 objext=$ac_objext
15364
15365 # Executable file suffix (normally "").
15366 exeext=$exeext
15367
15368 # whether the shell understands "unset".
15369 lt_unset=$lt_unset
15370
15371 # turn spaces into newlines.
15372 SP2NL=$lt_lt_SP2NL
15373
15374 # turn newlines into spaces.
15375 NL2SP=$lt_lt_NL2SP
15376
15377 # convert \$build file names to \$host format.
15378 to_host_file_cmd=$lt_cv_to_host_file_cmd
15379
15380 # convert \$build files to toolchain format.
15381 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15382
15383 # Method to check whether dependent libraries are shared objects.
15384 deplibs_check_method=$lt_deplibs_check_method
15385
15386 # Command to use when deplibs_check_method = "file_magic".
15387 file_magic_cmd=$lt_file_magic_cmd
15388
15389 # How to find potential files when deplibs_check_method = "file_magic".
15390 file_magic_glob=$lt_file_magic_glob
15391
15392 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15393 want_nocaseglob=$lt_want_nocaseglob
15394
15395 # Command to associate shared and link libraries.
15396 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15397
15398 # The archiver.
15399 AR=$lt_AR
15400
15401 # Flags to create an archive.
15402 AR_FLAGS=$lt_AR_FLAGS
15403
15404 # How to feed a file listing to the archiver.
15405 archiver_list_spec=$lt_archiver_list_spec
15406
15407 # A symbol stripping program.
15408 STRIP=$lt_STRIP
15409
15410 # Commands used to install an old-style archive.
15411 RANLIB=$lt_RANLIB
15412 old_postinstall_cmds=$lt_old_postinstall_cmds
15413 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15414
15415 # Whether to use a lock for old archive extraction.
15416 lock_old_archive_extraction=$lock_old_archive_extraction
15417
15418 # A C compiler.
15419 LTCC=$lt_CC
15420
15421 # LTCC compiler flags.
15422 LTCFLAGS=$lt_CFLAGS
15423
15424 # Take the output of nm and produce a listing of raw symbols and C names.
15425 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15426
15427 # Transform the output of nm in a proper C declaration.
15428 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15429
15430 # Transform the output of nm into a list of symbols to manually relocate.
15431 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
15432
15433 # Transform the output of nm in a C name address pair.
15434 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15435
15436 # Transform the output of nm in a C name address pair when lib prefix is needed.
15437 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15438
15439 # The name lister interface.
15440 nm_interface=$lt_lt_cv_nm_interface
15441
15442 # Specify filename containing input files for \$NM.
15443 nm_file_list_spec=$lt_nm_file_list_spec
15444
15445 # The root where to search for dependent libraries,and where our libraries should be installed.
15446 lt_sysroot=$lt_sysroot
15447
15448 # Command to truncate a binary pipe.
15449 lt_truncate_bin=$lt_lt_cv_truncate_bin
15450
15451 # The name of the directory that contains temporary libtool files.
15452 objdir=$objdir
15453
15454 # Used to examine libraries when file_magic_cmd begins with "file".
15455 MAGIC_CMD=$MAGIC_CMD
15456
15457 # Must we lock files when doing compilation?
15458 need_locks=$lt_need_locks
15459
15460 # Manifest tool.
15461 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15462
15463 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15464 DSYMUTIL=$lt_DSYMUTIL
15465
15466 # Tool to change global to local symbols on Mac OS X.
15467 NMEDIT=$lt_NMEDIT
15468
15469 # Tool to manipulate fat objects and archives on Mac OS X.
15470 LIPO=$lt_LIPO
15471
15472 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15473 OTOOL=$lt_OTOOL
15474
15475 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15476 OTOOL64=$lt_OTOOL64
15477
15478 # Old archive suffix (normally "a").
15479 libext=$libext
15480
15481 # Shared library suffix (normally ".so").
15482 shrext_cmds=$lt_shrext_cmds
15483
15484 # The commands to extract the exported symbol list from a shared archive.
15485 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15486
15487 # Variables whose values should be saved in libtool wrapper scripts and
15488 # restored at link time.
15489 variables_saved_for_relink=$lt_variables_saved_for_relink
15490
15491 # Do we need the "lib" prefix for modules?
15492 need_lib_prefix=$need_lib_prefix
15493
15494 # Do we need a version for libraries?
15495 need_version=$need_version
15496
15497 # Library versioning type.
15498 version_type=$version_type
15499
15500 # Shared library runtime path variable.
15501 runpath_var=$runpath_var
15502
15503 # Shared library path variable.
15504 shlibpath_var=$shlibpath_var
15505
15506 # Is shlibpath searched before the hard-coded library search path?
15507 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15508
15509 # Format of library name prefix.
15510 libname_spec=$lt_libname_spec
15511
15512 # List of archive names. First name is the real one, the rest are links.
15513 # The last name is the one that the linker finds with -lNAME
15514 library_names_spec=$lt_library_names_spec
15515
15516 # The coded name of the library, if different from the real name.
15517 soname_spec=$lt_soname_spec
15518
15519 # Permission mode override for installation of shared libraries.
15520 install_override_mode=$lt_install_override_mode
15521
15522 # Command to use after installation of a shared archive.
15523 postinstall_cmds=$lt_postinstall_cmds
15524
15525 # Command to use after uninstallation of a shared archive.
15526 postuninstall_cmds=$lt_postuninstall_cmds
15527
15528 # Commands used to finish a libtool library installation in a directory.
15529 finish_cmds=$lt_finish_cmds
15530
15531 # As "finish_cmds", except a single script fragment to be evaled but
15532 # not shown.
15533 finish_eval=$lt_finish_eval
15534
15535 # Whether we should hardcode library paths into libraries.
15536 hardcode_into_libs=$hardcode_into_libs
15537
15538 # Compile-time system search path for libraries.
15539 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15540
15541 # Detected run-time system search path for libraries.
15542 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
15543
15544 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
15545 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
15546
15547 # Whether dlopen is supported.
15548 dlopen_support=$enable_dlopen
15549
15550 # Whether dlopen of programs is supported.
15551 dlopen_self=$enable_dlopen_self
15552
15553 # Whether dlopen of statically linked programs is supported.
15554 dlopen_self_static=$enable_dlopen_self_static
15555
15556 # Commands to strip libraries.
15557 old_striplib=$lt_old_striplib
15558 striplib=$lt_striplib
15559
15560
15561 # The linker used to build libraries.
15562 LD=$lt_LD
15563
15564 # How to create reloadable object files.
15565 reload_flag=$lt_reload_flag
15566 reload_cmds=$lt_reload_cmds
15567
15568 # Commands used to build an old-style archive.
15569 old_archive_cmds=$lt_old_archive_cmds
15570
15571 # A language specific compiler.
15572 CC=$lt_compiler
15573
15574 # Is the compiler the GNU compiler?
15575 with_gcc=$GCC
15576
15577 # Compiler flag to turn off builtin functions.
15578 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15579
15580 # Additional compiler flags for building library objects.
15581 pic_flag=$lt_lt_prog_compiler_pic
15582
15583 # How to pass a linker flag through the compiler.
15584 wl=$lt_lt_prog_compiler_wl
15585
15586 # Compiler flag to prevent dynamic linking.
15587 link_static_flag=$lt_lt_prog_compiler_static
15588
15589 # Does compiler simultaneously support -c and -o options?
15590 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15591
15592 # Whether or not to add -lc for building shared libraries.
15593 build_libtool_need_lc=$archive_cmds_need_lc
15594
15595 # Whether or not to disallow shared libs when runtime libs are static.
15596 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15597
15598 # Compiler flag to allow reflexive dlopens.
15599 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15600
15601 # Compiler flag to generate shared objects directly from archives.
15602 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15603
15604 # Whether the compiler copes with passing no objects directly.
15605 compiler_needs_object=$lt_compiler_needs_object
15606
15607 # Create an old-style archive from a shared archive.
15608 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15609
15610 # Create a temporary old-style archive to link instead of a shared archive.
15611 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15612
15613 # Commands used to build a shared archive.
15614 archive_cmds=$lt_archive_cmds
15615 archive_expsym_cmds=$lt_archive_expsym_cmds
15616
15617 # Commands used to build a loadable module if different from building
15618 # a shared archive.
15619 module_cmds=$lt_module_cmds
15620 module_expsym_cmds=$lt_module_expsym_cmds
15621
15622 # Whether we are building with GNU ld or not.
15623 with_gnu_ld=$lt_with_gnu_ld
15624
15625 # Flag that allows shared libraries with undefined symbols to be built.
15626 allow_undefined_flag=$lt_allow_undefined_flag
15627
15628 # Flag that enforces no undefined symbols.
15629 no_undefined_flag=$lt_no_undefined_flag
15630
15631 # Flag to hardcode \$libdir into a binary during linking.
15632 # This must work even if \$libdir does not exist
15633 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15634
15635 # Whether we need a single "-rpath" flag with a separated argument.
15636 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15637
15638 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15639 # DIR into the resulting binary.
15640 hardcode_direct=$hardcode_direct
15641
15642 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15643 # DIR into the resulting binary and the resulting library dependency is
15644 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
15645 # library is relocated.
15646 hardcode_direct_absolute=$hardcode_direct_absolute
15647
15648 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15649 # into the resulting binary.
15650 hardcode_minus_L=$hardcode_minus_L
15651
15652 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15653 # into the resulting binary.
15654 hardcode_shlibpath_var=$hardcode_shlibpath_var
15655
15656 # Set to "yes" if building a shared library automatically hardcodes DIR
15657 # into the library and all subsequent libraries and executables linked
15658 # against it.
15659 hardcode_automatic=$hardcode_automatic
15660
15661 # Set to yes if linker adds runtime paths of dependent libraries
15662 # to runtime path list.
15663 inherit_rpath=$inherit_rpath
15664
15665 # Whether libtool must link a program against all its dependency libraries.
15666 link_all_deplibs=$link_all_deplibs
15667
15668 # Set to "yes" if exported symbols are required.
15669 always_export_symbols=$always_export_symbols
15670
15671 # The commands to list exported symbols.
15672 export_symbols_cmds=$lt_export_symbols_cmds
15673
15674 # Symbols that should not be listed in the preloaded symbols.
15675 exclude_expsyms=$lt_exclude_expsyms
15676
15677 # Symbols that must always be exported.
15678 include_expsyms=$lt_include_expsyms
15679
15680 # Commands necessary for linking programs (against libraries) with templates.
15681 prelink_cmds=$lt_prelink_cmds
15682
15683 # Commands necessary for finishing linking programs.
15684 postlink_cmds=$lt_postlink_cmds
15685
15686 # Specify filename containing input files.
15687 file_list_spec=$lt_file_list_spec
15688
15689 # How to hardcode a shared library path into an executable.
15690 hardcode_action=$hardcode_action
15691
15692 # ### END LIBTOOL CONFIG
15693
15694 _LT_EOF
15695
15696 cat <<'_LT_EOF' >> "$cfgfile"
15697
15698 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
15699
15700 # func_munge_path_list VARIABLE PATH
15701 # -----------------------------------
15702 # VARIABLE is name of variable containing _space_ separated list of
15703 # directories to be munged by the contents of PATH, which is string
15704 # having a format:
15705 # "DIR[:DIR]:"
15706 # string "DIR[ DIR]" will be prepended to VARIABLE
15707 # ":DIR[:DIR]"
15708 # string "DIR[ DIR]" will be appended to VARIABLE
15709 # "DIRP[:DIRP]::[DIRA:]DIRA"
15710 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
15711 # "DIRA[ DIRA]" will be appended to VARIABLE
15712 # "DIR[:DIR]"
15713 # VARIABLE will be replaced by "DIR[ DIR]"
15714 func_munge_path_list ()
15715 {
15716 case x$2 in
15717 x)
15718 ;;
15719 *:)
15720 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
15721 ;;
15722 x:*)
15723 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
15724 ;;
15725 *::*)
15726 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
15727 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
15728 ;;
15729 *)
15730 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
15731 ;;
15732 esac
15733 }
15734
15735
15736 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
15737 func_cc_basename ()
15738 {
15739 for cc_temp in $*""; do
15740 case $cc_temp in
15741 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15742 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15743 \-*) ;;
15744 *) break;;
15745 esac
15746 done
15747 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
15748 }
15749
15750
15751 # ### END FUNCTIONS SHARED WITH CONFIGURE
15752
15753 _LT_EOF
15754
15755 case $host_os in
15756 aix3*)
15757 cat <<\_LT_EOF >> "$cfgfile"
15758 # AIX sometimes has problems with the GCC collect2 program. For some
15759 # reason, if we set the COLLECT_NAMES environment variable, the problems
15760 # vanish in a puff of smoke.
15761 if test set != "${COLLECT_NAMES+set}"; then
15762 COLLECT_NAMES=
15763 export COLLECT_NAMES
15764 fi
15765 _LT_EOF
15766 ;;
15767 esac
15768
15769
15770 ltmain=$ac_aux_dir/ltmain.sh
15771
15772
15773 # We use sed instead of cat because bash on DJGPP gets confused if
15774 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15775 # text mode, it properly converts lines to CR/LF. This bash problem
15776 # is reportedly fixed, but why not run on old versions too?
15777 sed '$q' "$ltmain" >> "$cfgfile" \
15778 || (rm -f "$cfgfile"; exit 1)
15779
15780 mv -f "$cfgfile" "$ofile" ||
15781 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15782 chmod +x "$ofile"
15783
15784 ;;
15785
15786 esac
15787 done # for ac_tag
15788
15789
15790 as_fn_exit 0
15791 _ACEOF
15792 ac_clean_files=$ac_clean_files_save
15793
15794 test $ac_write_fail = 0 ||
15795 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15796
15797
15798 # configure is writing to config.log, and then calls config.status.
15799 # config.status does its own redirection, appending to config.log.
15800 # Unfortunately, on DOS this fails, as config.log is still kept open
15801 # by configure, so config.status won't be able to write to it; its
15802 # output is simply discarded. So we exec the FD to /dev/null,
15803 # effectively closing config.log, so it can be properly (re)opened and
15804 # appended to by config.status. When coming back to configure, we
15805 # need to make the FD available again.
15806 if test "$no_create" != yes; then
15807 ac_cs_success=:
15808 ac_config_status_args=
15809 test "$silent" = yes &&
15810 ac_config_status_args="$ac_config_status_args --quiet"
15811 exec 5>/dev/null
15812 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15813 exec 5>>config.log
15814 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15815 # would make configure fail if this is the last instruction.
15816 $ac_cs_success || as_fn_exit 1
15817 fi
15818 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15820 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15821 fi
15822