ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid-8/configure
Revision: 1329
Committed: Sun Apr 1 12:02:12 2012 UTC (11 years, 11 months ago) by michael
File size: 491626 byte(s)
Log Message:
- Remove unused configure tests
- Fixed compile warning in conf_parser.c

File Contents

# Content
1 #! /bin/sh
2 # From configure.ac Id: configure.ac 1310 2012-03-26 15:45:02Z michael .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.68 for ircd-hybrid 8beta1.
5 #
6 # Report bugs to <bugs@ircd-hybrid.org>.
7 #
8 #
9 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # Foundation, Inc.
12 #
13 #
14 # This configure script is free software; the Free Software Foundation
15 # gives unlimited permission to copy, distribute and modify it.
16 ## -------------------- ##
17 ## M4sh Initialization. ##
18 ## -------------------- ##
19
20 # Be more Bourne compatible
21 DUALCASE=1; export DUALCASE # for MKS sh
22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
34 ;;
35 esac
36 fi
37
38
39 as_nl='
40 '
41 export as_nl
42 # Printing a long string crashes Solaris 7 /usr/bin/printf.
43 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46 # Prefer a ksh shell builtin over an external printf program on Solaris,
47 # but without wasting forks for bash or zsh.
48 if test -z "$BASH_VERSION$ZSH_VERSION" \
49 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='print -r --'
51 as_echo_n='print -rn --'
52 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 as_echo='printf %s\n'
54 as_echo_n='printf %s'
55 else
56 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
57 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
58 as_echo_n='/usr/ucb/echo -n'
59 else
60 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
61 as_echo_n_body='eval
62 arg=$1;
63 case $arg in #(
64 *"$as_nl"*)
65 expr "X$arg" : "X\\(.*\\)$as_nl";
66 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 esac;
68 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
69 '
70 export as_echo_n_body
71 as_echo_n='sh -c $as_echo_n_body as_echo'
72 fi
73 export as_echo_body
74 as_echo='sh -c $as_echo_body as_echo'
75 fi
76
77 # The user is always right.
78 if test "${PATH_SEPARATOR+set}" != set; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
83 }
84 fi
85
86
87 # IFS
88 # We need space, tab and new line, in precisely that order. Quoting is
89 # there to prevent editors from complaining about space-tab.
90 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
91 # splitting by setting IFS to empty value.)
92 IFS=" "" $as_nl"
93
94 # Find who we are. Look in the path if we contain no directory separator.
95 as_myself=
96 case $0 in #((
97 *[\\/]* ) as_myself=$0 ;;
98 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 for as_dir in $PATH
100 do
101 IFS=$as_save_IFS
102 test -z "$as_dir" && as_dir=.
103 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 done
105 IFS=$as_save_IFS
106
107 ;;
108 esac
109 # We did not find ourselves, most probably we were run as `sh COMMAND'
110 # in which case we are not to be found in the path.
111 if test "x$as_myself" = x; then
112 as_myself=$0
113 fi
114 if test ! -f "$as_myself"; then
115 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 exit 1
117 fi
118
119 # Unset variables that we do not need and which cause bugs (e.g. in
120 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
121 # suppresses any "Segmentation fault" message there. '((' could
122 # trigger a bug in pdksh 5.2.14.
123 for as_var in BASH_ENV ENV MAIL MAILPATH
124 do eval test x\${$as_var+set} = xset \
125 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
126 done
127 PS1='$ '
128 PS2='> '
129 PS4='+ '
130
131 # NLS nuisances.
132 LC_ALL=C
133 export LC_ALL
134 LANGUAGE=C
135 export LANGUAGE
136
137 # CDPATH.
138 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139
140 if test "x$CONFIG_SHELL" = x; then
141 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 emulate sh
143 NULLCMD=:
144 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
145 # is contrary to our usage. Disable this feature.
146 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 setopt NO_GLOB_SUBST
148 else
149 case \`(set -o) 2>/dev/null\` in #(
150 *posix*) :
151 set -o posix ;; #(
152 *) :
153 ;;
154 esac
155 fi
156 "
157 as_required="as_fn_return () { (exit \$1); }
158 as_fn_success () { as_fn_return 0; }
159 as_fn_failure () { as_fn_return 1; }
160 as_fn_ret_success () { return 0; }
161 as_fn_ret_failure () { return 1; }
162
163 exitcode=0
164 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
165 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
166 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
167 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
168 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169
170 else
171 exitcode=1; echo positional parameters were not saved.
172 fi
173 test x\$exitcode = x0 || exit 1"
174 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
175 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
176 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
177 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178
179 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183 PATH=/empty FPATH=/empty; export PATH FPATH
184 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev/null; then :
188 as_have_required=yes
189 else
190 as_have_required=no
191 fi
192 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
193
194 else
195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 as_found=false
197 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
198 do
199 IFS=$as_save_IFS
200 test -z "$as_dir" && as_dir=.
201 as_found=:
202 case $as_dir in #(
203 /*)
204 for as_base in sh bash ksh sh5; do
205 # Try only shells that exist, to save several forks.
206 as_shell=$as_dir/$as_base
207 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
209 CONFIG_SHELL=$as_shell as_have_required=yes
210 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
211 break 2
212 fi
213 fi
214 done;;
215 esac
216 as_found=false
217 done
218 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
219 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
220 CONFIG_SHELL=$SHELL as_have_required=yes
221 fi; }
222 IFS=$as_save_IFS
223
224
225 if test "x$CONFIG_SHELL" != x; then :
226 # We cannot yet assume a decent shell, so we have to provide a
227 # neutralization value for shells without unset; and this also
228 # works around shells that cannot unset nonexistent variables.
229 # Preserve -v and -x to the replacement shell.
230 BASH_ENV=/dev/null
231 ENV=/dev/null
232 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
233 export CONFIG_SHELL
234 case $- in # ((((
235 *v*x* | *x*v* ) as_opts=-vx ;;
236 *v* ) as_opts=-v ;;
237 *x* ) as_opts=-x ;;
238 * ) as_opts= ;;
239 esac
240 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
241 fi
242
243 if test x$as_have_required = xno; then :
244 $as_echo "$0: This script requires a shell more modern than all"
245 $as_echo "$0: the shells that I found on your system."
246 if test x${ZSH_VERSION+set} = xset ; then
247 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
248 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 else
250 $as_echo "$0: Please tell bug-autoconf@gnu.org and
251 $0: bugs@ircd-hybrid.org about your system, including any
252 $0: error possibly output before this message. Then install
253 $0: a modern shell, or manually run the script under such a
254 $0: shell if you do have one."
255 fi
256 exit 1
257 fi
258 fi
259 fi
260 SHELL=${CONFIG_SHELL-/bin/sh}
261 export SHELL
262 # Unset more variables known to interfere with behavior of common tools.
263 CLICOLOR_FORCE= GREP_OPTIONS=
264 unset CLICOLOR_FORCE GREP_OPTIONS
265
266 ## --------------------- ##
267 ## M4sh Shell Functions. ##
268 ## --------------------- ##
269 # as_fn_unset VAR
270 # ---------------
271 # Portably unset VAR.
272 as_fn_unset ()
273 {
274 { eval $1=; unset $1;}
275 }
276 as_unset=as_fn_unset
277
278 # as_fn_set_status STATUS
279 # -----------------------
280 # Set $? to STATUS, without forking.
281 as_fn_set_status ()
282 {
283 return $1
284 } # as_fn_set_status
285
286 # as_fn_exit STATUS
287 # -----------------
288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289 as_fn_exit ()
290 {
291 set +e
292 as_fn_set_status $1
293 exit $1
294 } # as_fn_exit
295
296 # as_fn_mkdir_p
297 # -------------
298 # Create "$as_dir" as a directory, including parents if necessary.
299 as_fn_mkdir_p ()
300 {
301
302 case $as_dir in #(
303 -*) as_dir=./$as_dir;;
304 esac
305 test -d "$as_dir" || eval $as_mkdir_p || {
306 as_dirs=
307 while :; do
308 case $as_dir in #(
309 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
310 *) as_qdir=$as_dir;;
311 esac
312 as_dirs="'$as_qdir' $as_dirs"
313 as_dir=`$as_dirname -- "$as_dir" ||
314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315 X"$as_dir" : 'X\(//\)[^/]' \| \
316 X"$as_dir" : 'X\(//\)$' \| \
317 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318 $as_echo X"$as_dir" |
319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320 s//\1/
321 q
322 }
323 /^X\(\/\/\)[^/].*/{
324 s//\1/
325 q
326 }
327 /^X\(\/\/\)$/{
328 s//\1/
329 q
330 }
331 /^X\(\/\).*/{
332 s//\1/
333 q
334 }
335 s/.*/./; q'`
336 test -d "$as_dir" && break
337 done
338 test -z "$as_dirs" || eval "mkdir $as_dirs"
339 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
340
341
342 } # as_fn_mkdir_p
343 # as_fn_append VAR VALUE
344 # ----------------------
345 # Append the text in VALUE to the end of the definition contained in VAR. Take
346 # advantage of any shell optimizations that allow amortized linear growth over
347 # repeated appends, instead of the typical quadratic growth present in naive
348 # implementations.
349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350 eval 'as_fn_append ()
351 {
352 eval $1+=\$2
353 }'
354 else
355 as_fn_append ()
356 {
357 eval $1=\$$1\$2
358 }
359 fi # as_fn_append
360
361 # as_fn_arith ARG...
362 # ------------------
363 # Perform arithmetic evaluation on the ARGs, and store the result in the
364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
365 # must be portable across $(()) and expr.
366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
367 eval 'as_fn_arith ()
368 {
369 as_val=$(( $* ))
370 }'
371 else
372 as_fn_arith ()
373 {
374 as_val=`expr "$@" || test $? -eq 1`
375 }
376 fi # as_fn_arith
377
378
379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
380 # ----------------------------------------
381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383 # script with STATUS, using 1 if that was 0.
384 as_fn_error ()
385 {
386 as_status=$1; test $as_status -eq 0 && as_status=1
387 if test "$4"; then
388 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390 fi
391 $as_echo "$as_me: error: $2" >&2
392 as_fn_exit $as_status
393 } # as_fn_error
394
395 if expr a : '\(a\)' >/dev/null 2>&1 &&
396 test "X`expr 00001 : '.*\(...\)'`" = X001; then
397 as_expr=expr
398 else
399 as_expr=false
400 fi
401
402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
403 as_basename=basename
404 else
405 as_basename=false
406 fi
407
408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
409 as_dirname=dirname
410 else
411 as_dirname=false
412 fi
413
414 as_me=`$as_basename -- "$0" ||
415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416 X"$0" : 'X\(//\)$' \| \
417 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 $as_echo X/"$0" |
419 sed '/^.*\/\([^/][^/]*\)\/*$/{
420 s//\1/
421 q
422 }
423 /^X\/\(\/\/\)$/{
424 s//\1/
425 q
426 }
427 /^X\/\(\/\).*/{
428 s//\1/
429 q
430 }
431 s/.*/./; q'`
432
433 # Avoid depending upon Character Ranges.
434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437 as_cr_digits='0123456789'
438 as_cr_alnum=$as_cr_Letters$as_cr_digits
439
440
441 as_lineno_1=$LINENO as_lineno_1a=$LINENO
442 as_lineno_2=$LINENO as_lineno_2a=$LINENO
443 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
446 sed -n '
447 p
448 /[$]LINENO/=
449 ' <$as_myself |
450 sed '
451 s/[$]LINENO.*/&-/
452 t lineno
453 b
454 :lineno
455 N
456 :loop
457 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
458 t loop
459 s/-\n.*//
460 ' >$as_me.lineno &&
461 chmod +x "$as_me.lineno" ||
462 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463
464 # Don't try to exec as it changes $[0], causing all sort of problems
465 # (the dirname of $[0] is not the place where we might find the
466 # original and so on. Autoconf is especially sensitive to this).
467 . "./$as_me.lineno"
468 # Exit status is that of the last command.
469 exit
470 }
471
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in #(((((
474 -n*)
475 case `echo 'xy\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 xy) ECHO_C='\c';;
478 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
479 ECHO_T=' ';;
480 esac;;
481 *)
482 ECHO_N='-n';;
483 esac
484
485 rm -f conf$$ conf$$.exe conf$$.file
486 if test -d conf$$.dir; then
487 rm -f conf$$.dir/conf$$.file
488 else
489 rm -f conf$$.dir
490 mkdir conf$$.dir 2>/dev/null
491 fi
492 if (echo >conf$$.file) 2>/dev/null; then
493 if ln -s conf$$.file conf$$ 2>/dev/null; then
494 as_ln_s='ln -s'
495 # ... but there are two gotchas:
496 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498 # In both cases, we have to default to `cp -p'.
499 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500 as_ln_s='cp -p'
501 elif ln conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s=ln
503 else
504 as_ln_s='cp -p'
505 fi
506 else
507 as_ln_s='cp -p'
508 fi
509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510 rmdir conf$$.dir 2>/dev/null
511
512 if mkdir -p . 2>/dev/null; then
513 as_mkdir_p='mkdir -p "$as_dir"'
514 else
515 test -d ./-p && rmdir ./-p
516 as_mkdir_p=false
517 fi
518
519 if test -x / >/dev/null 2>&1; then
520 as_test_x='test -x'
521 else
522 if ls -dL / >/dev/null 2>&1; then
523 as_ls_L_option=L
524 else
525 as_ls_L_option=
526 fi
527 as_test_x='
528 eval sh -c '\''
529 if test -d "$1"; then
530 test -d "$1/.";
531 else
532 case $1 in #(
533 -*)set "./$1";;
534 esac;
535 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536 ???[sx]*):;;*)false;;esac;fi
537 '\'' sh
538 '
539 fi
540 as_executable_p=$as_test_x
541
542 # Sed expression to map a string onto a valid CPP name.
543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544
545 # Sed expression to map a string onto a valid variable name.
546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547
548 lt_ltdl_dir='libltdl'
549
550 SHELL=${CONFIG_SHELL-/bin/sh}
551
552
553 test -n "$DJDIR" || exec 7<&0 </dev/null
554 exec 6>&1
555
556 # Name of the host.
557 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560
561 #
562 # Initializations.
563 #
564 ac_default_prefix=/usr/local
565 ac_clean_files=
566 ac_config_libobj_dir=.
567 LIBOBJS=
568 cross_compiling=no
569 subdirs=
570 MFLAGS=
571 MAKEFLAGS=
572
573 # Identity of this package.
574 PACKAGE_NAME='ircd-hybrid'
575 PACKAGE_TARNAME='ircd-hybrid'
576 PACKAGE_VERSION='8beta1'
577 PACKAGE_STRING='ircd-hybrid 8beta1'
578 PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
579 PACKAGE_URL=''
580
581 ac_unique_file="src/ircd.c"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
584 #include <stdio.h>
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
587 #endif
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
590 #endif
591 #ifdef STDC_HEADERS
592 # include <stdlib.h>
593 # include <stddef.h>
594 #else
595 # ifdef HAVE_STDLIB_H
596 # include <stdlib.h>
597 # endif
598 #endif
599 #ifdef HAVE_STRING_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601 # include <memory.h>
602 # endif
603 # include <string.h>
604 #endif
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
607 #endif
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
610 #endif
611 #ifdef HAVE_STDINT_H
612 # include <stdint.h>
613 #endif
614 #ifdef HAVE_UNISTD_H
615 # include <unistd.h>
616 #endif"
617
618 ac_func_list=
619 ac_header_list=
620 ac_subst_vars='ltdl_LTLIBOBJS
621 ltdl_LIBOBJS
622 am__EXEEXT_FALSE
623 am__EXEEXT_TRUE
624 LTLIBOBJS
625 LIBOBJS
626 LOCALSTATEDIR
627 DATADIR
628 LIBDIR
629 SYSCONFDIR
630 PREFIX
631 EFNET_FALSE
632 EFNET_TRUE
633 ENABLE_SSL_FALSE
634 ENABLE_SSL_TRUE
635 ENABLE_PCRE_FALSE
636 ENABLE_PCRE_TRUE
637 LTDLOPEN
638 LT_CONFIG_H
639 CONVENIENCE_LTDL_FALSE
640 CONVENIENCE_LTDL_TRUE
641 INSTALL_LTDL_FALSE
642 INSTALL_LTDL_TRUE
643 ARGZ_H
644 sys_symbol_underscore
645 LIBADD_DL
646 LT_DLPREOPEN
647 LIBADD_DLD_LINK
648 LIBADD_SHL_LOAD
649 LIBADD_DLOPEN
650 LT_DLLOADERS
651 INCLTDL
652 LTDLINCL
653 LTDLDEPS
654 LIBLTDL
655 CPP
656 OTOOL64
657 OTOOL
658 LIPO
659 NMEDIT
660 DSYMUTIL
661 MANIFEST_TOOL
662 RANLIB
663 ac_ct_AR
664 AR
665 DLLTOOL
666 OBJDUMP
667 LN_S
668 NM
669 ac_ct_DUMPBIN
670 DUMPBIN
671 LD
672 FGREP
673 EGREP
674 GREP
675 SED
676 host_os
677 host_vendor
678 host_cpu
679 host
680 build_os
681 build_vendor
682 build_cpu
683 build
684 LIBTOOL
685 LEXLIB
686 LEX_OUTPUT_ROOT
687 LEX
688 YFLAGS
689 YACC
690 am__fastdepCC_FALSE
691 am__fastdepCC_TRUE
692 CCDEPMODE
693 am__nodep
694 AMDEPBACKSLASH
695 AMDEP_FALSE
696 AMDEP_TRUE
697 am__quote
698 am__include
699 DEPDIR
700 OBJEXT
701 EXEEXT
702 ac_ct_CC
703 CPPFLAGS
704 LDFLAGS
705 CFLAGS
706 CC
707 MAINT
708 MAINTAINER_MODE_FALSE
709 MAINTAINER_MODE_TRUE
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 ac_subst_files=''
772 ac_user_opts='
773 enable_option_checking
774 enable_maintainer_mode
775 enable_dependency_tracking
776 enable_static
777 enable_shared
778 with_pic
779 enable_fast_install
780 with_gnu_ld
781 with_sysroot
782 enable_libtool_lock
783 with_included_ltdl
784 with_ltdl_include
785 with_ltdl_lib
786 enable_ltdl_install
787 with_libpcre_path
788 enable_libpcre
789 enable_openssl
790 enable_assert
791 enable_small_net
792 enable_kqueue
793 enable_epoll
794 enable_devpoll
795 enable_rtsigio
796 enable_poll
797 enable_select
798 with_nicklen
799 with_topiclen
800 enable_efnet
801 enable_halfops
802 enable_debugging
803 enable_warnings
804 '
805 ac_precious_vars='build_alias
806 host_alias
807 target_alias
808 CC
809 CFLAGS
810 LDFLAGS
811 LIBS
812 CPPFLAGS
813 YACC
814 YFLAGS
815 CPP'
816
817
818 # Initialize some variables set by options.
819 ac_init_help=
820 ac_init_version=false
821 ac_unrecognized_opts=
822 ac_unrecognized_sep=
823 # The variables have the same names as the options, with
824 # dashes changed to underlines.
825 cache_file=/dev/null
826 exec_prefix=NONE
827 no_create=
828 no_recursion=
829 prefix=NONE
830 program_prefix=NONE
831 program_suffix=NONE
832 program_transform_name=s,x,x,
833 silent=
834 site=
835 srcdir=
836 verbose=
837 x_includes=NONE
838 x_libraries=NONE
839
840 # Installation directory options.
841 # These are left unexpanded so users can "make install exec_prefix=/foo"
842 # and all the variables that are supposed to be based on exec_prefix
843 # by default will actually change.
844 # Use braces instead of parens because sh, perl, etc. also accept them.
845 # (The list follows the same order as the GNU Coding Standards.)
846 bindir='${exec_prefix}/bin'
847 sbindir='${exec_prefix}/sbin'
848 libexecdir='${exec_prefix}/libexec'
849 datarootdir='${prefix}/share'
850 datadir='${datarootdir}'
851 sysconfdir='${prefix}/etc'
852 sharedstatedir='${prefix}/com'
853 localstatedir='${prefix}/var'
854 includedir='${prefix}/include'
855 oldincludedir='/usr/include'
856 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
857 infodir='${datarootdir}/info'
858 htmldir='${docdir}'
859 dvidir='${docdir}'
860 pdfdir='${docdir}'
861 psdir='${docdir}'
862 libdir='${exec_prefix}/lib'
863 localedir='${datarootdir}/locale'
864 mandir='${datarootdir}/man'
865
866 ac_prev=
867 ac_dashdash=
868 for ac_option
869 do
870 # If the previous option needs an argument, assign it.
871 if test -n "$ac_prev"; then
872 eval $ac_prev=\$ac_option
873 ac_prev=
874 continue
875 fi
876
877 case $ac_option in
878 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
879 *=) ac_optarg= ;;
880 *) ac_optarg=yes ;;
881 esac
882
883 # Accept the important Cygnus configure options, so we can diagnose typos.
884
885 case $ac_dashdash$ac_option in
886 --)
887 ac_dashdash=yes ;;
888
889 -bindir | --bindir | --bindi | --bind | --bin | --bi)
890 ac_prev=bindir ;;
891 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
892 bindir=$ac_optarg ;;
893
894 -build | --build | --buil | --bui | --bu)
895 ac_prev=build_alias ;;
896 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
897 build_alias=$ac_optarg ;;
898
899 -cache-file | --cache-file | --cache-fil | --cache-fi \
900 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
901 ac_prev=cache_file ;;
902 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
903 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
904 cache_file=$ac_optarg ;;
905
906 --config-cache | -C)
907 cache_file=config.cache ;;
908
909 -datadir | --datadir | --datadi | --datad)
910 ac_prev=datadir ;;
911 -datadir=* | --datadir=* | --datadi=* | --datad=*)
912 datadir=$ac_optarg ;;
913
914 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
915 | --dataroo | --dataro | --datar)
916 ac_prev=datarootdir ;;
917 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
918 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
919 datarootdir=$ac_optarg ;;
920
921 -disable-* | --disable-*)
922 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
923 # Reject names that are not valid shell variable names.
924 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
925 as_fn_error $? "invalid feature name: $ac_useropt"
926 ac_useropt_orig=$ac_useropt
927 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
928 case $ac_user_opts in
929 *"
930 "enable_$ac_useropt"
931 "*) ;;
932 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
933 ac_unrecognized_sep=', ';;
934 esac
935 eval enable_$ac_useropt=no ;;
936
937 -docdir | --docdir | --docdi | --doc | --do)
938 ac_prev=docdir ;;
939 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
940 docdir=$ac_optarg ;;
941
942 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
943 ac_prev=dvidir ;;
944 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
945 dvidir=$ac_optarg ;;
946
947 -enable-* | --enable-*)
948 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
949 # Reject names that are not valid shell variable names.
950 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
951 as_fn_error $? "invalid feature name: $ac_useropt"
952 ac_useropt_orig=$ac_useropt
953 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
954 case $ac_user_opts in
955 *"
956 "enable_$ac_useropt"
957 "*) ;;
958 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
959 ac_unrecognized_sep=', ';;
960 esac
961 eval enable_$ac_useropt=\$ac_optarg ;;
962
963 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
964 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
965 | --exec | --exe | --ex)
966 ac_prev=exec_prefix ;;
967 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
968 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
969 | --exec=* | --exe=* | --ex=*)
970 exec_prefix=$ac_optarg ;;
971
972 -gas | --gas | --ga | --g)
973 # Obsolete; use --with-gas.
974 with_gas=yes ;;
975
976 -help | --help | --hel | --he | -h)
977 ac_init_help=long ;;
978 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
979 ac_init_help=recursive ;;
980 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
981 ac_init_help=short ;;
982
983 -host | --host | --hos | --ho)
984 ac_prev=host_alias ;;
985 -host=* | --host=* | --hos=* | --ho=*)
986 host_alias=$ac_optarg ;;
987
988 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
989 ac_prev=htmldir ;;
990 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
991 | --ht=*)
992 htmldir=$ac_optarg ;;
993
994 -includedir | --includedir | --includedi | --included | --include \
995 | --includ | --inclu | --incl | --inc)
996 ac_prev=includedir ;;
997 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
998 | --includ=* | --inclu=* | --incl=* | --inc=*)
999 includedir=$ac_optarg ;;
1000
1001 -infodir | --infodir | --infodi | --infod | --info | --inf)
1002 ac_prev=infodir ;;
1003 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1004 infodir=$ac_optarg ;;
1005
1006 -libdir | --libdir | --libdi | --libd)
1007 ac_prev=libdir ;;
1008 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1009 libdir=$ac_optarg ;;
1010
1011 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1012 | --libexe | --libex | --libe)
1013 ac_prev=libexecdir ;;
1014 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1015 | --libexe=* | --libex=* | --libe=*)
1016 libexecdir=$ac_optarg ;;
1017
1018 -localedir | --localedir | --localedi | --localed | --locale)
1019 ac_prev=localedir ;;
1020 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1021 localedir=$ac_optarg ;;
1022
1023 -localstatedir | --localstatedir | --localstatedi | --localstated \
1024 | --localstate | --localstat | --localsta | --localst | --locals)
1025 ac_prev=localstatedir ;;
1026 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1027 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1028 localstatedir=$ac_optarg ;;
1029
1030 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1031 ac_prev=mandir ;;
1032 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1033 mandir=$ac_optarg ;;
1034
1035 -nfp | --nfp | --nf)
1036 # Obsolete; use --without-fp.
1037 with_fp=no ;;
1038
1039 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1040 | --no-cr | --no-c | -n)
1041 no_create=yes ;;
1042
1043 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1044 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1045 no_recursion=yes ;;
1046
1047 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1048 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1049 | --oldin | --oldi | --old | --ol | --o)
1050 ac_prev=oldincludedir ;;
1051 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1052 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1053 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1054 oldincludedir=$ac_optarg ;;
1055
1056 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1057 ac_prev=prefix ;;
1058 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1059 prefix=$ac_optarg ;;
1060
1061 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1062 | --program-pre | --program-pr | --program-p)
1063 ac_prev=program_prefix ;;
1064 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1065 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1066 program_prefix=$ac_optarg ;;
1067
1068 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1069 | --program-suf | --program-su | --program-s)
1070 ac_prev=program_suffix ;;
1071 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1072 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1073 program_suffix=$ac_optarg ;;
1074
1075 -program-transform-name | --program-transform-name \
1076 | --program-transform-nam | --program-transform-na \
1077 | --program-transform-n | --program-transform- \
1078 | --program-transform | --program-transfor \
1079 | --program-transfo | --program-transf \
1080 | --program-trans | --program-tran \
1081 | --progr-tra | --program-tr | --program-t)
1082 ac_prev=program_transform_name ;;
1083 -program-transform-name=* | --program-transform-name=* \
1084 | --program-transform-nam=* | --program-transform-na=* \
1085 | --program-transform-n=* | --program-transform-=* \
1086 | --program-transform=* | --program-transfor=* \
1087 | --program-transfo=* | --program-transf=* \
1088 | --program-trans=* | --program-tran=* \
1089 | --progr-tra=* | --program-tr=* | --program-t=*)
1090 program_transform_name=$ac_optarg ;;
1091
1092 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1093 ac_prev=pdfdir ;;
1094 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1095 pdfdir=$ac_optarg ;;
1096
1097 -psdir | --psdir | --psdi | --psd | --ps)
1098 ac_prev=psdir ;;
1099 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1100 psdir=$ac_optarg ;;
1101
1102 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1103 | -silent | --silent | --silen | --sile | --sil)
1104 silent=yes ;;
1105
1106 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1107 ac_prev=sbindir ;;
1108 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1109 | --sbi=* | --sb=*)
1110 sbindir=$ac_optarg ;;
1111
1112 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1113 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1114 | --sharedst | --shareds | --shared | --share | --shar \
1115 | --sha | --sh)
1116 ac_prev=sharedstatedir ;;
1117 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1118 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1119 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1120 | --sha=* | --sh=*)
1121 sharedstatedir=$ac_optarg ;;
1122
1123 -site | --site | --sit)
1124 ac_prev=site ;;
1125 -site=* | --site=* | --sit=*)
1126 site=$ac_optarg ;;
1127
1128 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1129 ac_prev=srcdir ;;
1130 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1131 srcdir=$ac_optarg ;;
1132
1133 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1134 | --syscon | --sysco | --sysc | --sys | --sy)
1135 ac_prev=sysconfdir ;;
1136 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1137 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1138 sysconfdir=$ac_optarg ;;
1139
1140 -target | --target | --targe | --targ | --tar | --ta | --t)
1141 ac_prev=target_alias ;;
1142 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1143 target_alias=$ac_optarg ;;
1144
1145 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1146 verbose=yes ;;
1147
1148 -version | --version | --versio | --versi | --vers | -V)
1149 ac_init_version=: ;;
1150
1151 -with-* | --with-*)
1152 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1155 as_fn_error $? "invalid package name: $ac_useropt"
1156 ac_useropt_orig=$ac_useropt
1157 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1158 case $ac_user_opts in
1159 *"
1160 "with_$ac_useropt"
1161 "*) ;;
1162 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1163 ac_unrecognized_sep=', ';;
1164 esac
1165 eval with_$ac_useropt=\$ac_optarg ;;
1166
1167 -without-* | --without-*)
1168 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1169 # Reject names that are not valid shell variable names.
1170 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1171 as_fn_error $? "invalid package name: $ac_useropt"
1172 ac_useropt_orig=$ac_useropt
1173 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1174 case $ac_user_opts in
1175 *"
1176 "with_$ac_useropt"
1177 "*) ;;
1178 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1179 ac_unrecognized_sep=', ';;
1180 esac
1181 eval with_$ac_useropt=no ;;
1182
1183 --x)
1184 # Obsolete; use --with-x.
1185 with_x=yes ;;
1186
1187 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1188 | --x-incl | --x-inc | --x-in | --x-i)
1189 ac_prev=x_includes ;;
1190 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1191 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1192 x_includes=$ac_optarg ;;
1193
1194 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1195 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1196 ac_prev=x_libraries ;;
1197 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1198 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1199 x_libraries=$ac_optarg ;;
1200
1201 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1202 Try \`$0 --help' for more information"
1203 ;;
1204
1205 *=*)
1206 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1207 # Reject names that are not valid shell variable names.
1208 case $ac_envvar in #(
1209 '' | [0-9]* | *[!_$as_cr_alnum]* )
1210 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1211 esac
1212 eval $ac_envvar=\$ac_optarg
1213 export $ac_envvar ;;
1214
1215 *)
1216 # FIXME: should be removed in autoconf 3.0.
1217 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1218 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1219 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1220 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1221 ;;
1222
1223 esac
1224 done
1225
1226 if test -n "$ac_prev"; then
1227 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1228 as_fn_error $? "missing argument to $ac_option"
1229 fi
1230
1231 if test -n "$ac_unrecognized_opts"; then
1232 case $enable_option_checking in
1233 no) ;;
1234 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1235 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1236 esac
1237 fi
1238
1239 # Check all directory arguments for consistency.
1240 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1241 datadir sysconfdir sharedstatedir localstatedir includedir \
1242 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1243 libdir localedir mandir
1244 do
1245 eval ac_val=\$$ac_var
1246 # Remove trailing slashes.
1247 case $ac_val in
1248 */ )
1249 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1250 eval $ac_var=\$ac_val;;
1251 esac
1252 # Be sure to have absolute directory names.
1253 case $ac_val in
1254 [\\/$]* | ?:[\\/]* ) continue;;
1255 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1256 esac
1257 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1258 done
1259
1260 # There might be people who depend on the old broken behavior: `$host'
1261 # used to hold the argument of --host etc.
1262 # FIXME: To remove some day.
1263 build=$build_alias
1264 host=$host_alias
1265 target=$target_alias
1266
1267 # FIXME: To remove some day.
1268 if test "x$host_alias" != x; then
1269 if test "x$build_alias" = x; then
1270 cross_compiling=maybe
1271 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1272 If a cross compiler is detected then cross compile mode will be used" >&2
1273 elif test "x$build_alias" != "x$host_alias"; then
1274 cross_compiling=yes
1275 fi
1276 fi
1277
1278 ac_tool_prefix=
1279 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1280
1281 test "$silent" = yes && exec 6>/dev/null
1282
1283
1284 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1285 ac_ls_di=`ls -di .` &&
1286 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1287 as_fn_error $? "working directory cannot be determined"
1288 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1289 as_fn_error $? "pwd does not report name of working directory"
1290
1291
1292 # Find the source files, if location was not specified.
1293 if test -z "$srcdir"; then
1294 ac_srcdir_defaulted=yes
1295 # Try the directory containing this script, then the parent directory.
1296 ac_confdir=`$as_dirname -- "$as_myself" ||
1297 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1298 X"$as_myself" : 'X\(//\)[^/]' \| \
1299 X"$as_myself" : 'X\(//\)$' \| \
1300 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1301 $as_echo X"$as_myself" |
1302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1303 s//\1/
1304 q
1305 }
1306 /^X\(\/\/\)[^/].*/{
1307 s//\1/
1308 q
1309 }
1310 /^X\(\/\/\)$/{
1311 s//\1/
1312 q
1313 }
1314 /^X\(\/\).*/{
1315 s//\1/
1316 q
1317 }
1318 s/.*/./; q'`
1319 srcdir=$ac_confdir
1320 if test ! -r "$srcdir/$ac_unique_file"; then
1321 srcdir=..
1322 fi
1323 else
1324 ac_srcdir_defaulted=no
1325 fi
1326 if test ! -r "$srcdir/$ac_unique_file"; then
1327 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1328 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1329 fi
1330 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1331 ac_abs_confdir=`(
1332 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1333 pwd)`
1334 # When building in place, set srcdir=.
1335 if test "$ac_abs_confdir" = "$ac_pwd"; then
1336 srcdir=.
1337 fi
1338 # Remove unnecessary trailing slashes from srcdir.
1339 # Double slashes in file names in object file debugging info
1340 # mess up M-x gdb in Emacs.
1341 case $srcdir in
1342 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1343 esac
1344 for ac_var in $ac_precious_vars; do
1345 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1346 eval ac_env_${ac_var}_value=\$${ac_var}
1347 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1348 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1349 done
1350
1351 #
1352 # Report the --help message.
1353 #
1354 if test "$ac_init_help" = "long"; then
1355 # Omit some internal or obsolete options to make the list less imposing.
1356 # This message is too long to be a string in the A/UX 3.1 sh.
1357 cat <<_ACEOF
1358 \`configure' configures ircd-hybrid 8beta1 to adapt to many kinds of systems.
1359
1360 Usage: $0 [OPTION]... [VAR=VALUE]...
1361
1362 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1363 VAR=VALUE. See below for descriptions of some of the useful variables.
1364
1365 Defaults for the options are specified in brackets.
1366
1367 Configuration:
1368 -h, --help display this help and exit
1369 --help=short display options specific to this package
1370 --help=recursive display the short help of all the included packages
1371 -V, --version display version information and exit
1372 -q, --quiet, --silent do not print \`checking ...' messages
1373 --cache-file=FILE cache test results in FILE [disabled]
1374 -C, --config-cache alias for \`--cache-file=config.cache'
1375 -n, --no-create do not create output files
1376 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1377
1378 Installation directories:
1379 --prefix=PREFIX install architecture-independent files in PREFIX
1380 [$ac_default_prefix]
1381 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1382 [PREFIX]
1383
1384 By default, \`make install' will install all the files in
1385 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1386 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1387 for instance \`--prefix=\$HOME'.
1388
1389 For better control, use the options below.
1390
1391 Fine tuning of the installation directories:
1392 --bindir=DIR user executables [EPREFIX/bin]
1393 --sbindir=DIR system admin executables [EPREFIX/sbin]
1394 --libexecdir=DIR program executables [EPREFIX/libexec]
1395 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1396 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1397 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1398 --libdir=DIR object code libraries [EPREFIX/lib]
1399 --includedir=DIR C header files [PREFIX/include]
1400 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1401 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1402 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1403 --infodir=DIR info documentation [DATAROOTDIR/info]
1404 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1405 --mandir=DIR man documentation [DATAROOTDIR/man]
1406 --docdir=DIR documentation root [DATAROOTDIR/doc/ircd-hybrid]
1407 --htmldir=DIR html documentation [DOCDIR]
1408 --dvidir=DIR dvi documentation [DOCDIR]
1409 --pdfdir=DIR pdf documentation [DOCDIR]
1410 --psdir=DIR ps documentation [DOCDIR]
1411 _ACEOF
1412
1413 cat <<\_ACEOF
1414
1415 Program names:
1416 --program-prefix=PREFIX prepend PREFIX to installed program names
1417 --program-suffix=SUFFIX append SUFFIX to installed program names
1418 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1419
1420 System types:
1421 --build=BUILD configure for building on BUILD [guessed]
1422 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1423 _ACEOF
1424 fi
1425
1426 if test -n "$ac_init_help"; then
1427 case $ac_init_help in
1428 short | recursive ) echo "Configuration of ircd-hybrid 8beta1:";;
1429 esac
1430 cat <<\_ACEOF
1431
1432 Optional Features:
1433 --disable-option-checking ignore unrecognized --enable/--with options
1434 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1435 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1436 --enable-maintainer-mode enable make rules and dependencies not useful
1437 (and sometimes confusing) to the casual installer
1438 --disable-dependency-tracking speeds up one-time build
1439 --enable-dependency-tracking do not reject slow dependency extractors
1440 --enable-static[=PKGS] build static libraries [default=no]
1441 --enable-shared[=PKGS] build shared libraries [default=yes]
1442 --enable-fast-install[=PKGS]
1443 optimize for fast installation [default=yes]
1444 --disable-libtool-lock avoid locking (might break parallel builds)
1445 --enable-ltdl-install install libltdl
1446 --disable-libpcre Disable PCRE support
1447 --enable-openssl=DIR Enable OpenSSL support (DIR optional).
1448 --disable-openssl Disable OpenSSL support.
1449 --enable-assert Enable assert() statements
1450 --enable-small-net Enable small network support.
1451 --enable-kqueue Force kqueue usage.
1452 --enable-epoll Force epoll usage.
1453 --enable-devpoll Force devpoll usage.
1454 --enable-rtsigio Force rtsigio usage.
1455 --enable-poll Force poll usage.
1456 --enable-select Force select usage.
1457 --enable-efnet For IRCDs running on EFnet.
1458 --enable-halfops Enable halfops support.
1459 --enable-debugging Enable debugging.
1460 --enable-warnings Enable compiler warnings.
1461
1462 Optional Packages:
1463 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1464 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1465 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1466 both]
1467 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1468 --with-sysroot=DIR Search for dependent libraries within DIR
1469 (or the compiler's sysroot if not specified).
1470 --with-included-ltdl use the GNU ltdl sources included here
1471 --with-ltdl-include=DIR use the ltdl headers installed in DIR
1472 --with-ltdl-lib=DIR use the libltdl.la installed in DIR
1473 --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1474 --with-nicklen=<value> Set nickname length (default 9).
1475 --with-topiclen=<value> Set topic length (default 160).
1476
1477 Some influential environment variables:
1478 CC C compiler command
1479 CFLAGS C compiler flags
1480 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1481 nonstandard directory <lib dir>
1482 LIBS libraries to pass to the linker, e.g. -l<library>
1483 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1484 you have headers in a nonstandard directory <include dir>
1485 YACC The `Yet Another Compiler Compiler' implementation to use.
1486 Defaults to the first program found out of: `bison -y', `byacc',
1487 `yacc'.
1488 YFLAGS The list of arguments that will be passed by default to $YACC.
1489 This script will default YFLAGS to the empty string to avoid a
1490 default value of `-d' given by some make applications.
1491 CPP C preprocessor
1492
1493 Use these variables to override the choices made by `configure' or to help
1494 it to find libraries and programs with nonstandard names/locations.
1495
1496 Report bugs to <bugs@ircd-hybrid.org>.
1497 _ACEOF
1498 ac_status=$?
1499 fi
1500
1501 if test "$ac_init_help" = "recursive"; then
1502 # If there are subdirs, report their specific --help.
1503 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1504 test -d "$ac_dir" ||
1505 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1506 continue
1507 ac_builddir=.
1508
1509 case "$ac_dir" in
1510 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1511 *)
1512 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1513 # A ".." for each directory in $ac_dir_suffix.
1514 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1515 case $ac_top_builddir_sub in
1516 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1517 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1518 esac ;;
1519 esac
1520 ac_abs_top_builddir=$ac_pwd
1521 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1522 # for backward compatibility:
1523 ac_top_builddir=$ac_top_build_prefix
1524
1525 case $srcdir in
1526 .) # We are building in place.
1527 ac_srcdir=.
1528 ac_top_srcdir=$ac_top_builddir_sub
1529 ac_abs_top_srcdir=$ac_pwd ;;
1530 [\\/]* | ?:[\\/]* ) # Absolute name.
1531 ac_srcdir=$srcdir$ac_dir_suffix;
1532 ac_top_srcdir=$srcdir
1533 ac_abs_top_srcdir=$srcdir ;;
1534 *) # Relative name.
1535 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1536 ac_top_srcdir=$ac_top_build_prefix$srcdir
1537 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1538 esac
1539 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1540
1541 cd "$ac_dir" || { ac_status=$?; continue; }
1542 # Check for guested configure.
1543 if test -f "$ac_srcdir/configure.gnu"; then
1544 echo &&
1545 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1546 elif test -f "$ac_srcdir/configure"; then
1547 echo &&
1548 $SHELL "$ac_srcdir/configure" --help=recursive
1549 else
1550 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1551 fi || ac_status=$?
1552 cd "$ac_pwd" || { ac_status=$?; break; }
1553 done
1554 fi
1555
1556 test -n "$ac_init_help" && exit $ac_status
1557 if $ac_init_version; then
1558 cat <<\_ACEOF
1559 ircd-hybrid configure 8beta1
1560 generated by GNU Autoconf 2.68
1561
1562 Copyright (C) 2010 Free Software Foundation, Inc.
1563 This configure script is free software; the Free Software Foundation
1564 gives unlimited permission to copy, distribute and modify it.
1565 _ACEOF
1566 exit
1567 fi
1568
1569 ## ------------------------ ##
1570 ## Autoconf initialization. ##
1571 ## ------------------------ ##
1572
1573 # ac_fn_c_try_compile LINENO
1574 # --------------------------
1575 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1576 ac_fn_c_try_compile ()
1577 {
1578 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1579 rm -f conftest.$ac_objext
1580 if { { ac_try="$ac_compile"
1581 case "(($ac_try" in
1582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1583 *) ac_try_echo=$ac_try;;
1584 esac
1585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1586 $as_echo "$ac_try_echo"; } >&5
1587 (eval "$ac_compile") 2>conftest.err
1588 ac_status=$?
1589 if test -s conftest.err; then
1590 grep -v '^ *+' conftest.err >conftest.er1
1591 cat conftest.er1 >&5
1592 mv -f conftest.er1 conftest.err
1593 fi
1594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1595 test $ac_status = 0; } && {
1596 test -z "$ac_c_werror_flag" ||
1597 test ! -s conftest.err
1598 } && test -s conftest.$ac_objext; then :
1599 ac_retval=0
1600 else
1601 $as_echo "$as_me: failed program was:" >&5
1602 sed 's/^/| /' conftest.$ac_ext >&5
1603
1604 ac_retval=1
1605 fi
1606 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1607 as_fn_set_status $ac_retval
1608
1609 } # ac_fn_c_try_compile
1610
1611 # ac_fn_c_try_link LINENO
1612 # -----------------------
1613 # Try to link conftest.$ac_ext, and return whether this succeeded.
1614 ac_fn_c_try_link ()
1615 {
1616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1617 rm -f conftest.$ac_objext conftest$ac_exeext
1618 if { { ac_try="$ac_link"
1619 case "(($ac_try" in
1620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1621 *) ac_try_echo=$ac_try;;
1622 esac
1623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1624 $as_echo "$ac_try_echo"; } >&5
1625 (eval "$ac_link") 2>conftest.err
1626 ac_status=$?
1627 if test -s conftest.err; then
1628 grep -v '^ *+' conftest.err >conftest.er1
1629 cat conftest.er1 >&5
1630 mv -f conftest.er1 conftest.err
1631 fi
1632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1633 test $ac_status = 0; } && {
1634 test -z "$ac_c_werror_flag" ||
1635 test ! -s conftest.err
1636 } && test -s conftest$ac_exeext && {
1637 test "$cross_compiling" = yes ||
1638 $as_test_x conftest$ac_exeext
1639 }; then :
1640 ac_retval=0
1641 else
1642 $as_echo "$as_me: failed program was:" >&5
1643 sed 's/^/| /' conftest.$ac_ext >&5
1644
1645 ac_retval=1
1646 fi
1647 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1648 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1649 # interfere with the next link command; also delete a directory that is
1650 # left behind by Apple's compiler. We do this before executing the actions.
1651 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1652 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1653 as_fn_set_status $ac_retval
1654
1655 } # ac_fn_c_try_link
1656
1657 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1658 # -------------------------------------------------------
1659 # Tests whether HEADER exists and can be compiled using the include files in
1660 # INCLUDES, setting the cache variable VAR accordingly.
1661 ac_fn_c_check_header_compile ()
1662 {
1663 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1665 $as_echo_n "checking for $2... " >&6; }
1666 if eval \${$3+:} false; then :
1667 $as_echo_n "(cached) " >&6
1668 else
1669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1670 /* end confdefs.h. */
1671 $4
1672 #include <$2>
1673 _ACEOF
1674 if ac_fn_c_try_compile "$LINENO"; then :
1675 eval "$3=yes"
1676 else
1677 eval "$3=no"
1678 fi
1679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1680 fi
1681 eval ac_res=\$$3
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1683 $as_echo "$ac_res" >&6; }
1684 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1685
1686 } # ac_fn_c_check_header_compile
1687
1688 # ac_fn_c_try_cpp LINENO
1689 # ----------------------
1690 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1691 ac_fn_c_try_cpp ()
1692 {
1693 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1694 if { { ac_try="$ac_cpp conftest.$ac_ext"
1695 case "(($ac_try" in
1696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1697 *) ac_try_echo=$ac_try;;
1698 esac
1699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1700 $as_echo "$ac_try_echo"; } >&5
1701 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1702 ac_status=$?
1703 if test -s conftest.err; then
1704 grep -v '^ *+' conftest.err >conftest.er1
1705 cat conftest.er1 >&5
1706 mv -f conftest.er1 conftest.err
1707 fi
1708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1709 test $ac_status = 0; } > conftest.i && {
1710 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1711 test ! -s conftest.err
1712 }; then :
1713 ac_retval=0
1714 else
1715 $as_echo "$as_me: failed program was:" >&5
1716 sed 's/^/| /' conftest.$ac_ext >&5
1717
1718 ac_retval=1
1719 fi
1720 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1721 as_fn_set_status $ac_retval
1722
1723 } # ac_fn_c_try_cpp
1724
1725 # ac_fn_c_try_run LINENO
1726 # ----------------------
1727 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1728 # that executables *can* be run.
1729 ac_fn_c_try_run ()
1730 {
1731 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732 if { { ac_try="$ac_link"
1733 case "(($ac_try" in
1734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1735 *) ac_try_echo=$ac_try;;
1736 esac
1737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1738 $as_echo "$ac_try_echo"; } >&5
1739 (eval "$ac_link") 2>&5
1740 ac_status=$?
1741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1742 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1743 { { case "(($ac_try" in
1744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1745 *) ac_try_echo=$ac_try;;
1746 esac
1747 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1748 $as_echo "$ac_try_echo"; } >&5
1749 (eval "$ac_try") 2>&5
1750 ac_status=$?
1751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1752 test $ac_status = 0; }; }; then :
1753 ac_retval=0
1754 else
1755 $as_echo "$as_me: program exited with status $ac_status" >&5
1756 $as_echo "$as_me: failed program was:" >&5
1757 sed 's/^/| /' conftest.$ac_ext >&5
1758
1759 ac_retval=$ac_status
1760 fi
1761 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1762 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1763 as_fn_set_status $ac_retval
1764
1765 } # ac_fn_c_try_run
1766
1767 # ac_fn_c_check_func LINENO FUNC VAR
1768 # ----------------------------------
1769 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1770 ac_fn_c_check_func ()
1771 {
1772 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1774 $as_echo_n "checking for $2... " >&6; }
1775 if eval \${$3+:} false; then :
1776 $as_echo_n "(cached) " >&6
1777 else
1778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1779 /* end confdefs.h. */
1780 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1782 #define $2 innocuous_$2
1783
1784 /* System header to define __stub macros and hopefully few prototypes,
1785 which can conflict with char $2 (); below.
1786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1787 <limits.h> exists even on freestanding compilers. */
1788
1789 #ifdef __STDC__
1790 # include <limits.h>
1791 #else
1792 # include <assert.h>
1793 #endif
1794
1795 #undef $2
1796
1797 /* Override any GCC internal prototype to avoid an error.
1798 Use char because int might match the return type of a GCC
1799 builtin and then its argument prototype would still apply. */
1800 #ifdef __cplusplus
1801 extern "C"
1802 #endif
1803 char $2 ();
1804 /* The GNU C library defines this for functions which it implements
1805 to always fail with ENOSYS. Some functions are actually named
1806 something starting with __ and the normal name is an alias. */
1807 #if defined __stub_$2 || defined __stub___$2
1808 choke me
1809 #endif
1810
1811 int
1812 main ()
1813 {
1814 return $2 ();
1815 ;
1816 return 0;
1817 }
1818 _ACEOF
1819 if ac_fn_c_try_link "$LINENO"; then :
1820 eval "$3=yes"
1821 else
1822 eval "$3=no"
1823 fi
1824 rm -f core conftest.err conftest.$ac_objext \
1825 conftest$ac_exeext conftest.$ac_ext
1826 fi
1827 eval ac_res=\$$3
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1829 $as_echo "$ac_res" >&6; }
1830 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1831
1832 } # ac_fn_c_check_func
1833
1834 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1835 # ---------------------------------------------
1836 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1837 # accordingly.
1838 ac_fn_c_check_decl ()
1839 {
1840 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1841 as_decl_name=`echo $2|sed 's/ *(.*//'`
1842 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1844 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1845 if eval \${$3+:} false; then :
1846 $as_echo_n "(cached) " >&6
1847 else
1848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1849 /* end confdefs.h. */
1850 $4
1851 int
1852 main ()
1853 {
1854 #ifndef $as_decl_name
1855 #ifdef __cplusplus
1856 (void) $as_decl_use;
1857 #else
1858 (void) $as_decl_name;
1859 #endif
1860 #endif
1861
1862 ;
1863 return 0;
1864 }
1865 _ACEOF
1866 if ac_fn_c_try_compile "$LINENO"; then :
1867 eval "$3=yes"
1868 else
1869 eval "$3=no"
1870 fi
1871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1872 fi
1873 eval ac_res=\$$3
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1875 $as_echo "$ac_res" >&6; }
1876 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1877
1878 } # ac_fn_c_check_decl
1879
1880 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1881 # -------------------------------------------
1882 # Tests whether TYPE exists after having included INCLUDES, setting cache
1883 # variable VAR accordingly.
1884 ac_fn_c_check_type ()
1885 {
1886 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1888 $as_echo_n "checking for $2... " >&6; }
1889 if eval \${$3+:} false; then :
1890 $as_echo_n "(cached) " >&6
1891 else
1892 eval "$3=no"
1893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1894 /* end confdefs.h. */
1895 $4
1896 int
1897 main ()
1898 {
1899 if (sizeof ($2))
1900 return 0;
1901 ;
1902 return 0;
1903 }
1904 _ACEOF
1905 if ac_fn_c_try_compile "$LINENO"; then :
1906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1907 /* end confdefs.h. */
1908 $4
1909 int
1910 main ()
1911 {
1912 if (sizeof (($2)))
1913 return 0;
1914 ;
1915 return 0;
1916 }
1917 _ACEOF
1918 if ac_fn_c_try_compile "$LINENO"; then :
1919
1920 else
1921 eval "$3=yes"
1922 fi
1923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1924 fi
1925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1926 fi
1927 eval ac_res=\$$3
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1929 $as_echo "$ac_res" >&6; }
1930 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1931
1932 } # ac_fn_c_check_type
1933
1934 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1935 # ----------------------------------------------------
1936 # Tries to find if the field MEMBER exists in type AGGR, after including
1937 # INCLUDES, setting cache variable VAR accordingly.
1938 ac_fn_c_check_member ()
1939 {
1940 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1942 $as_echo_n "checking for $2.$3... " >&6; }
1943 if eval \${$4+:} false; then :
1944 $as_echo_n "(cached) " >&6
1945 else
1946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1947 /* end confdefs.h. */
1948 $5
1949 int
1950 main ()
1951 {
1952 static $2 ac_aggr;
1953 if (ac_aggr.$3)
1954 return 0;
1955 ;
1956 return 0;
1957 }
1958 _ACEOF
1959 if ac_fn_c_try_compile "$LINENO"; then :
1960 eval "$4=yes"
1961 else
1962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1963 /* end confdefs.h. */
1964 $5
1965 int
1966 main ()
1967 {
1968 static $2 ac_aggr;
1969 if (sizeof ac_aggr.$3)
1970 return 0;
1971 ;
1972 return 0;
1973 }
1974 _ACEOF
1975 if ac_fn_c_try_compile "$LINENO"; then :
1976 eval "$4=yes"
1977 else
1978 eval "$4=no"
1979 fi
1980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1981 fi
1982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1983 fi
1984 eval ac_res=\$$4
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1986 $as_echo "$ac_res" >&6; }
1987 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1988
1989 } # ac_fn_c_check_member
1990
1991 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1992 # -------------------------------------------------------
1993 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1994 # the include files in INCLUDES and setting the cache variable VAR
1995 # accordingly.
1996 ac_fn_c_check_header_mongrel ()
1997 {
1998 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1999 if eval \${$3+:} false; then :
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2001 $as_echo_n "checking for $2... " >&6; }
2002 if eval \${$3+:} false; then :
2003 $as_echo_n "(cached) " >&6
2004 fi
2005 eval ac_res=\$$3
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2007 $as_echo "$ac_res" >&6; }
2008 else
2009 # Is the header compilable?
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2011 $as_echo_n "checking $2 usability... " >&6; }
2012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2013 /* end confdefs.h. */
2014 $4
2015 #include <$2>
2016 _ACEOF
2017 if ac_fn_c_try_compile "$LINENO"; then :
2018 ac_header_compiler=yes
2019 else
2020 ac_header_compiler=no
2021 fi
2022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2024 $as_echo "$ac_header_compiler" >&6; }
2025
2026 # Is the header present?
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2028 $as_echo_n "checking $2 presence... " >&6; }
2029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2030 /* end confdefs.h. */
2031 #include <$2>
2032 _ACEOF
2033 if ac_fn_c_try_cpp "$LINENO"; then :
2034 ac_header_preproc=yes
2035 else
2036 ac_header_preproc=no
2037 fi
2038 rm -f conftest.err conftest.i conftest.$ac_ext
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2040 $as_echo "$ac_header_preproc" >&6; }
2041
2042 # So? What about this header?
2043 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2044 yes:no: )
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2046 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2048 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2049 ;;
2050 no:yes:* )
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2052 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2054 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2056 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2058 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2060 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2061 ( $as_echo "## ----------------------------------- ##
2062 ## Report this to bugs@ircd-hybrid.org ##
2063 ## ----------------------------------- ##"
2064 ) | sed "s/^/$as_me: WARNING: /" >&2
2065 ;;
2066 esac
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2068 $as_echo_n "checking for $2... " >&6; }
2069 if eval \${$3+:} false; then :
2070 $as_echo_n "(cached) " >&6
2071 else
2072 eval "$3=\$ac_header_compiler"
2073 fi
2074 eval ac_res=\$$3
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2076 $as_echo "$ac_res" >&6; }
2077 fi
2078 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2079
2080 } # ac_fn_c_check_header_mongrel
2081 cat >config.log <<_ACEOF
2082 This file contains any messages produced by compilers while
2083 running configure, to aid debugging if configure makes a mistake.
2084
2085 It was created by ircd-hybrid $as_me 8beta1, which was
2086 generated by GNU Autoconf 2.68. Invocation command line was
2087
2088 $ $0 $@
2089
2090 _ACEOF
2091 exec 5>>config.log
2092 {
2093 cat <<_ASUNAME
2094 ## --------- ##
2095 ## Platform. ##
2096 ## --------- ##
2097
2098 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2099 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2100 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2101 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2102 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2103
2104 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2105 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2106
2107 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2108 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2109 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2110 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2111 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2112 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2113 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2114
2115 _ASUNAME
2116
2117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2118 for as_dir in $PATH
2119 do
2120 IFS=$as_save_IFS
2121 test -z "$as_dir" && as_dir=.
2122 $as_echo "PATH: $as_dir"
2123 done
2124 IFS=$as_save_IFS
2125
2126 } >&5
2127
2128 cat >&5 <<_ACEOF
2129
2130
2131 ## ----------- ##
2132 ## Core tests. ##
2133 ## ----------- ##
2134
2135 _ACEOF
2136
2137
2138 # Keep a trace of the command line.
2139 # Strip out --no-create and --no-recursion so they do not pile up.
2140 # Strip out --silent because we don't want to record it for future runs.
2141 # Also quote any args containing shell meta-characters.
2142 # Make two passes to allow for proper duplicate-argument suppression.
2143 ac_configure_args=
2144 ac_configure_args0=
2145 ac_configure_args1=
2146 ac_must_keep_next=false
2147 for ac_pass in 1 2
2148 do
2149 for ac_arg
2150 do
2151 case $ac_arg in
2152 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2153 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2154 | -silent | --silent | --silen | --sile | --sil)
2155 continue ;;
2156 *\'*)
2157 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2158 esac
2159 case $ac_pass in
2160 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2161 2)
2162 as_fn_append ac_configure_args1 " '$ac_arg'"
2163 if test $ac_must_keep_next = true; then
2164 ac_must_keep_next=false # Got value, back to normal.
2165 else
2166 case $ac_arg in
2167 *=* | --config-cache | -C | -disable-* | --disable-* \
2168 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2169 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2170 | -with-* | --with-* | -without-* | --without-* | --x)
2171 case "$ac_configure_args0 " in
2172 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2173 esac
2174 ;;
2175 -* ) ac_must_keep_next=true ;;
2176 esac
2177 fi
2178 as_fn_append ac_configure_args " '$ac_arg'"
2179 ;;
2180 esac
2181 done
2182 done
2183 { ac_configure_args0=; unset ac_configure_args0;}
2184 { ac_configure_args1=; unset ac_configure_args1;}
2185
2186 # When interrupted or exit'd, cleanup temporary files, and complete
2187 # config.log. We remove comments because anyway the quotes in there
2188 # would cause problems or look ugly.
2189 # WARNING: Use '\'' to represent an apostrophe within the trap.
2190 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2191 trap 'exit_status=$?
2192 # Save into config.log some information that might help in debugging.
2193 {
2194 echo
2195
2196 $as_echo "## ---------------- ##
2197 ## Cache variables. ##
2198 ## ---------------- ##"
2199 echo
2200 # The following way of writing the cache mishandles newlines in values,
2201 (
2202 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2203 eval ac_val=\$$ac_var
2204 case $ac_val in #(
2205 *${as_nl}*)
2206 case $ac_var in #(
2207 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2208 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2209 esac
2210 case $ac_var in #(
2211 _ | IFS | as_nl) ;; #(
2212 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2213 *) { eval $ac_var=; unset $ac_var;} ;;
2214 esac ;;
2215 esac
2216 done
2217 (set) 2>&1 |
2218 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2219 *${as_nl}ac_space=\ *)
2220 sed -n \
2221 "s/'\''/'\''\\\\'\'''\''/g;
2222 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2223 ;; #(
2224 *)
2225 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2226 ;;
2227 esac |
2228 sort
2229 )
2230 echo
2231
2232 $as_echo "## ----------------- ##
2233 ## Output variables. ##
2234 ## ----------------- ##"
2235 echo
2236 for ac_var in $ac_subst_vars
2237 do
2238 eval ac_val=\$$ac_var
2239 case $ac_val in
2240 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2241 esac
2242 $as_echo "$ac_var='\''$ac_val'\''"
2243 done | sort
2244 echo
2245
2246 if test -n "$ac_subst_files"; then
2247 $as_echo "## ------------------- ##
2248 ## File substitutions. ##
2249 ## ------------------- ##"
2250 echo
2251 for ac_var in $ac_subst_files
2252 do
2253 eval ac_val=\$$ac_var
2254 case $ac_val in
2255 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2256 esac
2257 $as_echo "$ac_var='\''$ac_val'\''"
2258 done | sort
2259 echo
2260 fi
2261
2262 if test -s confdefs.h; then
2263 $as_echo "## ----------- ##
2264 ## confdefs.h. ##
2265 ## ----------- ##"
2266 echo
2267 cat confdefs.h
2268 echo
2269 fi
2270 test "$ac_signal" != 0 &&
2271 $as_echo "$as_me: caught signal $ac_signal"
2272 $as_echo "$as_me: exit $exit_status"
2273 } >&5
2274 rm -f core *.core core.conftest.* &&
2275 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2276 exit $exit_status
2277 ' 0
2278 for ac_signal in 1 2 13 15; do
2279 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2280 done
2281 ac_signal=0
2282
2283 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2284 rm -f -r conftest* confdefs.h
2285
2286 $as_echo "/* confdefs.h */" > confdefs.h
2287
2288 # Predefined preprocessor variables.
2289
2290 cat >>confdefs.h <<_ACEOF
2291 #define PACKAGE_NAME "$PACKAGE_NAME"
2292 _ACEOF
2293
2294 cat >>confdefs.h <<_ACEOF
2295 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2296 _ACEOF
2297
2298 cat >>confdefs.h <<_ACEOF
2299 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2300 _ACEOF
2301
2302 cat >>confdefs.h <<_ACEOF
2303 #define PACKAGE_STRING "$PACKAGE_STRING"
2304 _ACEOF
2305
2306 cat >>confdefs.h <<_ACEOF
2307 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2308 _ACEOF
2309
2310 cat >>confdefs.h <<_ACEOF
2311 #define PACKAGE_URL "$PACKAGE_URL"
2312 _ACEOF
2313
2314
2315 # Let the site file select an alternate cache file if it wants to.
2316 # Prefer an explicitly selected file to automatically selected ones.
2317 ac_site_file1=NONE
2318 ac_site_file2=NONE
2319 if test -n "$CONFIG_SITE"; then
2320 # We do not want a PATH search for config.site.
2321 case $CONFIG_SITE in #((
2322 -*) ac_site_file1=./$CONFIG_SITE;;
2323 */*) ac_site_file1=$CONFIG_SITE;;
2324 *) ac_site_file1=./$CONFIG_SITE;;
2325 esac
2326 elif test "x$prefix" != xNONE; then
2327 ac_site_file1=$prefix/share/config.site
2328 ac_site_file2=$prefix/etc/config.site
2329 else
2330 ac_site_file1=$ac_default_prefix/share/config.site
2331 ac_site_file2=$ac_default_prefix/etc/config.site
2332 fi
2333 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2334 do
2335 test "x$ac_site_file" = xNONE && continue
2336 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2338 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2339 sed 's/^/| /' "$ac_site_file" >&5
2340 . "$ac_site_file" \
2341 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2343 as_fn_error $? "failed to load site script $ac_site_file
2344 See \`config.log' for more details" "$LINENO" 5; }
2345 fi
2346 done
2347
2348 if test -r "$cache_file"; then
2349 # Some versions of bash will fail to source /dev/null (special files
2350 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2351 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2353 $as_echo "$as_me: loading cache $cache_file" >&6;}
2354 case $cache_file in
2355 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2356 *) . "./$cache_file";;
2357 esac
2358 fi
2359 else
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2361 $as_echo "$as_me: creating cache $cache_file" >&6;}
2362 >$cache_file
2363 fi
2364
2365 as_fn_append ac_func_list " mmap"
2366 as_fn_append ac_func_list " strtok_r"
2367 as_fn_append ac_func_list " usleep"
2368 as_fn_append ac_func_list " strlcat"
2369 as_fn_append ac_func_list " strlcpy"
2370 as_fn_append ac_header_list " crypt.h"
2371 as_fn_append ac_header_list " sys/resource.h"
2372 as_fn_append ac_header_list " sys/param.h"
2373 as_fn_append ac_header_list " types.h"
2374 as_fn_append ac_header_list " socket.h"
2375 as_fn_append ac_header_list " sys/wait.h"
2376 as_fn_append ac_header_list " wait.h"
2377 as_fn_append ac_header_list " link.h"
2378 # Check that the precious variables saved in the cache have kept the same
2379 # value.
2380 ac_cache_corrupted=false
2381 for ac_var in $ac_precious_vars; do
2382 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2383 eval ac_new_set=\$ac_env_${ac_var}_set
2384 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2385 eval ac_new_val=\$ac_env_${ac_var}_value
2386 case $ac_old_set,$ac_new_set in
2387 set,)
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2389 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2390 ac_cache_corrupted=: ;;
2391 ,set)
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2393 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2394 ac_cache_corrupted=: ;;
2395 ,);;
2396 *)
2397 if test "x$ac_old_val" != "x$ac_new_val"; then
2398 # differences in whitespace do not lead to failure.
2399 ac_old_val_w=`echo x $ac_old_val`
2400 ac_new_val_w=`echo x $ac_new_val`
2401 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2403 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2404 ac_cache_corrupted=:
2405 else
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2407 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2408 eval $ac_var=\$ac_old_val
2409 fi
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2411 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2413 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2414 fi;;
2415 esac
2416 # Pass precious variables to config.status.
2417 if test "$ac_new_set" = set; then
2418 case $ac_new_val in
2419 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2420 *) ac_arg=$ac_var=$ac_new_val ;;
2421 esac
2422 case " $ac_configure_args " in
2423 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2424 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2425 esac
2426 fi
2427 done
2428 if $ac_cache_corrupted; then
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2432 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2433 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2434 fi
2435 ## -------------------- ##
2436 ## Main body of script. ##
2437 ## -------------------- ##
2438
2439 ac_ext=c
2440 ac_cpp='$CPP $CPPFLAGS'
2441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2444
2445
2446 am__api_version='1.11'
2447
2448 ac_aux_dir=
2449 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2450 if test -f "$ac_dir/install-sh"; then
2451 ac_aux_dir=$ac_dir
2452 ac_install_sh="$ac_aux_dir/install-sh -c"
2453 break
2454 elif test -f "$ac_dir/install.sh"; then
2455 ac_aux_dir=$ac_dir
2456 ac_install_sh="$ac_aux_dir/install.sh -c"
2457 break
2458 elif test -f "$ac_dir/shtool"; then
2459 ac_aux_dir=$ac_dir
2460 ac_install_sh="$ac_aux_dir/shtool install -c"
2461 break
2462 fi
2463 done
2464 if test -z "$ac_aux_dir"; then
2465 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2466 fi
2467
2468 # These three variables are undocumented and unsupported,
2469 # and are intended to be withdrawn in a future Autoconf release.
2470 # They can cause serious problems if a builder's source tree is in a directory
2471 # whose full name contains unusual characters.
2472 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2473 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2474 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2475
2476
2477 # Find a good install program. We prefer a C program (faster),
2478 # so one script is as good as another. But avoid the broken or
2479 # incompatible versions:
2480 # SysV /etc/install, /usr/sbin/install
2481 # SunOS /usr/etc/install
2482 # IRIX /sbin/install
2483 # AIX /bin/install
2484 # AmigaOS /C/install, which installs bootblocks on floppy discs
2485 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2486 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2487 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2488 # OS/2's system install, which has a completely different semantic
2489 # ./install, which can be erroneously created by make from ./install.sh.
2490 # Reject install programs that cannot install multiple files.
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2492 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2493 if test -z "$INSTALL"; then
2494 if ${ac_cv_path_install+:} false; then :
2495 $as_echo_n "(cached) " >&6
2496 else
2497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2498 for as_dir in $PATH
2499 do
2500 IFS=$as_save_IFS
2501 test -z "$as_dir" && as_dir=.
2502 # Account for people who put trailing slashes in PATH elements.
2503 case $as_dir/ in #((
2504 ./ | .// | /[cC]/* | \
2505 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2506 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2507 /usr/ucb/* ) ;;
2508 *)
2509 # OSF1 and SCO ODT 3.0 have their own names for install.
2510 # Don't use installbsd from OSF since it installs stuff as root
2511 # by default.
2512 for ac_prog in ginstall scoinst install; do
2513 for ac_exec_ext in '' $ac_executable_extensions; do
2514 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2515 if test $ac_prog = install &&
2516 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2517 # AIX install. It has an incompatible calling convention.
2518 :
2519 elif test $ac_prog = install &&
2520 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2521 # program-specific install script used by HP pwplus--don't use.
2522 :
2523 else
2524 rm -rf conftest.one conftest.two conftest.dir
2525 echo one > conftest.one
2526 echo two > conftest.two
2527 mkdir conftest.dir
2528 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2529 test -s conftest.one && test -s conftest.two &&
2530 test -s conftest.dir/conftest.one &&
2531 test -s conftest.dir/conftest.two
2532 then
2533 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2534 break 3
2535 fi
2536 fi
2537 fi
2538 done
2539 done
2540 ;;
2541 esac
2542
2543 done
2544 IFS=$as_save_IFS
2545
2546 rm -rf conftest.one conftest.two conftest.dir
2547
2548 fi
2549 if test "${ac_cv_path_install+set}" = set; then
2550 INSTALL=$ac_cv_path_install
2551 else
2552 # As a last resort, use the slow shell script. Don't cache a
2553 # value for INSTALL within a source directory, because that will
2554 # break other packages using the cache if that directory is
2555 # removed, or if the value is a relative name.
2556 INSTALL=$ac_install_sh
2557 fi
2558 fi
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2560 $as_echo "$INSTALL" >&6; }
2561
2562 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2563 # It thinks the first close brace ends the variable substitution.
2564 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2565
2566 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2567
2568 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2569
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2571 $as_echo_n "checking whether build environment is sane... " >&6; }
2572 # Just in case
2573 sleep 1
2574 echo timestamp > conftest.file
2575 # Reject unsafe characters in $srcdir or the absolute working directory
2576 # name. Accept space and tab only in the latter.
2577 am_lf='
2578 '
2579 case `pwd` in
2580 *[\\\"\#\$\&\'\`$am_lf]*)
2581 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2582 esac
2583 case $srcdir in
2584 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2585 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2586 esac
2587
2588 # Do `set' in a subshell so we don't clobber the current shell's
2589 # arguments. Must try -L first in case configure is actually a
2590 # symlink; some systems play weird games with the mod time of symlinks
2591 # (eg FreeBSD returns the mod time of the symlink's containing
2592 # directory).
2593 if (
2594 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2595 if test "$*" = "X"; then
2596 # -L didn't work.
2597 set X `ls -t "$srcdir/configure" conftest.file`
2598 fi
2599 rm -f conftest.file
2600 if test "$*" != "X $srcdir/configure conftest.file" \
2601 && test "$*" != "X conftest.file $srcdir/configure"; then
2602
2603 # If neither matched, then we have a broken ls. This can happen
2604 # if, for instance, CONFIG_SHELL is bash and it inherits a
2605 # broken ls alias from the environment. This has actually
2606 # happened. Such a system could not be considered "sane".
2607 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2608 alias in your environment" "$LINENO" 5
2609 fi
2610
2611 test "$2" = conftest.file
2612 )
2613 then
2614 # Ok.
2615 :
2616 else
2617 as_fn_error $? "newly created file is older than distributed files!
2618 Check your system clock" "$LINENO" 5
2619 fi
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2621 $as_echo "yes" >&6; }
2622 test "$program_prefix" != NONE &&
2623 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2624 # Use a double $ so make ignores it.
2625 test "$program_suffix" != NONE &&
2626 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2627 # Double any \ or $.
2628 # By default was `s,x,x', remove it if useless.
2629 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2630 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2631
2632 # expand $ac_aux_dir to an absolute path
2633 am_aux_dir=`cd $ac_aux_dir && pwd`
2634
2635 if test x"${MISSING+set}" != xset; then
2636 case $am_aux_dir in
2637 *\ * | *\ *)
2638 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2639 *)
2640 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2641 esac
2642 fi
2643 # Use eval to expand $SHELL
2644 if eval "$MISSING --run true"; then
2645 am_missing_run="$MISSING --run "
2646 else
2647 am_missing_run=
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2649 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2650 fi
2651
2652 if test x"${install_sh}" != xset; then
2653 case $am_aux_dir in
2654 *\ * | *\ *)
2655 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2656 *)
2657 install_sh="\${SHELL} $am_aux_dir/install-sh"
2658 esac
2659 fi
2660
2661 # Installed binaries are usually stripped using `strip' when the user
2662 # run `make install-strip'. However `strip' might not be the right
2663 # tool to use in cross-compilation environments, therefore Automake
2664 # will honor the `STRIP' environment variable to overrule this program.
2665 if test "$cross_compiling" != no; then
2666 if test -n "$ac_tool_prefix"; then
2667 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2668 set dummy ${ac_tool_prefix}strip; ac_word=$2
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2670 $as_echo_n "checking for $ac_word... " >&6; }
2671 if ${ac_cv_prog_STRIP+:} false; then :
2672 $as_echo_n "(cached) " >&6
2673 else
2674 if test -n "$STRIP"; then
2675 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2676 else
2677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2678 for as_dir in $PATH
2679 do
2680 IFS=$as_save_IFS
2681 test -z "$as_dir" && as_dir=.
2682 for ac_exec_ext in '' $ac_executable_extensions; do
2683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2684 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2686 break 2
2687 fi
2688 done
2689 done
2690 IFS=$as_save_IFS
2691
2692 fi
2693 fi
2694 STRIP=$ac_cv_prog_STRIP
2695 if test -n "$STRIP"; then
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2697 $as_echo "$STRIP" >&6; }
2698 else
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2700 $as_echo "no" >&6; }
2701 fi
2702
2703
2704 fi
2705 if test -z "$ac_cv_prog_STRIP"; then
2706 ac_ct_STRIP=$STRIP
2707 # Extract the first word of "strip", so it can be a program name with args.
2708 set dummy strip; ac_word=$2
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2710 $as_echo_n "checking for $ac_word... " >&6; }
2711 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2712 $as_echo_n "(cached) " >&6
2713 else
2714 if test -n "$ac_ct_STRIP"; then
2715 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2716 else
2717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2718 for as_dir in $PATH
2719 do
2720 IFS=$as_save_IFS
2721 test -z "$as_dir" && as_dir=.
2722 for ac_exec_ext in '' $ac_executable_extensions; do
2723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2724 ac_cv_prog_ac_ct_STRIP="strip"
2725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2726 break 2
2727 fi
2728 done
2729 done
2730 IFS=$as_save_IFS
2731
2732 fi
2733 fi
2734 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2735 if test -n "$ac_ct_STRIP"; then
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2737 $as_echo "$ac_ct_STRIP" >&6; }
2738 else
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2740 $as_echo "no" >&6; }
2741 fi
2742
2743 if test "x$ac_ct_STRIP" = x; then
2744 STRIP=":"
2745 else
2746 case $cross_compiling:$ac_tool_warned in
2747 yes:)
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2749 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2750 ac_tool_warned=yes ;;
2751 esac
2752 STRIP=$ac_ct_STRIP
2753 fi
2754 else
2755 STRIP="$ac_cv_prog_STRIP"
2756 fi
2757
2758 fi
2759 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2760
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2762 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2763 if test -z "$MKDIR_P"; then
2764 if ${ac_cv_path_mkdir+:} false; then :
2765 $as_echo_n "(cached) " >&6
2766 else
2767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2768 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2769 do
2770 IFS=$as_save_IFS
2771 test -z "$as_dir" && as_dir=.
2772 for ac_prog in mkdir gmkdir; do
2773 for ac_exec_ext in '' $ac_executable_extensions; do
2774 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2775 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2776 'mkdir (GNU coreutils) '* | \
2777 'mkdir (coreutils) '* | \
2778 'mkdir (fileutils) '4.1*)
2779 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2780 break 3;;
2781 esac
2782 done
2783 done
2784 done
2785 IFS=$as_save_IFS
2786
2787 fi
2788
2789 test -d ./--version && rmdir ./--version
2790 if test "${ac_cv_path_mkdir+set}" = set; then
2791 MKDIR_P="$ac_cv_path_mkdir -p"
2792 else
2793 # As a last resort, use the slow shell script. Don't cache a
2794 # value for MKDIR_P within a source directory, because that will
2795 # break other packages using the cache if that directory is
2796 # removed, or if the value is a relative name.
2797 MKDIR_P="$ac_install_sh -d"
2798 fi
2799 fi
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2801 $as_echo "$MKDIR_P" >&6; }
2802
2803 mkdir_p="$MKDIR_P"
2804 case $mkdir_p in
2805 [\\/$]* | ?:[\\/]*) ;;
2806 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2807 esac
2808
2809 for ac_prog in gawk mawk nawk awk
2810 do
2811 # Extract the first word of "$ac_prog", so it can be a program name with args.
2812 set dummy $ac_prog; ac_word=$2
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2814 $as_echo_n "checking for $ac_word... " >&6; }
2815 if ${ac_cv_prog_AWK+:} false; then :
2816 $as_echo_n "(cached) " >&6
2817 else
2818 if test -n "$AWK"; then
2819 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2820 else
2821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2822 for as_dir in $PATH
2823 do
2824 IFS=$as_save_IFS
2825 test -z "$as_dir" && as_dir=.
2826 for ac_exec_ext in '' $ac_executable_extensions; do
2827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2828 ac_cv_prog_AWK="$ac_prog"
2829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2830 break 2
2831 fi
2832 done
2833 done
2834 IFS=$as_save_IFS
2835
2836 fi
2837 fi
2838 AWK=$ac_cv_prog_AWK
2839 if test -n "$AWK"; then
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2841 $as_echo "$AWK" >&6; }
2842 else
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2844 $as_echo "no" >&6; }
2845 fi
2846
2847
2848 test -n "$AWK" && break
2849 done
2850
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2852 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2853 set x ${MAKE-make}
2854 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2855 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2856 $as_echo_n "(cached) " >&6
2857 else
2858 cat >conftest.make <<\_ACEOF
2859 SHELL = /bin/sh
2860 all:
2861 @echo '@@@%%%=$(MAKE)=@@@%%%'
2862 _ACEOF
2863 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2864 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2865 *@@@%%%=?*=@@@%%%*)
2866 eval ac_cv_prog_make_${ac_make}_set=yes;;
2867 *)
2868 eval ac_cv_prog_make_${ac_make}_set=no;;
2869 esac
2870 rm -f conftest.make
2871 fi
2872 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2874 $as_echo "yes" >&6; }
2875 SET_MAKE=
2876 else
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2878 $as_echo "no" >&6; }
2879 SET_MAKE="MAKE=${MAKE-make}"
2880 fi
2881
2882 rm -rf .tst 2>/dev/null
2883 mkdir .tst 2>/dev/null
2884 if test -d .tst; then
2885 am__leading_dot=.
2886 else
2887 am__leading_dot=_
2888 fi
2889 rmdir .tst 2>/dev/null
2890
2891 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2892 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2893 # is not polluted with repeated "-I."
2894 am__isrc=' -I$(srcdir)'
2895 # test to see if srcdir already configured
2896 if test -f $srcdir/config.status; then
2897 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2898 fi
2899 fi
2900
2901 # test whether we have cygpath
2902 if test -z "$CYGPATH_W"; then
2903 if (cygpath --version) >/dev/null 2>/dev/null; then
2904 CYGPATH_W='cygpath -w'
2905 else
2906 CYGPATH_W=echo
2907 fi
2908 fi
2909
2910
2911 # Define the identity of the package.
2912 PACKAGE='ircd-hybrid'
2913 VERSION='8beta1'
2914
2915
2916 cat >>confdefs.h <<_ACEOF
2917 #define PACKAGE "$PACKAGE"
2918 _ACEOF
2919
2920
2921 cat >>confdefs.h <<_ACEOF
2922 #define VERSION "$VERSION"
2923 _ACEOF
2924
2925 # Some tools Automake needs.
2926
2927 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2928
2929
2930 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2931
2932
2933 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2934
2935
2936 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2937
2938
2939 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2940
2941 # We need awk for the "check" target. The system "awk" is bad on
2942 # some platforms.
2943 # Always define AMTAR for backward compatibility. Yes, it's still used
2944 # in the wild :-( We should find a proper way to deprecate it ...
2945 AMTAR='$${TAR-tar}'
2946
2947 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2948
2949
2950
2951
2952
2953
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2955 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2956 # Check whether --enable-maintainer-mode was given.
2957 if test "${enable_maintainer_mode+set}" = set; then :
2958 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2959 else
2960 USE_MAINTAINER_MODE=no
2961 fi
2962
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2964 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2965 if test $USE_MAINTAINER_MODE = yes; then
2966 MAINTAINER_MODE_TRUE=
2967 MAINTAINER_MODE_FALSE='#'
2968 else
2969 MAINTAINER_MODE_TRUE='#'
2970 MAINTAINER_MODE_FALSE=
2971 fi
2972
2973 MAINT=$MAINTAINER_MODE_TRUE
2974
2975
2976 ac_config_headers="$ac_config_headers config.h"
2977
2978
2979
2980 # Checks for programs.
2981 DEPDIR="${am__leading_dot}deps"
2982
2983 ac_config_commands="$ac_config_commands depfiles"
2984
2985
2986 am_make=${MAKE-make}
2987 cat > confinc << 'END'
2988 am__doit:
2989 @echo this is the am__doit target
2990 .PHONY: am__doit
2991 END
2992 # If we don't find an include directive, just comment out the code.
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2994 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2995 am__include="#"
2996 am__quote=
2997 _am_result=none
2998 # First try GNU make style include.
2999 echo "include confinc" > confmf
3000 # Ignore all kinds of additional output from `make'.
3001 case `$am_make -s -f confmf 2> /dev/null` in #(
3002 *the\ am__doit\ target*)
3003 am__include=include
3004 am__quote=
3005 _am_result=GNU
3006 ;;
3007 esac
3008 # Now try BSD make style include.
3009 if test "$am__include" = "#"; then
3010 echo '.include "confinc"' > confmf
3011 case `$am_make -s -f confmf 2> /dev/null` in #(
3012 *the\ am__doit\ target*)
3013 am__include=.include
3014 am__quote="\""
3015 _am_result=BSD
3016 ;;
3017 esac
3018 fi
3019
3020
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3022 $as_echo "$_am_result" >&6; }
3023 rm -f confinc confmf
3024
3025 # Check whether --enable-dependency-tracking was given.
3026 if test "${enable_dependency_tracking+set}" = set; then :
3027 enableval=$enable_dependency_tracking;
3028 fi
3029
3030 if test "x$enable_dependency_tracking" != xno; then
3031 am_depcomp="$ac_aux_dir/depcomp"
3032 AMDEPBACKSLASH='\'
3033 am__nodep='_no'
3034 fi
3035 if test "x$enable_dependency_tracking" != xno; then
3036 AMDEP_TRUE=
3037 AMDEP_FALSE='#'
3038 else
3039 AMDEP_TRUE='#'
3040 AMDEP_FALSE=
3041 fi
3042
3043
3044 ac_ext=c
3045 ac_cpp='$CPP $CPPFLAGS'
3046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3049 if test -n "$ac_tool_prefix"; then
3050 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3051 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3053 $as_echo_n "checking for $ac_word... " >&6; }
3054 if ${ac_cv_prog_CC+:} false; then :
3055 $as_echo_n "(cached) " >&6
3056 else
3057 if test -n "$CC"; then
3058 ac_cv_prog_CC="$CC" # Let the user override the test.
3059 else
3060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3061 for as_dir in $PATH
3062 do
3063 IFS=$as_save_IFS
3064 test -z "$as_dir" && as_dir=.
3065 for ac_exec_ext in '' $ac_executable_extensions; do
3066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3067 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3069 break 2
3070 fi
3071 done
3072 done
3073 IFS=$as_save_IFS
3074
3075 fi
3076 fi
3077 CC=$ac_cv_prog_CC
3078 if test -n "$CC"; then
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3080 $as_echo "$CC" >&6; }
3081 else
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3083 $as_echo "no" >&6; }
3084 fi
3085
3086
3087 fi
3088 if test -z "$ac_cv_prog_CC"; then
3089 ac_ct_CC=$CC
3090 # Extract the first word of "gcc", so it can be a program name with args.
3091 set dummy gcc; ac_word=$2
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3093 $as_echo_n "checking for $ac_word... " >&6; }
3094 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3095 $as_echo_n "(cached) " >&6
3096 else
3097 if test -n "$ac_ct_CC"; then
3098 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3099 else
3100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3101 for as_dir in $PATH
3102 do
3103 IFS=$as_save_IFS
3104 test -z "$as_dir" && as_dir=.
3105 for ac_exec_ext in '' $ac_executable_extensions; do
3106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3107 ac_cv_prog_ac_ct_CC="gcc"
3108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3109 break 2
3110 fi
3111 done
3112 done
3113 IFS=$as_save_IFS
3114
3115 fi
3116 fi
3117 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3118 if test -n "$ac_ct_CC"; then
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3120 $as_echo "$ac_ct_CC" >&6; }
3121 else
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3123 $as_echo "no" >&6; }
3124 fi
3125
3126 if test "x$ac_ct_CC" = x; then
3127 CC=""
3128 else
3129 case $cross_compiling:$ac_tool_warned in
3130 yes:)
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3132 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3133 ac_tool_warned=yes ;;
3134 esac
3135 CC=$ac_ct_CC
3136 fi
3137 else
3138 CC="$ac_cv_prog_CC"
3139 fi
3140
3141 if test -z "$CC"; then
3142 if test -n "$ac_tool_prefix"; then
3143 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3144 set dummy ${ac_tool_prefix}cc; ac_word=$2
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3146 $as_echo_n "checking for $ac_word... " >&6; }
3147 if ${ac_cv_prog_CC+:} false; then :
3148 $as_echo_n "(cached) " >&6
3149 else
3150 if test -n "$CC"; then
3151 ac_cv_prog_CC="$CC" # Let the user override the test.
3152 else
3153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3154 for as_dir in $PATH
3155 do
3156 IFS=$as_save_IFS
3157 test -z "$as_dir" && as_dir=.
3158 for ac_exec_ext in '' $ac_executable_extensions; do
3159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3160 ac_cv_prog_CC="${ac_tool_prefix}cc"
3161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3162 break 2
3163 fi
3164 done
3165 done
3166 IFS=$as_save_IFS
3167
3168 fi
3169 fi
3170 CC=$ac_cv_prog_CC
3171 if test -n "$CC"; then
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3173 $as_echo "$CC" >&6; }
3174 else
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3176 $as_echo "no" >&6; }
3177 fi
3178
3179
3180 fi
3181 fi
3182 if test -z "$CC"; then
3183 # Extract the first word of "cc", so it can be a program name with args.
3184 set dummy cc; ac_word=$2
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3186 $as_echo_n "checking for $ac_word... " >&6; }
3187 if ${ac_cv_prog_CC+:} false; then :
3188 $as_echo_n "(cached) " >&6
3189 else
3190 if test -n "$CC"; then
3191 ac_cv_prog_CC="$CC" # Let the user override the test.
3192 else
3193 ac_prog_rejected=no
3194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3195 for as_dir in $PATH
3196 do
3197 IFS=$as_save_IFS
3198 test -z "$as_dir" && as_dir=.
3199 for ac_exec_ext in '' $ac_executable_extensions; do
3200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3201 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3202 ac_prog_rejected=yes
3203 continue
3204 fi
3205 ac_cv_prog_CC="cc"
3206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3207 break 2
3208 fi
3209 done
3210 done
3211 IFS=$as_save_IFS
3212
3213 if test $ac_prog_rejected = yes; then
3214 # We found a bogon in the path, so make sure we never use it.
3215 set dummy $ac_cv_prog_CC
3216 shift
3217 if test $# != 0; then
3218 # We chose a different compiler from the bogus one.
3219 # However, it has the same basename, so the bogon will be chosen
3220 # first if we set CC to just the basename; use the full file name.
3221 shift
3222 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3223 fi
3224 fi
3225 fi
3226 fi
3227 CC=$ac_cv_prog_CC
3228 if test -n "$CC"; then
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3230 $as_echo "$CC" >&6; }
3231 else
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3233 $as_echo "no" >&6; }
3234 fi
3235
3236
3237 fi
3238 if test -z "$CC"; then
3239 if test -n "$ac_tool_prefix"; then
3240 for ac_prog in cl.exe
3241 do
3242 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3243 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3245 $as_echo_n "checking for $ac_word... " >&6; }
3246 if ${ac_cv_prog_CC+:} false; then :
3247 $as_echo_n "(cached) " >&6
3248 else
3249 if test -n "$CC"; then
3250 ac_cv_prog_CC="$CC" # Let the user override the test.
3251 else
3252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3253 for as_dir in $PATH
3254 do
3255 IFS=$as_save_IFS
3256 test -z "$as_dir" && as_dir=.
3257 for ac_exec_ext in '' $ac_executable_extensions; do
3258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3259 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3261 break 2
3262 fi
3263 done
3264 done
3265 IFS=$as_save_IFS
3266
3267 fi
3268 fi
3269 CC=$ac_cv_prog_CC
3270 if test -n "$CC"; then
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3272 $as_echo "$CC" >&6; }
3273 else
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3275 $as_echo "no" >&6; }
3276 fi
3277
3278
3279 test -n "$CC" && break
3280 done
3281 fi
3282 if test -z "$CC"; then
3283 ac_ct_CC=$CC
3284 for ac_prog in cl.exe
3285 do
3286 # Extract the first word of "$ac_prog", so it can be a program name with args.
3287 set dummy $ac_prog; ac_word=$2
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3289 $as_echo_n "checking for $ac_word... " >&6; }
3290 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3291 $as_echo_n "(cached) " >&6
3292 else
3293 if test -n "$ac_ct_CC"; then
3294 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3295 else
3296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3297 for as_dir in $PATH
3298 do
3299 IFS=$as_save_IFS
3300 test -z "$as_dir" && as_dir=.
3301 for ac_exec_ext in '' $ac_executable_extensions; do
3302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3303 ac_cv_prog_ac_ct_CC="$ac_prog"
3304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3305 break 2
3306 fi
3307 done
3308 done
3309 IFS=$as_save_IFS
3310
3311 fi
3312 fi
3313 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3314 if test -n "$ac_ct_CC"; then
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3316 $as_echo "$ac_ct_CC" >&6; }
3317 else
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3319 $as_echo "no" >&6; }
3320 fi
3321
3322
3323 test -n "$ac_ct_CC" && break
3324 done
3325
3326 if test "x$ac_ct_CC" = x; then
3327 CC=""
3328 else
3329 case $cross_compiling:$ac_tool_warned in
3330 yes:)
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3332 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3333 ac_tool_warned=yes ;;
3334 esac
3335 CC=$ac_ct_CC
3336 fi
3337 fi
3338
3339 fi
3340
3341
3342 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3343 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3344 as_fn_error $? "no acceptable C compiler found in \$PATH
3345 See \`config.log' for more details" "$LINENO" 5; }
3346
3347 # Provide some information about the compiler.
3348 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3349 set X $ac_compile
3350 ac_compiler=$2
3351 for ac_option in --version -v -V -qversion; do
3352 { { ac_try="$ac_compiler $ac_option >&5"
3353 case "(($ac_try" in
3354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3355 *) ac_try_echo=$ac_try;;
3356 esac
3357 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3358 $as_echo "$ac_try_echo"; } >&5
3359 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3360 ac_status=$?
3361 if test -s conftest.err; then
3362 sed '10a\
3363 ... rest of stderr output deleted ...
3364 10q' conftest.err >conftest.er1
3365 cat conftest.er1 >&5
3366 fi
3367 rm -f conftest.er1 conftest.err
3368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3369 test $ac_status = 0; }
3370 done
3371
3372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3373 /* end confdefs.h. */
3374
3375 int
3376 main ()
3377 {
3378
3379 ;
3380 return 0;
3381 }
3382 _ACEOF
3383 ac_clean_files_save=$ac_clean_files
3384 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3385 # Try to create an executable without -o first, disregard a.out.
3386 # It will help us diagnose broken compilers, and finding out an intuition
3387 # of exeext.
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3389 $as_echo_n "checking whether the C compiler works... " >&6; }
3390 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3391
3392 # The possible output files:
3393 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3394
3395 ac_rmfiles=
3396 for ac_file in $ac_files
3397 do
3398 case $ac_file in
3399 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3400 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3401 esac
3402 done
3403 rm -f $ac_rmfiles
3404
3405 if { { ac_try="$ac_link_default"
3406 case "(($ac_try" in
3407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3408 *) ac_try_echo=$ac_try;;
3409 esac
3410 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3411 $as_echo "$ac_try_echo"; } >&5
3412 (eval "$ac_link_default") 2>&5
3413 ac_status=$?
3414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3415 test $ac_status = 0; }; then :
3416 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3417 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3418 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3419 # so that the user can short-circuit this test for compilers unknown to
3420 # Autoconf.
3421 for ac_file in $ac_files ''
3422 do
3423 test -f "$ac_file" || continue
3424 case $ac_file in
3425 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3426 ;;
3427 [ab].out )
3428 # We found the default executable, but exeext='' is most
3429 # certainly right.
3430 break;;
3431 *.* )
3432 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3433 then :; else
3434 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3435 fi
3436 # We set ac_cv_exeext here because the later test for it is not
3437 # safe: cross compilers may not add the suffix if given an `-o'
3438 # argument, so we may need to know it at that point already.
3439 # Even if this section looks crufty: it has the advantage of
3440 # actually working.
3441 break;;
3442 * )
3443 break;;
3444 esac
3445 done
3446 test "$ac_cv_exeext" = no && ac_cv_exeext=
3447
3448 else
3449 ac_file=''
3450 fi
3451 if test -z "$ac_file"; then :
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3453 $as_echo "no" >&6; }
3454 $as_echo "$as_me: failed program was:" >&5
3455 sed 's/^/| /' conftest.$ac_ext >&5
3456
3457 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3458 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3459 as_fn_error 77 "C compiler cannot create executables
3460 See \`config.log' for more details" "$LINENO" 5; }
3461 else
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3463 $as_echo "yes" >&6; }
3464 fi
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3466 $as_echo_n "checking for C compiler default output file name... " >&6; }
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3468 $as_echo "$ac_file" >&6; }
3469 ac_exeext=$ac_cv_exeext
3470
3471 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3472 ac_clean_files=$ac_clean_files_save
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3474 $as_echo_n "checking for suffix of executables... " >&6; }
3475 if { { ac_try="$ac_link"
3476 case "(($ac_try" in
3477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3478 *) ac_try_echo=$ac_try;;
3479 esac
3480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3481 $as_echo "$ac_try_echo"; } >&5
3482 (eval "$ac_link") 2>&5
3483 ac_status=$?
3484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3485 test $ac_status = 0; }; then :
3486 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3487 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3488 # work properly (i.e., refer to `conftest.exe'), while it won't with
3489 # `rm'.
3490 for ac_file in conftest.exe conftest conftest.*; do
3491 test -f "$ac_file" || continue
3492 case $ac_file in
3493 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3494 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3495 break;;
3496 * ) break;;
3497 esac
3498 done
3499 else
3500 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3501 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3502 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3503 See \`config.log' for more details" "$LINENO" 5; }
3504 fi
3505 rm -f conftest conftest$ac_cv_exeext
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3507 $as_echo "$ac_cv_exeext" >&6; }
3508
3509 rm -f conftest.$ac_ext
3510 EXEEXT=$ac_cv_exeext
3511 ac_exeext=$EXEEXT
3512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3513 /* end confdefs.h. */
3514 #include <stdio.h>
3515 int
3516 main ()
3517 {
3518 FILE *f = fopen ("conftest.out", "w");
3519 return ferror (f) || fclose (f) != 0;
3520
3521 ;
3522 return 0;
3523 }
3524 _ACEOF
3525 ac_clean_files="$ac_clean_files conftest.out"
3526 # Check that the compiler produces executables we can run. If not, either
3527 # the compiler is broken, or we cross compile.
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3529 $as_echo_n "checking whether we are cross compiling... " >&6; }
3530 if test "$cross_compiling" != yes; then
3531 { { ac_try="$ac_link"
3532 case "(($ac_try" in
3533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3534 *) ac_try_echo=$ac_try;;
3535 esac
3536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3537 $as_echo "$ac_try_echo"; } >&5
3538 (eval "$ac_link") 2>&5
3539 ac_status=$?
3540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3541 test $ac_status = 0; }
3542 if { ac_try='./conftest$ac_cv_exeext'
3543 { { case "(($ac_try" in
3544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3545 *) ac_try_echo=$ac_try;;
3546 esac
3547 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3548 $as_echo "$ac_try_echo"; } >&5
3549 (eval "$ac_try") 2>&5
3550 ac_status=$?
3551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3552 test $ac_status = 0; }; }; then
3553 cross_compiling=no
3554 else
3555 if test "$cross_compiling" = maybe; then
3556 cross_compiling=yes
3557 else
3558 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3559 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3560 as_fn_error $? "cannot run C compiled programs.
3561 If you meant to cross compile, use \`--host'.
3562 See \`config.log' for more details" "$LINENO" 5; }
3563 fi
3564 fi
3565 fi
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3567 $as_echo "$cross_compiling" >&6; }
3568
3569 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3570 ac_clean_files=$ac_clean_files_save
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3572 $as_echo_n "checking for suffix of object files... " >&6; }
3573 if ${ac_cv_objext+:} false; then :
3574 $as_echo_n "(cached) " >&6
3575 else
3576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3577 /* end confdefs.h. */
3578
3579 int
3580 main ()
3581 {
3582
3583 ;
3584 return 0;
3585 }
3586 _ACEOF
3587 rm -f conftest.o conftest.obj
3588 if { { ac_try="$ac_compile"
3589 case "(($ac_try" in
3590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3591 *) ac_try_echo=$ac_try;;
3592 esac
3593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3594 $as_echo "$ac_try_echo"; } >&5
3595 (eval "$ac_compile") 2>&5
3596 ac_status=$?
3597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3598 test $ac_status = 0; }; then :
3599 for ac_file in conftest.o conftest.obj conftest.*; do
3600 test -f "$ac_file" || continue;
3601 case $ac_file in
3602 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3603 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3604 break;;
3605 esac
3606 done
3607 else
3608 $as_echo "$as_me: failed program was:" >&5
3609 sed 's/^/| /' conftest.$ac_ext >&5
3610
3611 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3612 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3613 as_fn_error $? "cannot compute suffix of object files: cannot compile
3614 See \`config.log' for more details" "$LINENO" 5; }
3615 fi
3616 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3617 fi
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3619 $as_echo "$ac_cv_objext" >&6; }
3620 OBJEXT=$ac_cv_objext
3621 ac_objext=$OBJEXT
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3623 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3624 if ${ac_cv_c_compiler_gnu+:} false; then :
3625 $as_echo_n "(cached) " >&6
3626 else
3627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3628 /* end confdefs.h. */
3629
3630 int
3631 main ()
3632 {
3633 #ifndef __GNUC__
3634 choke me
3635 #endif
3636
3637 ;
3638 return 0;
3639 }
3640 _ACEOF
3641 if ac_fn_c_try_compile "$LINENO"; then :
3642 ac_compiler_gnu=yes
3643 else
3644 ac_compiler_gnu=no
3645 fi
3646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3647 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3648
3649 fi
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3651 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3652 if test $ac_compiler_gnu = yes; then
3653 GCC=yes
3654 else
3655 GCC=
3656 fi
3657 ac_test_CFLAGS=${CFLAGS+set}
3658 ac_save_CFLAGS=$CFLAGS
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3660 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3661 if ${ac_cv_prog_cc_g+:} false; then :
3662 $as_echo_n "(cached) " >&6
3663 else
3664 ac_save_c_werror_flag=$ac_c_werror_flag
3665 ac_c_werror_flag=yes
3666 ac_cv_prog_cc_g=no
3667 CFLAGS="-g"
3668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3669 /* end confdefs.h. */
3670
3671 int
3672 main ()
3673 {
3674
3675 ;
3676 return 0;
3677 }
3678 _ACEOF
3679 if ac_fn_c_try_compile "$LINENO"; then :
3680 ac_cv_prog_cc_g=yes
3681 else
3682 CFLAGS=""
3683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3684 /* end confdefs.h. */
3685
3686 int
3687 main ()
3688 {
3689
3690 ;
3691 return 0;
3692 }
3693 _ACEOF
3694 if ac_fn_c_try_compile "$LINENO"; then :
3695
3696 else
3697 ac_c_werror_flag=$ac_save_c_werror_flag
3698 CFLAGS="-g"
3699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3700 /* end confdefs.h. */
3701
3702 int
3703 main ()
3704 {
3705
3706 ;
3707 return 0;
3708 }
3709 _ACEOF
3710 if ac_fn_c_try_compile "$LINENO"; then :
3711 ac_cv_prog_cc_g=yes
3712 fi
3713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3714 fi
3715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3716 fi
3717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3718 ac_c_werror_flag=$ac_save_c_werror_flag
3719 fi
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3721 $as_echo "$ac_cv_prog_cc_g" >&6; }
3722 if test "$ac_test_CFLAGS" = set; then
3723 CFLAGS=$ac_save_CFLAGS
3724 elif test $ac_cv_prog_cc_g = yes; then
3725 if test "$GCC" = yes; then
3726 CFLAGS="-g -O2"
3727 else
3728 CFLAGS="-g"
3729 fi
3730 else
3731 if test "$GCC" = yes; then
3732 CFLAGS="-O2"
3733 else
3734 CFLAGS=
3735 fi
3736 fi
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3738 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3739 if ${ac_cv_prog_cc_c89+:} false; then :
3740 $as_echo_n "(cached) " >&6
3741 else
3742 ac_cv_prog_cc_c89=no
3743 ac_save_CC=$CC
3744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3745 /* end confdefs.h. */
3746 #include <stdarg.h>
3747 #include <stdio.h>
3748 #include <sys/types.h>
3749 #include <sys/stat.h>
3750 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3751 struct buf { int x; };
3752 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3753 static char *e (p, i)
3754 char **p;
3755 int i;
3756 {
3757 return p[i];
3758 }
3759 static char *f (char * (*g) (char **, int), char **p, ...)
3760 {
3761 char *s;
3762 va_list v;
3763 va_start (v,p);
3764 s = g (p, va_arg (v,int));
3765 va_end (v);
3766 return s;
3767 }
3768
3769 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3770 function prototypes and stuff, but not '\xHH' hex character constants.
3771 These don't provoke an error unfortunately, instead are silently treated
3772 as 'x'. The following induces an error, until -std is added to get
3773 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3774 array size at least. It's necessary to write '\x00'==0 to get something
3775 that's true only with -std. */
3776 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3777
3778 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3779 inside strings and character constants. */
3780 #define FOO(x) 'x'
3781 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3782
3783 int test (int i, double x);
3784 struct s1 {int (*f) (int a);};
3785 struct s2 {int (*f) (double a);};
3786 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3787 int argc;
3788 char **argv;
3789 int
3790 main ()
3791 {
3792 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3793 ;
3794 return 0;
3795 }
3796 _ACEOF
3797 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3798 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3799 do
3800 CC="$ac_save_CC $ac_arg"
3801 if ac_fn_c_try_compile "$LINENO"; then :
3802 ac_cv_prog_cc_c89=$ac_arg
3803 fi
3804 rm -f core conftest.err conftest.$ac_objext
3805 test "x$ac_cv_prog_cc_c89" != "xno" && break
3806 done
3807 rm -f conftest.$ac_ext
3808 CC=$ac_save_CC
3809
3810 fi
3811 # AC_CACHE_VAL
3812 case "x$ac_cv_prog_cc_c89" in
3813 x)
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3815 $as_echo "none needed" >&6; } ;;
3816 xno)
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3818 $as_echo "unsupported" >&6; } ;;
3819 *)
3820 CC="$CC $ac_cv_prog_cc_c89"
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3822 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3823 esac
3824 if test "x$ac_cv_prog_cc_c89" != xno; then :
3825
3826 fi
3827
3828 ac_ext=c
3829 ac_cpp='$CPP $CPPFLAGS'
3830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3833
3834 depcc="$CC" am_compiler_list=
3835
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3837 $as_echo_n "checking dependency style of $depcc... " >&6; }
3838 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3839 $as_echo_n "(cached) " >&6
3840 else
3841 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3842 # We make a subdir and do the tests there. Otherwise we can end up
3843 # making bogus files that we don't know about and never remove. For
3844 # instance it was reported that on HP-UX the gcc test will end up
3845 # making a dummy file named `D' -- because `-MD' means `put the output
3846 # in D'.
3847 rm -rf conftest.dir
3848 mkdir conftest.dir
3849 # Copy depcomp to subdir because otherwise we won't find it if we're
3850 # using a relative directory.
3851 cp "$am_depcomp" conftest.dir
3852 cd conftest.dir
3853 # We will build objects and dependencies in a subdirectory because
3854 # it helps to detect inapplicable dependency modes. For instance
3855 # both Tru64's cc and ICC support -MD to output dependencies as a
3856 # side effect of compilation, but ICC will put the dependencies in
3857 # the current directory while Tru64 will put them in the object
3858 # directory.
3859 mkdir sub
3860
3861 am_cv_CC_dependencies_compiler_type=none
3862 if test "$am_compiler_list" = ""; then
3863 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3864 fi
3865 am__universal=false
3866 case " $depcc " in #(
3867 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3868 esac
3869
3870 for depmode in $am_compiler_list; do
3871 # Setup a source with many dependencies, because some compilers
3872 # like to wrap large dependency lists on column 80 (with \), and
3873 # we should not choose a depcomp mode which is confused by this.
3874 #
3875 # We need to recreate these files for each test, as the compiler may
3876 # overwrite some of them when testing with obscure command lines.
3877 # This happens at least with the AIX C compiler.
3878 : > sub/conftest.c
3879 for i in 1 2 3 4 5 6; do
3880 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3881 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3882 # Solaris 8's {/usr,}/bin/sh.
3883 touch sub/conftst$i.h
3884 done
3885 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3886
3887 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3888 # mode. It turns out that the SunPro C++ compiler does not properly
3889 # handle `-M -o', and we need to detect this. Also, some Intel
3890 # versions had trouble with output in subdirs
3891 am__obj=sub/conftest.${OBJEXT-o}
3892 am__minus_obj="-o $am__obj"
3893 case $depmode in
3894 gcc)
3895 # This depmode causes a compiler race in universal mode.
3896 test "$am__universal" = false || continue
3897 ;;
3898 nosideeffect)
3899 # after this tag, mechanisms are not by side-effect, so they'll
3900 # only be used when explicitly requested
3901 if test "x$enable_dependency_tracking" = xyes; then
3902 continue
3903 else
3904 break
3905 fi
3906 ;;
3907 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3908 # This compiler won't grok `-c -o', but also, the minuso test has
3909 # not run yet. These depmodes are late enough in the game, and
3910 # so weak that their functioning should not be impacted.
3911 am__obj=conftest.${OBJEXT-o}
3912 am__minus_obj=
3913 ;;
3914 none) break ;;
3915 esac
3916 if depmode=$depmode \
3917 source=sub/conftest.c object=$am__obj \
3918 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3919 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3920 >/dev/null 2>conftest.err &&
3921 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3922 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3923 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3924 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3925 # icc doesn't choke on unknown options, it will just issue warnings
3926 # or remarks (even with -Werror). So we grep stderr for any message
3927 # that says an option was ignored or not supported.
3928 # When given -MP, icc 7.0 and 7.1 complain thusly:
3929 # icc: Command line warning: ignoring option '-M'; no argument required
3930 # The diagnosis changed in icc 8.0:
3931 # icc: Command line remark: option '-MP' not supported
3932 if (grep 'ignoring option' conftest.err ||
3933 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3934 am_cv_CC_dependencies_compiler_type=$depmode
3935 break
3936 fi
3937 fi
3938 done
3939
3940 cd ..
3941 rm -rf conftest.dir
3942 else
3943 am_cv_CC_dependencies_compiler_type=none
3944 fi
3945
3946 fi
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3948 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3949 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3950
3951 if
3952 test "x$enable_dependency_tracking" != xno \
3953 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3954 am__fastdepCC_TRUE=
3955 am__fastdepCC_FALSE='#'
3956 else
3957 am__fastdepCC_TRUE='#'
3958 am__fastdepCC_FALSE=
3959 fi
3960
3961
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3963 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3964 if ${ac_cv_prog_cc_c99+:} false; then :
3965 $as_echo_n "(cached) " >&6
3966 else
3967 ac_cv_prog_cc_c99=no
3968 ac_save_CC=$CC
3969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3970 /* end confdefs.h. */
3971 #include <stdarg.h>
3972 #include <stdbool.h>
3973 #include <stdlib.h>
3974 #include <wchar.h>
3975 #include <stdio.h>
3976
3977 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3978 #define debug(...) fprintf (stderr, __VA_ARGS__)
3979 #define showlist(...) puts (#__VA_ARGS__)
3980 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3981 static void
3982 test_varargs_macros (void)
3983 {
3984 int x = 1234;
3985 int y = 5678;
3986 debug ("Flag");
3987 debug ("X = %d\n", x);
3988 showlist (The first, second, and third items.);
3989 report (x>y, "x is %d but y is %d", x, y);
3990 }
3991
3992 // Check long long types.
3993 #define BIG64 18446744073709551615ull
3994 #define BIG32 4294967295ul
3995 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3996 #if !BIG_OK
3997 your preprocessor is broken;
3998 #endif
3999 #if BIG_OK
4000 #else
4001 your preprocessor is broken;
4002 #endif
4003 static long long int bignum = -9223372036854775807LL;
4004 static unsigned long long int ubignum = BIG64;
4005
4006 struct incomplete_array
4007 {
4008 int datasize;
4009 double data[];
4010 };
4011
4012 struct named_init {
4013 int number;
4014 const wchar_t *name;
4015 double average;
4016 };
4017
4018 typedef const char *ccp;
4019
4020 static inline int
4021 test_restrict (ccp restrict text)
4022 {
4023 // See if C++-style comments work.
4024 // Iterate through items via the restricted pointer.
4025 // Also check for declarations in for loops.
4026 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4027 continue;
4028 return 0;
4029 }
4030
4031 // Check varargs and va_copy.
4032 static void
4033 test_varargs (const char *format, ...)
4034 {
4035 va_list args;
4036 va_start (args, format);
4037 va_list args_copy;
4038 va_copy (args_copy, args);
4039
4040 const char *str;
4041 int number;
4042 float fnumber;
4043
4044 while (*format)
4045 {
4046 switch (*format++)
4047 {
4048 case 's': // string
4049 str = va_arg (args_copy, const char *);
4050 break;
4051 case 'd': // int
4052 number = va_arg (args_copy, int);
4053 break;
4054 case 'f': // float
4055 fnumber = va_arg (args_copy, double);
4056 break;
4057 default:
4058 break;
4059 }
4060 }
4061 va_end (args_copy);
4062 va_end (args);
4063 }
4064
4065 int
4066 main ()
4067 {
4068
4069 // Check bool.
4070 _Bool success = false;
4071
4072 // Check restrict.
4073 if (test_restrict ("String literal") == 0)
4074 success = true;
4075 char *restrict newvar = "Another string";
4076
4077 // Check varargs.
4078 test_varargs ("s, d' f .", "string", 65, 34.234);
4079 test_varargs_macros ();
4080
4081 // Check flexible array members.
4082 struct incomplete_array *ia =
4083 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4084 ia->datasize = 10;
4085 for (int i = 0; i < ia->datasize; ++i)
4086 ia->data[i] = i * 1.234;
4087
4088 // Check named initializers.
4089 struct named_init ni = {
4090 .number = 34,
4091 .name = L"Test wide string",
4092 .average = 543.34343,
4093 };
4094
4095 ni.number = 58;
4096
4097 int dynamic_array[ni.number];
4098 dynamic_array[ni.number - 1] = 543;
4099
4100 // work around unused variable warnings
4101 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4102 || dynamic_array[ni.number - 1] != 543);
4103
4104 ;
4105 return 0;
4106 }
4107 _ACEOF
4108 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4109 do
4110 CC="$ac_save_CC $ac_arg"
4111 if ac_fn_c_try_compile "$LINENO"; then :
4112 ac_cv_prog_cc_c99=$ac_arg
4113 fi
4114 rm -f core conftest.err conftest.$ac_objext
4115 test "x$ac_cv_prog_cc_c99" != "xno" && break
4116 done
4117 rm -f conftest.$ac_ext
4118 CC=$ac_save_CC
4119
4120 fi
4121 # AC_CACHE_VAL
4122 case "x$ac_cv_prog_cc_c99" in
4123 x)
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4125 $as_echo "none needed" >&6; } ;;
4126 xno)
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4128 $as_echo "unsupported" >&6; } ;;
4129 *)
4130 CC="$CC $ac_cv_prog_cc_c99"
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4132 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4133 esac
4134 if test "x$ac_cv_prog_cc_c99" != xno; then :
4135
4136 fi
4137
4138
4139 if test "$ac_cv_prog_cc_c99" = "no"; then :
4140 as_fn_error $? "no C99 compiler found. Aborting." "$LINENO" 5
4141 fi
4142 for ac_prog in 'bison -y' byacc
4143 do
4144 # Extract the first word of "$ac_prog", so it can be a program name with args.
4145 set dummy $ac_prog; ac_word=$2
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4147 $as_echo_n "checking for $ac_word... " >&6; }
4148 if ${ac_cv_prog_YACC+:} false; then :
4149 $as_echo_n "(cached) " >&6
4150 else
4151 if test -n "$YACC"; then
4152 ac_cv_prog_YACC="$YACC" # Let the user override the test.
4153 else
4154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4155 for as_dir in $PATH
4156 do
4157 IFS=$as_save_IFS
4158 test -z "$as_dir" && as_dir=.
4159 for ac_exec_ext in '' $ac_executable_extensions; do
4160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4161 ac_cv_prog_YACC="$ac_prog"
4162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4163 break 2
4164 fi
4165 done
4166 done
4167 IFS=$as_save_IFS
4168
4169 fi
4170 fi
4171 YACC=$ac_cv_prog_YACC
4172 if test -n "$YACC"; then
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
4174 $as_echo "$YACC" >&6; }
4175 else
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4177 $as_echo "no" >&6; }
4178 fi
4179
4180
4181 test -n "$YACC" && break
4182 done
4183 test -n "$YACC" || YACC="yacc"
4184
4185
4186 for ac_prog in flex lex
4187 do
4188 # Extract the first word of "$ac_prog", so it can be a program name with args.
4189 set dummy $ac_prog; ac_word=$2
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4191 $as_echo_n "checking for $ac_word... " >&6; }
4192 if ${ac_cv_prog_LEX+:} false; then :
4193 $as_echo_n "(cached) " >&6
4194 else
4195 if test -n "$LEX"; then
4196 ac_cv_prog_LEX="$LEX" # Let the user override the test.
4197 else
4198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4199 for as_dir in $PATH
4200 do
4201 IFS=$as_save_IFS
4202 test -z "$as_dir" && as_dir=.
4203 for ac_exec_ext in '' $ac_executable_extensions; do
4204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4205 ac_cv_prog_LEX="$ac_prog"
4206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4207 break 2
4208 fi
4209 done
4210 done
4211 IFS=$as_save_IFS
4212
4213 fi
4214 fi
4215 LEX=$ac_cv_prog_LEX
4216 if test -n "$LEX"; then
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
4218 $as_echo "$LEX" >&6; }
4219 else
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4221 $as_echo "no" >&6; }
4222 fi
4223
4224
4225 test -n "$LEX" && break
4226 done
4227 test -n "$LEX" || LEX=":"
4228
4229 if test "x$LEX" != "x:"; then
4230 cat >conftest.l <<_ACEOF
4231 %%
4232 a { ECHO; }
4233 b { REJECT; }
4234 c { yymore (); }
4235 d { yyless (1); }
4236 e { yyless (input () != 0); }
4237 f { unput (yytext[0]); }
4238 . { BEGIN INITIAL; }
4239 %%
4240 #ifdef YYTEXT_POINTER
4241 extern char *yytext;
4242 #endif
4243 int
4244 main (void)
4245 {
4246 return ! yylex () + ! yywrap ();
4247 }
4248 _ACEOF
4249 { { ac_try="$LEX conftest.l"
4250 case "(($ac_try" in
4251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4252 *) ac_try_echo=$ac_try;;
4253 esac
4254 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4255 $as_echo "$ac_try_echo"; } >&5
4256 (eval "$LEX conftest.l") 2>&5
4257 ac_status=$?
4258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4259 test $ac_status = 0; }
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4261 $as_echo_n "checking lex output file root... " >&6; }
4262 if ${ac_cv_prog_lex_root+:} false; then :
4263 $as_echo_n "(cached) " >&6
4264 else
4265
4266 if test -f lex.yy.c; then
4267 ac_cv_prog_lex_root=lex.yy
4268 elif test -f lexyy.c; then
4269 ac_cv_prog_lex_root=lexyy
4270 else
4271 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4272 fi
4273 fi
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
4275 $as_echo "$ac_cv_prog_lex_root" >&6; }
4276 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4277
4278 if test -z "${LEXLIB+set}"; then
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4280 $as_echo_n "checking lex library... " >&6; }
4281 if ${ac_cv_lib_lex+:} false; then :
4282 $as_echo_n "(cached) " >&6
4283 else
4284
4285 ac_save_LIBS=$LIBS
4286 ac_cv_lib_lex='none needed'
4287 for ac_lib in '' -lfl -ll; do
4288 LIBS="$ac_lib $ac_save_LIBS"
4289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4290 /* end confdefs.h. */
4291 `cat $LEX_OUTPUT_ROOT.c`
4292 _ACEOF
4293 if ac_fn_c_try_link "$LINENO"; then :
4294 ac_cv_lib_lex=$ac_lib
4295 fi
4296 rm -f core conftest.err conftest.$ac_objext \
4297 conftest$ac_exeext conftest.$ac_ext
4298 test "$ac_cv_lib_lex" != 'none needed' && break
4299 done
4300 LIBS=$ac_save_LIBS
4301
4302 fi
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
4304 $as_echo "$ac_cv_lib_lex" >&6; }
4305 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
4306 fi
4307
4308
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4310 $as_echo_n "checking whether yytext is a pointer... " >&6; }
4311 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4312 $as_echo_n "(cached) " >&6
4313 else
4314 # POSIX says lex can declare yytext either as a pointer or an array; the
4315 # default is implementation-dependent. Figure out which it is, since
4316 # not all implementations provide the %pointer and %array declarations.
4317 ac_cv_prog_lex_yytext_pointer=no
4318 ac_save_LIBS=$LIBS
4319 LIBS="$LEXLIB $ac_save_LIBS"
4320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4321 /* end confdefs.h. */
4322
4323 #define YYTEXT_POINTER 1
4324 `cat $LEX_OUTPUT_ROOT.c`
4325 _ACEOF
4326 if ac_fn_c_try_link "$LINENO"; then :
4327 ac_cv_prog_lex_yytext_pointer=yes
4328 fi
4329 rm -f core conftest.err conftest.$ac_objext \
4330 conftest$ac_exeext conftest.$ac_ext
4331 LIBS=$ac_save_LIBS
4332
4333 fi
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
4335 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
4336 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4337
4338 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
4339
4340 fi
4341 rm -f conftest.l $LEX_OUTPUT_ROOT.c
4342
4343 fi
4344 if test "$LEX" = :; then
4345 LEX=${am_missing_run}flex
4346 fi
4347
4348
4349 # Initializing libtool.
4350
4351
4352
4353
4354
4355
4356
4357 case `pwd` in
4358 *\ * | *\ *)
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4360 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4361 esac
4362
4363
4364
4365 macro_version='2.4.2'
4366 macro_revision='1.3337'
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380 ltmain="$ac_aux_dir/ltmain.sh"
4381
4382 # Make sure we can run config.sub.
4383 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4384 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4385
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4387 $as_echo_n "checking build system type... " >&6; }
4388 if ${ac_cv_build+:} false; then :
4389 $as_echo_n "(cached) " >&6
4390 else
4391 ac_build_alias=$build_alias
4392 test "x$ac_build_alias" = x &&
4393 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4394 test "x$ac_build_alias" = x &&
4395 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4396 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4397 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4398
4399 fi
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4401 $as_echo "$ac_cv_build" >&6; }
4402 case $ac_cv_build in
4403 *-*-*) ;;
4404 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4405 esac
4406 build=$ac_cv_build
4407 ac_save_IFS=$IFS; IFS='-'
4408 set x $ac_cv_build
4409 shift
4410 build_cpu=$1
4411 build_vendor=$2
4412 shift; shift
4413 # Remember, the first character of IFS is used to create $*,
4414 # except with old shells:
4415 build_os=$*
4416 IFS=$ac_save_IFS
4417 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4418
4419
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4421 $as_echo_n "checking host system type... " >&6; }
4422 if ${ac_cv_host+:} false; then :
4423 $as_echo_n "(cached) " >&6
4424 else
4425 if test "x$host_alias" = x; then
4426 ac_cv_host=$ac_cv_build
4427 else
4428 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4429 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4430 fi
4431
4432 fi
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4434 $as_echo "$ac_cv_host" >&6; }
4435 case $ac_cv_host in
4436 *-*-*) ;;
4437 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4438 esac
4439 host=$ac_cv_host
4440 ac_save_IFS=$IFS; IFS='-'
4441 set x $ac_cv_host
4442 shift
4443 host_cpu=$1
4444 host_vendor=$2
4445 shift; shift
4446 # Remember, the first character of IFS is used to create $*,
4447 # except with old shells:
4448 host_os=$*
4449 IFS=$ac_save_IFS
4450 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4451
4452
4453 # Backslashify metacharacters that are still active within
4454 # double-quoted strings.
4455 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4456
4457 # Same as above, but do not quote variable references.
4458 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4459
4460 # Sed substitution to delay expansion of an escaped shell variable in a
4461 # double_quote_subst'ed string.
4462 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4463
4464 # Sed substitution to delay expansion of an escaped single quote.
4465 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4466
4467 # Sed substitution to avoid accidental globbing in evaled expressions
4468 no_glob_subst='s/\*/\\\*/g'
4469
4470 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4471 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4472 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4473
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4475 $as_echo_n "checking how to print strings... " >&6; }
4476 # Test print first, because it will be a builtin if present.
4477 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4478 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4479 ECHO='print -r --'
4480 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4481 ECHO='printf %s\n'
4482 else
4483 # Use this function as a fallback that always works.
4484 func_fallback_echo ()
4485 {
4486 eval 'cat <<_LTECHO_EOF
4487 $1
4488 _LTECHO_EOF'
4489 }
4490 ECHO='func_fallback_echo'
4491 fi
4492
4493 # func_echo_all arg...
4494 # Invoke $ECHO with all args, space-separated.
4495 func_echo_all ()
4496 {
4497 $ECHO ""
4498 }
4499
4500 case "$ECHO" in
4501 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4502 $as_echo "printf" >&6; } ;;
4503 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4504 $as_echo "print -r" >&6; } ;;
4505 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4506 $as_echo "cat" >&6; } ;;
4507 esac
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4523 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4524 if ${ac_cv_path_SED+:} false; then :
4525 $as_echo_n "(cached) " >&6
4526 else
4527 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4528 for ac_i in 1 2 3 4 5 6 7; do
4529 ac_script="$ac_script$as_nl$ac_script"
4530 done
4531 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4532 { ac_script=; unset ac_script;}
4533 if test -z "$SED"; then
4534 ac_path_SED_found=false
4535 # Loop through the user's path and test for each of PROGNAME-LIST
4536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4537 for as_dir in $PATH
4538 do
4539 IFS=$as_save_IFS
4540 test -z "$as_dir" && as_dir=.
4541 for ac_prog in sed gsed; do
4542 for ac_exec_ext in '' $ac_executable_extensions; do
4543 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4544 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4545 # Check for GNU ac_path_SED and select it if it is found.
4546 # Check for GNU $ac_path_SED
4547 case `"$ac_path_SED" --version 2>&1` in
4548 *GNU*)
4549 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4550 *)
4551 ac_count=0
4552 $as_echo_n 0123456789 >"conftest.in"
4553 while :
4554 do
4555 cat "conftest.in" "conftest.in" >"conftest.tmp"
4556 mv "conftest.tmp" "conftest.in"
4557 cp "conftest.in" "conftest.nl"
4558 $as_echo '' >> "conftest.nl"
4559 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4560 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4561 as_fn_arith $ac_count + 1 && ac_count=$as_val
4562 if test $ac_count -gt ${ac_path_SED_max-0}; then
4563 # Best one so far, save it but keep looking for a better one
4564 ac_cv_path_SED="$ac_path_SED"
4565 ac_path_SED_max=$ac_count
4566 fi
4567 # 10*(2^10) chars as input seems more than enough
4568 test $ac_count -gt 10 && break
4569 done
4570 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4571 esac
4572
4573 $ac_path_SED_found && break 3
4574 done
4575 done
4576 done
4577 IFS=$as_save_IFS
4578 if test -z "$ac_cv_path_SED"; then
4579 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4580 fi
4581 else
4582 ac_cv_path_SED=$SED
4583 fi
4584
4585 fi
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4587 $as_echo "$ac_cv_path_SED" >&6; }
4588 SED="$ac_cv_path_SED"
4589 rm -f conftest.sed
4590
4591 test -z "$SED" && SED=sed
4592 Xsed="$SED -e 1s/^X//"
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4605 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4606 if ${ac_cv_path_GREP+:} false; then :
4607 $as_echo_n "(cached) " >&6
4608 else
4609 if test -z "$GREP"; then
4610 ac_path_GREP_found=false
4611 # Loop through the user's path and test for each of PROGNAME-LIST
4612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4613 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4614 do
4615 IFS=$as_save_IFS
4616 test -z "$as_dir" && as_dir=.
4617 for ac_prog in grep ggrep; do
4618 for ac_exec_ext in '' $ac_executable_extensions; do
4619 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4620 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4621 # Check for GNU ac_path_GREP and select it if it is found.
4622 # Check for GNU $ac_path_GREP
4623 case `"$ac_path_GREP" --version 2>&1` in
4624 *GNU*)
4625 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4626 *)
4627 ac_count=0
4628 $as_echo_n 0123456789 >"conftest.in"
4629 while :
4630 do
4631 cat "conftest.in" "conftest.in" >"conftest.tmp"
4632 mv "conftest.tmp" "conftest.in"
4633 cp "conftest.in" "conftest.nl"
4634 $as_echo 'GREP' >> "conftest.nl"
4635 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4636 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4637 as_fn_arith $ac_count + 1 && ac_count=$as_val
4638 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4639 # Best one so far, save it but keep looking for a better one
4640 ac_cv_path_GREP="$ac_path_GREP"
4641 ac_path_GREP_max=$ac_count
4642 fi
4643 # 10*(2^10) chars as input seems more than enough
4644 test $ac_count -gt 10 && break
4645 done
4646 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4647 esac
4648
4649 $ac_path_GREP_found && break 3
4650 done
4651 done
4652 done
4653 IFS=$as_save_IFS
4654 if test -z "$ac_cv_path_GREP"; then
4655 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4656 fi
4657 else
4658 ac_cv_path_GREP=$GREP
4659 fi
4660
4661 fi
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4663 $as_echo "$ac_cv_path_GREP" >&6; }
4664 GREP="$ac_cv_path_GREP"
4665
4666
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4668 $as_echo_n "checking for egrep... " >&6; }
4669 if ${ac_cv_path_EGREP+:} false; then :
4670 $as_echo_n "(cached) " >&6
4671 else
4672 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4673 then ac_cv_path_EGREP="$GREP -E"
4674 else
4675 if test -z "$EGREP"; then
4676 ac_path_EGREP_found=false
4677 # Loop through the user's path and test for each of PROGNAME-LIST
4678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4679 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4680 do
4681 IFS=$as_save_IFS
4682 test -z "$as_dir" && as_dir=.
4683 for ac_prog in egrep; do
4684 for ac_exec_ext in '' $ac_executable_extensions; do
4685 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4686 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4687 # Check for GNU ac_path_EGREP and select it if it is found.
4688 # Check for GNU $ac_path_EGREP
4689 case `"$ac_path_EGREP" --version 2>&1` in
4690 *GNU*)
4691 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4692 *)
4693 ac_count=0
4694 $as_echo_n 0123456789 >"conftest.in"
4695 while :
4696 do
4697 cat "conftest.in" "conftest.in" >"conftest.tmp"
4698 mv "conftest.tmp" "conftest.in"
4699 cp "conftest.in" "conftest.nl"
4700 $as_echo 'EGREP' >> "conftest.nl"
4701 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4702 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4703 as_fn_arith $ac_count + 1 && ac_count=$as_val
4704 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4705 # Best one so far, save it but keep looking for a better one
4706 ac_cv_path_EGREP="$ac_path_EGREP"
4707 ac_path_EGREP_max=$ac_count
4708 fi
4709 # 10*(2^10) chars as input seems more than enough
4710 test $ac_count -gt 10 && break
4711 done
4712 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4713 esac
4714
4715 $ac_path_EGREP_found && break 3
4716 done
4717 done
4718 done
4719 IFS=$as_save_IFS
4720 if test -z "$ac_cv_path_EGREP"; then
4721 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4722 fi
4723 else
4724 ac_cv_path_EGREP=$EGREP
4725 fi
4726
4727 fi
4728 fi
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4730 $as_echo "$ac_cv_path_EGREP" >&6; }
4731 EGREP="$ac_cv_path_EGREP"
4732
4733
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4735 $as_echo_n "checking for fgrep... " >&6; }
4736 if ${ac_cv_path_FGREP+:} false; then :
4737 $as_echo_n "(cached) " >&6
4738 else
4739 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4740 then ac_cv_path_FGREP="$GREP -F"
4741 else
4742 if test -z "$FGREP"; then
4743 ac_path_FGREP_found=false
4744 # Loop through the user's path and test for each of PROGNAME-LIST
4745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4746 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4747 do
4748 IFS=$as_save_IFS
4749 test -z "$as_dir" && as_dir=.
4750 for ac_prog in fgrep; do
4751 for ac_exec_ext in '' $ac_executable_extensions; do
4752 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4753 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4754 # Check for GNU ac_path_FGREP and select it if it is found.
4755 # Check for GNU $ac_path_FGREP
4756 case `"$ac_path_FGREP" --version 2>&1` in
4757 *GNU*)
4758 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4759 *)
4760 ac_count=0
4761 $as_echo_n 0123456789 >"conftest.in"
4762 while :
4763 do
4764 cat "conftest.in" "conftest.in" >"conftest.tmp"
4765 mv "conftest.tmp" "conftest.in"
4766 cp "conftest.in" "conftest.nl"
4767 $as_echo 'FGREP' >> "conftest.nl"
4768 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4769 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4770 as_fn_arith $ac_count + 1 && ac_count=$as_val
4771 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4772 # Best one so far, save it but keep looking for a better one
4773 ac_cv_path_FGREP="$ac_path_FGREP"
4774 ac_path_FGREP_max=$ac_count
4775 fi
4776 # 10*(2^10) chars as input seems more than enough
4777 test $ac_count -gt 10 && break
4778 done
4779 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4780 esac
4781
4782 $ac_path_FGREP_found && break 3
4783 done
4784 done
4785 done
4786 IFS=$as_save_IFS
4787 if test -z "$ac_cv_path_FGREP"; then
4788 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4789 fi
4790 else
4791 ac_cv_path_FGREP=$FGREP
4792 fi
4793
4794 fi
4795 fi
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4797 $as_echo "$ac_cv_path_FGREP" >&6; }
4798 FGREP="$ac_cv_path_FGREP"
4799
4800
4801 test -z "$GREP" && GREP=grep
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821 # Check whether --with-gnu-ld was given.
4822 if test "${with_gnu_ld+set}" = set; then :
4823 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4824 else
4825 with_gnu_ld=no
4826 fi
4827
4828 ac_prog=ld
4829 if test "$GCC" = yes; then
4830 # Check if gcc -print-prog-name=ld gives a path.
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4832 $as_echo_n "checking for ld used by $CC... " >&6; }
4833 case $host in
4834 *-*-mingw*)
4835 # gcc leaves a trailing carriage return which upsets mingw
4836 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4837 *)
4838 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4839 esac
4840 case $ac_prog in
4841 # Accept absolute paths.
4842 [\\/]* | ?:[\\/]*)
4843 re_direlt='/[^/][^/]*/\.\./'
4844 # Canonicalize the pathname of ld
4845 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4846 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4847 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4848 done
4849 test -z "$LD" && LD="$ac_prog"
4850 ;;
4851 "")
4852 # If it fails, then pretend we aren't using GCC.
4853 ac_prog=ld
4854 ;;
4855 *)
4856 # If it is relative, then search for the first ld in PATH.
4857 with_gnu_ld=unknown
4858 ;;
4859 esac
4860 elif test "$with_gnu_ld" = yes; then
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4862 $as_echo_n "checking for GNU ld... " >&6; }
4863 else
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4865 $as_echo_n "checking for non-GNU ld... " >&6; }
4866 fi
4867 if ${lt_cv_path_LD+:} false; then :
4868 $as_echo_n "(cached) " >&6
4869 else
4870 if test -z "$LD"; then
4871 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4872 for ac_dir in $PATH; do
4873 IFS="$lt_save_ifs"
4874 test -z "$ac_dir" && ac_dir=.
4875 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4876 lt_cv_path_LD="$ac_dir/$ac_prog"
4877 # Check to see if the program is GNU ld. I'd rather use --version,
4878 # but apparently some variants of GNU ld only accept -v.
4879 # Break only if it was the GNU/non-GNU ld that we prefer.
4880 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4881 *GNU* | *'with BFD'*)
4882 test "$with_gnu_ld" != no && break
4883 ;;
4884 *)
4885 test "$with_gnu_ld" != yes && break
4886 ;;
4887 esac
4888 fi
4889 done
4890 IFS="$lt_save_ifs"
4891 else
4892 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4893 fi
4894 fi
4895
4896 LD="$lt_cv_path_LD"
4897 if test -n "$LD"; then
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4899 $as_echo "$LD" >&6; }
4900 else
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4902 $as_echo "no" >&6; }
4903 fi
4904 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4906 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4907 if ${lt_cv_prog_gnu_ld+:} false; then :
4908 $as_echo_n "(cached) " >&6
4909 else
4910 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4911 case `$LD -v 2>&1 </dev/null` in
4912 *GNU* | *'with BFD'*)
4913 lt_cv_prog_gnu_ld=yes
4914 ;;
4915 *)
4916 lt_cv_prog_gnu_ld=no
4917 ;;
4918 esac
4919 fi
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4921 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4922 with_gnu_ld=$lt_cv_prog_gnu_ld
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4933 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4934 if ${lt_cv_path_NM+:} false; then :
4935 $as_echo_n "(cached) " >&6
4936 else
4937 if test -n "$NM"; then
4938 # Let the user override the test.
4939 lt_cv_path_NM="$NM"
4940 else
4941 lt_nm_to_check="${ac_tool_prefix}nm"
4942 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4943 lt_nm_to_check="$lt_nm_to_check nm"
4944 fi
4945 for lt_tmp_nm in $lt_nm_to_check; do
4946 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4947 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4948 IFS="$lt_save_ifs"
4949 test -z "$ac_dir" && ac_dir=.
4950 tmp_nm="$ac_dir/$lt_tmp_nm"
4951 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4952 # Check to see if the nm accepts a BSD-compat flag.
4953 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4954 # nm: unknown option "B" ignored
4955 # Tru64's nm complains that /dev/null is an invalid object file
4956 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4957 */dev/null* | *'Invalid file or object type'*)
4958 lt_cv_path_NM="$tmp_nm -B"
4959 break
4960 ;;
4961 *)
4962 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4963 */dev/null*)
4964 lt_cv_path_NM="$tmp_nm -p"
4965 break
4966 ;;
4967 *)
4968 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4969 continue # so that we can try to find one that supports BSD flags
4970 ;;
4971 esac
4972 ;;
4973 esac
4974 fi
4975 done
4976 IFS="$lt_save_ifs"
4977 done
4978 : ${lt_cv_path_NM=no}
4979 fi
4980 fi
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4982 $as_echo "$lt_cv_path_NM" >&6; }
4983 if test "$lt_cv_path_NM" != "no"; then
4984 NM="$lt_cv_path_NM"
4985 else
4986 # Didn't find any BSD compatible name lister, look for dumpbin.
4987 if test -n "$DUMPBIN"; then :
4988 # Let the user override the test.
4989 else
4990 if test -n "$ac_tool_prefix"; then
4991 for ac_prog in dumpbin "link -dump"
4992 do
4993 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4994 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4996 $as_echo_n "checking for $ac_word... " >&6; }
4997 if ${ac_cv_prog_DUMPBIN+:} false; then :
4998 $as_echo_n "(cached) " >&6
4999 else
5000 if test -n "$DUMPBIN"; then
5001 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5002 else
5003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5004 for as_dir in $PATH
5005 do
5006 IFS=$as_save_IFS
5007 test -z "$as_dir" && as_dir=.
5008 for ac_exec_ext in '' $ac_executable_extensions; do
5009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5010 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5012 break 2
5013 fi
5014 done
5015 done
5016 IFS=$as_save_IFS
5017
5018 fi
5019 fi
5020 DUMPBIN=$ac_cv_prog_DUMPBIN
5021 if test -n "$DUMPBIN"; then
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5023 $as_echo "$DUMPBIN" >&6; }
5024 else
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5026 $as_echo "no" >&6; }
5027 fi
5028
5029
5030 test -n "$DUMPBIN" && break
5031 done
5032 fi
5033 if test -z "$DUMPBIN"; then
5034 ac_ct_DUMPBIN=$DUMPBIN
5035 for ac_prog in dumpbin "link -dump"
5036 do
5037 # Extract the first word of "$ac_prog", so it can be a program name with args.
5038 set dummy $ac_prog; ac_word=$2
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5040 $as_echo_n "checking for $ac_word... " >&6; }
5041 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5042 $as_echo_n "(cached) " >&6
5043 else
5044 if test -n "$ac_ct_DUMPBIN"; then
5045 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5046 else
5047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5048 for as_dir in $PATH
5049 do
5050 IFS=$as_save_IFS
5051 test -z "$as_dir" && as_dir=.
5052 for ac_exec_ext in '' $ac_executable_extensions; do
5053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5054 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5056 break 2
5057 fi
5058 done
5059 done
5060 IFS=$as_save_IFS
5061
5062 fi
5063 fi
5064 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5065 if test -n "$ac_ct_DUMPBIN"; then
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5067 $as_echo "$ac_ct_DUMPBIN" >&6; }
5068 else
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5070 $as_echo "no" >&6; }
5071 fi
5072
5073
5074 test -n "$ac_ct_DUMPBIN" && break
5075 done
5076
5077 if test "x$ac_ct_DUMPBIN" = x; then
5078 DUMPBIN=":"
5079 else
5080 case $cross_compiling:$ac_tool_warned in
5081 yes:)
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5084 ac_tool_warned=yes ;;
5085 esac
5086 DUMPBIN=$ac_ct_DUMPBIN
5087 fi
5088 fi
5089
5090 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5091 *COFF*)
5092 DUMPBIN="$DUMPBIN -symbols"
5093 ;;
5094 *)
5095 DUMPBIN=:
5096 ;;
5097 esac
5098 fi
5099
5100 if test "$DUMPBIN" != ":"; then
5101 NM="$DUMPBIN"
5102 fi
5103 fi
5104 test -z "$NM" && NM=nm
5105
5106
5107
5108
5109
5110
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5112 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5113 if ${lt_cv_nm_interface+:} false; then :
5114 $as_echo_n "(cached) " >&6
5115 else
5116 lt_cv_nm_interface="BSD nm"
5117 echo "int some_variable = 0;" > conftest.$ac_ext
5118 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5119 (eval "$ac_compile" 2>conftest.err)
5120 cat conftest.err >&5
5121 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5122 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5123 cat conftest.err >&5
5124 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5125 cat conftest.out >&5
5126 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5127 lt_cv_nm_interface="MS dumpbin"
5128 fi
5129 rm -f conftest*
5130 fi
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5132 $as_echo "$lt_cv_nm_interface" >&6; }
5133
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5135 $as_echo_n "checking whether ln -s works... " >&6; }
5136 LN_S=$as_ln_s
5137 if test "$LN_S" = "ln -s"; then
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5139 $as_echo "yes" >&6; }
5140 else
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5142 $as_echo "no, using $LN_S" >&6; }
5143 fi
5144
5145 # find the maximum length of command line arguments
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5147 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5148 if ${lt_cv_sys_max_cmd_len+:} false; then :
5149 $as_echo_n "(cached) " >&6
5150 else
5151 i=0
5152 teststring="ABCD"
5153
5154 case $build_os in
5155 msdosdjgpp*)
5156 # On DJGPP, this test can blow up pretty badly due to problems in libc
5157 # (any single argument exceeding 2000 bytes causes a buffer overrun
5158 # during glob expansion). Even if it were fixed, the result of this
5159 # check would be larger than it should be.
5160 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5161 ;;
5162
5163 gnu*)
5164 # Under GNU Hurd, this test is not required because there is
5165 # no limit to the length of command line arguments.
5166 # Libtool will interpret -1 as no limit whatsoever
5167 lt_cv_sys_max_cmd_len=-1;
5168 ;;
5169
5170 cygwin* | mingw* | cegcc*)
5171 # On Win9x/ME, this test blows up -- it succeeds, but takes
5172 # about 5 minutes as the teststring grows exponentially.
5173 # Worse, since 9x/ME are not pre-emptively multitasking,
5174 # you end up with a "frozen" computer, even though with patience
5175 # the test eventually succeeds (with a max line length of 256k).
5176 # Instead, let's just punt: use the minimum linelength reported by
5177 # all of the supported platforms: 8192 (on NT/2K/XP).
5178 lt_cv_sys_max_cmd_len=8192;
5179 ;;
5180
5181 mint*)
5182 # On MiNT this can take a long time and run out of memory.
5183 lt_cv_sys_max_cmd_len=8192;
5184 ;;
5185
5186 amigaos*)
5187 # On AmigaOS with pdksh, this test takes hours, literally.
5188 # So we just punt and use a minimum line length of 8192.
5189 lt_cv_sys_max_cmd_len=8192;
5190 ;;
5191
5192 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5193 # This has been around since 386BSD, at least. Likely further.
5194 if test -x /sbin/sysctl; then
5195 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5196 elif test -x /usr/sbin/sysctl; then
5197 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5198 else
5199 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5200 fi
5201 # And add a safety zone
5202 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5203 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5204 ;;
5205
5206 interix*)
5207 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5208 lt_cv_sys_max_cmd_len=196608
5209 ;;
5210
5211 os2*)
5212 # The test takes a long time on OS/2.
5213 lt_cv_sys_max_cmd_len=8192
5214 ;;
5215
5216 osf*)
5217 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5218 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5219 # nice to cause kernel panics so lets avoid the loop below.
5220 # First set a reasonable default.
5221 lt_cv_sys_max_cmd_len=16384
5222 #
5223 if test -x /sbin/sysconfig; then
5224 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5225 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5226 esac
5227 fi
5228 ;;
5229 sco3.2v5*)
5230 lt_cv_sys_max_cmd_len=102400
5231 ;;
5232 sysv5* | sco5v6* | sysv4.2uw2*)
5233 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5234 if test -n "$kargmax"; then
5235 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5236 else
5237 lt_cv_sys_max_cmd_len=32768
5238 fi
5239 ;;
5240 *)
5241 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5242 if test -n "$lt_cv_sys_max_cmd_len"; then
5243 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5244 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5245 else
5246 # Make teststring a little bigger before we do anything with it.
5247 # a 1K string should be a reasonable start.
5248 for i in 1 2 3 4 5 6 7 8 ; do
5249 teststring=$teststring$teststring
5250 done
5251 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5252 # If test is not a shell built-in, we'll probably end up computing a
5253 # maximum length that is only half of the actual maximum length, but
5254 # we can't tell.
5255 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5256 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5257 test $i != 17 # 1/2 MB should be enough
5258 do
5259 i=`expr $i + 1`
5260 teststring=$teststring$teststring
5261 done
5262 # Only check the string length outside the loop.
5263 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5264 teststring=
5265 # Add a significant safety factor because C++ compilers can tack on
5266 # massive amounts of additional arguments before passing them to the
5267 # linker. It appears as though 1/2 is a usable value.
5268 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5269 fi
5270 ;;
5271 esac
5272
5273 fi
5274
5275 if test -n $lt_cv_sys_max_cmd_len ; then
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5277 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5278 else
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5280 $as_echo "none" >&6; }
5281 fi
5282 max_cmd_len=$lt_cv_sys_max_cmd_len
5283
5284
5285
5286
5287
5288
5289 : ${CP="cp -f"}
5290 : ${MV="mv -f"}
5291 : ${RM="rm -f"}
5292
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5294 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5295 # Try some XSI features
5296 xsi_shell=no
5297 ( _lt_dummy="a/b/c"
5298 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5299 = c,a/b,b/c, \
5300 && eval 'test $(( 1 + 1 )) -eq 2 \
5301 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5302 && xsi_shell=yes
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5304 $as_echo "$xsi_shell" >&6; }
5305
5306
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5308 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5309 lt_shell_append=no
5310 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5311 >/dev/null 2>&1 \
5312 && lt_shell_append=yes
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5314 $as_echo "$lt_shell_append" >&6; }
5315
5316
5317 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5318 lt_unset=unset
5319 else
5320 lt_unset=false
5321 fi
5322
5323
5324
5325
5326
5327 # test EBCDIC or ASCII
5328 case `echo X|tr X '\101'` in
5329 A) # ASCII based system
5330 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5331 lt_SP2NL='tr \040 \012'
5332 lt_NL2SP='tr \015\012 \040\040'
5333 ;;
5334 *) # EBCDIC based system
5335 lt_SP2NL='tr \100 \n'
5336 lt_NL2SP='tr \r\n \100\100'
5337 ;;
5338 esac
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5349 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5350 if ${lt_cv_to_host_file_cmd+:} false; then :
5351 $as_echo_n "(cached) " >&6
5352 else
5353 case $host in
5354 *-*-mingw* )
5355 case $build in
5356 *-*-mingw* ) # actually msys
5357 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5358 ;;
5359 *-*-cygwin* )
5360 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5361 ;;
5362 * ) # otherwise, assume *nix
5363 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5364 ;;
5365 esac
5366 ;;
5367 *-*-cygwin* )
5368 case $build in
5369 *-*-mingw* ) # actually msys
5370 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5371 ;;
5372 *-*-cygwin* )
5373 lt_cv_to_host_file_cmd=func_convert_file_noop
5374 ;;
5375 * ) # otherwise, assume *nix
5376 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5377 ;;
5378 esac
5379 ;;
5380 * ) # unhandled hosts (and "normal" native builds)
5381 lt_cv_to_host_file_cmd=func_convert_file_noop
5382 ;;
5383 esac
5384
5385 fi
5386
5387 to_host_file_cmd=$lt_cv_to_host_file_cmd
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5389 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5390
5391
5392
5393
5394
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5396 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5397 if ${lt_cv_to_tool_file_cmd+:} false; then :
5398 $as_echo_n "(cached) " >&6
5399 else
5400 #assume ordinary cross tools, or native build.
5401 lt_cv_to_tool_file_cmd=func_convert_file_noop
5402 case $host in
5403 *-*-mingw* )
5404 case $build in
5405 *-*-mingw* ) # actually msys
5406 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5407 ;;
5408 esac
5409 ;;
5410 esac
5411
5412 fi
5413
5414 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5416 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5417
5418
5419
5420
5421
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5423 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5424 if ${lt_cv_ld_reload_flag+:} false; then :
5425 $as_echo_n "(cached) " >&6
5426 else
5427 lt_cv_ld_reload_flag='-r'
5428 fi
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5430 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5431 reload_flag=$lt_cv_ld_reload_flag
5432 case $reload_flag in
5433 "" | " "*) ;;
5434 *) reload_flag=" $reload_flag" ;;
5435 esac
5436 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5437 case $host_os in
5438 cygwin* | mingw* | pw32* | cegcc*)
5439 if test "$GCC" != yes; then
5440 reload_cmds=false
5441 fi
5442 ;;
5443 darwin*)
5444 if test "$GCC" = yes; then
5445 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5446 else
5447 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5448 fi
5449 ;;
5450 esac
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460 if test -n "$ac_tool_prefix"; then
5461 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5462 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5464 $as_echo_n "checking for $ac_word... " >&6; }
5465 if ${ac_cv_prog_OBJDUMP+:} false; then :
5466 $as_echo_n "(cached) " >&6
5467 else
5468 if test -n "$OBJDUMP"; then
5469 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5470 else
5471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5472 for as_dir in $PATH
5473 do
5474 IFS=$as_save_IFS
5475 test -z "$as_dir" && as_dir=.
5476 for ac_exec_ext in '' $ac_executable_extensions; do
5477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5478 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5480 break 2
5481 fi
5482 done
5483 done
5484 IFS=$as_save_IFS
5485
5486 fi
5487 fi
5488 OBJDUMP=$ac_cv_prog_OBJDUMP
5489 if test -n "$OBJDUMP"; then
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5491 $as_echo "$OBJDUMP" >&6; }
5492 else
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5494 $as_echo "no" >&6; }
5495 fi
5496
5497
5498 fi
5499 if test -z "$ac_cv_prog_OBJDUMP"; then
5500 ac_ct_OBJDUMP=$OBJDUMP
5501 # Extract the first word of "objdump", so it can be a program name with args.
5502 set dummy objdump; ac_word=$2
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5504 $as_echo_n "checking for $ac_word... " >&6; }
5505 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5506 $as_echo_n "(cached) " >&6
5507 else
5508 if test -n "$ac_ct_OBJDUMP"; then
5509 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5510 else
5511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5512 for as_dir in $PATH
5513 do
5514 IFS=$as_save_IFS
5515 test -z "$as_dir" && as_dir=.
5516 for ac_exec_ext in '' $ac_executable_extensions; do
5517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5518 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5520 break 2
5521 fi
5522 done
5523 done
5524 IFS=$as_save_IFS
5525
5526 fi
5527 fi
5528 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5529 if test -n "$ac_ct_OBJDUMP"; then
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5531 $as_echo "$ac_ct_OBJDUMP" >&6; }
5532 else
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5534 $as_echo "no" >&6; }
5535 fi
5536
5537 if test "x$ac_ct_OBJDUMP" = x; then
5538 OBJDUMP="false"
5539 else
5540 case $cross_compiling:$ac_tool_warned in
5541 yes:)
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5543 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5544 ac_tool_warned=yes ;;
5545 esac
5546 OBJDUMP=$ac_ct_OBJDUMP
5547 fi
5548 else
5549 OBJDUMP="$ac_cv_prog_OBJDUMP"
5550 fi
5551
5552 test -z "$OBJDUMP" && OBJDUMP=objdump
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5563 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5564 if ${lt_cv_deplibs_check_method+:} false; then :
5565 $as_echo_n "(cached) " >&6
5566 else
5567 lt_cv_file_magic_cmd='$MAGIC_CMD'
5568 lt_cv_file_magic_test_file=
5569 lt_cv_deplibs_check_method='unknown'
5570 # Need to set the preceding variable on all platforms that support
5571 # interlibrary dependencies.
5572 # 'none' -- dependencies not supported.
5573 # `unknown' -- same as none, but documents that we really don't know.
5574 # 'pass_all' -- all dependencies passed with no checks.
5575 # 'test_compile' -- check by making test program.
5576 # 'file_magic [[regex]]' -- check by looking for files in library path
5577 # which responds to the $file_magic_cmd with a given extended regex.
5578 # If you have `file' or equivalent on your system and you're not sure
5579 # whether `pass_all' will *always* work, you probably want this one.
5580
5581 case $host_os in
5582 aix[4-9]*)
5583 lt_cv_deplibs_check_method=pass_all
5584 ;;
5585
5586 beos*)
5587 lt_cv_deplibs_check_method=pass_all
5588 ;;
5589
5590 bsdi[45]*)
5591 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5592 lt_cv_file_magic_cmd='/usr/bin/file -L'
5593 lt_cv_file_magic_test_file=/shlib/libc.so
5594 ;;
5595
5596 cygwin*)
5597 # func_win32_libid is a shell function defined in ltmain.sh
5598 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5599 lt_cv_file_magic_cmd='func_win32_libid'
5600 ;;
5601
5602 mingw* | pw32*)
5603 # Base MSYS/MinGW do not provide the 'file' command needed by
5604 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5605 # unless we find 'file', for example because we are cross-compiling.
5606 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5607 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5608 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5609 lt_cv_file_magic_cmd='func_win32_libid'
5610 else
5611 # Keep this pattern in sync with the one in func_win32_libid.
5612 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5613 lt_cv_file_magic_cmd='$OBJDUMP -f'
5614 fi
5615 ;;
5616
5617 cegcc*)
5618 # use the weaker test based on 'objdump'. See mingw*.
5619 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5620 lt_cv_file_magic_cmd='$OBJDUMP -f'
5621 ;;
5622
5623 darwin* | rhapsody*)
5624 lt_cv_deplibs_check_method=pass_all
5625 ;;
5626
5627 freebsd* | dragonfly*)
5628 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5629 case $host_cpu in
5630 i*86 )
5631 # Not sure whether the presence of OpenBSD here was a mistake.
5632 # Let's accept both of them until this is cleared up.
5633 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5634 lt_cv_file_magic_cmd=/usr/bin/file
5635 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5636 ;;
5637 esac
5638 else
5639 lt_cv_deplibs_check_method=pass_all
5640 fi
5641 ;;
5642
5643 gnu*)
5644 lt_cv_deplibs_check_method=pass_all
5645 ;;
5646
5647 haiku*)
5648 lt_cv_deplibs_check_method=pass_all
5649 ;;
5650
5651 hpux10.20* | hpux11*)
5652 lt_cv_file_magic_cmd=/usr/bin/file
5653 case $host_cpu in
5654 ia64*)
5655 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5656 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5657 ;;
5658 hppa*64*)
5659 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]'
5660 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5661 ;;
5662 *)
5663 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5664 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5665 ;;
5666 esac
5667 ;;
5668
5669 interix[3-9]*)
5670 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5671 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5672 ;;
5673
5674 irix5* | irix6* | nonstopux*)
5675 case $LD in
5676 *-32|*"-32 ") libmagic=32-bit;;
5677 *-n32|*"-n32 ") libmagic=N32;;
5678 *-64|*"-64 ") libmagic=64-bit;;
5679 *) libmagic=never-match;;
5680 esac
5681 lt_cv_deplibs_check_method=pass_all
5682 ;;
5683
5684 # This must be glibc/ELF.
5685 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5686 lt_cv_deplibs_check_method=pass_all
5687 ;;
5688
5689 netbsd*)
5690 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5691 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5692 else
5693 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5694 fi
5695 ;;
5696
5697 newos6*)
5698 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5699 lt_cv_file_magic_cmd=/usr/bin/file
5700 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5701 ;;
5702
5703 *nto* | *qnx*)
5704 lt_cv_deplibs_check_method=pass_all
5705 ;;
5706
5707 openbsd*)
5708 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5709 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5710 else
5711 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5712 fi
5713 ;;
5714
5715 osf3* | osf4* | osf5*)
5716 lt_cv_deplibs_check_method=pass_all
5717 ;;
5718
5719 rdos*)
5720 lt_cv_deplibs_check_method=pass_all
5721 ;;
5722
5723 solaris*)
5724 lt_cv_deplibs_check_method=pass_all
5725 ;;
5726
5727 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5728 lt_cv_deplibs_check_method=pass_all
5729 ;;
5730
5731 sysv4 | sysv4.3*)
5732 case $host_vendor in
5733 motorola)
5734 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]'
5735 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5736 ;;
5737 ncr)
5738 lt_cv_deplibs_check_method=pass_all
5739 ;;
5740 sequent)
5741 lt_cv_file_magic_cmd='/bin/file'
5742 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5743 ;;
5744 sni)
5745 lt_cv_file_magic_cmd='/bin/file'
5746 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5747 lt_cv_file_magic_test_file=/lib/libc.so
5748 ;;
5749 siemens)
5750 lt_cv_deplibs_check_method=pass_all
5751 ;;
5752 pc)
5753 lt_cv_deplibs_check_method=pass_all
5754 ;;
5755 esac
5756 ;;
5757
5758 tpf*)
5759 lt_cv_deplibs_check_method=pass_all
5760 ;;
5761 esac
5762
5763 fi
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5765 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5766
5767 file_magic_glob=
5768 want_nocaseglob=no
5769 if test "$build" = "$host"; then
5770 case $host_os in
5771 mingw* | pw32*)
5772 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5773 want_nocaseglob=yes
5774 else
5775 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5776 fi
5777 ;;
5778 esac
5779 fi
5780
5781 file_magic_cmd=$lt_cv_file_magic_cmd
5782 deplibs_check_method=$lt_cv_deplibs_check_method
5783 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806 if test -n "$ac_tool_prefix"; then
5807 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5808 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5810 $as_echo_n "checking for $ac_word... " >&6; }
5811 if ${ac_cv_prog_DLLTOOL+:} false; then :
5812 $as_echo_n "(cached) " >&6
5813 else
5814 if test -n "$DLLTOOL"; then
5815 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5816 else
5817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5818 for as_dir in $PATH
5819 do
5820 IFS=$as_save_IFS
5821 test -z "$as_dir" && as_dir=.
5822 for ac_exec_ext in '' $ac_executable_extensions; do
5823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5824 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5826 break 2
5827 fi
5828 done
5829 done
5830 IFS=$as_save_IFS
5831
5832 fi
5833 fi
5834 DLLTOOL=$ac_cv_prog_DLLTOOL
5835 if test -n "$DLLTOOL"; then
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5837 $as_echo "$DLLTOOL" >&6; }
5838 else
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5840 $as_echo "no" >&6; }
5841 fi
5842
5843
5844 fi
5845 if test -z "$ac_cv_prog_DLLTOOL"; then
5846 ac_ct_DLLTOOL=$DLLTOOL
5847 # Extract the first word of "dlltool", so it can be a program name with args.
5848 set dummy dlltool; ac_word=$2
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5850 $as_echo_n "checking for $ac_word... " >&6; }
5851 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5852 $as_echo_n "(cached) " >&6
5853 else
5854 if test -n "$ac_ct_DLLTOOL"; then
5855 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5856 else
5857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5858 for as_dir in $PATH
5859 do
5860 IFS=$as_save_IFS
5861 test -z "$as_dir" && as_dir=.
5862 for ac_exec_ext in '' $ac_executable_extensions; do
5863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5864 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5866 break 2
5867 fi
5868 done
5869 done
5870 IFS=$as_save_IFS
5871
5872 fi
5873 fi
5874 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5875 if test -n "$ac_ct_DLLTOOL"; then
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5877 $as_echo "$ac_ct_DLLTOOL" >&6; }
5878 else
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5880 $as_echo "no" >&6; }
5881 fi
5882
5883 if test "x$ac_ct_DLLTOOL" = x; then
5884 DLLTOOL="false"
5885 else
5886 case $cross_compiling:$ac_tool_warned in
5887 yes:)
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5890 ac_tool_warned=yes ;;
5891 esac
5892 DLLTOOL=$ac_ct_DLLTOOL
5893 fi
5894 else
5895 DLLTOOL="$ac_cv_prog_DLLTOOL"
5896 fi
5897
5898 test -z "$DLLTOOL" && DLLTOOL=dlltool
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5910 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5911 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5912 $as_echo_n "(cached) " >&6
5913 else
5914 lt_cv_sharedlib_from_linklib_cmd='unknown'
5915
5916 case $host_os in
5917 cygwin* | mingw* | pw32* | cegcc*)
5918 # two different shell functions defined in ltmain.sh
5919 # decide which to use based on capabilities of $DLLTOOL
5920 case `$DLLTOOL --help 2>&1` in
5921 *--identify-strict*)
5922 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5923 ;;
5924 *)
5925 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5926 ;;
5927 esac
5928 ;;
5929 *)
5930 # fallback: assume linklib IS sharedlib
5931 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5932 ;;
5933 esac
5934
5935 fi
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5937 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5938 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5939 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5940
5941
5942
5943
5944
5945
5946
5947 if test -n "$ac_tool_prefix"; then
5948 for ac_prog in ar
5949 do
5950 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5951 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5953 $as_echo_n "checking for $ac_word... " >&6; }
5954 if ${ac_cv_prog_AR+:} false; then :
5955 $as_echo_n "(cached) " >&6
5956 else
5957 if test -n "$AR"; then
5958 ac_cv_prog_AR="$AR" # Let the user override the test.
5959 else
5960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5961 for as_dir in $PATH
5962 do
5963 IFS=$as_save_IFS
5964 test -z "$as_dir" && as_dir=.
5965 for ac_exec_ext in '' $ac_executable_extensions; do
5966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5967 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5969 break 2
5970 fi
5971 done
5972 done
5973 IFS=$as_save_IFS
5974
5975 fi
5976 fi
5977 AR=$ac_cv_prog_AR
5978 if test -n "$AR"; then
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5980 $as_echo "$AR" >&6; }
5981 else
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5983 $as_echo "no" >&6; }
5984 fi
5985
5986
5987 test -n "$AR" && break
5988 done
5989 fi
5990 if test -z "$AR"; then
5991 ac_ct_AR=$AR
5992 for ac_prog in ar
5993 do
5994 # Extract the first word of "$ac_prog", so it can be a program name with args.
5995 set dummy $ac_prog; ac_word=$2
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5997 $as_echo_n "checking for $ac_word... " >&6; }
5998 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5999 $as_echo_n "(cached) " >&6
6000 else
6001 if test -n "$ac_ct_AR"; then
6002 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6003 else
6004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6005 for as_dir in $PATH
6006 do
6007 IFS=$as_save_IFS
6008 test -z "$as_dir" && as_dir=.
6009 for ac_exec_ext in '' $ac_executable_extensions; do
6010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6011 ac_cv_prog_ac_ct_AR="$ac_prog"
6012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6013 break 2
6014 fi
6015 done
6016 done
6017 IFS=$as_save_IFS
6018
6019 fi
6020 fi
6021 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6022 if test -n "$ac_ct_AR"; then
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6024 $as_echo "$ac_ct_AR" >&6; }
6025 else
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6027 $as_echo "no" >&6; }
6028 fi
6029
6030
6031 test -n "$ac_ct_AR" && break
6032 done
6033
6034 if test "x$ac_ct_AR" = x; then
6035 AR="false"
6036 else
6037 case $cross_compiling:$ac_tool_warned in
6038 yes:)
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6040 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6041 ac_tool_warned=yes ;;
6042 esac
6043 AR=$ac_ct_AR
6044 fi
6045 fi
6046
6047 : ${AR=ar}
6048 : ${AR_FLAGS=cru}
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6061 $as_echo_n "checking for archiver @FILE support... " >&6; }
6062 if ${lt_cv_ar_at_file+:} false; then :
6063 $as_echo_n "(cached) " >&6
6064 else
6065 lt_cv_ar_at_file=no
6066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6067 /* end confdefs.h. */
6068
6069 int
6070 main ()
6071 {
6072
6073 ;
6074 return 0;
6075 }
6076 _ACEOF
6077 if ac_fn_c_try_compile "$LINENO"; then :
6078 echo conftest.$ac_objext > conftest.lst
6079 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6080 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6081 (eval $lt_ar_try) 2>&5
6082 ac_status=$?
6083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6084 test $ac_status = 0; }
6085 if test "$ac_status" -eq 0; then
6086 # Ensure the archiver fails upon bogus file names.
6087 rm -f conftest.$ac_objext libconftest.a
6088 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6089 (eval $lt_ar_try) 2>&5
6090 ac_status=$?
6091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6092 test $ac_status = 0; }
6093 if test "$ac_status" -ne 0; then
6094 lt_cv_ar_at_file=@
6095 fi
6096 fi
6097 rm -f conftest.* libconftest.a
6098
6099 fi
6100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6101
6102 fi
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6104 $as_echo "$lt_cv_ar_at_file" >&6; }
6105
6106 if test "x$lt_cv_ar_at_file" = xno; then
6107 archiver_list_spec=
6108 else
6109 archiver_list_spec=$lt_cv_ar_at_file
6110 fi
6111
6112
6113
6114
6115
6116
6117
6118 if test -n "$ac_tool_prefix"; then
6119 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6120 set dummy ${ac_tool_prefix}strip; ac_word=$2
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6122 $as_echo_n "checking for $ac_word... " >&6; }
6123 if ${ac_cv_prog_STRIP+:} false; then :
6124 $as_echo_n "(cached) " >&6
6125 else
6126 if test -n "$STRIP"; then
6127 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6128 else
6129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6130 for as_dir in $PATH
6131 do
6132 IFS=$as_save_IFS
6133 test -z "$as_dir" && as_dir=.
6134 for ac_exec_ext in '' $ac_executable_extensions; do
6135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6136 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6138 break 2
6139 fi
6140 done
6141 done
6142 IFS=$as_save_IFS
6143
6144 fi
6145 fi
6146 STRIP=$ac_cv_prog_STRIP
6147 if test -n "$STRIP"; then
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6149 $as_echo "$STRIP" >&6; }
6150 else
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6152 $as_echo "no" >&6; }
6153 fi
6154
6155
6156 fi
6157 if test -z "$ac_cv_prog_STRIP"; then
6158 ac_ct_STRIP=$STRIP
6159 # Extract the first word of "strip", so it can be a program name with args.
6160 set dummy strip; ac_word=$2
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6162 $as_echo_n "checking for $ac_word... " >&6; }
6163 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6164 $as_echo_n "(cached) " >&6
6165 else
6166 if test -n "$ac_ct_STRIP"; then
6167 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6168 else
6169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6170 for as_dir in $PATH
6171 do
6172 IFS=$as_save_IFS
6173 test -z "$as_dir" && as_dir=.
6174 for ac_exec_ext in '' $ac_executable_extensions; do
6175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6176 ac_cv_prog_ac_ct_STRIP="strip"
6177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6178 break 2
6179 fi
6180 done
6181 done
6182 IFS=$as_save_IFS
6183
6184 fi
6185 fi
6186 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6187 if test -n "$ac_ct_STRIP"; then
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6189 $as_echo "$ac_ct_STRIP" >&6; }
6190 else
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6192 $as_echo "no" >&6; }
6193 fi
6194
6195 if test "x$ac_ct_STRIP" = x; then
6196 STRIP=":"
6197 else
6198 case $cross_compiling:$ac_tool_warned in
6199 yes:)
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6201 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6202 ac_tool_warned=yes ;;
6203 esac
6204 STRIP=$ac_ct_STRIP
6205 fi
6206 else
6207 STRIP="$ac_cv_prog_STRIP"
6208 fi
6209
6210 test -z "$STRIP" && STRIP=:
6211
6212
6213
6214
6215
6216
6217 if test -n "$ac_tool_prefix"; then
6218 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6219 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6221 $as_echo_n "checking for $ac_word... " >&6; }
6222 if ${ac_cv_prog_RANLIB+:} false; then :
6223 $as_echo_n "(cached) " >&6
6224 else
6225 if test -n "$RANLIB"; then
6226 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6227 else
6228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6229 for as_dir in $PATH
6230 do
6231 IFS=$as_save_IFS
6232 test -z "$as_dir" && as_dir=.
6233 for ac_exec_ext in '' $ac_executable_extensions; do
6234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6235 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6237 break 2
6238 fi
6239 done
6240 done
6241 IFS=$as_save_IFS
6242
6243 fi
6244 fi
6245 RANLIB=$ac_cv_prog_RANLIB
6246 if test -n "$RANLIB"; then
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6248 $as_echo "$RANLIB" >&6; }
6249 else
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6251 $as_echo "no" >&6; }
6252 fi
6253
6254
6255 fi
6256 if test -z "$ac_cv_prog_RANLIB"; then
6257 ac_ct_RANLIB=$RANLIB
6258 # Extract the first word of "ranlib", so it can be a program name with args.
6259 set dummy ranlib; ac_word=$2
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6261 $as_echo_n "checking for $ac_word... " >&6; }
6262 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6263 $as_echo_n "(cached) " >&6
6264 else
6265 if test -n "$ac_ct_RANLIB"; then
6266 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6267 else
6268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6269 for as_dir in $PATH
6270 do
6271 IFS=$as_save_IFS
6272 test -z "$as_dir" && as_dir=.
6273 for ac_exec_ext in '' $ac_executable_extensions; do
6274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6275 ac_cv_prog_ac_ct_RANLIB="ranlib"
6276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6277 break 2
6278 fi
6279 done
6280 done
6281 IFS=$as_save_IFS
6282
6283 fi
6284 fi
6285 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6286 if test -n "$ac_ct_RANLIB"; then
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6288 $as_echo "$ac_ct_RANLIB" >&6; }
6289 else
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6291 $as_echo "no" >&6; }
6292 fi
6293
6294 if test "x$ac_ct_RANLIB" = x; then
6295 RANLIB=":"
6296 else
6297 case $cross_compiling:$ac_tool_warned in
6298 yes:)
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6300 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6301 ac_tool_warned=yes ;;
6302 esac
6303 RANLIB=$ac_ct_RANLIB
6304 fi
6305 else
6306 RANLIB="$ac_cv_prog_RANLIB"
6307 fi
6308
6309 test -z "$RANLIB" && RANLIB=:
6310
6311
6312
6313
6314
6315
6316 # Determine commands to create old-style static archives.
6317 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6318 old_postinstall_cmds='chmod 644 $oldlib'
6319 old_postuninstall_cmds=
6320
6321 if test -n "$RANLIB"; then
6322 case $host_os in
6323 openbsd*)
6324 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6325 ;;
6326 *)
6327 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6328 ;;
6329 esac
6330 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6331 fi
6332
6333 case $host_os in
6334 darwin*)
6335 lock_old_archive_extraction=yes ;;
6336 *)
6337 lock_old_archive_extraction=no ;;
6338 esac
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378 # If no C compiler was specified, use CC.
6379 LTCC=${LTCC-"$CC"}
6380
6381 # If no C compiler flags were specified, use CFLAGS.
6382 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6383
6384 # Allow CC to be a program name with arguments.
6385 compiler=$CC
6386
6387
6388 # Check for command to grab the raw symbol name followed by C symbol from nm.
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6390 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6391 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6392 $as_echo_n "(cached) " >&6
6393 else
6394
6395 # These are sane defaults that work on at least a few old systems.
6396 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6397
6398 # Character class describing NM global symbol codes.
6399 symcode='[BCDEGRST]'
6400
6401 # Regexp to match symbols that can be accessed directly from C.
6402 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6403
6404 # Define system-specific variables.
6405 case $host_os in
6406 aix*)
6407 symcode='[BCDT]'
6408 ;;
6409 cygwin* | mingw* | pw32* | cegcc*)
6410 symcode='[ABCDGISTW]'
6411 ;;
6412 hpux*)
6413 if test "$host_cpu" = ia64; then
6414 symcode='[ABCDEGRST]'
6415 fi
6416 ;;
6417 irix* | nonstopux*)
6418 symcode='[BCDEGRST]'
6419 ;;
6420 osf*)
6421 symcode='[BCDEGQRST]'
6422 ;;
6423 solaris*)
6424 symcode='[BDRT]'
6425 ;;
6426 sco3.2v5*)
6427 symcode='[DT]'
6428 ;;
6429 sysv4.2uw2*)
6430 symcode='[DT]'
6431 ;;
6432 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6433 symcode='[ABDT]'
6434 ;;
6435 sysv4)
6436 symcode='[DFNSTU]'
6437 ;;
6438 esac
6439
6440 # If we're using GNU nm, then use its standard symbol codes.
6441 case `$NM -V 2>&1` in
6442 *GNU* | *'with BFD'*)
6443 symcode='[ABCDGIRSTW]' ;;
6444 esac
6445
6446 # Transform an extracted symbol line into a proper C declaration.
6447 # Some systems (esp. on ia64) link data and code symbols differently,
6448 # so use this general approach.
6449 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6450
6451 # Transform an extracted symbol line into symbol name and symbol address
6452 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6453 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6454
6455 # Handle CRLF in mingw tool chain
6456 opt_cr=
6457 case $build_os in
6458 mingw*)
6459 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6460 ;;
6461 esac
6462
6463 # Try without a prefix underscore, then with it.
6464 for ac_symprfx in "" "_"; do
6465
6466 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6467 symxfrm="\\1 $ac_symprfx\\2 \\2"
6468
6469 # Write the raw and C identifiers.
6470 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6471 # Fake it for dumpbin and say T for any non-static function
6472 # and D for any global variable.
6473 # Also find C++ and __fastcall symbols from MSVC++,
6474 # which start with @ or ?.
6475 lt_cv_sys_global_symbol_pipe="$AWK '"\
6476 " {last_section=section; section=\$ 3};"\
6477 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6478 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6479 " \$ 0!~/External *\|/{next};"\
6480 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6481 " {if(hide[section]) next};"\
6482 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6483 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6484 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6485 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6486 " ' prfx=^$ac_symprfx"
6487 else
6488 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6489 fi
6490 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6491
6492 # Check to see that the pipe works correctly.
6493 pipe_works=no
6494
6495 rm -f conftest*
6496 cat > conftest.$ac_ext <<_LT_EOF
6497 #ifdef __cplusplus
6498 extern "C" {
6499 #endif
6500 char nm_test_var;
6501 void nm_test_func(void);
6502 void nm_test_func(void){}
6503 #ifdef __cplusplus
6504 }
6505 #endif
6506 int main(){nm_test_var='a';nm_test_func();return(0);}
6507 _LT_EOF
6508
6509 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6510 (eval $ac_compile) 2>&5
6511 ac_status=$?
6512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6513 test $ac_status = 0; }; then
6514 # Now try to grab the symbols.
6515 nlist=conftest.nm
6516 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6517 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6518 ac_status=$?
6519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6520 test $ac_status = 0; } && test -s "$nlist"; then
6521 # Try sorting and uniquifying the output.
6522 if sort "$nlist" | uniq > "$nlist"T; then
6523 mv -f "$nlist"T "$nlist"
6524 else
6525 rm -f "$nlist"T
6526 fi
6527
6528 # Make sure that we snagged all the symbols we need.
6529 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6530 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6531 cat <<_LT_EOF > conftest.$ac_ext
6532 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6533 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6534 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6535 relocations are performed -- see ld's documentation on pseudo-relocs. */
6536 # define LT_DLSYM_CONST
6537 #elif defined(__osf__)
6538 /* This system does not cope well with relocations in const data. */
6539 # define LT_DLSYM_CONST
6540 #else
6541 # define LT_DLSYM_CONST const
6542 #endif
6543
6544 #ifdef __cplusplus
6545 extern "C" {
6546 #endif
6547
6548 _LT_EOF
6549 # Now generate the symbol file.
6550 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6551
6552 cat <<_LT_EOF >> conftest.$ac_ext
6553
6554 /* The mapping between symbol names and symbols. */
6555 LT_DLSYM_CONST struct {
6556 const char *name;
6557 void *address;
6558 }
6559 lt__PROGRAM__LTX_preloaded_symbols[] =
6560 {
6561 { "@PROGRAM@", (void *) 0 },
6562 _LT_EOF
6563 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6564 cat <<\_LT_EOF >> conftest.$ac_ext
6565 {0, (void *) 0}
6566 };
6567
6568 /* This works around a problem in FreeBSD linker */
6569 #ifdef FREEBSD_WORKAROUND
6570 static const void *lt_preloaded_setup() {
6571 return lt__PROGRAM__LTX_preloaded_symbols;
6572 }
6573 #endif
6574
6575 #ifdef __cplusplus
6576 }
6577 #endif
6578 _LT_EOF
6579 # Now try linking the two files.
6580 mv conftest.$ac_objext conftstm.$ac_objext
6581 lt_globsym_save_LIBS=$LIBS
6582 lt_globsym_save_CFLAGS=$CFLAGS
6583 LIBS="conftstm.$ac_objext"
6584 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6585 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6586 (eval $ac_link) 2>&5
6587 ac_status=$?
6588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6589 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6590 pipe_works=yes
6591 fi
6592 LIBS=$lt_globsym_save_LIBS
6593 CFLAGS=$lt_globsym_save_CFLAGS
6594 else
6595 echo "cannot find nm_test_func in $nlist" >&5
6596 fi
6597 else
6598 echo "cannot find nm_test_var in $nlist" >&5
6599 fi
6600 else
6601 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6602 fi
6603 else
6604 echo "$progname: failed program was:" >&5
6605 cat conftest.$ac_ext >&5
6606 fi
6607 rm -rf conftest* conftst*
6608
6609 # Do not use the global_symbol_pipe unless it works.
6610 if test "$pipe_works" = yes; then
6611 break
6612 else
6613 lt_cv_sys_global_symbol_pipe=
6614 fi
6615 done
6616
6617 fi
6618
6619 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6620 lt_cv_sys_global_symbol_to_cdecl=
6621 fi
6622 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6624 $as_echo "failed" >&6; }
6625 else
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6627 $as_echo "ok" >&6; }
6628 fi
6629
6630 # Response file support.
6631 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6632 nm_file_list_spec='@'
6633 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6634 nm_file_list_spec='@'
6635 fi
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6664 $as_echo_n "checking for sysroot... " >&6; }
6665
6666 # Check whether --with-sysroot was given.
6667 if test "${with_sysroot+set}" = set; then :
6668 withval=$with_sysroot;
6669 else
6670 with_sysroot=no
6671 fi
6672
6673
6674 lt_sysroot=
6675 case ${with_sysroot} in #(
6676 yes)
6677 if test "$GCC" = yes; then
6678 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6679 fi
6680 ;; #(
6681 /*)
6682 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6683 ;; #(
6684 no|'')
6685 ;; #(
6686 *)
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6688 $as_echo "${with_sysroot}" >&6; }
6689 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6690 ;;
6691 esac
6692
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6694 $as_echo "${lt_sysroot:-no}" >&6; }
6695
6696
6697
6698
6699
6700 # Check whether --enable-libtool-lock was given.
6701 if test "${enable_libtool_lock+set}" = set; then :
6702 enableval=$enable_libtool_lock;
6703 fi
6704
6705 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6706
6707 # Some flags need to be propagated to the compiler or linker for good
6708 # libtool support.
6709 case $host in
6710 ia64-*-hpux*)
6711 # Find out which ABI we are using.
6712 echo 'int i;' > conftest.$ac_ext
6713 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6714 (eval $ac_compile) 2>&5
6715 ac_status=$?
6716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6717 test $ac_status = 0; }; then
6718 case `/usr/bin/file conftest.$ac_objext` in
6719 *ELF-32*)
6720 HPUX_IA64_MODE="32"
6721 ;;
6722 *ELF-64*)
6723 HPUX_IA64_MODE="64"
6724 ;;
6725 esac
6726 fi
6727 rm -rf conftest*
6728 ;;
6729 *-*-irix6*)
6730 # Find out which ABI we are using.
6731 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6732 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6733 (eval $ac_compile) 2>&5
6734 ac_status=$?
6735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6736 test $ac_status = 0; }; then
6737 if test "$lt_cv_prog_gnu_ld" = yes; then
6738 case `/usr/bin/file conftest.$ac_objext` in
6739 *32-bit*)
6740 LD="${LD-ld} -melf32bsmip"
6741 ;;
6742 *N32*)
6743 LD="${LD-ld} -melf32bmipn32"
6744 ;;
6745 *64-bit*)
6746 LD="${LD-ld} -melf64bmip"
6747 ;;
6748 esac
6749 else
6750 case `/usr/bin/file conftest.$ac_objext` in
6751 *32-bit*)
6752 LD="${LD-ld} -32"
6753 ;;
6754 *N32*)
6755 LD="${LD-ld} -n32"
6756 ;;
6757 *64-bit*)
6758 LD="${LD-ld} -64"
6759 ;;
6760 esac
6761 fi
6762 fi
6763 rm -rf conftest*
6764 ;;
6765
6766 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6767 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6768 # Find out which ABI we are using.
6769 echo 'int i;' > conftest.$ac_ext
6770 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6771 (eval $ac_compile) 2>&5
6772 ac_status=$?
6773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6774 test $ac_status = 0; }; then
6775 case `/usr/bin/file conftest.o` in
6776 *32-bit*)
6777 case $host in
6778 x86_64-*kfreebsd*-gnu)
6779 LD="${LD-ld} -m elf_i386_fbsd"
6780 ;;
6781 x86_64-*linux*)
6782 LD="${LD-ld} -m elf_i386"
6783 ;;
6784 ppc64-*linux*|powerpc64-*linux*)
6785 LD="${LD-ld} -m elf32ppclinux"
6786 ;;
6787 s390x-*linux*)
6788 LD="${LD-ld} -m elf_s390"
6789 ;;
6790 sparc64-*linux*)
6791 LD="${LD-ld} -m elf32_sparc"
6792 ;;
6793 esac
6794 ;;
6795 *64-bit*)
6796 case $host in
6797 x86_64-*kfreebsd*-gnu)
6798 LD="${LD-ld} -m elf_x86_64_fbsd"
6799 ;;
6800 x86_64-*linux*)
6801 LD="${LD-ld} -m elf_x86_64"
6802 ;;
6803 ppc*-*linux*|powerpc*-*linux*)
6804 LD="${LD-ld} -m elf64ppc"
6805 ;;
6806 s390*-*linux*|s390*-*tpf*)
6807 LD="${LD-ld} -m elf64_s390"
6808 ;;
6809 sparc*-*linux*)
6810 LD="${LD-ld} -m elf64_sparc"
6811 ;;
6812 esac
6813 ;;
6814 esac
6815 fi
6816 rm -rf conftest*
6817 ;;
6818
6819 *-*-sco3.2v5*)
6820 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6821 SAVE_CFLAGS="$CFLAGS"
6822 CFLAGS="$CFLAGS -belf"
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6824 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6825 if ${lt_cv_cc_needs_belf+:} false; then :
6826 $as_echo_n "(cached) " >&6
6827 else
6828 ac_ext=c
6829 ac_cpp='$CPP $CPPFLAGS'
6830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6833
6834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6835 /* end confdefs.h. */
6836
6837 int
6838 main ()
6839 {
6840
6841 ;
6842 return 0;
6843 }
6844 _ACEOF
6845 if ac_fn_c_try_link "$LINENO"; then :
6846 lt_cv_cc_needs_belf=yes
6847 else
6848 lt_cv_cc_needs_belf=no
6849 fi
6850 rm -f core conftest.err conftest.$ac_objext \
6851 conftest$ac_exeext conftest.$ac_ext
6852 ac_ext=c
6853 ac_cpp='$CPP $CPPFLAGS'
6854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6857
6858 fi
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6860 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6861 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6862 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6863 CFLAGS="$SAVE_CFLAGS"
6864 fi
6865 ;;
6866 *-*solaris*)
6867 # Find out which ABI we are using.
6868 echo 'int i;' > conftest.$ac_ext
6869 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6870 (eval $ac_compile) 2>&5
6871 ac_status=$?
6872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6873 test $ac_status = 0; }; then
6874 case `/usr/bin/file conftest.o` in
6875 *64-bit*)
6876 case $lt_cv_prog_gnu_ld in
6877 yes*)
6878 case $host in
6879 i?86-*-solaris*)
6880 LD="${LD-ld} -m elf_x86_64"
6881 ;;
6882 sparc*-*-solaris*)
6883 LD="${LD-ld} -m elf64_sparc"
6884 ;;
6885 esac
6886 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6887 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6888 LD="${LD-ld}_sol2"
6889 fi
6890 ;;
6891 *)
6892 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6893 LD="${LD-ld} -64"
6894 fi
6895 ;;
6896 esac
6897 ;;
6898 esac
6899 fi
6900 rm -rf conftest*
6901 ;;
6902 esac
6903
6904 need_locks="$enable_libtool_lock"
6905
6906 if test -n "$ac_tool_prefix"; then
6907 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6908 set dummy ${ac_tool_prefix}mt; ac_word=$2
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6910 $as_echo_n "checking for $ac_word... " >&6; }
6911 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6912 $as_echo_n "(cached) " >&6
6913 else
6914 if test -n "$MANIFEST_TOOL"; then
6915 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6916 else
6917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6918 for as_dir in $PATH
6919 do
6920 IFS=$as_save_IFS
6921 test -z "$as_dir" && as_dir=.
6922 for ac_exec_ext in '' $ac_executable_extensions; do
6923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6924 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6926 break 2
6927 fi
6928 done
6929 done
6930 IFS=$as_save_IFS
6931
6932 fi
6933 fi
6934 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6935 if test -n "$MANIFEST_TOOL"; then
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6937 $as_echo "$MANIFEST_TOOL" >&6; }
6938 else
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6940 $as_echo "no" >&6; }
6941 fi
6942
6943
6944 fi
6945 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6946 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6947 # Extract the first word of "mt", so it can be a program name with args.
6948 set dummy mt; ac_word=$2
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6950 $as_echo_n "checking for $ac_word... " >&6; }
6951 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6952 $as_echo_n "(cached) " >&6
6953 else
6954 if test -n "$ac_ct_MANIFEST_TOOL"; then
6955 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6956 else
6957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6958 for as_dir in $PATH
6959 do
6960 IFS=$as_save_IFS
6961 test -z "$as_dir" && as_dir=.
6962 for ac_exec_ext in '' $ac_executable_extensions; do
6963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6964 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6966 break 2
6967 fi
6968 done
6969 done
6970 IFS=$as_save_IFS
6971
6972 fi
6973 fi
6974 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6975 if test -n "$ac_ct_MANIFEST_TOOL"; then
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6977 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6978 else
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6980 $as_echo "no" >&6; }
6981 fi
6982
6983 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6984 MANIFEST_TOOL=":"
6985 else
6986 case $cross_compiling:$ac_tool_warned in
6987 yes:)
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6989 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6990 ac_tool_warned=yes ;;
6991 esac
6992 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6993 fi
6994 else
6995 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6996 fi
6997
6998 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7000 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7001 if ${lt_cv_path_mainfest_tool+:} false; then :
7002 $as_echo_n "(cached) " >&6
7003 else
7004 lt_cv_path_mainfest_tool=no
7005 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7006 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7007 cat conftest.err >&5
7008 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7009 lt_cv_path_mainfest_tool=yes
7010 fi
7011 rm -f conftest*
7012 fi
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7014 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7015 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7016 MANIFEST_TOOL=:
7017 fi
7018
7019
7020
7021
7022
7023
7024 case $host_os in
7025 rhapsody* | darwin*)
7026 if test -n "$ac_tool_prefix"; then
7027 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7028 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7030 $as_echo_n "checking for $ac_word... " >&6; }
7031 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7032 $as_echo_n "(cached) " >&6
7033 else
7034 if test -n "$DSYMUTIL"; then
7035 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7036 else
7037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7038 for as_dir in $PATH
7039 do
7040 IFS=$as_save_IFS
7041 test -z "$as_dir" && as_dir=.
7042 for ac_exec_ext in '' $ac_executable_extensions; do
7043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7044 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7046 break 2
7047 fi
7048 done
7049 done
7050 IFS=$as_save_IFS
7051
7052 fi
7053 fi
7054 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7055 if test -n "$DSYMUTIL"; then
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7057 $as_echo "$DSYMUTIL" >&6; }
7058 else
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7060 $as_echo "no" >&6; }
7061 fi
7062
7063
7064 fi
7065 if test -z "$ac_cv_prog_DSYMUTIL"; then
7066 ac_ct_DSYMUTIL=$DSYMUTIL
7067 # Extract the first word of "dsymutil", so it can be a program name with args.
7068 set dummy dsymutil; ac_word=$2
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7070 $as_echo_n "checking for $ac_word... " >&6; }
7071 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7072 $as_echo_n "(cached) " >&6
7073 else
7074 if test -n "$ac_ct_DSYMUTIL"; then
7075 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7076 else
7077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7078 for as_dir in $PATH
7079 do
7080 IFS=$as_save_IFS
7081 test -z "$as_dir" && as_dir=.
7082 for ac_exec_ext in '' $ac_executable_extensions; do
7083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7084 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7086 break 2
7087 fi
7088 done
7089 done
7090 IFS=$as_save_IFS
7091
7092 fi
7093 fi
7094 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7095 if test -n "$ac_ct_DSYMUTIL"; then
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7097 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7098 else
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7100 $as_echo "no" >&6; }
7101 fi
7102
7103 if test "x$ac_ct_DSYMUTIL" = x; then
7104 DSYMUTIL=":"
7105 else
7106 case $cross_compiling:$ac_tool_warned in
7107 yes:)
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7109 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7110 ac_tool_warned=yes ;;
7111 esac
7112 DSYMUTIL=$ac_ct_DSYMUTIL
7113 fi
7114 else
7115 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7116 fi
7117
7118 if test -n "$ac_tool_prefix"; then
7119 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7120 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7122 $as_echo_n "checking for $ac_word... " >&6; }
7123 if ${ac_cv_prog_NMEDIT+:} false; then :
7124 $as_echo_n "(cached) " >&6
7125 else
7126 if test -n "$NMEDIT"; then
7127 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7128 else
7129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7130 for as_dir in $PATH
7131 do
7132 IFS=$as_save_IFS
7133 test -z "$as_dir" && as_dir=.
7134 for ac_exec_ext in '' $ac_executable_extensions; do
7135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7136 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7138 break 2
7139 fi
7140 done
7141 done
7142 IFS=$as_save_IFS
7143
7144 fi
7145 fi
7146 NMEDIT=$ac_cv_prog_NMEDIT
7147 if test -n "$NMEDIT"; then
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7149 $as_echo "$NMEDIT" >&6; }
7150 else
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7152 $as_echo "no" >&6; }
7153 fi
7154
7155
7156 fi
7157 if test -z "$ac_cv_prog_NMEDIT"; then
7158 ac_ct_NMEDIT=$NMEDIT
7159 # Extract the first word of "nmedit", so it can be a program name with args.
7160 set dummy nmedit; ac_word=$2
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7162 $as_echo_n "checking for $ac_word... " >&6; }
7163 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7164 $as_echo_n "(cached) " >&6
7165 else
7166 if test -n "$ac_ct_NMEDIT"; then
7167 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7168 else
7169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7170 for as_dir in $PATH
7171 do
7172 IFS=$as_save_IFS
7173 test -z "$as_dir" && as_dir=.
7174 for ac_exec_ext in '' $ac_executable_extensions; do
7175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7176 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7178 break 2
7179 fi
7180 done
7181 done
7182 IFS=$as_save_IFS
7183
7184 fi
7185 fi
7186 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7187 if test -n "$ac_ct_NMEDIT"; then
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7189 $as_echo "$ac_ct_NMEDIT" >&6; }
7190 else
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7192 $as_echo "no" >&6; }
7193 fi
7194
7195 if test "x$ac_ct_NMEDIT" = x; then
7196 NMEDIT=":"
7197 else
7198 case $cross_compiling:$ac_tool_warned in
7199 yes:)
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7201 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7202 ac_tool_warned=yes ;;
7203 esac
7204 NMEDIT=$ac_ct_NMEDIT
7205 fi
7206 else
7207 NMEDIT="$ac_cv_prog_NMEDIT"
7208 fi
7209
7210 if test -n "$ac_tool_prefix"; then
7211 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7212 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7214 $as_echo_n "checking for $ac_word... " >&6; }
7215 if ${ac_cv_prog_LIPO+:} false; then :
7216 $as_echo_n "(cached) " >&6
7217 else
7218 if test -n "$LIPO"; then
7219 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7220 else
7221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7222 for as_dir in $PATH
7223 do
7224 IFS=$as_save_IFS
7225 test -z "$as_dir" && as_dir=.
7226 for ac_exec_ext in '' $ac_executable_extensions; do
7227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7228 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7230 break 2
7231 fi
7232 done
7233 done
7234 IFS=$as_save_IFS
7235
7236 fi
7237 fi
7238 LIPO=$ac_cv_prog_LIPO
7239 if test -n "$LIPO"; then
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7241 $as_echo "$LIPO" >&6; }
7242 else
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7244 $as_echo "no" >&6; }
7245 fi
7246
7247
7248 fi
7249 if test -z "$ac_cv_prog_LIPO"; then
7250 ac_ct_LIPO=$LIPO
7251 # Extract the first word of "lipo", so it can be a program name with args.
7252 set dummy lipo; ac_word=$2
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7254 $as_echo_n "checking for $ac_word... " >&6; }
7255 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7256 $as_echo_n "(cached) " >&6
7257 else
7258 if test -n "$ac_ct_LIPO"; then
7259 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7260 else
7261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7262 for as_dir in $PATH
7263 do
7264 IFS=$as_save_IFS
7265 test -z "$as_dir" && as_dir=.
7266 for ac_exec_ext in '' $ac_executable_extensions; do
7267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7268 ac_cv_prog_ac_ct_LIPO="lipo"
7269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7270 break 2
7271 fi
7272 done
7273 done
7274 IFS=$as_save_IFS
7275
7276 fi
7277 fi
7278 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7279 if test -n "$ac_ct_LIPO"; then
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7281 $as_echo "$ac_ct_LIPO" >&6; }
7282 else
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7284 $as_echo "no" >&6; }
7285 fi
7286
7287 if test "x$ac_ct_LIPO" = x; then
7288 LIPO=":"
7289 else
7290 case $cross_compiling:$ac_tool_warned in
7291 yes:)
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7293 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7294 ac_tool_warned=yes ;;
7295 esac
7296 LIPO=$ac_ct_LIPO
7297 fi
7298 else
7299 LIPO="$ac_cv_prog_LIPO"
7300 fi
7301
7302 if test -n "$ac_tool_prefix"; then
7303 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7304 set dummy ${ac_tool_prefix}otool; ac_word=$2
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7306 $as_echo_n "checking for $ac_word... " >&6; }
7307 if ${ac_cv_prog_OTOOL+:} false; then :
7308 $as_echo_n "(cached) " >&6
7309 else
7310 if test -n "$OTOOL"; then
7311 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7312 else
7313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7314 for as_dir in $PATH
7315 do
7316 IFS=$as_save_IFS
7317 test -z "$as_dir" && as_dir=.
7318 for ac_exec_ext in '' $ac_executable_extensions; do
7319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7320 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7322 break 2
7323 fi
7324 done
7325 done
7326 IFS=$as_save_IFS
7327
7328 fi
7329 fi
7330 OTOOL=$ac_cv_prog_OTOOL
7331 if test -n "$OTOOL"; then
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7333 $as_echo "$OTOOL" >&6; }
7334 else
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7336 $as_echo "no" >&6; }
7337 fi
7338
7339
7340 fi
7341 if test -z "$ac_cv_prog_OTOOL"; then
7342 ac_ct_OTOOL=$OTOOL
7343 # Extract the first word of "otool", so it can be a program name with args.
7344 set dummy otool; ac_word=$2
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7346 $as_echo_n "checking for $ac_word... " >&6; }
7347 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7348 $as_echo_n "(cached) " >&6
7349 else
7350 if test -n "$ac_ct_OTOOL"; then
7351 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7352 else
7353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7354 for as_dir in $PATH
7355 do
7356 IFS=$as_save_IFS
7357 test -z "$as_dir" && as_dir=.
7358 for ac_exec_ext in '' $ac_executable_extensions; do
7359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7360 ac_cv_prog_ac_ct_OTOOL="otool"
7361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7362 break 2
7363 fi
7364 done
7365 done
7366 IFS=$as_save_IFS
7367
7368 fi
7369 fi
7370 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7371 if test -n "$ac_ct_OTOOL"; then
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7373 $as_echo "$ac_ct_OTOOL" >&6; }
7374 else
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7376 $as_echo "no" >&6; }
7377 fi
7378
7379 if test "x$ac_ct_OTOOL" = x; then
7380 OTOOL=":"
7381 else
7382 case $cross_compiling:$ac_tool_warned in
7383 yes:)
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7385 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7386 ac_tool_warned=yes ;;
7387 esac
7388 OTOOL=$ac_ct_OTOOL
7389 fi
7390 else
7391 OTOOL="$ac_cv_prog_OTOOL"
7392 fi
7393
7394 if test -n "$ac_tool_prefix"; then
7395 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7396 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7398 $as_echo_n "checking for $ac_word... " >&6; }
7399 if ${ac_cv_prog_OTOOL64+:} false; then :
7400 $as_echo_n "(cached) " >&6
7401 else
7402 if test -n "$OTOOL64"; then
7403 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7404 else
7405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7406 for as_dir in $PATH
7407 do
7408 IFS=$as_save_IFS
7409 test -z "$as_dir" && as_dir=.
7410 for ac_exec_ext in '' $ac_executable_extensions; do
7411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7412 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7414 break 2
7415 fi
7416 done
7417 done
7418 IFS=$as_save_IFS
7419
7420 fi
7421 fi
7422 OTOOL64=$ac_cv_prog_OTOOL64
7423 if test -n "$OTOOL64"; then
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7425 $as_echo "$OTOOL64" >&6; }
7426 else
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7428 $as_echo "no" >&6; }
7429 fi
7430
7431
7432 fi
7433 if test -z "$ac_cv_prog_OTOOL64"; then
7434 ac_ct_OTOOL64=$OTOOL64
7435 # Extract the first word of "otool64", so it can be a program name with args.
7436 set dummy otool64; ac_word=$2
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7438 $as_echo_n "checking for $ac_word... " >&6; }
7439 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7440 $as_echo_n "(cached) " >&6
7441 else
7442 if test -n "$ac_ct_OTOOL64"; then
7443 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7444 else
7445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7446 for as_dir in $PATH
7447 do
7448 IFS=$as_save_IFS
7449 test -z "$as_dir" && as_dir=.
7450 for ac_exec_ext in '' $ac_executable_extensions; do
7451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7452 ac_cv_prog_ac_ct_OTOOL64="otool64"
7453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7454 break 2
7455 fi
7456 done
7457 done
7458 IFS=$as_save_IFS
7459
7460 fi
7461 fi
7462 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7463 if test -n "$ac_ct_OTOOL64"; then
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7465 $as_echo "$ac_ct_OTOOL64" >&6; }
7466 else
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7468 $as_echo "no" >&6; }
7469 fi
7470
7471 if test "x$ac_ct_OTOOL64" = x; then
7472 OTOOL64=":"
7473 else
7474 case $cross_compiling:$ac_tool_warned in
7475 yes:)
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7477 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7478 ac_tool_warned=yes ;;
7479 esac
7480 OTOOL64=$ac_ct_OTOOL64
7481 fi
7482 else
7483 OTOOL64="$ac_cv_prog_OTOOL64"
7484 fi
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7513 $as_echo_n "checking for -single_module linker flag... " >&6; }
7514 if ${lt_cv_apple_cc_single_mod+:} false; then :
7515 $as_echo_n "(cached) " >&6
7516 else
7517 lt_cv_apple_cc_single_mod=no
7518 if test -z "${LT_MULTI_MODULE}"; then
7519 # By default we will add the -single_module flag. You can override
7520 # by either setting the environment variable LT_MULTI_MODULE
7521 # non-empty at configure time, or by adding -multi_module to the
7522 # link flags.
7523 rm -rf libconftest.dylib*
7524 echo "int foo(void){return 1;}" > conftest.c
7525 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7526 -dynamiclib -Wl,-single_module conftest.c" >&5
7527 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7528 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7529 _lt_result=$?
7530 # If there is a non-empty error log, and "single_module"
7531 # appears in it, assume the flag caused a linker warning
7532 if test -s conftest.err && $GREP single_module conftest.err; then
7533 cat conftest.err >&5
7534 # Otherwise, if the output was created with a 0 exit code from
7535 # the compiler, it worked.
7536 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7537 lt_cv_apple_cc_single_mod=yes
7538 else
7539 cat conftest.err >&5
7540 fi
7541 rm -rf libconftest.dylib*
7542 rm -f conftest.*
7543 fi
7544 fi
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7546 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7547
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7549 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7550 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7551 $as_echo_n "(cached) " >&6
7552 else
7553 lt_cv_ld_exported_symbols_list=no
7554 save_LDFLAGS=$LDFLAGS
7555 echo "_main" > conftest.sym
7556 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7558 /* end confdefs.h. */
7559
7560 int
7561 main ()
7562 {
7563
7564 ;
7565 return 0;
7566 }
7567 _ACEOF
7568 if ac_fn_c_try_link "$LINENO"; then :
7569 lt_cv_ld_exported_symbols_list=yes
7570 else
7571 lt_cv_ld_exported_symbols_list=no
7572 fi
7573 rm -f core conftest.err conftest.$ac_objext \
7574 conftest$ac_exeext conftest.$ac_ext
7575 LDFLAGS="$save_LDFLAGS"
7576
7577 fi
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7579 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7580
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7582 $as_echo_n "checking for -force_load linker flag... " >&6; }
7583 if ${lt_cv_ld_force_load+:} false; then :
7584 $as_echo_n "(cached) " >&6
7585 else
7586 lt_cv_ld_force_load=no
7587 cat > conftest.c << _LT_EOF
7588 int forced_loaded() { return 2;}
7589 _LT_EOF
7590 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7591 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7592 echo "$AR cru libconftest.a conftest.o" >&5
7593 $AR cru libconftest.a conftest.o 2>&5
7594 echo "$RANLIB libconftest.a" >&5
7595 $RANLIB libconftest.a 2>&5
7596 cat > conftest.c << _LT_EOF
7597 int main() { return 0;}
7598 _LT_EOF
7599 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7600 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7601 _lt_result=$?
7602 if test -s conftest.err && $GREP force_load conftest.err; then
7603 cat conftest.err >&5
7604 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7605 lt_cv_ld_force_load=yes
7606 else
7607 cat conftest.err >&5
7608 fi
7609 rm -f conftest.err libconftest.a conftest conftest.c
7610 rm -rf conftest.dSYM
7611
7612 fi
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7614 $as_echo "$lt_cv_ld_force_load" >&6; }
7615 case $host_os in
7616 rhapsody* | darwin1.[012])
7617 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7618 darwin1.*)
7619 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7620 darwin*) # darwin 5.x on
7621 # if running on 10.5 or later, the deployment target defaults
7622 # to the OS version, if on x86, and 10.4, the deployment
7623 # target defaults to 10.4. Don't you love it?
7624 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7625 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7626 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7627 10.[012]*)
7628 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7629 10.*)
7630 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7631 esac
7632 ;;
7633 esac
7634 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7635 _lt_dar_single_mod='$single_module'
7636 fi
7637 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7638 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7639 else
7640 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7641 fi
7642 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7643 _lt_dsymutil='~$DSYMUTIL $lib || :'
7644 else
7645 _lt_dsymutil=
7646 fi
7647 ;;
7648 esac
7649
7650 ac_ext=c
7651 ac_cpp='$CPP $CPPFLAGS'
7652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7656 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7657 # On Suns, sometimes $CPP names a directory.
7658 if test -n "$CPP" && test -d "$CPP"; then
7659 CPP=
7660 fi
7661 if test -z "$CPP"; then
7662 if ${ac_cv_prog_CPP+:} false; then :
7663 $as_echo_n "(cached) " >&6
7664 else
7665 # Double quotes because CPP needs to be expanded
7666 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7667 do
7668 ac_preproc_ok=false
7669 for ac_c_preproc_warn_flag in '' yes
7670 do
7671 # Use a header file that comes with gcc, so configuring glibc
7672 # with a fresh cross-compiler works.
7673 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7674 # <limits.h> exists even on freestanding compilers.
7675 # On the NeXT, cc -E runs the code through the compiler's parser,
7676 # not just through cpp. "Syntax error" is here to catch this case.
7677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7678 /* end confdefs.h. */
7679 #ifdef __STDC__
7680 # include <limits.h>
7681 #else
7682 # include <assert.h>
7683 #endif
7684 Syntax error
7685 _ACEOF
7686 if ac_fn_c_try_cpp "$LINENO"; then :
7687
7688 else
7689 # Broken: fails on valid input.
7690 continue
7691 fi
7692 rm -f conftest.err conftest.i conftest.$ac_ext
7693
7694 # OK, works on sane cases. Now check whether nonexistent headers
7695 # can be detected and how.
7696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7697 /* end confdefs.h. */
7698 #include <ac_nonexistent.h>
7699 _ACEOF
7700 if ac_fn_c_try_cpp "$LINENO"; then :
7701 # Broken: success on invalid input.
7702 continue
7703 else
7704 # Passes both tests.
7705 ac_preproc_ok=:
7706 break
7707 fi
7708 rm -f conftest.err conftest.i conftest.$ac_ext
7709
7710 done
7711 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7712 rm -f conftest.i conftest.err conftest.$ac_ext
7713 if $ac_preproc_ok; then :
7714 break
7715 fi
7716
7717 done
7718 ac_cv_prog_CPP=$CPP
7719
7720 fi
7721 CPP=$ac_cv_prog_CPP
7722 else
7723 ac_cv_prog_CPP=$CPP
7724 fi
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7726 $as_echo "$CPP" >&6; }
7727 ac_preproc_ok=false
7728 for ac_c_preproc_warn_flag in '' yes
7729 do
7730 # Use a header file that comes with gcc, so configuring glibc
7731 # with a fresh cross-compiler works.
7732 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7733 # <limits.h> exists even on freestanding compilers.
7734 # On the NeXT, cc -E runs the code through the compiler's parser,
7735 # not just through cpp. "Syntax error" is here to catch this case.
7736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7737 /* end confdefs.h. */
7738 #ifdef __STDC__
7739 # include <limits.h>
7740 #else
7741 # include <assert.h>
7742 #endif
7743 Syntax error
7744 _ACEOF
7745 if ac_fn_c_try_cpp "$LINENO"; then :
7746
7747 else
7748 # Broken: fails on valid input.
7749 continue
7750 fi
7751 rm -f conftest.err conftest.i conftest.$ac_ext
7752
7753 # OK, works on sane cases. Now check whether nonexistent headers
7754 # can be detected and how.
7755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7756 /* end confdefs.h. */
7757 #include <ac_nonexistent.h>
7758 _ACEOF
7759 if ac_fn_c_try_cpp "$LINENO"; then :
7760 # Broken: success on invalid input.
7761 continue
7762 else
7763 # Passes both tests.
7764 ac_preproc_ok=:
7765 break
7766 fi
7767 rm -f conftest.err conftest.i conftest.$ac_ext
7768
7769 done
7770 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7771 rm -f conftest.i conftest.err conftest.$ac_ext
7772 if $ac_preproc_ok; then :
7773
7774 else
7775 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7776 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7777 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7778 See \`config.log' for more details" "$LINENO" 5; }
7779 fi
7780
7781 ac_ext=c
7782 ac_cpp='$CPP $CPPFLAGS'
7783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7786
7787
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7789 $as_echo_n "checking for ANSI C header files... " >&6; }
7790 if ${ac_cv_header_stdc+:} false; then :
7791 $as_echo_n "(cached) " >&6
7792 else
7793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7794 /* end confdefs.h. */
7795 #include <stdlib.h>
7796 #include <stdarg.h>
7797 #include <string.h>
7798 #include <float.h>
7799
7800 int
7801 main ()
7802 {
7803
7804 ;
7805 return 0;
7806 }
7807 _ACEOF
7808 if ac_fn_c_try_compile "$LINENO"; then :
7809 ac_cv_header_stdc=yes
7810 else
7811 ac_cv_header_stdc=no
7812 fi
7813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7814
7815 if test $ac_cv_header_stdc = yes; then
7816 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7818 /* end confdefs.h. */
7819 #include <string.h>
7820
7821 _ACEOF
7822 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7823 $EGREP "memchr" >/dev/null 2>&1; then :
7824
7825 else
7826 ac_cv_header_stdc=no
7827 fi
7828 rm -f conftest*
7829
7830 fi
7831
7832 if test $ac_cv_header_stdc = yes; then
7833 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7835 /* end confdefs.h. */
7836 #include <stdlib.h>
7837
7838 _ACEOF
7839 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7840 $EGREP "free" >/dev/null 2>&1; then :
7841
7842 else
7843 ac_cv_header_stdc=no
7844 fi
7845 rm -f conftest*
7846
7847 fi
7848
7849 if test $ac_cv_header_stdc = yes; then
7850 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7851 if test "$cross_compiling" = yes; then :
7852 :
7853 else
7854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7855 /* end confdefs.h. */
7856 #include <ctype.h>
7857 #include <stdlib.h>
7858 #if ((' ' & 0x0FF) == 0x020)
7859 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7860 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7861 #else
7862 # define ISLOWER(c) \
7863 (('a' <= (c) && (c) <= 'i') \
7864 || ('j' <= (c) && (c) <= 'r') \
7865 || ('s' <= (c) && (c) <= 'z'))
7866 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7867 #endif
7868
7869 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7870 int
7871 main ()
7872 {
7873 int i;
7874 for (i = 0; i < 256; i++)
7875 if (XOR (islower (i), ISLOWER (i))
7876 || toupper (i) != TOUPPER (i))
7877 return 2;
7878 return 0;
7879 }
7880 _ACEOF
7881 if ac_fn_c_try_run "$LINENO"; then :
7882
7883 else
7884 ac_cv_header_stdc=no
7885 fi
7886 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7887 conftest.$ac_objext conftest.beam conftest.$ac_ext
7888 fi
7889
7890 fi
7891 fi
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7893 $as_echo "$ac_cv_header_stdc" >&6; }
7894 if test $ac_cv_header_stdc = yes; then
7895
7896 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7897
7898 fi
7899
7900 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7901 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7902 inttypes.h stdint.h unistd.h
7903 do :
7904 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7905 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7906 "
7907 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7908 cat >>confdefs.h <<_ACEOF
7909 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7910 _ACEOF
7911
7912 fi
7913
7914 done
7915
7916
7917 for ac_header in dlfcn.h
7918 do :
7919 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7920 "
7921 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7922 cat >>confdefs.h <<_ACEOF
7923 #define HAVE_DLFCN_H 1
7924 _ACEOF
7925
7926 fi
7927
7928 done
7929
7930
7931
7932
7933
7934 # Set options
7935 enable_dlopen=yes
7936 # Check whether --enable-static was given.
7937 if test "${enable_static+set}" = set; then :
7938 enableval=$enable_static; p=${PACKAGE-default}
7939 case $enableval in
7940 yes) enable_static=yes ;;
7941 no) enable_static=no ;;
7942 *)
7943 enable_static=no
7944 # Look at the argument we got. We use all the common list separators.
7945 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7946 for pkg in $enableval; do
7947 IFS="$lt_save_ifs"
7948 if test "X$pkg" = "X$p"; then
7949 enable_static=yes
7950 fi
7951 done
7952 IFS="$lt_save_ifs"
7953 ;;
7954 esac
7955 else
7956 enable_static=no
7957 fi
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969 enable_win32_dll=no
7970
7971
7972 # Check whether --enable-shared was given.
7973 if test "${enable_shared+set}" = set; then :
7974 enableval=$enable_shared; p=${PACKAGE-default}
7975 case $enableval in
7976 yes) enable_shared=yes ;;
7977 no) enable_shared=no ;;
7978 *)
7979 enable_shared=no
7980 # Look at the argument we got. We use all the common list separators.
7981 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7982 for pkg in $enableval; do
7983 IFS="$lt_save_ifs"
7984 if test "X$pkg" = "X$p"; then
7985 enable_shared=yes
7986 fi
7987 done
7988 IFS="$lt_save_ifs"
7989 ;;
7990 esac
7991 else
7992 enable_shared=yes
7993 fi
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005 # Check whether --with-pic was given.
8006 if test "${with_pic+set}" = set; then :
8007 withval=$with_pic; lt_p=${PACKAGE-default}
8008 case $withval in
8009 yes|no) pic_mode=$withval ;;
8010 *)
8011 pic_mode=default
8012 # Look at the argument we got. We use all the common list separators.
8013 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8014 for lt_pkg in $withval; do
8015 IFS="$lt_save_ifs"
8016 if test "X$lt_pkg" = "X$lt_p"; then
8017 pic_mode=yes
8018 fi
8019 done
8020 IFS="$lt_save_ifs"
8021 ;;
8022 esac
8023 else
8024 pic_mode=default
8025 fi
8026
8027
8028 test -z "$pic_mode" && pic_mode=default
8029
8030
8031
8032
8033
8034
8035
8036 # Check whether --enable-fast-install was given.
8037 if test "${enable_fast_install+set}" = set; then :
8038 enableval=$enable_fast_install; p=${PACKAGE-default}
8039 case $enableval in
8040 yes) enable_fast_install=yes ;;
8041 no) enable_fast_install=no ;;
8042 *)
8043 enable_fast_install=no
8044 # Look at the argument we got. We use all the common list separators.
8045 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8046 for pkg in $enableval; do
8047 IFS="$lt_save_ifs"
8048 if test "X$pkg" = "X$p"; then
8049 enable_fast_install=yes
8050 fi
8051 done
8052 IFS="$lt_save_ifs"
8053 ;;
8054 esac
8055 else
8056 enable_fast_install=yes
8057 fi
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069 # This can be used to rebuild libtool when needed
8070 LIBTOOL_DEPS="$ltmain"
8071
8072 # Always use our own libtool.
8073 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104 test -z "$LN_S" && LN_S="ln -s"
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119 if test -n "${ZSH_VERSION+set}" ; then
8120 setopt NO_GLOB_SUBST
8121 fi
8122
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8124 $as_echo_n "checking for objdir... " >&6; }
8125 if ${lt_cv_objdir+:} false; then :
8126 $as_echo_n "(cached) " >&6
8127 else
8128 rm -f .libs 2>/dev/null
8129 mkdir .libs 2>/dev/null
8130 if test -d .libs; then
8131 lt_cv_objdir=.libs
8132 else
8133 # MS-DOS does not allow filenames that begin with a dot.
8134 lt_cv_objdir=_libs
8135 fi
8136 rmdir .libs 2>/dev/null
8137 fi
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8139 $as_echo "$lt_cv_objdir" >&6; }
8140 objdir=$lt_cv_objdir
8141
8142
8143
8144
8145
8146 cat >>confdefs.h <<_ACEOF
8147 #define LT_OBJDIR "$lt_cv_objdir/"
8148 _ACEOF
8149
8150
8151
8152
8153 case $host_os in
8154 aix3*)
8155 # AIX sometimes has problems with the GCC collect2 program. For some
8156 # reason, if we set the COLLECT_NAMES environment variable, the problems
8157 # vanish in a puff of smoke.
8158 if test "X${COLLECT_NAMES+set}" != Xset; then
8159 COLLECT_NAMES=
8160 export COLLECT_NAMES
8161 fi
8162 ;;
8163 esac
8164
8165 # Global variables:
8166 ofile=libtool
8167 can_build_shared=yes
8168
8169 # All known linkers require a `.a' archive for static linking (except MSVC,
8170 # which needs '.lib').
8171 libext=a
8172
8173 with_gnu_ld="$lt_cv_prog_gnu_ld"
8174
8175 old_CC="$CC"
8176 old_CFLAGS="$CFLAGS"
8177
8178 # Set sane defaults for various variables
8179 test -z "$CC" && CC=cc
8180 test -z "$LTCC" && LTCC=$CC
8181 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8182 test -z "$LD" && LD=ld
8183 test -z "$ac_objext" && ac_objext=o
8184
8185 for cc_temp in $compiler""; do
8186 case $cc_temp in
8187 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8188 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8189 \-*) ;;
8190 *) break;;
8191 esac
8192 done
8193 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8194
8195
8196 # Only perform the check for file, if the check method requires it
8197 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8198 case $deplibs_check_method in
8199 file_magic*)
8200 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8202 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8203 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8204 $as_echo_n "(cached) " >&6
8205 else
8206 case $MAGIC_CMD in
8207 [\\/*] | ?:[\\/]*)
8208 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8209 ;;
8210 *)
8211 lt_save_MAGIC_CMD="$MAGIC_CMD"
8212 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8213 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8214 for ac_dir in $ac_dummy; do
8215 IFS="$lt_save_ifs"
8216 test -z "$ac_dir" && ac_dir=.
8217 if test -f $ac_dir/${ac_tool_prefix}file; then
8218 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8219 if test -n "$file_magic_test_file"; then
8220 case $deplibs_check_method in
8221 "file_magic "*)
8222 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8223 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8224 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8225 $EGREP "$file_magic_regex" > /dev/null; then
8226 :
8227 else
8228 cat <<_LT_EOF 1>&2
8229
8230 *** Warning: the command libtool uses to detect shared libraries,
8231 *** $file_magic_cmd, produces output that libtool cannot recognize.
8232 *** The result is that libtool may fail to recognize shared libraries
8233 *** as such. This will affect the creation of libtool libraries that
8234 *** depend on shared libraries, but programs linked with such libtool
8235 *** libraries will work regardless of this problem. Nevertheless, you
8236 *** may want to report the problem to your system manager and/or to
8237 *** bug-libtool@gnu.org
8238
8239 _LT_EOF
8240 fi ;;
8241 esac
8242 fi
8243 break
8244 fi
8245 done
8246 IFS="$lt_save_ifs"
8247 MAGIC_CMD="$lt_save_MAGIC_CMD"
8248 ;;
8249 esac
8250 fi
8251
8252 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8253 if test -n "$MAGIC_CMD"; then
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8255 $as_echo "$MAGIC_CMD" >&6; }
8256 else
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8258 $as_echo "no" >&6; }
8259 fi
8260
8261
8262
8263
8264
8265 if test -z "$lt_cv_path_MAGIC_CMD"; then
8266 if test -n "$ac_tool_prefix"; then
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8268 $as_echo_n "checking for file... " >&6; }
8269 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8270 $as_echo_n "(cached) " >&6
8271 else
8272 case $MAGIC_CMD in
8273 [\\/*] | ?:[\\/]*)
8274 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8275 ;;
8276 *)
8277 lt_save_MAGIC_CMD="$MAGIC_CMD"
8278 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8279 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8280 for ac_dir in $ac_dummy; do
8281 IFS="$lt_save_ifs"
8282 test -z "$ac_dir" && ac_dir=.
8283 if test -f $ac_dir/file; then
8284 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8285 if test -n "$file_magic_test_file"; then
8286 case $deplibs_check_method in
8287 "file_magic "*)
8288 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8289 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8290 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8291 $EGREP "$file_magic_regex" > /dev/null; then
8292 :
8293 else
8294 cat <<_LT_EOF 1>&2
8295
8296 *** Warning: the command libtool uses to detect shared libraries,
8297 *** $file_magic_cmd, produces output that libtool cannot recognize.
8298 *** The result is that libtool may fail to recognize shared libraries
8299 *** as such. This will affect the creation of libtool libraries that
8300 *** depend on shared libraries, but programs linked with such libtool
8301 *** libraries will work regardless of this problem. Nevertheless, you
8302 *** may want to report the problem to your system manager and/or to
8303 *** bug-libtool@gnu.org
8304
8305 _LT_EOF
8306 fi ;;
8307 esac
8308 fi
8309 break
8310 fi
8311 done
8312 IFS="$lt_save_ifs"
8313 MAGIC_CMD="$lt_save_MAGIC_CMD"
8314 ;;
8315 esac
8316 fi
8317
8318 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8319 if test -n "$MAGIC_CMD"; then
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8321 $as_echo "$MAGIC_CMD" >&6; }
8322 else
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8324 $as_echo "no" >&6; }
8325 fi
8326
8327
8328 else
8329 MAGIC_CMD=:
8330 fi
8331 fi
8332
8333 fi
8334 ;;
8335 esac
8336
8337 # Use C for the default configuration in the libtool script
8338
8339 lt_save_CC="$CC"
8340 ac_ext=c
8341 ac_cpp='$CPP $CPPFLAGS'
8342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8345
8346
8347 # Source file extension for C test sources.
8348 ac_ext=c
8349
8350 # Object file extension for compiled C test sources.
8351 objext=o
8352 objext=$objext
8353
8354 # Code to be used in simple compile tests
8355 lt_simple_compile_test_code="int some_variable = 0;"
8356
8357 # Code to be used in simple link tests
8358 lt_simple_link_test_code='int main(){return(0);}'
8359
8360
8361
8362
8363
8364
8365
8366 # If no C compiler was specified, use CC.
8367 LTCC=${LTCC-"$CC"}
8368
8369 # If no C compiler flags were specified, use CFLAGS.
8370 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8371
8372 # Allow CC to be a program name with arguments.
8373 compiler=$CC
8374
8375 # Save the default compiler, since it gets overwritten when the other
8376 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8377 compiler_DEFAULT=$CC
8378
8379 # save warnings/boilerplate of simple test code
8380 ac_outfile=conftest.$ac_objext
8381 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8382 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8383 _lt_compiler_boilerplate=`cat conftest.err`
8384 $RM conftest*
8385
8386 ac_outfile=conftest.$ac_objext
8387 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8388 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8389 _lt_linker_boilerplate=`cat conftest.err`
8390 $RM -r conftest*
8391
8392
8393 if test -n "$compiler"; then
8394
8395 lt_prog_compiler_no_builtin_flag=
8396
8397 if test "$GCC" = yes; then
8398 case $cc_basename in
8399 nvcc*)
8400 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8401 *)
8402 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8403 esac
8404
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8406 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8407 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8408 $as_echo_n "(cached) " >&6
8409 else
8410 lt_cv_prog_compiler_rtti_exceptions=no
8411 ac_outfile=conftest.$ac_objext
8412 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8413 lt_compiler_flag="-fno-rtti -fno-exceptions"
8414 # Insert the option either (1) after the last *FLAGS variable, or
8415 # (2) before a word containing "conftest.", or (3) at the end.
8416 # Note that $ac_compile itself does not contain backslashes and begins
8417 # with a dollar sign (not a hyphen), so the echo should work correctly.
8418 # The option is referenced via a variable to avoid confusing sed.
8419 lt_compile=`echo "$ac_compile" | $SED \
8420 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8421 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8422 -e 's:$: $lt_compiler_flag:'`
8423 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8424 (eval "$lt_compile" 2>conftest.err)
8425 ac_status=$?
8426 cat conftest.err >&5
8427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8428 if (exit $ac_status) && test -s "$ac_outfile"; then
8429 # The compiler can only warn and ignore the option if not recognized
8430 # So say no if there are warnings other than the usual output.
8431 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8432 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8433 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8434 lt_cv_prog_compiler_rtti_exceptions=yes
8435 fi
8436 fi
8437 $RM conftest*
8438
8439 fi
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8441 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8442
8443 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8444 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8445 else
8446 :
8447 fi
8448
8449 fi
8450
8451
8452
8453
8454
8455
8456 lt_prog_compiler_wl=
8457 lt_prog_compiler_pic=
8458 lt_prog_compiler_static=
8459
8460
8461 if test "$GCC" = yes; then
8462 lt_prog_compiler_wl='-Wl,'
8463 lt_prog_compiler_static='-static'
8464
8465 case $host_os in
8466 aix*)
8467 # All AIX code is PIC.
8468 if test "$host_cpu" = ia64; then
8469 # AIX 5 now supports IA64 processor
8470 lt_prog_compiler_static='-Bstatic'
8471 fi
8472 ;;
8473
8474 amigaos*)
8475 case $host_cpu in
8476 powerpc)
8477 # see comment about AmigaOS4 .so support
8478 lt_prog_compiler_pic='-fPIC'
8479 ;;
8480 m68k)
8481 # FIXME: we need at least 68020 code to build shared libraries, but
8482 # adding the `-m68020' flag to GCC prevents building anything better,
8483 # like `-m68040'.
8484 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8485 ;;
8486 esac
8487 ;;
8488
8489 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8490 # PIC is the default for these OSes.
8491 ;;
8492
8493 mingw* | cygwin* | pw32* | os2* | cegcc*)
8494 # This hack is so that the source file can tell whether it is being
8495 # built for inclusion in a dll (and should export symbols for example).
8496 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8497 # (--disable-auto-import) libraries
8498 lt_prog_compiler_pic='-DDLL_EXPORT'
8499 ;;
8500
8501 darwin* | rhapsody*)
8502 # PIC is the default on this platform
8503 # Common symbols not allowed in MH_DYLIB files
8504 lt_prog_compiler_pic='-fno-common'
8505 ;;
8506
8507 haiku*)
8508 # PIC is the default for Haiku.
8509 # The "-static" flag exists, but is broken.
8510 lt_prog_compiler_static=
8511 ;;
8512
8513 hpux*)
8514 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8515 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8516 # sets the default TLS model and affects inlining.
8517 case $host_cpu in
8518 hppa*64*)
8519 # +Z the default
8520 ;;
8521 *)
8522 lt_prog_compiler_pic='-fPIC'
8523 ;;
8524 esac
8525 ;;
8526
8527 interix[3-9]*)
8528 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8529 # Instead, we relocate shared libraries at runtime.
8530 ;;
8531
8532 msdosdjgpp*)
8533 # Just because we use GCC doesn't mean we suddenly get shared libraries
8534 # on systems that don't support them.
8535 lt_prog_compiler_can_build_shared=no
8536 enable_shared=no
8537 ;;
8538
8539 *nto* | *qnx*)
8540 # QNX uses GNU C++, but need to define -shared option too, otherwise
8541 # it will coredump.
8542 lt_prog_compiler_pic='-fPIC -shared'
8543 ;;
8544
8545 sysv4*MP*)
8546 if test -d /usr/nec; then
8547 lt_prog_compiler_pic=-Kconform_pic
8548 fi
8549 ;;
8550
8551 *)
8552 lt_prog_compiler_pic='-fPIC'
8553 ;;
8554 esac
8555
8556 case $cc_basename in
8557 nvcc*) # Cuda Compiler Driver 2.2
8558 lt_prog_compiler_wl='-Xlinker '
8559 if test -n "$lt_prog_compiler_pic"; then
8560 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8561 fi
8562 ;;
8563 esac
8564 else
8565 # PORTME Check for flag to pass linker flags through the system compiler.
8566 case $host_os in
8567 aix*)
8568 lt_prog_compiler_wl='-Wl,'
8569 if test "$host_cpu" = ia64; then
8570 # AIX 5 now supports IA64 processor
8571 lt_prog_compiler_static='-Bstatic'
8572 else
8573 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8574 fi
8575 ;;
8576
8577 mingw* | cygwin* | pw32* | os2* | cegcc*)
8578 # This hack is so that the source file can tell whether it is being
8579 # built for inclusion in a dll (and should export symbols for example).
8580 lt_prog_compiler_pic='-DDLL_EXPORT'
8581 ;;
8582
8583 hpux9* | hpux10* | hpux11*)
8584 lt_prog_compiler_wl='-Wl,'
8585 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8586 # not for PA HP-UX.
8587 case $host_cpu in
8588 hppa*64*|ia64*)
8589 # +Z the default
8590 ;;
8591 *)
8592 lt_prog_compiler_pic='+Z'
8593 ;;
8594 esac
8595 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8596 lt_prog_compiler_static='${wl}-a ${wl}archive'
8597 ;;
8598
8599 irix5* | irix6* | nonstopux*)
8600 lt_prog_compiler_wl='-Wl,'
8601 # PIC (with -KPIC) is the default.
8602 lt_prog_compiler_static='-non_shared'
8603 ;;
8604
8605 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8606 case $cc_basename in
8607 # old Intel for x86_64 which still supported -KPIC.
8608 ecc*)
8609 lt_prog_compiler_wl='-Wl,'
8610 lt_prog_compiler_pic='-KPIC'
8611 lt_prog_compiler_static='-static'
8612 ;;
8613 # icc used to be incompatible with GCC.
8614 # ICC 10 doesn't accept -KPIC any more.
8615 icc* | ifort*)
8616 lt_prog_compiler_wl='-Wl,'
8617 lt_prog_compiler_pic='-fPIC'
8618 lt_prog_compiler_static='-static'
8619 ;;
8620 # Lahey Fortran 8.1.
8621 lf95*)
8622 lt_prog_compiler_wl='-Wl,'
8623 lt_prog_compiler_pic='--shared'
8624 lt_prog_compiler_static='--static'
8625 ;;
8626 nagfor*)
8627 # NAG Fortran compiler
8628 lt_prog_compiler_wl='-Wl,-Wl,,'
8629 lt_prog_compiler_pic='-PIC'
8630 lt_prog_compiler_static='-Bstatic'
8631 ;;
8632 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8633 # Portland Group compilers (*not* the Pentium gcc compiler,
8634 # which looks to be a dead project)
8635 lt_prog_compiler_wl='-Wl,'
8636 lt_prog_compiler_pic='-fpic'
8637 lt_prog_compiler_static='-Bstatic'
8638 ;;
8639 ccc*)
8640 lt_prog_compiler_wl='-Wl,'
8641 # All Alpha code is PIC.
8642 lt_prog_compiler_static='-non_shared'
8643 ;;
8644 xl* | bgxl* | bgf* | mpixl*)
8645 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8646 lt_prog_compiler_wl='-Wl,'
8647 lt_prog_compiler_pic='-qpic'
8648 lt_prog_compiler_static='-qstaticlink'
8649 ;;
8650 *)
8651 case `$CC -V 2>&1 | sed 5q` in
8652 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8653 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8654 lt_prog_compiler_pic='-KPIC'
8655 lt_prog_compiler_static='-Bstatic'
8656 lt_prog_compiler_wl=''
8657 ;;
8658 *Sun\ F* | *Sun*Fortran*)
8659 lt_prog_compiler_pic='-KPIC'
8660 lt_prog_compiler_static='-Bstatic'
8661 lt_prog_compiler_wl='-Qoption ld '
8662 ;;
8663 *Sun\ C*)
8664 # Sun C 5.9
8665 lt_prog_compiler_pic='-KPIC'
8666 lt_prog_compiler_static='-Bstatic'
8667 lt_prog_compiler_wl='-Wl,'
8668 ;;
8669 *Intel*\ [CF]*Compiler*)
8670 lt_prog_compiler_wl='-Wl,'
8671 lt_prog_compiler_pic='-fPIC'
8672 lt_prog_compiler_static='-static'
8673 ;;
8674 *Portland\ Group*)
8675 lt_prog_compiler_wl='-Wl,'
8676 lt_prog_compiler_pic='-fpic'
8677 lt_prog_compiler_static='-Bstatic'
8678 ;;
8679 esac
8680 ;;
8681 esac
8682 ;;
8683
8684 newsos6)
8685 lt_prog_compiler_pic='-KPIC'
8686 lt_prog_compiler_static='-Bstatic'
8687 ;;
8688
8689 *nto* | *qnx*)
8690 # QNX uses GNU C++, but need to define -shared option too, otherwise
8691 # it will coredump.
8692 lt_prog_compiler_pic='-fPIC -shared'
8693 ;;
8694
8695 osf3* | osf4* | osf5*)
8696 lt_prog_compiler_wl='-Wl,'
8697 # All OSF/1 code is PIC.
8698 lt_prog_compiler_static='-non_shared'
8699 ;;
8700
8701 rdos*)
8702 lt_prog_compiler_static='-non_shared'
8703 ;;
8704
8705 solaris*)
8706 lt_prog_compiler_pic='-KPIC'
8707 lt_prog_compiler_static='-Bstatic'
8708 case $cc_basename in
8709 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8710 lt_prog_compiler_wl='-Qoption ld ';;
8711 *)
8712 lt_prog_compiler_wl='-Wl,';;
8713 esac
8714 ;;
8715
8716 sunos4*)
8717 lt_prog_compiler_wl='-Qoption ld '
8718 lt_prog_compiler_pic='-PIC'
8719 lt_prog_compiler_static='-Bstatic'
8720 ;;
8721
8722 sysv4 | sysv4.2uw2* | sysv4.3*)
8723 lt_prog_compiler_wl='-Wl,'
8724 lt_prog_compiler_pic='-KPIC'
8725 lt_prog_compiler_static='-Bstatic'
8726 ;;
8727
8728 sysv4*MP*)
8729 if test -d /usr/nec ;then
8730 lt_prog_compiler_pic='-Kconform_pic'
8731 lt_prog_compiler_static='-Bstatic'
8732 fi
8733 ;;
8734
8735 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8736 lt_prog_compiler_wl='-Wl,'
8737 lt_prog_compiler_pic='-KPIC'
8738 lt_prog_compiler_static='-Bstatic'
8739 ;;
8740
8741 unicos*)
8742 lt_prog_compiler_wl='-Wl,'
8743 lt_prog_compiler_can_build_shared=no
8744 ;;
8745
8746 uts4*)
8747 lt_prog_compiler_pic='-pic'
8748 lt_prog_compiler_static='-Bstatic'
8749 ;;
8750
8751 *)
8752 lt_prog_compiler_can_build_shared=no
8753 ;;
8754 esac
8755 fi
8756
8757 case $host_os in
8758 # For platforms which do not support PIC, -DPIC is meaningless:
8759 *djgpp*)
8760 lt_prog_compiler_pic=
8761 ;;
8762 *)
8763 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8764 ;;
8765 esac
8766
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8768 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8769 if ${lt_cv_prog_compiler_pic+:} false; then :
8770 $as_echo_n "(cached) " >&6
8771 else
8772 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8773 fi
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8775 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8776 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8777
8778 #
8779 # Check to make sure the PIC flag actually works.
8780 #
8781 if test -n "$lt_prog_compiler_pic"; then
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8783 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8784 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8785 $as_echo_n "(cached) " >&6
8786 else
8787 lt_cv_prog_compiler_pic_works=no
8788 ac_outfile=conftest.$ac_objext
8789 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8790 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8791 # Insert the option either (1) after the last *FLAGS variable, or
8792 # (2) before a word containing "conftest.", or (3) at the end.
8793 # Note that $ac_compile itself does not contain backslashes and begins
8794 # with a dollar sign (not a hyphen), so the echo should work correctly.
8795 # The option is referenced via a variable to avoid confusing sed.
8796 lt_compile=`echo "$ac_compile" | $SED \
8797 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8798 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8799 -e 's:$: $lt_compiler_flag:'`
8800 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8801 (eval "$lt_compile" 2>conftest.err)
8802 ac_status=$?
8803 cat conftest.err >&5
8804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8805 if (exit $ac_status) && test -s "$ac_outfile"; then
8806 # The compiler can only warn and ignore the option if not recognized
8807 # So say no if there are warnings other than the usual output.
8808 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8809 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8810 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8811 lt_cv_prog_compiler_pic_works=yes
8812 fi
8813 fi
8814 $RM conftest*
8815
8816 fi
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8818 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8819
8820 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8821 case $lt_prog_compiler_pic in
8822 "" | " "*) ;;
8823 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8824 esac
8825 else
8826 lt_prog_compiler_pic=
8827 lt_prog_compiler_can_build_shared=no
8828 fi
8829
8830 fi
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842 #
8843 # Check to make sure the static flag actually works.
8844 #
8845 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8847 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8848 if ${lt_cv_prog_compiler_static_works+:} false; then :
8849 $as_echo_n "(cached) " >&6
8850 else
8851 lt_cv_prog_compiler_static_works=no
8852 save_LDFLAGS="$LDFLAGS"
8853 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8854 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8855 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8856 # The linker can only warn and ignore the option if not recognized
8857 # So say no if there are warnings
8858 if test -s conftest.err; then
8859 # Append any errors to the config.log.
8860 cat conftest.err 1>&5
8861 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8862 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8863 if diff conftest.exp conftest.er2 >/dev/null; then
8864 lt_cv_prog_compiler_static_works=yes
8865 fi
8866 else
8867 lt_cv_prog_compiler_static_works=yes
8868 fi
8869 fi
8870 $RM -r conftest*
8871 LDFLAGS="$save_LDFLAGS"
8872
8873 fi
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8875 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8876
8877 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8878 :
8879 else
8880 lt_prog_compiler_static=
8881 fi
8882
8883
8884
8885
8886
8887
8888
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8890 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8891 if ${lt_cv_prog_compiler_c_o+:} false; then :
8892 $as_echo_n "(cached) " >&6
8893 else
8894 lt_cv_prog_compiler_c_o=no
8895 $RM -r conftest 2>/dev/null
8896 mkdir conftest
8897 cd conftest
8898 mkdir out
8899 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8900
8901 lt_compiler_flag="-o out/conftest2.$ac_objext"
8902 # Insert the option either (1) after the last *FLAGS variable, or
8903 # (2) before a word containing "conftest.", or (3) at the end.
8904 # Note that $ac_compile itself does not contain backslashes and begins
8905 # with a dollar sign (not a hyphen), so the echo should work correctly.
8906 lt_compile=`echo "$ac_compile" | $SED \
8907 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8908 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8909 -e 's:$: $lt_compiler_flag:'`
8910 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8911 (eval "$lt_compile" 2>out/conftest.err)
8912 ac_status=$?
8913 cat out/conftest.err >&5
8914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8915 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8916 then
8917 # The compiler can only warn and ignore the option if not recognized
8918 # So say no if there are warnings
8919 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8920 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8921 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8922 lt_cv_prog_compiler_c_o=yes
8923 fi
8924 fi
8925 chmod u+w . 2>&5
8926 $RM conftest*
8927 # SGI C++ compiler will create directory out/ii_files/ for
8928 # template instantiation
8929 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8930 $RM out/* && rmdir out
8931 cd ..
8932 $RM -r conftest
8933 $RM conftest*
8934
8935 fi
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8937 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8938
8939
8940
8941
8942
8943
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8945 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8946 if ${lt_cv_prog_compiler_c_o+:} false; then :
8947 $as_echo_n "(cached) " >&6
8948 else
8949 lt_cv_prog_compiler_c_o=no
8950 $RM -r conftest 2>/dev/null
8951 mkdir conftest
8952 cd conftest
8953 mkdir out
8954 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8955
8956 lt_compiler_flag="-o out/conftest2.$ac_objext"
8957 # Insert the option either (1) after the last *FLAGS variable, or
8958 # (2) before a word containing "conftest.", or (3) at the end.
8959 # Note that $ac_compile itself does not contain backslashes and begins
8960 # with a dollar sign (not a hyphen), so the echo should work correctly.
8961 lt_compile=`echo "$ac_compile" | $SED \
8962 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8963 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8964 -e 's:$: $lt_compiler_flag:'`
8965 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8966 (eval "$lt_compile" 2>out/conftest.err)
8967 ac_status=$?
8968 cat out/conftest.err >&5
8969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8970 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8971 then
8972 # The compiler can only warn and ignore the option if not recognized
8973 # So say no if there are warnings
8974 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8975 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8976 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8977 lt_cv_prog_compiler_c_o=yes
8978 fi
8979 fi
8980 chmod u+w . 2>&5
8981 $RM conftest*
8982 # SGI C++ compiler will create directory out/ii_files/ for
8983 # template instantiation
8984 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8985 $RM out/* && rmdir out
8986 cd ..
8987 $RM -r conftest
8988 $RM conftest*
8989
8990 fi
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8992 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8993
8994
8995
8996
8997 hard_links="nottested"
8998 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8999 # do not overwrite the value of need_locks provided by the user
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9001 $as_echo_n "checking if we can lock with hard links... " >&6; }
9002 hard_links=yes
9003 $RM conftest*
9004 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9005 touch conftest.a
9006 ln conftest.a conftest.b 2>&5 || hard_links=no
9007 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9009 $as_echo "$hard_links" >&6; }
9010 if test "$hard_links" = no; then
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9012 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9013 need_locks=warn
9014 fi
9015 else
9016 need_locks=no
9017 fi
9018
9019
9020
9021
9022
9023
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9025 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9026
9027 runpath_var=
9028 allow_undefined_flag=
9029 always_export_symbols=no
9030 archive_cmds=
9031 archive_expsym_cmds=
9032 compiler_needs_object=no
9033 enable_shared_with_static_runtimes=no
9034 export_dynamic_flag_spec=
9035 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9036 hardcode_automatic=no
9037 hardcode_direct=no
9038 hardcode_direct_absolute=no
9039 hardcode_libdir_flag_spec=
9040 hardcode_libdir_separator=
9041 hardcode_minus_L=no
9042 hardcode_shlibpath_var=unsupported
9043 inherit_rpath=no
9044 link_all_deplibs=unknown
9045 module_cmds=
9046 module_expsym_cmds=
9047 old_archive_from_new_cmds=
9048 old_archive_from_expsyms_cmds=
9049 thread_safe_flag_spec=
9050 whole_archive_flag_spec=
9051 # include_expsyms should be a list of space-separated symbols to be *always*
9052 # included in the symbol list
9053 include_expsyms=
9054 # exclude_expsyms can be an extended regexp of symbols to exclude
9055 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9056 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9057 # as well as any symbol that contains `d'.
9058 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9059 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9060 # platforms (ab)use it in PIC code, but their linkers get confused if
9061 # the symbol is explicitly referenced. Since portable code cannot
9062 # rely on this symbol name, it's probably fine to never include it in
9063 # preloaded symbol tables.
9064 # Exclude shared library initialization/finalization symbols.
9065 extract_expsyms_cmds=
9066
9067 case $host_os in
9068 cygwin* | mingw* | pw32* | cegcc*)
9069 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9070 # When not using gcc, we currently assume that we are using
9071 # Microsoft Visual C++.
9072 if test "$GCC" != yes; then
9073 with_gnu_ld=no
9074 fi
9075 ;;
9076 interix*)
9077 # we just hope/assume this is gcc and not c89 (= MSVC++)
9078 with_gnu_ld=yes
9079 ;;
9080 openbsd*)
9081 with_gnu_ld=no
9082 ;;
9083 esac
9084
9085 ld_shlibs=yes
9086
9087 # On some targets, GNU ld is compatible enough with the native linker
9088 # that we're better off using the native interface for both.
9089 lt_use_gnu_ld_interface=no
9090 if test "$with_gnu_ld" = yes; then
9091 case $host_os in
9092 aix*)
9093 # The AIX port of GNU ld has always aspired to compatibility
9094 # with the native linker. However, as the warning in the GNU ld
9095 # block says, versions before 2.19.5* couldn't really create working
9096 # shared libraries, regardless of the interface used.
9097 case `$LD -v 2>&1` in
9098 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9099 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9100 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9101 *)
9102 lt_use_gnu_ld_interface=yes
9103 ;;
9104 esac
9105 ;;
9106 *)
9107 lt_use_gnu_ld_interface=yes
9108 ;;
9109 esac
9110 fi
9111
9112 if test "$lt_use_gnu_ld_interface" = yes; then
9113 # If archive_cmds runs LD, not CC, wlarc should be empty
9114 wlarc='${wl}'
9115
9116 # Set some defaults for GNU ld with shared library support. These
9117 # are reset later if shared libraries are not supported. Putting them
9118 # here allows them to be overridden if necessary.
9119 runpath_var=LD_RUN_PATH
9120 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9121 export_dynamic_flag_spec='${wl}--export-dynamic'
9122 # ancient GNU ld didn't support --whole-archive et. al.
9123 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9124 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9125 else
9126 whole_archive_flag_spec=
9127 fi
9128 supports_anon_versioning=no
9129 case `$LD -v 2>&1` in
9130 *GNU\ gold*) supports_anon_versioning=yes ;;
9131 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9132 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9133 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9134 *\ 2.11.*) ;; # other 2.11 versions
9135 *) supports_anon_versioning=yes ;;
9136 esac
9137
9138 # See if GNU ld supports shared libraries.
9139 case $host_os in
9140 aix[3-9]*)
9141 # On AIX/PPC, the GNU linker is very broken
9142 if test "$host_cpu" != ia64; then
9143 ld_shlibs=no
9144 cat <<_LT_EOF 1>&2
9145
9146 *** Warning: the GNU linker, at least up to release 2.19, is reported
9147 *** to be unable to reliably create shared libraries on AIX.
9148 *** Therefore, libtool is disabling shared libraries support. If you
9149 *** really care for shared libraries, you may want to install binutils
9150 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9151 *** You will then need to restart the configuration process.
9152
9153 _LT_EOF
9154 fi
9155 ;;
9156
9157 amigaos*)
9158 case $host_cpu in
9159 powerpc)
9160 # see comment about AmigaOS4 .so support
9161 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9162 archive_expsym_cmds=''
9163 ;;
9164 m68k)
9165 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)'
9166 hardcode_libdir_flag_spec='-L$libdir'
9167 hardcode_minus_L=yes
9168 ;;
9169 esac
9170 ;;
9171
9172 beos*)
9173 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9174 allow_undefined_flag=unsupported
9175 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9176 # support --undefined. This deserves some investigation. FIXME
9177 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9178 else
9179 ld_shlibs=no
9180 fi
9181 ;;
9182
9183 cygwin* | mingw* | pw32* | cegcc*)
9184 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9185 # as there is no search path for DLLs.
9186 hardcode_libdir_flag_spec='-L$libdir'
9187 export_dynamic_flag_spec='${wl}--export-all-symbols'
9188 allow_undefined_flag=unsupported
9189 always_export_symbols=no
9190 enable_shared_with_static_runtimes=yes
9191 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'
9192 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9193
9194 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9195 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9196 # If the export-symbols file already is a .def file (1st line
9197 # is EXPORTS), use it as is; otherwise, prepend...
9198 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9199 cp $export_symbols $output_objdir/$soname.def;
9200 else
9201 echo EXPORTS > $output_objdir/$soname.def;
9202 cat $export_symbols >> $output_objdir/$soname.def;
9203 fi~
9204 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9205 else
9206 ld_shlibs=no
9207 fi
9208 ;;
9209
9210 haiku*)
9211 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9212 link_all_deplibs=yes
9213 ;;
9214
9215 interix[3-9]*)
9216 hardcode_direct=no
9217 hardcode_shlibpath_var=no
9218 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9219 export_dynamic_flag_spec='${wl}-E'
9220 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9221 # Instead, shared libraries are loaded at an image base (0x10000000 by
9222 # default) and relocated if they conflict, which is a slow very memory
9223 # consuming and fragmenting process. To avoid this, we pick a random,
9224 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9225 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9226 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9227 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'
9228 ;;
9229
9230 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9231 tmp_diet=no
9232 if test "$host_os" = linux-dietlibc; then
9233 case $cc_basename in
9234 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9235 esac
9236 fi
9237 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9238 && test "$tmp_diet" = no
9239 then
9240 tmp_addflag=' $pic_flag'
9241 tmp_sharedflag='-shared'
9242 case $cc_basename,$host_cpu in
9243 pgcc*) # Portland Group C compiler
9244 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'
9245 tmp_addflag=' $pic_flag'
9246 ;;
9247 pgf77* | pgf90* | pgf95* | pgfortran*)
9248 # Portland Group f77 and f90 compilers
9249 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'
9250 tmp_addflag=' $pic_flag -Mnomain' ;;
9251 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9252 tmp_addflag=' -i_dynamic' ;;
9253 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9254 tmp_addflag=' -i_dynamic -nofor_main' ;;
9255 ifc* | ifort*) # Intel Fortran compiler
9256 tmp_addflag=' -nofor_main' ;;
9257 lf95*) # Lahey Fortran 8.1
9258 whole_archive_flag_spec=
9259 tmp_sharedflag='--shared' ;;
9260 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9261 tmp_sharedflag='-qmkshrobj'
9262 tmp_addflag= ;;
9263 nvcc*) # Cuda Compiler Driver 2.2
9264 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'
9265 compiler_needs_object=yes
9266 ;;
9267 esac
9268 case `$CC -V 2>&1 | sed 5q` in
9269 *Sun\ C*) # Sun C 5.9
9270 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'
9271 compiler_needs_object=yes
9272 tmp_sharedflag='-G' ;;
9273 *Sun\ F*) # Sun Fortran 8.3
9274 tmp_sharedflag='-G' ;;
9275 esac
9276 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9277
9278 if test "x$supports_anon_versioning" = xyes; then
9279 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9280 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9281 echo "local: *; };" >> $output_objdir/$libname.ver~
9282 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9283 fi
9284
9285 case $cc_basename in
9286 xlf* | bgf* | bgxlf* | mpixlf*)
9287 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9288 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9289 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9290 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9291 if test "x$supports_anon_versioning" = xyes; then
9292 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9293 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9294 echo "local: *; };" >> $output_objdir/$libname.ver~
9295 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9296 fi
9297 ;;
9298 esac
9299 else
9300 ld_shlibs=no
9301 fi
9302 ;;
9303
9304 netbsd*)
9305 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9306 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9307 wlarc=
9308 else
9309 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9310 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9311 fi
9312 ;;
9313
9314 solaris*)
9315 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9316 ld_shlibs=no
9317 cat <<_LT_EOF 1>&2
9318
9319 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9320 *** create shared libraries on Solaris systems. Therefore, libtool
9321 *** is disabling shared libraries support. We urge you to upgrade GNU
9322 *** binutils to release 2.9.1 or newer. Another option is to modify
9323 *** your PATH or compiler configuration so that the native linker is
9324 *** used, and then restart.
9325
9326 _LT_EOF
9327 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9328 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9329 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9330 else
9331 ld_shlibs=no
9332 fi
9333 ;;
9334
9335 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9336 case `$LD -v 2>&1` in
9337 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9338 ld_shlibs=no
9339 cat <<_LT_EOF 1>&2
9340
9341 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9342 *** reliably create shared libraries on SCO systems. Therefore, libtool
9343 *** is disabling shared libraries support. We urge you to upgrade GNU
9344 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9345 *** your PATH or compiler configuration so that the native linker is
9346 *** used, and then restart.
9347
9348 _LT_EOF
9349 ;;
9350 *)
9351 # For security reasons, it is highly recommended that you always
9352 # use absolute paths for naming shared libraries, and exclude the
9353 # DT_RUNPATH tag from executables and libraries. But doing so
9354 # requires that you compile everything twice, which is a pain.
9355 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9356 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9357 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9358 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9359 else
9360 ld_shlibs=no
9361 fi
9362 ;;
9363 esac
9364 ;;
9365
9366 sunos4*)
9367 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9368 wlarc=
9369 hardcode_direct=yes
9370 hardcode_shlibpath_var=no
9371 ;;
9372
9373 *)
9374 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9375 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9376 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9377 else
9378 ld_shlibs=no
9379 fi
9380 ;;
9381 esac
9382
9383 if test "$ld_shlibs" = no; then
9384 runpath_var=
9385 hardcode_libdir_flag_spec=
9386 export_dynamic_flag_spec=
9387 whole_archive_flag_spec=
9388 fi
9389 else
9390 # PORTME fill in a description of your system's linker (not GNU ld)
9391 case $host_os in
9392 aix3*)
9393 allow_undefined_flag=unsupported
9394 always_export_symbols=yes
9395 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'
9396 # Note: this linker hardcodes the directories in LIBPATH if there
9397 # are no directories specified by -L.
9398 hardcode_minus_L=yes
9399 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9400 # Neither direct hardcoding nor static linking is supported with a
9401 # broken collect2.
9402 hardcode_direct=unsupported
9403 fi
9404 ;;
9405
9406 aix[4-9]*)
9407 if test "$host_cpu" = ia64; then
9408 # On IA64, the linker does run time linking by default, so we don't
9409 # have to do anything special.
9410 aix_use_runtimelinking=no
9411 exp_sym_flag='-Bexport'
9412 no_entry_flag=""
9413 else
9414 # If we're using GNU nm, then we don't want the "-C" option.
9415 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9416 # Also, AIX nm treats weak defined symbols like other global
9417 # defined symbols, whereas GNU nm marks them as "W".
9418 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9419 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9420 else
9421 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9422 fi
9423 aix_use_runtimelinking=no
9424
9425 # Test if we are trying to use run time linking or normal
9426 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9427 # need to do runtime linking.
9428 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9429 for ld_flag in $LDFLAGS; do
9430 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9431 aix_use_runtimelinking=yes
9432 break
9433 fi
9434 done
9435 ;;
9436 esac
9437
9438 exp_sym_flag='-bexport'
9439 no_entry_flag='-bnoentry'
9440 fi
9441
9442 # When large executables or shared objects are built, AIX ld can
9443 # have problems creating the table of contents. If linking a library
9444 # or program results in "error TOC overflow" add -mminimal-toc to
9445 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9446 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9447
9448 archive_cmds=''
9449 hardcode_direct=yes
9450 hardcode_direct_absolute=yes
9451 hardcode_libdir_separator=':'
9452 link_all_deplibs=yes
9453 file_list_spec='${wl}-f,'
9454
9455 if test "$GCC" = yes; then
9456 case $host_os in aix4.[012]|aix4.[012].*)
9457 # We only want to do this on AIX 4.2 and lower, the check
9458 # below for broken collect2 doesn't work under 4.3+
9459 collect2name=`${CC} -print-prog-name=collect2`
9460 if test -f "$collect2name" &&
9461 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9462 then
9463 # We have reworked collect2
9464 :
9465 else
9466 # We have old collect2
9467 hardcode_direct=unsupported
9468 # It fails to find uninstalled libraries when the uninstalled
9469 # path is not listed in the libpath. Setting hardcode_minus_L
9470 # to unsupported forces relinking
9471 hardcode_minus_L=yes
9472 hardcode_libdir_flag_spec='-L$libdir'
9473 hardcode_libdir_separator=
9474 fi
9475 ;;
9476 esac
9477 shared_flag='-shared'
9478 if test "$aix_use_runtimelinking" = yes; then
9479 shared_flag="$shared_flag "'${wl}-G'
9480 fi
9481 else
9482 # not using gcc
9483 if test "$host_cpu" = ia64; then
9484 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9485 # chokes on -Wl,-G. The following line is correct:
9486 shared_flag='-G'
9487 else
9488 if test "$aix_use_runtimelinking" = yes; then
9489 shared_flag='${wl}-G'
9490 else
9491 shared_flag='${wl}-bM:SRE'
9492 fi
9493 fi
9494 fi
9495
9496 export_dynamic_flag_spec='${wl}-bexpall'
9497 # It seems that -bexpall does not export symbols beginning with
9498 # underscore (_), so it is better to generate a list of symbols to export.
9499 always_export_symbols=yes
9500 if test "$aix_use_runtimelinking" = yes; then
9501 # Warning - without using the other runtime loading flags (-brtl),
9502 # -berok will link without error, but may produce a broken library.
9503 allow_undefined_flag='-berok'
9504 # Determine the default libpath from the value encoded in an
9505 # empty executable.
9506 if test "${lt_cv_aix_libpath+set}" = set; then
9507 aix_libpath=$lt_cv_aix_libpath
9508 else
9509 if ${lt_cv_aix_libpath_+:} false; then :
9510 $as_echo_n "(cached) " >&6
9511 else
9512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9513 /* end confdefs.h. */
9514
9515 int
9516 main ()
9517 {
9518
9519 ;
9520 return 0;
9521 }
9522 _ACEOF
9523 if ac_fn_c_try_link "$LINENO"; then :
9524
9525 lt_aix_libpath_sed='
9526 /Import File Strings/,/^$/ {
9527 /^0/ {
9528 s/^0 *\([^ ]*\) *$/\1/
9529 p
9530 }
9531 }'
9532 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9533 # Check for a 64-bit object if we didn't find anything.
9534 if test -z "$lt_cv_aix_libpath_"; then
9535 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9536 fi
9537 fi
9538 rm -f core conftest.err conftest.$ac_objext \
9539 conftest$ac_exeext conftest.$ac_ext
9540 if test -z "$lt_cv_aix_libpath_"; then
9541 lt_cv_aix_libpath_="/usr/lib:/lib"
9542 fi
9543
9544 fi
9545
9546 aix_libpath=$lt_cv_aix_libpath_
9547 fi
9548
9549 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9550 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9551 else
9552 if test "$host_cpu" = ia64; then
9553 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9554 allow_undefined_flag="-z nodefs"
9555 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"
9556 else
9557 # Determine the default libpath from the value encoded in an
9558 # empty executable.
9559 if test "${lt_cv_aix_libpath+set}" = set; then
9560 aix_libpath=$lt_cv_aix_libpath
9561 else
9562 if ${lt_cv_aix_libpath_+:} false; then :
9563 $as_echo_n "(cached) " >&6
9564 else
9565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9566 /* end confdefs.h. */
9567
9568 int
9569 main ()
9570 {
9571
9572 ;
9573 return 0;
9574 }
9575 _ACEOF
9576 if ac_fn_c_try_link "$LINENO"; then :
9577
9578 lt_aix_libpath_sed='
9579 /Import File Strings/,/^$/ {
9580 /^0/ {
9581 s/^0 *\([^ ]*\) *$/\1/
9582 p
9583 }
9584 }'
9585 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9586 # Check for a 64-bit object if we didn't find anything.
9587 if test -z "$lt_cv_aix_libpath_"; then
9588 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9589 fi
9590 fi
9591 rm -f core conftest.err conftest.$ac_objext \
9592 conftest$ac_exeext conftest.$ac_ext
9593 if test -z "$lt_cv_aix_libpath_"; then
9594 lt_cv_aix_libpath_="/usr/lib:/lib"
9595 fi
9596
9597 fi
9598
9599 aix_libpath=$lt_cv_aix_libpath_
9600 fi
9601
9602 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9603 # Warning - without using the other run time loading flags,
9604 # -berok will link without error, but may produce a broken library.
9605 no_undefined_flag=' ${wl}-bernotok'
9606 allow_undefined_flag=' ${wl}-berok'
9607 if test "$with_gnu_ld" = yes; then
9608 # We only use this code for GNU lds that support --whole-archive.
9609 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9610 else
9611 # Exported symbols can be pulled into shared objects from archives
9612 whole_archive_flag_spec='$convenience'
9613 fi
9614 archive_cmds_need_lc=yes
9615 # This is similar to how AIX traditionally builds its shared libraries.
9616 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9617 fi
9618 fi
9619 ;;
9620
9621 amigaos*)
9622 case $host_cpu in
9623 powerpc)
9624 # see comment about AmigaOS4 .so support
9625 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9626 archive_expsym_cmds=''
9627 ;;
9628 m68k)
9629 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)'
9630 hardcode_libdir_flag_spec='-L$libdir'
9631 hardcode_minus_L=yes
9632 ;;
9633 esac
9634 ;;
9635
9636 bsdi[45]*)
9637 export_dynamic_flag_spec=-rdynamic
9638 ;;
9639
9640 cygwin* | mingw* | pw32* | cegcc*)
9641 # When not using gcc, we currently assume that we are using
9642 # Microsoft Visual C++.
9643 # hardcode_libdir_flag_spec is actually meaningless, as there is
9644 # no search path for DLLs.
9645 case $cc_basename in
9646 cl*)
9647 # Native MSVC
9648 hardcode_libdir_flag_spec=' '
9649 allow_undefined_flag=unsupported
9650 always_export_symbols=yes
9651 file_list_spec='@'
9652 # Tell ltmain to make .lib files, not .a files.
9653 libext=lib
9654 # Tell ltmain to make .dll files, not .so files.
9655 shrext_cmds=".dll"
9656 # FIXME: Setting linknames here is a bad hack.
9657 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9658 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9659 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9660 else
9661 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9662 fi~
9663 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9664 linknames='
9665 # The linker will not automatically build a static lib if we build a DLL.
9666 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9667 enable_shared_with_static_runtimes=yes
9668 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9669 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9670 # Don't use ranlib
9671 old_postinstall_cmds='chmod 644 $oldlib'
9672 postlink_cmds='lt_outputfile="@OUTPUT@"~
9673 lt_tool_outputfile="@TOOL_OUTPUT@"~
9674 case $lt_outputfile in
9675 *.exe|*.EXE) ;;
9676 *)
9677 lt_outputfile="$lt_outputfile.exe"
9678 lt_tool_outputfile="$lt_tool_outputfile.exe"
9679 ;;
9680 esac~
9681 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9682 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9683 $RM "$lt_outputfile.manifest";
9684 fi'
9685 ;;
9686 *)
9687 # Assume MSVC wrapper
9688 hardcode_libdir_flag_spec=' '
9689 allow_undefined_flag=unsupported
9690 # Tell ltmain to make .lib files, not .a files.
9691 libext=lib
9692 # Tell ltmain to make .dll files, not .so files.
9693 shrext_cmds=".dll"
9694 # FIXME: Setting linknames here is a bad hack.
9695 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9696 # The linker will automatically build a .lib file if we build a DLL.
9697 old_archive_from_new_cmds='true'
9698 # FIXME: Should let the user specify the lib program.
9699 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9700 enable_shared_with_static_runtimes=yes
9701 ;;
9702 esac
9703 ;;
9704
9705 darwin* | rhapsody*)
9706
9707
9708 archive_cmds_need_lc=no
9709 hardcode_direct=no
9710 hardcode_automatic=yes
9711 hardcode_shlibpath_var=unsupported
9712 if test "$lt_cv_ld_force_load" = "yes"; then
9713 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\"`'
9714
9715 else
9716 whole_archive_flag_spec=''
9717 fi
9718 link_all_deplibs=yes
9719 allow_undefined_flag="$_lt_dar_allow_undefined"
9720 case $cc_basename in
9721 ifort*) _lt_dar_can_shared=yes ;;
9722 *) _lt_dar_can_shared=$GCC ;;
9723 esac
9724 if test "$_lt_dar_can_shared" = "yes"; then
9725 output_verbose_link_cmd=func_echo_all
9726 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9727 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9728 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}"
9729 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}"
9730
9731 else
9732 ld_shlibs=no
9733 fi
9734
9735 ;;
9736
9737 dgux*)
9738 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9739 hardcode_libdir_flag_spec='-L$libdir'
9740 hardcode_shlibpath_var=no
9741 ;;
9742
9743 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9744 # support. Future versions do this automatically, but an explicit c++rt0.o
9745 # does not break anything, and helps significantly (at the cost of a little
9746 # extra space).
9747 freebsd2.2*)
9748 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9749 hardcode_libdir_flag_spec='-R$libdir'
9750 hardcode_direct=yes
9751 hardcode_shlibpath_var=no
9752 ;;
9753
9754 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9755 freebsd2.*)
9756 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9757 hardcode_direct=yes
9758 hardcode_minus_L=yes
9759 hardcode_shlibpath_var=no
9760 ;;
9761
9762 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9763 freebsd* | dragonfly*)
9764 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9765 hardcode_libdir_flag_spec='-R$libdir'
9766 hardcode_direct=yes
9767 hardcode_shlibpath_var=no
9768 ;;
9769
9770 hpux9*)
9771 if test "$GCC" = yes; then
9772 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9773 else
9774 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9775 fi
9776 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9777 hardcode_libdir_separator=:
9778 hardcode_direct=yes
9779
9780 # hardcode_minus_L: Not really in the search PATH,
9781 # but as the default location of the library.
9782 hardcode_minus_L=yes
9783 export_dynamic_flag_spec='${wl}-E'
9784 ;;
9785
9786 hpux10*)
9787 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9788 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9789 else
9790 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9791 fi
9792 if test "$with_gnu_ld" = no; then
9793 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9794 hardcode_libdir_separator=:
9795 hardcode_direct=yes
9796 hardcode_direct_absolute=yes
9797 export_dynamic_flag_spec='${wl}-E'
9798 # hardcode_minus_L: Not really in the search PATH,
9799 # but as the default location of the library.
9800 hardcode_minus_L=yes
9801 fi
9802 ;;
9803
9804 hpux11*)
9805 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9806 case $host_cpu in
9807 hppa*64*)
9808 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9809 ;;
9810 ia64*)
9811 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9812 ;;
9813 *)
9814 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9815 ;;
9816 esac
9817 else
9818 case $host_cpu in
9819 hppa*64*)
9820 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9821 ;;
9822 ia64*)
9823 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9824 ;;
9825 *)
9826
9827 # Older versions of the 11.00 compiler do not understand -b yet
9828 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9830 $as_echo_n "checking if $CC understands -b... " >&6; }
9831 if ${lt_cv_prog_compiler__b+:} false; then :
9832 $as_echo_n "(cached) " >&6
9833 else
9834 lt_cv_prog_compiler__b=no
9835 save_LDFLAGS="$LDFLAGS"
9836 LDFLAGS="$LDFLAGS -b"
9837 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9838 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9839 # The linker can only warn and ignore the option if not recognized
9840 # So say no if there are warnings
9841 if test -s conftest.err; then
9842 # Append any errors to the config.log.
9843 cat conftest.err 1>&5
9844 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9845 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9846 if diff conftest.exp conftest.er2 >/dev/null; then
9847 lt_cv_prog_compiler__b=yes
9848 fi
9849 else
9850 lt_cv_prog_compiler__b=yes
9851 fi
9852 fi
9853 $RM -r conftest*
9854 LDFLAGS="$save_LDFLAGS"
9855
9856 fi
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9858 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9859
9860 if test x"$lt_cv_prog_compiler__b" = xyes; then
9861 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9862 else
9863 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9864 fi
9865
9866 ;;
9867 esac
9868 fi
9869 if test "$with_gnu_ld" = no; then
9870 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9871 hardcode_libdir_separator=:
9872
9873 case $host_cpu in
9874 hppa*64*|ia64*)
9875 hardcode_direct=no
9876 hardcode_shlibpath_var=no
9877 ;;
9878 *)
9879 hardcode_direct=yes
9880 hardcode_direct_absolute=yes
9881 export_dynamic_flag_spec='${wl}-E'
9882
9883 # hardcode_minus_L: Not really in the search PATH,
9884 # but as the default location of the library.
9885 hardcode_minus_L=yes
9886 ;;
9887 esac
9888 fi
9889 ;;
9890
9891 irix5* | irix6* | nonstopux*)
9892 if test "$GCC" = yes; then
9893 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'
9894 # Try to use the -exported_symbol ld option, if it does not
9895 # work, assume that -exports_file does not work either and
9896 # implicitly export all symbols.
9897 # This should be the same for all languages, so no per-tag cache variable.
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9899 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9900 if ${lt_cv_irix_exported_symbol+:} false; then :
9901 $as_echo_n "(cached) " >&6
9902 else
9903 save_LDFLAGS="$LDFLAGS"
9904 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9906 /* end confdefs.h. */
9907 int foo (void) { return 0; }
9908 _ACEOF
9909 if ac_fn_c_try_link "$LINENO"; then :
9910 lt_cv_irix_exported_symbol=yes
9911 else
9912 lt_cv_irix_exported_symbol=no
9913 fi
9914 rm -f core conftest.err conftest.$ac_objext \
9915 conftest$ac_exeext conftest.$ac_ext
9916 LDFLAGS="$save_LDFLAGS"
9917 fi
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9919 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9920 if test "$lt_cv_irix_exported_symbol" = yes; then
9921 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'
9922 fi
9923 else
9924 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'
9925 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'
9926 fi
9927 archive_cmds_need_lc='no'
9928 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9929 hardcode_libdir_separator=:
9930 inherit_rpath=yes
9931 link_all_deplibs=yes
9932 ;;
9933
9934 netbsd*)
9935 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9936 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9937 else
9938 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9939 fi
9940 hardcode_libdir_flag_spec='-R$libdir'
9941 hardcode_direct=yes
9942 hardcode_shlibpath_var=no
9943 ;;
9944
9945 newsos6)
9946 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9947 hardcode_direct=yes
9948 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9949 hardcode_libdir_separator=:
9950 hardcode_shlibpath_var=no
9951 ;;
9952
9953 *nto* | *qnx*)
9954 ;;
9955
9956 openbsd*)
9957 if test -f /usr/libexec/ld.so; then
9958 hardcode_direct=yes
9959 hardcode_shlibpath_var=no
9960 hardcode_direct_absolute=yes
9961 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9962 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9963 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9964 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9965 export_dynamic_flag_spec='${wl}-E'
9966 else
9967 case $host_os in
9968 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9969 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9970 hardcode_libdir_flag_spec='-R$libdir'
9971 ;;
9972 *)
9973 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9974 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9975 ;;
9976 esac
9977 fi
9978 else
9979 ld_shlibs=no
9980 fi
9981 ;;
9982
9983 os2*)
9984 hardcode_libdir_flag_spec='-L$libdir'
9985 hardcode_minus_L=yes
9986 allow_undefined_flag=unsupported
9987 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9988 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9989 ;;
9990
9991 osf3*)
9992 if test "$GCC" = yes; then
9993 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9994 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'
9995 else
9996 allow_undefined_flag=' -expect_unresolved \*'
9997 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'
9998 fi
9999 archive_cmds_need_lc='no'
10000 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10001 hardcode_libdir_separator=:
10002 ;;
10003
10004 osf4* | osf5*) # as osf3* with the addition of -msym flag
10005 if test "$GCC" = yes; then
10006 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10007 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'
10008 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10009 else
10010 allow_undefined_flag=' -expect_unresolved \*'
10011 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'
10012 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~
10013 $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'
10014
10015 # Both c and cxx compiler support -rpath directly
10016 hardcode_libdir_flag_spec='-rpath $libdir'
10017 fi
10018 archive_cmds_need_lc='no'
10019 hardcode_libdir_separator=:
10020 ;;
10021
10022 solaris*)
10023 no_undefined_flag=' -z defs'
10024 if test "$GCC" = yes; then
10025 wlarc='${wl}'
10026 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10027 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10028 $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'
10029 else
10030 case `$CC -V 2>&1` in
10031 *"Compilers 5.0"*)
10032 wlarc=''
10033 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10034 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10035 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10036 ;;
10037 *)
10038 wlarc='${wl}'
10039 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10040 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10041 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10042 ;;
10043 esac
10044 fi
10045 hardcode_libdir_flag_spec='-R$libdir'
10046 hardcode_shlibpath_var=no
10047 case $host_os in
10048 solaris2.[0-5] | solaris2.[0-5].*) ;;
10049 *)
10050 # The compiler driver will combine and reorder linker options,
10051 # but understands `-z linker_flag'. GCC discards it without `$wl',
10052 # but is careful enough not to reorder.
10053 # Supported since Solaris 2.6 (maybe 2.5.1?)
10054 if test "$GCC" = yes; then
10055 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10056 else
10057 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10058 fi
10059 ;;
10060 esac
10061 link_all_deplibs=yes
10062 ;;
10063
10064 sunos4*)
10065 if test "x$host_vendor" = xsequent; then
10066 # Use $CC to link under sequent, because it throws in some extra .o
10067 # files that make .init and .fini sections work.
10068 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10069 else
10070 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10071 fi
10072 hardcode_libdir_flag_spec='-L$libdir'
10073 hardcode_direct=yes
10074 hardcode_minus_L=yes
10075 hardcode_shlibpath_var=no
10076 ;;
10077
10078 sysv4)
10079 case $host_vendor in
10080 sni)
10081 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10082 hardcode_direct=yes # is this really true???
10083 ;;
10084 siemens)
10085 ## LD is ld it makes a PLAMLIB
10086 ## CC just makes a GrossModule.
10087 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10088 reload_cmds='$CC -r -o $output$reload_objs'
10089 hardcode_direct=no
10090 ;;
10091 motorola)
10092 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10093 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10094 ;;
10095 esac
10096 runpath_var='LD_RUN_PATH'
10097 hardcode_shlibpath_var=no
10098 ;;
10099
10100 sysv4.3*)
10101 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10102 hardcode_shlibpath_var=no
10103 export_dynamic_flag_spec='-Bexport'
10104 ;;
10105
10106 sysv4*MP*)
10107 if test -d /usr/nec; then
10108 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10109 hardcode_shlibpath_var=no
10110 runpath_var=LD_RUN_PATH
10111 hardcode_runpath_var=yes
10112 ld_shlibs=yes
10113 fi
10114 ;;
10115
10116 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10117 no_undefined_flag='${wl}-z,text'
10118 archive_cmds_need_lc=no
10119 hardcode_shlibpath_var=no
10120 runpath_var='LD_RUN_PATH'
10121
10122 if test "$GCC" = yes; then
10123 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10124 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10125 else
10126 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10127 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10128 fi
10129 ;;
10130
10131 sysv5* | sco3.2v5* | sco5v6*)
10132 # Note: We can NOT use -z defs as we might desire, because we do not
10133 # link with -lc, and that would cause any symbols used from libc to
10134 # always be unresolved, which means just about no library would
10135 # ever link correctly. If we're not using GNU ld we use -z text
10136 # though, which does catch some bad symbols but isn't as heavy-handed
10137 # as -z defs.
10138 no_undefined_flag='${wl}-z,text'
10139 allow_undefined_flag='${wl}-z,nodefs'
10140 archive_cmds_need_lc=no
10141 hardcode_shlibpath_var=no
10142 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10143 hardcode_libdir_separator=':'
10144 link_all_deplibs=yes
10145 export_dynamic_flag_spec='${wl}-Bexport'
10146 runpath_var='LD_RUN_PATH'
10147
10148 if test "$GCC" = yes; then
10149 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10150 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10151 else
10152 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10153 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10154 fi
10155 ;;
10156
10157 uts4*)
10158 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10159 hardcode_libdir_flag_spec='-L$libdir'
10160 hardcode_shlibpath_var=no
10161 ;;
10162
10163 *)
10164 ld_shlibs=no
10165 ;;
10166 esac
10167
10168 if test x$host_vendor = xsni; then
10169 case $host in
10170 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10171 export_dynamic_flag_spec='${wl}-Blargedynsym'
10172 ;;
10173 esac
10174 fi
10175 fi
10176
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10178 $as_echo "$ld_shlibs" >&6; }
10179 test "$ld_shlibs" = no && can_build_shared=no
10180
10181 with_gnu_ld=$with_gnu_ld
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197 #
10198 # Do we need to explicitly link libc?
10199 #
10200 case "x$archive_cmds_need_lc" in
10201 x|xyes)
10202 # Assume -lc should be added
10203 archive_cmds_need_lc=yes
10204
10205 if test "$enable_shared" = yes && test "$GCC" = yes; then
10206 case $archive_cmds in
10207 *'~'*)
10208 # FIXME: we may have to deal with multi-command sequences.
10209 ;;
10210 '$CC '*)
10211 # Test whether the compiler implicitly links with -lc since on some
10212 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10213 # to ld, don't add -lc before -lgcc.
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10215 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10216 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10217 $as_echo_n "(cached) " >&6
10218 else
10219 $RM conftest*
10220 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10221
10222 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10223 (eval $ac_compile) 2>&5
10224 ac_status=$?
10225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10226 test $ac_status = 0; } 2>conftest.err; then
10227 soname=conftest
10228 lib=conftest
10229 libobjs=conftest.$ac_objext
10230 deplibs=
10231 wl=$lt_prog_compiler_wl
10232 pic_flag=$lt_prog_compiler_pic
10233 compiler_flags=-v
10234 linker_flags=-v
10235 verstring=
10236 output_objdir=.
10237 libname=conftest
10238 lt_save_allow_undefined_flag=$allow_undefined_flag
10239 allow_undefined_flag=
10240 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10241 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10242 ac_status=$?
10243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10244 test $ac_status = 0; }
10245 then
10246 lt_cv_archive_cmds_need_lc=no
10247 else
10248 lt_cv_archive_cmds_need_lc=yes
10249 fi
10250 allow_undefined_flag=$lt_save_allow_undefined_flag
10251 else
10252 cat conftest.err 1>&5
10253 fi
10254 $RM conftest*
10255
10256 fi
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10258 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10259 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10260 ;;
10261 esac
10262 fi
10263 ;;
10264 esac
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10418 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10419
10420 if test "$GCC" = yes; then
10421 case $host_os in
10422 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10423 *) lt_awk_arg="/^libraries:/" ;;
10424 esac
10425 case $host_os in
10426 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10427 *) lt_sed_strip_eq="s,=/,/,g" ;;
10428 esac
10429 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10430 case $lt_search_path_spec in
10431 *\;*)
10432 # if the path contains ";" then we assume it to be the separator
10433 # otherwise default to the standard path separator (i.e. ":") - it is
10434 # assumed that no part of a normal pathname contains ";" but that should
10435 # okay in the real world where ";" in dirpaths is itself problematic.
10436 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10437 ;;
10438 *)
10439 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10440 ;;
10441 esac
10442 # Ok, now we have the path, separated by spaces, we can step through it
10443 # and add multilib dir if necessary.
10444 lt_tmp_lt_search_path_spec=
10445 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10446 for lt_sys_path in $lt_search_path_spec; do
10447 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10448 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10449 else
10450 test -d "$lt_sys_path" && \
10451 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10452 fi
10453 done
10454 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10455 BEGIN {RS=" "; FS="/|\n";} {
10456 lt_foo="";
10457 lt_count=0;
10458 for (lt_i = NF; lt_i > 0; lt_i--) {
10459 if ($lt_i != "" && $lt_i != ".") {
10460 if ($lt_i == "..") {
10461 lt_count++;
10462 } else {
10463 if (lt_count == 0) {
10464 lt_foo="/" $lt_i lt_foo;
10465 } else {
10466 lt_count--;
10467 }
10468 }
10469 }
10470 }
10471 if (lt_foo != "") { lt_freq[lt_foo]++; }
10472 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10473 }'`
10474 # AWK program above erroneously prepends '/' to C:/dos/paths
10475 # for these hosts.
10476 case $host_os in
10477 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10478 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10479 esac
10480 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10481 else
10482 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10483 fi
10484 library_names_spec=
10485 libname_spec='lib$name'
10486 soname_spec=
10487 shrext_cmds=".so"
10488 postinstall_cmds=
10489 postuninstall_cmds=
10490 finish_cmds=
10491 finish_eval=
10492 shlibpath_var=
10493 shlibpath_overrides_runpath=unknown
10494 version_type=none
10495 dynamic_linker="$host_os ld.so"
10496 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10497 need_lib_prefix=unknown
10498 hardcode_into_libs=no
10499
10500 # when you set need_version to no, make sure it does not cause -set_version
10501 # flags to be left without arguments
10502 need_version=unknown
10503
10504 case $host_os in
10505 aix3*)
10506 version_type=linux # correct to gnu/linux during the next big refactor
10507 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10508 shlibpath_var=LIBPATH
10509
10510 # AIX 3 has no versioning support, so we append a major version to the name.
10511 soname_spec='${libname}${release}${shared_ext}$major'
10512 ;;
10513
10514 aix[4-9]*)
10515 version_type=linux # correct to gnu/linux during the next big refactor
10516 need_lib_prefix=no
10517 need_version=no
10518 hardcode_into_libs=yes
10519 if test "$host_cpu" = ia64; then
10520 # AIX 5 supports IA64
10521 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10522 shlibpath_var=LD_LIBRARY_PATH
10523 else
10524 # With GCC up to 2.95.x, collect2 would create an import file
10525 # for dependence libraries. The import file would start with
10526 # the line `#! .'. This would cause the generated library to
10527 # depend on `.', always an invalid library. This was fixed in
10528 # development snapshots of GCC prior to 3.0.
10529 case $host_os in
10530 aix4 | aix4.[01] | aix4.[01].*)
10531 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10532 echo ' yes '
10533 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10534 :
10535 else
10536 can_build_shared=no
10537 fi
10538 ;;
10539 esac
10540 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10541 # soname into executable. Probably we can add versioning support to
10542 # collect2, so additional links can be useful in future.
10543 if test "$aix_use_runtimelinking" = yes; then
10544 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10545 # instead of lib<name>.a to let people know that these are not
10546 # typical AIX shared libraries.
10547 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10548 else
10549 # We preserve .a as extension for shared libraries through AIX4.2
10550 # and later when we are not doing run time linking.
10551 library_names_spec='${libname}${release}.a $libname.a'
10552 soname_spec='${libname}${release}${shared_ext}$major'
10553 fi
10554 shlibpath_var=LIBPATH
10555 fi
10556 ;;
10557
10558 amigaos*)
10559 case $host_cpu in
10560 powerpc)
10561 # Since July 2007 AmigaOS4 officially supports .so libraries.
10562 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10563 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10564 ;;
10565 m68k)
10566 library_names_spec='$libname.ixlibrary $libname.a'
10567 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10568 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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'
10569 ;;
10570 esac
10571 ;;
10572
10573 beos*)
10574 library_names_spec='${libname}${shared_ext}'
10575 dynamic_linker="$host_os ld.so"
10576 shlibpath_var=LIBRARY_PATH
10577 ;;
10578
10579 bsdi[45]*)
10580 version_type=linux # correct to gnu/linux during the next big refactor
10581 need_version=no
10582 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10583 soname_spec='${libname}${release}${shared_ext}$major'
10584 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10585 shlibpath_var=LD_LIBRARY_PATH
10586 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10587 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10588 # the default ld.so.conf also contains /usr/contrib/lib and
10589 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10590 # libtool to hard-code these into programs
10591 ;;
10592
10593 cygwin* | mingw* | pw32* | cegcc*)
10594 version_type=windows
10595 shrext_cmds=".dll"
10596 need_version=no
10597 need_lib_prefix=no
10598
10599 case $GCC,$cc_basename in
10600 yes,*)
10601 # gcc
10602 library_names_spec='$libname.dll.a'
10603 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10604 postinstall_cmds='base_file=`basename \${file}`~
10605 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10606 dldir=$destdir/`dirname \$dlpath`~
10607 test -d \$dldir || mkdir -p \$dldir~
10608 $install_prog $dir/$dlname \$dldir/$dlname~
10609 chmod a+x \$dldir/$dlname~
10610 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10611 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10612 fi'
10613 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10614 dlpath=$dir/\$dldll~
10615 $RM \$dlpath'
10616 shlibpath_overrides_runpath=yes
10617
10618 case $host_os in
10619 cygwin*)
10620 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10621 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10622
10623 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10624 ;;
10625 mingw* | cegcc*)
10626 # MinGW DLLs use traditional 'lib' prefix
10627 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10628 ;;
10629 pw32*)
10630 # pw32 DLLs use 'pw' prefix rather than 'lib'
10631 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10632 ;;
10633 esac
10634 dynamic_linker='Win32 ld.exe'
10635 ;;
10636
10637 *,cl*)
10638 # Native MSVC
10639 libname_spec='$name'
10640 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10641 library_names_spec='${libname}.dll.lib'
10642
10643 case $build_os in
10644 mingw*)
10645 sys_lib_search_path_spec=
10646 lt_save_ifs=$IFS
10647 IFS=';'
10648 for lt_path in $LIB
10649 do
10650 IFS=$lt_save_ifs
10651 # Let DOS variable expansion print the short 8.3 style file name.
10652 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10653 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10654 done
10655 IFS=$lt_save_ifs
10656 # Convert to MSYS style.
10657 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10658 ;;
10659 cygwin*)
10660 # Convert to unix form, then to dos form, then back to unix form
10661 # but this time dos style (no spaces!) so that the unix form looks
10662 # like /cygdrive/c/PROGRA~1:/cygdr...
10663 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10664 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10665 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10666 ;;
10667 *)
10668 sys_lib_search_path_spec="$LIB"
10669 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10670 # It is most probably a Windows format PATH.
10671 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10672 else
10673 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10674 fi
10675 # FIXME: find the short name or the path components, as spaces are
10676 # common. (e.g. "Program Files" -> "PROGRA~1")
10677 ;;
10678 esac
10679
10680 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10681 postinstall_cmds='base_file=`basename \${file}`~
10682 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10683 dldir=$destdir/`dirname \$dlpath`~
10684 test -d \$dldir || mkdir -p \$dldir~
10685 $install_prog $dir/$dlname \$dldir/$dlname'
10686 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10687 dlpath=$dir/\$dldll~
10688 $RM \$dlpath'
10689 shlibpath_overrides_runpath=yes
10690 dynamic_linker='Win32 link.exe'
10691 ;;
10692
10693 *)
10694 # Assume MSVC wrapper
10695 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10696 dynamic_linker='Win32 ld.exe'
10697 ;;
10698 esac
10699 # FIXME: first we should search . and the directory the executable is in
10700 shlibpath_var=PATH
10701 ;;
10702
10703 darwin* | rhapsody*)
10704 dynamic_linker="$host_os dyld"
10705 version_type=darwin
10706 need_lib_prefix=no
10707 need_version=no
10708 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10709 soname_spec='${libname}${release}${major}$shared_ext'
10710 shlibpath_overrides_runpath=yes
10711 shlibpath_var=DYLD_LIBRARY_PATH
10712 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10713
10714 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10715 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10716 ;;
10717
10718 dgux*)
10719 version_type=linux # correct to gnu/linux during the next big refactor
10720 need_lib_prefix=no
10721 need_version=no
10722 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10723 soname_spec='${libname}${release}${shared_ext}$major'
10724 shlibpath_var=LD_LIBRARY_PATH
10725 ;;
10726
10727 freebsd* | dragonfly*)
10728 # DragonFly does not have aout. When/if they implement a new
10729 # versioning mechanism, adjust this.
10730 if test -x /usr/bin/objformat; then
10731 objformat=`/usr/bin/objformat`
10732 else
10733 case $host_os in
10734 freebsd[23].*) objformat=aout ;;
10735 *) objformat=elf ;;
10736 esac
10737 fi
10738 version_type=freebsd-$objformat
10739 case $version_type in
10740 freebsd-elf*)
10741 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10742 need_version=no
10743 need_lib_prefix=no
10744 ;;
10745 freebsd-*)
10746 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10747 need_version=yes
10748 ;;
10749 esac
10750 shlibpath_var=LD_LIBRARY_PATH
10751 case $host_os in
10752 freebsd2.*)
10753 shlibpath_overrides_runpath=yes
10754 ;;
10755 freebsd3.[01]* | freebsdelf3.[01]*)
10756 shlibpath_overrides_runpath=yes
10757 hardcode_into_libs=yes
10758 ;;
10759 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10760 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10761 shlibpath_overrides_runpath=no
10762 hardcode_into_libs=yes
10763 ;;
10764 *) # from 4.6 on, and DragonFly
10765 shlibpath_overrides_runpath=yes
10766 hardcode_into_libs=yes
10767 ;;
10768 esac
10769 ;;
10770
10771 gnu*)
10772 version_type=linux # correct to gnu/linux during the next big refactor
10773 need_lib_prefix=no
10774 need_version=no
10775 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10776 soname_spec='${libname}${release}${shared_ext}$major'
10777 shlibpath_var=LD_LIBRARY_PATH
10778 shlibpath_overrides_runpath=no
10779 hardcode_into_libs=yes
10780 ;;
10781
10782 haiku*)
10783 version_type=linux # correct to gnu/linux during the next big refactor
10784 need_lib_prefix=no
10785 need_version=no
10786 dynamic_linker="$host_os runtime_loader"
10787 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10788 soname_spec='${libname}${release}${shared_ext}$major'
10789 shlibpath_var=LIBRARY_PATH
10790 shlibpath_overrides_runpath=yes
10791 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10792 hardcode_into_libs=yes
10793 ;;
10794
10795 hpux9* | hpux10* | hpux11*)
10796 # Give a soname corresponding to the major version so that dld.sl refuses to
10797 # link against other versions.
10798 version_type=sunos
10799 need_lib_prefix=no
10800 need_version=no
10801 case $host_cpu in
10802 ia64*)
10803 shrext_cmds='.so'
10804 hardcode_into_libs=yes
10805 dynamic_linker="$host_os dld.so"
10806 shlibpath_var=LD_LIBRARY_PATH
10807 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10808 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10809 soname_spec='${libname}${release}${shared_ext}$major'
10810 if test "X$HPUX_IA64_MODE" = X32; then
10811 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10812 else
10813 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10814 fi
10815 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10816 ;;
10817 hppa*64*)
10818 shrext_cmds='.sl'
10819 hardcode_into_libs=yes
10820 dynamic_linker="$host_os dld.sl"
10821 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10822 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10823 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10824 soname_spec='${libname}${release}${shared_ext}$major'
10825 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10826 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10827 ;;
10828 *)
10829 shrext_cmds='.sl'
10830 dynamic_linker="$host_os dld.sl"
10831 shlibpath_var=SHLIB_PATH
10832 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10833 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10834 soname_spec='${libname}${release}${shared_ext}$major'
10835 ;;
10836 esac
10837 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10838 postinstall_cmds='chmod 555 $lib'
10839 # or fails outright, so override atomically:
10840 install_override_mode=555
10841 ;;
10842
10843 interix[3-9]*)
10844 version_type=linux # correct to gnu/linux during the next big refactor
10845 need_lib_prefix=no
10846 need_version=no
10847 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10848 soname_spec='${libname}${release}${shared_ext}$major'
10849 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10850 shlibpath_var=LD_LIBRARY_PATH
10851 shlibpath_overrides_runpath=no
10852 hardcode_into_libs=yes
10853 ;;
10854
10855 irix5* | irix6* | nonstopux*)
10856 case $host_os in
10857 nonstopux*) version_type=nonstopux ;;
10858 *)
10859 if test "$lt_cv_prog_gnu_ld" = yes; then
10860 version_type=linux # correct to gnu/linux during the next big refactor
10861 else
10862 version_type=irix
10863 fi ;;
10864 esac
10865 need_lib_prefix=no
10866 need_version=no
10867 soname_spec='${libname}${release}${shared_ext}$major'
10868 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10869 case $host_os in
10870 irix5* | nonstopux*)
10871 libsuff= shlibsuff=
10872 ;;
10873 *)
10874 case $LD in # libtool.m4 will add one of these switches to LD
10875 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10876 libsuff= shlibsuff= libmagic=32-bit;;
10877 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10878 libsuff=32 shlibsuff=N32 libmagic=N32;;
10879 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10880 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10881 *) libsuff= shlibsuff= libmagic=never-match;;
10882 esac
10883 ;;
10884 esac
10885 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10886 shlibpath_overrides_runpath=no
10887 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10888 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10889 hardcode_into_libs=yes
10890 ;;
10891
10892 # No shared lib support for Linux oldld, aout, or coff.
10893 linux*oldld* | linux*aout* | linux*coff*)
10894 dynamic_linker=no
10895 ;;
10896
10897 # This must be glibc/ELF.
10898 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10899 version_type=linux # correct to gnu/linux during the next big refactor
10900 need_lib_prefix=no
10901 need_version=no
10902 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10903 soname_spec='${libname}${release}${shared_ext}$major'
10904 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10905 shlibpath_var=LD_LIBRARY_PATH
10906 shlibpath_overrides_runpath=no
10907
10908 # Some binutils ld are patched to set DT_RUNPATH
10909 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10910 $as_echo_n "(cached) " >&6
10911 else
10912 lt_cv_shlibpath_overrides_runpath=no
10913 save_LDFLAGS=$LDFLAGS
10914 save_libdir=$libdir
10915 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10916 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10918 /* end confdefs.h. */
10919
10920 int
10921 main ()
10922 {
10923
10924 ;
10925 return 0;
10926 }
10927 _ACEOF
10928 if ac_fn_c_try_link "$LINENO"; then :
10929 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10930 lt_cv_shlibpath_overrides_runpath=yes
10931 fi
10932 fi
10933 rm -f core conftest.err conftest.$ac_objext \
10934 conftest$ac_exeext conftest.$ac_ext
10935 LDFLAGS=$save_LDFLAGS
10936 libdir=$save_libdir
10937
10938 fi
10939
10940 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10941
10942 # This implies no fast_install, which is unacceptable.
10943 # Some rework will be needed to allow for fast_install
10944 # before this can be enabled.
10945 hardcode_into_libs=yes
10946
10947 # Append ld.so.conf contents to the search path
10948 if test -f /etc/ld.so.conf; then
10949 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' ' '`
10950 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10951 fi
10952
10953 # We used to test for /lib/ld.so.1 and disable shared libraries on
10954 # powerpc, because MkLinux only supported shared libraries with the
10955 # GNU dynamic linker. Since this was broken with cross compilers,
10956 # most powerpc-linux boxes support dynamic linking these days and
10957 # people can always --disable-shared, the test was removed, and we
10958 # assume the GNU/Linux dynamic linker is in use.
10959 dynamic_linker='GNU/Linux ld.so'
10960 ;;
10961
10962 netbsd*)
10963 version_type=sunos
10964 need_lib_prefix=no
10965 need_version=no
10966 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10967 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10968 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10969 dynamic_linker='NetBSD (a.out) ld.so'
10970 else
10971 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10972 soname_spec='${libname}${release}${shared_ext}$major'
10973 dynamic_linker='NetBSD ld.elf_so'
10974 fi
10975 shlibpath_var=LD_LIBRARY_PATH
10976 shlibpath_overrides_runpath=yes
10977 hardcode_into_libs=yes
10978 ;;
10979
10980 newsos6)
10981 version_type=linux # correct to gnu/linux during the next big refactor
10982 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10983 shlibpath_var=LD_LIBRARY_PATH
10984 shlibpath_overrides_runpath=yes
10985 ;;
10986
10987 *nto* | *qnx*)
10988 version_type=qnx
10989 need_lib_prefix=no
10990 need_version=no
10991 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10992 soname_spec='${libname}${release}${shared_ext}$major'
10993 shlibpath_var=LD_LIBRARY_PATH
10994 shlibpath_overrides_runpath=no
10995 hardcode_into_libs=yes
10996 dynamic_linker='ldqnx.so'
10997 ;;
10998
10999 openbsd*)
11000 version_type=sunos
11001 sys_lib_dlsearch_path_spec="/usr/lib"
11002 need_lib_prefix=no
11003 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11004 case $host_os in
11005 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11006 *) need_version=no ;;
11007 esac
11008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11009 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11010 shlibpath_var=LD_LIBRARY_PATH
11011 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11012 case $host_os in
11013 openbsd2.[89] | openbsd2.[89].*)
11014 shlibpath_overrides_runpath=no
11015 ;;
11016 *)
11017 shlibpath_overrides_runpath=yes
11018 ;;
11019 esac
11020 else
11021 shlibpath_overrides_runpath=yes
11022 fi
11023 ;;
11024
11025 os2*)
11026 libname_spec='$name'
11027 shrext_cmds=".dll"
11028 need_lib_prefix=no
11029 library_names_spec='$libname${shared_ext} $libname.a'
11030 dynamic_linker='OS/2 ld.exe'
11031 shlibpath_var=LIBPATH
11032 ;;
11033
11034 osf3* | osf4* | osf5*)
11035 version_type=osf
11036 need_lib_prefix=no
11037 need_version=no
11038 soname_spec='${libname}${release}${shared_ext}$major'
11039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11040 shlibpath_var=LD_LIBRARY_PATH
11041 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11042 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11043 ;;
11044
11045 rdos*)
11046 dynamic_linker=no
11047 ;;
11048
11049 solaris*)
11050 version_type=linux # correct to gnu/linux during the next big refactor
11051 need_lib_prefix=no
11052 need_version=no
11053 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11054 soname_spec='${libname}${release}${shared_ext}$major'
11055 shlibpath_var=LD_LIBRARY_PATH
11056 shlibpath_overrides_runpath=yes
11057 hardcode_into_libs=yes
11058 # ldd complains unless libraries are executable
11059 postinstall_cmds='chmod +x $lib'
11060 ;;
11061
11062 sunos4*)
11063 version_type=sunos
11064 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11065 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11066 shlibpath_var=LD_LIBRARY_PATH
11067 shlibpath_overrides_runpath=yes
11068 if test "$with_gnu_ld" = yes; then
11069 need_lib_prefix=no
11070 fi
11071 need_version=yes
11072 ;;
11073
11074 sysv4 | sysv4.3*)
11075 version_type=linux # correct to gnu/linux during the next big refactor
11076 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11077 soname_spec='${libname}${release}${shared_ext}$major'
11078 shlibpath_var=LD_LIBRARY_PATH
11079 case $host_vendor in
11080 sni)
11081 shlibpath_overrides_runpath=no
11082 need_lib_prefix=no
11083 runpath_var=LD_RUN_PATH
11084 ;;
11085 siemens)
11086 need_lib_prefix=no
11087 ;;
11088 motorola)
11089 need_lib_prefix=no
11090 need_version=no
11091 shlibpath_overrides_runpath=no
11092 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11093 ;;
11094 esac
11095 ;;
11096
11097 sysv4*MP*)
11098 if test -d /usr/nec ;then
11099 version_type=linux # correct to gnu/linux during the next big refactor
11100 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11101 soname_spec='$libname${shared_ext}.$major'
11102 shlibpath_var=LD_LIBRARY_PATH
11103 fi
11104 ;;
11105
11106 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11107 version_type=freebsd-elf
11108 need_lib_prefix=no
11109 need_version=no
11110 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11111 soname_spec='${libname}${release}${shared_ext}$major'
11112 shlibpath_var=LD_LIBRARY_PATH
11113 shlibpath_overrides_runpath=yes
11114 hardcode_into_libs=yes
11115 if test "$with_gnu_ld" = yes; then
11116 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11117 else
11118 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11119 case $host_os in
11120 sco3.2v5*)
11121 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11122 ;;
11123 esac
11124 fi
11125 sys_lib_dlsearch_path_spec='/usr/lib'
11126 ;;
11127
11128 tpf*)
11129 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11130 version_type=linux # correct to gnu/linux during the next big refactor
11131 need_lib_prefix=no
11132 need_version=no
11133 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11134 shlibpath_var=LD_LIBRARY_PATH
11135 shlibpath_overrides_runpath=no
11136 hardcode_into_libs=yes
11137 ;;
11138
11139 uts4*)
11140 version_type=linux # correct to gnu/linux during the next big refactor
11141 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11142 soname_spec='${libname}${release}${shared_ext}$major'
11143 shlibpath_var=LD_LIBRARY_PATH
11144 ;;
11145
11146 *)
11147 dynamic_linker=no
11148 ;;
11149 esac
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11151 $as_echo "$dynamic_linker" >&6; }
11152 test "$dynamic_linker" = no && can_build_shared=no
11153
11154 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11155 if test "$GCC" = yes; then
11156 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11157 fi
11158
11159 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11160 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11161 fi
11162 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11163 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11164 fi
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11258 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11259 hardcode_action=
11260 if test -n "$hardcode_libdir_flag_spec" ||
11261 test -n "$runpath_var" ||
11262 test "X$hardcode_automatic" = "Xyes" ; then
11263
11264 # We can hardcode non-existent directories.
11265 if test "$hardcode_direct" != no &&
11266 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11267 # have to relink, otherwise we might link with an installed library
11268 # when we should be linking with a yet-to-be-installed one
11269 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11270 test "$hardcode_minus_L" != no; then
11271 # Linking always hardcodes the temporary library directory.
11272 hardcode_action=relink
11273 else
11274 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11275 hardcode_action=immediate
11276 fi
11277 else
11278 # We cannot hardcode anything, or else we can only hardcode existing
11279 # directories.
11280 hardcode_action=unsupported
11281 fi
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11283 $as_echo "$hardcode_action" >&6; }
11284
11285 if test "$hardcode_action" = relink ||
11286 test "$inherit_rpath" = yes; then
11287 # Fast installation is not supported
11288 enable_fast_install=no
11289 elif test "$shlibpath_overrides_runpath" = yes ||
11290 test "$enable_shared" = no; then
11291 # Fast installation is not necessary
11292 enable_fast_install=needless
11293 fi
11294
11295
11296
11297
11298
11299
11300 if test "x$enable_dlopen" != xyes; then
11301 enable_dlopen=unknown
11302 enable_dlopen_self=unknown
11303 enable_dlopen_self_static=unknown
11304 else
11305 lt_cv_dlopen=no
11306 lt_cv_dlopen_libs=
11307
11308 case $host_os in
11309 beos*)
11310 lt_cv_dlopen="load_add_on"
11311 lt_cv_dlopen_libs=
11312 lt_cv_dlopen_self=yes
11313 ;;
11314
11315 mingw* | pw32* | cegcc*)
11316 lt_cv_dlopen="LoadLibrary"
11317 lt_cv_dlopen_libs=
11318 ;;
11319
11320 cygwin*)
11321 lt_cv_dlopen="dlopen"
11322 lt_cv_dlopen_libs=
11323 ;;
11324
11325 darwin*)
11326 # if libdl is installed we need to link against it
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11328 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11329 if ${ac_cv_lib_dl_dlopen+:} false; then :
11330 $as_echo_n "(cached) " >&6
11331 else
11332 ac_check_lib_save_LIBS=$LIBS
11333 LIBS="-ldl $LIBS"
11334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11335 /* end confdefs.h. */
11336
11337 /* Override any GCC internal prototype to avoid an error.
11338 Use char because int might match the return type of a GCC
11339 builtin and then its argument prototype would still apply. */
11340 #ifdef __cplusplus
11341 extern "C"
11342 #endif
11343 char dlopen ();
11344 int
11345 main ()
11346 {
11347 return dlopen ();
11348 ;
11349 return 0;
11350 }
11351 _ACEOF
11352 if ac_fn_c_try_link "$LINENO"; then :
11353 ac_cv_lib_dl_dlopen=yes
11354 else
11355 ac_cv_lib_dl_dlopen=no
11356 fi
11357 rm -f core conftest.err conftest.$ac_objext \
11358 conftest$ac_exeext conftest.$ac_ext
11359 LIBS=$ac_check_lib_save_LIBS
11360 fi
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11362 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11363 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11364 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11365 else
11366
11367 lt_cv_dlopen="dyld"
11368 lt_cv_dlopen_libs=
11369 lt_cv_dlopen_self=yes
11370
11371 fi
11372
11373 ;;
11374
11375 *)
11376 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11377 if test "x$ac_cv_func_shl_load" = xyes; then :
11378 lt_cv_dlopen="shl_load"
11379 else
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11381 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11382 if ${ac_cv_lib_dld_shl_load+:} false; then :
11383 $as_echo_n "(cached) " >&6
11384 else
11385 ac_check_lib_save_LIBS=$LIBS
11386 LIBS="-ldld $LIBS"
11387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11388 /* end confdefs.h. */
11389
11390 /* Override any GCC internal prototype to avoid an error.
11391 Use char because int might match the return type of a GCC
11392 builtin and then its argument prototype would still apply. */
11393 #ifdef __cplusplus
11394 extern "C"
11395 #endif
11396 char shl_load ();
11397 int
11398 main ()
11399 {
11400 return shl_load ();
11401 ;
11402 return 0;
11403 }
11404 _ACEOF
11405 if ac_fn_c_try_link "$LINENO"; then :
11406 ac_cv_lib_dld_shl_load=yes
11407 else
11408 ac_cv_lib_dld_shl_load=no
11409 fi
11410 rm -f core conftest.err conftest.$ac_objext \
11411 conftest$ac_exeext conftest.$ac_ext
11412 LIBS=$ac_check_lib_save_LIBS
11413 fi
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11415 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11416 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11417 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11418 else
11419 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11420 if test "x$ac_cv_func_dlopen" = xyes; then :
11421 lt_cv_dlopen="dlopen"
11422 else
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11424 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11425 if ${ac_cv_lib_dl_dlopen+:} false; then :
11426 $as_echo_n "(cached) " >&6
11427 else
11428 ac_check_lib_save_LIBS=$LIBS
11429 LIBS="-ldl $LIBS"
11430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11431 /* end confdefs.h. */
11432
11433 /* Override any GCC internal prototype to avoid an error.
11434 Use char because int might match the return type of a GCC
11435 builtin and then its argument prototype would still apply. */
11436 #ifdef __cplusplus
11437 extern "C"
11438 #endif
11439 char dlopen ();
11440 int
11441 main ()
11442 {
11443 return dlopen ();
11444 ;
11445 return 0;
11446 }
11447 _ACEOF
11448 if ac_fn_c_try_link "$LINENO"; then :
11449 ac_cv_lib_dl_dlopen=yes
11450 else
11451 ac_cv_lib_dl_dlopen=no
11452 fi
11453 rm -f core conftest.err conftest.$ac_objext \
11454 conftest$ac_exeext conftest.$ac_ext
11455 LIBS=$ac_check_lib_save_LIBS
11456 fi
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11458 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11459 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11460 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11461 else
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11463 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11464 if ${ac_cv_lib_svld_dlopen+:} false; then :
11465 $as_echo_n "(cached) " >&6
11466 else
11467 ac_check_lib_save_LIBS=$LIBS
11468 LIBS="-lsvld $LIBS"
11469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11470 /* end confdefs.h. */
11471
11472 /* Override any GCC internal prototype to avoid an error.
11473 Use char because int might match the return type of a GCC
11474 builtin and then its argument prototype would still apply. */
11475 #ifdef __cplusplus
11476 extern "C"
11477 #endif
11478 char dlopen ();
11479 int
11480 main ()
11481 {
11482 return dlopen ();
11483 ;
11484 return 0;
11485 }
11486 _ACEOF
11487 if ac_fn_c_try_link "$LINENO"; then :
11488 ac_cv_lib_svld_dlopen=yes
11489 else
11490 ac_cv_lib_svld_dlopen=no
11491 fi
11492 rm -f core conftest.err conftest.$ac_objext \
11493 conftest$ac_exeext conftest.$ac_ext
11494 LIBS=$ac_check_lib_save_LIBS
11495 fi
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11497 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11498 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11499 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11500 else
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11502 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11503 if ${ac_cv_lib_dld_dld_link+:} false; then :
11504 $as_echo_n "(cached) " >&6
11505 else
11506 ac_check_lib_save_LIBS=$LIBS
11507 LIBS="-ldld $LIBS"
11508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11509 /* end confdefs.h. */
11510
11511 /* Override any GCC internal prototype to avoid an error.
11512 Use char because int might match the return type of a GCC
11513 builtin and then its argument prototype would still apply. */
11514 #ifdef __cplusplus
11515 extern "C"
11516 #endif
11517 char dld_link ();
11518 int
11519 main ()
11520 {
11521 return dld_link ();
11522 ;
11523 return 0;
11524 }
11525 _ACEOF
11526 if ac_fn_c_try_link "$LINENO"; then :
11527 ac_cv_lib_dld_dld_link=yes
11528 else
11529 ac_cv_lib_dld_dld_link=no
11530 fi
11531 rm -f core conftest.err conftest.$ac_objext \
11532 conftest$ac_exeext conftest.$ac_ext
11533 LIBS=$ac_check_lib_save_LIBS
11534 fi
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11536 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11537 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11538 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11539 fi
11540
11541
11542 fi
11543
11544
11545 fi
11546
11547
11548 fi
11549
11550
11551 fi
11552
11553
11554 fi
11555
11556 ;;
11557 esac
11558
11559 if test "x$lt_cv_dlopen" != xno; then
11560 enable_dlopen=yes
11561 else
11562 enable_dlopen=no
11563 fi
11564
11565 case $lt_cv_dlopen in
11566 dlopen)
11567 save_CPPFLAGS="$CPPFLAGS"
11568 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11569
11570 save_LDFLAGS="$LDFLAGS"
11571 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11572
11573 save_LIBS="$LIBS"
11574 LIBS="$lt_cv_dlopen_libs $LIBS"
11575
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11577 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11578 if ${lt_cv_dlopen_self+:} false; then :
11579 $as_echo_n "(cached) " >&6
11580 else
11581 if test "$cross_compiling" = yes; then :
11582 lt_cv_dlopen_self=cross
11583 else
11584 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11585 lt_status=$lt_dlunknown
11586 cat > conftest.$ac_ext <<_LT_EOF
11587 #line $LINENO "configure"
11588 #include "confdefs.h"
11589
11590 #if HAVE_DLFCN_H
11591 #include <dlfcn.h>
11592 #endif
11593
11594 #include <stdio.h>
11595
11596 #ifdef RTLD_GLOBAL
11597 # define LT_DLGLOBAL RTLD_GLOBAL
11598 #else
11599 # ifdef DL_GLOBAL
11600 # define LT_DLGLOBAL DL_GLOBAL
11601 # else
11602 # define LT_DLGLOBAL 0
11603 # endif
11604 #endif
11605
11606 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11607 find out it does not work in some platform. */
11608 #ifndef LT_DLLAZY_OR_NOW
11609 # ifdef RTLD_LAZY
11610 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11611 # else
11612 # ifdef DL_LAZY
11613 # define LT_DLLAZY_OR_NOW DL_LAZY
11614 # else
11615 # ifdef RTLD_NOW
11616 # define LT_DLLAZY_OR_NOW RTLD_NOW
11617 # else
11618 # ifdef DL_NOW
11619 # define LT_DLLAZY_OR_NOW DL_NOW
11620 # else
11621 # define LT_DLLAZY_OR_NOW 0
11622 # endif
11623 # endif
11624 # endif
11625 # endif
11626 #endif
11627
11628 /* When -fvisbility=hidden is used, assume the code has been annotated
11629 correspondingly for the symbols needed. */
11630 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11631 int fnord () __attribute__((visibility("default")));
11632 #endif
11633
11634 int fnord () { return 42; }
11635 int main ()
11636 {
11637 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11638 int status = $lt_dlunknown;
11639
11640 if (self)
11641 {
11642 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11643 else
11644 {
11645 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11646 else puts (dlerror ());
11647 }
11648 /* dlclose (self); */
11649 }
11650 else
11651 puts (dlerror ());
11652
11653 return status;
11654 }
11655 _LT_EOF
11656 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11657 (eval $ac_link) 2>&5
11658 ac_status=$?
11659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11660 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11661 (./conftest; exit; ) >&5 2>/dev/null
11662 lt_status=$?
11663 case x$lt_status in
11664 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11665 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11666 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11667 esac
11668 else :
11669 # compilation failed
11670 lt_cv_dlopen_self=no
11671 fi
11672 fi
11673 rm -fr conftest*
11674
11675
11676 fi
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11678 $as_echo "$lt_cv_dlopen_self" >&6; }
11679
11680 if test "x$lt_cv_dlopen_self" = xyes; then
11681 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11683 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11684 if ${lt_cv_dlopen_self_static+:} false; then :
11685 $as_echo_n "(cached) " >&6
11686 else
11687 if test "$cross_compiling" = yes; then :
11688 lt_cv_dlopen_self_static=cross
11689 else
11690 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11691 lt_status=$lt_dlunknown
11692 cat > conftest.$ac_ext <<_LT_EOF
11693 #line $LINENO "configure"
11694 #include "confdefs.h"
11695
11696 #if HAVE_DLFCN_H
11697 #include <dlfcn.h>
11698 #endif
11699
11700 #include <stdio.h>
11701
11702 #ifdef RTLD_GLOBAL
11703 # define LT_DLGLOBAL RTLD_GLOBAL
11704 #else
11705 # ifdef DL_GLOBAL
11706 # define LT_DLGLOBAL DL_GLOBAL
11707 # else
11708 # define LT_DLGLOBAL 0
11709 # endif
11710 #endif
11711
11712 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11713 find out it does not work in some platform. */
11714 #ifndef LT_DLLAZY_OR_NOW
11715 # ifdef RTLD_LAZY
11716 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11717 # else
11718 # ifdef DL_LAZY
11719 # define LT_DLLAZY_OR_NOW DL_LAZY
11720 # else
11721 # ifdef RTLD_NOW
11722 # define LT_DLLAZY_OR_NOW RTLD_NOW
11723 # else
11724 # ifdef DL_NOW
11725 # define LT_DLLAZY_OR_NOW DL_NOW
11726 # else
11727 # define LT_DLLAZY_OR_NOW 0
11728 # endif
11729 # endif
11730 # endif
11731 # endif
11732 #endif
11733
11734 /* When -fvisbility=hidden is used, assume the code has been annotated
11735 correspondingly for the symbols needed. */
11736 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11737 int fnord () __attribute__((visibility("default")));
11738 #endif
11739
11740 int fnord () { return 42; }
11741 int main ()
11742 {
11743 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11744 int status = $lt_dlunknown;
11745
11746 if (self)
11747 {
11748 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11749 else
11750 {
11751 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11752 else puts (dlerror ());
11753 }
11754 /* dlclose (self); */
11755 }
11756 else
11757 puts (dlerror ());
11758
11759 return status;
11760 }
11761 _LT_EOF
11762 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11763 (eval $ac_link) 2>&5
11764 ac_status=$?
11765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11766 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11767 (./conftest; exit; ) >&5 2>/dev/null
11768 lt_status=$?
11769 case x$lt_status in
11770 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11771 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11772 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11773 esac
11774 else :
11775 # compilation failed
11776 lt_cv_dlopen_self_static=no
11777 fi
11778 fi
11779 rm -fr conftest*
11780
11781
11782 fi
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11784 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11785 fi
11786
11787 CPPFLAGS="$save_CPPFLAGS"
11788 LDFLAGS="$save_LDFLAGS"
11789 LIBS="$save_LIBS"
11790 ;;
11791 esac
11792
11793 case $lt_cv_dlopen_self in
11794 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11795 *) enable_dlopen_self=unknown ;;
11796 esac
11797
11798 case $lt_cv_dlopen_self_static in
11799 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11800 *) enable_dlopen_self_static=unknown ;;
11801 esac
11802 fi
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820 striplib=
11821 old_striplib=
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11823 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11824 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11825 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11826 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11828 $as_echo "yes" >&6; }
11829 else
11830 # FIXME - insert some real tests, host_os isn't really good enough
11831 case $host_os in
11832 darwin*)
11833 if test -n "$STRIP" ; then
11834 striplib="$STRIP -x"
11835 old_striplib="$STRIP -S"
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11837 $as_echo "yes" >&6; }
11838 else
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11840 $as_echo "no" >&6; }
11841 fi
11842 ;;
11843 *)
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11845 $as_echo "no" >&6; }
11846 ;;
11847 esac
11848 fi
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861 # Report which library types will actually be built
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11863 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11865 $as_echo "$can_build_shared" >&6; }
11866
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11868 $as_echo_n "checking whether to build shared libraries... " >&6; }
11869 test "$can_build_shared" = "no" && enable_shared=no
11870
11871 # On AIX, shared libraries and static libraries use the same namespace, and
11872 # are all built from PIC.
11873 case $host_os in
11874 aix3*)
11875 test "$enable_shared" = yes && enable_static=no
11876 if test -n "$RANLIB"; then
11877 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11878 postinstall_cmds='$RANLIB $lib'
11879 fi
11880 ;;
11881
11882 aix[4-9]*)
11883 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11884 test "$enable_shared" = yes && enable_static=no
11885 fi
11886 ;;
11887 esac
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11889 $as_echo "$enable_shared" >&6; }
11890
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11892 $as_echo_n "checking whether to build static libraries... " >&6; }
11893 # Make sure either enable_shared or enable_static is yes.
11894 test "$enable_shared" = yes || enable_static=yes
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11896 $as_echo "$enable_static" >&6; }
11897
11898
11899
11900
11901 fi
11902 ac_ext=c
11903 ac_cpp='$CPP $CPPFLAGS'
11904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11907
11908 CC="$lt_save_CC"
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924 ac_config_commands="$ac_config_commands libtool"
11925
11926
11927
11928
11929 # Only expand once:
11930
11931
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
11933 $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
11934 if ${libltdl_cv_shlibext+:} false; then :
11935 $as_echo_n "(cached) " >&6
11936 else
11937
11938 module=yes
11939 eval libltdl_cv_shlibext=$shrext_cmds
11940 module=no
11941 eval libltdl_cv_shrext=$shrext_cmds
11942
11943 fi
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
11945 $as_echo "$libltdl_cv_shlibext" >&6; }
11946 if test -n "$libltdl_cv_shlibext"; then
11947
11948 cat >>confdefs.h <<_ACEOF
11949 #define LT_MODULE_EXT "$libltdl_cv_shlibext"
11950 _ACEOF
11951
11952 fi
11953 if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
11954
11955 cat >>confdefs.h <<_ACEOF
11956 #define LT_SHARED_EXT "$libltdl_cv_shrext"
11957 _ACEOF
11958
11959 fi
11960
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
11962 $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
11963 if ${lt_cv_module_path_var+:} false; then :
11964 $as_echo_n "(cached) " >&6
11965 else
11966 lt_cv_module_path_var="$shlibpath_var"
11967 fi
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
11969 $as_echo "$lt_cv_module_path_var" >&6; }
11970 if test -n "$lt_cv_module_path_var"; then
11971
11972 cat >>confdefs.h <<_ACEOF
11973 #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
11974 _ACEOF
11975
11976 fi
11977
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
11979 $as_echo_n "checking for the default library search path... " >&6; }
11980 if ${lt_cv_sys_dlsearch_path+:} false; then :
11981 $as_echo_n "(cached) " >&6
11982 else
11983 lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
11984 fi
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
11986 $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
11987 if test -n "$lt_cv_sys_dlsearch_path"; then
11988 sys_dlsearch_path=
11989 for dir in $lt_cv_sys_dlsearch_path; do
11990 if test -z "$sys_dlsearch_path"; then
11991 sys_dlsearch_path="$dir"
11992 else
11993 sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
11994 fi
11995 done
11996
11997 cat >>confdefs.h <<_ACEOF
11998 #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
11999 _ACEOF
12000
12001 fi
12002
12003
12004 LT_DLLOADERS=
12005
12006
12007 ac_ext=c
12008 ac_cpp='$CPP $CPPFLAGS'
12009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12012
12013
12014 LIBADD_DLOPEN=
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12016 $as_echo_n "checking for library containing dlopen... " >&6; }
12017 if ${ac_cv_search_dlopen+:} false; then :
12018 $as_echo_n "(cached) " >&6
12019 else
12020 ac_func_search_save_LIBS=$LIBS
12021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12022 /* end confdefs.h. */
12023
12024 /* Override any GCC internal prototype to avoid an error.
12025 Use char because int might match the return type of a GCC
12026 builtin and then its argument prototype would still apply. */
12027 #ifdef __cplusplus
12028 extern "C"
12029 #endif
12030 char dlopen ();
12031 int
12032 main ()
12033 {
12034 return dlopen ();
12035 ;
12036 return 0;
12037 }
12038 _ACEOF
12039 for ac_lib in '' dl; do
12040 if test -z "$ac_lib"; then
12041 ac_res="none required"
12042 else
12043 ac_res=-l$ac_lib
12044 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12045 fi
12046 if ac_fn_c_try_link "$LINENO"; then :
12047 ac_cv_search_dlopen=$ac_res
12048 fi
12049 rm -f core conftest.err conftest.$ac_objext \
12050 conftest$ac_exeext
12051 if ${ac_cv_search_dlopen+:} false; then :
12052 break
12053 fi
12054 done
12055 if ${ac_cv_search_dlopen+:} false; then :
12056
12057 else
12058 ac_cv_search_dlopen=no
12059 fi
12060 rm conftest.$ac_ext
12061 LIBS=$ac_func_search_save_LIBS
12062 fi
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
12064 $as_echo "$ac_cv_search_dlopen" >&6; }
12065 ac_res=$ac_cv_search_dlopen
12066 if test "$ac_res" != no; then :
12067 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12068
12069 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12070
12071 if test "$ac_cv_search_dlopen" != "none required" ; then
12072 LIBADD_DLOPEN="-ldl"
12073 fi
12074 libltdl_cv_lib_dl_dlopen="yes"
12075 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12076 else
12077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12078 /* end confdefs.h. */
12079 #if HAVE_DLFCN_H
12080 # include <dlfcn.h>
12081 #endif
12082
12083 int
12084 main ()
12085 {
12086 dlopen(0, 0);
12087 ;
12088 return 0;
12089 }
12090 _ACEOF
12091 if ac_fn_c_try_link "$LINENO"; then :
12092
12093 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12094
12095 libltdl_cv_func_dlopen="yes"
12096 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12097 else
12098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12099 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12100 if ${ac_cv_lib_svld_dlopen+:} false; then :
12101 $as_echo_n "(cached) " >&6
12102 else
12103 ac_check_lib_save_LIBS=$LIBS
12104 LIBS="-lsvld $LIBS"
12105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12106 /* end confdefs.h. */
12107
12108 /* Override any GCC internal prototype to avoid an error.
12109 Use char because int might match the return type of a GCC
12110 builtin and then its argument prototype would still apply. */
12111 #ifdef __cplusplus
12112 extern "C"
12113 #endif
12114 char dlopen ();
12115 int
12116 main ()
12117 {
12118 return dlopen ();
12119 ;
12120 return 0;
12121 }
12122 _ACEOF
12123 if ac_fn_c_try_link "$LINENO"; then :
12124 ac_cv_lib_svld_dlopen=yes
12125 else
12126 ac_cv_lib_svld_dlopen=no
12127 fi
12128 rm -f core conftest.err conftest.$ac_objext \
12129 conftest$ac_exeext conftest.$ac_ext
12130 LIBS=$ac_check_lib_save_LIBS
12131 fi
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12133 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12134 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12135
12136 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12137
12138 LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
12139 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12140 fi
12141
12142 fi
12143 rm -f core conftest.err conftest.$ac_objext \
12144 conftest$ac_exeext conftest.$ac_ext
12145 fi
12146
12147 if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
12148 then
12149 lt_save_LIBS="$LIBS"
12150 LIBS="$LIBS $LIBADD_DLOPEN"
12151 for ac_func in dlerror
12152 do :
12153 ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
12154 if test "x$ac_cv_func_dlerror" = xyes; then :
12155 cat >>confdefs.h <<_ACEOF
12156 #define HAVE_DLERROR 1
12157 _ACEOF
12158
12159 fi
12160 done
12161
12162 LIBS="$lt_save_LIBS"
12163 fi
12164
12165
12166 LIBADD_SHL_LOAD=
12167 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12168 if test "x$ac_cv_func_shl_load" = xyes; then :
12169
12170 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12171
12172 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
12173 else
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12175 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12176 if ${ac_cv_lib_dld_shl_load+:} false; then :
12177 $as_echo_n "(cached) " >&6
12178 else
12179 ac_check_lib_save_LIBS=$LIBS
12180 LIBS="-ldld $LIBS"
12181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12182 /* end confdefs.h. */
12183
12184 /* Override any GCC internal prototype to avoid an error.
12185 Use char because int might match the return type of a GCC
12186 builtin and then its argument prototype would still apply. */
12187 #ifdef __cplusplus
12188 extern "C"
12189 #endif
12190 char shl_load ();
12191 int
12192 main ()
12193 {
12194 return shl_load ();
12195 ;
12196 return 0;
12197 }
12198 _ACEOF
12199 if ac_fn_c_try_link "$LINENO"; then :
12200 ac_cv_lib_dld_shl_load=yes
12201 else
12202 ac_cv_lib_dld_shl_load=no
12203 fi
12204 rm -f core conftest.err conftest.$ac_objext \
12205 conftest$ac_exeext conftest.$ac_ext
12206 LIBS=$ac_check_lib_save_LIBS
12207 fi
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12209 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12210 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12211
12212 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12213
12214 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
12215 LIBADD_SHL_LOAD="-ldld"
12216 fi
12217
12218 fi
12219
12220
12221
12222 case $host_os in
12223 darwin[1567].*)
12224 # We only want this for pre-Mac OS X 10.4.
12225 ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12226 if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
12227
12228 $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12229
12230 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
12231 fi
12232
12233 ;;
12234 beos*)
12235 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
12236 ;;
12237 cygwin* | mingw* | os2* | pw32*)
12238 ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12239 "
12240 if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
12241 ac_have_decl=1
12242 else
12243 ac_have_decl=0
12244 fi
12245
12246 cat >>confdefs.h <<_ACEOF
12247 #define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
12248 _ACEOF
12249
12250 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
12251 ;;
12252 esac
12253
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12255 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12256 if ${ac_cv_lib_dld_dld_link+:} false; then :
12257 $as_echo_n "(cached) " >&6
12258 else
12259 ac_check_lib_save_LIBS=$LIBS
12260 LIBS="-ldld $LIBS"
12261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12262 /* end confdefs.h. */
12263
12264 /* Override any GCC internal prototype to avoid an error.
12265 Use char because int might match the return type of a GCC
12266 builtin and then its argument prototype would still apply. */
12267 #ifdef __cplusplus
12268 extern "C"
12269 #endif
12270 char dld_link ();
12271 int
12272 main ()
12273 {
12274 return dld_link ();
12275 ;
12276 return 0;
12277 }
12278 _ACEOF
12279 if ac_fn_c_try_link "$LINENO"; then :
12280 ac_cv_lib_dld_dld_link=yes
12281 else
12282 ac_cv_lib_dld_dld_link=no
12283 fi
12284 rm -f core conftest.err conftest.$ac_objext \
12285 conftest$ac_exeext conftest.$ac_ext
12286 LIBS=$ac_check_lib_save_LIBS
12287 fi
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12289 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12290 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12291
12292 $as_echo "#define HAVE_DLD 1" >>confdefs.h
12293
12294 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
12295 fi
12296
12297
12298
12299
12300 LT_DLPREOPEN=
12301 if test -n "$LT_DLLOADERS"
12302 then
12303 for lt_loader in $LT_DLLOADERS; do
12304 LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
12305 done
12306
12307 $as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
12308
12309 fi
12310
12311
12312 LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
12313
12314
12315 ac_ext=c
12316 ac_cpp='$CPP $CPPFLAGS'
12317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12320
12321
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12323 $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12324 if ${lt_cv_sys_symbol_underscore+:} false; then :
12325 $as_echo_n "(cached) " >&6
12326 else
12327 lt_cv_sys_symbol_underscore=no
12328 cat > conftest.$ac_ext <<_LT_EOF
12329 void nm_test_func(){}
12330 int main(){nm_test_func;return 0;}
12331 _LT_EOF
12332 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12333 (eval $ac_compile) 2>&5
12334 ac_status=$?
12335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12336 test $ac_status = 0; }; then
12337 # Now try to grab the symbols.
12338 ac_nlist=conftest.nm
12339 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
12340 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
12341 ac_status=$?
12342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12343 test $ac_status = 0; } && test -s "$ac_nlist"; then
12344 # See whether the symbols have a leading underscore.
12345 if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
12346 lt_cv_sys_symbol_underscore=yes
12347 else
12348 if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
12349 :
12350 else
12351 echo "configure: cannot find nm_test_func in $ac_nlist" >&5
12352 fi
12353 fi
12354 else
12355 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
12356 fi
12357 else
12358 echo "configure: failed program was:" >&5
12359 cat conftest.c >&5
12360 fi
12361 rm -rf conftest*
12362
12363 fi
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
12365 $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
12366 sys_symbol_underscore=$lt_cv_sys_symbol_underscore
12367
12368
12369 if test x"$lt_cv_sys_symbol_underscore" = xyes; then
12370 if test x"$libltdl_cv_func_dlopen" = xyes ||
12371 test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12373 $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12374 if ${libltdl_cv_need_uscore+:} false; then :
12375 $as_echo_n "(cached) " >&6
12376 else
12377 libltdl_cv_need_uscore=unknown
12378 save_LIBS="$LIBS"
12379 LIBS="$LIBS $LIBADD_DLOPEN"
12380 if test "$cross_compiling" = yes; then :
12381 libltdl_cv_need_uscore=cross
12382 else
12383 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12384 lt_status=$lt_dlunknown
12385 cat > conftest.$ac_ext <<_LT_EOF
12386 #line $LINENO "configure"
12387 #include "confdefs.h"
12388
12389 #if HAVE_DLFCN_H
12390 #include <dlfcn.h>
12391 #endif
12392
12393 #include <stdio.h>
12394
12395 #ifdef RTLD_GLOBAL
12396 # define LT_DLGLOBAL RTLD_GLOBAL
12397 #else
12398 # ifdef DL_GLOBAL
12399 # define LT_DLGLOBAL DL_GLOBAL
12400 # else
12401 # define LT_DLGLOBAL 0
12402 # endif
12403 #endif
12404
12405 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12406 find out it does not work in some platform. */
12407 #ifndef LT_DLLAZY_OR_NOW
12408 # ifdef RTLD_LAZY
12409 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12410 # else
12411 # ifdef DL_LAZY
12412 # define LT_DLLAZY_OR_NOW DL_LAZY
12413 # else
12414 # ifdef RTLD_NOW
12415 # define LT_DLLAZY_OR_NOW RTLD_NOW
12416 # else
12417 # ifdef DL_NOW
12418 # define LT_DLLAZY_OR_NOW DL_NOW
12419 # else
12420 # define LT_DLLAZY_OR_NOW 0
12421 # endif
12422 # endif
12423 # endif
12424 # endif
12425 #endif
12426
12427 /* When -fvisbility=hidden is used, assume the code has been annotated
12428 correspondingly for the symbols needed. */
12429 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12430 int fnord () __attribute__((visibility("default")));
12431 #endif
12432
12433 int fnord () { return 42; }
12434 int main ()
12435 {
12436 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12437 int status = $lt_dlunknown;
12438
12439 if (self)
12440 {
12441 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12442 else
12443 {
12444 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12445 else puts (dlerror ());
12446 }
12447 /* dlclose (self); */
12448 }
12449 else
12450 puts (dlerror ());
12451
12452 return status;
12453 }
12454 _LT_EOF
12455 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12456 (eval $ac_link) 2>&5
12457 ac_status=$?
12458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12459 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12460 (./conftest; exit; ) >&5 2>/dev/null
12461 lt_status=$?
12462 case x$lt_status in
12463 x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
12464 x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
12465 x$lt_dlunknown|x*) ;;
12466 esac
12467 else :
12468 # compilation failed
12469
12470 fi
12471 fi
12472 rm -fr conftest*
12473
12474 LIBS="$save_LIBS"
12475
12476 fi
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
12478 $as_echo "$libltdl_cv_need_uscore" >&6; }
12479 fi
12480 fi
12481
12482 if test x"$libltdl_cv_need_uscore" = xyes; then
12483
12484 $as_echo "#define NEED_USCORE 1" >>confdefs.h
12485
12486 fi
12487
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12489 $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12490 if ${lt_cv_sys_dlopen_deplibs+:} false; then :
12491 $as_echo_n "(cached) " >&6
12492 else
12493 # PORTME does your system automatically load deplibs for dlopen?
12494 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
12495 # For now, we just catch OSes we know something about -- in the
12496 # future, we'll try test this programmatically.
12497 lt_cv_sys_dlopen_deplibs=unknown
12498 case $host_os in
12499 aix3*|aix4.1.*|aix4.2.*)
12500 # Unknown whether this is true for these versions of AIX, but
12501 # we want this `case' here to explicitly catch those versions.
12502 lt_cv_sys_dlopen_deplibs=unknown
12503 ;;
12504 aix[4-9]*)
12505 lt_cv_sys_dlopen_deplibs=yes
12506 ;;
12507 amigaos*)
12508 case $host_cpu in
12509 powerpc)
12510 lt_cv_sys_dlopen_deplibs=no
12511 ;;
12512 esac
12513 ;;
12514 darwin*)
12515 # Assuming the user has installed a libdl from somewhere, this is true
12516 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
12517 lt_cv_sys_dlopen_deplibs=yes
12518 ;;
12519 freebsd* | dragonfly*)
12520 lt_cv_sys_dlopen_deplibs=yes
12521 ;;
12522 gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
12523 # GNU and its variants, using gnu ld.so (Glibc)
12524 lt_cv_sys_dlopen_deplibs=yes
12525 ;;
12526 hpux10*|hpux11*)
12527 lt_cv_sys_dlopen_deplibs=yes
12528 ;;
12529 interix*)
12530 lt_cv_sys_dlopen_deplibs=yes
12531 ;;
12532 irix[12345]*|irix6.[01]*)
12533 # Catch all versions of IRIX before 6.2, and indicate that we don't
12534 # know how it worked for any of those versions.
12535 lt_cv_sys_dlopen_deplibs=unknown
12536 ;;
12537 irix*)
12538 # The case above catches anything before 6.2, and it's known that
12539 # at 6.2 and later dlopen does load deplibs.
12540 lt_cv_sys_dlopen_deplibs=yes
12541 ;;
12542 netbsd*)
12543 lt_cv_sys_dlopen_deplibs=yes
12544 ;;
12545 openbsd*)
12546 lt_cv_sys_dlopen_deplibs=yes
12547 ;;
12548 osf[1234]*)
12549 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
12550 # it did *not* use an RPATH in a shared library to find objects the
12551 # library depends on, so we explicitly say `no'.
12552 lt_cv_sys_dlopen_deplibs=no
12553 ;;
12554 osf5.0|osf5.0a|osf5.1)
12555 # dlopen *does* load deplibs and with the right loader patch applied
12556 # it even uses RPATH in a shared library to search for shared objects
12557 # that the library depends on, but there's no easy way to know if that
12558 # patch is installed. Since this is the case, all we can really
12559 # say is unknown -- it depends on the patch being installed. If
12560 # it is, this changes to `yes'. Without it, it would be `no'.
12561 lt_cv_sys_dlopen_deplibs=unknown
12562 ;;
12563 osf*)
12564 # the two cases above should catch all versions of osf <= 5.1. Read
12565 # the comments above for what we know about them.
12566 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
12567 # is used to find them so we can finally say `yes'.
12568 lt_cv_sys_dlopen_deplibs=yes
12569 ;;
12570 qnx*)
12571 lt_cv_sys_dlopen_deplibs=yes
12572 ;;
12573 solaris*)
12574 lt_cv_sys_dlopen_deplibs=yes
12575 ;;
12576 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12577 libltdl_cv_sys_dlopen_deplibs=yes
12578 ;;
12579 esac
12580
12581 fi
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
12583 $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
12584 if test "$lt_cv_sys_dlopen_deplibs" != yes; then
12585
12586 $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
12587
12588 fi
12589
12590 :
12591
12592 for ac_header in argz.h
12593 do :
12594 ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12595 "
12596 if test "x$ac_cv_header_argz_h" = xyes; then :
12597 cat >>confdefs.h <<_ACEOF
12598 #define HAVE_ARGZ_H 1
12599 _ACEOF
12600
12601 fi
12602
12603 done
12604
12605
12606 ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
12607 # include <argz.h>
12608 #endif
12609 "
12610 if test "x$ac_cv_type_error_t" = xyes; then :
12611
12612 cat >>confdefs.h <<_ACEOF
12613 #define HAVE_ERROR_T 1
12614 _ACEOF
12615
12616
12617 else
12618
12619 $as_echo "#define error_t int" >>confdefs.h
12620
12621
12622 $as_echo "#define __error_t_defined 1" >>confdefs.h
12623
12624 fi
12625
12626
12627 ARGZ_H=
12628 for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
12629 argz_next argz_stringify
12630 do :
12631 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12632 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12633 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12634 cat >>confdefs.h <<_ACEOF
12635 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12636 _ACEOF
12637
12638 else
12639 ARGZ_H=argz.h;
12640
12641 _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
12642
12643 fi
12644 done
12645
12646
12647 if test -z "$ARGZ_H"; then :
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12649 $as_echo_n "checking if argz actually works... " >&6; }
12650 if ${lt_cv_sys_argz_works+:} false; then :
12651 $as_echo_n "(cached) " >&6
12652 else
12653 case $host_os in #(
12654 *cygwin*)
12655 lt_cv_sys_argz_works=no
12656 if test "$cross_compiling" != no; then
12657 lt_cv_sys_argz_works="guessing no"
12658 else
12659 lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
12660 save_IFS=$IFS
12661 IFS=-.
12662 set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
12663 IFS=$save_IFS
12664 lt_os_major=${2-0}
12665 lt_os_minor=${3-0}
12666 lt_os_micro=${4-0}
12667 if test "$lt_os_major" -gt 1 \
12668 || { test "$lt_os_major" -eq 1 \
12669 && { test "$lt_os_minor" -gt 5 \
12670 || { test "$lt_os_minor" -eq 5 \
12671 && test "$lt_os_micro" -gt 24; }; }; }; then
12672 lt_cv_sys_argz_works=yes
12673 fi
12674 fi
12675 ;; #(
12676 *) lt_cv_sys_argz_works=yes ;;
12677 esac
12678 fi
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12680 $as_echo "$lt_cv_sys_argz_works" >&6; }
12681 if test "$lt_cv_sys_argz_works" = yes; then :
12682
12683 $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12684
12685 else
12686 ARGZ_H=argz.h
12687
12688
12689 _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
12690
12691 fi
12692 fi
12693
12694
12695
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12697 $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12698 if ${libltdl_cv_preloaded_symbols+:} false; then :
12699 $as_echo_n "(cached) " >&6
12700 else
12701 if test -n "$lt_cv_sys_global_symbol_pipe"; then
12702 libltdl_cv_preloaded_symbols=yes
12703 else
12704 libltdl_cv_preloaded_symbols=no
12705 fi
12706
12707 fi
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
12709 $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
12710 if test x"$libltdl_cv_preloaded_symbols" = xyes; then
12711
12712 $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
12713
12714 fi
12715
12716 # Set options
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728 # Check whether --with-included_ltdl was given.
12729 if test "${with_included_ltdl+set}" = set; then :
12730 withval=$with_included_ltdl;
12731 fi
12732
12733
12734 if test "x$with_included_ltdl" != xyes; then
12735 # We are not being forced to use the included libltdl sources, so
12736 # decide whether there is a useful installed version we can use.
12737 ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12738
12739 "
12740 if test "x$ac_cv_header_ltdl_h" = xyes; then :
12741 ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12742 #include <ltdl.h>
12743 "
12744 if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12746 $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12747 if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
12748 $as_echo_n "(cached) " >&6
12749 else
12750 ac_check_lib_save_LIBS=$LIBS
12751 LIBS="-lltdl $LIBS"
12752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12753 /* end confdefs.h. */
12754
12755 /* Override any GCC internal prototype to avoid an error.
12756 Use char because int might match the return type of a GCC
12757 builtin and then its argument prototype would still apply. */
12758 #ifdef __cplusplus
12759 extern "C"
12760 #endif
12761 char lt_dladvise_preload ();
12762 int
12763 main ()
12764 {
12765 return lt_dladvise_preload ();
12766 ;
12767 return 0;
12768 }
12769 _ACEOF
12770 if ac_fn_c_try_link "$LINENO"; then :
12771 ac_cv_lib_ltdl_lt_dladvise_preload=yes
12772 else
12773 ac_cv_lib_ltdl_lt_dladvise_preload=no
12774 fi
12775 rm -f core conftest.err conftest.$ac_objext \
12776 conftest$ac_exeext conftest.$ac_ext
12777 LIBS=$ac_check_lib_save_LIBS
12778 fi
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12780 $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12781 if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
12782 with_included_ltdl=no
12783 else
12784 with_included_ltdl=yes
12785 fi
12786
12787 else
12788 with_included_ltdl=yes
12789 fi
12790
12791 else
12792 with_included_ltdl=yes
12793 fi
12794
12795
12796 fi
12797
12798
12799
12800
12801 # Check whether --with-ltdl_include was given.
12802 if test "${with_ltdl_include+set}" = set; then :
12803 withval=$with_ltdl_include;
12804 fi
12805
12806
12807 if test -n "$with_ltdl_include"; then
12808 if test -f "$with_ltdl_include/ltdl.h"; then :
12809 else
12810 as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12811 fi
12812 else
12813 with_ltdl_include=no
12814 fi
12815
12816
12817 # Check whether --with-ltdl_lib was given.
12818 if test "${with_ltdl_lib+set}" = set; then :
12819 withval=$with_ltdl_lib;
12820 fi
12821
12822
12823 if test -n "$with_ltdl_lib"; then
12824 if test -f "$with_ltdl_lib/libltdl.la"; then :
12825 else
12826 as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12827 fi
12828 else
12829 with_ltdl_lib=no
12830 fi
12831
12832 case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
12833 ,yes,no,no,)
12834 case $enable_ltdl_convenience in
12835 no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
12836 "") enable_ltdl_convenience=yes
12837 ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
12838 esac
12839 LIBLTDL='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
12840 LTDLDEPS=$LIBLTDL
12841 LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
12842
12843
12844
12845
12846
12847 # For backwards non-gettext consistent compatibility...
12848 INCLTDL="$LTDLINCL"
12849
12850
12851 ;;
12852 ,no,no,no,)
12853 # If the included ltdl is not to be used, then use the
12854 # preinstalled libltdl we found.
12855
12856 $as_echo "#define HAVE_LTDL 1" >>confdefs.h
12857
12858 LIBLTDL=-lltdl
12859 LTDLDEPS=
12860 LTDLINCL=
12861 ;;
12862 ,no*,no,*)
12863 as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12864 ;;
12865 *) with_included_ltdl=no
12866 LIBLTDL="-L$with_ltdl_lib -lltdl"
12867 LTDLDEPS=
12868 LTDLINCL="-I$with_ltdl_include"
12869 ;;
12870 esac
12871 INCLTDL="$LTDLINCL"
12872
12873 # Report our decision...
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
12875 $as_echo_n "checking where to find libltdl headers... " >&6; }
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5
12877 $as_echo "$LTDLINCL" >&6; }
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5
12879 $as_echo_n "checking where to find libltdl library... " >&6; }
12880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5
12881 $as_echo "$LIBLTDL" >&6; }
12882
12883
12884
12885 # Check whether --enable-ltdl-install was given.
12886 if test "${enable_ltdl_install+set}" = set; then :
12887 enableval=$enable_ltdl_install;
12888 fi
12889
12890
12891 case ,${enable_ltdl_install},${enable_ltdl_convenience} in
12892 *yes*) ;;
12893 *) enable_ltdl_convenience=yes ;;
12894 esac
12895
12896 if test x"${enable_ltdl_install-no}" != xno; then
12897 INSTALL_LTDL_TRUE=
12898 INSTALL_LTDL_FALSE='#'
12899 else
12900 INSTALL_LTDL_TRUE='#'
12901 INSTALL_LTDL_FALSE=
12902 fi
12903
12904 if test x"${enable_ltdl_convenience-no}" != xno; then
12905 CONVENIENCE_LTDL_TRUE=
12906 CONVENIENCE_LTDL_FALSE='#'
12907 else
12908 CONVENIENCE_LTDL_TRUE='#'
12909 CONVENIENCE_LTDL_FALSE=
12910 fi
12911
12912
12913
12914
12915
12916
12917 # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
12918 # the user used. This is so that ltdl.h can pick up the parent projects
12919 # config.h file, The first file in AC_CONFIG_HEADERS must contain the
12920 # definitions required by ltdl.c.
12921 # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
12922
12923
12924
12925 for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
12926 do :
12927 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12928 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12929 "
12930 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12931 cat >>confdefs.h <<_ACEOF
12932 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12933 _ACEOF
12934
12935 fi
12936
12937 done
12938
12939
12940 for ac_func in closedir opendir readdir
12941 do :
12942 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12943 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12944 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12945 cat >>confdefs.h <<_ACEOF
12946 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12947 _ACEOF
12948
12949 else
12950
12951
12952 _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext"
12953
12954 fi
12955 done
12956
12957 for ac_func in strlcat strlcpy
12958 do :
12959 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12960 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12961 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12962 cat >>confdefs.h <<_ACEOF
12963 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12964 _ACEOF
12965
12966 else
12967
12968
12969 _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext"
12970
12971 fi
12972 done
12973
12974
12975
12976 cat >>confdefs.h <<_ACEOF
12977 #define LT_LIBEXT "$libext"
12978 _ACEOF
12979
12980
12981 name=
12982 eval "lt_libprefix=\"$libname_spec\""
12983
12984 cat >>confdefs.h <<_ACEOF
12985 #define LT_LIBPREFIX "$lt_libprefix"
12986 _ACEOF
12987
12988
12989 name=ltdl
12990 eval "LTDLOPEN=\"$libname_spec\""
12991
12992
12993
12994
12995
12996
12997
12998
12999 # Only expand once:
13000
13001
13002 LIBTOOL="$LIBTOOL --silent"
13003
13004 # Checks for libraries.
13005
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13007 $as_echo_n "checking for library containing socket... " >&6; }
13008 if ${ac_cv_search_socket+:} false; then :
13009 $as_echo_n "(cached) " >&6
13010 else
13011 ac_func_search_save_LIBS=$LIBS
13012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13013 /* end confdefs.h. */
13014
13015 /* Override any GCC internal prototype to avoid an error.
13016 Use char because int might match the return type of a GCC
13017 builtin and then its argument prototype would still apply. */
13018 #ifdef __cplusplus
13019 extern "C"
13020 #endif
13021 char socket ();
13022 int
13023 main ()
13024 {
13025 return socket ();
13026 ;
13027 return 0;
13028 }
13029 _ACEOF
13030 for ac_lib in '' socket; do
13031 if test -z "$ac_lib"; then
13032 ac_res="none required"
13033 else
13034 ac_res=-l$ac_lib
13035 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13036 fi
13037 if ac_fn_c_try_link "$LINENO"; then :
13038 ac_cv_search_socket=$ac_res
13039 fi
13040 rm -f core conftest.err conftest.$ac_objext \
13041 conftest$ac_exeext
13042 if ${ac_cv_search_socket+:} false; then :
13043 break
13044 fi
13045 done
13046 if ${ac_cv_search_socket+:} false; then :
13047
13048 else
13049 ac_cv_search_socket=no
13050 fi
13051 rm conftest.$ac_ext
13052 LIBS=$ac_func_search_save_LIBS
13053 fi
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13055 $as_echo "$ac_cv_search_socket" >&6; }
13056 ac_res=$ac_cv_search_socket
13057 if test "$ac_res" != no; then :
13058 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13059
13060 else
13061 as_fn_error $? "socket library not found" "$LINENO" 5
13062 fi
13063
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
13065 $as_echo_n "checking for library containing inet_ntoa... " >&6; }
13066 if ${ac_cv_search_inet_ntoa+:} false; then :
13067 $as_echo_n "(cached) " >&6
13068 else
13069 ac_func_search_save_LIBS=$LIBS
13070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13071 /* end confdefs.h. */
13072
13073 /* Override any GCC internal prototype to avoid an error.
13074 Use char because int might match the return type of a GCC
13075 builtin and then its argument prototype would still apply. */
13076 #ifdef __cplusplus
13077 extern "C"
13078 #endif
13079 char inet_ntoa ();
13080 int
13081 main ()
13082 {
13083 return inet_ntoa ();
13084 ;
13085 return 0;
13086 }
13087 _ACEOF
13088 for ac_lib in '' nsl; do
13089 if test -z "$ac_lib"; then
13090 ac_res="none required"
13091 else
13092 ac_res=-l$ac_lib
13093 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13094 fi
13095 if ac_fn_c_try_link "$LINENO"; then :
13096 ac_cv_search_inet_ntoa=$ac_res
13097 fi
13098 rm -f core conftest.err conftest.$ac_objext \
13099 conftest$ac_exeext
13100 if ${ac_cv_search_inet_ntoa+:} false; then :
13101 break
13102 fi
13103 done
13104 if ${ac_cv_search_inet_ntoa+:} false; then :
13105
13106 else
13107 ac_cv_search_inet_ntoa=no
13108 fi
13109 rm conftest.$ac_ext
13110 LIBS=$ac_func_search_save_LIBS
13111 fi
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
13113 $as_echo "$ac_cv_search_inet_ntoa" >&6; }
13114 ac_res=$ac_cv_search_inet_ntoa
13115 if test "$ac_res" != no; then :
13116 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13117
13118 fi
13119
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13121 $as_echo_n "checking for library containing inet_aton... " >&6; }
13122 if ${ac_cv_search_inet_aton+:} false; then :
13123 $as_echo_n "(cached) " >&6
13124 else
13125 ac_func_search_save_LIBS=$LIBS
13126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13127 /* end confdefs.h. */
13128
13129 /* Override any GCC internal prototype to avoid an error.
13130 Use char because int might match the return type of a GCC
13131 builtin and then its argument prototype would still apply. */
13132 #ifdef __cplusplus
13133 extern "C"
13134 #endif
13135 char inet_aton ();
13136 int
13137 main ()
13138 {
13139 return inet_aton ();
13140 ;
13141 return 0;
13142 }
13143 _ACEOF
13144 for ac_lib in '' resolv; do
13145 if test -z "$ac_lib"; then
13146 ac_res="none required"
13147 else
13148 ac_res=-l$ac_lib
13149 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13150 fi
13151 if ac_fn_c_try_link "$LINENO"; then :
13152 ac_cv_search_inet_aton=$ac_res
13153 fi
13154 rm -f core conftest.err conftest.$ac_objext \
13155 conftest$ac_exeext
13156 if ${ac_cv_search_inet_aton+:} false; then :
13157 break
13158 fi
13159 done
13160 if ${ac_cv_search_inet_aton+:} false; then :
13161
13162 else
13163 ac_cv_search_inet_aton=no
13164 fi
13165 rm conftest.$ac_ext
13166 LIBS=$ac_func_search_save_LIBS
13167 fi
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13169 $as_echo "$ac_cv_search_inet_aton" >&6; }
13170 ac_res=$ac_cv_search_inet_aton
13171 if test "$ac_res" != no; then :
13172 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13173
13174 fi
13175
13176 for ac_func in inet_aton inet_ntop inet_pton
13177 do :
13178 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13179 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13180 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13181 cat >>confdefs.h <<_ACEOF
13182 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13183 _ACEOF
13184
13185 fi
13186 done
13187
13188 ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#include <sys/types.h>
13189 #include <sys/socket.h>
13190 #include <netdb.h>
13191
13192 "
13193 if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
13194
13195 cat >>confdefs.h <<_ACEOF
13196 #define HAVE_STRUCT_SOCKADDR_IN 1
13197 _ACEOF
13198
13199
13200 fi
13201 ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "#include <sys/types.h>
13202 #include <sys/socket.h>
13203 #include <netdb.h>
13204
13205 "
13206 if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
13207
13208 cat >>confdefs.h <<_ACEOF
13209 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
13210 _ACEOF
13211
13212
13213 fi
13214 ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "#include <sys/types.h>
13215 #include <sys/socket.h>
13216 #include <netdb.h>
13217
13218 "
13219 if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
13220
13221 cat >>confdefs.h <<_ACEOF
13222 #define HAVE_STRUCT_ADDRINFO 1
13223 _ACEOF
13224
13225
13226 fi
13227
13228 ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <sys/types.h>
13229 <sys/socket.h>
13230 "
13231 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
13232
13233 cat >>confdefs.h <<_ACEOF
13234 #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
13235 _ACEOF
13236
13237
13238 fi
13239
13240
13241
13242 ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#include <netinet/in.h>
13243 "
13244 if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
13245
13246 $as_echo "#define IPV6 1" >>confdefs.h
13247
13248 fi
13249
13250
13251
13252 # Checks for typedefs, structures, and compiler characteristics.
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13254 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13255 if ${ac_cv_c_bigendian+:} false; then :
13256 $as_echo_n "(cached) " >&6
13257 else
13258 ac_cv_c_bigendian=unknown
13259 # See if we're dealing with a universal compiler.
13260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13261 /* end confdefs.h. */
13262 #ifndef __APPLE_CC__
13263 not a universal capable compiler
13264 #endif
13265 typedef int dummy;
13266
13267 _ACEOF
13268 if ac_fn_c_try_compile "$LINENO"; then :
13269
13270 # Check for potential -arch flags. It is not universal unless
13271 # there are at least two -arch flags with different values.
13272 ac_arch=
13273 ac_prev=
13274 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
13275 if test -n "$ac_prev"; then
13276 case $ac_word in
13277 i?86 | x86_64 | ppc | ppc64)
13278 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
13279 ac_arch=$ac_word
13280 else
13281 ac_cv_c_bigendian=universal
13282 break
13283 fi
13284 ;;
13285 esac
13286 ac_prev=
13287 elif test "x$ac_word" = "x-arch"; then
13288 ac_prev=arch
13289 fi
13290 done
13291 fi
13292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13293 if test $ac_cv_c_bigendian = unknown; then
13294 # See if sys/param.h defines the BYTE_ORDER macro.
13295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13296 /* end confdefs.h. */
13297 #include <sys/types.h>
13298 #include <sys/param.h>
13299
13300 int
13301 main ()
13302 {
13303 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
13304 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
13305 && LITTLE_ENDIAN)
13306 bogus endian macros
13307 #endif
13308
13309 ;
13310 return 0;
13311 }
13312 _ACEOF
13313 if ac_fn_c_try_compile "$LINENO"; then :
13314 # It does; now see whether it defined to BIG_ENDIAN or not.
13315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13316 /* end confdefs.h. */
13317 #include <sys/types.h>
13318 #include <sys/param.h>
13319
13320 int
13321 main ()
13322 {
13323 #if BYTE_ORDER != BIG_ENDIAN
13324 not big endian
13325 #endif
13326
13327 ;
13328 return 0;
13329 }
13330 _ACEOF
13331 if ac_fn_c_try_compile "$LINENO"; then :
13332 ac_cv_c_bigendian=yes
13333 else
13334 ac_cv_c_bigendian=no
13335 fi
13336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13337 fi
13338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13339 fi
13340 if test $ac_cv_c_bigendian = unknown; then
13341 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
13342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13343 /* end confdefs.h. */
13344 #include <limits.h>
13345
13346 int
13347 main ()
13348 {
13349 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
13350 bogus endian macros
13351 #endif
13352
13353 ;
13354 return 0;
13355 }
13356 _ACEOF
13357 if ac_fn_c_try_compile "$LINENO"; then :
13358 # It does; now see whether it defined to _BIG_ENDIAN or not.
13359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13360 /* end confdefs.h. */
13361 #include <limits.h>
13362
13363 int
13364 main ()
13365 {
13366 #ifndef _BIG_ENDIAN
13367 not big endian
13368 #endif
13369
13370 ;
13371 return 0;
13372 }
13373 _ACEOF
13374 if ac_fn_c_try_compile "$LINENO"; then :
13375 ac_cv_c_bigendian=yes
13376 else
13377 ac_cv_c_bigendian=no
13378 fi
13379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13380 fi
13381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13382 fi
13383 if test $ac_cv_c_bigendian = unknown; then
13384 # Compile a test program.
13385 if test "$cross_compiling" = yes; then :
13386 # Try to guess by grepping values from an object file.
13387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13388 /* end confdefs.h. */
13389 short int ascii_mm[] =
13390 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13391 short int ascii_ii[] =
13392 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13393 int use_ascii (int i) {
13394 return ascii_mm[i] + ascii_ii[i];
13395 }
13396 short int ebcdic_ii[] =
13397 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13398 short int ebcdic_mm[] =
13399 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13400 int use_ebcdic (int i) {
13401 return ebcdic_mm[i] + ebcdic_ii[i];
13402 }
13403 extern int foo;
13404
13405 int
13406 main ()
13407 {
13408 return use_ascii (foo) == use_ebcdic (foo);
13409 ;
13410 return 0;
13411 }
13412 _ACEOF
13413 if ac_fn_c_try_compile "$LINENO"; then :
13414 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
13415 ac_cv_c_bigendian=yes
13416 fi
13417 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
13418 if test "$ac_cv_c_bigendian" = unknown; then
13419 ac_cv_c_bigendian=no
13420 else
13421 # finding both strings is unlikely to happen, but who knows?
13422 ac_cv_c_bigendian=unknown
13423 fi
13424 fi
13425 fi
13426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13427 else
13428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13429 /* end confdefs.h. */
13430 $ac_includes_default
13431 int
13432 main ()
13433 {
13434
13435 /* Are we little or big endian? From Harbison&Steele. */
13436 union
13437 {
13438 long int l;
13439 char c[sizeof (long int)];
13440 } u;
13441 u.l = 1;
13442 return u.c[sizeof (long int) - 1] == 1;
13443
13444 ;
13445 return 0;
13446 }
13447 _ACEOF
13448 if ac_fn_c_try_run "$LINENO"; then :
13449 ac_cv_c_bigendian=no
13450 else
13451 ac_cv_c_bigendian=yes
13452 fi
13453 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13454 conftest.$ac_objext conftest.beam conftest.$ac_ext
13455 fi
13456
13457 fi
13458 fi
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
13460 $as_echo "$ac_cv_c_bigendian" >&6; }
13461 case $ac_cv_c_bigendian in #(
13462 yes)
13463 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
13464 ;; #(
13465 no)
13466 ;; #(
13467 universal)
13468
13469 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
13470
13471 ;; #(
13472 *)
13473 as_fn_error $? "unknown endianness
13474 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13475 esac
13476
13477
13478 # Checks for library functions.
13479
13480
13481
13482 for ac_func in $ac_func_list
13483 do :
13484 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13485 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13486 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13487 cat >>confdefs.h <<_ACEOF
13488 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13489 _ACEOF
13490
13491 fi
13492 done
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506 # Checks for header files.
13507
13508
13509
13510 for ac_header in $ac_header_list
13511 do :
13512 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13513 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13514 "
13515 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13516 cat >>confdefs.h <<_ACEOF
13517 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13518 _ACEOF
13519
13520 fi
13521
13522 done
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13543 $as_echo_n "checking for library containing crypt... " >&6; }
13544 if ${ac_cv_search_crypt+:} false; then :
13545 $as_echo_n "(cached) " >&6
13546 else
13547 ac_func_search_save_LIBS=$LIBS
13548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13549 /* end confdefs.h. */
13550
13551 /* Override any GCC internal prototype to avoid an error.
13552 Use char because int might match the return type of a GCC
13553 builtin and then its argument prototype would still apply. */
13554 #ifdef __cplusplus
13555 extern "C"
13556 #endif
13557 char crypt ();
13558 int
13559 main ()
13560 {
13561 return crypt ();
13562 ;
13563 return 0;
13564 }
13565 _ACEOF
13566 for ac_lib in '' crypt; do
13567 if test -z "$ac_lib"; then
13568 ac_res="none required"
13569 else
13570 ac_res=-l$ac_lib
13571 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13572 fi
13573 if ac_fn_c_try_link "$LINENO"; then :
13574 ac_cv_search_crypt=$ac_res
13575 fi
13576 rm -f core conftest.err conftest.$ac_objext \
13577 conftest$ac_exeext
13578 if ${ac_cv_search_crypt+:} false; then :
13579 break
13580 fi
13581 done
13582 if ${ac_cv_search_crypt+:} false; then :
13583
13584 else
13585 ac_cv_search_crypt=no
13586 fi
13587 rm conftest.$ac_ext
13588 LIBS=$ac_func_search_save_LIBS
13589 fi
13590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
13591 $as_echo "$ac_cv_search_crypt" >&6; }
13592 ac_res=$ac_cv_search_crypt
13593 if test "$ac_res" != no; then :
13594 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13595
13596 fi
13597
13598
13599
13600
13601 # Check whether --with-libpcre-path was given.
13602 if test "${with_libpcre_path+set}" = set; then :
13603 withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
13604 fi
13605
13606
13607 # Check whether --enable-libpcre was given.
13608 if test "${enable_libpcre+set}" = set; then :
13609 enableval=$enable_libpcre; libpcre=$enableval
13610 else
13611 libpcre=yes
13612 fi
13613
13614
13615 if test "$libpcre" = "yes"; then :
13616
13617 ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
13618 if test "x$ac_cv_header_pcre_h" = xyes; then :
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
13620 $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
13621 if ${ac_cv_lib_pcre_pcre_study+:} false; then :
13622 $as_echo_n "(cached) " >&6
13623 else
13624 ac_check_lib_save_LIBS=$LIBS
13625 LIBS="-lpcre $LIBS"
13626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13627 /* end confdefs.h. */
13628
13629 /* Override any GCC internal prototype to avoid an error.
13630 Use char because int might match the return type of a GCC
13631 builtin and then its argument prototype would still apply. */
13632 #ifdef __cplusplus
13633 extern "C"
13634 #endif
13635 char pcre_study ();
13636 int
13637 main ()
13638 {
13639 return pcre_study ();
13640 ;
13641 return 0;
13642 }
13643 _ACEOF
13644 if ac_fn_c_try_link "$LINENO"; then :
13645 ac_cv_lib_pcre_pcre_study=yes
13646 else
13647 ac_cv_lib_pcre_pcre_study=no
13648 fi
13649 rm -f core conftest.err conftest.$ac_objext \
13650 conftest$ac_exeext conftest.$ac_ext
13651 LIBS=$ac_check_lib_save_LIBS
13652 fi
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
13654 $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
13655 if test "x$ac_cv_lib_pcre_pcre_study" = xyes; then :
13656
13657 LIBS="-lpcre $LIBS"
13658
13659 $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
13660
13661
13662 else
13663 libpcre=no
13664 fi
13665
13666
13667 else
13668 libpcre=no
13669 fi
13670
13671
13672
13673 fi
13674 if test "$libpcre" = yes; then
13675 ENABLE_PCRE_TRUE=
13676 ENABLE_PCRE_FALSE='#'
13677 else
13678 ENABLE_PCRE_TRUE='#'
13679 ENABLE_PCRE_FALSE=
13680 fi
13681
13682
13683
13684 # Check whether --enable-openssl was given.
13685 if test "${enable_openssl+set}" = set; then :
13686 enableval=$enable_openssl; cf_enable_openssl=$enableval
13687 else
13688 cf_enable_openssl="auto"
13689 fi
13690
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
13692 $as_echo_n "checking for OpenSSL... " >&6; }
13693 if test "$cf_enable_openssl" != "no"; then
13694 cf_openssl_basedir=""
13695 if test "$cf_enable_openssl" != "auto" &&
13696 test "$cf_enable_openssl" != "yes"; then
13697 cf_openssl_basedir="${cf_enable_openssl}"
13698 else
13699 for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib /usr/lib/ssl\
13700 /opt /opt/openssl /usr/local/openssl; do
13701 if test -f "${dirs}/include/openssl/opensslv.h"; then
13702 cf_openssl_basedir="${dirs}"
13703 break
13704 fi
13705 done
13706 unset dirs
13707 fi
13708
13709 if test ! -z "$cf_openssl_basedir"; then
13710 if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h"; then
13711 CPPFLAGS="-I${cf_openssl_basedir}/include $CPPFLAGS"
13712 LDFLAGS="-L${cf_openssl_basedir}/lib $LDFLAGS"
13713 else
13714 cf_openssl_basedir=""
13715 fi
13716 else
13717 if test -f "/usr/include/openssl/opensslv.h"; then
13718 cf_openssl_basedir="/usr"
13719 fi
13720 fi
13721
13722 if test ! -z "$cf_openssl_basedir"; then
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13724 $as_echo "$cf_openssl_basedir" >&6; }
13725 cf_enable_openssl="yes"
13726 else
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
13728 $as_echo "not found. Please check your path." >&6; }
13729 cf_enable_openssl="no"
13730 fi
13731 unset cf_openssl_basedir
13732 else
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
13734 $as_echo "disabled" >&6; }
13735 fi
13736
13737 if test "$cf_enable_openssl" != "no"; then :
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8 or above" >&5
13739 $as_echo_n "checking for OpenSSL 0.9.8 or above... " >&6; }
13740 if test "$cross_compiling" = yes; then :
13741 cf_openssl_version_ok=no
13742 else
13743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13744 /* end confdefs.h. */
13745
13746
13747 #include <openssl/opensslv.h>
13748 #include <stdlib.h>
13749 int
13750 main ()
13751 {
13752 exit(!(OPENSSL_VERSION_NUMBER >= 0x00908000));
13753 ;
13754 return 0;
13755 }
13756 _ACEOF
13757 if ac_fn_c_try_run "$LINENO"; then :
13758 cf_openssl_version_ok=yes
13759 else
13760 cf_openssl_version_ok=no
13761 fi
13762 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13763 conftest.$ac_objext conftest.beam conftest.$ac_ext
13764 fi
13765
13766
13767 if test "$cf_openssl_version_ok" = "yes"; then :
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13769 $as_echo "found" >&6; }
13770
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
13772 $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
13773 if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
13774 $as_echo_n "(cached) " >&6
13775 else
13776 ac_check_lib_save_LIBS=$LIBS
13777 LIBS="-lssl $LIBS"
13778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13779 /* end confdefs.h. */
13780
13781 /* Override any GCC internal prototype to avoid an error.
13782 Use char because int might match the return type of a GCC
13783 builtin and then its argument prototype would still apply. */
13784 #ifdef __cplusplus
13785 extern "C"
13786 #endif
13787 char SSL_connect ();
13788 int
13789 main ()
13790 {
13791 return SSL_connect ();
13792 ;
13793 return 0;
13794 }
13795 _ACEOF
13796 if ac_fn_c_try_link "$LINENO"; then :
13797 ac_cv_lib_ssl_SSL_connect=yes
13798 else
13799 ac_cv_lib_ssl_SSL_connect=no
13800 fi
13801 rm -f core conftest.err conftest.$ac_objext \
13802 conftest$ac_exeext conftest.$ac_ext
13803 LIBS=$ac_check_lib_save_LIBS
13804 fi
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
13806 $as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
13807 if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
13808 cat >>confdefs.h <<_ACEOF
13809 #define HAVE_LIBSSL 1
13810 _ACEOF
13811
13812 LIBS="-lssl $LIBS"
13813
13814 fi
13815
13816 if test "$ac_cv_lib_ssl_SSL_connect" = "yes"; then :
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13818 $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
13819 if ${ac_cv_lib_crypto_RSA_free+:} false; then :
13820 $as_echo_n "(cached) " >&6
13821 else
13822 ac_check_lib_save_LIBS=$LIBS
13823 LIBS="-lcrypto $LIBS"
13824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13825 /* end confdefs.h. */
13826
13827 /* Override any GCC internal prototype to avoid an error.
13828 Use char because int might match the return type of a GCC
13829 builtin and then its argument prototype would still apply. */
13830 #ifdef __cplusplus
13831 extern "C"
13832 #endif
13833 char RSA_free ();
13834 int
13835 main ()
13836 {
13837 return RSA_free ();
13838 ;
13839 return 0;
13840 }
13841 _ACEOF
13842 if ac_fn_c_try_link "$LINENO"; then :
13843 ac_cv_lib_crypto_RSA_free=yes
13844 else
13845 ac_cv_lib_crypto_RSA_free=no
13846 fi
13847 rm -f core conftest.err conftest.$ac_objext \
13848 conftest$ac_exeext conftest.$ac_ext
13849 LIBS=$ac_check_lib_save_LIBS
13850 fi
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
13852 $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
13853 if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then :
13854 cat >>confdefs.h <<_ACEOF
13855 #define HAVE_LIBCRYPTO 1
13856 _ACEOF
13857
13858 LIBS="-lcrypto $LIBS"
13859
13860 fi
13861
13862 fi
13863
13864 else
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5
13866 $as_echo "no - OpenSSL support disabled" >&6; }
13867 cf_enable_openssl="no"
13868 fi
13869 fi
13870
13871 if test "$ac_cv_lib_crypto_RSA_free" = yes; then
13872 ENABLE_SSL_TRUE=
13873 ENABLE_SSL_FALSE='#'
13874 else
13875 ENABLE_SSL_TRUE='#'
13876 ENABLE_SSL_FALSE=
13877 fi
13878
13879
13880
13881 # Check whether --enable-assert was given.
13882 if test "${enable_assert+set}" = set; then :
13883 enableval=$enable_assert; assert=$enableval
13884 else
13885 assert=no
13886 fi
13887
13888
13889 if test "$assert" = "no"; then :
13890
13891 $as_echo "#define NDEBUG 1" >>confdefs.h
13892
13893 fi
13894
13895
13896 # Check whether --enable-small-net was given.
13897 if test "${enable_small_net+set}" = set; then :
13898 enableval=$enable_small_net; small_net=$enableval
13899 else
13900 small_net=no
13901 fi
13902
13903
13904 if test "$small_net" = "yes"; then :
13905
13906
13907 $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
13908
13909
13910 $as_echo "#define CHANNEL_HEAP_SIZE 256" >>confdefs.h
13911
13912
13913 $as_echo "#define BAN_HEAP_SIZE 128" >>confdefs.h
13914
13915
13916 $as_echo "#define CLIENT_HEAP_SIZE 256" >>confdefs.h
13917
13918
13919 $as_echo "#define LCLIENT_HEAP_SIZE 128" >>confdefs.h
13920
13921
13922 $as_echo "#define DNODE_HEAP_SIZE 256" >>confdefs.h
13923
13924
13925 $as_echo "#define TOPIC_HEAP_SIZE 256" >>confdefs.h
13926
13927
13928 $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
13929
13930
13931 $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
13932
13933
13934 $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
13935
13936 else
13937
13938
13939
13940 $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
13941
13942
13943 $as_echo "#define CHANNEL_HEAP_SIZE 1024" >>confdefs.h
13944
13945
13946 $as_echo "#define BAN_HEAP_SIZE 1024" >>confdefs.h
13947
13948
13949 $as_echo "#define CLIENT_HEAP_SIZE 1024" >>confdefs.h
13950
13951
13952 $as_echo "#define LCLIENT_HEAP_SIZE 512" >>confdefs.h
13953
13954
13955 $as_echo "#define DNODE_HEAP_SIZE 1024" >>confdefs.h
13956
13957
13958 $as_echo "#define TOPIC_HEAP_SIZE 1024" >>confdefs.h
13959
13960
13961 $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
13962
13963
13964 $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
13965
13966
13967 $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
13968
13969 fi
13970
13971
13972 # Argument processing.
13973
13974 desired_iopoll_mechanism="none"
13975 # Check whether --enable-kqueue was given.
13976 if test "${enable_kqueue+set}" = set; then :
13977 enableval=$enable_kqueue; desired_iopoll_mechanism="kqueue"
13978 fi
13979
13980 # Check whether --enable-epoll was given.
13981 if test "${enable_epoll+set}" = set; then :
13982 enableval=$enable_epoll; desired_iopoll_mechanism="epoll"
13983 fi
13984
13985 # Check whether --enable-devpoll was given.
13986 if test "${enable_devpoll+set}" = set; then :
13987 enableval=$enable_devpoll; desired_iopoll_mechanism="devpoll"
13988 fi
13989
13990 # Check whether --enable-rtsigio was given.
13991 if test "${enable_rtsigio+set}" = set; then :
13992 enableval=$enable_rtsigio; desired_iopoll_mechanism="rtsigio"
13993 fi
13994
13995 # Check whether --enable-poll was given.
13996 if test "${enable_poll+set}" = set; then :
13997 enableval=$enable_poll; desired_iopoll_mechanism="poll"
13998 fi
13999
14000 # Check whether --enable-select was given.
14001 if test "${enable_select+set}" = set; then :
14002 enableval=$enable_select; desired_iopoll_mechanism="select"
14003 fi
14004
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for optimal/desired iopoll mechanism" >&5
14006 $as_echo_n "checking for optimal/desired iopoll mechanism... " >&6; }
14007 iopoll_mechanism_none=0
14008
14009 cat >>confdefs.h <<_ACEOF
14010 #define __IOPOLL_MECHANISM_NONE $iopoll_mechanism_none
14011 _ACEOF
14012
14013 iopoll_mechanism_kqueue=1
14014
14015 cat >>confdefs.h <<_ACEOF
14016 #define __IOPOLL_MECHANISM_KQUEUE $iopoll_mechanism_kqueue
14017 _ACEOF
14018
14019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14020 /* end confdefs.h. */
14021 /* Define kevent to an innocuous variant, in case <limits.h> declares kevent.
14022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14023 #define kevent innocuous_kevent
14024
14025 /* System header to define __stub macros and hopefully few prototypes,
14026 which can conflict with char kevent (); below.
14027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14028 <limits.h> exists even on freestanding compilers. */
14029
14030 #ifdef __STDC__
14031 # include <limits.h>
14032 #else
14033 # include <assert.h>
14034 #endif
14035
14036 #undef kevent
14037
14038 /* Override any GCC internal prototype to avoid an error.
14039 Use char because int might match the return type of a GCC
14040 builtin and then its argument prototype would still apply. */
14041 #ifdef __cplusplus
14042 extern "C"
14043 #endif
14044 char kevent ();
14045 /* The GNU C library defines this for functions which it implements
14046 to always fail with ENOSYS. Some functions are actually named
14047 something starting with __ and the normal name is an alias. */
14048 #if defined __stub_kevent || defined __stub___kevent
14049 choke me
14050 #endif
14051
14052 int
14053 main ()
14054 {
14055 return kevent ();
14056 ;
14057 return 0;
14058 }
14059 _ACEOF
14060 if ac_fn_c_try_link "$LINENO"; then :
14061 is_kqueue_mechanism_available="yes"
14062 else
14063 is_kqueue_mechanism_available="no"
14064 fi
14065 rm -f core conftest.err conftest.$ac_objext \
14066 conftest$ac_exeext conftest.$ac_ext
14067 iopoll_mechanism_epoll=2
14068
14069 cat >>confdefs.h <<_ACEOF
14070 #define __IOPOLL_MECHANISM_EPOLL $iopoll_mechanism_epoll
14071 _ACEOF
14072
14073 if test "$cross_compiling" = yes; then :
14074 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14075 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14076 as_fn_error $? "cannot run test program while cross compiling
14077 See \`config.log' for more details" "$LINENO" 5; }
14078 else
14079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14080 /* end confdefs.h. */
14081
14082 #include <sys/epoll.h>
14083 #include <sys/syscall.h>
14084 #if defined(__stub_epoll_create) || defined(__stub___epoll_create) || defined(EPOLL_NEED_BODY)
14085 #if !defined(__NR_epoll_create)
14086 #if defined(__ia64__)
14087 #define __NR_epoll_create 1243
14088 #elif defined(__x86_64__)
14089 #define __NR_epoll_create 214
14090 #elif defined(__sparc64__) || defined(__sparc__)
14091 #define __NR_epoll_create 193
14092 #elif defined(__s390__) || defined(__m68k__)
14093 #define __NR_epoll_create 249
14094 #elif defined(__ppc64__) || defined(__ppc__)
14095 #define __NR_epoll_create 236
14096 #elif defined(__parisc__) || defined(__arm26__) || defined(__arm__)
14097 #define __NR_epoll_create 224
14098 #elif defined(__alpha__)
14099 #define __NR_epoll_create 407
14100 #elif defined(__sh64__)
14101 #define __NR_epoll_create 282
14102 #elif defined(__i386__) || defined(__sh__) || defined(__m32r__) || defined(__h8300__) || defined(__frv__)
14103 #define __NR_epoll_create 254
14104 #else
14105 #error No system call numbers defined for epoll family.
14106 #endif
14107 #endif
14108 _syscall1(int, epoll_create, int, size)
14109 #endif
14110
14111 int
14112 main ()
14113 {
14114 return epoll_create(256) == -1 ? 1 : 0
14115 ;
14116 return 0;
14117 }
14118 _ACEOF
14119 if ac_fn_c_try_run "$LINENO"; then :
14120 is_epoll_mechanism_available="yes"
14121 else
14122 is_epoll_mechanism_available="no"
14123 fi
14124 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14125 conftest.$ac_objext conftest.beam conftest.$ac_ext
14126 fi
14127
14128 iopoll_mechanism_devpoll=3
14129
14130 cat >>confdefs.h <<_ACEOF
14131 #define __IOPOLL_MECHANISM_DEVPOLL $iopoll_mechanism_devpoll
14132 _ACEOF
14133
14134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14135 /* end confdefs.h. */
14136 #include <devpoll.h>
14137 int
14138 main ()
14139 {
14140
14141 ;
14142 return 0;
14143 }
14144 _ACEOF
14145 if ac_fn_c_try_compile "$LINENO"; then :
14146 is_devpoll_mechanism_available="yes"
14147 else
14148 is_devpoll_mechanism_available="no"
14149 fi
14150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14151 if test "$is_devpoll_mechanism_available" = "yes" ; then
14152
14153 $as_echo "#define HAVE_DEVPOLL_H 1" >>confdefs.h
14154
14155 fi
14156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14157 /* end confdefs.h. */
14158 #include <sys/devpoll.h>
14159 int
14160 main ()
14161 {
14162
14163 ;
14164 return 0;
14165 }
14166 _ACEOF
14167 if ac_fn_c_try_compile "$LINENO"; then :
14168 is_devpoll_mechanism_available="yes"
14169 else
14170 is_devpoll_mechanism_available="no"
14171 fi
14172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14173 if test "$is_devpoll_mechanism_available" = "yes" ; then
14174
14175 $as_echo "#define HAVE_SYS_DEVPOLL_H 1" >>confdefs.h
14176
14177 fi
14178 iopoll_mechanism_rtsigio=4
14179
14180 cat >>confdefs.h <<_ACEOF
14181 #define __IOPOLL_MECHANISM_RTSIGIO $iopoll_mechanism_rtsigio
14182 _ACEOF
14183
14184 if test "$cross_compiling" = yes; then :
14185 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14187 as_fn_error $? "cannot run test program while cross compiling
14188 See \`config.log' for more details" "$LINENO" 5; }
14189 else
14190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14191 /* end confdefs.h. */
14192
14193 #define _GNU_SOURCE
14194 #include <fcntl.h>
14195 static unsigned int have_f_setsig = 0;
14196
14197 int
14198 main ()
14199 {
14200
14201 #ifdef F_SETSIG
14202 have_f_setsig = 1;
14203 #endif
14204 return have_f_setsig == 0;
14205
14206 ;
14207 return 0;
14208 }
14209 _ACEOF
14210 if ac_fn_c_try_run "$LINENO"; then :
14211 is_rtsigio_mechanism_available="yes"
14212 else
14213 is_rtsigio_mechanism_available="no"
14214 fi
14215 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14216 conftest.$ac_objext conftest.beam conftest.$ac_ext
14217 fi
14218
14219 iopoll_mechanism_poll=5
14220
14221 cat >>confdefs.h <<_ACEOF
14222 #define __IOPOLL_MECHANISM_POLL $iopoll_mechanism_poll
14223 _ACEOF
14224
14225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14226 /* end confdefs.h. */
14227 /* Define poll to an innocuous variant, in case <limits.h> declares poll.
14228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14229 #define poll innocuous_poll
14230
14231 /* System header to define __stub macros and hopefully few prototypes,
14232 which can conflict with char poll (); below.
14233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14234 <limits.h> exists even on freestanding compilers. */
14235
14236 #ifdef __STDC__
14237 # include <limits.h>
14238 #else
14239 # include <assert.h>
14240 #endif
14241
14242 #undef poll
14243
14244 /* Override any GCC internal prototype to avoid an error.
14245 Use char because int might match the return type of a GCC
14246 builtin and then its argument prototype would still apply. */
14247 #ifdef __cplusplus
14248 extern "C"
14249 #endif
14250 char poll ();
14251 /* The GNU C library defines this for functions which it implements
14252 to always fail with ENOSYS. Some functions are actually named
14253 something starting with __ and the normal name is an alias. */
14254 #if defined __stub_poll || defined __stub___poll
14255 choke me
14256 #endif
14257
14258 int
14259 main ()
14260 {
14261 return poll ();
14262 ;
14263 return 0;
14264 }
14265 _ACEOF
14266 if ac_fn_c_try_link "$LINENO"; then :
14267 is_poll_mechanism_available="yes"
14268 else
14269 is_poll_mechanism_available="no"
14270 fi
14271 rm -f core conftest.err conftest.$ac_objext \
14272 conftest$ac_exeext conftest.$ac_ext
14273 iopoll_mechanism_select=6
14274
14275 cat >>confdefs.h <<_ACEOF
14276 #define __IOPOLL_MECHANISM_SELECT $iopoll_mechanism_select
14277 _ACEOF
14278
14279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14280 /* end confdefs.h. */
14281 /* Define select to an innocuous variant, in case <limits.h> declares select.
14282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14283 #define select innocuous_select
14284
14285 /* System header to define __stub macros and hopefully few prototypes,
14286 which can conflict with char select (); below.
14287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14288 <limits.h> exists even on freestanding compilers. */
14289
14290 #ifdef __STDC__
14291 # include <limits.h>
14292 #else
14293 # include <assert.h>
14294 #endif
14295
14296 #undef select
14297
14298 /* Override any GCC internal prototype to avoid an error.
14299 Use char because int might match the return type of a GCC
14300 builtin and then its argument prototype would still apply. */
14301 #ifdef __cplusplus
14302 extern "C"
14303 #endif
14304 char select ();
14305 /* The GNU C library defines this for functions which it implements
14306 to always fail with ENOSYS. Some functions are actually named
14307 something starting with __ and the normal name is an alias. */
14308 #if defined __stub_select || defined __stub___select
14309 choke me
14310 #endif
14311
14312 int
14313 main ()
14314 {
14315 return select ();
14316 ;
14317 return 0;
14318 }
14319 _ACEOF
14320 if ac_fn_c_try_link "$LINENO"; then :
14321 is_select_mechanism_available="yes"
14322 else
14323 is_select_mechanism_available="no"
14324 fi
14325 rm -f core conftest.err conftest.$ac_objext \
14326 conftest$ac_exeext conftest.$ac_ext
14327 optimal_iopoll_mechanism="none"
14328 for mechanism in "kqueue" "epoll" "devpoll" "rtsigio" "poll" "select" ; do # order is important
14329 eval "is_optimal_iopoll_mechanism_available=\$is_${mechanism}_mechanism_available"
14330 if test "$is_optimal_iopoll_mechanism_available" = "yes" ; then
14331 optimal_iopoll_mechanism="$mechanism"
14332 break
14333 fi
14334 done
14335 if test "$desired_iopoll_mechanism" = "none" ; then
14336 if test "$optimal_iopoll_mechanism" = "none" ; then
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14338 $as_echo "none" >&6; }
14339 as_fn_error $? "no iopoll mechanism found!" "$LINENO" 5
14340 else
14341 selected_iopoll_mechanism=$optimal_iopoll_mechanism
14342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
14343 $as_echo "$selected_iopoll_mechanism" >&6; }
14344 fi
14345 else
14346 eval "is_desired_iopoll_mechanism_available=\$is_${desired_iopoll_mechanism}_mechanism_available"
14347 if test "$is_desired_iopoll_mechanism_available" = "yes" ; then
14348 selected_iopoll_mechanism=$desired_iopoll_mechanism
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $selected_iopoll_mechanism" >&5
14350 $as_echo "$selected_iopoll_mechanism" >&6; }
14351 else
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14353 $as_echo "none" >&6; }
14354 as_fn_error $? "desired iopoll mechanism, $desired_iopoll_mechanism, is not available" "$LINENO" 5
14355 fi
14356 fi
14357 eval "use_iopoll_mechanism=\$iopoll_mechanism_${selected_iopoll_mechanism}"
14358
14359 cat >>confdefs.h <<_ACEOF
14360 #define USE_IOPOLL_MECHANISM $use_iopoll_mechanism
14361 _ACEOF
14362
14363
14364
14365
14366 # Check whether --with-nicklen was given.
14367 if test "${with_nicklen+set}" = set; then :
14368 withval=$with_nicklen; nicklen="$withval"
14369 else
14370 nicklen="9"
14371 fi
14372
14373
14374 cat >>confdefs.h <<_ACEOF
14375 #define NICKLEN ($nicklen+1)
14376 _ACEOF
14377
14378
14379
14380
14381 # Check whether --with-topiclen was given.
14382 if test "${with_topiclen+set}" = set; then :
14383 withval=$with_topiclen; topiclen="$withval"
14384 else
14385 topiclen="160"
14386 fi
14387
14388
14389 cat >>confdefs.h <<_ACEOF
14390 #define TOPICLEN ($topiclen)
14391 _ACEOF
14392
14393
14394
14395 # Check whether --enable-efnet was given.
14396 if test "${enable_efnet+set}" = set; then :
14397 enableval=$enable_efnet; efnet="$enableval"
14398 else
14399 efnet="no"
14400 fi
14401
14402 if test "$efnet" = "yes" ; then
14403 use_efnet="yes"
14404
14405 $as_echo "#define EFNET 1" >>confdefs.h
14406
14407 else
14408 use_efnet="no"
14409 fi
14410 if test "$use_efnet" = "yes"; then
14411 EFNET_TRUE=
14412 EFNET_FALSE='#'
14413 else
14414 EFNET_TRUE='#'
14415 EFNET_FALSE=
14416 fi
14417
14418
14419
14420 # Check whether --enable-halfops was given.
14421 if test "${enable_halfops+set}" = set; then :
14422 enableval=$enable_halfops; halfops="$enableval"
14423 else
14424 halfops="no"
14425 fi
14426
14427 if test "$halfops" = "yes" ; then
14428
14429 $as_echo "#define HALFOPS 1" >>confdefs.h
14430
14431 fi
14432
14433
14434 # Check whether --enable-debugging was given.
14435 if test "${enable_debugging+set}" = set; then :
14436 enableval=$enable_debugging; debugging="$enableval"
14437 else
14438 debugging="no"
14439 fi
14440
14441 if test "$debugging" = "yes" ; then
14442
14443 $as_echo "#define DEBUG 1" >>confdefs.h
14444
14445 CFLAGS="-Wall -g -O0"
14446 else
14447
14448 $as_echo "#define NDEBUG 1" >>confdefs.h
14449
14450 fi
14451
14452
14453 # Check whether --enable-warnings was given.
14454 if test "${enable_warnings+set}" = set; then :
14455 enableval=$enable_warnings; warnings="$enableval"
14456 else
14457 warnings="no"
14458 fi
14459
14460 if test "$warnings" = "yes" ; then
14461 CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
14462 fi
14463
14464
14465
14466 prefix_NONE=
14467 exec_prefix_NONE=
14468 test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
14469 test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
14470 eval ac_define_dir="\"$prefix\""
14471 eval ac_define_dir="\"$ac_define_dir\""
14472 PREFIX="$ac_define_dir"
14473
14474
14475 cat >>confdefs.h <<_ACEOF
14476 #define PREFIX "$ac_define_dir"
14477 _ACEOF
14478
14479 test "$prefix_NONE" && prefix=NONE
14480 test "$exec_prefix_NONE" && exec_prefix=NONE
14481
14482
14483 prefix_NONE=
14484 exec_prefix_NONE=
14485 test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
14486 test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
14487 eval ac_define_dir="\"$sysconfdir\""
14488 eval ac_define_dir="\"$ac_define_dir\""
14489 SYSCONFDIR="$ac_define_dir"
14490
14491
14492 cat >>confdefs.h <<_ACEOF
14493 #define SYSCONFDIR "$ac_define_dir"
14494 _ACEOF
14495
14496 test "$prefix_NONE" && prefix=NONE
14497 test "$exec_prefix_NONE" && exec_prefix=NONE
14498
14499
14500 prefix_NONE=
14501 exec_prefix_NONE=
14502 test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
14503 test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
14504 eval ac_define_dir="\"$libdir\""
14505 eval ac_define_dir="\"$ac_define_dir\""
14506 LIBDIR="$ac_define_dir"
14507
14508
14509 cat >>confdefs.h <<_ACEOF
14510 #define LIBDIR "$ac_define_dir"
14511 _ACEOF
14512
14513 test "$prefix_NONE" && prefix=NONE
14514 test "$exec_prefix_NONE" && exec_prefix=NONE
14515
14516
14517 prefix_NONE=
14518 exec_prefix_NONE=
14519 test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
14520 test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
14521 eval ac_define_dir="\"$datadir\""
14522 eval ac_define_dir="\"$ac_define_dir\""
14523 DATADIR="$ac_define_dir"
14524
14525
14526 cat >>confdefs.h <<_ACEOF
14527 #define DATADIR "$ac_define_dir"
14528 _ACEOF
14529
14530 test "$prefix_NONE" && prefix=NONE
14531 test "$exec_prefix_NONE" && exec_prefix=NONE
14532
14533
14534 prefix_NONE=
14535 exec_prefix_NONE=
14536 test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
14537 test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
14538 eval ac_define_dir="\"$localstatedir\""
14539 eval ac_define_dir="\"$ac_define_dir\""
14540 LOCALSTATEDIR="$ac_define_dir"
14541
14542
14543 cat >>confdefs.h <<_ACEOF
14544 #define LOCALSTATEDIR "$ac_define_dir"
14545 _ACEOF
14546
14547 test "$prefix_NONE" && prefix=NONE
14548 test "$exec_prefix_NONE" && exec_prefix=NONE
14549
14550
14551 ac_config_files="$ac_config_files Makefile contrib/Makefile contrib/help/Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
14552
14553
14554 cat >confcache <<\_ACEOF
14555 # This file is a shell script that caches the results of configure
14556 # tests run on this system so they can be shared between configure
14557 # scripts and configure runs, see configure's option --config-cache.
14558 # It is not useful on other systems. If it contains results you don't
14559 # want to keep, you may remove or edit it.
14560 #
14561 # config.status only pays attention to the cache file if you give it
14562 # the --recheck option to rerun configure.
14563 #
14564 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14565 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14566 # following values.
14567
14568 _ACEOF
14569
14570 # The following way of writing the cache mishandles newlines in values,
14571 # but we know of no workaround that is simple, portable, and efficient.
14572 # So, we kill variables containing newlines.
14573 # Ultrix sh set writes to stderr and can't be redirected directly,
14574 # and sets the high bit in the cache file unless we assign to the vars.
14575 (
14576 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14577 eval ac_val=\$$ac_var
14578 case $ac_val in #(
14579 *${as_nl}*)
14580 case $ac_var in #(
14581 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14582 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14583 esac
14584 case $ac_var in #(
14585 _ | IFS | as_nl) ;; #(
14586 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14587 *) { eval $ac_var=; unset $ac_var;} ;;
14588 esac ;;
14589 esac
14590 done
14591
14592 (set) 2>&1 |
14593 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14594 *${as_nl}ac_space=\ *)
14595 # `set' does not quote correctly, so add quotes: double-quote
14596 # substitution turns \\\\ into \\, and sed turns \\ into \.
14597 sed -n \
14598 "s/'/'\\\\''/g;
14599 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14600 ;; #(
14601 *)
14602 # `set' quotes correctly as required by POSIX, so do not add quotes.
14603 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14604 ;;
14605 esac |
14606 sort
14607 ) |
14608 sed '
14609 /^ac_cv_env_/b end
14610 t clear
14611 :clear
14612 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14613 t end
14614 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14615 :end' >>confcache
14616 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14617 if test -w "$cache_file"; then
14618 if test "x$cache_file" != "x/dev/null"; then
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14620 $as_echo "$as_me: updating cache $cache_file" >&6;}
14621 if test ! -f "$cache_file" || test -h "$cache_file"; then
14622 cat confcache >"$cache_file"
14623 else
14624 case $cache_file in #(
14625 */* | ?:*)
14626 mv -f confcache "$cache_file"$$ &&
14627 mv -f "$cache_file"$$ "$cache_file" ;; #(
14628 *)
14629 mv -f confcache "$cache_file" ;;
14630 esac
14631 fi
14632 fi
14633 else
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14635 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14636 fi
14637 fi
14638 rm -f confcache
14639
14640 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14641 # Let make expand exec_prefix.
14642 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14643
14644 DEFS=-DHAVE_CONFIG_H
14645
14646 ac_libobjs=
14647 ac_ltlibobjs=
14648 U=
14649 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14650 # 1. Remove the extension, and $U if already installed.
14651 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14652 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14653 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14654 # will be set to the directory where LIBOBJS objects are built.
14655 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14656 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14657 done
14658 LIBOBJS=$ac_libobjs
14659
14660 LTLIBOBJS=$ac_ltlibobjs
14661
14662
14663 if test -n "$EXEEXT"; then
14664 am__EXEEXT_TRUE=
14665 am__EXEEXT_FALSE='#'
14666 else
14667 am__EXEEXT_TRUE='#'
14668 am__EXEEXT_FALSE=
14669 fi
14670
14671 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14672 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14673 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14674 fi
14675 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14676 as_fn_error $? "conditional \"AMDEP\" was never defined.
14677 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14678 fi
14679 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14680 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14681 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14682 fi
14683 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
14684 as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
14685 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14686 fi
14687 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
14688 as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
14689 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14690 fi
14691 LT_CONFIG_H=config.h
14692
14693 _ltdl_libobjs=
14694 _ltdl_ltlibobjs=
14695 if test -n "$_LT_LIBOBJS"; then
14696 # Remove the extension.
14697 _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
14698 for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
14699 _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
14700 _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
14701 done
14702 fi
14703 ltdl_LIBOBJS=$_ltdl_libobjs
14704
14705 ltdl_LTLIBOBJS=$_ltdl_ltlibobjs
14706
14707
14708
14709 if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
14710 as_fn_error $? "conditional \"ENABLE_PCRE\" was never defined.
14711 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14712 fi
14713 if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
14714 as_fn_error $? "conditional \"ENABLE_SSL\" was never defined.
14715 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14716 fi
14717 if test -z "${EFNET_TRUE}" && test -z "${EFNET_FALSE}"; then
14718 as_fn_error $? "conditional \"EFNET\" was never defined.
14719 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14720 fi
14721
14722 : "${CONFIG_STATUS=./config.status}"
14723 ac_write_fail=0
14724 ac_clean_files_save=$ac_clean_files
14725 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14726 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14727 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14728 as_write_fail=0
14729 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14730 #! $SHELL
14731 # Generated by $as_me.
14732 # Run this file to recreate the current configuration.
14733 # Compiler output produced by configure, useful for debugging
14734 # configure, is in config.log if it exists.
14735
14736 debug=false
14737 ac_cs_recheck=false
14738 ac_cs_silent=false
14739
14740 SHELL=\${CONFIG_SHELL-$SHELL}
14741 export SHELL
14742 _ASEOF
14743 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14744 ## -------------------- ##
14745 ## M4sh Initialization. ##
14746 ## -------------------- ##
14747
14748 # Be more Bourne compatible
14749 DUALCASE=1; export DUALCASE # for MKS sh
14750 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14751 emulate sh
14752 NULLCMD=:
14753 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14754 # is contrary to our usage. Disable this feature.
14755 alias -g '${1+"$@"}'='"$@"'
14756 setopt NO_GLOB_SUBST
14757 else
14758 case `(set -o) 2>/dev/null` in #(
14759 *posix*) :
14760 set -o posix ;; #(
14761 *) :
14762 ;;
14763 esac
14764 fi
14765
14766
14767 as_nl='
14768 '
14769 export as_nl
14770 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14771 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14772 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14773 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14774 # Prefer a ksh shell builtin over an external printf program on Solaris,
14775 # but without wasting forks for bash or zsh.
14776 if test -z "$BASH_VERSION$ZSH_VERSION" \
14777 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14778 as_echo='print -r --'
14779 as_echo_n='print -rn --'
14780 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14781 as_echo='printf %s\n'
14782 as_echo_n='printf %s'
14783 else
14784 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14785 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14786 as_echo_n='/usr/ucb/echo -n'
14787 else
14788 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14789 as_echo_n_body='eval
14790 arg=$1;
14791 case $arg in #(
14792 *"$as_nl"*)
14793 expr "X$arg" : "X\\(.*\\)$as_nl";
14794 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14795 esac;
14796 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14797 '
14798 export as_echo_n_body
14799 as_echo_n='sh -c $as_echo_n_body as_echo'
14800 fi
14801 export as_echo_body
14802 as_echo='sh -c $as_echo_body as_echo'
14803 fi
14804
14805 # The user is always right.
14806 if test "${PATH_SEPARATOR+set}" != set; then
14807 PATH_SEPARATOR=:
14808 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14809 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14810 PATH_SEPARATOR=';'
14811 }
14812 fi
14813
14814
14815 # IFS
14816 # We need space, tab and new line, in precisely that order. Quoting is
14817 # there to prevent editors from complaining about space-tab.
14818 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14819 # splitting by setting IFS to empty value.)
14820 IFS=" "" $as_nl"
14821
14822 # Find who we are. Look in the path if we contain no directory separator.
14823 as_myself=
14824 case $0 in #((
14825 *[\\/]* ) as_myself=$0 ;;
14826 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14827 for as_dir in $PATH
14828 do
14829 IFS=$as_save_IFS
14830 test -z "$as_dir" && as_dir=.
14831 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14832 done
14833 IFS=$as_save_IFS
14834
14835 ;;
14836 esac
14837 # We did not find ourselves, most probably we were run as `sh COMMAND'
14838 # in which case we are not to be found in the path.
14839 if test "x$as_myself" = x; then
14840 as_myself=$0
14841 fi
14842 if test ! -f "$as_myself"; then
14843 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14844 exit 1
14845 fi
14846
14847 # Unset variables that we do not need and which cause bugs (e.g. in
14848 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14849 # suppresses any "Segmentation fault" message there. '((' could
14850 # trigger a bug in pdksh 5.2.14.
14851 for as_var in BASH_ENV ENV MAIL MAILPATH
14852 do eval test x\${$as_var+set} = xset \
14853 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14854 done
14855 PS1='$ '
14856 PS2='> '
14857 PS4='+ '
14858
14859 # NLS nuisances.
14860 LC_ALL=C
14861 export LC_ALL
14862 LANGUAGE=C
14863 export LANGUAGE
14864
14865 # CDPATH.
14866 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14867
14868
14869 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14870 # ----------------------------------------
14871 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14872 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14873 # script with STATUS, using 1 if that was 0.
14874 as_fn_error ()
14875 {
14876 as_status=$1; test $as_status -eq 0 && as_status=1
14877 if test "$4"; then
14878 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14879 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14880 fi
14881 $as_echo "$as_me: error: $2" >&2
14882 as_fn_exit $as_status
14883 } # as_fn_error
14884
14885
14886 # as_fn_set_status STATUS
14887 # -----------------------
14888 # Set $? to STATUS, without forking.
14889 as_fn_set_status ()
14890 {
14891 return $1
14892 } # as_fn_set_status
14893
14894 # as_fn_exit STATUS
14895 # -----------------
14896 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14897 as_fn_exit ()
14898 {
14899 set +e
14900 as_fn_set_status $1
14901 exit $1
14902 } # as_fn_exit
14903
14904 # as_fn_unset VAR
14905 # ---------------
14906 # Portably unset VAR.
14907 as_fn_unset ()
14908 {
14909 { eval $1=; unset $1;}
14910 }
14911 as_unset=as_fn_unset
14912 # as_fn_append VAR VALUE
14913 # ----------------------
14914 # Append the text in VALUE to the end of the definition contained in VAR. Take
14915 # advantage of any shell optimizations that allow amortized linear growth over
14916 # repeated appends, instead of the typical quadratic growth present in naive
14917 # implementations.
14918 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14919 eval 'as_fn_append ()
14920 {
14921 eval $1+=\$2
14922 }'
14923 else
14924 as_fn_append ()
14925 {
14926 eval $1=\$$1\$2
14927 }
14928 fi # as_fn_append
14929
14930 # as_fn_arith ARG...
14931 # ------------------
14932 # Perform arithmetic evaluation on the ARGs, and store the result in the
14933 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14934 # must be portable across $(()) and expr.
14935 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14936 eval 'as_fn_arith ()
14937 {
14938 as_val=$(( $* ))
14939 }'
14940 else
14941 as_fn_arith ()
14942 {
14943 as_val=`expr "$@" || test $? -eq 1`
14944 }
14945 fi # as_fn_arith
14946
14947
14948 if expr a : '\(a\)' >/dev/null 2>&1 &&
14949 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14950 as_expr=expr
14951 else
14952 as_expr=false
14953 fi
14954
14955 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14956 as_basename=basename
14957 else
14958 as_basename=false
14959 fi
14960
14961 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14962 as_dirname=dirname
14963 else
14964 as_dirname=false
14965 fi
14966
14967 as_me=`$as_basename -- "$0" ||
14968 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14969 X"$0" : 'X\(//\)$' \| \
14970 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14971 $as_echo X/"$0" |
14972 sed '/^.*\/\([^/][^/]*\)\/*$/{
14973 s//\1/
14974 q
14975 }
14976 /^X\/\(\/\/\)$/{
14977 s//\1/
14978 q
14979 }
14980 /^X\/\(\/\).*/{
14981 s//\1/
14982 q
14983 }
14984 s/.*/./; q'`
14985
14986 # Avoid depending upon Character Ranges.
14987 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14988 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14989 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14990 as_cr_digits='0123456789'
14991 as_cr_alnum=$as_cr_Letters$as_cr_digits
14992
14993 ECHO_C= ECHO_N= ECHO_T=
14994 case `echo -n x` in #(((((
14995 -n*)
14996 case `echo 'xy\c'` in
14997 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14998 xy) ECHO_C='\c';;
14999 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15000 ECHO_T=' ';;
15001 esac;;
15002 *)
15003 ECHO_N='-n';;
15004 esac
15005
15006 rm -f conf$$ conf$$.exe conf$$.file
15007 if test -d conf$$.dir; then
15008 rm -f conf$$.dir/conf$$.file
15009 else
15010 rm -f conf$$.dir
15011 mkdir conf$$.dir 2>/dev/null
15012 fi
15013 if (echo >conf$$.file) 2>/dev/null; then
15014 if ln -s conf$$.file conf$$ 2>/dev/null; then
15015 as_ln_s='ln -s'
15016 # ... but there are two gotchas:
15017 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15018 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15019 # In both cases, we have to default to `cp -p'.
15020 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15021 as_ln_s='cp -p'
15022 elif ln conf$$.file conf$$ 2>/dev/null; then
15023 as_ln_s=ln
15024 else
15025 as_ln_s='cp -p'
15026 fi
15027 else
15028 as_ln_s='cp -p'
15029 fi
15030 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15031 rmdir conf$$.dir 2>/dev/null
15032
15033
15034 # as_fn_mkdir_p
15035 # -------------
15036 # Create "$as_dir" as a directory, including parents if necessary.
15037 as_fn_mkdir_p ()
15038 {
15039
15040 case $as_dir in #(
15041 -*) as_dir=./$as_dir;;
15042 esac
15043 test -d "$as_dir" || eval $as_mkdir_p || {
15044 as_dirs=
15045 while :; do
15046 case $as_dir in #(
15047 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15048 *) as_qdir=$as_dir;;
15049 esac
15050 as_dirs="'$as_qdir' $as_dirs"
15051 as_dir=`$as_dirname -- "$as_dir" ||
15052 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15053 X"$as_dir" : 'X\(//\)[^/]' \| \
15054 X"$as_dir" : 'X\(//\)$' \| \
15055 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15056 $as_echo X"$as_dir" |
15057 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15058 s//\1/
15059 q
15060 }
15061 /^X\(\/\/\)[^/].*/{
15062 s//\1/
15063 q
15064 }
15065 /^X\(\/\/\)$/{
15066 s//\1/
15067 q
15068 }
15069 /^X\(\/\).*/{
15070 s//\1/
15071 q
15072 }
15073 s/.*/./; q'`
15074 test -d "$as_dir" && break
15075 done
15076 test -z "$as_dirs" || eval "mkdir $as_dirs"
15077 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15078
15079
15080 } # as_fn_mkdir_p
15081 if mkdir -p . 2>/dev/null; then
15082 as_mkdir_p='mkdir -p "$as_dir"'
15083 else
15084 test -d ./-p && rmdir ./-p
15085 as_mkdir_p=false
15086 fi
15087
15088 if test -x / >/dev/null 2>&1; then
15089 as_test_x='test -x'
15090 else
15091 if ls -dL / >/dev/null 2>&1; then
15092 as_ls_L_option=L
15093 else
15094 as_ls_L_option=
15095 fi
15096 as_test_x='
15097 eval sh -c '\''
15098 if test -d "$1"; then
15099 test -d "$1/.";
15100 else
15101 case $1 in #(
15102 -*)set "./$1";;
15103 esac;
15104 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15105 ???[sx]*):;;*)false;;esac;fi
15106 '\'' sh
15107 '
15108 fi
15109 as_executable_p=$as_test_x
15110
15111 # Sed expression to map a string onto a valid CPP name.
15112 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15113
15114 # Sed expression to map a string onto a valid variable name.
15115 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15116
15117
15118 exec 6>&1
15119 ## ----------------------------------- ##
15120 ## Main body of $CONFIG_STATUS script. ##
15121 ## ----------------------------------- ##
15122 _ASEOF
15123 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15124
15125 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15126 # Save the log message, to keep $0 and so on meaningful, and to
15127 # report actual input values of CONFIG_FILES etc. instead of their
15128 # values after options handling.
15129 ac_log="
15130 This file was extended by ircd-hybrid $as_me 8beta1, which was
15131 generated by GNU Autoconf 2.68. Invocation command line was
15132
15133 CONFIG_FILES = $CONFIG_FILES
15134 CONFIG_HEADERS = $CONFIG_HEADERS
15135 CONFIG_LINKS = $CONFIG_LINKS
15136 CONFIG_COMMANDS = $CONFIG_COMMANDS
15137 $ $0 $@
15138
15139 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15140 "
15141
15142 _ACEOF
15143
15144 case $ac_config_files in *"
15145 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15146 esac
15147
15148 case $ac_config_headers in *"
15149 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15150 esac
15151
15152
15153 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15154 # Files that config.status was made for.
15155 config_files="$ac_config_files"
15156 config_headers="$ac_config_headers"
15157 config_commands="$ac_config_commands"
15158
15159 _ACEOF
15160
15161 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15162 ac_cs_usage="\
15163 \`$as_me' instantiates files and other configuration actions
15164 from templates according to the current configuration. Unless the files
15165 and actions are specified as TAGs, all are instantiated by default.
15166
15167 Usage: $0 [OPTION]... [TAG]...
15168
15169 -h, --help print this help, then exit
15170 -V, --version print version number and configuration settings, then exit
15171 --config print configuration, then exit
15172 -q, --quiet, --silent
15173 do not print progress messages
15174 -d, --debug don't remove temporary files
15175 --recheck update $as_me by reconfiguring in the same conditions
15176 --file=FILE[:TEMPLATE]
15177 instantiate the configuration file FILE
15178 --header=FILE[:TEMPLATE]
15179 instantiate the configuration header FILE
15180
15181 Configuration files:
15182 $config_files
15183
15184 Configuration headers:
15185 $config_headers
15186
15187 Configuration commands:
15188 $config_commands
15189
15190 Report bugs to <bugs@ircd-hybrid.org>."
15191
15192 _ACEOF
15193 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15194 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15195 ac_cs_version="\\
15196 ircd-hybrid config.status 8beta1
15197 configured by $0, generated by GNU Autoconf 2.68,
15198 with options \\"\$ac_cs_config\\"
15199
15200 Copyright (C) 2010 Free Software Foundation, Inc.
15201 This config.status script is free software; the Free Software Foundation
15202 gives unlimited permission to copy, distribute and modify it."
15203
15204 ac_pwd='$ac_pwd'
15205 srcdir='$srcdir'
15206 INSTALL='$INSTALL'
15207 MKDIR_P='$MKDIR_P'
15208 AWK='$AWK'
15209 test -n "\$AWK" || AWK=awk
15210 _ACEOF
15211
15212 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15213 # The default lists apply if the user does not specify any file.
15214 ac_need_defaults=:
15215 while test $# != 0
15216 do
15217 case $1 in
15218 --*=?*)
15219 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15220 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15221 ac_shift=:
15222 ;;
15223 --*=)
15224 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15225 ac_optarg=
15226 ac_shift=:
15227 ;;
15228 *)
15229 ac_option=$1
15230 ac_optarg=$2
15231 ac_shift=shift
15232 ;;
15233 esac
15234
15235 case $ac_option in
15236 # Handling of the options.
15237 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15238 ac_cs_recheck=: ;;
15239 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15240 $as_echo "$ac_cs_version"; exit ;;
15241 --config | --confi | --conf | --con | --co | --c )
15242 $as_echo "$ac_cs_config"; exit ;;
15243 --debug | --debu | --deb | --de | --d | -d )
15244 debug=: ;;
15245 --file | --fil | --fi | --f )
15246 $ac_shift
15247 case $ac_optarg in
15248 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15249 '') as_fn_error $? "missing file argument" ;;
15250 esac
15251 as_fn_append CONFIG_FILES " '$ac_optarg'"
15252 ac_need_defaults=false;;
15253 --header | --heade | --head | --hea )
15254 $ac_shift
15255 case $ac_optarg in
15256 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15257 esac
15258 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15259 ac_need_defaults=false;;
15260 --he | --h)
15261 # Conflict between --help and --header
15262 as_fn_error $? "ambiguous option: \`$1'
15263 Try \`$0 --help' for more information.";;
15264 --help | --hel | -h )
15265 $as_echo "$ac_cs_usage"; exit ;;
15266 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15267 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15268 ac_cs_silent=: ;;
15269
15270 # This is an error.
15271 -*) as_fn_error $? "unrecognized option: \`$1'
15272 Try \`$0 --help' for more information." ;;
15273
15274 *) as_fn_append ac_config_targets " $1"
15275 ac_need_defaults=false ;;
15276
15277 esac
15278 shift
15279 done
15280
15281 ac_configure_extra_args=
15282
15283 if $ac_cs_silent; then
15284 exec 6>/dev/null
15285 ac_configure_extra_args="$ac_configure_extra_args --silent"
15286 fi
15287
15288 _ACEOF
15289 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15290 if \$ac_cs_recheck; then
15291 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15292 shift
15293 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15294 CONFIG_SHELL='$SHELL'
15295 export CONFIG_SHELL
15296 exec "\$@"
15297 fi
15298
15299 _ACEOF
15300 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15301 exec 5>>config.log
15302 {
15303 echo
15304 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15305 ## Running $as_me. ##
15306 _ASBOX
15307 $as_echo "$ac_log"
15308 } >&5
15309
15310 _ACEOF
15311 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15312 #
15313 # INIT-COMMANDS
15314 #
15315 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15316
15317
15318 # The HP-UX ksh and POSIX shell print the target directory to stdout
15319 # if CDPATH is set.
15320 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15321
15322 sed_quote_subst='$sed_quote_subst'
15323 double_quote_subst='$double_quote_subst'
15324 delay_variable_subst='$delay_variable_subst'
15325 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15326 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15327 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15328 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15329 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15330 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15331 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15332 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15333 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15334 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15335 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15336 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15337 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15338 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15339 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15340 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15341 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15342 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15343 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15344 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15345 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15346 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15347 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15348 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15349 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15350 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15351 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15352 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15353 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15354 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15355 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15356 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15357 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15358 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15359 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15360 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15361 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15362 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15363 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15364 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15365 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15366 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15367 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15368 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15369 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15370 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15371 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15372 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15373 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15374 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15375 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15376 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15377 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15378 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15379 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15380 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15381 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"`'
15382 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15383 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15384 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15385 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15386 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15387 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15388 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15389 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15390 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15391 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15392 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15393 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15394 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15395 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15396 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15397 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15398 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15399 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15400 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15401 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15402 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15403 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15404 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15405 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15406 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15407 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15408 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15409 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15410 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15411 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15412 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15413 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15414 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15415 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15416 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15417 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15418 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15419 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15420 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15421 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15422 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15423 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15424 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15425 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15426 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15427 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15428 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15429 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15430 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15431 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15432 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15433 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15434 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15435 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15436 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15437 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15438 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15439 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15440 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15441 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15442 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15443 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15444 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15445 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15446 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15447 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15448 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15449 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15450 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15451 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15452 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15453 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15454 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15455
15456 LTCC='$LTCC'
15457 LTCFLAGS='$LTCFLAGS'
15458 compiler='$compiler_DEFAULT'
15459
15460 # A function that is used when there is no print builtin or printf.
15461 func_fallback_echo ()
15462 {
15463 eval 'cat <<_LTECHO_EOF
15464 \$1
15465 _LTECHO_EOF'
15466 }
15467
15468 # Quote evaled strings.
15469 for var in SHELL \
15470 ECHO \
15471 PATH_SEPARATOR \
15472 SED \
15473 GREP \
15474 EGREP \
15475 FGREP \
15476 LD \
15477 NM \
15478 LN_S \
15479 lt_SP2NL \
15480 lt_NL2SP \
15481 reload_flag \
15482 OBJDUMP \
15483 deplibs_check_method \
15484 file_magic_cmd \
15485 file_magic_glob \
15486 want_nocaseglob \
15487 DLLTOOL \
15488 sharedlib_from_linklib_cmd \
15489 AR \
15490 AR_FLAGS \
15491 archiver_list_spec \
15492 STRIP \
15493 RANLIB \
15494 CC \
15495 CFLAGS \
15496 compiler \
15497 lt_cv_sys_global_symbol_pipe \
15498 lt_cv_sys_global_symbol_to_cdecl \
15499 lt_cv_sys_global_symbol_to_c_name_address \
15500 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15501 nm_file_list_spec \
15502 lt_prog_compiler_no_builtin_flag \
15503 lt_prog_compiler_pic \
15504 lt_prog_compiler_wl \
15505 lt_prog_compiler_static \
15506 lt_cv_prog_compiler_c_o \
15507 need_locks \
15508 MANIFEST_TOOL \
15509 DSYMUTIL \
15510 NMEDIT \
15511 LIPO \
15512 OTOOL \
15513 OTOOL64 \
15514 shrext_cmds \
15515 export_dynamic_flag_spec \
15516 whole_archive_flag_spec \
15517 compiler_needs_object \
15518 with_gnu_ld \
15519 allow_undefined_flag \
15520 no_undefined_flag \
15521 hardcode_libdir_flag_spec \
15522 hardcode_libdir_separator \
15523 exclude_expsyms \
15524 include_expsyms \
15525 file_list_spec \
15526 variables_saved_for_relink \
15527 libname_spec \
15528 library_names_spec \
15529 soname_spec \
15530 install_override_mode \
15531 finish_eval \
15532 old_striplib \
15533 striplib; do
15534 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15535 *[\\\\\\\`\\"\\\$]*)
15536 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15537 ;;
15538 *)
15539 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15540 ;;
15541 esac
15542 done
15543
15544 # Double-quote double-evaled strings.
15545 for var in reload_cmds \
15546 old_postinstall_cmds \
15547 old_postuninstall_cmds \
15548 old_archive_cmds \
15549 extract_expsyms_cmds \
15550 old_archive_from_new_cmds \
15551 old_archive_from_expsyms_cmds \
15552 archive_cmds \
15553 archive_expsym_cmds \
15554 module_cmds \
15555 module_expsym_cmds \
15556 export_symbols_cmds \
15557 prelink_cmds \
15558 postlink_cmds \
15559 postinstall_cmds \
15560 postuninstall_cmds \
15561 finish_cmds \
15562 sys_lib_search_path_spec \
15563 sys_lib_dlsearch_path_spec; do
15564 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15565 *[\\\\\\\`\\"\\\$]*)
15566 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15567 ;;
15568 *)
15569 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15570 ;;
15571 esac
15572 done
15573
15574 ac_aux_dir='$ac_aux_dir'
15575 xsi_shell='$xsi_shell'
15576 lt_shell_append='$lt_shell_append'
15577
15578 # See if we are running on zsh, and set the options which allow our
15579 # commands through without removal of \ escapes INIT.
15580 if test -n "\${ZSH_VERSION+set}" ; then
15581 setopt NO_GLOB_SUBST
15582 fi
15583
15584
15585 PACKAGE='$PACKAGE'
15586 VERSION='$VERSION'
15587 TIMESTAMP='$TIMESTAMP'
15588 RM='$RM'
15589 ofile='$ofile'
15590
15591
15592
15593
15594 _ACEOF
15595
15596 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15597
15598 # Handling of arguments.
15599 for ac_config_target in $ac_config_targets
15600 do
15601 case $ac_config_target in
15602 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15603 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15604 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15605 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15606 "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
15607 "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
15608 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15609 "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
15610 "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
15611 "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
15612 "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
15613 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15614 "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
15615 "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
15616 "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
15617 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
15618
15619 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15620 esac
15621 done
15622
15623
15624 # If the user did not use the arguments to specify the items to instantiate,
15625 # then the envvar interface is used. Set only those that are not.
15626 # We use the long form for the default assignment because of an extremely
15627 # bizarre bug on SunOS 4.1.3.
15628 if $ac_need_defaults; then
15629 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15630 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15631 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15632 fi
15633
15634 # Have a temporary directory for convenience. Make it in the build tree
15635 # simply because there is no reason against having it here, and in addition,
15636 # creating and moving files from /tmp can sometimes cause problems.
15637 # Hook for its removal unless debugging.
15638 # Note that there is a small window in which the directory will not be cleaned:
15639 # after its creation but before its name has been assigned to `$tmp'.
15640 $debug ||
15641 {
15642 tmp= ac_tmp=
15643 trap 'exit_status=$?
15644 : "${ac_tmp:=$tmp}"
15645 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15646 ' 0
15647 trap 'as_fn_exit 1' 1 2 13 15
15648 }
15649 # Create a (secure) tmp directory for tmp files.
15650
15651 {
15652 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15653 test -d "$tmp"
15654 } ||
15655 {
15656 tmp=./conf$$-$RANDOM
15657 (umask 077 && mkdir "$tmp")
15658 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15659 ac_tmp=$tmp
15660
15661 # Set up the scripts for CONFIG_FILES section.
15662 # No need to generate them if there are no CONFIG_FILES.
15663 # This happens for instance with `./config.status config.h'.
15664 if test -n "$CONFIG_FILES"; then
15665
15666
15667 ac_cr=`echo X | tr X '\015'`
15668 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15669 # But we know of no other shell where ac_cr would be empty at this
15670 # point, so we can use a bashism as a fallback.
15671 if test "x$ac_cr" = x; then
15672 eval ac_cr=\$\'\\r\'
15673 fi
15674 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15675 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15676 ac_cs_awk_cr='\\r'
15677 else
15678 ac_cs_awk_cr=$ac_cr
15679 fi
15680
15681 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15682 _ACEOF
15683
15684
15685 {
15686 echo "cat >conf$$subs.awk <<_ACEOF" &&
15687 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15688 echo "_ACEOF"
15689 } >conf$$subs.sh ||
15690 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15691 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15692 ac_delim='%!_!# '
15693 for ac_last_try in false false false false false :; do
15694 . ./conf$$subs.sh ||
15695 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15696
15697 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15698 if test $ac_delim_n = $ac_delim_num; then
15699 break
15700 elif $ac_last_try; then
15701 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15702 else
15703 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15704 fi
15705 done
15706 rm -f conf$$subs.sh
15707
15708 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15709 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15710 _ACEOF
15711 sed -n '
15712 h
15713 s/^/S["/; s/!.*/"]=/
15714 p
15715 g
15716 s/^[^!]*!//
15717 :repl
15718 t repl
15719 s/'"$ac_delim"'$//
15720 t delim
15721 :nl
15722 h
15723 s/\(.\{148\}\)..*/\1/
15724 t more1
15725 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15726 p
15727 n
15728 b repl
15729 :more1
15730 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15731 p
15732 g
15733 s/.\{148\}//
15734 t nl
15735 :delim
15736 h
15737 s/\(.\{148\}\)..*/\1/
15738 t more2
15739 s/["\\]/\\&/g; s/^/"/; s/$/"/
15740 p
15741 b
15742 :more2
15743 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15744 p
15745 g
15746 s/.\{148\}//
15747 t delim
15748 ' <conf$$subs.awk | sed '
15749 /^[^""]/{
15750 N
15751 s/\n//
15752 }
15753 ' >>$CONFIG_STATUS || ac_write_fail=1
15754 rm -f conf$$subs.awk
15755 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15756 _ACAWK
15757 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15758 for (key in S) S_is_set[key] = 1
15759 FS = ""
15760
15761 }
15762 {
15763 line = $ 0
15764 nfields = split(line, field, "@")
15765 substed = 0
15766 len = length(field[1])
15767 for (i = 2; i < nfields; i++) {
15768 key = field[i]
15769 keylen = length(key)
15770 if (S_is_set[key]) {
15771 value = S[key]
15772 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15773 len += length(value) + length(field[++i])
15774 substed = 1
15775 } else
15776 len += 1 + keylen
15777 }
15778
15779 print line
15780 }
15781
15782 _ACAWK
15783 _ACEOF
15784 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15785 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15786 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15787 else
15788 cat
15789 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15790 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15791 _ACEOF
15792
15793 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15794 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15795 # trailing colons and then remove the whole line if VPATH becomes empty
15796 # (actually we leave an empty line to preserve line numbers).
15797 if test "x$srcdir" = x.; then
15798 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15799 h
15800 s///
15801 s/^/:/
15802 s/[ ]*$/:/
15803 s/:\$(srcdir):/:/g
15804 s/:\${srcdir}:/:/g
15805 s/:@srcdir@:/:/g
15806 s/^:*//
15807 s/:*$//
15808 x
15809 s/\(=[ ]*\).*/\1/
15810 G
15811 s/\n//
15812 s/^[^=]*=[ ]*$//
15813 }'
15814 fi
15815
15816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15817 fi # test -n "$CONFIG_FILES"
15818
15819 # Set up the scripts for CONFIG_HEADERS section.
15820 # No need to generate them if there are no CONFIG_HEADERS.
15821 # This happens for instance with `./config.status Makefile'.
15822 if test -n "$CONFIG_HEADERS"; then
15823 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15824 BEGIN {
15825 _ACEOF
15826
15827 # Transform confdefs.h into an awk script `defines.awk', embedded as
15828 # here-document in config.status, that substitutes the proper values into
15829 # config.h.in to produce config.h.
15830
15831 # Create a delimiter string that does not exist in confdefs.h, to ease
15832 # handling of long lines.
15833 ac_delim='%!_!# '
15834 for ac_last_try in false false :; do
15835 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15836 if test -z "$ac_tt"; then
15837 break
15838 elif $ac_last_try; then
15839 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15840 else
15841 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15842 fi
15843 done
15844
15845 # For the awk script, D is an array of macro values keyed by name,
15846 # likewise P contains macro parameters if any. Preserve backslash
15847 # newline sequences.
15848
15849 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15850 sed -n '
15851 s/.\{148\}/&'"$ac_delim"'/g
15852 t rset
15853 :rset
15854 s/^[ ]*#[ ]*define[ ][ ]*/ /
15855 t def
15856 d
15857 :def
15858 s/\\$//
15859 t bsnl
15860 s/["\\]/\\&/g
15861 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15862 D["\1"]=" \3"/p
15863 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
15864 d
15865 :bsnl
15866 s/["\\]/\\&/g
15867 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15868 D["\1"]=" \3\\\\\\n"\\/p
15869 t cont
15870 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15871 t cont
15872 d
15873 :cont
15874 n
15875 s/.\{148\}/&'"$ac_delim"'/g
15876 t clear
15877 :clear
15878 s/\\$//
15879 t bsnlc
15880 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15881 d
15882 :bsnlc
15883 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15884 b cont
15885 ' <confdefs.h | sed '
15886 s/'"$ac_delim"'/"\\\
15887 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15888
15889 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15890 for (key in D) D_is_set[key] = 1
15891 FS = ""
15892 }
15893 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15894 line = \$ 0
15895 split(line, arg, " ")
15896 if (arg[1] == "#") {
15897 defundef = arg[2]
15898 mac1 = arg[3]
15899 } else {
15900 defundef = substr(arg[1], 2)
15901 mac1 = arg[2]
15902 }
15903 split(mac1, mac2, "(") #)
15904 macro = mac2[1]
15905 prefix = substr(line, 1, index(line, defundef) - 1)
15906 if (D_is_set[macro]) {
15907 # Preserve the white space surrounding the "#".
15908 print prefix "define", macro P[macro] D[macro]
15909 next
15910 } else {
15911 # Replace #undef with comments. This is necessary, for example,
15912 # in the case of _POSIX_SOURCE, which is predefined and required
15913 # on some systems where configure will not decide to define it.
15914 if (defundef == "undef") {
15915 print "/*", prefix defundef, macro, "*/"
15916 next
15917 }
15918 }
15919 }
15920 { print }
15921 _ACAWK
15922 _ACEOF
15923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15924 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15925 fi # test -n "$CONFIG_HEADERS"
15926
15927
15928 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15929 shift
15930 for ac_tag
15931 do
15932 case $ac_tag in
15933 :[FHLC]) ac_mode=$ac_tag; continue;;
15934 esac
15935 case $ac_mode$ac_tag in
15936 :[FHL]*:*);;
15937 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15938 :[FH]-) ac_tag=-:-;;
15939 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15940 esac
15941 ac_save_IFS=$IFS
15942 IFS=:
15943 set x $ac_tag
15944 IFS=$ac_save_IFS
15945 shift
15946 ac_file=$1
15947 shift
15948
15949 case $ac_mode in
15950 :L) ac_source=$1;;
15951 :[FH])
15952 ac_file_inputs=
15953 for ac_f
15954 do
15955 case $ac_f in
15956 -) ac_f="$ac_tmp/stdin";;
15957 *) # Look for the file first in the build tree, then in the source tree
15958 # (if the path is not absolute). The absolute path cannot be DOS-style,
15959 # because $ac_f cannot contain `:'.
15960 test -f "$ac_f" ||
15961 case $ac_f in
15962 [\\/$]*) false;;
15963 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15964 esac ||
15965 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15966 esac
15967 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15968 as_fn_append ac_file_inputs " '$ac_f'"
15969 done
15970
15971 # Let's still pretend it is `configure' which instantiates (i.e., don't
15972 # use $as_me), people would be surprised to read:
15973 # /* config.h. Generated by config.status. */
15974 configure_input='Generated from '`
15975 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15976 `' by configure.'
15977 if test x"$ac_file" != x-; then
15978 configure_input="$ac_file. $configure_input"
15979 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15980 $as_echo "$as_me: creating $ac_file" >&6;}
15981 fi
15982 # Neutralize special characters interpreted by sed in replacement strings.
15983 case $configure_input in #(
15984 *\&* | *\|* | *\\* )
15985 ac_sed_conf_input=`$as_echo "$configure_input" |
15986 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15987 *) ac_sed_conf_input=$configure_input;;
15988 esac
15989
15990 case $ac_tag in
15991 *:-:* | *:-) cat >"$ac_tmp/stdin" \
15992 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15993 esac
15994 ;;
15995 esac
15996
15997 ac_dir=`$as_dirname -- "$ac_file" ||
15998 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15999 X"$ac_file" : 'X\(//\)[^/]' \| \
16000 X"$ac_file" : 'X\(//\)$' \| \
16001 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16002 $as_echo X"$ac_file" |
16003 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16004 s//\1/
16005 q
16006 }
16007 /^X\(\/\/\)[^/].*/{
16008 s//\1/
16009 q
16010 }
16011 /^X\(\/\/\)$/{
16012 s//\1/
16013 q
16014 }
16015 /^X\(\/\).*/{
16016 s//\1/
16017 q
16018 }
16019 s/.*/./; q'`
16020 as_dir="$ac_dir"; as_fn_mkdir_p
16021 ac_builddir=.
16022
16023 case "$ac_dir" in
16024 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16025 *)
16026 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16027 # A ".." for each directory in $ac_dir_suffix.
16028 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16029 case $ac_top_builddir_sub in
16030 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16031 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16032 esac ;;
16033 esac
16034 ac_abs_top_builddir=$ac_pwd
16035 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16036 # for backward compatibility:
16037 ac_top_builddir=$ac_top_build_prefix
16038
16039 case $srcdir in
16040 .) # We are building in place.
16041 ac_srcdir=.
16042 ac_top_srcdir=$ac_top_builddir_sub
16043 ac_abs_top_srcdir=$ac_pwd ;;
16044 [\\/]* | ?:[\\/]* ) # Absolute name.
16045 ac_srcdir=$srcdir$ac_dir_suffix;
16046 ac_top_srcdir=$srcdir
16047 ac_abs_top_srcdir=$srcdir ;;
16048 *) # Relative name.
16049 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16050 ac_top_srcdir=$ac_top_build_prefix$srcdir
16051 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16052 esac
16053 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16054
16055
16056 case $ac_mode in
16057 :F)
16058 #
16059 # CONFIG_FILE
16060 #
16061
16062 case $INSTALL in
16063 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16064 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16065 esac
16066 ac_MKDIR_P=$MKDIR_P
16067 case $MKDIR_P in
16068 [\\/$]* | ?:[\\/]* ) ;;
16069 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16070 esac
16071 _ACEOF
16072
16073 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16074 # If the template does not know about datarootdir, expand it.
16075 # FIXME: This hack should be removed a few years after 2.60.
16076 ac_datarootdir_hack=; ac_datarootdir_seen=
16077 ac_sed_dataroot='
16078 /datarootdir/ {
16079 p
16080 q
16081 }
16082 /@datadir@/p
16083 /@docdir@/p
16084 /@infodir@/p
16085 /@localedir@/p
16086 /@mandir@/p'
16087 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16088 *datarootdir*) ac_datarootdir_seen=yes;;
16089 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16091 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16092 _ACEOF
16093 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16094 ac_datarootdir_hack='
16095 s&@datadir@&$datadir&g
16096 s&@docdir@&$docdir&g
16097 s&@infodir@&$infodir&g
16098 s&@localedir@&$localedir&g
16099 s&@mandir@&$mandir&g
16100 s&\\\${datarootdir}&$datarootdir&g' ;;
16101 esac
16102 _ACEOF
16103
16104 # Neutralize VPATH when `$srcdir' = `.'.
16105 # Shell code in configure.ac might set extrasub.
16106 # FIXME: do we really want to maintain this feature?
16107 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16108 ac_sed_extra="$ac_vpsub
16109 $extrasub
16110 _ACEOF
16111 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16112 :t
16113 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16114 s|@configure_input@|$ac_sed_conf_input|;t t
16115 s&@top_builddir@&$ac_top_builddir_sub&;t t
16116 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16117 s&@srcdir@&$ac_srcdir&;t t
16118 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16119 s&@top_srcdir@&$ac_top_srcdir&;t t
16120 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16121 s&@builddir@&$ac_builddir&;t t
16122 s&@abs_builddir@&$ac_abs_builddir&;t t
16123 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16124 s&@INSTALL@&$ac_INSTALL&;t t
16125 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16126 $ac_datarootdir_hack
16127 "
16128 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16129 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16130
16131 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16132 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16133 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16134 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16136 which seems to be undefined. Please make sure it is defined" >&5
16137 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16138 which seems to be undefined. Please make sure it is defined" >&2;}
16139
16140 rm -f "$ac_tmp/stdin"
16141 case $ac_file in
16142 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16143 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16144 esac \
16145 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16146 ;;
16147 :H)
16148 #
16149 # CONFIG_HEADER
16150 #
16151 if test x"$ac_file" != x-; then
16152 {
16153 $as_echo "/* $configure_input */" \
16154 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16155 } >"$ac_tmp/config.h" \
16156 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16157 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16158 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16159 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16160 else
16161 rm -f "$ac_file"
16162 mv "$ac_tmp/config.h" "$ac_file" \
16163 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16164 fi
16165 else
16166 $as_echo "/* $configure_input */" \
16167 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16168 || as_fn_error $? "could not create -" "$LINENO" 5
16169 fi
16170 # Compute "$ac_file"'s index in $config_headers.
16171 _am_arg="$ac_file"
16172 _am_stamp_count=1
16173 for _am_header in $config_headers :; do
16174 case $_am_header in
16175 $_am_arg | $_am_arg:* )
16176 break ;;
16177 * )
16178 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16179 esac
16180 done
16181 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16182 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16183 X"$_am_arg" : 'X\(//\)[^/]' \| \
16184 X"$_am_arg" : 'X\(//\)$' \| \
16185 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16186 $as_echo X"$_am_arg" |
16187 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16188 s//\1/
16189 q
16190 }
16191 /^X\(\/\/\)[^/].*/{
16192 s//\1/
16193 q
16194 }
16195 /^X\(\/\/\)$/{
16196 s//\1/
16197 q
16198 }
16199 /^X\(\/\).*/{
16200 s//\1/
16201 q
16202 }
16203 s/.*/./; q'`/stamp-h$_am_stamp_count
16204 ;;
16205
16206 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16207 $as_echo "$as_me: executing $ac_file commands" >&6;}
16208 ;;
16209 esac
16210
16211
16212 case $ac_file$ac_mode in
16213 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16214 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16215 # are listed without --file. Let's play safe and only enable the eval
16216 # if we detect the quoting.
16217 case $CONFIG_FILES in
16218 *\'*) eval set x "$CONFIG_FILES" ;;
16219 *) set x $CONFIG_FILES ;;
16220 esac
16221 shift
16222 for mf
16223 do
16224 # Strip MF so we end up with the name of the file.
16225 mf=`echo "$mf" | sed -e 's/:.*$//'`
16226 # Check whether this is an Automake generated Makefile or not.
16227 # We used to match only the files named `Makefile.in', but
16228 # some people rename them; so instead we look at the file content.
16229 # Grep'ing the first line is not enough: some people post-process
16230 # each Makefile.in and add a new line on top of each file to say so.
16231 # Grep'ing the whole file is not good either: AIX grep has a line
16232 # limit of 2048, but all sed's we know have understand at least 4000.
16233 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16234 dirpart=`$as_dirname -- "$mf" ||
16235 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16236 X"$mf" : 'X\(//\)[^/]' \| \
16237 X"$mf" : 'X\(//\)$' \| \
16238 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16239 $as_echo X"$mf" |
16240 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16241 s//\1/
16242 q
16243 }
16244 /^X\(\/\/\)[^/].*/{
16245 s//\1/
16246 q
16247 }
16248 /^X\(\/\/\)$/{
16249 s//\1/
16250 q
16251 }
16252 /^X\(\/\).*/{
16253 s//\1/
16254 q
16255 }
16256 s/.*/./; q'`
16257 else
16258 continue
16259 fi
16260 # Extract the definition of DEPDIR, am__include, and am__quote
16261 # from the Makefile without running `make'.
16262 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16263 test -z "$DEPDIR" && continue
16264 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16265 test -z "am__include" && continue
16266 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16267 # When using ansi2knr, U may be empty or an underscore; expand it
16268 U=`sed -n 's/^U = //p' < "$mf"`
16269 # Find all dependency output files, they are included files with
16270 # $(DEPDIR) in their names. We invoke sed twice because it is the
16271 # simplest approach to changing $(DEPDIR) to its actual value in the
16272 # expansion.
16273 for file in `sed -n "
16274 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16275 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16276 # Make sure the directory exists.
16277 test -f "$dirpart/$file" && continue
16278 fdir=`$as_dirname -- "$file" ||
16279 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16280 X"$file" : 'X\(//\)[^/]' \| \
16281 X"$file" : 'X\(//\)$' \| \
16282 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16283 $as_echo X"$file" |
16284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16285 s//\1/
16286 q
16287 }
16288 /^X\(\/\/\)[^/].*/{
16289 s//\1/
16290 q
16291 }
16292 /^X\(\/\/\)$/{
16293 s//\1/
16294 q
16295 }
16296 /^X\(\/\).*/{
16297 s//\1/
16298 q
16299 }
16300 s/.*/./; q'`
16301 as_dir=$dirpart/$fdir; as_fn_mkdir_p
16302 # echo "creating $dirpart/$file"
16303 echo '# dummy' > "$dirpart/$file"
16304 done
16305 done
16306 }
16307 ;;
16308 "libtool":C)
16309
16310 # See if we are running on zsh, and set the options which allow our
16311 # commands through without removal of \ escapes.
16312 if test -n "${ZSH_VERSION+set}" ; then
16313 setopt NO_GLOB_SUBST
16314 fi
16315
16316 cfgfile="${ofile}T"
16317 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16318 $RM "$cfgfile"
16319
16320 cat <<_LT_EOF >> "$cfgfile"
16321 #! $SHELL
16322
16323 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16324 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16325 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16326 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16327 #
16328 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16329 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16330 # Foundation, Inc.
16331 # Written by Gordon Matzigkeit, 1996
16332 #
16333 # This file is part of GNU Libtool.
16334 #
16335 # GNU Libtool is free software; you can redistribute it and/or
16336 # modify it under the terms of the GNU General Public License as
16337 # published by the Free Software Foundation; either version 2 of
16338 # the License, or (at your option) any later version.
16339 #
16340 # As a special exception to the GNU General Public License,
16341 # if you distribute this file as part of a program or library that
16342 # is built using GNU Libtool, you may include this file under the
16343 # same distribution terms that you use for the rest of that program.
16344 #
16345 # GNU Libtool is distributed in the hope that it will be useful,
16346 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16347 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16348 # GNU General Public License for more details.
16349 #
16350 # You should have received a copy of the GNU General Public License
16351 # along with GNU Libtool; see the file COPYING. If not, a copy
16352 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16353 # obtained by writing to the Free Software Foundation, Inc.,
16354 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16355
16356
16357 # The names of the tagged configurations supported by this script.
16358 available_tags=""
16359
16360 # ### BEGIN LIBTOOL CONFIG
16361
16362 # Which release of libtool.m4 was used?
16363 macro_version=$macro_version
16364 macro_revision=$macro_revision
16365
16366 # Whether or not to build static libraries.
16367 build_old_libs=$enable_static
16368
16369 # Whether or not to build shared libraries.
16370 build_libtool_libs=$enable_shared
16371
16372 # What type of objects to build.
16373 pic_mode=$pic_mode
16374
16375 # Whether or not to optimize for fast installation.
16376 fast_install=$enable_fast_install
16377
16378 # Shell to use when invoking shell scripts.
16379 SHELL=$lt_SHELL
16380
16381 # An echo program that protects backslashes.
16382 ECHO=$lt_ECHO
16383
16384 # The PATH separator for the build system.
16385 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16386
16387 # The host system.
16388 host_alias=$host_alias
16389 host=$host
16390 host_os=$host_os
16391
16392 # The build system.
16393 build_alias=$build_alias
16394 build=$build
16395 build_os=$build_os
16396
16397 # A sed program that does not truncate output.
16398 SED=$lt_SED
16399
16400 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16401 Xsed="\$SED -e 1s/^X//"
16402
16403 # A grep program that handles long lines.
16404 GREP=$lt_GREP
16405
16406 # An ERE matcher.
16407 EGREP=$lt_EGREP
16408
16409 # A literal string matcher.
16410 FGREP=$lt_FGREP
16411
16412 # A BSD- or MS-compatible name lister.
16413 NM=$lt_NM
16414
16415 # Whether we need soft or hard links.
16416 LN_S=$lt_LN_S
16417
16418 # What is the maximum length of a command?
16419 max_cmd_len=$max_cmd_len
16420
16421 # Object file suffix (normally "o").
16422 objext=$ac_objext
16423
16424 # Executable file suffix (normally "").
16425 exeext=$exeext
16426
16427 # whether the shell understands "unset".
16428 lt_unset=$lt_unset
16429
16430 # turn spaces into newlines.
16431 SP2NL=$lt_lt_SP2NL
16432
16433 # turn newlines into spaces.
16434 NL2SP=$lt_lt_NL2SP
16435
16436 # convert \$build file names to \$host format.
16437 to_host_file_cmd=$lt_cv_to_host_file_cmd
16438
16439 # convert \$build files to toolchain format.
16440 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16441
16442 # An object symbol dumper.
16443 OBJDUMP=$lt_OBJDUMP
16444
16445 # Method to check whether dependent libraries are shared objects.
16446 deplibs_check_method=$lt_deplibs_check_method
16447
16448 # Command to use when deplibs_check_method = "file_magic".
16449 file_magic_cmd=$lt_file_magic_cmd
16450
16451 # How to find potential files when deplibs_check_method = "file_magic".
16452 file_magic_glob=$lt_file_magic_glob
16453
16454 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16455 want_nocaseglob=$lt_want_nocaseglob
16456
16457 # DLL creation program.
16458 DLLTOOL=$lt_DLLTOOL
16459
16460 # Command to associate shared and link libraries.
16461 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16462
16463 # The archiver.
16464 AR=$lt_AR
16465
16466 # Flags to create an archive.
16467 AR_FLAGS=$lt_AR_FLAGS
16468
16469 # How to feed a file listing to the archiver.
16470 archiver_list_spec=$lt_archiver_list_spec
16471
16472 # A symbol stripping program.
16473 STRIP=$lt_STRIP
16474
16475 # Commands used to install an old-style archive.
16476 RANLIB=$lt_RANLIB
16477 old_postinstall_cmds=$lt_old_postinstall_cmds
16478 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16479
16480 # Whether to use a lock for old archive extraction.
16481 lock_old_archive_extraction=$lock_old_archive_extraction
16482
16483 # A C compiler.
16484 LTCC=$lt_CC
16485
16486 # LTCC compiler flags.
16487 LTCFLAGS=$lt_CFLAGS
16488
16489 # Take the output of nm and produce a listing of raw symbols and C names.
16490 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16491
16492 # Transform the output of nm in a proper C declaration.
16493 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16494
16495 # Transform the output of nm in a C name address pair.
16496 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16497
16498 # Transform the output of nm in a C name address pair when lib prefix is needed.
16499 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16500
16501 # Specify filename containing input files for \$NM.
16502 nm_file_list_spec=$lt_nm_file_list_spec
16503
16504 # The root where to search for dependent libraries,and in which our libraries should be installed.
16505 lt_sysroot=$lt_sysroot
16506
16507 # The name of the directory that contains temporary libtool files.
16508 objdir=$objdir
16509
16510 # Used to examine libraries when file_magic_cmd begins with "file".
16511 MAGIC_CMD=$MAGIC_CMD
16512
16513 # Must we lock files when doing compilation?
16514 need_locks=$lt_need_locks
16515
16516 # Manifest tool.
16517 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16518
16519 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16520 DSYMUTIL=$lt_DSYMUTIL
16521
16522 # Tool to change global to local symbols on Mac OS X.
16523 NMEDIT=$lt_NMEDIT
16524
16525 # Tool to manipulate fat objects and archives on Mac OS X.
16526 LIPO=$lt_LIPO
16527
16528 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16529 OTOOL=$lt_OTOOL
16530
16531 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16532 OTOOL64=$lt_OTOOL64
16533
16534 # Old archive suffix (normally "a").
16535 libext=$libext
16536
16537 # Shared library suffix (normally ".so").
16538 shrext_cmds=$lt_shrext_cmds
16539
16540 # The commands to extract the exported symbol list from a shared archive.
16541 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16542
16543 # Variables whose values should be saved in libtool wrapper scripts and
16544 # restored at link time.
16545 variables_saved_for_relink=$lt_variables_saved_for_relink
16546
16547 # Do we need the "lib" prefix for modules?
16548 need_lib_prefix=$need_lib_prefix
16549
16550 # Do we need a version for libraries?
16551 need_version=$need_version
16552
16553 # Library versioning type.
16554 version_type=$version_type
16555
16556 # Shared library runtime path variable.
16557 runpath_var=$runpath_var
16558
16559 # Shared library path variable.
16560 shlibpath_var=$shlibpath_var
16561
16562 # Is shlibpath searched before the hard-coded library search path?
16563 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16564
16565 # Format of library name prefix.
16566 libname_spec=$lt_libname_spec
16567
16568 # List of archive names. First name is the real one, the rest are links.
16569 # The last name is the one that the linker finds with -lNAME
16570 library_names_spec=$lt_library_names_spec
16571
16572 # The coded name of the library, if different from the real name.
16573 soname_spec=$lt_soname_spec
16574
16575 # Permission mode override for installation of shared libraries.
16576 install_override_mode=$lt_install_override_mode
16577
16578 # Command to use after installation of a shared archive.
16579 postinstall_cmds=$lt_postinstall_cmds
16580
16581 # Command to use after uninstallation of a shared archive.
16582 postuninstall_cmds=$lt_postuninstall_cmds
16583
16584 # Commands used to finish a libtool library installation in a directory.
16585 finish_cmds=$lt_finish_cmds
16586
16587 # As "finish_cmds", except a single script fragment to be evaled but
16588 # not shown.
16589 finish_eval=$lt_finish_eval
16590
16591 # Whether we should hardcode library paths into libraries.
16592 hardcode_into_libs=$hardcode_into_libs
16593
16594 # Compile-time system search path for libraries.
16595 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16596
16597 # Run-time system search path for libraries.
16598 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16599
16600 # Whether dlopen is supported.
16601 dlopen_support=$enable_dlopen
16602
16603 # Whether dlopen of programs is supported.
16604 dlopen_self=$enable_dlopen_self
16605
16606 # Whether dlopen of statically linked programs is supported.
16607 dlopen_self_static=$enable_dlopen_self_static
16608
16609 # Commands to strip libraries.
16610 old_striplib=$lt_old_striplib
16611 striplib=$lt_striplib
16612
16613
16614 # The linker used to build libraries.
16615 LD=$lt_LD
16616
16617 # How to create reloadable object files.
16618 reload_flag=$lt_reload_flag
16619 reload_cmds=$lt_reload_cmds
16620
16621 # Commands used to build an old-style archive.
16622 old_archive_cmds=$lt_old_archive_cmds
16623
16624 # A language specific compiler.
16625 CC=$lt_compiler
16626
16627 # Is the compiler the GNU compiler?
16628 with_gcc=$GCC
16629
16630 # Compiler flag to turn off builtin functions.
16631 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16632
16633 # Additional compiler flags for building library objects.
16634 pic_flag=$lt_lt_prog_compiler_pic
16635
16636 # How to pass a linker flag through the compiler.
16637 wl=$lt_lt_prog_compiler_wl
16638
16639 # Compiler flag to prevent dynamic linking.
16640 link_static_flag=$lt_lt_prog_compiler_static
16641
16642 # Does compiler simultaneously support -c and -o options?
16643 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16644
16645 # Whether or not to add -lc for building shared libraries.
16646 build_libtool_need_lc=$archive_cmds_need_lc
16647
16648 # Whether or not to disallow shared libs when runtime libs are static.
16649 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16650
16651 # Compiler flag to allow reflexive dlopens.
16652 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16653
16654 # Compiler flag to generate shared objects directly from archives.
16655 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16656
16657 # Whether the compiler copes with passing no objects directly.
16658 compiler_needs_object=$lt_compiler_needs_object
16659
16660 # Create an old-style archive from a shared archive.
16661 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16662
16663 # Create a temporary old-style archive to link instead of a shared archive.
16664 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16665
16666 # Commands used to build a shared archive.
16667 archive_cmds=$lt_archive_cmds
16668 archive_expsym_cmds=$lt_archive_expsym_cmds
16669
16670 # Commands used to build a loadable module if different from building
16671 # a shared archive.
16672 module_cmds=$lt_module_cmds
16673 module_expsym_cmds=$lt_module_expsym_cmds
16674
16675 # Whether we are building with GNU ld or not.
16676 with_gnu_ld=$lt_with_gnu_ld
16677
16678 # Flag that allows shared libraries with undefined symbols to be built.
16679 allow_undefined_flag=$lt_allow_undefined_flag
16680
16681 # Flag that enforces no undefined symbols.
16682 no_undefined_flag=$lt_no_undefined_flag
16683
16684 # Flag to hardcode \$libdir into a binary during linking.
16685 # This must work even if \$libdir does not exist
16686 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16687
16688 # Whether we need a single "-rpath" flag with a separated argument.
16689 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16690
16691 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16692 # DIR into the resulting binary.
16693 hardcode_direct=$hardcode_direct
16694
16695 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16696 # DIR into the resulting binary and the resulting library dependency is
16697 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16698 # library is relocated.
16699 hardcode_direct_absolute=$hardcode_direct_absolute
16700
16701 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16702 # into the resulting binary.
16703 hardcode_minus_L=$hardcode_minus_L
16704
16705 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16706 # into the resulting binary.
16707 hardcode_shlibpath_var=$hardcode_shlibpath_var
16708
16709 # Set to "yes" if building a shared library automatically hardcodes DIR
16710 # into the library and all subsequent libraries and executables linked
16711 # against it.
16712 hardcode_automatic=$hardcode_automatic
16713
16714 # Set to yes if linker adds runtime paths of dependent libraries
16715 # to runtime path list.
16716 inherit_rpath=$inherit_rpath
16717
16718 # Whether libtool must link a program against all its dependency libraries.
16719 link_all_deplibs=$link_all_deplibs
16720
16721 # Set to "yes" if exported symbols are required.
16722 always_export_symbols=$always_export_symbols
16723
16724 # The commands to list exported symbols.
16725 export_symbols_cmds=$lt_export_symbols_cmds
16726
16727 # Symbols that should not be listed in the preloaded symbols.
16728 exclude_expsyms=$lt_exclude_expsyms
16729
16730 # Symbols that must always be exported.
16731 include_expsyms=$lt_include_expsyms
16732
16733 # Commands necessary for linking programs (against libraries) with templates.
16734 prelink_cmds=$lt_prelink_cmds
16735
16736 # Commands necessary for finishing linking programs.
16737 postlink_cmds=$lt_postlink_cmds
16738
16739 # Specify filename containing input files.
16740 file_list_spec=$lt_file_list_spec
16741
16742 # How to hardcode a shared library path into an executable.
16743 hardcode_action=$hardcode_action
16744
16745 # ### END LIBTOOL CONFIG
16746
16747 _LT_EOF
16748
16749 case $host_os in
16750 aix3*)
16751 cat <<\_LT_EOF >> "$cfgfile"
16752 # AIX sometimes has problems with the GCC collect2 program. For some
16753 # reason, if we set the COLLECT_NAMES environment variable, the problems
16754 # vanish in a puff of smoke.
16755 if test "X${COLLECT_NAMES+set}" != Xset; then
16756 COLLECT_NAMES=
16757 export COLLECT_NAMES
16758 fi
16759 _LT_EOF
16760 ;;
16761 esac
16762
16763
16764 ltmain="$ac_aux_dir/ltmain.sh"
16765
16766
16767 # We use sed instead of cat because bash on DJGPP gets confused if
16768 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16769 # text mode, it properly converts lines to CR/LF. This bash problem
16770 # is reportedly fixed, but why not run on old versions too?
16771 sed '$q' "$ltmain" >> "$cfgfile" \
16772 || (rm -f "$cfgfile"; exit 1)
16773
16774 if test x"$xsi_shell" = xyes; then
16775 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16776 func_dirname ()\
16777 {\
16778 \ case ${1} in\
16779 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16780 \ * ) func_dirname_result="${3}" ;;\
16781 \ esac\
16782 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16783 && mv -f "$cfgfile.tmp" "$cfgfile" \
16784 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16785 test 0 -eq $? || _lt_function_replace_fail=:
16786
16787
16788 sed -e '/^func_basename ()$/,/^} # func_basename /c\
16789 func_basename ()\
16790 {\
16791 \ func_basename_result="${1##*/}"\
16792 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16793 && mv -f "$cfgfile.tmp" "$cfgfile" \
16794 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16795 test 0 -eq $? || _lt_function_replace_fail=:
16796
16797
16798 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16799 func_dirname_and_basename ()\
16800 {\
16801 \ case ${1} in\
16802 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16803 \ * ) func_dirname_result="${3}" ;;\
16804 \ esac\
16805 \ func_basename_result="${1##*/}"\
16806 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16807 && mv -f "$cfgfile.tmp" "$cfgfile" \
16808 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16809 test 0 -eq $? || _lt_function_replace_fail=:
16810
16811
16812 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16813 func_stripname ()\
16814 {\
16815 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16816 \ # positional parameters, so assign one to ordinary parameter first.\
16817 \ func_stripname_result=${3}\
16818 \ func_stripname_result=${func_stripname_result#"${1}"}\
16819 \ func_stripname_result=${func_stripname_result%"${2}"}\
16820 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16821 && mv -f "$cfgfile.tmp" "$cfgfile" \
16822 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16823 test 0 -eq $? || _lt_function_replace_fail=:
16824
16825
16826 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16827 func_split_long_opt ()\
16828 {\
16829 \ func_split_long_opt_name=${1%%=*}\
16830 \ func_split_long_opt_arg=${1#*=}\
16831 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16832 && mv -f "$cfgfile.tmp" "$cfgfile" \
16833 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16834 test 0 -eq $? || _lt_function_replace_fail=:
16835
16836
16837 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16838 func_split_short_opt ()\
16839 {\
16840 \ func_split_short_opt_arg=${1#??}\
16841 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16842 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16843 && mv -f "$cfgfile.tmp" "$cfgfile" \
16844 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16845 test 0 -eq $? || _lt_function_replace_fail=:
16846
16847
16848 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16849 func_lo2o ()\
16850 {\
16851 \ case ${1} in\
16852 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16853 \ *) func_lo2o_result=${1} ;;\
16854 \ esac\
16855 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16856 && mv -f "$cfgfile.tmp" "$cfgfile" \
16857 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16858 test 0 -eq $? || _lt_function_replace_fail=:
16859
16860
16861 sed -e '/^func_xform ()$/,/^} # func_xform /c\
16862 func_xform ()\
16863 {\
16864 func_xform_result=${1%.*}.lo\
16865 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16866 && mv -f "$cfgfile.tmp" "$cfgfile" \
16867 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16868 test 0 -eq $? || _lt_function_replace_fail=:
16869
16870
16871 sed -e '/^func_arith ()$/,/^} # func_arith /c\
16872 func_arith ()\
16873 {\
16874 func_arith_result=$(( $* ))\
16875 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16876 && mv -f "$cfgfile.tmp" "$cfgfile" \
16877 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16878 test 0 -eq $? || _lt_function_replace_fail=:
16879
16880
16881 sed -e '/^func_len ()$/,/^} # func_len /c\
16882 func_len ()\
16883 {\
16884 func_len_result=${#1}\
16885 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16886 && mv -f "$cfgfile.tmp" "$cfgfile" \
16887 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16888 test 0 -eq $? || _lt_function_replace_fail=:
16889
16890 fi
16891
16892 if test x"$lt_shell_append" = xyes; then
16893 sed -e '/^func_append ()$/,/^} # func_append /c\
16894 func_append ()\
16895 {\
16896 eval "${1}+=\\${2}"\
16897 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16898 && mv -f "$cfgfile.tmp" "$cfgfile" \
16899 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16900 test 0 -eq $? || _lt_function_replace_fail=:
16901
16902
16903 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16904 func_append_quoted ()\
16905 {\
16906 \ func_quote_for_eval "${2}"\
16907 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16908 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16909 && mv -f "$cfgfile.tmp" "$cfgfile" \
16910 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16911 test 0 -eq $? || _lt_function_replace_fail=:
16912
16913
16914 # Save a `func_append' function call where possible by direct use of '+='
16915 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16916 && mv -f "$cfgfile.tmp" "$cfgfile" \
16917 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16918 test 0 -eq $? || _lt_function_replace_fail=:
16919 else
16920 # Save a `func_append' function call even when '+=' is not available
16921 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16922 && mv -f "$cfgfile.tmp" "$cfgfile" \
16923 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16924 test 0 -eq $? || _lt_function_replace_fail=:
16925 fi
16926
16927 if test x"$_lt_function_replace_fail" = x":"; then
16928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16929 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16930 fi
16931
16932
16933 mv -f "$cfgfile" "$ofile" ||
16934 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16935 chmod +x "$ofile"
16936
16937 ;;
16938
16939 esac
16940 done # for ac_tag
16941
16942
16943 as_fn_exit 0
16944 _ACEOF
16945 ac_clean_files=$ac_clean_files_save
16946
16947 test $ac_write_fail = 0 ||
16948 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16949
16950
16951 # configure is writing to config.log, and then calls config.status.
16952 # config.status does its own redirection, appending to config.log.
16953 # Unfortunately, on DOS this fails, as config.log is still kept open
16954 # by configure, so config.status won't be able to write to it; its
16955 # output is simply discarded. So we exec the FD to /dev/null,
16956 # effectively closing config.log, so it can be properly (re)opened and
16957 # appended to by config.status. When coming back to configure, we
16958 # need to make the FD available again.
16959 if test "$no_create" != yes; then
16960 ac_cs_success=:
16961 ac_config_status_args=
16962 test "$silent" = yes &&
16963 ac_config_status_args="$ac_config_status_args --quiet"
16964 exec 5>/dev/null
16965 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16966 exec 5>>config.log
16967 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16968 # would make configure fail if this is the last instruction.
16969 $ac_cs_success || as_fn_exit 1
16970 fi
16971 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16973 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16974 fi
16975

Properties

Name Value
svn:executable *