Annotation of OpenXM_contrib2/asir2018/configure, Revision 1.5
1.1 noro 1: #! /bin/sh
2: # Guess values for system-dependent variables and create Makefiles.
1.5 ! ohara 3: # Generated by GNU Autoconf 2.69 for asir 1.16.
1.1 noro 4: #
5: #
6: # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7: #
8: #
9: # This configure script is free software; the Free Software Foundation
10: # gives unlimited permission to copy, distribute and modify it.
11: ## -------------------- ##
12: ## M4sh Initialization. ##
13: ## -------------------- ##
14:
15: # Be more Bourne compatible
16: DUALCASE=1; export DUALCASE # for MKS sh
17: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18: emulate sh
19: NULLCMD=:
20: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21: # is contrary to our usage. Disable this feature.
22: alias -g '${1+"$@"}'='"$@"'
23: setopt NO_GLOB_SUBST
24: else
25: case `(set -o) 2>/dev/null` in #(
26: *posix*) :
27: set -o posix ;; #(
28: *) :
29: ;;
30: esac
31: fi
32:
33:
34: as_nl='
35: '
36: export as_nl
37: # Printing a long string crashes Solaris 7 /usr/bin/printf.
38: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41: # Prefer a ksh shell builtin over an external printf program on Solaris,
42: # but without wasting forks for bash or zsh.
43: if test -z "$BASH_VERSION$ZSH_VERSION" \
44: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45: as_echo='print -r --'
46: as_echo_n='print -rn --'
47: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48: as_echo='printf %s\n'
49: as_echo_n='printf %s'
50: else
51: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53: as_echo_n='/usr/ucb/echo -n'
54: else
55: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56: as_echo_n_body='eval
57: arg=$1;
58: case $arg in #(
59: *"$as_nl"*)
60: expr "X$arg" : "X\\(.*\\)$as_nl";
61: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62: esac;
63: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64: '
65: export as_echo_n_body
66: as_echo_n='sh -c $as_echo_n_body as_echo'
67: fi
68: export as_echo_body
69: as_echo='sh -c $as_echo_body as_echo'
70: fi
71:
72: # The user is always right.
73: if test "${PATH_SEPARATOR+set}" != set; then
74: PATH_SEPARATOR=:
75: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77: PATH_SEPARATOR=';'
78: }
79: fi
80:
81:
82: # IFS
83: # We need space, tab and new line, in precisely that order. Quoting is
84: # there to prevent editors from complaining about space-tab.
85: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86: # splitting by setting IFS to empty value.)
87: IFS=" "" $as_nl"
88:
89: # Find who we are. Look in the path if we contain no directory separator.
90: as_myself=
91: case $0 in #((
92: *[\\/]* ) as_myself=$0 ;;
93: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94: for as_dir in $PATH
95: do
96: IFS=$as_save_IFS
97: test -z "$as_dir" && as_dir=.
98: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99: done
100: IFS=$as_save_IFS
101:
102: ;;
103: esac
104: # We did not find ourselves, most probably we were run as `sh COMMAND'
105: # in which case we are not to be found in the path.
106: if test "x$as_myself" = x; then
107: as_myself=$0
108: fi
109: if test ! -f "$as_myself"; then
110: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111: exit 1
112: fi
113:
114: # Unset variables that we do not need and which cause bugs (e.g. in
115: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116: # suppresses any "Segmentation fault" message there. '((' could
117: # trigger a bug in pdksh 5.2.14.
118: for as_var in BASH_ENV ENV MAIL MAILPATH
119: do eval test x\${$as_var+set} = xset \
120: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121: done
122: PS1='$ '
123: PS2='> '
124: PS4='+ '
125:
126: # NLS nuisances.
127: LC_ALL=C
128: export LC_ALL
129: LANGUAGE=C
130: export LANGUAGE
131:
132: # CDPATH.
133: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134:
135: # Use a proper internal environment variable to ensure we don't fall
136: # into an infinite loop, continuously re-executing ourselves.
137: if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138: _as_can_reexec=no; export _as_can_reexec;
139: # We cannot yet assume a decent shell, so we have to provide a
140: # neutralization value for shells without unset; and this also
141: # works around shells that cannot unset nonexistent variables.
142: # Preserve -v and -x to the replacement shell.
143: BASH_ENV=/dev/null
144: ENV=/dev/null
145: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146: case $- in # ((((
147: *v*x* | *x*v* ) as_opts=-vx ;;
148: *v* ) as_opts=-v ;;
149: *x* ) as_opts=-x ;;
150: * ) as_opts= ;;
151: esac
152: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153: # Admittedly, this is quite paranoid, since all the known shells bail
154: # out after a failed `exec'.
155: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156: as_fn_exit 255
157: fi
158: # We don't want this to propagate to other subprocesses.
159: { _as_can_reexec=; unset _as_can_reexec;}
160: if test "x$CONFIG_SHELL" = x; then
161: as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162: emulate sh
163: NULLCMD=:
164: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165: # is contrary to our usage. Disable this feature.
166: alias -g '\${1+\"\$@\"}'='\"\$@\"'
167: setopt NO_GLOB_SUBST
168: else
169: case \`(set -o) 2>/dev/null\` in #(
170: *posix*) :
171: set -o posix ;; #(
172: *) :
173: ;;
174: esac
175: fi
176: "
177: as_required="as_fn_return () { (exit \$1); }
178: as_fn_success () { as_fn_return 0; }
179: as_fn_failure () { as_fn_return 1; }
180: as_fn_ret_success () { return 0; }
181: as_fn_ret_failure () { return 1; }
182:
183: exitcode=0
184: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189:
190: else
191: exitcode=1; echo positional parameters were not saved.
192: fi
193: test x\$exitcode = x0 || exit 1
194: test -x / || exit 1"
195: as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196: as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197: eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198: test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
1.5 ! ohara 199:
! 200: test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
! 201: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
! 202: ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
! 203: ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
! 204: PATH=/empty FPATH=/empty; export PATH FPATH
! 205: test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
! 206: || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
1.1 noro 207: test \$(( 1 + 1 )) = 2 || exit 1"
208: if (eval "$as_required") 2>/dev/null; then :
209: as_have_required=yes
210: else
211: as_have_required=no
212: fi
213: if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214:
215: else
216: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217: as_found=false
218: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219: do
220: IFS=$as_save_IFS
221: test -z "$as_dir" && as_dir=.
222: as_found=:
223: case $as_dir in #(
224: /*)
225: for as_base in sh bash ksh sh5; do
226: # Try only shells that exist, to save several forks.
227: as_shell=$as_dir/$as_base
228: if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229: { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230: CONFIG_SHELL=$as_shell as_have_required=yes
231: if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232: break 2
233: fi
234: fi
235: done;;
236: esac
237: as_found=false
238: done
239: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240: { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241: CONFIG_SHELL=$SHELL as_have_required=yes
242: fi; }
243: IFS=$as_save_IFS
244:
245:
246: if test "x$CONFIG_SHELL" != x; then :
247: export CONFIG_SHELL
248: # We cannot yet assume a decent shell, so we have to provide a
249: # neutralization value for shells without unset; and this also
250: # works around shells that cannot unset nonexistent variables.
251: # Preserve -v and -x to the replacement shell.
252: BASH_ENV=/dev/null
253: ENV=/dev/null
254: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255: case $- in # ((((
256: *v*x* | *x*v* ) as_opts=-vx ;;
257: *v* ) as_opts=-v ;;
258: *x* ) as_opts=-x ;;
259: * ) as_opts= ;;
260: esac
261: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262: # Admittedly, this is quite paranoid, since all the known shells bail
263: # out after a failed `exec'.
264: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265: exit 255
266: fi
267:
268: if test x$as_have_required = xno; then :
269: $as_echo "$0: This script requires a shell more modern than all"
270: $as_echo "$0: the shells that I found on your system."
271: if test x${ZSH_VERSION+set} = xset ; then
272: $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273: $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274: else
275: $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276: $0: including any error possibly output before this
277: $0: message. Then install a modern shell, or manually run
278: $0: the script under such a shell if you do have one."
279: fi
280: exit 1
281: fi
282: fi
283: fi
284: SHELL=${CONFIG_SHELL-/bin/sh}
285: export SHELL
286: # Unset more variables known to interfere with behavior of common tools.
287: CLICOLOR_FORCE= GREP_OPTIONS=
288: unset CLICOLOR_FORCE GREP_OPTIONS
289:
290: ## --------------------- ##
291: ## M4sh Shell Functions. ##
292: ## --------------------- ##
293: # as_fn_unset VAR
294: # ---------------
295: # Portably unset VAR.
296: as_fn_unset ()
297: {
298: { eval $1=; unset $1;}
299: }
300: as_unset=as_fn_unset
301:
302: # as_fn_set_status STATUS
303: # -----------------------
304: # Set $? to STATUS, without forking.
305: as_fn_set_status ()
306: {
307: return $1
308: } # as_fn_set_status
309:
310: # as_fn_exit STATUS
311: # -----------------
312: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313: as_fn_exit ()
314: {
315: set +e
316: as_fn_set_status $1
317: exit $1
318: } # as_fn_exit
319:
320: # as_fn_mkdir_p
321: # -------------
322: # Create "$as_dir" as a directory, including parents if necessary.
323: as_fn_mkdir_p ()
324: {
325:
326: case $as_dir in #(
327: -*) as_dir=./$as_dir;;
328: esac
329: test -d "$as_dir" || eval $as_mkdir_p || {
330: as_dirs=
331: while :; do
332: case $as_dir in #(
333: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334: *) as_qdir=$as_dir;;
335: esac
336: as_dirs="'$as_qdir' $as_dirs"
337: as_dir=`$as_dirname -- "$as_dir" ||
338: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339: X"$as_dir" : 'X\(//\)[^/]' \| \
340: X"$as_dir" : 'X\(//\)$' \| \
341: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342: $as_echo X"$as_dir" |
343: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344: s//\1/
345: q
346: }
347: /^X\(\/\/\)[^/].*/{
348: s//\1/
349: q
350: }
351: /^X\(\/\/\)$/{
352: s//\1/
353: q
354: }
355: /^X\(\/\).*/{
356: s//\1/
357: q
358: }
359: s/.*/./; q'`
360: test -d "$as_dir" && break
361: done
362: test -z "$as_dirs" || eval "mkdir $as_dirs"
363: } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364:
365:
366: } # as_fn_mkdir_p
367:
368: # as_fn_executable_p FILE
369: # -----------------------
370: # Test if FILE is an executable regular file.
371: as_fn_executable_p ()
372: {
373: test -f "$1" && test -x "$1"
374: } # as_fn_executable_p
375: # as_fn_append VAR VALUE
376: # ----------------------
377: # Append the text in VALUE to the end of the definition contained in VAR. Take
378: # advantage of any shell optimizations that allow amortized linear growth over
379: # repeated appends, instead of the typical quadratic growth present in naive
380: # implementations.
381: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382: eval 'as_fn_append ()
383: {
384: eval $1+=\$2
385: }'
386: else
387: as_fn_append ()
388: {
389: eval $1=\$$1\$2
390: }
391: fi # as_fn_append
392:
393: # as_fn_arith ARG...
394: # ------------------
395: # Perform arithmetic evaluation on the ARGs, and store the result in the
396: # global $as_val. Take advantage of shells that can avoid forks. The arguments
397: # must be portable across $(()) and expr.
398: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399: eval 'as_fn_arith ()
400: {
401: as_val=$(( $* ))
402: }'
403: else
404: as_fn_arith ()
405: {
406: as_val=`expr "$@" || test $? -eq 1`
407: }
408: fi # as_fn_arith
409:
410:
411: # as_fn_error STATUS ERROR [LINENO LOG_FD]
412: # ----------------------------------------
413: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415: # script with STATUS, using 1 if that was 0.
416: as_fn_error ()
417: {
418: as_status=$1; test $as_status -eq 0 && as_status=1
419: if test "$4"; then
420: as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421: $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
422: fi
423: $as_echo "$as_me: error: $2" >&2
424: as_fn_exit $as_status
425: } # as_fn_error
426:
427: if expr a : '\(a\)' >/dev/null 2>&1 &&
428: test "X`expr 00001 : '.*\(...\)'`" = X001; then
429: as_expr=expr
430: else
431: as_expr=false
432: fi
433:
434: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435: as_basename=basename
436: else
437: as_basename=false
438: fi
439:
440: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441: as_dirname=dirname
442: else
443: as_dirname=false
444: fi
445:
446: as_me=`$as_basename -- "$0" ||
447: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448: X"$0" : 'X\(//\)$' \| \
449: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450: $as_echo X/"$0" |
451: sed '/^.*\/\([^/][^/]*\)\/*$/{
452: s//\1/
453: q
454: }
455: /^X\/\(\/\/\)$/{
456: s//\1/
457: q
458: }
459: /^X\/\(\/\).*/{
460: s//\1/
461: q
462: }
463: s/.*/./; q'`
464:
465: # Avoid depending upon Character Ranges.
466: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469: as_cr_digits='0123456789'
470: as_cr_alnum=$as_cr_Letters$as_cr_digits
471:
472:
473: as_lineno_1=$LINENO as_lineno_1a=$LINENO
474: as_lineno_2=$LINENO as_lineno_2a=$LINENO
475: eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476: test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477: # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
478: sed -n '
479: p
480: /[$]LINENO/=
481: ' <$as_myself |
482: sed '
483: s/[$]LINENO.*/&-/
484: t lineno
485: b
486: :lineno
487: N
488: :loop
489: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490: t loop
491: s/-\n.*//
492: ' >$as_me.lineno &&
493: chmod +x "$as_me.lineno" ||
494: { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
495:
496: # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497: # already done that, so ensure we don't try to do so again and fall
498: # in an infinite loop. This has already happened in practice.
499: _as_can_reexec=no; export _as_can_reexec
500: # Don't try to exec as it changes $[0], causing all sort of problems
501: # (the dirname of $[0] is not the place where we might find the
502: # original and so on. Autoconf is especially sensitive to this).
503: . "./$as_me.lineno"
504: # Exit status is that of the last command.
505: exit
506: }
507:
508: ECHO_C= ECHO_N= ECHO_T=
509: case `echo -n x` in #(((((
510: -n*)
511: case `echo 'xy\c'` in
512: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
513: xy) ECHO_C='\c';;
514: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
515: ECHO_T=' ';;
516: esac;;
517: *)
518: ECHO_N='-n';;
519: esac
520:
521: rm -f conf$$ conf$$.exe conf$$.file
522: if test -d conf$$.dir; then
523: rm -f conf$$.dir/conf$$.file
524: else
525: rm -f conf$$.dir
526: mkdir conf$$.dir 2>/dev/null
527: fi
528: if (echo >conf$$.file) 2>/dev/null; then
529: if ln -s conf$$.file conf$$ 2>/dev/null; then
530: as_ln_s='ln -s'
531: # ... but there are two gotchas:
532: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534: # In both cases, we have to default to `cp -pR'.
535: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536: as_ln_s='cp -pR'
537: elif ln conf$$.file conf$$ 2>/dev/null; then
538: as_ln_s=ln
539: else
540: as_ln_s='cp -pR'
541: fi
542: else
543: as_ln_s='cp -pR'
544: fi
545: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546: rmdir conf$$.dir 2>/dev/null
547:
548: if mkdir -p . 2>/dev/null; then
549: as_mkdir_p='mkdir -p "$as_dir"'
550: else
551: test -d ./-p && rmdir ./-p
552: as_mkdir_p=false
553: fi
554:
555: as_test_x='test -x'
556: as_executable_p=as_fn_executable_p
557:
558: # Sed expression to map a string onto a valid CPP name.
559: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560:
561: # Sed expression to map a string onto a valid variable name.
562: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563:
1.5 ! ohara 564: SHELL=${CONFIG_SHELL-/bin/sh}
! 565:
1.1 noro 566:
567: test -n "$DJDIR" || exec 7<&0 </dev/null
568: exec 6>&1
569:
570: # Name of the host.
571: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572: # so uname gets run too.
573: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574:
575: #
576: # Initializations.
577: #
578: ac_default_prefix=/usr/local
579: ac_clean_files=
580: ac_config_libobj_dir=.
581: LIBOBJS=
582: cross_compiling=no
583: subdirs=
584: MFLAGS=
585: MAKEFLAGS=
586:
587: # Identity of this package.
588: PACKAGE_NAME='asir'
589: PACKAGE_TARNAME='asir'
1.5 ! ohara 590: PACKAGE_VERSION='1.16'
! 591: PACKAGE_STRING='asir 1.16'
1.1 noro 592: PACKAGE_BUGREPORT=''
593: PACKAGE_URL=''
594:
595: ac_unique_file="LICENSE"
596: # Factoring default headers for most tests.
597: ac_includes_default="\
598: #include <stdio.h>
599: #ifdef HAVE_SYS_TYPES_H
600: # include <sys/types.h>
601: #endif
602: #ifdef HAVE_SYS_STAT_H
603: # include <sys/stat.h>
604: #endif
605: #ifdef STDC_HEADERS
606: # include <stdlib.h>
607: # include <stddef.h>
608: #else
609: # ifdef HAVE_STDLIB_H
610: # include <stdlib.h>
611: # endif
612: #endif
613: #ifdef HAVE_STRING_H
614: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
615: # include <memory.h>
616: # endif
617: # include <string.h>
618: #endif
619: #ifdef HAVE_STRINGS_H
620: # include <strings.h>
621: #endif
622: #ifdef HAVE_INTTYPES_H
623: # include <inttypes.h>
624: #endif
625: #ifdef HAVE_STDINT_H
626: # include <stdint.h>
627: #endif
628: #ifdef HAVE_UNISTD_H
629: # include <unistd.h>
630: #endif"
631:
632: ac_subst_vars='am__EXEEXT_FALSE
633: am__EXEEXT_TRUE
634: LTLIBOBJS
635: LIBOBJS
636: WSLIB
637: USE_GC_SPARC64
1.5 ! ohara 638: sufx
1.1 noro 639: LAPACKLIB
640: FEPLIB
641: GMPLIB
642: USE_PLOT_FALSE
643: USE_PLOT_TRUE
644: XPMLIB
645: GCINC
646: GCLIB
647: X_EXTRA_LIBS
648: X_LIBS
649: X_PRE_LIBS
650: X_CFLAGS
651: XMKMF
652: YFLAGS
653: YACC
1.5 ! ohara 654: CPP
! 655: LT_SYS_LIBRARY_PATH
! 656: OTOOL64
! 657: OTOOL
! 658: LIPO
! 659: NMEDIT
! 660: DSYMUTIL
! 661: MANIFEST_TOOL
1.1 noro 662: RANLIB
1.5 ! ohara 663: ac_ct_AR
! 664: AR
! 665: DLLTOOL
! 666: OBJDUMP
1.1 noro 667: LN_S
1.5 ! ohara 668: NM
! 669: ac_ct_DUMPBIN
! 670: DUMPBIN
! 671: LD
! 672: FGREP
! 673: EGREP
! 674: GREP
! 675: SED
1.1 noro 676: am__fastdepCC_FALSE
677: am__fastdepCC_TRUE
678: CCDEPMODE
679: am__nodep
680: AMDEPBACKSLASH
681: AMDEP_FALSE
682: AMDEP_TRUE
683: am__include
684: DEPDIR
685: OBJEXT
686: EXEEXT
687: ac_ct_CC
688: CPPFLAGS
689: LDFLAGS
690: CFLAGS
691: CC
1.5 ! ohara 692: LIBTOOL
1.1 noro 693: MAINT
694: MAINTAINER_MODE_FALSE
695: MAINTAINER_MODE_TRUE
696: AM_BACKSLASH
697: AM_DEFAULT_VERBOSITY
698: AM_DEFAULT_V
699: AM_V
700: am__untar
701: am__tar
702: AMTAR
703: am__leading_dot
704: SET_MAKE
705: AWK
706: mkdir_p
707: MKDIR_P
708: INSTALL_STRIP_PROGRAM
709: STRIP
710: install_sh
711: MAKEINFO
712: AUTOHEADER
713: AUTOMAKE
714: AUTOCONF
715: ACLOCAL
716: VERSION
717: PACKAGE
718: CYGPATH_W
719: am__isrc
720: INSTALL_DATA
721: INSTALL_SCRIPT
722: INSTALL_PROGRAM
723: target_os
724: target_vendor
725: target_cpu
726: target
727: host_os
728: host_vendor
729: host_cpu
730: host
731: build_os
732: build_vendor
733: build_cpu
734: build
735: target_alias
736: host_alias
737: build_alias
738: LIBS
739: ECHO_T
740: ECHO_N
741: ECHO_C
742: DEFS
743: mandir
744: localedir
745: libdir
746: psdir
747: pdfdir
748: dvidir
749: htmldir
750: infodir
751: docdir
752: oldincludedir
753: includedir
754: localstatedir
755: sharedstatedir
756: sysconfdir
757: datadir
758: datarootdir
759: libexecdir
760: sbindir
761: bindir
762: program_transform_name
763: prefix
764: exec_prefix
765: PACKAGE_URL
766: PACKAGE_BUGREPORT
767: PACKAGE_STRING
768: PACKAGE_VERSION
769: PACKAGE_TARNAME
770: PACKAGE_NAME
771: PATH_SEPARATOR
1.5 ! ohara 772: SHELL
! 773: am__quote'
1.1 noro 774: ac_subst_files=''
775: ac_user_opts='
776: enable_option_checking
777: enable_silent_rules
778: enable_maintainer_mode
1.5 ! ohara 779: enable_shared
! 780: enable_static
! 781: with_pic
! 782: enable_fast_install
! 783: with_aix_soname
1.1 noro 784: enable_dependency_tracking
1.5 ! ohara 785: with_gnu_ld
! 786: with_sysroot
! 787: enable_libtool_lock
1.1 noro 788: with_x
789: with_asir_gc
790: enable_plot
791: enable_static_gmp
792: enable_interval
793: enable_fft_float
794: with_mpi
795: '
796: ac_precious_vars='build_alias
797: host_alias
798: target_alias
799: CC
800: CFLAGS
801: LDFLAGS
802: LIBS
803: CPPFLAGS
1.5 ! ohara 804: LT_SYS_LIBRARY_PATH
! 805: CPP
1.1 noro 806: YACC
807: YFLAGS
1.5 ! ohara 808: XMKMF'
1.1 noro 809:
810:
811: # Initialize some variables set by options.
812: ac_init_help=
813: ac_init_version=false
814: ac_unrecognized_opts=
815: ac_unrecognized_sep=
816: # The variables have the same names as the options, with
817: # dashes changed to underlines.
818: cache_file=/dev/null
819: exec_prefix=NONE
820: no_create=
821: no_recursion=
822: prefix=NONE
823: program_prefix=NONE
824: program_suffix=NONE
825: program_transform_name=s,x,x,
826: silent=
827: site=
828: srcdir=
829: verbose=
830: x_includes=NONE
831: x_libraries=NONE
832:
833: # Installation directory options.
834: # These are left unexpanded so users can "make install exec_prefix=/foo"
835: # and all the variables that are supposed to be based on exec_prefix
836: # by default will actually change.
837: # Use braces instead of parens because sh, perl, etc. also accept them.
838: # (The list follows the same order as the GNU Coding Standards.)
839: bindir='${exec_prefix}/bin'
840: sbindir='${exec_prefix}/sbin'
841: libexecdir='${exec_prefix}/libexec'
842: datarootdir='${prefix}/share'
843: datadir='${datarootdir}'
844: sysconfdir='${prefix}/etc'
845: sharedstatedir='${prefix}/com'
846: localstatedir='${prefix}/var'
847: includedir='${prefix}/include'
848: oldincludedir='/usr/include'
849: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
850: infodir='${datarootdir}/info'
851: htmldir='${docdir}'
852: dvidir='${docdir}'
853: pdfdir='${docdir}'
854: psdir='${docdir}'
855: libdir='${exec_prefix}/lib'
856: localedir='${datarootdir}/locale'
857: mandir='${datarootdir}/man'
858:
859: ac_prev=
860: ac_dashdash=
861: for ac_option
862: do
863: # If the previous option needs an argument, assign it.
864: if test -n "$ac_prev"; then
865: eval $ac_prev=\$ac_option
866: ac_prev=
867: continue
868: fi
869:
870: case $ac_option in
871: *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
872: *=) ac_optarg= ;;
873: *) ac_optarg=yes ;;
874: esac
875:
876: # Accept the important Cygnus configure options, so we can diagnose typos.
877:
878: case $ac_dashdash$ac_option in
879: --)
880: ac_dashdash=yes ;;
881:
882: -bindir | --bindir | --bindi | --bind | --bin | --bi)
883: ac_prev=bindir ;;
884: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
885: bindir=$ac_optarg ;;
886:
887: -build | --build | --buil | --bui | --bu)
888: ac_prev=build_alias ;;
889: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
890: build_alias=$ac_optarg ;;
891:
892: -cache-file | --cache-file | --cache-fil | --cache-fi \
893: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
894: ac_prev=cache_file ;;
895: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
896: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
897: cache_file=$ac_optarg ;;
898:
899: --config-cache | -C)
900: cache_file=config.cache ;;
901:
902: -datadir | --datadir | --datadi | --datad)
903: ac_prev=datadir ;;
904: -datadir=* | --datadir=* | --datadi=* | --datad=*)
905: datadir=$ac_optarg ;;
906:
907: -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
908: | --dataroo | --dataro | --datar)
909: ac_prev=datarootdir ;;
910: -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
911: | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
912: datarootdir=$ac_optarg ;;
913:
914: -disable-* | --disable-*)
915: ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
916: # Reject names that are not valid shell variable names.
917: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
918: as_fn_error $? "invalid feature name: $ac_useropt"
919: ac_useropt_orig=$ac_useropt
920: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
921: case $ac_user_opts in
922: *"
923: "enable_$ac_useropt"
924: "*) ;;
925: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
926: ac_unrecognized_sep=', ';;
927: esac
928: eval enable_$ac_useropt=no ;;
929:
930: -docdir | --docdir | --docdi | --doc | --do)
931: ac_prev=docdir ;;
932: -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
933: docdir=$ac_optarg ;;
934:
935: -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
936: ac_prev=dvidir ;;
937: -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
938: dvidir=$ac_optarg ;;
939:
940: -enable-* | --enable-*)
941: ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
942: # Reject names that are not valid shell variable names.
943: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
944: as_fn_error $? "invalid feature name: $ac_useropt"
945: ac_useropt_orig=$ac_useropt
946: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
947: case $ac_user_opts in
948: *"
949: "enable_$ac_useropt"
950: "*) ;;
951: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
952: ac_unrecognized_sep=', ';;
953: esac
954: eval enable_$ac_useropt=\$ac_optarg ;;
955:
956: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
957: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
958: | --exec | --exe | --ex)
959: ac_prev=exec_prefix ;;
960: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
961: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
962: | --exec=* | --exe=* | --ex=*)
963: exec_prefix=$ac_optarg ;;
964:
965: -gas | --gas | --ga | --g)
966: # Obsolete; use --with-gas.
967: with_gas=yes ;;
968:
969: -help | --help | --hel | --he | -h)
970: ac_init_help=long ;;
971: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
972: ac_init_help=recursive ;;
973: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
974: ac_init_help=short ;;
975:
976: -host | --host | --hos | --ho)
977: ac_prev=host_alias ;;
978: -host=* | --host=* | --hos=* | --ho=*)
979: host_alias=$ac_optarg ;;
980:
981: -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
982: ac_prev=htmldir ;;
983: -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
984: | --ht=*)
985: htmldir=$ac_optarg ;;
986:
987: -includedir | --includedir | --includedi | --included | --include \
988: | --includ | --inclu | --incl | --inc)
989: ac_prev=includedir ;;
990: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
991: | --includ=* | --inclu=* | --incl=* | --inc=*)
992: includedir=$ac_optarg ;;
993:
994: -infodir | --infodir | --infodi | --infod | --info | --inf)
995: ac_prev=infodir ;;
996: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
997: infodir=$ac_optarg ;;
998:
999: -libdir | --libdir | --libdi | --libd)
1000: ac_prev=libdir ;;
1001: -libdir=* | --libdir=* | --libdi=* | --libd=*)
1002: libdir=$ac_optarg ;;
1003:
1004: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1005: | --libexe | --libex | --libe)
1006: ac_prev=libexecdir ;;
1007: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1008: | --libexe=* | --libex=* | --libe=*)
1009: libexecdir=$ac_optarg ;;
1010:
1011: -localedir | --localedir | --localedi | --localed | --locale)
1012: ac_prev=localedir ;;
1013: -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1014: localedir=$ac_optarg ;;
1015:
1016: -localstatedir | --localstatedir | --localstatedi | --localstated \
1017: | --localstate | --localstat | --localsta | --localst | --locals)
1018: ac_prev=localstatedir ;;
1019: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1020: | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1021: localstatedir=$ac_optarg ;;
1022:
1023: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1024: ac_prev=mandir ;;
1025: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1026: mandir=$ac_optarg ;;
1027:
1028: -nfp | --nfp | --nf)
1029: # Obsolete; use --without-fp.
1030: with_fp=no ;;
1031:
1032: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1033: | --no-cr | --no-c | -n)
1034: no_create=yes ;;
1035:
1036: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1037: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1038: no_recursion=yes ;;
1039:
1040: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1041: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1042: | --oldin | --oldi | --old | --ol | --o)
1043: ac_prev=oldincludedir ;;
1044: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1045: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1046: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1047: oldincludedir=$ac_optarg ;;
1048:
1049: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1050: ac_prev=prefix ;;
1051: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1052: prefix=$ac_optarg ;;
1053:
1054: -program-prefix | --program-prefix | --program-prefi | --program-pref \
1055: | --program-pre | --program-pr | --program-p)
1056: ac_prev=program_prefix ;;
1057: -program-prefix=* | --program-prefix=* | --program-prefi=* \
1058: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1059: program_prefix=$ac_optarg ;;
1060:
1061: -program-suffix | --program-suffix | --program-suffi | --program-suff \
1062: | --program-suf | --program-su | --program-s)
1063: ac_prev=program_suffix ;;
1064: -program-suffix=* | --program-suffix=* | --program-suffi=* \
1065: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1066: program_suffix=$ac_optarg ;;
1067:
1068: -program-transform-name | --program-transform-name \
1069: | --program-transform-nam | --program-transform-na \
1070: | --program-transform-n | --program-transform- \
1071: | --program-transform | --program-transfor \
1072: | --program-transfo | --program-transf \
1073: | --program-trans | --program-tran \
1074: | --progr-tra | --program-tr | --program-t)
1075: ac_prev=program_transform_name ;;
1076: -program-transform-name=* | --program-transform-name=* \
1077: | --program-transform-nam=* | --program-transform-na=* \
1078: | --program-transform-n=* | --program-transform-=* \
1079: | --program-transform=* | --program-transfor=* \
1080: | --program-transfo=* | --program-transf=* \
1081: | --program-trans=* | --program-tran=* \
1082: | --progr-tra=* | --program-tr=* | --program-t=*)
1083: program_transform_name=$ac_optarg ;;
1084:
1085: -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1086: ac_prev=pdfdir ;;
1087: -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1088: pdfdir=$ac_optarg ;;
1089:
1090: -psdir | --psdir | --psdi | --psd | --ps)
1091: ac_prev=psdir ;;
1092: -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1093: psdir=$ac_optarg ;;
1094:
1095: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1096: | -silent | --silent | --silen | --sile | --sil)
1097: silent=yes ;;
1098:
1099: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1100: ac_prev=sbindir ;;
1101: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1102: | --sbi=* | --sb=*)
1103: sbindir=$ac_optarg ;;
1104:
1105: -sharedstatedir | --sharedstatedir | --sharedstatedi \
1106: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1107: | --sharedst | --shareds | --shared | --share | --shar \
1108: | --sha | --sh)
1109: ac_prev=sharedstatedir ;;
1110: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1111: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1112: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1113: | --sha=* | --sh=*)
1114: sharedstatedir=$ac_optarg ;;
1115:
1116: -site | --site | --sit)
1117: ac_prev=site ;;
1118: -site=* | --site=* | --sit=*)
1119: site=$ac_optarg ;;
1120:
1121: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1122: ac_prev=srcdir ;;
1123: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1124: srcdir=$ac_optarg ;;
1125:
1126: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1127: | --syscon | --sysco | --sysc | --sys | --sy)
1128: ac_prev=sysconfdir ;;
1129: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1130: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1131: sysconfdir=$ac_optarg ;;
1132:
1133: -target | --target | --targe | --targ | --tar | --ta | --t)
1134: ac_prev=target_alias ;;
1135: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1136: target_alias=$ac_optarg ;;
1137:
1138: -v | -verbose | --verbose | --verbos | --verbo | --verb)
1139: verbose=yes ;;
1140:
1141: -version | --version | --versio | --versi | --vers | -V)
1142: ac_init_version=: ;;
1143:
1144: -with-* | --with-*)
1145: ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1146: # Reject names that are not valid shell variable names.
1147: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1148: as_fn_error $? "invalid package name: $ac_useropt"
1149: ac_useropt_orig=$ac_useropt
1150: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1151: case $ac_user_opts in
1152: *"
1153: "with_$ac_useropt"
1154: "*) ;;
1155: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1156: ac_unrecognized_sep=', ';;
1157: esac
1158: eval with_$ac_useropt=\$ac_optarg ;;
1159:
1160: -without-* | --without-*)
1161: ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1162: # Reject names that are not valid shell variable names.
1163: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1164: as_fn_error $? "invalid package name: $ac_useropt"
1165: ac_useropt_orig=$ac_useropt
1166: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1167: case $ac_user_opts in
1168: *"
1169: "with_$ac_useropt"
1170: "*) ;;
1171: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1172: ac_unrecognized_sep=', ';;
1173: esac
1174: eval with_$ac_useropt=no ;;
1175:
1176: --x)
1177: # Obsolete; use --with-x.
1178: with_x=yes ;;
1179:
1180: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1181: | --x-incl | --x-inc | --x-in | --x-i)
1182: ac_prev=x_includes ;;
1183: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1184: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1185: x_includes=$ac_optarg ;;
1186:
1187: -x-libraries | --x-libraries | --x-librarie | --x-librari \
1188: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1189: ac_prev=x_libraries ;;
1190: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1191: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1192: x_libraries=$ac_optarg ;;
1193:
1194: -*) as_fn_error $? "unrecognized option: \`$ac_option'
1195: Try \`$0 --help' for more information"
1196: ;;
1197:
1198: *=*)
1199: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1200: # Reject names that are not valid shell variable names.
1201: case $ac_envvar in #(
1202: '' | [0-9]* | *[!_$as_cr_alnum]* )
1203: as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1204: esac
1205: eval $ac_envvar=\$ac_optarg
1206: export $ac_envvar ;;
1207:
1208: *)
1209: # FIXME: should be removed in autoconf 3.0.
1210: $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1211: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1212: $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1213: : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1214: ;;
1215:
1216: esac
1217: done
1218:
1219: if test -n "$ac_prev"; then
1220: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1221: as_fn_error $? "missing argument to $ac_option"
1222: fi
1223:
1224: if test -n "$ac_unrecognized_opts"; then
1225: case $enable_option_checking in
1226: no) ;;
1227: fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1228: *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1229: esac
1230: fi
1231:
1232: # Check all directory arguments for consistency.
1233: for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1234: datadir sysconfdir sharedstatedir localstatedir includedir \
1235: oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1.5 ! ohara 1236: libdir localedir mandir
1.1 noro 1237: do
1238: eval ac_val=\$$ac_var
1239: # Remove trailing slashes.
1240: case $ac_val in
1241: */ )
1242: ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1243: eval $ac_var=\$ac_val;;
1244: esac
1245: # Be sure to have absolute directory names.
1246: case $ac_val in
1247: [\\/$]* | ?:[\\/]* ) continue;;
1248: NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1249: esac
1250: as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1251: done
1252:
1253: # There might be people who depend on the old broken behavior: `$host'
1254: # used to hold the argument of --host etc.
1255: # FIXME: To remove some day.
1256: build=$build_alias
1257: host=$host_alias
1258: target=$target_alias
1259:
1260: # FIXME: To remove some day.
1261: if test "x$host_alias" != x; then
1262: if test "x$build_alias" = x; then
1263: cross_compiling=maybe
1264: elif test "x$build_alias" != "x$host_alias"; then
1265: cross_compiling=yes
1266: fi
1267: fi
1268:
1269: ac_tool_prefix=
1270: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1271:
1272: test "$silent" = yes && exec 6>/dev/null
1273:
1274:
1275: ac_pwd=`pwd` && test -n "$ac_pwd" &&
1276: ac_ls_di=`ls -di .` &&
1277: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1278: as_fn_error $? "working directory cannot be determined"
1279: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1280: as_fn_error $? "pwd does not report name of working directory"
1281:
1282:
1283: # Find the source files, if location was not specified.
1284: if test -z "$srcdir"; then
1285: ac_srcdir_defaulted=yes
1286: # Try the directory containing this script, then the parent directory.
1287: ac_confdir=`$as_dirname -- "$as_myself" ||
1288: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1289: X"$as_myself" : 'X\(//\)[^/]' \| \
1290: X"$as_myself" : 'X\(//\)$' \| \
1291: X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1292: $as_echo X"$as_myself" |
1293: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1294: s//\1/
1295: q
1296: }
1297: /^X\(\/\/\)[^/].*/{
1298: s//\1/
1299: q
1300: }
1301: /^X\(\/\/\)$/{
1302: s//\1/
1303: q
1304: }
1305: /^X\(\/\).*/{
1306: s//\1/
1307: q
1308: }
1309: s/.*/./; q'`
1310: srcdir=$ac_confdir
1311: if test ! -r "$srcdir/$ac_unique_file"; then
1312: srcdir=..
1313: fi
1314: else
1315: ac_srcdir_defaulted=no
1316: fi
1317: if test ! -r "$srcdir/$ac_unique_file"; then
1318: test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1319: as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1320: fi
1321: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1322: ac_abs_confdir=`(
1323: cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1324: pwd)`
1325: # When building in place, set srcdir=.
1326: if test "$ac_abs_confdir" = "$ac_pwd"; then
1327: srcdir=.
1328: fi
1329: # Remove unnecessary trailing slashes from srcdir.
1330: # Double slashes in file names in object file debugging info
1331: # mess up M-x gdb in Emacs.
1332: case $srcdir in
1333: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1334: esac
1335: for ac_var in $ac_precious_vars; do
1336: eval ac_env_${ac_var}_set=\${${ac_var}+set}
1337: eval ac_env_${ac_var}_value=\$${ac_var}
1338: eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1339: eval ac_cv_env_${ac_var}_value=\$${ac_var}
1340: done
1341:
1342: #
1343: # Report the --help message.
1344: #
1345: if test "$ac_init_help" = "long"; then
1346: # Omit some internal or obsolete options to make the list less imposing.
1347: # This message is too long to be a string in the A/UX 3.1 sh.
1348: cat <<_ACEOF
1.5 ! ohara 1349: \`configure' configures asir 1.16 to adapt to many kinds of systems.
1.1 noro 1350:
1351: Usage: $0 [OPTION]... [VAR=VALUE]...
1352:
1353: To assign environment variables (e.g., CC, CFLAGS...), specify them as
1354: VAR=VALUE. See below for descriptions of some of the useful variables.
1355:
1356: Defaults for the options are specified in brackets.
1357:
1358: Configuration:
1359: -h, --help display this help and exit
1360: --help=short display options specific to this package
1361: --help=recursive display the short help of all the included packages
1362: -V, --version display version information and exit
1363: -q, --quiet, --silent do not print \`checking ...' messages
1364: --cache-file=FILE cache test results in FILE [disabled]
1365: -C, --config-cache alias for \`--cache-file=config.cache'
1366: -n, --no-create do not create output files
1367: --srcdir=DIR find the sources in DIR [configure dir or \`..']
1368:
1369: Installation directories:
1370: --prefix=PREFIX install architecture-independent files in PREFIX
1371: [$ac_default_prefix]
1372: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1373: [PREFIX]
1374:
1375: By default, \`make install' will install all the files in
1376: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1377: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1378: for instance \`--prefix=\$HOME'.
1379:
1380: For better control, use the options below.
1381:
1382: Fine tuning of the installation directories:
1383: --bindir=DIR user executables [EPREFIX/bin]
1384: --sbindir=DIR system admin executables [EPREFIX/sbin]
1385: --libexecdir=DIR program executables [EPREFIX/libexec]
1386: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1387: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1388: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1389: --libdir=DIR object code libraries [EPREFIX/lib]
1390: --includedir=DIR C header files [PREFIX/include]
1391: --oldincludedir=DIR C header files for non-gcc [/usr/include]
1392: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1393: --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1394: --infodir=DIR info documentation [DATAROOTDIR/info]
1395: --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1396: --mandir=DIR man documentation [DATAROOTDIR/man]
1397: --docdir=DIR documentation root [DATAROOTDIR/doc/asir]
1398: --htmldir=DIR html documentation [DOCDIR]
1399: --dvidir=DIR dvi documentation [DOCDIR]
1400: --pdfdir=DIR pdf documentation [DOCDIR]
1401: --psdir=DIR ps documentation [DOCDIR]
1402: _ACEOF
1403:
1404: cat <<\_ACEOF
1405:
1406: Program names:
1407: --program-prefix=PREFIX prepend PREFIX to installed program names
1408: --program-suffix=SUFFIX append SUFFIX to installed program names
1409: --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1410:
1411: X features:
1412: --x-includes=DIR X include files are in DIR
1413: --x-libraries=DIR X library files are in DIR
1414:
1415: System types:
1416: --build=BUILD configure for building on BUILD [guessed]
1417: --host=HOST cross-compile to build programs to run on HOST [BUILD]
1418: --target=TARGET configure for building compilers for TARGET [HOST]
1419: _ACEOF
1420: fi
1421:
1422: if test -n "$ac_init_help"; then
1423: case $ac_init_help in
1.5 ! ohara 1424: short | recursive ) echo "Configuration of asir 1.16:";;
1.1 noro 1425: esac
1426: cat <<\_ACEOF
1427:
1428: Optional Features:
1429: --disable-option-checking ignore unrecognized --enable/--with options
1430: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1431: --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1432: --enable-silent-rules less verbose build output (undo: "make V=1")
1433: --disable-silent-rules verbose build output (undo: "make V=0")
1434: --enable-maintainer-mode
1435: enable make rules and dependencies not useful (and
1436: sometimes confusing) to the casual installer
1.5 ! ohara 1437: --enable-shared[=PKGS] build shared libraries [default=yes]
! 1438: --enable-static[=PKGS] build static libraries [default=yes]
! 1439: --enable-fast-install[=PKGS]
! 1440: optimize for fast installation [default=yes]
1.1 noro 1441: --enable-dependency-tracking
1442: do not reject slow dependency extractors
1443: --disable-dependency-tracking
1444: speeds up one-time build
1.5 ! ohara 1445: --disable-libtool-lock avoid locking (might break parallel builds)
1.1 noro 1446: --enable-shared enable linking shared libraries. [no]
1447: --enable-plot enable plot feature. [no]
1448: --enable-static-gmp force to link statically with gmp. [no]
1449: --enable-interval enable interval feature. [no]
1450: --enable-fft-float enable FFT-FLOAT feature. [no]
1451:
1452: Optional Packages:
1453: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1454: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1.5 ! ohara 1455: --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
! 1456: both]
! 1457: --with-aix-soname=aix|svr4|both
! 1458: shared library versioning (aka "SONAME") variant to
! 1459: provide on AIX, [default=aix].
! 1460: --with-gnu-ld assume the C compiler uses GNU ld [default=no]
! 1461: --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
! 1462: compiler's sysroot if not specified).
1.1 noro 1463: --with-x use the X Window System
1464: --with-asir-gc modify Boehm's GC [yes]
1465: --with-mpi use the MPI library. [no]
1466:
1467: Some influential environment variables:
1468: CC C compiler command
1469: CFLAGS C compiler flags
1470: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1471: nonstandard directory <lib dir>
1472: LIBS libraries to pass to the linker, e.g. -l<library>
1473: CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1474: you have headers in a nonstandard directory <include dir>
1.5 ! ohara 1475: LT_SYS_LIBRARY_PATH
! 1476: User-defined run-time library search path.
! 1477: CPP C preprocessor
1.1 noro 1478: YACC The `Yet Another Compiler Compiler' implementation to use.
1.5 ! ohara 1479: Defaults to the first program found out of: `bison -o y.tab.c',
! 1480: `byacc', `yacc'.
1.1 noro 1481: YFLAGS The list of arguments that will be passed by default to $YACC.
1482: This script will default YFLAGS to the empty string to avoid a
1483: default value of `-d' given by some make applications.
1484: XMKMF Path to xmkmf, Makefile generator for X Window System
1485:
1486: Use these variables to override the choices made by `configure' or to help
1487: it to find libraries and programs with nonstandard names/locations.
1488:
1489: Report bugs to the package provider.
1490: _ACEOF
1491: ac_status=$?
1492: fi
1493:
1494: if test "$ac_init_help" = "recursive"; then
1495: # If there are subdirs, report their specific --help.
1496: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1497: test -d "$ac_dir" ||
1498: { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1499: continue
1500: ac_builddir=.
1501:
1502: case "$ac_dir" in
1503: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1504: *)
1505: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1506: # A ".." for each directory in $ac_dir_suffix.
1507: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1508: case $ac_top_builddir_sub in
1509: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1510: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1511: esac ;;
1512: esac
1513: ac_abs_top_builddir=$ac_pwd
1514: ac_abs_builddir=$ac_pwd$ac_dir_suffix
1515: # for backward compatibility:
1516: ac_top_builddir=$ac_top_build_prefix
1517:
1518: case $srcdir in
1519: .) # We are building in place.
1520: ac_srcdir=.
1521: ac_top_srcdir=$ac_top_builddir_sub
1522: ac_abs_top_srcdir=$ac_pwd ;;
1523: [\\/]* | ?:[\\/]* ) # Absolute name.
1524: ac_srcdir=$srcdir$ac_dir_suffix;
1525: ac_top_srcdir=$srcdir
1526: ac_abs_top_srcdir=$srcdir ;;
1527: *) # Relative name.
1528: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1529: ac_top_srcdir=$ac_top_build_prefix$srcdir
1530: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1531: esac
1532: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1533:
1534: cd "$ac_dir" || { ac_status=$?; continue; }
1535: # Check for guested configure.
1536: if test -f "$ac_srcdir/configure.gnu"; then
1537: echo &&
1538: $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1539: elif test -f "$ac_srcdir/configure"; then
1540: echo &&
1541: $SHELL "$ac_srcdir/configure" --help=recursive
1542: else
1543: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1544: fi || ac_status=$?
1545: cd "$ac_pwd" || { ac_status=$?; break; }
1546: done
1547: fi
1548:
1549: test -n "$ac_init_help" && exit $ac_status
1550: if $ac_init_version; then
1551: cat <<\_ACEOF
1.5 ! ohara 1552: asir configure 1.16
1.1 noro 1553: generated by GNU Autoconf 2.69
1554:
1555: Copyright (C) 2012 Free Software Foundation, Inc.
1556: This configure script is free software; the Free Software Foundation
1557: gives unlimited permission to copy, distribute and modify it.
1558: _ACEOF
1559: exit
1560: fi
1561:
1562: ## ------------------------ ##
1563: ## Autoconf initialization. ##
1564: ## ------------------------ ##
1565:
1566: # ac_fn_c_try_compile LINENO
1567: # --------------------------
1568: # Try to compile conftest.$ac_ext, and return whether this succeeded.
1569: ac_fn_c_try_compile ()
1570: {
1571: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1572: rm -f conftest.$ac_objext
1573: if { { ac_try="$ac_compile"
1574: case "(($ac_try" in
1575: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1576: *) ac_try_echo=$ac_try;;
1577: esac
1578: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1579: $as_echo "$ac_try_echo"; } >&5
1580: (eval "$ac_compile") 2>conftest.err
1581: ac_status=$?
1582: if test -s conftest.err; then
1583: grep -v '^ *+' conftest.err >conftest.er1
1584: cat conftest.er1 >&5
1585: mv -f conftest.er1 conftest.err
1586: fi
1587: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1588: test $ac_status = 0; } && {
1589: test -z "$ac_c_werror_flag" ||
1590: test ! -s conftest.err
1591: } && test -s conftest.$ac_objext; then :
1592: ac_retval=0
1593: else
1594: $as_echo "$as_me: failed program was:" >&5
1595: sed 's/^/| /' conftest.$ac_ext >&5
1596:
1597: ac_retval=1
1598: fi
1599: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1600: as_fn_set_status $ac_retval
1601:
1602: } # ac_fn_c_try_compile
1603:
1.5 ! ohara 1604: # ac_fn_c_try_link LINENO
! 1605: # -----------------------
! 1606: # Try to link conftest.$ac_ext, and return whether this succeeded.
! 1607: ac_fn_c_try_link ()
! 1608: {
! 1609: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1610: rm -f conftest.$ac_objext conftest$ac_exeext
! 1611: if { { ac_try="$ac_link"
! 1612: case "(($ac_try" in
! 1613: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 1614: *) ac_try_echo=$ac_try;;
! 1615: esac
! 1616: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 1617: $as_echo "$ac_try_echo"; } >&5
! 1618: (eval "$ac_link") 2>conftest.err
! 1619: ac_status=$?
! 1620: if test -s conftest.err; then
! 1621: grep -v '^ *+' conftest.err >conftest.er1
! 1622: cat conftest.er1 >&5
! 1623: mv -f conftest.er1 conftest.err
! 1624: fi
! 1625: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 1626: test $ac_status = 0; } && {
! 1627: test -z "$ac_c_werror_flag" ||
! 1628: test ! -s conftest.err
! 1629: } && test -s conftest$ac_exeext && {
! 1630: test "$cross_compiling" = yes ||
! 1631: test -x conftest$ac_exeext
! 1632: }; then :
! 1633: ac_retval=0
! 1634: else
! 1635: $as_echo "$as_me: failed program was:" >&5
! 1636: sed 's/^/| /' conftest.$ac_ext >&5
! 1637:
! 1638: ac_retval=1
! 1639: fi
! 1640: # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
! 1641: # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
! 1642: # interfere with the next link command; also delete a directory that is
! 1643: # left behind by Apple's compiler. We do this before executing the actions.
! 1644: rm -rf conftest.dSYM conftest_ipa8_conftest.oo
! 1645: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 1646: as_fn_set_status $ac_retval
! 1647:
! 1648: } # ac_fn_c_try_link
! 1649:
! 1650: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
! 1651: # -------------------------------------------------------
! 1652: # Tests whether HEADER exists and can be compiled using the include files in
! 1653: # INCLUDES, setting the cache variable VAR accordingly.
! 1654: ac_fn_c_check_header_compile ()
! 1655: {
! 1656: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
! 1657: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
! 1658: $as_echo_n "checking for $2... " >&6; }
! 1659: if eval \${$3+:} false; then :
! 1660: $as_echo_n "(cached) " >&6
! 1661: else
! 1662: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 1663: /* end confdefs.h. */
! 1664: $4
! 1665: #include <$2>
! 1666: _ACEOF
! 1667: if ac_fn_c_try_compile "$LINENO"; then :
! 1668: eval "$3=yes"
! 1669: else
! 1670: eval "$3=no"
! 1671: fi
! 1672: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 1673: fi
! 1674: eval ac_res=\$$3
! 1675: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
! 1676: $as_echo "$ac_res" >&6; }
! 1677: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
! 1678:
! 1679: } # ac_fn_c_check_header_compile
! 1680:
1.1 noro 1681: # ac_fn_c_try_cpp LINENO
1682: # ----------------------
1683: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1684: ac_fn_c_try_cpp ()
1685: {
1686: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1687: if { { ac_try="$ac_cpp conftest.$ac_ext"
1688: case "(($ac_try" in
1689: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1690: *) ac_try_echo=$ac_try;;
1691: esac
1692: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1693: $as_echo "$ac_try_echo"; } >&5
1694: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1695: ac_status=$?
1696: if test -s conftest.err; then
1697: grep -v '^ *+' conftest.err >conftest.er1
1698: cat conftest.er1 >&5
1699: mv -f conftest.er1 conftest.err
1700: fi
1701: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1702: test $ac_status = 0; } > conftest.i && {
1703: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1704: test ! -s conftest.err
1705: }; then :
1706: ac_retval=0
1707: else
1708: $as_echo "$as_me: failed program was:" >&5
1709: sed 's/^/| /' conftest.$ac_ext >&5
1710:
1711: ac_retval=1
1712: fi
1713: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1714: as_fn_set_status $ac_retval
1715:
1716: } # ac_fn_c_try_cpp
1717:
1.5 ! ohara 1718: # ac_fn_c_try_run LINENO
! 1719: # ----------------------
! 1720: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
! 1721: # that executables *can* be run.
! 1722: ac_fn_c_try_run ()
1.1 noro 1723: {
1724: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1725: if { { ac_try="$ac_link"
1726: case "(($ac_try" in
1727: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1728: *) ac_try_echo=$ac_try;;
1729: esac
1730: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1731: $as_echo "$ac_try_echo"; } >&5
1.5 ! ohara 1732: (eval "$ac_link") 2>&5
! 1733: ac_status=$?
! 1734: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 1735: test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
! 1736: { { case "(($ac_try" in
! 1737: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 1738: *) ac_try_echo=$ac_try;;
! 1739: esac
! 1740: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 1741: $as_echo "$ac_try_echo"; } >&5
! 1742: (eval "$ac_try") 2>&5
1.1 noro 1743: ac_status=$?
1744: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.5 ! ohara 1745: test $ac_status = 0; }; }; then :
1.1 noro 1746: ac_retval=0
1747: else
1.5 ! ohara 1748: $as_echo "$as_me: program exited with status $ac_status" >&5
! 1749: $as_echo "$as_me: failed program was:" >&5
1.1 noro 1750: sed 's/^/| /' conftest.$ac_ext >&5
1751:
1.5 ! ohara 1752: ac_retval=$ac_status
1.1 noro 1753: fi
1754: rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1755: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1756: as_fn_set_status $ac_retval
1757:
1.5 ! ohara 1758: } # ac_fn_c_try_run
1.1 noro 1759:
1760: # ac_fn_c_check_func LINENO FUNC VAR
1761: # ----------------------------------
1762: # Tests whether FUNC exists, setting the cache variable VAR accordingly
1763: ac_fn_c_check_func ()
1764: {
1765: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1766: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1767: $as_echo_n "checking for $2... " >&6; }
1768: if eval \${$3+:} false; then :
1769: $as_echo_n "(cached) " >&6
1770: else
1771: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1772: /* end confdefs.h. */
1773: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1774: For example, HP-UX 11i <limits.h> declares gettimeofday. */
1775: #define $2 innocuous_$2
1776:
1777: /* System header to define __stub macros and hopefully few prototypes,
1778: which can conflict with char $2 (); below.
1779: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1780: <limits.h> exists even on freestanding compilers. */
1781:
1782: #ifdef __STDC__
1783: # include <limits.h>
1784: #else
1785: # include <assert.h>
1786: #endif
1787:
1788: #undef $2
1789:
1790: /* Override any GCC internal prototype to avoid an error.
1791: Use char because int might match the return type of a GCC
1792: builtin and then its argument prototype would still apply. */
1793: #ifdef __cplusplus
1794: extern "C"
1795: #endif
1796: char $2 ();
1797: /* The GNU C library defines this for functions which it implements
1798: to always fail with ENOSYS. Some functions are actually named
1799: something starting with __ and the normal name is an alias. */
1800: #if defined __stub_$2 || defined __stub___$2
1801: choke me
1802: #endif
1803:
1804: int
1805: main ()
1806: {
1807: return $2 ();
1808: ;
1809: return 0;
1810: }
1811: _ACEOF
1812: if ac_fn_c_try_link "$LINENO"; then :
1813: eval "$3=yes"
1814: else
1815: eval "$3=no"
1816: fi
1817: rm -f core conftest.err conftest.$ac_objext \
1818: conftest$ac_exeext conftest.$ac_ext
1819: fi
1820: eval ac_res=\$$3
1821: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1822: $as_echo "$ac_res" >&6; }
1823: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1824:
1825: } # ac_fn_c_check_func
1826:
1827: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1828: # -------------------------------------------
1829: # Tests whether TYPE exists after having included INCLUDES, setting cache
1830: # variable VAR accordingly.
1831: ac_fn_c_check_type ()
1832: {
1833: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1834: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1835: $as_echo_n "checking for $2... " >&6; }
1836: if eval \${$3+:} false; then :
1837: $as_echo_n "(cached) " >&6
1838: else
1839: eval "$3=no"
1840: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1841: /* end confdefs.h. */
1842: $4
1843: int
1844: main ()
1845: {
1846: if (sizeof ($2))
1847: return 0;
1848: ;
1849: return 0;
1850: }
1851: _ACEOF
1852: if ac_fn_c_try_compile "$LINENO"; then :
1853: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1854: /* end confdefs.h. */
1855: $4
1856: int
1857: main ()
1858: {
1859: if (sizeof (($2)))
1860: return 0;
1861: ;
1862: return 0;
1863: }
1864: _ACEOF
1865: if ac_fn_c_try_compile "$LINENO"; then :
1866:
1867: else
1868: eval "$3=yes"
1869: fi
1870: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1871: fi
1872: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1873: fi
1874: eval ac_res=\$$3
1875: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1876: $as_echo "$ac_res" >&6; }
1877: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1878:
1879: } # ac_fn_c_check_type
1880:
1881: # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1882: # --------------------------------------------
1883: # Tries to find the compile-time value of EXPR in a program that includes
1884: # INCLUDES, setting VAR accordingly. Returns whether the value could be
1885: # computed
1886: ac_fn_c_compute_int ()
1887: {
1888: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1889: if test "$cross_compiling" = yes; then
1890: # Depending upon the size, compute the lo and hi bounds.
1891: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1892: /* end confdefs.h. */
1893: $4
1894: int
1895: main ()
1896: {
1897: static int test_array [1 - 2 * !(($2) >= 0)];
1898: test_array [0] = 0;
1899: return test_array [0];
1900:
1901: ;
1902: return 0;
1903: }
1904: _ACEOF
1905: if ac_fn_c_try_compile "$LINENO"; then :
1906: ac_lo=0 ac_mid=0
1907: while :; do
1908: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1909: /* end confdefs.h. */
1910: $4
1911: int
1912: main ()
1913: {
1914: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1915: test_array [0] = 0;
1916: return test_array [0];
1917:
1918: ;
1919: return 0;
1920: }
1921: _ACEOF
1922: if ac_fn_c_try_compile "$LINENO"; then :
1923: ac_hi=$ac_mid; break
1924: else
1925: as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1926: if test $ac_lo -le $ac_mid; then
1927: ac_lo= ac_hi=
1928: break
1929: fi
1930: as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1931: fi
1932: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1933: done
1934: else
1935: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1936: /* end confdefs.h. */
1937: $4
1938: int
1939: main ()
1940: {
1941: static int test_array [1 - 2 * !(($2) < 0)];
1942: test_array [0] = 0;
1943: return test_array [0];
1944:
1945: ;
1946: return 0;
1947: }
1948: _ACEOF
1949: if ac_fn_c_try_compile "$LINENO"; then :
1950: ac_hi=-1 ac_mid=-1
1951: while :; do
1952: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1953: /* end confdefs.h. */
1954: $4
1955: int
1956: main ()
1957: {
1958: static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1959: test_array [0] = 0;
1960: return test_array [0];
1961:
1962: ;
1963: return 0;
1964: }
1965: _ACEOF
1966: if ac_fn_c_try_compile "$LINENO"; then :
1967: ac_lo=$ac_mid; break
1968: else
1969: as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1970: if test $ac_mid -le $ac_hi; then
1971: ac_lo= ac_hi=
1972: break
1973: fi
1974: as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1975: fi
1976: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1977: done
1978: else
1979: ac_lo= ac_hi=
1980: fi
1981: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1982: fi
1983: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1984: # Binary search between lo and hi bounds.
1985: while test "x$ac_lo" != "x$ac_hi"; do
1986: as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1987: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1988: /* end confdefs.h. */
1989: $4
1990: int
1991: main ()
1992: {
1993: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1994: test_array [0] = 0;
1995: return test_array [0];
1996:
1997: ;
1998: return 0;
1999: }
2000: _ACEOF
2001: if ac_fn_c_try_compile "$LINENO"; then :
2002: ac_hi=$ac_mid
2003: else
2004: as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2005: fi
2006: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2007: done
2008: case $ac_lo in #((
2009: ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2010: '') ac_retval=1 ;;
2011: esac
2012: else
2013: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2014: /* end confdefs.h. */
2015: $4
2016: static long int longval () { return $2; }
2017: static unsigned long int ulongval () { return $2; }
2018: #include <stdio.h>
2019: #include <stdlib.h>
2020: int
2021: main ()
2022: {
2023:
2024: FILE *f = fopen ("conftest.val", "w");
2025: if (! f)
2026: return 1;
2027: if (($2) < 0)
2028: {
2029: long int i = longval ();
2030: if (i != ($2))
2031: return 1;
2032: fprintf (f, "%ld", i);
2033: }
2034: else
2035: {
2036: unsigned long int i = ulongval ();
2037: if (i != ($2))
2038: return 1;
2039: fprintf (f, "%lu", i);
2040: }
2041: /* Do not output a trailing newline, as this causes \r\n confusion
2042: on some platforms. */
2043: return ferror (f) || fclose (f) != 0;
2044:
2045: ;
2046: return 0;
2047: }
2048: _ACEOF
2049: if ac_fn_c_try_run "$LINENO"; then :
2050: echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2051: else
2052: ac_retval=1
2053: fi
2054: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2055: conftest.$ac_objext conftest.beam conftest.$ac_ext
2056: rm -f conftest.val
2057:
2058: fi
2059: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2060: as_fn_set_status $ac_retval
2061:
2062: } # ac_fn_c_compute_int
2063: cat >config.log <<_ACEOF
2064: This file contains any messages produced by compilers while
2065: running configure, to aid debugging if configure makes a mistake.
2066:
1.5 ! ohara 2067: It was created by asir $as_me 1.16, which was
1.1 noro 2068: generated by GNU Autoconf 2.69. Invocation command line was
2069:
2070: $ $0 $@
2071:
2072: _ACEOF
2073: exec 5>>config.log
2074: {
2075: cat <<_ASUNAME
2076: ## --------- ##
2077: ## Platform. ##
2078: ## --------- ##
2079:
2080: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2081: uname -m = `(uname -m) 2>/dev/null || echo unknown`
2082: uname -r = `(uname -r) 2>/dev/null || echo unknown`
2083: uname -s = `(uname -s) 2>/dev/null || echo unknown`
2084: uname -v = `(uname -v) 2>/dev/null || echo unknown`
2085:
2086: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2087: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2088:
2089: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2090: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2091: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2092: /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2093: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2094: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2095: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2096:
2097: _ASUNAME
2098:
2099: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2100: for as_dir in $PATH
2101: do
2102: IFS=$as_save_IFS
2103: test -z "$as_dir" && as_dir=.
2104: $as_echo "PATH: $as_dir"
2105: done
2106: IFS=$as_save_IFS
2107:
2108: } >&5
2109:
2110: cat >&5 <<_ACEOF
2111:
2112:
2113: ## ----------- ##
2114: ## Core tests. ##
2115: ## ----------- ##
2116:
2117: _ACEOF
2118:
2119:
2120: # Keep a trace of the command line.
2121: # Strip out --no-create and --no-recursion so they do not pile up.
2122: # Strip out --silent because we don't want to record it for future runs.
2123: # Also quote any args containing shell meta-characters.
2124: # Make two passes to allow for proper duplicate-argument suppression.
2125: ac_configure_args=
2126: ac_configure_args0=
2127: ac_configure_args1=
2128: ac_must_keep_next=false
2129: for ac_pass in 1 2
2130: do
2131: for ac_arg
2132: do
2133: case $ac_arg in
2134: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2135: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2136: | -silent | --silent | --silen | --sile | --sil)
2137: continue ;;
2138: *\'*)
2139: ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2140: esac
2141: case $ac_pass in
2142: 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2143: 2)
2144: as_fn_append ac_configure_args1 " '$ac_arg'"
2145: if test $ac_must_keep_next = true; then
2146: ac_must_keep_next=false # Got value, back to normal.
2147: else
2148: case $ac_arg in
2149: *=* | --config-cache | -C | -disable-* | --disable-* \
2150: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2151: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2152: | -with-* | --with-* | -without-* | --without-* | --x)
2153: case "$ac_configure_args0 " in
2154: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2155: esac
2156: ;;
2157: -* ) ac_must_keep_next=true ;;
2158: esac
2159: fi
2160: as_fn_append ac_configure_args " '$ac_arg'"
2161: ;;
2162: esac
2163: done
2164: done
2165: { ac_configure_args0=; unset ac_configure_args0;}
2166: { ac_configure_args1=; unset ac_configure_args1;}
2167:
2168: # When interrupted or exit'd, cleanup temporary files, and complete
2169: # config.log. We remove comments because anyway the quotes in there
2170: # would cause problems or look ugly.
2171: # WARNING: Use '\'' to represent an apostrophe within the trap.
2172: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2173: trap 'exit_status=$?
2174: # Save into config.log some information that might help in debugging.
2175: {
2176: echo
2177:
2178: $as_echo "## ---------------- ##
2179: ## Cache variables. ##
2180: ## ---------------- ##"
2181: echo
2182: # The following way of writing the cache mishandles newlines in values,
2183: (
2184: for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2185: eval ac_val=\$$ac_var
2186: case $ac_val in #(
2187: *${as_nl}*)
2188: case $ac_var in #(
2189: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2190: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2191: esac
2192: case $ac_var in #(
2193: _ | IFS | as_nl) ;; #(
2194: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2195: *) { eval $ac_var=; unset $ac_var;} ;;
2196: esac ;;
2197: esac
2198: done
2199: (set) 2>&1 |
2200: case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2201: *${as_nl}ac_space=\ *)
2202: sed -n \
2203: "s/'\''/'\''\\\\'\'''\''/g;
2204: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2205: ;; #(
2206: *)
2207: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2208: ;;
2209: esac |
2210: sort
2211: )
2212: echo
2213:
2214: $as_echo "## ----------------- ##
2215: ## Output variables. ##
2216: ## ----------------- ##"
2217: echo
2218: for ac_var in $ac_subst_vars
2219: do
2220: eval ac_val=\$$ac_var
2221: case $ac_val in
2222: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2223: esac
2224: $as_echo "$ac_var='\''$ac_val'\''"
2225: done | sort
2226: echo
2227:
2228: if test -n "$ac_subst_files"; then
2229: $as_echo "## ------------------- ##
2230: ## File substitutions. ##
2231: ## ------------------- ##"
2232: echo
2233: for ac_var in $ac_subst_files
2234: do
2235: eval ac_val=\$$ac_var
2236: case $ac_val in
2237: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2238: esac
2239: $as_echo "$ac_var='\''$ac_val'\''"
2240: done | sort
2241: echo
2242: fi
2243:
2244: if test -s confdefs.h; then
2245: $as_echo "## ----------- ##
2246: ## confdefs.h. ##
2247: ## ----------- ##"
2248: echo
2249: cat confdefs.h
2250: echo
2251: fi
2252: test "$ac_signal" != 0 &&
2253: $as_echo "$as_me: caught signal $ac_signal"
2254: $as_echo "$as_me: exit $exit_status"
2255: } >&5
2256: rm -f core *.core core.conftest.* &&
2257: rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2258: exit $exit_status
2259: ' 0
2260: for ac_signal in 1 2 13 15; do
2261: trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2262: done
2263: ac_signal=0
2264:
2265: # confdefs.h avoids OS command line length limits that DEFS can exceed.
2266: rm -f -r conftest* confdefs.h
2267:
2268: $as_echo "/* confdefs.h */" > confdefs.h
2269:
2270: # Predefined preprocessor variables.
2271:
2272: cat >>confdefs.h <<_ACEOF
2273: #define PACKAGE_NAME "$PACKAGE_NAME"
2274: _ACEOF
2275:
2276: cat >>confdefs.h <<_ACEOF
2277: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2278: _ACEOF
2279:
2280: cat >>confdefs.h <<_ACEOF
2281: #define PACKAGE_VERSION "$PACKAGE_VERSION"
2282: _ACEOF
2283:
2284: cat >>confdefs.h <<_ACEOF
2285: #define PACKAGE_STRING "$PACKAGE_STRING"
2286: _ACEOF
2287:
2288: cat >>confdefs.h <<_ACEOF
2289: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2290: _ACEOF
2291:
2292: cat >>confdefs.h <<_ACEOF
2293: #define PACKAGE_URL "$PACKAGE_URL"
2294: _ACEOF
2295:
2296:
2297: # Let the site file select an alternate cache file if it wants to.
2298: # Prefer an explicitly selected file to automatically selected ones.
2299: ac_site_file1=NONE
2300: ac_site_file2=NONE
2301: if test -n "$CONFIG_SITE"; then
2302: # We do not want a PATH search for config.site.
2303: case $CONFIG_SITE in #((
2304: -*) ac_site_file1=./$CONFIG_SITE;;
2305: */*) ac_site_file1=$CONFIG_SITE;;
2306: *) ac_site_file1=./$CONFIG_SITE;;
2307: esac
2308: elif test "x$prefix" != xNONE; then
2309: ac_site_file1=$prefix/share/config.site
2310: ac_site_file2=$prefix/etc/config.site
2311: else
2312: ac_site_file1=$ac_default_prefix/share/config.site
2313: ac_site_file2=$ac_default_prefix/etc/config.site
2314: fi
2315: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2316: do
2317: test "x$ac_site_file" = xNONE && continue
2318: if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2319: { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2320: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2321: sed 's/^/| /' "$ac_site_file" >&5
2322: . "$ac_site_file" \
2323: || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2324: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2325: as_fn_error $? "failed to load site script $ac_site_file
2326: See \`config.log' for more details" "$LINENO" 5; }
2327: fi
2328: done
2329:
2330: if test -r "$cache_file"; then
2331: # Some versions of bash will fail to source /dev/null (special files
2332: # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2333: if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2334: { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2335: $as_echo "$as_me: loading cache $cache_file" >&6;}
2336: case $cache_file in
2337: [\\/]* | ?:[\\/]* ) . "$cache_file";;
2338: *) . "./$cache_file";;
2339: esac
2340: fi
2341: else
2342: { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2343: $as_echo "$as_me: creating cache $cache_file" >&6;}
2344: >$cache_file
2345: fi
2346:
2347: # Check that the precious variables saved in the cache have kept the same
2348: # value.
2349: ac_cache_corrupted=false
2350: for ac_var in $ac_precious_vars; do
2351: eval ac_old_set=\$ac_cv_env_${ac_var}_set
2352: eval ac_new_set=\$ac_env_${ac_var}_set
2353: eval ac_old_val=\$ac_cv_env_${ac_var}_value
2354: eval ac_new_val=\$ac_env_${ac_var}_value
2355: case $ac_old_set,$ac_new_set in
2356: set,)
2357: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2358: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2359: ac_cache_corrupted=: ;;
2360: ,set)
2361: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2362: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2363: ac_cache_corrupted=: ;;
2364: ,);;
2365: *)
2366: if test "x$ac_old_val" != "x$ac_new_val"; then
2367: # differences in whitespace do not lead to failure.
2368: ac_old_val_w=`echo x $ac_old_val`
2369: ac_new_val_w=`echo x $ac_new_val`
2370: if test "$ac_old_val_w" != "$ac_new_val_w"; then
2371: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2372: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2373: ac_cache_corrupted=:
2374: else
2375: { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2376: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2377: eval $ac_var=\$ac_old_val
2378: fi
2379: { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2380: $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2381: { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2382: $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2383: fi;;
2384: esac
2385: # Pass precious variables to config.status.
2386: if test "$ac_new_set" = set; then
2387: case $ac_new_val in
2388: *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2389: *) ac_arg=$ac_var=$ac_new_val ;;
2390: esac
2391: case " $ac_configure_args " in
2392: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2393: *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2394: esac
2395: fi
2396: done
2397: if $ac_cache_corrupted; then
2398: { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2399: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2400: { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2401: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2402: as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2403: fi
2404: ## -------------------- ##
2405: ## Main body of script. ##
2406: ## -------------------- ##
2407:
2408: ac_ext=c
2409: ac_cpp='$CPP $CPPFLAGS'
2410: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2411: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2412: ac_compiler_gnu=$ac_cv_c_compiler_gnu
2413:
2414:
2415:
2416:
2417: ac_aux_dir=
2418: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2419: if test -f "$ac_dir/install-sh"; then
2420: ac_aux_dir=$ac_dir
2421: ac_install_sh="$ac_aux_dir/install-sh -c"
2422: break
2423: elif test -f "$ac_dir/install.sh"; then
2424: ac_aux_dir=$ac_dir
2425: ac_install_sh="$ac_aux_dir/install.sh -c"
2426: break
2427: elif test -f "$ac_dir/shtool"; then
2428: ac_aux_dir=$ac_dir
2429: ac_install_sh="$ac_aux_dir/shtool install -c"
2430: break
2431: fi
2432: done
2433: if test -z "$ac_aux_dir"; then
2434: as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2435: fi
2436:
2437: # These three variables are undocumented and unsupported,
2438: # and are intended to be withdrawn in a future Autoconf release.
2439: # They can cause serious problems if a builder's source tree is in a directory
2440: # whose full name contains unusual characters.
2441: ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2442: ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2443: ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2444:
2445:
2446: # Make sure we can run config.sub.
2447: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2448: as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2449:
2450: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2451: $as_echo_n "checking build system type... " >&6; }
2452: if ${ac_cv_build+:} false; then :
2453: $as_echo_n "(cached) " >&6
2454: else
2455: ac_build_alias=$build_alias
2456: test "x$ac_build_alias" = x &&
2457: ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2458: test "x$ac_build_alias" = x &&
2459: as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2460: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2461: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2462:
2463: fi
2464: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2465: $as_echo "$ac_cv_build" >&6; }
2466: case $ac_cv_build in
2467: *-*-*) ;;
2468: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2469: esac
2470: build=$ac_cv_build
2471: ac_save_IFS=$IFS; IFS='-'
2472: set x $ac_cv_build
2473: shift
2474: build_cpu=$1
2475: build_vendor=$2
2476: shift; shift
2477: # Remember, the first character of IFS is used to create $*,
2478: # except with old shells:
2479: build_os=$*
2480: IFS=$ac_save_IFS
2481: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2482:
2483:
2484: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2485: $as_echo_n "checking host system type... " >&6; }
2486: if ${ac_cv_host+:} false; then :
2487: $as_echo_n "(cached) " >&6
2488: else
2489: if test "x$host_alias" = x; then
2490: ac_cv_host=$ac_cv_build
2491: else
2492: ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2493: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2494: fi
2495:
2496: fi
2497: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2498: $as_echo "$ac_cv_host" >&6; }
2499: case $ac_cv_host in
2500: *-*-*) ;;
2501: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2502: esac
2503: host=$ac_cv_host
2504: ac_save_IFS=$IFS; IFS='-'
2505: set x $ac_cv_host
2506: shift
2507: host_cpu=$1
2508: host_vendor=$2
2509: shift; shift
2510: # Remember, the first character of IFS is used to create $*,
2511: # except with old shells:
2512: host_os=$*
2513: IFS=$ac_save_IFS
2514: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2515:
2516:
2517: { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2518: $as_echo_n "checking target system type... " >&6; }
2519: if ${ac_cv_target+:} false; then :
2520: $as_echo_n "(cached) " >&6
2521: else
2522: if test "x$target_alias" = x; then
2523: ac_cv_target=$ac_cv_host
2524: else
2525: ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2526: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2527: fi
2528:
2529: fi
2530: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2531: $as_echo "$ac_cv_target" >&6; }
2532: case $ac_cv_target in
2533: *-*-*) ;;
2534: *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2535: esac
2536: target=$ac_cv_target
2537: ac_save_IFS=$IFS; IFS='-'
2538: set x $ac_cv_target
2539: shift
2540: target_cpu=$1
2541: target_vendor=$2
2542: shift; shift
2543: # Remember, the first character of IFS is used to create $*,
2544: # except with old shells:
2545: target_os=$*
2546: IFS=$ac_save_IFS
2547: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2548:
2549:
2550: # The aliases save the names the user supplied, while $host etc.
2551: # will get canonicalized.
2552: test -n "$target_alias" &&
2553: test "$program_prefix$program_suffix$program_transform_name" = \
2554: NONENONEs,x,x, &&
2555: program_prefix=${target_alias}-
1.5 ! ohara 2556: am__api_version='1.16'
1.1 noro 2557:
2558: # Find a good install program. We prefer a C program (faster),
2559: # so one script is as good as another. But avoid the broken or
2560: # incompatible versions:
2561: # SysV /etc/install, /usr/sbin/install
2562: # SunOS /usr/etc/install
2563: # IRIX /sbin/install
2564: # AIX /bin/install
2565: # AmigaOS /C/install, which installs bootblocks on floppy discs
2566: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2567: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2568: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2569: # OS/2's system install, which has a completely different semantic
2570: # ./install, which can be erroneously created by make from ./install.sh.
2571: # Reject install programs that cannot install multiple files.
2572: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2573: $as_echo_n "checking for a BSD-compatible install... " >&6; }
2574: if test -z "$INSTALL"; then
2575: if ${ac_cv_path_install+:} false; then :
2576: $as_echo_n "(cached) " >&6
2577: else
2578: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2579: for as_dir in $PATH
2580: do
2581: IFS=$as_save_IFS
2582: test -z "$as_dir" && as_dir=.
2583: # Account for people who put trailing slashes in PATH elements.
2584: case $as_dir/ in #((
2585: ./ | .// | /[cC]/* | \
2586: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2587: ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2588: /usr/ucb/* ) ;;
2589: *)
2590: # OSF1 and SCO ODT 3.0 have their own names for install.
2591: # Don't use installbsd from OSF since it installs stuff as root
2592: # by default.
2593: for ac_prog in ginstall scoinst install; do
2594: for ac_exec_ext in '' $ac_executable_extensions; do
2595: if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2596: if test $ac_prog = install &&
2597: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2598: # AIX install. It has an incompatible calling convention.
2599: :
2600: elif test $ac_prog = install &&
2601: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2602: # program-specific install script used by HP pwplus--don't use.
2603: :
2604: else
2605: rm -rf conftest.one conftest.two conftest.dir
2606: echo one > conftest.one
2607: echo two > conftest.two
2608: mkdir conftest.dir
2609: if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2610: test -s conftest.one && test -s conftest.two &&
2611: test -s conftest.dir/conftest.one &&
2612: test -s conftest.dir/conftest.two
2613: then
2614: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2615: break 3
2616: fi
2617: fi
2618: fi
2619: done
2620: done
2621: ;;
2622: esac
2623:
2624: done
2625: IFS=$as_save_IFS
2626:
2627: rm -rf conftest.one conftest.two conftest.dir
2628:
2629: fi
2630: if test "${ac_cv_path_install+set}" = set; then
2631: INSTALL=$ac_cv_path_install
2632: else
2633: # As a last resort, use the slow shell script. Don't cache a
2634: # value for INSTALL within a source directory, because that will
2635: # break other packages using the cache if that directory is
2636: # removed, or if the value is a relative name.
2637: INSTALL=$ac_install_sh
2638: fi
2639: fi
2640: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2641: $as_echo "$INSTALL" >&6; }
2642:
2643: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2644: # It thinks the first close brace ends the variable substitution.
2645: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2646:
2647: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2648:
2649: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2650:
2651: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2652: $as_echo_n "checking whether build environment is sane... " >&6; }
2653: # Reject unsafe characters in $srcdir or the absolute working directory
2654: # name. Accept space and tab only in the latter.
2655: am_lf='
2656: '
2657: case `pwd` in
2658: *[\\\"\#\$\&\'\`$am_lf]*)
2659: as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2660: esac
2661: case $srcdir in
2662: *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2663: as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2664: esac
2665:
2666: # Do 'set' in a subshell so we don't clobber the current shell's
2667: # arguments. Must try -L first in case configure is actually a
2668: # symlink; some systems play weird games with the mod time of symlinks
2669: # (eg FreeBSD returns the mod time of the symlink's containing
2670: # directory).
2671: if (
2672: am_has_slept=no
2673: for am_try in 1 2; do
2674: echo "timestamp, slept: $am_has_slept" > conftest.file
2675: set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2676: if test "$*" = "X"; then
2677: # -L didn't work.
2678: set X `ls -t "$srcdir/configure" conftest.file`
2679: fi
2680: if test "$*" != "X $srcdir/configure conftest.file" \
2681: && test "$*" != "X conftest.file $srcdir/configure"; then
2682:
2683: # If neither matched, then we have a broken ls. This can happen
2684: # if, for instance, CONFIG_SHELL is bash and it inherits a
2685: # broken ls alias from the environment. This has actually
2686: # happened. Such a system could not be considered "sane".
2687: as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2688: alias in your environment" "$LINENO" 5
2689: fi
2690: if test "$2" = conftest.file || test $am_try -eq 2; then
2691: break
2692: fi
2693: # Just in case.
2694: sleep 1
2695: am_has_slept=yes
2696: done
2697: test "$2" = conftest.file
2698: )
2699: then
2700: # Ok.
2701: :
2702: else
2703: as_fn_error $? "newly created file is older than distributed files!
2704: Check your system clock" "$LINENO" 5
2705: fi
2706: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2707: $as_echo "yes" >&6; }
2708: # If we didn't sleep, we still need to ensure time stamps of config.status and
2709: # generated files are strictly newer.
2710: am_sleep_pid=
2711: if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2712: ( sleep 1 ) &
2713: am_sleep_pid=$!
2714: fi
2715:
2716: rm -f conftest.file
2717:
2718: test "$program_prefix" != NONE &&
2719: program_transform_name="s&^&$program_prefix&;$program_transform_name"
2720: # Use a double $ so make ignores it.
2721: test "$program_suffix" != NONE &&
2722: program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2723: # Double any \ or $.
2724: # By default was `s,x,x', remove it if useless.
2725: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2726: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2727:
2728: # Expand $ac_aux_dir to an absolute path.
2729: am_aux_dir=`cd "$ac_aux_dir" && pwd`
2730:
2731: if test x"${MISSING+set}" != xset; then
2732: case $am_aux_dir in
2733: *\ * | *\ *)
2734: MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2735: *)
2736: MISSING="\${SHELL} $am_aux_dir/missing" ;;
2737: esac
2738: fi
2739: # Use eval to expand $SHELL
2740: if eval "$MISSING --is-lightweight"; then
2741: am_missing_run="$MISSING "
2742: else
2743: am_missing_run=
2744: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2745: $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2746: fi
2747:
1.3 noro 2748: if test x"${install_sh+set}" != xset; then
1.1 noro 2749: case $am_aux_dir in
2750: *\ * | *\ *)
2751: install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2752: *)
2753: install_sh="\${SHELL} $am_aux_dir/install-sh"
2754: esac
2755: fi
2756:
2757: # Installed binaries are usually stripped using 'strip' when the user
2758: # run "make install-strip". However 'strip' might not be the right
2759: # tool to use in cross-compilation environments, therefore Automake
2760: # will honor the 'STRIP' environment variable to overrule this program.
2761: if test "$cross_compiling" != no; then
2762: if test -n "$ac_tool_prefix"; then
2763: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2764: set dummy ${ac_tool_prefix}strip; ac_word=$2
2765: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2766: $as_echo_n "checking for $ac_word... " >&6; }
2767: if ${ac_cv_prog_STRIP+:} false; then :
2768: $as_echo_n "(cached) " >&6
2769: else
2770: if test -n "$STRIP"; then
2771: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2772: else
2773: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2774: for as_dir in $PATH
2775: do
2776: IFS=$as_save_IFS
2777: test -z "$as_dir" && as_dir=.
2778: for ac_exec_ext in '' $ac_executable_extensions; do
2779: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2780: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2781: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2782: break 2
2783: fi
2784: done
2785: done
2786: IFS=$as_save_IFS
2787:
2788: fi
2789: fi
2790: STRIP=$ac_cv_prog_STRIP
2791: if test -n "$STRIP"; then
2792: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2793: $as_echo "$STRIP" >&6; }
2794: else
2795: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2796: $as_echo "no" >&6; }
2797: fi
2798:
2799:
2800: fi
2801: if test -z "$ac_cv_prog_STRIP"; then
2802: ac_ct_STRIP=$STRIP
2803: # Extract the first word of "strip", so it can be a program name with args.
2804: set dummy strip; ac_word=$2
2805: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2806: $as_echo_n "checking for $ac_word... " >&6; }
2807: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2808: $as_echo_n "(cached) " >&6
2809: else
2810: if test -n "$ac_ct_STRIP"; then
2811: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2812: else
2813: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2814: for as_dir in $PATH
2815: do
2816: IFS=$as_save_IFS
2817: test -z "$as_dir" && as_dir=.
2818: for ac_exec_ext in '' $ac_executable_extensions; do
2819: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2820: ac_cv_prog_ac_ct_STRIP="strip"
2821: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2822: break 2
2823: fi
2824: done
2825: done
2826: IFS=$as_save_IFS
2827:
2828: fi
2829: fi
2830: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2831: if test -n "$ac_ct_STRIP"; then
2832: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2833: $as_echo "$ac_ct_STRIP" >&6; }
2834: else
2835: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2836: $as_echo "no" >&6; }
2837: fi
2838:
2839: if test "x$ac_ct_STRIP" = x; then
2840: STRIP=":"
2841: else
2842: case $cross_compiling:$ac_tool_warned in
2843: yes:)
2844: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2845: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2846: ac_tool_warned=yes ;;
2847: esac
2848: STRIP=$ac_ct_STRIP
2849: fi
2850: else
2851: STRIP="$ac_cv_prog_STRIP"
2852: fi
2853:
2854: fi
2855: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2856:
2857: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2858: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2859: if test -z "$MKDIR_P"; then
2860: if ${ac_cv_path_mkdir+:} false; then :
2861: $as_echo_n "(cached) " >&6
2862: else
2863: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2864: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2865: do
2866: IFS=$as_save_IFS
2867: test -z "$as_dir" && as_dir=.
2868: for ac_prog in mkdir gmkdir; do
2869: for ac_exec_ext in '' $ac_executable_extensions; do
2870: as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2871: case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2872: 'mkdir (GNU coreutils) '* | \
2873: 'mkdir (coreutils) '* | \
2874: 'mkdir (fileutils) '4.1*)
2875: ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2876: break 3;;
2877: esac
2878: done
2879: done
2880: done
2881: IFS=$as_save_IFS
2882:
2883: fi
2884:
2885: test -d ./--version && rmdir ./--version
2886: if test "${ac_cv_path_mkdir+set}" = set; then
2887: MKDIR_P="$ac_cv_path_mkdir -p"
2888: else
2889: # As a last resort, use the slow shell script. Don't cache a
2890: # value for MKDIR_P within a source directory, because that will
2891: # break other packages using the cache if that directory is
2892: # removed, or if the value is a relative name.
2893: MKDIR_P="$ac_install_sh -d"
2894: fi
2895: fi
2896: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2897: $as_echo "$MKDIR_P" >&6; }
2898:
2899: for ac_prog in gawk mawk nawk awk
2900: do
2901: # Extract the first word of "$ac_prog", so it can be a program name with args.
2902: set dummy $ac_prog; ac_word=$2
2903: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2904: $as_echo_n "checking for $ac_word... " >&6; }
2905: if ${ac_cv_prog_AWK+:} false; then :
2906: $as_echo_n "(cached) " >&6
2907: else
2908: if test -n "$AWK"; then
2909: ac_cv_prog_AWK="$AWK" # Let the user override the test.
2910: else
2911: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2912: for as_dir in $PATH
2913: do
2914: IFS=$as_save_IFS
2915: test -z "$as_dir" && as_dir=.
2916: for ac_exec_ext in '' $ac_executable_extensions; do
2917: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2918: ac_cv_prog_AWK="$ac_prog"
2919: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2920: break 2
2921: fi
2922: done
2923: done
2924: IFS=$as_save_IFS
2925:
2926: fi
2927: fi
2928: AWK=$ac_cv_prog_AWK
2929: if test -n "$AWK"; then
2930: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2931: $as_echo "$AWK" >&6; }
2932: else
2933: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2934: $as_echo "no" >&6; }
2935: fi
2936:
2937:
2938: test -n "$AWK" && break
2939: done
2940:
2941: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2942: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2943: set x ${MAKE-make}
2944: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2945: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2946: $as_echo_n "(cached) " >&6
2947: else
2948: cat >conftest.make <<\_ACEOF
2949: SHELL = /bin/sh
2950: all:
2951: @echo '@@@%%%=$(MAKE)=@@@%%%'
2952: _ACEOF
2953: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2954: case `${MAKE-make} -f conftest.make 2>/dev/null` in
2955: *@@@%%%=?*=@@@%%%*)
2956: eval ac_cv_prog_make_${ac_make}_set=yes;;
2957: *)
2958: eval ac_cv_prog_make_${ac_make}_set=no;;
2959: esac
2960: rm -f conftest.make
2961: fi
2962: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2963: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2964: $as_echo "yes" >&6; }
2965: SET_MAKE=
2966: else
2967: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2968: $as_echo "no" >&6; }
2969: SET_MAKE="MAKE=${MAKE-make}"
2970: fi
2971:
2972: rm -rf .tst 2>/dev/null
2973: mkdir .tst 2>/dev/null
2974: if test -d .tst; then
2975: am__leading_dot=.
2976: else
2977: am__leading_dot=_
2978: fi
2979: rmdir .tst 2>/dev/null
2980:
2981: # Check whether --enable-silent-rules was given.
2982: if test "${enable_silent_rules+set}" = set; then :
2983: enableval=$enable_silent_rules;
2984: fi
2985:
2986: case $enable_silent_rules in # (((
2987: yes) AM_DEFAULT_VERBOSITY=0;;
2988: no) AM_DEFAULT_VERBOSITY=1;;
2989: *) AM_DEFAULT_VERBOSITY=1;;
2990: esac
2991: am_make=${MAKE-make}
2992: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2993: $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2994: if ${am_cv_make_support_nested_variables+:} false; then :
2995: $as_echo_n "(cached) " >&6
2996: else
2997: if $as_echo 'TRUE=$(BAR$(V))
2998: BAR0=false
2999: BAR1=true
3000: V=1
3001: am__doit:
3002: @$(TRUE)
3003: .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3004: am_cv_make_support_nested_variables=yes
3005: else
3006: am_cv_make_support_nested_variables=no
3007: fi
3008: fi
3009: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3010: $as_echo "$am_cv_make_support_nested_variables" >&6; }
3011: if test $am_cv_make_support_nested_variables = yes; then
3012: AM_V='$(V)'
3013: AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3014: else
3015: AM_V=$AM_DEFAULT_VERBOSITY
3016: AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3017: fi
3018: AM_BACKSLASH='\'
3019:
3020: if test "`cd $srcdir && pwd`" != "`pwd`"; then
3021: # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3022: # is not polluted with repeated "-I."
3023: am__isrc=' -I$(srcdir)'
3024: # test to see if srcdir already configured
3025: if test -f $srcdir/config.status; then
3026: as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3027: fi
3028: fi
3029:
3030: # test whether we have cygpath
3031: if test -z "$CYGPATH_W"; then
3032: if (cygpath --version) >/dev/null 2>/dev/null; then
3033: CYGPATH_W='cygpath -w'
3034: else
3035: CYGPATH_W=echo
3036: fi
3037: fi
3038:
3039:
3040: # Define the identity of the package.
3041: PACKAGE='asir'
1.5 ! ohara 3042: VERSION='1.16'
1.1 noro 3043:
3044:
3045: cat >>confdefs.h <<_ACEOF
3046: #define PACKAGE "$PACKAGE"
3047: _ACEOF
3048:
3049:
3050: cat >>confdefs.h <<_ACEOF
3051: #define VERSION "$VERSION"
3052: _ACEOF
3053:
3054: # Some tools Automake needs.
3055:
3056: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3057:
3058:
3059: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3060:
3061:
3062: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3063:
3064:
3065: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3066:
3067:
3068: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3069:
3070: # For better backward compatibility. To be removed once Automake 1.9.x
3071: # dies out for good. For more background, see:
1.5 ! ohara 3072: # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
! 3073: # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
1.1 noro 3074: mkdir_p='$(MKDIR_P)'
3075:
1.3 noro 3076: # We need awk for the "check" target (and possibly the TAP driver). The
3077: # system "awk" is bad on some platforms.
1.1 noro 3078: # Always define AMTAR for backward compatibility. Yes, it's still used
3079: # in the wild :-( We should find a proper way to deprecate it ...
3080: AMTAR='$${TAR-tar}'
3081:
3082:
3083: # We'll loop over all known methods to create a tar archive until one works.
3084: _am_tools='gnutar pax cpio none'
3085:
3086: am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3087:
3088:
3089:
3090:
3091:
3092:
3093: # POSIX will say in a future version that running "rm -f" with no argument
3094: # is OK; and we want to be able to make that assumption in our Makefile
3095: # recipes. So use an aggressive probe to check that the usage we want is
3096: # actually supported "in the wild" to an acceptable degree.
3097: # See automake bug#10828.
3098: # To make any issue more visible, cause the running configure to be aborted
3099: # by default if the 'rm' program in use doesn't match our expectations; the
3100: # user can still override this though.
3101: if rm -f && rm -fr && rm -rf; then : OK; else
3102: cat >&2 <<'END'
3103: Oops!
3104:
3105: Your 'rm' program seems unable to run without file operands specified
3106: on the command line, even when the '-f' option is present. This is contrary
3107: to the behaviour of most rm programs out there, and not conforming with
3108: the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3109:
3110: Please tell bug-automake@gnu.org about your system, including the value
3111: of your $PATH and any error possibly output before this message. This
3112: can help us improve future automake versions.
3113:
3114: END
3115: if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3116: echo 'Configuration will proceed anyway, since you have set the' >&2
3117: echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3118: echo >&2
3119: else
3120: cat >&2 <<'END'
3121: Aborting the configuration process, to ensure you take notice of the issue.
3122:
3123: You can download and install GNU coreutils to get an 'rm' implementation
1.5 ! ohara 3124: that behaves properly: <https://www.gnu.org/software/coreutils/>.
1.1 noro 3125:
3126: If you want to complete the configuration process using your problematic
3127: 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3128: to "yes", and re-run configure.
3129:
3130: END
3131: as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3132: fi
3133: fi
3134:
3135:
3136: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3137: $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3138: # Check whether --enable-maintainer-mode was given.
3139: if test "${enable_maintainer_mode+set}" = set; then :
3140: enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3141: else
3142: USE_MAINTAINER_MODE=no
3143: fi
3144:
3145: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3146: $as_echo "$USE_MAINTAINER_MODE" >&6; }
3147: if test $USE_MAINTAINER_MODE = yes; then
3148: MAINTAINER_MODE_TRUE=
3149: MAINTAINER_MODE_FALSE='#'
3150: else
3151: MAINTAINER_MODE_TRUE='#'
3152: MAINTAINER_MODE_FALSE=
3153: fi
3154:
3155: MAINT=$MAINTAINER_MODE_TRUE
3156:
3157:
1.5 ! ohara 3158: case `pwd` in
! 3159: *\ * | *\ *)
! 3160: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
! 3161: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
! 3162: esac
! 3163:
1.1 noro 3164:
3165:
1.5 ! ohara 3166: macro_version='2.4.6'
! 3167: macro_revision='2.4.6'
! 3168:
! 3169:
! 3170:
! 3171:
! 3172:
! 3173:
! 3174:
! 3175:
! 3176:
! 3177:
! 3178:
! 3179:
! 3180:
! 3181: ltmain=$ac_aux_dir/ltmain.sh
! 3182:
! 3183: # Backslashify metacharacters that are still active within
! 3184: # double-quoted strings.
! 3185: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
! 3186:
! 3187: # Same as above, but do not quote variable references.
! 3188: double_quote_subst='s/\(["`\\]\)/\\\1/g'
! 3189:
! 3190: # Sed substitution to delay expansion of an escaped shell variable in a
! 3191: # double_quote_subst'ed string.
! 3192: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
! 3193:
! 3194: # Sed substitution to delay expansion of an escaped single quote.
! 3195: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
! 3196:
! 3197: # Sed substitution to avoid accidental globbing in evaled expressions
! 3198: no_glob_subst='s/\*/\\\*/g'
! 3199:
! 3200: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
! 3201: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
! 3202: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
! 3203:
! 3204: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
! 3205: $as_echo_n "checking how to print strings... " >&6; }
! 3206: # Test print first, because it will be a builtin if present.
! 3207: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
! 3208: test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
! 3209: ECHO='print -r --'
! 3210: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
! 3211: ECHO='printf %s\n'
! 3212: else
! 3213: # Use this function as a fallback that always works.
! 3214: func_fallback_echo ()
! 3215: {
! 3216: eval 'cat <<_LTECHO_EOF
! 3217: $1
! 3218: _LTECHO_EOF'
! 3219: }
! 3220: ECHO='func_fallback_echo'
! 3221: fi
! 3222:
! 3223: # func_echo_all arg...
! 3224: # Invoke $ECHO with all args, space-separated.
! 3225: func_echo_all ()
! 3226: {
! 3227: $ECHO ""
! 3228: }
! 3229:
! 3230: case $ECHO in
! 3231: printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
! 3232: $as_echo "printf" >&6; } ;;
! 3233: print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
! 3234: $as_echo "print -r" >&6; } ;;
! 3235: *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
! 3236: $as_echo "cat" >&6; } ;;
! 3237: esac
! 3238:
! 3239:
! 3240:
! 3241:
! 3242:
! 3243:
! 3244:
! 3245:
! 3246:
! 3247:
! 3248:
! 3249:
! 3250:
! 3251:
! 3252: DEPDIR="${am__leading_dot}deps"
! 3253:
! 3254: ac_config_commands="$ac_config_commands depfiles"
! 3255:
! 3256: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
! 3257: $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
! 3258: cat > confinc.mk << 'END'
! 3259: am__doit:
! 3260: @echo this is the am__doit target >confinc.out
! 3261: .PHONY: am__doit
! 3262: END
! 3263: am__include="#"
! 3264: am__quote=
! 3265: # BSD make does it like this.
! 3266: echo '.include "confinc.mk" # ignored' > confmf.BSD
! 3267: # Other make implementations (GNU, Solaris 10, AIX) do it like this.
! 3268: echo 'include confinc.mk # ignored' > confmf.GNU
! 3269: _am_result=no
! 3270: for s in GNU BSD; do
! 3271: { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
! 3272: (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
! 3273: ac_status=$?
! 3274: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3275: (exit $ac_status); }
! 3276: case $?:`cat confinc.out 2>/dev/null` in #(
! 3277: '0:this is the am__doit target') :
! 3278: case $s in #(
! 3279: BSD) :
! 3280: am__include='.include' am__quote='"' ;; #(
! 3281: *) :
! 3282: am__include='include' am__quote='' ;;
! 3283: esac ;; #(
! 3284: *) :
! 3285: ;;
! 3286: esac
! 3287: if test "$am__include" != "#"; then
! 3288: _am_result="yes ($s style)"
! 3289: break
! 3290: fi
! 3291: done
! 3292: rm -f confinc.* confmf.*
! 3293: { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
! 3294: $as_echo "${_am_result}" >&6; }
! 3295:
! 3296: # Check whether --enable-dependency-tracking was given.
! 3297: if test "${enable_dependency_tracking+set}" = set; then :
! 3298: enableval=$enable_dependency_tracking;
! 3299: fi
! 3300:
! 3301: if test "x$enable_dependency_tracking" != xno; then
! 3302: am_depcomp="$ac_aux_dir/depcomp"
! 3303: AMDEPBACKSLASH='\'
! 3304: am__nodep='_no'
! 3305: fi
! 3306: if test "x$enable_dependency_tracking" != xno; then
! 3307: AMDEP_TRUE=
! 3308: AMDEP_FALSE='#'
! 3309: else
! 3310: AMDEP_TRUE='#'
! 3311: AMDEP_FALSE=
! 3312: fi
! 3313:
! 3314:
! 3315: ac_ext=c
! 3316: ac_cpp='$CPP $CPPFLAGS'
! 3317: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 3318: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 3319: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 3320: if test -n "$ac_tool_prefix"; then
! 3321: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
! 3322: set dummy ${ac_tool_prefix}gcc; ac_word=$2
! 3323: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 3324: $as_echo_n "checking for $ac_word... " >&6; }
! 3325: if ${ac_cv_prog_CC+:} false; then :
! 3326: $as_echo_n "(cached) " >&6
! 3327: else
! 3328: if test -n "$CC"; then
! 3329: ac_cv_prog_CC="$CC" # Let the user override the test.
! 3330: else
! 3331: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3332: for as_dir in $PATH
! 3333: do
! 3334: IFS=$as_save_IFS
! 3335: test -z "$as_dir" && as_dir=.
! 3336: for ac_exec_ext in '' $ac_executable_extensions; do
! 3337: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 3338: ac_cv_prog_CC="${ac_tool_prefix}gcc"
! 3339: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 3340: break 2
! 3341: fi
! 3342: done
! 3343: done
! 3344: IFS=$as_save_IFS
! 3345:
! 3346: fi
! 3347: fi
! 3348: CC=$ac_cv_prog_CC
! 3349: if test -n "$CC"; then
! 3350: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
! 3351: $as_echo "$CC" >&6; }
! 3352: else
! 3353: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 3354: $as_echo "no" >&6; }
! 3355: fi
1.1 noro 3356:
3357:
3358: fi
3359: if test -z "$ac_cv_prog_CC"; then
3360: ac_ct_CC=$CC
3361: # Extract the first word of "gcc", so it can be a program name with args.
3362: set dummy gcc; ac_word=$2
3363: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3364: $as_echo_n "checking for $ac_word... " >&6; }
3365: if ${ac_cv_prog_ac_ct_CC+:} false; then :
3366: $as_echo_n "(cached) " >&6
3367: else
3368: if test -n "$ac_ct_CC"; then
3369: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3370: else
3371: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3372: for as_dir in $PATH
3373: do
3374: IFS=$as_save_IFS
3375: test -z "$as_dir" && as_dir=.
3376: for ac_exec_ext in '' $ac_executable_extensions; do
3377: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3378: ac_cv_prog_ac_ct_CC="gcc"
3379: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3380: break 2
3381: fi
3382: done
3383: done
3384: IFS=$as_save_IFS
3385:
3386: fi
3387: fi
3388: ac_ct_CC=$ac_cv_prog_ac_ct_CC
3389: if test -n "$ac_ct_CC"; then
3390: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3391: $as_echo "$ac_ct_CC" >&6; }
3392: else
3393: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3394: $as_echo "no" >&6; }
3395: fi
3396:
3397: if test "x$ac_ct_CC" = x; then
3398: CC=""
3399: else
3400: case $cross_compiling:$ac_tool_warned in
3401: yes:)
3402: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3403: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3404: ac_tool_warned=yes ;;
3405: esac
3406: CC=$ac_ct_CC
3407: fi
3408: else
3409: CC="$ac_cv_prog_CC"
3410: fi
3411:
3412: if test -z "$CC"; then
3413: if test -n "$ac_tool_prefix"; then
3414: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3415: set dummy ${ac_tool_prefix}cc; ac_word=$2
3416: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3417: $as_echo_n "checking for $ac_word... " >&6; }
3418: if ${ac_cv_prog_CC+:} false; then :
3419: $as_echo_n "(cached) " >&6
3420: else
3421: if test -n "$CC"; then
3422: ac_cv_prog_CC="$CC" # Let the user override the test.
3423: else
3424: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3425: for as_dir in $PATH
3426: do
3427: IFS=$as_save_IFS
3428: test -z "$as_dir" && as_dir=.
3429: for ac_exec_ext in '' $ac_executable_extensions; do
3430: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3431: ac_cv_prog_CC="${ac_tool_prefix}cc"
3432: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3433: break 2
3434: fi
3435: done
3436: done
3437: IFS=$as_save_IFS
3438:
3439: fi
3440: fi
3441: CC=$ac_cv_prog_CC
3442: if test -n "$CC"; then
3443: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3444: $as_echo "$CC" >&6; }
3445: else
3446: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3447: $as_echo "no" >&6; }
3448: fi
3449:
3450:
3451: fi
3452: fi
3453: if test -z "$CC"; then
3454: # Extract the first word of "cc", so it can be a program name with args.
3455: set dummy cc; ac_word=$2
3456: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3457: $as_echo_n "checking for $ac_word... " >&6; }
3458: if ${ac_cv_prog_CC+:} false; then :
3459: $as_echo_n "(cached) " >&6
3460: else
3461: if test -n "$CC"; then
3462: ac_cv_prog_CC="$CC" # Let the user override the test.
3463: else
3464: ac_prog_rejected=no
3465: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3466: for as_dir in $PATH
3467: do
3468: IFS=$as_save_IFS
3469: test -z "$as_dir" && as_dir=.
3470: for ac_exec_ext in '' $ac_executable_extensions; do
3471: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3472: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3473: ac_prog_rejected=yes
3474: continue
3475: fi
3476: ac_cv_prog_CC="cc"
3477: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3478: break 2
3479: fi
3480: done
3481: done
3482: IFS=$as_save_IFS
3483:
3484: if test $ac_prog_rejected = yes; then
3485: # We found a bogon in the path, so make sure we never use it.
3486: set dummy $ac_cv_prog_CC
3487: shift
3488: if test $# != 0; then
3489: # We chose a different compiler from the bogus one.
3490: # However, it has the same basename, so the bogon will be chosen
3491: # first if we set CC to just the basename; use the full file name.
3492: shift
3493: ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3494: fi
3495: fi
3496: fi
3497: fi
3498: CC=$ac_cv_prog_CC
3499: if test -n "$CC"; then
3500: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3501: $as_echo "$CC" >&6; }
3502: else
3503: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3504: $as_echo "no" >&6; }
3505: fi
3506:
3507:
3508: fi
3509: if test -z "$CC"; then
3510: if test -n "$ac_tool_prefix"; then
3511: for ac_prog in cl.exe
3512: do
3513: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3514: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3515: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3516: $as_echo_n "checking for $ac_word... " >&6; }
3517: if ${ac_cv_prog_CC+:} false; then :
3518: $as_echo_n "(cached) " >&6
3519: else
3520: if test -n "$CC"; then
3521: ac_cv_prog_CC="$CC" # Let the user override the test.
3522: else
3523: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3524: for as_dir in $PATH
3525: do
3526: IFS=$as_save_IFS
3527: test -z "$as_dir" && as_dir=.
3528: for ac_exec_ext in '' $ac_executable_extensions; do
3529: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3530: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3531: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3532: break 2
3533: fi
3534: done
3535: done
3536: IFS=$as_save_IFS
3537:
3538: fi
3539: fi
3540: CC=$ac_cv_prog_CC
3541: if test -n "$CC"; then
3542: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3543: $as_echo "$CC" >&6; }
3544: else
3545: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3546: $as_echo "no" >&6; }
3547: fi
3548:
3549:
3550: test -n "$CC" && break
3551: done
3552: fi
3553: if test -z "$CC"; then
3554: ac_ct_CC=$CC
3555: for ac_prog in cl.exe
3556: do
3557: # Extract the first word of "$ac_prog", so it can be a program name with args.
3558: set dummy $ac_prog; ac_word=$2
3559: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3560: $as_echo_n "checking for $ac_word... " >&6; }
3561: if ${ac_cv_prog_ac_ct_CC+:} false; then :
3562: $as_echo_n "(cached) " >&6
3563: else
3564: if test -n "$ac_ct_CC"; then
3565: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3566: else
3567: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568: for as_dir in $PATH
3569: do
3570: IFS=$as_save_IFS
3571: test -z "$as_dir" && as_dir=.
3572: for ac_exec_ext in '' $ac_executable_extensions; do
3573: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3574: ac_cv_prog_ac_ct_CC="$ac_prog"
3575: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3576: break 2
3577: fi
3578: done
3579: done
3580: IFS=$as_save_IFS
3581:
3582: fi
3583: fi
3584: ac_ct_CC=$ac_cv_prog_ac_ct_CC
3585: if test -n "$ac_ct_CC"; then
3586: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3587: $as_echo "$ac_ct_CC" >&6; }
3588: else
3589: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590: $as_echo "no" >&6; }
3591: fi
3592:
3593:
3594: test -n "$ac_ct_CC" && break
3595: done
3596:
3597: if test "x$ac_ct_CC" = x; then
3598: CC=""
3599: else
3600: case $cross_compiling:$ac_tool_warned in
3601: yes:)
3602: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3603: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3604: ac_tool_warned=yes ;;
3605: esac
3606: CC=$ac_ct_CC
3607: fi
3608: fi
3609:
3610: fi
3611:
3612:
3613: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3614: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3615: as_fn_error $? "no acceptable C compiler found in \$PATH
3616: See \`config.log' for more details" "$LINENO" 5; }
3617:
3618: # Provide some information about the compiler.
3619: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3620: set X $ac_compile
3621: ac_compiler=$2
3622: for ac_option in --version -v -V -qversion; do
3623: { { ac_try="$ac_compiler $ac_option >&5"
3624: case "(($ac_try" in
3625: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3626: *) ac_try_echo=$ac_try;;
3627: esac
3628: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3629: $as_echo "$ac_try_echo"; } >&5
3630: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3631: ac_status=$?
3632: if test -s conftest.err; then
3633: sed '10a\
3634: ... rest of stderr output deleted ...
3635: 10q' conftest.err >conftest.er1
3636: cat conftest.er1 >&5
3637: fi
3638: rm -f conftest.er1 conftest.err
3639: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3640: test $ac_status = 0; }
3641: done
3642:
3643: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3644: /* end confdefs.h. */
3645:
3646: int
3647: main ()
3648: {
3649:
3650: ;
3651: return 0;
3652: }
3653: _ACEOF
3654: ac_clean_files_save=$ac_clean_files
3655: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3656: # Try to create an executable without -o first, disregard a.out.
3657: # It will help us diagnose broken compilers, and finding out an intuition
3658: # of exeext.
3659: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3660: $as_echo_n "checking whether the C compiler works... " >&6; }
3661: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3662:
3663: # The possible output files:
3664: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3665:
3666: ac_rmfiles=
3667: for ac_file in $ac_files
3668: do
3669: case $ac_file in
3670: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3671: * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3672: esac
3673: done
3674: rm -f $ac_rmfiles
3675:
3676: if { { ac_try="$ac_link_default"
3677: case "(($ac_try" in
3678: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3679: *) ac_try_echo=$ac_try;;
3680: esac
3681: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3682: $as_echo "$ac_try_echo"; } >&5
3683: (eval "$ac_link_default") 2>&5
3684: ac_status=$?
3685: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3686: test $ac_status = 0; }; then :
3687: # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3688: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3689: # in a Makefile. We should not override ac_cv_exeext if it was cached,
3690: # so that the user can short-circuit this test for compilers unknown to
3691: # Autoconf.
3692: for ac_file in $ac_files ''
3693: do
3694: test -f "$ac_file" || continue
3695: case $ac_file in
3696: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3697: ;;
3698: [ab].out )
3699: # We found the default executable, but exeext='' is most
3700: # certainly right.
3701: break;;
3702: *.* )
3703: if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3704: then :; else
3705: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3706: fi
3707: # We set ac_cv_exeext here because the later test for it is not
3708: # safe: cross compilers may not add the suffix if given an `-o'
3709: # argument, so we may need to know it at that point already.
3710: # Even if this section looks crufty: it has the advantage of
3711: # actually working.
3712: break;;
3713: * )
3714: break;;
3715: esac
3716: done
3717: test "$ac_cv_exeext" = no && ac_cv_exeext=
3718:
3719: else
3720: ac_file=''
3721: fi
3722: if test -z "$ac_file"; then :
3723: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3724: $as_echo "no" >&6; }
3725: $as_echo "$as_me: failed program was:" >&5
3726: sed 's/^/| /' conftest.$ac_ext >&5
3727:
3728: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3729: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3730: as_fn_error 77 "C compiler cannot create executables
3731: See \`config.log' for more details" "$LINENO" 5; }
3732: else
3733: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3734: $as_echo "yes" >&6; }
3735: fi
3736: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3737: $as_echo_n "checking for C compiler default output file name... " >&6; }
3738: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3739: $as_echo "$ac_file" >&6; }
3740: ac_exeext=$ac_cv_exeext
3741:
3742: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3743: ac_clean_files=$ac_clean_files_save
3744: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3745: $as_echo_n "checking for suffix of executables... " >&6; }
3746: if { { ac_try="$ac_link"
3747: case "(($ac_try" in
3748: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3749: *) ac_try_echo=$ac_try;;
3750: esac
3751: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3752: $as_echo "$ac_try_echo"; } >&5
3753: (eval "$ac_link") 2>&5
3754: ac_status=$?
3755: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3756: test $ac_status = 0; }; then :
3757: # If both `conftest.exe' and `conftest' are `present' (well, observable)
3758: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3759: # work properly (i.e., refer to `conftest.exe'), while it won't with
3760: # `rm'.
3761: for ac_file in conftest.exe conftest conftest.*; do
3762: test -f "$ac_file" || continue
3763: case $ac_file in
3764: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3765: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3766: break;;
3767: * ) break;;
3768: esac
3769: done
3770: else
3771: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3772: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3773: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3774: See \`config.log' for more details" "$LINENO" 5; }
3775: fi
3776: rm -f conftest conftest$ac_cv_exeext
3777: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3778: $as_echo "$ac_cv_exeext" >&6; }
3779:
3780: rm -f conftest.$ac_ext
3781: EXEEXT=$ac_cv_exeext
3782: ac_exeext=$EXEEXT
3783: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3784: /* end confdefs.h. */
3785: #include <stdio.h>
3786: int
3787: main ()
3788: {
3789: FILE *f = fopen ("conftest.out", "w");
3790: return ferror (f) || fclose (f) != 0;
3791:
3792: ;
3793: return 0;
3794: }
3795: _ACEOF
3796: ac_clean_files="$ac_clean_files conftest.out"
3797: # Check that the compiler produces executables we can run. If not, either
3798: # the compiler is broken, or we cross compile.
3799: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3800: $as_echo_n "checking whether we are cross compiling... " >&6; }
3801: if test "$cross_compiling" != yes; then
3802: { { ac_try="$ac_link"
3803: case "(($ac_try" in
3804: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3805: *) ac_try_echo=$ac_try;;
3806: esac
3807: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3808: $as_echo "$ac_try_echo"; } >&5
3809: (eval "$ac_link") 2>&5
3810: ac_status=$?
3811: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3812: test $ac_status = 0; }
3813: if { ac_try='./conftest$ac_cv_exeext'
3814: { { case "(($ac_try" in
3815: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3816: *) ac_try_echo=$ac_try;;
3817: esac
3818: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3819: $as_echo "$ac_try_echo"; } >&5
3820: (eval "$ac_try") 2>&5
3821: ac_status=$?
3822: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3823: test $ac_status = 0; }; }; then
3824: cross_compiling=no
3825: else
3826: if test "$cross_compiling" = maybe; then
3827: cross_compiling=yes
3828: else
3829: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3830: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3831: as_fn_error $? "cannot run C compiled programs.
3832: If you meant to cross compile, use \`--host'.
3833: See \`config.log' for more details" "$LINENO" 5; }
3834: fi
3835: fi
3836: fi
3837: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3838: $as_echo "$cross_compiling" >&6; }
3839:
3840: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3841: ac_clean_files=$ac_clean_files_save
3842: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3843: $as_echo_n "checking for suffix of object files... " >&6; }
3844: if ${ac_cv_objext+:} false; then :
3845: $as_echo_n "(cached) " >&6
3846: else
3847: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3848: /* end confdefs.h. */
3849:
3850: int
3851: main ()
3852: {
3853:
3854: ;
3855: return 0;
3856: }
3857: _ACEOF
3858: rm -f conftest.o conftest.obj
3859: if { { ac_try="$ac_compile"
3860: case "(($ac_try" in
3861: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3862: *) ac_try_echo=$ac_try;;
3863: esac
3864: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3865: $as_echo "$ac_try_echo"; } >&5
3866: (eval "$ac_compile") 2>&5
3867: ac_status=$?
3868: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3869: test $ac_status = 0; }; then :
3870: for ac_file in conftest.o conftest.obj conftest.*; do
3871: test -f "$ac_file" || continue;
3872: case $ac_file in
3873: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3874: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3875: break;;
3876: esac
3877: done
3878: else
3879: $as_echo "$as_me: failed program was:" >&5
3880: sed 's/^/| /' conftest.$ac_ext >&5
3881:
3882: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3883: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3884: as_fn_error $? "cannot compute suffix of object files: cannot compile
3885: See \`config.log' for more details" "$LINENO" 5; }
3886: fi
3887: rm -f conftest.$ac_cv_objext conftest.$ac_ext
3888: fi
3889: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3890: $as_echo "$ac_cv_objext" >&6; }
3891: OBJEXT=$ac_cv_objext
3892: ac_objext=$OBJEXT
3893: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3894: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3895: if ${ac_cv_c_compiler_gnu+:} false; then :
3896: $as_echo_n "(cached) " >&6
3897: else
3898: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3899: /* end confdefs.h. */
3900:
3901: int
3902: main ()
3903: {
3904: #ifndef __GNUC__
3905: choke me
3906: #endif
3907:
3908: ;
3909: return 0;
3910: }
3911: _ACEOF
3912: if ac_fn_c_try_compile "$LINENO"; then :
3913: ac_compiler_gnu=yes
3914: else
3915: ac_compiler_gnu=no
3916: fi
3917: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3918: ac_cv_c_compiler_gnu=$ac_compiler_gnu
3919:
3920: fi
3921: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3922: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3923: if test $ac_compiler_gnu = yes; then
3924: GCC=yes
3925: else
3926: GCC=
3927: fi
3928: ac_test_CFLAGS=${CFLAGS+set}
3929: ac_save_CFLAGS=$CFLAGS
3930: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3931: $as_echo_n "checking whether $CC accepts -g... " >&6; }
3932: if ${ac_cv_prog_cc_g+:} false; then :
3933: $as_echo_n "(cached) " >&6
3934: else
3935: ac_save_c_werror_flag=$ac_c_werror_flag
3936: ac_c_werror_flag=yes
3937: ac_cv_prog_cc_g=no
3938: CFLAGS="-g"
3939: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3940: /* end confdefs.h. */
3941:
3942: int
3943: main ()
3944: {
3945:
3946: ;
3947: return 0;
3948: }
3949: _ACEOF
3950: if ac_fn_c_try_compile "$LINENO"; then :
3951: ac_cv_prog_cc_g=yes
3952: else
3953: CFLAGS=""
3954: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3955: /* end confdefs.h. */
3956:
3957: int
3958: main ()
3959: {
3960:
3961: ;
3962: return 0;
3963: }
3964: _ACEOF
3965: if ac_fn_c_try_compile "$LINENO"; then :
3966:
3967: else
3968: ac_c_werror_flag=$ac_save_c_werror_flag
3969: CFLAGS="-g"
3970: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3971: /* end confdefs.h. */
3972:
3973: int
3974: main ()
3975: {
3976:
3977: ;
3978: return 0;
3979: }
3980: _ACEOF
3981: if ac_fn_c_try_compile "$LINENO"; then :
3982: ac_cv_prog_cc_g=yes
3983: fi
3984: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3985: fi
3986: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3987: fi
3988: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3989: ac_c_werror_flag=$ac_save_c_werror_flag
3990: fi
3991: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3992: $as_echo "$ac_cv_prog_cc_g" >&6; }
3993: if test "$ac_test_CFLAGS" = set; then
3994: CFLAGS=$ac_save_CFLAGS
3995: elif test $ac_cv_prog_cc_g = yes; then
3996: if test "$GCC" = yes; then
3997: CFLAGS="-g -O2"
3998: else
3999: CFLAGS="-g"
4000: fi
4001: else
4002: if test "$GCC" = yes; then
4003: CFLAGS="-O2"
4004: else
4005: CFLAGS=
4006: fi
4007: fi
4008: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4009: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4010: if ${ac_cv_prog_cc_c89+:} false; then :
4011: $as_echo_n "(cached) " >&6
4012: else
4013: ac_cv_prog_cc_c89=no
4014: ac_save_CC=$CC
4015: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4016: /* end confdefs.h. */
4017: #include <stdarg.h>
4018: #include <stdio.h>
4019: struct stat;
4020: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4021: struct buf { int x; };
4022: FILE * (*rcsopen) (struct buf *, struct stat *, int);
4023: static char *e (p, i)
4024: char **p;
4025: int i;
4026: {
4027: return p[i];
4028: }
4029: static char *f (char * (*g) (char **, int), char **p, ...)
4030: {
4031: char *s;
4032: va_list v;
4033: va_start (v,p);
4034: s = g (p, va_arg (v,int));
4035: va_end (v);
4036: return s;
4037: }
4038:
4039: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4040: function prototypes and stuff, but not '\xHH' hex character constants.
4041: These don't provoke an error unfortunately, instead are silently treated
4042: as 'x'. The following induces an error, until -std is added to get
4043: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4044: array size at least. It's necessary to write '\x00'==0 to get something
4045: that's true only with -std. */
4046: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4047:
4048: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4049: inside strings and character constants. */
4050: #define FOO(x) 'x'
4051: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4052:
4053: int test (int i, double x);
4054: struct s1 {int (*f) (int a);};
4055: struct s2 {int (*f) (double a);};
4056: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4057: int argc;
4058: char **argv;
4059: int
4060: main ()
4061: {
4062: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4063: ;
4064: return 0;
4065: }
4066: _ACEOF
4067: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4068: -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4069: do
4070: CC="$ac_save_CC $ac_arg"
4071: if ac_fn_c_try_compile "$LINENO"; then :
4072: ac_cv_prog_cc_c89=$ac_arg
4073: fi
4074: rm -f core conftest.err conftest.$ac_objext
4075: test "x$ac_cv_prog_cc_c89" != "xno" && break
4076: done
4077: rm -f conftest.$ac_ext
4078: CC=$ac_save_CC
4079:
4080: fi
4081: # AC_CACHE_VAL
4082: case "x$ac_cv_prog_cc_c89" in
4083: x)
4084: { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4085: $as_echo "none needed" >&6; } ;;
4086: xno)
4087: { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4088: $as_echo "unsupported" >&6; } ;;
4089: *)
4090: CC="$CC $ac_cv_prog_cc_c89"
4091: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4092: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4093: esac
4094: if test "x$ac_cv_prog_cc_c89" != xno; then :
4095:
4096: fi
4097:
4098: ac_ext=c
4099: ac_cpp='$CPP $CPPFLAGS'
4100: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4101: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4102: ac_compiler_gnu=$ac_cv_c_compiler_gnu
4103:
4104: ac_ext=c
4105: ac_cpp='$CPP $CPPFLAGS'
4106: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4107: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4108: ac_compiler_gnu=$ac_cv_c_compiler_gnu
4109: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4110: $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4111: if ${am_cv_prog_cc_c_o+:} false; then :
4112: $as_echo_n "(cached) " >&6
4113: else
4114: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4115: /* end confdefs.h. */
4116:
4117: int
4118: main ()
4119: {
4120:
4121: ;
4122: return 0;
4123: }
4124: _ACEOF
4125: # Make sure it works both with $CC and with simple cc.
4126: # Following AC_PROG_CC_C_O, we do the test twice because some
4127: # compilers refuse to overwrite an existing .o file with -o,
4128: # though they will create one.
4129: am_cv_prog_cc_c_o=yes
4130: for am_i in 1 2; do
4131: if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4132: ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4133: ac_status=$?
4134: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4135: (exit $ac_status); } \
4136: && test -f conftest2.$ac_objext; then
4137: : OK
4138: else
4139: am_cv_prog_cc_c_o=no
4140: break
4141: fi
4142: done
4143: rm -f core conftest*
4144: unset am_i
4145: fi
4146: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4147: $as_echo "$am_cv_prog_cc_c_o" >&6; }
4148: if test "$am_cv_prog_cc_c_o" != yes; then
4149: # Losing compiler, so override with the script.
4150: # FIXME: It is wrong to rewrite CC.
4151: # But if we don't then we get into trouble of one sort or another.
4152: # A longer-term fix would be to have automake use am__CC in this case,
4153: # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4154: CC="$am_aux_dir/compile $CC"
4155: fi
4156: ac_ext=c
4157: ac_cpp='$CPP $CPPFLAGS'
4158: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4159: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4160: ac_compiler_gnu=$ac_cv_c_compiler_gnu
4161:
4162:
4163: depcc="$CC" am_compiler_list=
4164:
4165: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4166: $as_echo_n "checking dependency style of $depcc... " >&6; }
4167: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4168: $as_echo_n "(cached) " >&6
4169: else
4170: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4171: # We make a subdir and do the tests there. Otherwise we can end up
4172: # making bogus files that we don't know about and never remove. For
4173: # instance it was reported that on HP-UX the gcc test will end up
4174: # making a dummy file named 'D' -- because '-MD' means "put the output
4175: # in D".
4176: rm -rf conftest.dir
4177: mkdir conftest.dir
4178: # Copy depcomp to subdir because otherwise we won't find it if we're
4179: # using a relative directory.
4180: cp "$am_depcomp" conftest.dir
4181: cd conftest.dir
4182: # We will build objects and dependencies in a subdirectory because
4183: # it helps to detect inapplicable dependency modes. For instance
4184: # both Tru64's cc and ICC support -MD to output dependencies as a
4185: # side effect of compilation, but ICC will put the dependencies in
4186: # the current directory while Tru64 will put them in the object
4187: # directory.
4188: mkdir sub
4189:
4190: am_cv_CC_dependencies_compiler_type=none
4191: if test "$am_compiler_list" = ""; then
4192: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4193: fi
4194: am__universal=false
4195: case " $depcc " in #(
4196: *\ -arch\ *\ -arch\ *) am__universal=true ;;
4197: esac
4198:
4199: for depmode in $am_compiler_list; do
4200: # Setup a source with many dependencies, because some compilers
4201: # like to wrap large dependency lists on column 80 (with \), and
4202: # we should not choose a depcomp mode which is confused by this.
4203: #
4204: # We need to recreate these files for each test, as the compiler may
4205: # overwrite some of them when testing with obscure command lines.
4206: # This happens at least with the AIX C compiler.
4207: : > sub/conftest.c
4208: for i in 1 2 3 4 5 6; do
4209: echo '#include "conftst'$i'.h"' >> sub/conftest.c
4210: # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4211: # Solaris 10 /bin/sh.
4212: echo '/* dummy */' > sub/conftst$i.h
4213: done
4214: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4215:
4216: # We check with '-c' and '-o' for the sake of the "dashmstdout"
4217: # mode. It turns out that the SunPro C++ compiler does not properly
4218: # handle '-M -o', and we need to detect this. Also, some Intel
4219: # versions had trouble with output in subdirs.
4220: am__obj=sub/conftest.${OBJEXT-o}
4221: am__minus_obj="-o $am__obj"
4222: case $depmode in
4223: gcc)
4224: # This depmode causes a compiler race in universal mode.
4225: test "$am__universal" = false || continue
4226: ;;
4227: nosideeffect)
4228: # After this tag, mechanisms are not by side-effect, so they'll
4229: # only be used when explicitly requested.
4230: if test "x$enable_dependency_tracking" = xyes; then
4231: continue
4232: else
4233: break
4234: fi
4235: ;;
4236: msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4237: # This compiler won't grok '-c -o', but also, the minuso test has
4238: # not run yet. These depmodes are late enough in the game, and
4239: # so weak that their functioning should not be impacted.
4240: am__obj=conftest.${OBJEXT-o}
4241: am__minus_obj=
4242: ;;
4243: none) break ;;
4244: esac
4245: if depmode=$depmode \
4246: source=sub/conftest.c object=$am__obj \
4247: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4248: $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4249: >/dev/null 2>conftest.err &&
4250: grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4251: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4252: grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4253: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4254: # icc doesn't choke on unknown options, it will just issue warnings
4255: # or remarks (even with -Werror). So we grep stderr for any message
4256: # that says an option was ignored or not supported.
4257: # When given -MP, icc 7.0 and 7.1 complain thusly:
4258: # icc: Command line warning: ignoring option '-M'; no argument required
4259: # The diagnosis changed in icc 8.0:
4260: # icc: Command line remark: option '-MP' not supported
4261: if (grep 'ignoring option' conftest.err ||
4262: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4263: am_cv_CC_dependencies_compiler_type=$depmode
4264: break
4265: fi
4266: fi
4267: done
4268:
4269: cd ..
4270: rm -rf conftest.dir
4271: else
4272: am_cv_CC_dependencies_compiler_type=none
4273: fi
4274:
4275: fi
4276: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4277: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4278: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4279:
4280: if
4281: test "x$enable_dependency_tracking" != xno \
4282: && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4283: am__fastdepCC_TRUE=
4284: am__fastdepCC_FALSE='#'
4285: else
4286: am__fastdepCC_TRUE='#'
4287: am__fastdepCC_FALSE=
4288: fi
4289:
4290:
1.5 ! ohara 4291: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
! 4292: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
! 4293: if ${ac_cv_path_SED+:} false; then :
1.1 noro 4294: $as_echo_n "(cached) " >&6
4295: else
1.5 ! ohara 4296: ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
! 4297: for ac_i in 1 2 3 4 5 6 7; do
! 4298: ac_script="$ac_script$as_nl$ac_script"
! 4299: done
! 4300: echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
! 4301: { ac_script=; unset ac_script;}
! 4302: if test -z "$SED"; then
! 4303: ac_path_SED_found=false
! 4304: # Loop through the user's path and test for each of PROGNAME-LIST
! 4305: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1 noro 4306: for as_dir in $PATH
4307: do
4308: IFS=$as_save_IFS
4309: test -z "$as_dir" && as_dir=.
1.5 ! ohara 4310: for ac_prog in sed gsed; do
1.1 noro 4311: for ac_exec_ext in '' $ac_executable_extensions; do
1.5 ! ohara 4312: ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
! 4313: as_fn_executable_p "$ac_path_SED" || continue
! 4314: # Check for GNU ac_path_SED and select it if it is found.
! 4315: # Check for GNU $ac_path_SED
! 4316: case `"$ac_path_SED" --version 2>&1` in
! 4317: *GNU*)
! 4318: ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
! 4319: *)
! 4320: ac_count=0
! 4321: $as_echo_n 0123456789 >"conftest.in"
! 4322: while :
! 4323: do
! 4324: cat "conftest.in" "conftest.in" >"conftest.tmp"
! 4325: mv "conftest.tmp" "conftest.in"
! 4326: cp "conftest.in" "conftest.nl"
! 4327: $as_echo '' >> "conftest.nl"
! 4328: "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
! 4329: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
! 4330: as_fn_arith $ac_count + 1 && ac_count=$as_val
! 4331: if test $ac_count -gt ${ac_path_SED_max-0}; then
! 4332: # Best one so far, save it but keep looking for a better one
! 4333: ac_cv_path_SED="$ac_path_SED"
! 4334: ac_path_SED_max=$ac_count
! 4335: fi
! 4336: # 10*(2^10) chars as input seems more than enough
! 4337: test $ac_count -gt 10 && break
! 4338: done
! 4339: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
! 4340: esac
! 4341:
! 4342: $ac_path_SED_found && break 3
! 4343: done
! 4344: done
1.1 noro 4345: done
4346: IFS=$as_save_IFS
1.5 ! ohara 4347: if test -z "$ac_cv_path_SED"; then
! 4348: as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
! 4349: fi
! 4350: else
! 4351: ac_cv_path_SED=$SED
! 4352: fi
1.1 noro 4353:
4354: fi
1.5 ! ohara 4355: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
! 4356: $as_echo "$ac_cv_path_SED" >&6; }
! 4357: SED="$ac_cv_path_SED"
! 4358: rm -f conftest.sed
! 4359:
! 4360: test -z "$SED" && SED=sed
! 4361: Xsed="$SED -e 1s/^X//"
! 4362:
! 4363:
! 4364:
! 4365:
! 4366:
! 4367:
! 4368:
! 4369:
! 4370:
1.1 noro 4371:
4372:
1.5 ! ohara 4373: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
! 4374: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
! 4375: if ${ac_cv_path_GREP+:} false; then :
1.1 noro 4376: $as_echo_n "(cached) " >&6
4377: else
1.5 ! ohara 4378: if test -z "$GREP"; then
! 4379: ac_path_GREP_found=false
! 4380: # Loop through the user's path and test for each of PROGNAME-LIST
! 4381: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4382: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
1.1 noro 4383: do
4384: IFS=$as_save_IFS
4385: test -z "$as_dir" && as_dir=.
1.5 ! ohara 4386: for ac_prog in grep ggrep; do
1.1 noro 4387: for ac_exec_ext in '' $ac_executable_extensions; do
1.5 ! ohara 4388: ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
! 4389: as_fn_executable_p "$ac_path_GREP" || continue
! 4390: # Check for GNU ac_path_GREP and select it if it is found.
! 4391: # Check for GNU $ac_path_GREP
! 4392: case `"$ac_path_GREP" --version 2>&1` in
! 4393: *GNU*)
! 4394: ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
! 4395: *)
! 4396: ac_count=0
! 4397: $as_echo_n 0123456789 >"conftest.in"
! 4398: while :
! 4399: do
! 4400: cat "conftest.in" "conftest.in" >"conftest.tmp"
! 4401: mv "conftest.tmp" "conftest.in"
! 4402: cp "conftest.in" "conftest.nl"
! 4403: $as_echo 'GREP' >> "conftest.nl"
! 4404: "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
! 4405: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
! 4406: as_fn_arith $ac_count + 1 && ac_count=$as_val
! 4407: if test $ac_count -gt ${ac_path_GREP_max-0}; then
! 4408: # Best one so far, save it but keep looking for a better one
! 4409: ac_cv_path_GREP="$ac_path_GREP"
! 4410: ac_path_GREP_max=$ac_count
! 4411: fi
! 4412: # 10*(2^10) chars as input seems more than enough
! 4413: test $ac_count -gt 10 && break
! 4414: done
! 4415: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
! 4416: esac
! 4417:
! 4418: $ac_path_GREP_found && break 3
! 4419: done
! 4420: done
! 4421: done
! 4422: IFS=$as_save_IFS
! 4423: if test -z "$ac_cv_path_GREP"; then
! 4424: as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
! 4425: fi
! 4426: else
! 4427: ac_cv_path_GREP=$GREP
! 4428: fi
! 4429:
! 4430: fi
! 4431: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
! 4432: $as_echo "$ac_cv_path_GREP" >&6; }
! 4433: GREP="$ac_cv_path_GREP"
! 4434:
! 4435:
! 4436: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
! 4437: $as_echo_n "checking for egrep... " >&6; }
! 4438: if ${ac_cv_path_EGREP+:} false; then :
! 4439: $as_echo_n "(cached) " >&6
! 4440: else
! 4441: if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
! 4442: then ac_cv_path_EGREP="$GREP -E"
! 4443: else
! 4444: if test -z "$EGREP"; then
! 4445: ac_path_EGREP_found=false
! 4446: # Loop through the user's path and test for each of PROGNAME-LIST
! 4447: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4448: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
! 4449: do
! 4450: IFS=$as_save_IFS
! 4451: test -z "$as_dir" && as_dir=.
! 4452: for ac_prog in egrep; do
! 4453: for ac_exec_ext in '' $ac_executable_extensions; do
! 4454: ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
! 4455: as_fn_executable_p "$ac_path_EGREP" || continue
! 4456: # Check for GNU ac_path_EGREP and select it if it is found.
! 4457: # Check for GNU $ac_path_EGREP
! 4458: case `"$ac_path_EGREP" --version 2>&1` in
! 4459: *GNU*)
! 4460: ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
! 4461: *)
! 4462: ac_count=0
! 4463: $as_echo_n 0123456789 >"conftest.in"
! 4464: while :
! 4465: do
! 4466: cat "conftest.in" "conftest.in" >"conftest.tmp"
! 4467: mv "conftest.tmp" "conftest.in"
! 4468: cp "conftest.in" "conftest.nl"
! 4469: $as_echo 'EGREP' >> "conftest.nl"
! 4470: "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
! 4471: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
! 4472: as_fn_arith $ac_count + 1 && ac_count=$as_val
! 4473: if test $ac_count -gt ${ac_path_EGREP_max-0}; then
! 4474: # Best one so far, save it but keep looking for a better one
! 4475: ac_cv_path_EGREP="$ac_path_EGREP"
! 4476: ac_path_EGREP_max=$ac_count
! 4477: fi
! 4478: # 10*(2^10) chars as input seems more than enough
! 4479: test $ac_count -gt 10 && break
! 4480: done
! 4481: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
! 4482: esac
! 4483:
! 4484: $ac_path_EGREP_found && break 3
! 4485: done
! 4486: done
! 4487: done
! 4488: IFS=$as_save_IFS
! 4489: if test -z "$ac_cv_path_EGREP"; then
! 4490: as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
! 4491: fi
! 4492: else
! 4493: ac_cv_path_EGREP=$EGREP
! 4494: fi
! 4495:
! 4496: fi
! 4497: fi
! 4498: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
! 4499: $as_echo "$ac_cv_path_EGREP" >&6; }
! 4500: EGREP="$ac_cv_path_EGREP"
! 4501:
! 4502:
! 4503: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
! 4504: $as_echo_n "checking for fgrep... " >&6; }
! 4505: if ${ac_cv_path_FGREP+:} false; then :
! 4506: $as_echo_n "(cached) " >&6
! 4507: else
! 4508: if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
! 4509: then ac_cv_path_FGREP="$GREP -F"
! 4510: else
! 4511: if test -z "$FGREP"; then
! 4512: ac_path_FGREP_found=false
! 4513: # Loop through the user's path and test for each of PROGNAME-LIST
! 4514: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4515: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
! 4516: do
! 4517: IFS=$as_save_IFS
! 4518: test -z "$as_dir" && as_dir=.
! 4519: for ac_prog in fgrep; do
! 4520: for ac_exec_ext in '' $ac_executable_extensions; do
! 4521: ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
! 4522: as_fn_executable_p "$ac_path_FGREP" || continue
! 4523: # Check for GNU ac_path_FGREP and select it if it is found.
! 4524: # Check for GNU $ac_path_FGREP
! 4525: case `"$ac_path_FGREP" --version 2>&1` in
! 4526: *GNU*)
! 4527: ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
! 4528: *)
! 4529: ac_count=0
! 4530: $as_echo_n 0123456789 >"conftest.in"
! 4531: while :
! 4532: do
! 4533: cat "conftest.in" "conftest.in" >"conftest.tmp"
! 4534: mv "conftest.tmp" "conftest.in"
! 4535: cp "conftest.in" "conftest.nl"
! 4536: $as_echo 'FGREP' >> "conftest.nl"
! 4537: "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
! 4538: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
! 4539: as_fn_arith $ac_count + 1 && ac_count=$as_val
! 4540: if test $ac_count -gt ${ac_path_FGREP_max-0}; then
! 4541: # Best one so far, save it but keep looking for a better one
! 4542: ac_cv_path_FGREP="$ac_path_FGREP"
! 4543: ac_path_FGREP_max=$ac_count
! 4544: fi
! 4545: # 10*(2^10) chars as input seems more than enough
! 4546: test $ac_count -gt 10 && break
! 4547: done
! 4548: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
! 4549: esac
! 4550:
! 4551: $ac_path_FGREP_found && break 3
! 4552: done
! 4553: done
! 4554: done
! 4555: IFS=$as_save_IFS
! 4556: if test -z "$ac_cv_path_FGREP"; then
! 4557: as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
! 4558: fi
! 4559: else
! 4560: ac_cv_path_FGREP=$FGREP
! 4561: fi
! 4562:
! 4563: fi
! 4564: fi
! 4565: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
! 4566: $as_echo "$ac_cv_path_FGREP" >&6; }
! 4567: FGREP="$ac_cv_path_FGREP"
! 4568:
! 4569:
! 4570: test -z "$GREP" && GREP=grep
! 4571:
! 4572:
! 4573:
! 4574:
! 4575:
! 4576:
! 4577:
! 4578:
! 4579:
! 4580:
! 4581:
! 4582:
! 4583:
! 4584:
! 4585:
! 4586:
! 4587:
! 4588:
! 4589:
! 4590: # Check whether --with-gnu-ld was given.
! 4591: if test "${with_gnu_ld+set}" = set; then :
! 4592: withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
! 4593: else
! 4594: with_gnu_ld=no
! 4595: fi
! 4596:
! 4597: ac_prog=ld
! 4598: if test yes = "$GCC"; then
! 4599: # Check if gcc -print-prog-name=ld gives a path.
! 4600: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
! 4601: $as_echo_n "checking for ld used by $CC... " >&6; }
! 4602: case $host in
! 4603: *-*-mingw*)
! 4604: # gcc leaves a trailing carriage return, which upsets mingw
! 4605: ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
! 4606: *)
! 4607: ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
! 4608: esac
! 4609: case $ac_prog in
! 4610: # Accept absolute paths.
! 4611: [\\/]* | ?:[\\/]*)
! 4612: re_direlt='/[^/][^/]*/\.\./'
! 4613: # Canonicalize the pathname of ld
! 4614: ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
! 4615: while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
! 4616: ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
! 4617: done
! 4618: test -z "$LD" && LD=$ac_prog
! 4619: ;;
! 4620: "")
! 4621: # If it fails, then pretend we aren't using GCC.
! 4622: ac_prog=ld
! 4623: ;;
! 4624: *)
! 4625: # If it is relative, then search for the first ld in PATH.
! 4626: with_gnu_ld=unknown
! 4627: ;;
! 4628: esac
! 4629: elif test yes = "$with_gnu_ld"; then
! 4630: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
! 4631: $as_echo_n "checking for GNU ld... " >&6; }
! 4632: else
! 4633: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
! 4634: $as_echo_n "checking for non-GNU ld... " >&6; }
! 4635: fi
! 4636: if ${lt_cv_path_LD+:} false; then :
! 4637: $as_echo_n "(cached) " >&6
! 4638: else
! 4639: if test -z "$LD"; then
! 4640: lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
! 4641: for ac_dir in $PATH; do
! 4642: IFS=$lt_save_ifs
! 4643: test -z "$ac_dir" && ac_dir=.
! 4644: if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
! 4645: lt_cv_path_LD=$ac_dir/$ac_prog
! 4646: # Check to see if the program is GNU ld. I'd rather use --version,
! 4647: # but apparently some variants of GNU ld only accept -v.
! 4648: # Break only if it was the GNU/non-GNU ld that we prefer.
! 4649: case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
! 4650: *GNU* | *'with BFD'*)
! 4651: test no != "$with_gnu_ld" && break
! 4652: ;;
! 4653: *)
! 4654: test yes != "$with_gnu_ld" && break
! 4655: ;;
! 4656: esac
! 4657: fi
! 4658: done
! 4659: IFS=$lt_save_ifs
! 4660: else
! 4661: lt_cv_path_LD=$LD # Let the user override the test with a path.
! 4662: fi
! 4663: fi
! 4664:
! 4665: LD=$lt_cv_path_LD
! 4666: if test -n "$LD"; then
! 4667: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
! 4668: $as_echo "$LD" >&6; }
! 4669: else
! 4670: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 4671: $as_echo "no" >&6; }
! 4672: fi
! 4673: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
! 4674: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
! 4675: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
! 4676: if ${lt_cv_prog_gnu_ld+:} false; then :
! 4677: $as_echo_n "(cached) " >&6
! 4678: else
! 4679: # I'd rather use --version here, but apparently some GNU lds only accept -v.
! 4680: case `$LD -v 2>&1 </dev/null` in
! 4681: *GNU* | *'with BFD'*)
! 4682: lt_cv_prog_gnu_ld=yes
! 4683: ;;
! 4684: *)
! 4685: lt_cv_prog_gnu_ld=no
! 4686: ;;
! 4687: esac
! 4688: fi
! 4689: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
! 4690: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
! 4691: with_gnu_ld=$lt_cv_prog_gnu_ld
! 4692:
! 4693:
! 4694:
! 4695:
! 4696:
! 4697:
! 4698:
! 4699:
! 4700:
! 4701: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
! 4702: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
! 4703: if ${lt_cv_path_NM+:} false; then :
! 4704: $as_echo_n "(cached) " >&6
! 4705: else
! 4706: if test -n "$NM"; then
! 4707: # Let the user override the test.
! 4708: lt_cv_path_NM=$NM
! 4709: else
! 4710: lt_nm_to_check=${ac_tool_prefix}nm
! 4711: if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
! 4712: lt_nm_to_check="$lt_nm_to_check nm"
! 4713: fi
! 4714: for lt_tmp_nm in $lt_nm_to_check; do
! 4715: lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
! 4716: for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
! 4717: IFS=$lt_save_ifs
! 4718: test -z "$ac_dir" && ac_dir=.
! 4719: tmp_nm=$ac_dir/$lt_tmp_nm
! 4720: if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
! 4721: # Check to see if the nm accepts a BSD-compat flag.
! 4722: # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
! 4723: # nm: unknown option "B" ignored
! 4724: # Tru64's nm complains that /dev/null is an invalid object file
! 4725: # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
! 4726: case $build_os in
! 4727: mingw*) lt_bad_file=conftest.nm/nofile ;;
! 4728: *) lt_bad_file=/dev/null ;;
! 4729: esac
! 4730: case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
! 4731: *$lt_bad_file* | *'Invalid file or object type'*)
! 4732: lt_cv_path_NM="$tmp_nm -B"
! 4733: break 2
! 4734: ;;
! 4735: *)
! 4736: case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
! 4737: */dev/null*)
! 4738: lt_cv_path_NM="$tmp_nm -p"
! 4739: break 2
! 4740: ;;
! 4741: *)
! 4742: lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
! 4743: continue # so that we can try to find one that supports BSD flags
! 4744: ;;
! 4745: esac
! 4746: ;;
! 4747: esac
! 4748: fi
! 4749: done
! 4750: IFS=$lt_save_ifs
! 4751: done
! 4752: : ${lt_cv_path_NM=no}
! 4753: fi
! 4754: fi
! 4755: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
! 4756: $as_echo "$lt_cv_path_NM" >&6; }
! 4757: if test no != "$lt_cv_path_NM"; then
! 4758: NM=$lt_cv_path_NM
! 4759: else
! 4760: # Didn't find any BSD compatible name lister, look for dumpbin.
! 4761: if test -n "$DUMPBIN"; then :
! 4762: # Let the user override the test.
! 4763: else
! 4764: if test -n "$ac_tool_prefix"; then
! 4765: for ac_prog in dumpbin "link -dump"
! 4766: do
! 4767: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 4768: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 4769: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 4770: $as_echo_n "checking for $ac_word... " >&6; }
! 4771: if ${ac_cv_prog_DUMPBIN+:} false; then :
! 4772: $as_echo_n "(cached) " >&6
! 4773: else
! 4774: if test -n "$DUMPBIN"; then
! 4775: ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
! 4776: else
! 4777: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4778: for as_dir in $PATH
! 4779: do
! 4780: IFS=$as_save_IFS
! 4781: test -z "$as_dir" && as_dir=.
! 4782: for ac_exec_ext in '' $ac_executable_extensions; do
! 4783: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 4784: ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
! 4785: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4786: break 2
! 4787: fi
! 4788: done
! 4789: done
! 4790: IFS=$as_save_IFS
! 4791:
! 4792: fi
! 4793: fi
! 4794: DUMPBIN=$ac_cv_prog_DUMPBIN
! 4795: if test -n "$DUMPBIN"; then
! 4796: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
! 4797: $as_echo "$DUMPBIN" >&6; }
! 4798: else
! 4799: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 4800: $as_echo "no" >&6; }
! 4801: fi
! 4802:
! 4803:
! 4804: test -n "$DUMPBIN" && break
! 4805: done
! 4806: fi
! 4807: if test -z "$DUMPBIN"; then
! 4808: ac_ct_DUMPBIN=$DUMPBIN
! 4809: for ac_prog in dumpbin "link -dump"
! 4810: do
! 4811: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 4812: set dummy $ac_prog; ac_word=$2
! 4813: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 4814: $as_echo_n "checking for $ac_word... " >&6; }
! 4815: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
! 4816: $as_echo_n "(cached) " >&6
! 4817: else
! 4818: if test -n "$ac_ct_DUMPBIN"; then
! 4819: ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
! 4820: else
! 4821: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 4822: for as_dir in $PATH
! 4823: do
! 4824: IFS=$as_save_IFS
! 4825: test -z "$as_dir" && as_dir=.
! 4826: for ac_exec_ext in '' $ac_executable_extensions; do
! 4827: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 4828: ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
! 4829: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 4830: break 2
! 4831: fi
! 4832: done
! 4833: done
! 4834: IFS=$as_save_IFS
! 4835:
! 4836: fi
! 4837: fi
! 4838: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
! 4839: if test -n "$ac_ct_DUMPBIN"; then
! 4840: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
! 4841: $as_echo "$ac_ct_DUMPBIN" >&6; }
! 4842: else
! 4843: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 4844: $as_echo "no" >&6; }
! 4845: fi
! 4846:
! 4847:
! 4848: test -n "$ac_ct_DUMPBIN" && break
! 4849: done
! 4850:
! 4851: if test "x$ac_ct_DUMPBIN" = x; then
! 4852: DUMPBIN=":"
! 4853: else
! 4854: case $cross_compiling:$ac_tool_warned in
! 4855: yes:)
! 4856: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 4857: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 4858: ac_tool_warned=yes ;;
! 4859: esac
! 4860: DUMPBIN=$ac_ct_DUMPBIN
! 4861: fi
! 4862: fi
! 4863:
! 4864: case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
! 4865: *COFF*)
! 4866: DUMPBIN="$DUMPBIN -symbols -headers"
! 4867: ;;
! 4868: *)
! 4869: DUMPBIN=:
! 4870: ;;
! 4871: esac
! 4872: fi
! 4873:
! 4874: if test : != "$DUMPBIN"; then
! 4875: NM=$DUMPBIN
! 4876: fi
! 4877: fi
! 4878: test -z "$NM" && NM=nm
! 4879:
! 4880:
! 4881:
! 4882:
! 4883:
! 4884:
! 4885: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
! 4886: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
! 4887: if ${lt_cv_nm_interface+:} false; then :
! 4888: $as_echo_n "(cached) " >&6
! 4889: else
! 4890: lt_cv_nm_interface="BSD nm"
! 4891: echo "int some_variable = 0;" > conftest.$ac_ext
! 4892: (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
! 4893: (eval "$ac_compile" 2>conftest.err)
! 4894: cat conftest.err >&5
! 4895: (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
! 4896: (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
! 4897: cat conftest.err >&5
! 4898: (eval echo "\"\$as_me:$LINENO: output\"" >&5)
! 4899: cat conftest.out >&5
! 4900: if $GREP 'External.*some_variable' conftest.out > /dev/null; then
! 4901: lt_cv_nm_interface="MS dumpbin"
! 4902: fi
! 4903: rm -f conftest*
! 4904: fi
! 4905: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
! 4906: $as_echo "$lt_cv_nm_interface" >&6; }
! 4907:
! 4908: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
! 4909: $as_echo_n "checking whether ln -s works... " >&6; }
! 4910: LN_S=$as_ln_s
! 4911: if test "$LN_S" = "ln -s"; then
! 4912: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 4913: $as_echo "yes" >&6; }
! 4914: else
! 4915: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
! 4916: $as_echo "no, using $LN_S" >&6; }
! 4917: fi
! 4918:
! 4919: # find the maximum length of command line arguments
! 4920: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
! 4921: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
! 4922: if ${lt_cv_sys_max_cmd_len+:} false; then :
! 4923: $as_echo_n "(cached) " >&6
! 4924: else
! 4925: i=0
! 4926: teststring=ABCD
! 4927:
! 4928: case $build_os in
! 4929: msdosdjgpp*)
! 4930: # On DJGPP, this test can blow up pretty badly due to problems in libc
! 4931: # (any single argument exceeding 2000 bytes causes a buffer overrun
! 4932: # during glob expansion). Even if it were fixed, the result of this
! 4933: # check would be larger than it should be.
! 4934: lt_cv_sys_max_cmd_len=12288; # 12K is about right
! 4935: ;;
! 4936:
! 4937: gnu*)
! 4938: # Under GNU Hurd, this test is not required because there is
! 4939: # no limit to the length of command line arguments.
! 4940: # Libtool will interpret -1 as no limit whatsoever
! 4941: lt_cv_sys_max_cmd_len=-1;
! 4942: ;;
! 4943:
! 4944: cygwin* | mingw* | cegcc*)
! 4945: # On Win9x/ME, this test blows up -- it succeeds, but takes
! 4946: # about 5 minutes as the teststring grows exponentially.
! 4947: # Worse, since 9x/ME are not pre-emptively multitasking,
! 4948: # you end up with a "frozen" computer, even though with patience
! 4949: # the test eventually succeeds (with a max line length of 256k).
! 4950: # Instead, let's just punt: use the minimum linelength reported by
! 4951: # all of the supported platforms: 8192 (on NT/2K/XP).
! 4952: lt_cv_sys_max_cmd_len=8192;
! 4953: ;;
! 4954:
! 4955: mint*)
! 4956: # On MiNT this can take a long time and run out of memory.
! 4957: lt_cv_sys_max_cmd_len=8192;
! 4958: ;;
! 4959:
! 4960: amigaos*)
! 4961: # On AmigaOS with pdksh, this test takes hours, literally.
! 4962: # So we just punt and use a minimum line length of 8192.
! 4963: lt_cv_sys_max_cmd_len=8192;
! 4964: ;;
! 4965:
! 4966: bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
! 4967: # This has been around since 386BSD, at least. Likely further.
! 4968: if test -x /sbin/sysctl; then
! 4969: lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
! 4970: elif test -x /usr/sbin/sysctl; then
! 4971: lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
! 4972: else
! 4973: lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
! 4974: fi
! 4975: # And add a safety zone
! 4976: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
! 4977: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
! 4978: ;;
! 4979:
! 4980: interix*)
! 4981: # We know the value 262144 and hardcode it with a safety zone (like BSD)
! 4982: lt_cv_sys_max_cmd_len=196608
! 4983: ;;
! 4984:
! 4985: os2*)
! 4986: # The test takes a long time on OS/2.
! 4987: lt_cv_sys_max_cmd_len=8192
! 4988: ;;
! 4989:
! 4990: osf*)
! 4991: # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
! 4992: # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
! 4993: # nice to cause kernel panics so lets avoid the loop below.
! 4994: # First set a reasonable default.
! 4995: lt_cv_sys_max_cmd_len=16384
! 4996: #
! 4997: if test -x /sbin/sysconfig; then
! 4998: case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
! 4999: *1*) lt_cv_sys_max_cmd_len=-1 ;;
! 5000: esac
! 5001: fi
! 5002: ;;
! 5003: sco3.2v5*)
! 5004: lt_cv_sys_max_cmd_len=102400
! 5005: ;;
! 5006: sysv5* | sco5v6* | sysv4.2uw2*)
! 5007: kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
! 5008: if test -n "$kargmax"; then
! 5009: lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
! 5010: else
! 5011: lt_cv_sys_max_cmd_len=32768
! 5012: fi
! 5013: ;;
! 5014: *)
! 5015: lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
! 5016: if test -n "$lt_cv_sys_max_cmd_len" && \
! 5017: test undefined != "$lt_cv_sys_max_cmd_len"; then
! 5018: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
! 5019: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
! 5020: else
! 5021: # Make teststring a little bigger before we do anything with it.
! 5022: # a 1K string should be a reasonable start.
! 5023: for i in 1 2 3 4 5 6 7 8; do
! 5024: teststring=$teststring$teststring
! 5025: done
! 5026: SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
! 5027: # If test is not a shell built-in, we'll probably end up computing a
! 5028: # maximum length that is only half of the actual maximum length, but
! 5029: # we can't tell.
! 5030: while { test X`env echo "$teststring$teststring" 2>/dev/null` \
! 5031: = "X$teststring$teststring"; } >/dev/null 2>&1 &&
! 5032: test 17 != "$i" # 1/2 MB should be enough
! 5033: do
! 5034: i=`expr $i + 1`
! 5035: teststring=$teststring$teststring
! 5036: done
! 5037: # Only check the string length outside the loop.
! 5038: lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
! 5039: teststring=
! 5040: # Add a significant safety factor because C++ compilers can tack on
! 5041: # massive amounts of additional arguments before passing them to the
! 5042: # linker. It appears as though 1/2 is a usable value.
! 5043: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
! 5044: fi
! 5045: ;;
! 5046: esac
! 5047:
! 5048: fi
! 5049:
! 5050: if test -n "$lt_cv_sys_max_cmd_len"; then
! 5051: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
! 5052: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
! 5053: else
! 5054: { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
! 5055: $as_echo "none" >&6; }
! 5056: fi
! 5057: max_cmd_len=$lt_cv_sys_max_cmd_len
! 5058:
! 5059:
! 5060:
! 5061:
! 5062:
! 5063:
! 5064: : ${CP="cp -f"}
! 5065: : ${MV="mv -f"}
! 5066: : ${RM="rm -f"}
! 5067:
! 5068: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
! 5069: lt_unset=unset
! 5070: else
! 5071: lt_unset=false
! 5072: fi
! 5073:
! 5074:
! 5075:
! 5076:
! 5077:
! 5078: # test EBCDIC or ASCII
! 5079: case `echo X|tr X '\101'` in
! 5080: A) # ASCII based system
! 5081: # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
! 5082: lt_SP2NL='tr \040 \012'
! 5083: lt_NL2SP='tr \015\012 \040\040'
! 5084: ;;
! 5085: *) # EBCDIC based system
! 5086: lt_SP2NL='tr \100 \n'
! 5087: lt_NL2SP='tr \r\n \100\100'
! 5088: ;;
! 5089: esac
! 5090:
! 5091:
! 5092:
! 5093:
! 5094:
! 5095:
! 5096:
! 5097:
! 5098:
! 5099: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
! 5100: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
! 5101: if ${lt_cv_to_host_file_cmd+:} false; then :
! 5102: $as_echo_n "(cached) " >&6
! 5103: else
! 5104: case $host in
! 5105: *-*-mingw* )
! 5106: case $build in
! 5107: *-*-mingw* ) # actually msys
! 5108: lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
! 5109: ;;
! 5110: *-*-cygwin* )
! 5111: lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
! 5112: ;;
! 5113: * ) # otherwise, assume *nix
! 5114: lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
! 5115: ;;
! 5116: esac
! 5117: ;;
! 5118: *-*-cygwin* )
! 5119: case $build in
! 5120: *-*-mingw* ) # actually msys
! 5121: lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
! 5122: ;;
! 5123: *-*-cygwin* )
! 5124: lt_cv_to_host_file_cmd=func_convert_file_noop
! 5125: ;;
! 5126: * ) # otherwise, assume *nix
! 5127: lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
! 5128: ;;
! 5129: esac
! 5130: ;;
! 5131: * ) # unhandled hosts (and "normal" native builds)
! 5132: lt_cv_to_host_file_cmd=func_convert_file_noop
! 5133: ;;
! 5134: esac
! 5135:
! 5136: fi
! 5137:
! 5138: to_host_file_cmd=$lt_cv_to_host_file_cmd
! 5139: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
! 5140: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
! 5141:
! 5142:
! 5143:
! 5144:
! 5145:
! 5146: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
! 5147: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
! 5148: if ${lt_cv_to_tool_file_cmd+:} false; then :
! 5149: $as_echo_n "(cached) " >&6
! 5150: else
! 5151: #assume ordinary cross tools, or native build.
! 5152: lt_cv_to_tool_file_cmd=func_convert_file_noop
! 5153: case $host in
! 5154: *-*-mingw* )
! 5155: case $build in
! 5156: *-*-mingw* ) # actually msys
! 5157: lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
! 5158: ;;
! 5159: esac
! 5160: ;;
! 5161: esac
! 5162:
! 5163: fi
! 5164:
! 5165: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
! 5166: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
! 5167: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
! 5168:
! 5169:
! 5170:
! 5171:
! 5172:
! 5173: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
! 5174: $as_echo_n "checking for $LD option to reload object files... " >&6; }
! 5175: if ${lt_cv_ld_reload_flag+:} false; then :
! 5176: $as_echo_n "(cached) " >&6
! 5177: else
! 5178: lt_cv_ld_reload_flag='-r'
! 5179: fi
! 5180: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
! 5181: $as_echo "$lt_cv_ld_reload_flag" >&6; }
! 5182: reload_flag=$lt_cv_ld_reload_flag
! 5183: case $reload_flag in
! 5184: "" | " "*) ;;
! 5185: *) reload_flag=" $reload_flag" ;;
! 5186: esac
! 5187: reload_cmds='$LD$reload_flag -o $output$reload_objs'
! 5188: case $host_os in
! 5189: cygwin* | mingw* | pw32* | cegcc*)
! 5190: if test yes != "$GCC"; then
! 5191: reload_cmds=false
! 5192: fi
! 5193: ;;
! 5194: darwin*)
! 5195: if test yes = "$GCC"; then
! 5196: reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
! 5197: else
! 5198: reload_cmds='$LD$reload_flag -o $output$reload_objs'
! 5199: fi
! 5200: ;;
! 5201: esac
! 5202:
! 5203:
! 5204:
! 5205:
! 5206:
! 5207:
! 5208:
! 5209:
! 5210:
! 5211: if test -n "$ac_tool_prefix"; then
! 5212: # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
! 5213: set dummy ${ac_tool_prefix}objdump; ac_word=$2
! 5214: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 5215: $as_echo_n "checking for $ac_word... " >&6; }
! 5216: if ${ac_cv_prog_OBJDUMP+:} false; then :
! 5217: $as_echo_n "(cached) " >&6
! 5218: else
! 5219: if test -n "$OBJDUMP"; then
! 5220: ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
! 5221: else
! 5222: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5223: for as_dir in $PATH
! 5224: do
! 5225: IFS=$as_save_IFS
! 5226: test -z "$as_dir" && as_dir=.
! 5227: for ac_exec_ext in '' $ac_executable_extensions; do
! 5228: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5229: ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
! 5230: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5231: break 2
! 5232: fi
! 5233: done
! 5234: done
! 5235: IFS=$as_save_IFS
! 5236:
! 5237: fi
! 5238: fi
! 5239: OBJDUMP=$ac_cv_prog_OBJDUMP
! 5240: if test -n "$OBJDUMP"; then
! 5241: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
! 5242: $as_echo "$OBJDUMP" >&6; }
! 5243: else
! 5244: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5245: $as_echo "no" >&6; }
! 5246: fi
! 5247:
! 5248:
! 5249: fi
! 5250: if test -z "$ac_cv_prog_OBJDUMP"; then
! 5251: ac_ct_OBJDUMP=$OBJDUMP
! 5252: # Extract the first word of "objdump", so it can be a program name with args.
! 5253: set dummy objdump; ac_word=$2
! 5254: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 5255: $as_echo_n "checking for $ac_word... " >&6; }
! 5256: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
! 5257: $as_echo_n "(cached) " >&6
! 5258: else
! 5259: if test -n "$ac_ct_OBJDUMP"; then
! 5260: ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
! 5261: else
! 5262: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5263: for as_dir in $PATH
! 5264: do
! 5265: IFS=$as_save_IFS
! 5266: test -z "$as_dir" && as_dir=.
! 5267: for ac_exec_ext in '' $ac_executable_extensions; do
! 5268: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5269: ac_cv_prog_ac_ct_OBJDUMP="objdump"
! 5270: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5271: break 2
! 5272: fi
! 5273: done
! 5274: done
! 5275: IFS=$as_save_IFS
! 5276:
! 5277: fi
! 5278: fi
! 5279: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
! 5280: if test -n "$ac_ct_OBJDUMP"; then
! 5281: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
! 5282: $as_echo "$ac_ct_OBJDUMP" >&6; }
! 5283: else
! 5284: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5285: $as_echo "no" >&6; }
! 5286: fi
! 5287:
! 5288: if test "x$ac_ct_OBJDUMP" = x; then
! 5289: OBJDUMP="false"
! 5290: else
! 5291: case $cross_compiling:$ac_tool_warned in
! 5292: yes:)
! 5293: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 5294: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 5295: ac_tool_warned=yes ;;
! 5296: esac
! 5297: OBJDUMP=$ac_ct_OBJDUMP
! 5298: fi
! 5299: else
! 5300: OBJDUMP="$ac_cv_prog_OBJDUMP"
! 5301: fi
! 5302:
! 5303: test -z "$OBJDUMP" && OBJDUMP=objdump
! 5304:
! 5305:
! 5306:
! 5307:
! 5308:
! 5309:
! 5310:
! 5311:
! 5312:
! 5313: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
! 5314: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
! 5315: if ${lt_cv_deplibs_check_method+:} false; then :
! 5316: $as_echo_n "(cached) " >&6
! 5317: else
! 5318: lt_cv_file_magic_cmd='$MAGIC_CMD'
! 5319: lt_cv_file_magic_test_file=
! 5320: lt_cv_deplibs_check_method='unknown'
! 5321: # Need to set the preceding variable on all platforms that support
! 5322: # interlibrary dependencies.
! 5323: # 'none' -- dependencies not supported.
! 5324: # 'unknown' -- same as none, but documents that we really don't know.
! 5325: # 'pass_all' -- all dependencies passed with no checks.
! 5326: # 'test_compile' -- check by making test program.
! 5327: # 'file_magic [[regex]]' -- check by looking for files in library path
! 5328: # that responds to the $file_magic_cmd with a given extended regex.
! 5329: # If you have 'file' or equivalent on your system and you're not sure
! 5330: # whether 'pass_all' will *always* work, you probably want this one.
! 5331:
! 5332: case $host_os in
! 5333: aix[4-9]*)
! 5334: lt_cv_deplibs_check_method=pass_all
! 5335: ;;
! 5336:
! 5337: beos*)
! 5338: lt_cv_deplibs_check_method=pass_all
! 5339: ;;
! 5340:
! 5341: bsdi[45]*)
! 5342: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
! 5343: lt_cv_file_magic_cmd='/usr/bin/file -L'
! 5344: lt_cv_file_magic_test_file=/shlib/libc.so
! 5345: ;;
! 5346:
! 5347: cygwin*)
! 5348: # func_win32_libid is a shell function defined in ltmain.sh
! 5349: lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
! 5350: lt_cv_file_magic_cmd='func_win32_libid'
! 5351: ;;
! 5352:
! 5353: mingw* | pw32*)
! 5354: # Base MSYS/MinGW do not provide the 'file' command needed by
! 5355: # func_win32_libid shell function, so use a weaker test based on 'objdump',
! 5356: # unless we find 'file', for example because we are cross-compiling.
! 5357: if ( file / ) >/dev/null 2>&1; then
! 5358: lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
! 5359: lt_cv_file_magic_cmd='func_win32_libid'
! 5360: else
! 5361: # Keep this pattern in sync with the one in func_win32_libid.
! 5362: lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
! 5363: lt_cv_file_magic_cmd='$OBJDUMP -f'
! 5364: fi
! 5365: ;;
! 5366:
! 5367: cegcc*)
! 5368: # use the weaker test based on 'objdump'. See mingw*.
! 5369: lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
! 5370: lt_cv_file_magic_cmd='$OBJDUMP -f'
! 5371: ;;
! 5372:
! 5373: darwin* | rhapsody*)
! 5374: lt_cv_deplibs_check_method=pass_all
! 5375: ;;
! 5376:
! 5377: freebsd* | dragonfly*)
! 5378: if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
! 5379: case $host_cpu in
! 5380: i*86 )
! 5381: # Not sure whether the presence of OpenBSD here was a mistake.
! 5382: # Let's accept both of them until this is cleared up.
! 5383: lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
! 5384: lt_cv_file_magic_cmd=/usr/bin/file
! 5385: lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
! 5386: ;;
! 5387: esac
! 5388: else
! 5389: lt_cv_deplibs_check_method=pass_all
! 5390: fi
! 5391: ;;
! 5392:
! 5393: haiku*)
! 5394: lt_cv_deplibs_check_method=pass_all
! 5395: ;;
! 5396:
! 5397: hpux10.20* | hpux11*)
! 5398: lt_cv_file_magic_cmd=/usr/bin/file
! 5399: case $host_cpu in
! 5400: ia64*)
! 5401: lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
! 5402: lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
! 5403: ;;
! 5404: hppa*64*)
! 5405: 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]'
! 5406: lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
! 5407: ;;
! 5408: *)
! 5409: lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
! 5410: lt_cv_file_magic_test_file=/usr/lib/libc.sl
! 5411: ;;
! 5412: esac
! 5413: ;;
! 5414:
! 5415: interix[3-9]*)
! 5416: # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
! 5417: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
! 5418: ;;
! 5419:
! 5420: irix5* | irix6* | nonstopux*)
! 5421: case $LD in
! 5422: *-32|*"-32 ") libmagic=32-bit;;
! 5423: *-n32|*"-n32 ") libmagic=N32;;
! 5424: *-64|*"-64 ") libmagic=64-bit;;
! 5425: *) libmagic=never-match;;
! 5426: esac
! 5427: lt_cv_deplibs_check_method=pass_all
! 5428: ;;
! 5429:
! 5430: # This must be glibc/ELF.
! 5431: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
! 5432: lt_cv_deplibs_check_method=pass_all
! 5433: ;;
! 5434:
! 5435: netbsd*)
! 5436: if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
! 5437: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
! 5438: else
! 5439: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
! 5440: fi
! 5441: ;;
! 5442:
! 5443: newos6*)
! 5444: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
! 5445: lt_cv_file_magic_cmd=/usr/bin/file
! 5446: lt_cv_file_magic_test_file=/usr/lib/libnls.so
! 5447: ;;
! 5448:
! 5449: *nto* | *qnx*)
! 5450: lt_cv_deplibs_check_method=pass_all
! 5451: ;;
! 5452:
! 5453: openbsd* | bitrig*)
! 5454: if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
! 5455: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
! 5456: else
! 5457: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
! 5458: fi
! 5459: ;;
! 5460:
! 5461: osf3* | osf4* | osf5*)
! 5462: lt_cv_deplibs_check_method=pass_all
! 5463: ;;
! 5464:
! 5465: rdos*)
! 5466: lt_cv_deplibs_check_method=pass_all
! 5467: ;;
! 5468:
! 5469: solaris*)
! 5470: lt_cv_deplibs_check_method=pass_all
! 5471: ;;
! 5472:
! 5473: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
! 5474: lt_cv_deplibs_check_method=pass_all
! 5475: ;;
! 5476:
! 5477: sysv4 | sysv4.3*)
! 5478: case $host_vendor in
! 5479: motorola)
! 5480: 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]'
! 5481: lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
! 5482: ;;
! 5483: ncr)
! 5484: lt_cv_deplibs_check_method=pass_all
! 5485: ;;
! 5486: sequent)
! 5487: lt_cv_file_magic_cmd='/bin/file'
! 5488: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
! 5489: ;;
! 5490: sni)
! 5491: lt_cv_file_magic_cmd='/bin/file'
! 5492: lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
! 5493: lt_cv_file_magic_test_file=/lib/libc.so
! 5494: ;;
! 5495: siemens)
! 5496: lt_cv_deplibs_check_method=pass_all
! 5497: ;;
! 5498: pc)
! 5499: lt_cv_deplibs_check_method=pass_all
! 5500: ;;
! 5501: esac
! 5502: ;;
! 5503:
! 5504: tpf*)
! 5505: lt_cv_deplibs_check_method=pass_all
! 5506: ;;
! 5507: os2*)
! 5508: lt_cv_deplibs_check_method=pass_all
! 5509: ;;
! 5510: esac
! 5511:
! 5512: fi
! 5513: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
! 5514: $as_echo "$lt_cv_deplibs_check_method" >&6; }
! 5515:
! 5516: file_magic_glob=
! 5517: want_nocaseglob=no
! 5518: if test "$build" = "$host"; then
! 5519: case $host_os in
! 5520: mingw* | pw32*)
! 5521: if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
! 5522: want_nocaseglob=yes
! 5523: else
! 5524: file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
! 5525: fi
! 5526: ;;
! 5527: esac
! 5528: fi
! 5529:
! 5530: file_magic_cmd=$lt_cv_file_magic_cmd
! 5531: deplibs_check_method=$lt_cv_deplibs_check_method
! 5532: test -z "$deplibs_check_method" && deplibs_check_method=unknown
! 5533:
! 5534:
! 5535:
! 5536:
! 5537:
! 5538:
! 5539:
! 5540:
! 5541:
! 5542:
! 5543:
! 5544:
! 5545:
! 5546:
! 5547:
! 5548:
! 5549:
! 5550:
! 5551:
! 5552:
! 5553:
! 5554:
! 5555: if test -n "$ac_tool_prefix"; then
! 5556: # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
! 5557: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
! 5558: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 5559: $as_echo_n "checking for $ac_word... " >&6; }
! 5560: if ${ac_cv_prog_DLLTOOL+:} false; then :
! 5561: $as_echo_n "(cached) " >&6
! 5562: else
! 5563: if test -n "$DLLTOOL"; then
! 5564: ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
! 5565: else
! 5566: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5567: for as_dir in $PATH
! 5568: do
! 5569: IFS=$as_save_IFS
! 5570: test -z "$as_dir" && as_dir=.
! 5571: for ac_exec_ext in '' $ac_executable_extensions; do
! 5572: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5573: ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
! 5574: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5575: break 2
! 5576: fi
! 5577: done
! 5578: done
! 5579: IFS=$as_save_IFS
! 5580:
! 5581: fi
! 5582: fi
! 5583: DLLTOOL=$ac_cv_prog_DLLTOOL
! 5584: if test -n "$DLLTOOL"; then
! 5585: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
! 5586: $as_echo "$DLLTOOL" >&6; }
! 5587: else
! 5588: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5589: $as_echo "no" >&6; }
! 5590: fi
! 5591:
! 5592:
! 5593: fi
! 5594: if test -z "$ac_cv_prog_DLLTOOL"; then
! 5595: ac_ct_DLLTOOL=$DLLTOOL
! 5596: # Extract the first word of "dlltool", so it can be a program name with args.
! 5597: set dummy dlltool; ac_word=$2
! 5598: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 5599: $as_echo_n "checking for $ac_word... " >&6; }
! 5600: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
! 5601: $as_echo_n "(cached) " >&6
! 5602: else
! 5603: if test -n "$ac_ct_DLLTOOL"; then
! 5604: ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
! 5605: else
! 5606: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5607: for as_dir in $PATH
! 5608: do
! 5609: IFS=$as_save_IFS
! 5610: test -z "$as_dir" && as_dir=.
! 5611: for ac_exec_ext in '' $ac_executable_extensions; do
! 5612: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5613: ac_cv_prog_ac_ct_DLLTOOL="dlltool"
! 5614: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5615: break 2
! 5616: fi
! 5617: done
! 5618: done
! 5619: IFS=$as_save_IFS
! 5620:
! 5621: fi
! 5622: fi
! 5623: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
! 5624: if test -n "$ac_ct_DLLTOOL"; then
! 5625: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
! 5626: $as_echo "$ac_ct_DLLTOOL" >&6; }
! 5627: else
! 5628: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5629: $as_echo "no" >&6; }
! 5630: fi
! 5631:
! 5632: if test "x$ac_ct_DLLTOOL" = x; then
! 5633: DLLTOOL="false"
! 5634: else
! 5635: case $cross_compiling:$ac_tool_warned in
! 5636: yes:)
! 5637: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 5638: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 5639: ac_tool_warned=yes ;;
! 5640: esac
! 5641: DLLTOOL=$ac_ct_DLLTOOL
! 5642: fi
! 5643: else
! 5644: DLLTOOL="$ac_cv_prog_DLLTOOL"
! 5645: fi
! 5646:
! 5647: test -z "$DLLTOOL" && DLLTOOL=dlltool
! 5648:
! 5649:
! 5650:
! 5651:
! 5652:
! 5653:
! 5654:
! 5655:
! 5656:
! 5657:
! 5658: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
! 5659: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
! 5660: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
! 5661: $as_echo_n "(cached) " >&6
! 5662: else
! 5663: lt_cv_sharedlib_from_linklib_cmd='unknown'
! 5664:
! 5665: case $host_os in
! 5666: cygwin* | mingw* | pw32* | cegcc*)
! 5667: # two different shell functions defined in ltmain.sh;
! 5668: # decide which one to use based on capabilities of $DLLTOOL
! 5669: case `$DLLTOOL --help 2>&1` in
! 5670: *--identify-strict*)
! 5671: lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
! 5672: ;;
! 5673: *)
! 5674: lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
! 5675: ;;
! 5676: esac
! 5677: ;;
! 5678: *)
! 5679: # fallback: assume linklib IS sharedlib
! 5680: lt_cv_sharedlib_from_linklib_cmd=$ECHO
! 5681: ;;
! 5682: esac
! 5683:
! 5684: fi
! 5685: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
! 5686: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
! 5687: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
! 5688: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
! 5689:
! 5690:
! 5691:
! 5692:
! 5693:
! 5694:
! 5695:
! 5696:
! 5697: if test -n "$ac_tool_prefix"; then
! 5698: for ac_prog in ar
! 5699: do
! 5700: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 5701: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 5702: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 5703: $as_echo_n "checking for $ac_word... " >&6; }
! 5704: if ${ac_cv_prog_AR+:} false; then :
! 5705: $as_echo_n "(cached) " >&6
! 5706: else
! 5707: if test -n "$AR"; then
! 5708: ac_cv_prog_AR="$AR" # Let the user override the test.
! 5709: else
! 5710: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5711: for as_dir in $PATH
! 5712: do
! 5713: IFS=$as_save_IFS
! 5714: test -z "$as_dir" && as_dir=.
! 5715: for ac_exec_ext in '' $ac_executable_extensions; do
! 5716: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5717: ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
! 5718: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5719: break 2
! 5720: fi
! 5721: done
! 5722: done
! 5723: IFS=$as_save_IFS
! 5724:
! 5725: fi
! 5726: fi
! 5727: AR=$ac_cv_prog_AR
! 5728: if test -n "$AR"; then
! 5729: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
! 5730: $as_echo "$AR" >&6; }
! 5731: else
! 5732: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5733: $as_echo "no" >&6; }
! 5734: fi
! 5735:
! 5736:
! 5737: test -n "$AR" && break
! 5738: done
! 5739: fi
! 5740: if test -z "$AR"; then
! 5741: ac_ct_AR=$AR
! 5742: for ac_prog in ar
! 5743: do
! 5744: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 5745: set dummy $ac_prog; ac_word=$2
! 5746: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 5747: $as_echo_n "checking for $ac_word... " >&6; }
! 5748: if ${ac_cv_prog_ac_ct_AR+:} false; then :
! 5749: $as_echo_n "(cached) " >&6
! 5750: else
! 5751: if test -n "$ac_ct_AR"; then
! 5752: ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
! 5753: else
! 5754: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5755: for as_dir in $PATH
! 5756: do
! 5757: IFS=$as_save_IFS
! 5758: test -z "$as_dir" && as_dir=.
! 5759: for ac_exec_ext in '' $ac_executable_extensions; do
! 5760: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5761: ac_cv_prog_ac_ct_AR="$ac_prog"
! 5762: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5763: break 2
! 5764: fi
! 5765: done
! 5766: done
! 5767: IFS=$as_save_IFS
! 5768:
! 5769: fi
! 5770: fi
! 5771: ac_ct_AR=$ac_cv_prog_ac_ct_AR
! 5772: if test -n "$ac_ct_AR"; then
! 5773: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
! 5774: $as_echo "$ac_ct_AR" >&6; }
! 5775: else
! 5776: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5777: $as_echo "no" >&6; }
! 5778: fi
! 5779:
! 5780:
! 5781: test -n "$ac_ct_AR" && break
! 5782: done
! 5783:
! 5784: if test "x$ac_ct_AR" = x; then
! 5785: AR="false"
! 5786: else
! 5787: case $cross_compiling:$ac_tool_warned in
! 5788: yes:)
! 5789: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 5790: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 5791: ac_tool_warned=yes ;;
! 5792: esac
! 5793: AR=$ac_ct_AR
! 5794: fi
! 5795: fi
! 5796:
! 5797: : ${AR=ar}
! 5798: : ${AR_FLAGS=cru}
! 5799:
! 5800:
! 5801:
! 5802:
! 5803:
! 5804:
! 5805:
! 5806:
! 5807:
! 5808:
! 5809:
! 5810: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
! 5811: $as_echo_n "checking for archiver @FILE support... " >&6; }
! 5812: if ${lt_cv_ar_at_file+:} false; then :
! 5813: $as_echo_n "(cached) " >&6
! 5814: else
! 5815: lt_cv_ar_at_file=no
! 5816: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 5817: /* end confdefs.h. */
! 5818:
! 5819: int
! 5820: main ()
! 5821: {
! 5822:
! 5823: ;
! 5824: return 0;
! 5825: }
! 5826: _ACEOF
! 5827: if ac_fn_c_try_compile "$LINENO"; then :
! 5828: echo conftest.$ac_objext > conftest.lst
! 5829: lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
! 5830: { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
! 5831: (eval $lt_ar_try) 2>&5
! 5832: ac_status=$?
! 5833: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 5834: test $ac_status = 0; }
! 5835: if test 0 -eq "$ac_status"; then
! 5836: # Ensure the archiver fails upon bogus file names.
! 5837: rm -f conftest.$ac_objext libconftest.a
! 5838: { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
! 5839: (eval $lt_ar_try) 2>&5
! 5840: ac_status=$?
! 5841: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 5842: test $ac_status = 0; }
! 5843: if test 0 -ne "$ac_status"; then
! 5844: lt_cv_ar_at_file=@
! 5845: fi
! 5846: fi
! 5847: rm -f conftest.* libconftest.a
! 5848:
! 5849: fi
! 5850: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 5851:
! 5852: fi
! 5853: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
! 5854: $as_echo "$lt_cv_ar_at_file" >&6; }
! 5855:
! 5856: if test no = "$lt_cv_ar_at_file"; then
! 5857: archiver_list_spec=
! 5858: else
! 5859: archiver_list_spec=$lt_cv_ar_at_file
! 5860: fi
! 5861:
! 5862:
! 5863:
! 5864:
! 5865:
! 5866:
! 5867:
! 5868: if test -n "$ac_tool_prefix"; then
! 5869: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
! 5870: set dummy ${ac_tool_prefix}strip; ac_word=$2
! 5871: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 5872: $as_echo_n "checking for $ac_word... " >&6; }
! 5873: if ${ac_cv_prog_STRIP+:} false; then :
! 5874: $as_echo_n "(cached) " >&6
! 5875: else
! 5876: if test -n "$STRIP"; then
! 5877: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
! 5878: else
! 5879: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5880: for as_dir in $PATH
! 5881: do
! 5882: IFS=$as_save_IFS
! 5883: test -z "$as_dir" && as_dir=.
! 5884: for ac_exec_ext in '' $ac_executable_extensions; do
! 5885: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5886: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
! 5887: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5888: break 2
! 5889: fi
! 5890: done
! 5891: done
! 5892: IFS=$as_save_IFS
! 5893:
! 5894: fi
! 5895: fi
! 5896: STRIP=$ac_cv_prog_STRIP
! 5897: if test -n "$STRIP"; then
! 5898: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
! 5899: $as_echo "$STRIP" >&6; }
! 5900: else
! 5901: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5902: $as_echo "no" >&6; }
! 5903: fi
! 5904:
! 5905:
! 5906: fi
! 5907: if test -z "$ac_cv_prog_STRIP"; then
! 5908: ac_ct_STRIP=$STRIP
! 5909: # Extract the first word of "strip", so it can be a program name with args.
! 5910: set dummy strip; ac_word=$2
! 5911: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 5912: $as_echo_n "checking for $ac_word... " >&6; }
! 5913: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
! 5914: $as_echo_n "(cached) " >&6
! 5915: else
! 5916: if test -n "$ac_ct_STRIP"; then
! 5917: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
! 5918: else
! 5919: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5920: for as_dir in $PATH
! 5921: do
! 5922: IFS=$as_save_IFS
! 5923: test -z "$as_dir" && as_dir=.
! 5924: for ac_exec_ext in '' $ac_executable_extensions; do
! 5925: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5926: ac_cv_prog_ac_ct_STRIP="strip"
! 5927: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5928: break 2
! 5929: fi
! 5930: done
! 5931: done
! 5932: IFS=$as_save_IFS
! 5933:
! 5934: fi
! 5935: fi
! 5936: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
! 5937: if test -n "$ac_ct_STRIP"; then
! 5938: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
! 5939: $as_echo "$ac_ct_STRIP" >&6; }
! 5940: else
! 5941: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 5942: $as_echo "no" >&6; }
! 5943: fi
! 5944:
! 5945: if test "x$ac_ct_STRIP" = x; then
! 5946: STRIP=":"
! 5947: else
! 5948: case $cross_compiling:$ac_tool_warned in
! 5949: yes:)
! 5950: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 5951: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 5952: ac_tool_warned=yes ;;
! 5953: esac
! 5954: STRIP=$ac_ct_STRIP
! 5955: fi
! 5956: else
! 5957: STRIP="$ac_cv_prog_STRIP"
! 5958: fi
! 5959:
! 5960: test -z "$STRIP" && STRIP=:
! 5961:
! 5962:
! 5963:
! 5964:
! 5965:
! 5966:
! 5967: if test -n "$ac_tool_prefix"; then
! 5968: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
! 5969: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
! 5970: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 5971: $as_echo_n "checking for $ac_word... " >&6; }
! 5972: if ${ac_cv_prog_RANLIB+:} false; then :
! 5973: $as_echo_n "(cached) " >&6
! 5974: else
! 5975: if test -n "$RANLIB"; then
! 5976: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
! 5977: else
! 5978: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5979: for as_dir in $PATH
! 5980: do
! 5981: IFS=$as_save_IFS
! 5982: test -z "$as_dir" && as_dir=.
! 5983: for ac_exec_ext in '' $ac_executable_extensions; do
! 5984: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 5985: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
! 5986: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 5987: break 2
! 5988: fi
! 5989: done
! 5990: done
! 5991: IFS=$as_save_IFS
! 5992:
! 5993: fi
! 5994: fi
! 5995: RANLIB=$ac_cv_prog_RANLIB
! 5996: if test -n "$RANLIB"; then
! 5997: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
! 5998: $as_echo "$RANLIB" >&6; }
! 5999: else
! 6000: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 6001: $as_echo "no" >&6; }
! 6002: fi
! 6003:
! 6004:
! 6005: fi
! 6006: if test -z "$ac_cv_prog_RANLIB"; then
! 6007: ac_ct_RANLIB=$RANLIB
! 6008: # Extract the first word of "ranlib", so it can be a program name with args.
! 6009: set dummy ranlib; ac_word=$2
! 6010: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 6011: $as_echo_n "checking for $ac_word... " >&6; }
! 6012: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
! 6013: $as_echo_n "(cached) " >&6
! 6014: else
! 6015: if test -n "$ac_ct_RANLIB"; then
! 6016: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
! 6017: else
! 6018: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6019: for as_dir in $PATH
! 6020: do
! 6021: IFS=$as_save_IFS
! 6022: test -z "$as_dir" && as_dir=.
! 6023: for ac_exec_ext in '' $ac_executable_extensions; do
! 6024: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6025: ac_cv_prog_ac_ct_RANLIB="ranlib"
! 6026: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6027: break 2
! 6028: fi
! 6029: done
! 6030: done
! 6031: IFS=$as_save_IFS
! 6032:
! 6033: fi
! 6034: fi
! 6035: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
! 6036: if test -n "$ac_ct_RANLIB"; then
! 6037: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
! 6038: $as_echo "$ac_ct_RANLIB" >&6; }
! 6039: else
! 6040: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 6041: $as_echo "no" >&6; }
! 6042: fi
! 6043:
! 6044: if test "x$ac_ct_RANLIB" = x; then
! 6045: RANLIB=":"
! 6046: else
! 6047: case $cross_compiling:$ac_tool_warned in
! 6048: yes:)
! 6049: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 6050: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 6051: ac_tool_warned=yes ;;
! 6052: esac
! 6053: RANLIB=$ac_ct_RANLIB
! 6054: fi
! 6055: else
! 6056: RANLIB="$ac_cv_prog_RANLIB"
! 6057: fi
! 6058:
! 6059: test -z "$RANLIB" && RANLIB=:
! 6060:
! 6061:
! 6062:
! 6063:
! 6064:
! 6065:
! 6066: # Determine commands to create old-style static archives.
! 6067: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
! 6068: old_postinstall_cmds='chmod 644 $oldlib'
! 6069: old_postuninstall_cmds=
! 6070:
! 6071: if test -n "$RANLIB"; then
! 6072: case $host_os in
! 6073: bitrig* | openbsd*)
! 6074: old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
! 6075: ;;
! 6076: *)
! 6077: old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
! 6078: ;;
! 6079: esac
! 6080: old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
! 6081: fi
! 6082:
! 6083: case $host_os in
! 6084: darwin*)
! 6085: lock_old_archive_extraction=yes ;;
! 6086: *)
! 6087: lock_old_archive_extraction=no ;;
! 6088: esac
! 6089:
! 6090:
! 6091:
! 6092:
! 6093:
! 6094:
! 6095:
! 6096:
! 6097:
! 6098:
! 6099:
! 6100:
! 6101:
! 6102:
! 6103:
! 6104:
! 6105:
! 6106:
! 6107:
! 6108:
! 6109:
! 6110:
! 6111:
! 6112:
! 6113:
! 6114:
! 6115:
! 6116:
! 6117:
! 6118:
! 6119:
! 6120:
! 6121:
! 6122:
! 6123:
! 6124:
! 6125:
! 6126:
! 6127:
! 6128: # If no C compiler was specified, use CC.
! 6129: LTCC=${LTCC-"$CC"}
! 6130:
! 6131: # If no C compiler flags were specified, use CFLAGS.
! 6132: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
! 6133:
! 6134: # Allow CC to be a program name with arguments.
! 6135: compiler=$CC
! 6136:
! 6137:
! 6138: # Check for command to grab the raw symbol name followed by C symbol from nm.
! 6139: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
! 6140: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
! 6141: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
! 6142: $as_echo_n "(cached) " >&6
! 6143: else
! 6144:
! 6145: # These are sane defaults that work on at least a few old systems.
! 6146: # [They come from Ultrix. What could be older than Ultrix?!! ;)]
! 6147:
! 6148: # Character class describing NM global symbol codes.
! 6149: symcode='[BCDEGRST]'
! 6150:
! 6151: # Regexp to match symbols that can be accessed directly from C.
! 6152: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
! 6153:
! 6154: # Define system-specific variables.
! 6155: case $host_os in
! 6156: aix*)
! 6157: symcode='[BCDT]'
! 6158: ;;
! 6159: cygwin* | mingw* | pw32* | cegcc*)
! 6160: symcode='[ABCDGISTW]'
! 6161: ;;
! 6162: hpux*)
! 6163: if test ia64 = "$host_cpu"; then
! 6164: symcode='[ABCDEGRST]'
! 6165: fi
! 6166: ;;
! 6167: irix* | nonstopux*)
! 6168: symcode='[BCDEGRST]'
! 6169: ;;
! 6170: osf*)
! 6171: symcode='[BCDEGQRST]'
! 6172: ;;
! 6173: solaris*)
! 6174: symcode='[BDRT]'
! 6175: ;;
! 6176: sco3.2v5*)
! 6177: symcode='[DT]'
! 6178: ;;
! 6179: sysv4.2uw2*)
! 6180: symcode='[DT]'
! 6181: ;;
! 6182: sysv5* | sco5v6* | unixware* | OpenUNIX*)
! 6183: symcode='[ABDT]'
! 6184: ;;
! 6185: sysv4)
! 6186: symcode='[DFNSTU]'
! 6187: ;;
! 6188: esac
! 6189:
! 6190: # If we're using GNU nm, then use its standard symbol codes.
! 6191: case `$NM -V 2>&1` in
! 6192: *GNU* | *'with BFD'*)
! 6193: symcode='[ABCDGIRSTW]' ;;
! 6194: esac
! 6195:
! 6196: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
! 6197: # Gets list of data symbols to import.
! 6198: lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
! 6199: # Adjust the below global symbol transforms to fixup imported variables.
! 6200: lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
! 6201: lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
! 6202: lt_c_name_lib_hook="\
! 6203: -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
! 6204: -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
! 6205: else
! 6206: # Disable hooks by default.
! 6207: lt_cv_sys_global_symbol_to_import=
! 6208: lt_cdecl_hook=
! 6209: lt_c_name_hook=
! 6210: lt_c_name_lib_hook=
! 6211: fi
! 6212:
! 6213: # Transform an extracted symbol line into a proper C declaration.
! 6214: # Some systems (esp. on ia64) link data and code symbols differently,
! 6215: # so use this general approach.
! 6216: lt_cv_sys_global_symbol_to_cdecl="sed -n"\
! 6217: $lt_cdecl_hook\
! 6218: " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
! 6219: " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
! 6220:
! 6221: # Transform an extracted symbol line into symbol name and symbol address
! 6222: lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
! 6223: $lt_c_name_hook\
! 6224: " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
! 6225: " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
! 6226:
! 6227: # Transform an extracted symbol line into symbol name with lib prefix and
! 6228: # symbol address.
! 6229: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
! 6230: $lt_c_name_lib_hook\
! 6231: " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
! 6232: " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
! 6233: " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
! 6234:
! 6235: # Handle CRLF in mingw tool chain
! 6236: opt_cr=
! 6237: case $build_os in
! 6238: mingw*)
! 6239: opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
! 6240: ;;
! 6241: esac
! 6242:
! 6243: # Try without a prefix underscore, then with it.
! 6244: for ac_symprfx in "" "_"; do
! 6245:
! 6246: # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
! 6247: symxfrm="\\1 $ac_symprfx\\2 \\2"
! 6248:
! 6249: # Write the raw and C identifiers.
! 6250: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
! 6251: # Fake it for dumpbin and say T for any non-static function,
! 6252: # D for any global variable and I for any imported variable.
! 6253: # Also find C++ and __fastcall symbols from MSVC++,
! 6254: # which start with @ or ?.
! 6255: lt_cv_sys_global_symbol_pipe="$AWK '"\
! 6256: " {last_section=section; section=\$ 3};"\
! 6257: " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
! 6258: " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
! 6259: " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
! 6260: " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
! 6261: " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
! 6262: " \$ 0!~/External *\|/{next};"\
! 6263: " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
! 6264: " {if(hide[section]) next};"\
! 6265: " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
! 6266: " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
! 6267: " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
! 6268: " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
! 6269: " ' prfx=^$ac_symprfx"
! 6270: else
! 6271: lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
! 6272: fi
! 6273: lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
! 6274:
! 6275: # Check to see that the pipe works correctly.
! 6276: pipe_works=no
! 6277:
! 6278: rm -f conftest*
! 6279: cat > conftest.$ac_ext <<_LT_EOF
! 6280: #ifdef __cplusplus
! 6281: extern "C" {
! 6282: #endif
! 6283: char nm_test_var;
! 6284: void nm_test_func(void);
! 6285: void nm_test_func(void){}
! 6286: #ifdef __cplusplus
! 6287: }
! 6288: #endif
! 6289: int main(){nm_test_var='a';nm_test_func();return(0);}
! 6290: _LT_EOF
! 6291:
! 6292: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
! 6293: (eval $ac_compile) 2>&5
! 6294: ac_status=$?
! 6295: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 6296: test $ac_status = 0; }; then
! 6297: # Now try to grab the symbols.
! 6298: nlist=conftest.nm
! 6299: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
! 6300: (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
! 6301: ac_status=$?
! 6302: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 6303: test $ac_status = 0; } && test -s "$nlist"; then
! 6304: # Try sorting and uniquifying the output.
! 6305: if sort "$nlist" | uniq > "$nlist"T; then
! 6306: mv -f "$nlist"T "$nlist"
! 6307: else
! 6308: rm -f "$nlist"T
! 6309: fi
! 6310:
! 6311: # Make sure that we snagged all the symbols we need.
! 6312: if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
! 6313: if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
! 6314: cat <<_LT_EOF > conftest.$ac_ext
! 6315: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
! 6316: #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
! 6317: /* DATA imports from DLLs on WIN32 can't be const, because runtime
! 6318: relocations are performed -- see ld's documentation on pseudo-relocs. */
! 6319: # define LT_DLSYM_CONST
! 6320: #elif defined __osf__
! 6321: /* This system does not cope well with relocations in const data. */
! 6322: # define LT_DLSYM_CONST
! 6323: #else
! 6324: # define LT_DLSYM_CONST const
! 6325: #endif
! 6326:
! 6327: #ifdef __cplusplus
! 6328: extern "C" {
! 6329: #endif
! 6330:
! 6331: _LT_EOF
! 6332: # Now generate the symbol file.
! 6333: eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
! 6334:
! 6335: cat <<_LT_EOF >> conftest.$ac_ext
! 6336:
! 6337: /* The mapping between symbol names and symbols. */
! 6338: LT_DLSYM_CONST struct {
! 6339: const char *name;
! 6340: void *address;
! 6341: }
! 6342: lt__PROGRAM__LTX_preloaded_symbols[] =
! 6343: {
! 6344: { "@PROGRAM@", (void *) 0 },
! 6345: _LT_EOF
! 6346: $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
! 6347: cat <<\_LT_EOF >> conftest.$ac_ext
! 6348: {0, (void *) 0}
! 6349: };
! 6350:
! 6351: /* This works around a problem in FreeBSD linker */
! 6352: #ifdef FREEBSD_WORKAROUND
! 6353: static const void *lt_preloaded_setup() {
! 6354: return lt__PROGRAM__LTX_preloaded_symbols;
! 6355: }
! 6356: #endif
! 6357:
! 6358: #ifdef __cplusplus
! 6359: }
! 6360: #endif
! 6361: _LT_EOF
! 6362: # Now try linking the two files.
! 6363: mv conftest.$ac_objext conftstm.$ac_objext
! 6364: lt_globsym_save_LIBS=$LIBS
! 6365: lt_globsym_save_CFLAGS=$CFLAGS
! 6366: LIBS=conftstm.$ac_objext
! 6367: CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
! 6368: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
! 6369: (eval $ac_link) 2>&5
! 6370: ac_status=$?
! 6371: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 6372: test $ac_status = 0; } && test -s conftest$ac_exeext; then
! 6373: pipe_works=yes
! 6374: fi
! 6375: LIBS=$lt_globsym_save_LIBS
! 6376: CFLAGS=$lt_globsym_save_CFLAGS
! 6377: else
! 6378: echo "cannot find nm_test_func in $nlist" >&5
! 6379: fi
! 6380: else
! 6381: echo "cannot find nm_test_var in $nlist" >&5
! 6382: fi
! 6383: else
! 6384: echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
! 6385: fi
! 6386: else
! 6387: echo "$progname: failed program was:" >&5
! 6388: cat conftest.$ac_ext >&5
! 6389: fi
! 6390: rm -rf conftest* conftst*
! 6391:
! 6392: # Do not use the global_symbol_pipe unless it works.
! 6393: if test yes = "$pipe_works"; then
! 6394: break
! 6395: else
! 6396: lt_cv_sys_global_symbol_pipe=
! 6397: fi
! 6398: done
! 6399:
! 6400: fi
! 6401:
! 6402: if test -z "$lt_cv_sys_global_symbol_pipe"; then
! 6403: lt_cv_sys_global_symbol_to_cdecl=
! 6404: fi
! 6405: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
! 6406: { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
! 6407: $as_echo "failed" >&6; }
! 6408: else
! 6409: { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
! 6410: $as_echo "ok" >&6; }
! 6411: fi
! 6412:
! 6413: # Response file support.
! 6414: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
! 6415: nm_file_list_spec='@'
! 6416: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
! 6417: nm_file_list_spec='@'
! 6418: fi
! 6419:
! 6420:
! 6421:
! 6422:
! 6423:
! 6424:
! 6425:
! 6426:
! 6427:
! 6428:
! 6429:
! 6430:
! 6431:
! 6432:
! 6433:
! 6434:
! 6435:
! 6436:
! 6437:
! 6438:
! 6439:
! 6440:
! 6441:
! 6442:
! 6443:
! 6444:
! 6445:
! 6446:
! 6447:
! 6448:
! 6449:
! 6450:
! 6451:
! 6452:
! 6453:
! 6454:
! 6455:
! 6456: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
! 6457: $as_echo_n "checking for sysroot... " >&6; }
! 6458:
! 6459: # Check whether --with-sysroot was given.
! 6460: if test "${with_sysroot+set}" = set; then :
! 6461: withval=$with_sysroot;
! 6462: else
! 6463: with_sysroot=no
! 6464: fi
! 6465:
! 6466:
! 6467: lt_sysroot=
! 6468: case $with_sysroot in #(
! 6469: yes)
! 6470: if test yes = "$GCC"; then
! 6471: lt_sysroot=`$CC --print-sysroot 2>/dev/null`
! 6472: fi
! 6473: ;; #(
! 6474: /*)
! 6475: lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
! 6476: ;; #(
! 6477: no|'')
! 6478: ;; #(
! 6479: *)
! 6480: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
! 6481: $as_echo "$with_sysroot" >&6; }
! 6482: as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
! 6483: ;;
! 6484: esac
! 6485:
! 6486: { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
! 6487: $as_echo "${lt_sysroot:-no}" >&6; }
! 6488:
! 6489:
! 6490:
! 6491:
! 6492:
! 6493: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
! 6494: $as_echo_n "checking for a working dd... " >&6; }
! 6495: if ${ac_cv_path_lt_DD+:} false; then :
! 6496: $as_echo_n "(cached) " >&6
! 6497: else
! 6498: printf 0123456789abcdef0123456789abcdef >conftest.i
! 6499: cat conftest.i conftest.i >conftest2.i
! 6500: : ${lt_DD:=$DD}
! 6501: if test -z "$lt_DD"; then
! 6502: ac_path_lt_DD_found=false
! 6503: # Loop through the user's path and test for each of PROGNAME-LIST
! 6504: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6505: for as_dir in $PATH
! 6506: do
! 6507: IFS=$as_save_IFS
! 6508: test -z "$as_dir" && as_dir=.
! 6509: for ac_prog in dd; do
! 6510: for ac_exec_ext in '' $ac_executable_extensions; do
! 6511: ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
! 6512: as_fn_executable_p "$ac_path_lt_DD" || continue
! 6513: if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
! 6514: cmp -s conftest.i conftest.out \
! 6515: && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
! 6516: fi
! 6517: $ac_path_lt_DD_found && break 3
! 6518: done
! 6519: done
! 6520: done
! 6521: IFS=$as_save_IFS
! 6522: if test -z "$ac_cv_path_lt_DD"; then
! 6523: :
! 6524: fi
! 6525: else
! 6526: ac_cv_path_lt_DD=$lt_DD
! 6527: fi
! 6528:
! 6529: rm -f conftest.i conftest2.i conftest.out
! 6530: fi
! 6531: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
! 6532: $as_echo "$ac_cv_path_lt_DD" >&6; }
! 6533:
! 6534:
! 6535: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
! 6536: $as_echo_n "checking how to truncate binary pipes... " >&6; }
! 6537: if ${lt_cv_truncate_bin+:} false; then :
! 6538: $as_echo_n "(cached) " >&6
! 6539: else
! 6540: printf 0123456789abcdef0123456789abcdef >conftest.i
! 6541: cat conftest.i conftest.i >conftest2.i
! 6542: lt_cv_truncate_bin=
! 6543: if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
! 6544: cmp -s conftest.i conftest.out \
! 6545: && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
! 6546: fi
! 6547: rm -f conftest.i conftest2.i conftest.out
! 6548: test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
! 6549: fi
! 6550: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
! 6551: $as_echo "$lt_cv_truncate_bin" >&6; }
! 6552:
! 6553:
! 6554:
! 6555:
! 6556:
! 6557:
! 6558:
! 6559: # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
! 6560: func_cc_basename ()
! 6561: {
! 6562: for cc_temp in $*""; do
! 6563: case $cc_temp in
! 6564: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
! 6565: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
! 6566: \-*) ;;
! 6567: *) break;;
! 6568: esac
! 6569: done
! 6570: func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
! 6571: }
! 6572:
! 6573: # Check whether --enable-libtool-lock was given.
! 6574: if test "${enable_libtool_lock+set}" = set; then :
! 6575: enableval=$enable_libtool_lock;
! 6576: fi
! 6577:
! 6578: test no = "$enable_libtool_lock" || enable_libtool_lock=yes
! 6579:
! 6580: # Some flags need to be propagated to the compiler or linker for good
! 6581: # libtool support.
! 6582: case $host in
! 6583: ia64-*-hpux*)
! 6584: # Find out what ABI is being produced by ac_compile, and set mode
! 6585: # options accordingly.
! 6586: echo 'int i;' > conftest.$ac_ext
! 6587: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
! 6588: (eval $ac_compile) 2>&5
! 6589: ac_status=$?
! 6590: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 6591: test $ac_status = 0; }; then
! 6592: case `/usr/bin/file conftest.$ac_objext` in
! 6593: *ELF-32*)
! 6594: HPUX_IA64_MODE=32
! 6595: ;;
! 6596: *ELF-64*)
! 6597: HPUX_IA64_MODE=64
! 6598: ;;
! 6599: esac
! 6600: fi
! 6601: rm -rf conftest*
! 6602: ;;
! 6603: *-*-irix6*)
! 6604: # Find out what ABI is being produced by ac_compile, and set linker
! 6605: # options accordingly.
! 6606: echo '#line '$LINENO' "configure"' > conftest.$ac_ext
! 6607: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
! 6608: (eval $ac_compile) 2>&5
! 6609: ac_status=$?
! 6610: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 6611: test $ac_status = 0; }; then
! 6612: if test yes = "$lt_cv_prog_gnu_ld"; then
! 6613: case `/usr/bin/file conftest.$ac_objext` in
! 6614: *32-bit*)
! 6615: LD="${LD-ld} -melf32bsmip"
! 6616: ;;
! 6617: *N32*)
! 6618: LD="${LD-ld} -melf32bmipn32"
! 6619: ;;
! 6620: *64-bit*)
! 6621: LD="${LD-ld} -melf64bmip"
! 6622: ;;
! 6623: esac
! 6624: else
! 6625: case `/usr/bin/file conftest.$ac_objext` in
! 6626: *32-bit*)
! 6627: LD="${LD-ld} -32"
! 6628: ;;
! 6629: *N32*)
! 6630: LD="${LD-ld} -n32"
! 6631: ;;
! 6632: *64-bit*)
! 6633: LD="${LD-ld} -64"
! 6634: ;;
! 6635: esac
! 6636: fi
! 6637: fi
! 6638: rm -rf conftest*
! 6639: ;;
! 6640:
! 6641: mips64*-*linux*)
! 6642: # Find out what ABI is being produced by ac_compile, and set linker
! 6643: # options accordingly.
! 6644: echo '#line '$LINENO' "configure"' > conftest.$ac_ext
! 6645: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
! 6646: (eval $ac_compile) 2>&5
! 6647: ac_status=$?
! 6648: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 6649: test $ac_status = 0; }; then
! 6650: emul=elf
! 6651: case `/usr/bin/file conftest.$ac_objext` in
! 6652: *32-bit*)
! 6653: emul="${emul}32"
! 6654: ;;
! 6655: *64-bit*)
! 6656: emul="${emul}64"
! 6657: ;;
! 6658: esac
! 6659: case `/usr/bin/file conftest.$ac_objext` in
! 6660: *MSB*)
! 6661: emul="${emul}btsmip"
! 6662: ;;
! 6663: *LSB*)
! 6664: emul="${emul}ltsmip"
! 6665: ;;
! 6666: esac
! 6667: case `/usr/bin/file conftest.$ac_objext` in
! 6668: *N32*)
! 6669: emul="${emul}n32"
! 6670: ;;
! 6671: esac
! 6672: LD="${LD-ld} -m $emul"
! 6673: fi
! 6674: rm -rf conftest*
! 6675: ;;
! 6676:
! 6677: x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
! 6678: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
! 6679: # Find out what ABI is being produced by ac_compile, and set linker
! 6680: # options accordingly. Note that the listed cases only cover the
! 6681: # situations where additional linker options are needed (such as when
! 6682: # doing 32-bit compilation for a host where ld defaults to 64-bit, or
! 6683: # vice versa); the common cases where no linker options are needed do
! 6684: # not appear in the list.
! 6685: echo 'int i;' > conftest.$ac_ext
! 6686: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
! 6687: (eval $ac_compile) 2>&5
! 6688: ac_status=$?
! 6689: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 6690: test $ac_status = 0; }; then
! 6691: case `/usr/bin/file conftest.o` in
! 6692: *32-bit*)
! 6693: case $host in
! 6694: x86_64-*kfreebsd*-gnu)
! 6695: LD="${LD-ld} -m elf_i386_fbsd"
! 6696: ;;
! 6697: x86_64-*linux*)
! 6698: case `/usr/bin/file conftest.o` in
! 6699: *x86-64*)
! 6700: LD="${LD-ld} -m elf32_x86_64"
! 6701: ;;
! 6702: *)
! 6703: LD="${LD-ld} -m elf_i386"
! 6704: ;;
! 6705: esac
! 6706: ;;
! 6707: powerpc64le-*linux*)
! 6708: LD="${LD-ld} -m elf32lppclinux"
! 6709: ;;
! 6710: powerpc64-*linux*)
! 6711: LD="${LD-ld} -m elf32ppclinux"
! 6712: ;;
! 6713: s390x-*linux*)
! 6714: LD="${LD-ld} -m elf_s390"
! 6715: ;;
! 6716: sparc64-*linux*)
! 6717: LD="${LD-ld} -m elf32_sparc"
! 6718: ;;
! 6719: esac
! 6720: ;;
! 6721: *64-bit*)
! 6722: case $host in
! 6723: x86_64-*kfreebsd*-gnu)
! 6724: LD="${LD-ld} -m elf_x86_64_fbsd"
! 6725: ;;
! 6726: x86_64-*linux*)
! 6727: LD="${LD-ld} -m elf_x86_64"
! 6728: ;;
! 6729: powerpcle-*linux*)
! 6730: LD="${LD-ld} -m elf64lppc"
! 6731: ;;
! 6732: powerpc-*linux*)
! 6733: LD="${LD-ld} -m elf64ppc"
! 6734: ;;
! 6735: s390*-*linux*|s390*-*tpf*)
! 6736: LD="${LD-ld} -m elf64_s390"
! 6737: ;;
! 6738: sparc*-*linux*)
! 6739: LD="${LD-ld} -m elf64_sparc"
! 6740: ;;
! 6741: esac
! 6742: ;;
! 6743: esac
! 6744: fi
! 6745: rm -rf conftest*
! 6746: ;;
! 6747:
! 6748: *-*-sco3.2v5*)
! 6749: # On SCO OpenServer 5, we need -belf to get full-featured binaries.
! 6750: SAVE_CFLAGS=$CFLAGS
! 6751: CFLAGS="$CFLAGS -belf"
! 6752: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
! 6753: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
! 6754: if ${lt_cv_cc_needs_belf+:} false; then :
! 6755: $as_echo_n "(cached) " >&6
! 6756: else
! 6757: ac_ext=c
! 6758: ac_cpp='$CPP $CPPFLAGS'
! 6759: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 6760: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 6761: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 6762:
! 6763: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 6764: /* end confdefs.h. */
! 6765:
! 6766: int
! 6767: main ()
! 6768: {
! 6769:
! 6770: ;
! 6771: return 0;
! 6772: }
! 6773: _ACEOF
! 6774: if ac_fn_c_try_link "$LINENO"; then :
! 6775: lt_cv_cc_needs_belf=yes
! 6776: else
! 6777: lt_cv_cc_needs_belf=no
! 6778: fi
! 6779: rm -f core conftest.err conftest.$ac_objext \
! 6780: conftest$ac_exeext conftest.$ac_ext
! 6781: ac_ext=c
! 6782: ac_cpp='$CPP $CPPFLAGS'
! 6783: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 6784: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 6785: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 6786:
! 6787: fi
! 6788: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
! 6789: $as_echo "$lt_cv_cc_needs_belf" >&6; }
! 6790: if test yes != "$lt_cv_cc_needs_belf"; then
! 6791: # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
! 6792: CFLAGS=$SAVE_CFLAGS
! 6793: fi
! 6794: ;;
! 6795: *-*solaris*)
! 6796: # Find out what ABI is being produced by ac_compile, and set linker
! 6797: # options accordingly.
! 6798: echo 'int i;' > conftest.$ac_ext
! 6799: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
! 6800: (eval $ac_compile) 2>&5
! 6801: ac_status=$?
! 6802: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 6803: test $ac_status = 0; }; then
! 6804: case `/usr/bin/file conftest.o` in
! 6805: *64-bit*)
! 6806: case $lt_cv_prog_gnu_ld in
! 6807: yes*)
! 6808: case $host in
! 6809: i?86-*-solaris*|x86_64-*-solaris*)
! 6810: LD="${LD-ld} -m elf_x86_64"
! 6811: ;;
! 6812: sparc*-*-solaris*)
! 6813: LD="${LD-ld} -m elf64_sparc"
! 6814: ;;
! 6815: esac
! 6816: # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
! 6817: if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
! 6818: LD=${LD-ld}_sol2
! 6819: fi
! 6820: ;;
! 6821: *)
! 6822: if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
! 6823: LD="${LD-ld} -64"
! 6824: fi
! 6825: ;;
! 6826: esac
! 6827: ;;
! 6828: esac
! 6829: fi
! 6830: rm -rf conftest*
! 6831: ;;
! 6832: esac
! 6833:
! 6834: need_locks=$enable_libtool_lock
! 6835:
! 6836: if test -n "$ac_tool_prefix"; then
! 6837: # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
! 6838: set dummy ${ac_tool_prefix}mt; ac_word=$2
! 6839: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 6840: $as_echo_n "checking for $ac_word... " >&6; }
! 6841: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
! 6842: $as_echo_n "(cached) " >&6
! 6843: else
! 6844: if test -n "$MANIFEST_TOOL"; then
! 6845: ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
! 6846: else
! 6847: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6848: for as_dir in $PATH
! 6849: do
! 6850: IFS=$as_save_IFS
! 6851: test -z "$as_dir" && as_dir=.
! 6852: for ac_exec_ext in '' $ac_executable_extensions; do
! 6853: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6854: ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
! 6855: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6856: break 2
! 6857: fi
! 6858: done
! 6859: done
! 6860: IFS=$as_save_IFS
! 6861:
! 6862: fi
! 6863: fi
! 6864: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
! 6865: if test -n "$MANIFEST_TOOL"; then
! 6866: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
! 6867: $as_echo "$MANIFEST_TOOL" >&6; }
! 6868: else
! 6869: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 6870: $as_echo "no" >&6; }
! 6871: fi
! 6872:
! 6873:
! 6874: fi
! 6875: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
! 6876: ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
! 6877: # Extract the first word of "mt", so it can be a program name with args.
! 6878: set dummy mt; ac_word=$2
! 6879: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 6880: $as_echo_n "checking for $ac_word... " >&6; }
! 6881: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
! 6882: $as_echo_n "(cached) " >&6
! 6883: else
! 6884: if test -n "$ac_ct_MANIFEST_TOOL"; then
! 6885: ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
! 6886: else
! 6887: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6888: for as_dir in $PATH
! 6889: do
! 6890: IFS=$as_save_IFS
! 6891: test -z "$as_dir" && as_dir=.
! 6892: for ac_exec_ext in '' $ac_executable_extensions; do
! 6893: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6894: ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
! 6895: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6896: break 2
! 6897: fi
! 6898: done
! 6899: done
! 6900: IFS=$as_save_IFS
! 6901:
! 6902: fi
! 6903: fi
! 6904: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
! 6905: if test -n "$ac_ct_MANIFEST_TOOL"; then
! 6906: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
! 6907: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
! 6908: else
! 6909: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 6910: $as_echo "no" >&6; }
! 6911: fi
! 6912:
! 6913: if test "x$ac_ct_MANIFEST_TOOL" = x; then
! 6914: MANIFEST_TOOL=":"
! 6915: else
! 6916: case $cross_compiling:$ac_tool_warned in
! 6917: yes:)
! 6918: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 6919: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 6920: ac_tool_warned=yes ;;
! 6921: esac
! 6922: MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
! 6923: fi
! 6924: else
! 6925: MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
! 6926: fi
! 6927:
! 6928: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
! 6929: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
! 6930: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
! 6931: if ${lt_cv_path_mainfest_tool+:} false; then :
! 6932: $as_echo_n "(cached) " >&6
! 6933: else
! 6934: lt_cv_path_mainfest_tool=no
! 6935: echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
! 6936: $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
! 6937: cat conftest.err >&5
! 6938: if $GREP 'Manifest Tool' conftest.out > /dev/null; then
! 6939: lt_cv_path_mainfest_tool=yes
! 6940: fi
! 6941: rm -f conftest*
! 6942: fi
! 6943: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
! 6944: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
! 6945: if test yes != "$lt_cv_path_mainfest_tool"; then
! 6946: MANIFEST_TOOL=:
! 6947: fi
! 6948:
! 6949:
! 6950:
! 6951:
! 6952:
! 6953:
! 6954: case $host_os in
! 6955: rhapsody* | darwin*)
! 6956: if test -n "$ac_tool_prefix"; then
! 6957: # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
! 6958: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
! 6959: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 6960: $as_echo_n "checking for $ac_word... " >&6; }
! 6961: if ${ac_cv_prog_DSYMUTIL+:} false; then :
! 6962: $as_echo_n "(cached) " >&6
! 6963: else
! 6964: if test -n "$DSYMUTIL"; then
! 6965: ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
! 6966: else
! 6967: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 6968: for as_dir in $PATH
! 6969: do
! 6970: IFS=$as_save_IFS
! 6971: test -z "$as_dir" && as_dir=.
! 6972: for ac_exec_ext in '' $ac_executable_extensions; do
! 6973: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 6974: ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
! 6975: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 6976: break 2
! 6977: fi
! 6978: done
! 6979: done
! 6980: IFS=$as_save_IFS
! 6981:
! 6982: fi
! 6983: fi
! 6984: DSYMUTIL=$ac_cv_prog_DSYMUTIL
! 6985: if test -n "$DSYMUTIL"; then
! 6986: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
! 6987: $as_echo "$DSYMUTIL" >&6; }
! 6988: else
! 6989: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 6990: $as_echo "no" >&6; }
! 6991: fi
! 6992:
! 6993:
! 6994: fi
! 6995: if test -z "$ac_cv_prog_DSYMUTIL"; then
! 6996: ac_ct_DSYMUTIL=$DSYMUTIL
! 6997: # Extract the first word of "dsymutil", so it can be a program name with args.
! 6998: set dummy dsymutil; ac_word=$2
! 6999: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 7000: $as_echo_n "checking for $ac_word... " >&6; }
! 7001: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
! 7002: $as_echo_n "(cached) " >&6
! 7003: else
! 7004: if test -n "$ac_ct_DSYMUTIL"; then
! 7005: ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
! 7006: else
! 7007: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7008: for as_dir in $PATH
! 7009: do
! 7010: IFS=$as_save_IFS
! 7011: test -z "$as_dir" && as_dir=.
! 7012: for ac_exec_ext in '' $ac_executable_extensions; do
! 7013: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 7014: ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
! 7015: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7016: break 2
! 7017: fi
! 7018: done
! 7019: done
! 7020: IFS=$as_save_IFS
! 7021:
! 7022: fi
! 7023: fi
! 7024: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
! 7025: if test -n "$ac_ct_DSYMUTIL"; then
! 7026: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
! 7027: $as_echo "$ac_ct_DSYMUTIL" >&6; }
! 7028: else
! 7029: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 7030: $as_echo "no" >&6; }
! 7031: fi
! 7032:
! 7033: if test "x$ac_ct_DSYMUTIL" = x; then
! 7034: DSYMUTIL=":"
! 7035: else
! 7036: case $cross_compiling:$ac_tool_warned in
! 7037: yes:)
! 7038: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 7039: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 7040: ac_tool_warned=yes ;;
! 7041: esac
! 7042: DSYMUTIL=$ac_ct_DSYMUTIL
! 7043: fi
! 7044: else
! 7045: DSYMUTIL="$ac_cv_prog_DSYMUTIL"
! 7046: fi
! 7047:
! 7048: if test -n "$ac_tool_prefix"; then
! 7049: # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
! 7050: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
! 7051: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 7052: $as_echo_n "checking for $ac_word... " >&6; }
! 7053: if ${ac_cv_prog_NMEDIT+:} false; then :
! 7054: $as_echo_n "(cached) " >&6
! 7055: else
! 7056: if test -n "$NMEDIT"; then
! 7057: ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
! 7058: else
! 7059: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7060: for as_dir in $PATH
! 7061: do
! 7062: IFS=$as_save_IFS
! 7063: test -z "$as_dir" && as_dir=.
! 7064: for ac_exec_ext in '' $ac_executable_extensions; do
! 7065: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 7066: ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
! 7067: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7068: break 2
! 7069: fi
! 7070: done
! 7071: done
! 7072: IFS=$as_save_IFS
! 7073:
! 7074: fi
! 7075: fi
! 7076: NMEDIT=$ac_cv_prog_NMEDIT
! 7077: if test -n "$NMEDIT"; then
! 7078: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
! 7079: $as_echo "$NMEDIT" >&6; }
! 7080: else
! 7081: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 7082: $as_echo "no" >&6; }
! 7083: fi
! 7084:
! 7085:
! 7086: fi
! 7087: if test -z "$ac_cv_prog_NMEDIT"; then
! 7088: ac_ct_NMEDIT=$NMEDIT
! 7089: # Extract the first word of "nmedit", so it can be a program name with args.
! 7090: set dummy nmedit; ac_word=$2
! 7091: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 7092: $as_echo_n "checking for $ac_word... " >&6; }
! 7093: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
! 7094: $as_echo_n "(cached) " >&6
! 7095: else
! 7096: if test -n "$ac_ct_NMEDIT"; then
! 7097: ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
! 7098: else
! 7099: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7100: for as_dir in $PATH
! 7101: do
! 7102: IFS=$as_save_IFS
! 7103: test -z "$as_dir" && as_dir=.
! 7104: for ac_exec_ext in '' $ac_executable_extensions; do
! 7105: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 7106: ac_cv_prog_ac_ct_NMEDIT="nmedit"
! 7107: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7108: break 2
! 7109: fi
! 7110: done
! 7111: done
! 7112: IFS=$as_save_IFS
! 7113:
! 7114: fi
! 7115: fi
! 7116: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
! 7117: if test -n "$ac_ct_NMEDIT"; then
! 7118: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
! 7119: $as_echo "$ac_ct_NMEDIT" >&6; }
! 7120: else
! 7121: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 7122: $as_echo "no" >&6; }
! 7123: fi
! 7124:
! 7125: if test "x$ac_ct_NMEDIT" = x; then
! 7126: NMEDIT=":"
! 7127: else
! 7128: case $cross_compiling:$ac_tool_warned in
! 7129: yes:)
! 7130: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 7131: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 7132: ac_tool_warned=yes ;;
! 7133: esac
! 7134: NMEDIT=$ac_ct_NMEDIT
! 7135: fi
! 7136: else
! 7137: NMEDIT="$ac_cv_prog_NMEDIT"
! 7138: fi
! 7139:
! 7140: if test -n "$ac_tool_prefix"; then
! 7141: # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
! 7142: set dummy ${ac_tool_prefix}lipo; ac_word=$2
! 7143: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 7144: $as_echo_n "checking for $ac_word... " >&6; }
! 7145: if ${ac_cv_prog_LIPO+:} false; then :
! 7146: $as_echo_n "(cached) " >&6
! 7147: else
! 7148: if test -n "$LIPO"; then
! 7149: ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
! 7150: else
! 7151: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7152: for as_dir in $PATH
! 7153: do
! 7154: IFS=$as_save_IFS
! 7155: test -z "$as_dir" && as_dir=.
! 7156: for ac_exec_ext in '' $ac_executable_extensions; do
! 7157: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 7158: ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
! 7159: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7160: break 2
! 7161: fi
! 7162: done
! 7163: done
! 7164: IFS=$as_save_IFS
! 7165:
! 7166: fi
! 7167: fi
! 7168: LIPO=$ac_cv_prog_LIPO
! 7169: if test -n "$LIPO"; then
! 7170: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
! 7171: $as_echo "$LIPO" >&6; }
! 7172: else
! 7173: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 7174: $as_echo "no" >&6; }
! 7175: fi
! 7176:
! 7177:
! 7178: fi
! 7179: if test -z "$ac_cv_prog_LIPO"; then
! 7180: ac_ct_LIPO=$LIPO
! 7181: # Extract the first word of "lipo", so it can be a program name with args.
! 7182: set dummy lipo; ac_word=$2
! 7183: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 7184: $as_echo_n "checking for $ac_word... " >&6; }
! 7185: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
! 7186: $as_echo_n "(cached) " >&6
! 7187: else
! 7188: if test -n "$ac_ct_LIPO"; then
! 7189: ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
! 7190: else
! 7191: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7192: for as_dir in $PATH
! 7193: do
! 7194: IFS=$as_save_IFS
! 7195: test -z "$as_dir" && as_dir=.
! 7196: for ac_exec_ext in '' $ac_executable_extensions; do
! 7197: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 7198: ac_cv_prog_ac_ct_LIPO="lipo"
! 7199: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7200: break 2
! 7201: fi
! 7202: done
! 7203: done
! 7204: IFS=$as_save_IFS
! 7205:
! 7206: fi
! 7207: fi
! 7208: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
! 7209: if test -n "$ac_ct_LIPO"; then
! 7210: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
! 7211: $as_echo "$ac_ct_LIPO" >&6; }
! 7212: else
! 7213: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 7214: $as_echo "no" >&6; }
! 7215: fi
! 7216:
! 7217: if test "x$ac_ct_LIPO" = x; then
! 7218: LIPO=":"
! 7219: else
! 7220: case $cross_compiling:$ac_tool_warned in
! 7221: yes:)
! 7222: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 7223: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 7224: ac_tool_warned=yes ;;
! 7225: esac
! 7226: LIPO=$ac_ct_LIPO
! 7227: fi
! 7228: else
! 7229: LIPO="$ac_cv_prog_LIPO"
! 7230: fi
! 7231:
! 7232: if test -n "$ac_tool_prefix"; then
! 7233: # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
! 7234: set dummy ${ac_tool_prefix}otool; ac_word=$2
! 7235: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 7236: $as_echo_n "checking for $ac_word... " >&6; }
! 7237: if ${ac_cv_prog_OTOOL+:} false; then :
! 7238: $as_echo_n "(cached) " >&6
! 7239: else
! 7240: if test -n "$OTOOL"; then
! 7241: ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
! 7242: else
! 7243: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7244: for as_dir in $PATH
! 7245: do
! 7246: IFS=$as_save_IFS
! 7247: test -z "$as_dir" && as_dir=.
! 7248: for ac_exec_ext in '' $ac_executable_extensions; do
! 7249: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 7250: ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
! 7251: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7252: break 2
! 7253: fi
! 7254: done
! 7255: done
! 7256: IFS=$as_save_IFS
! 7257:
! 7258: fi
! 7259: fi
! 7260: OTOOL=$ac_cv_prog_OTOOL
! 7261: if test -n "$OTOOL"; then
! 7262: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
! 7263: $as_echo "$OTOOL" >&6; }
! 7264: else
! 7265: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 7266: $as_echo "no" >&6; }
! 7267: fi
! 7268:
! 7269:
! 7270: fi
! 7271: if test -z "$ac_cv_prog_OTOOL"; then
! 7272: ac_ct_OTOOL=$OTOOL
! 7273: # Extract the first word of "otool", so it can be a program name with args.
! 7274: set dummy otool; ac_word=$2
! 7275: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 7276: $as_echo_n "checking for $ac_word... " >&6; }
! 7277: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
! 7278: $as_echo_n "(cached) " >&6
! 7279: else
! 7280: if test -n "$ac_ct_OTOOL"; then
! 7281: ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
! 7282: else
! 7283: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7284: for as_dir in $PATH
! 7285: do
! 7286: IFS=$as_save_IFS
! 7287: test -z "$as_dir" && as_dir=.
! 7288: for ac_exec_ext in '' $ac_executable_extensions; do
! 7289: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 7290: ac_cv_prog_ac_ct_OTOOL="otool"
! 7291: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7292: break 2
! 7293: fi
! 7294: done
! 7295: done
! 7296: IFS=$as_save_IFS
! 7297:
! 7298: fi
! 7299: fi
! 7300: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
! 7301: if test -n "$ac_ct_OTOOL"; then
! 7302: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
! 7303: $as_echo "$ac_ct_OTOOL" >&6; }
! 7304: else
! 7305: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 7306: $as_echo "no" >&6; }
! 7307: fi
! 7308:
! 7309: if test "x$ac_ct_OTOOL" = x; then
! 7310: OTOOL=":"
! 7311: else
! 7312: case $cross_compiling:$ac_tool_warned in
! 7313: yes:)
! 7314: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 7315: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 7316: ac_tool_warned=yes ;;
! 7317: esac
! 7318: OTOOL=$ac_ct_OTOOL
! 7319: fi
! 7320: else
! 7321: OTOOL="$ac_cv_prog_OTOOL"
! 7322: fi
! 7323:
! 7324: if test -n "$ac_tool_prefix"; then
! 7325: # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
! 7326: set dummy ${ac_tool_prefix}otool64; ac_word=$2
! 7327: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 7328: $as_echo_n "checking for $ac_word... " >&6; }
! 7329: if ${ac_cv_prog_OTOOL64+:} false; then :
! 7330: $as_echo_n "(cached) " >&6
! 7331: else
! 7332: if test -n "$OTOOL64"; then
! 7333: ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
! 7334: else
! 7335: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7336: for as_dir in $PATH
! 7337: do
! 7338: IFS=$as_save_IFS
! 7339: test -z "$as_dir" && as_dir=.
! 7340: for ac_exec_ext in '' $ac_executable_extensions; do
! 7341: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 7342: ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
! 7343: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7344: break 2
! 7345: fi
! 7346: done
! 7347: done
! 7348: IFS=$as_save_IFS
! 7349:
! 7350: fi
! 7351: fi
! 7352: OTOOL64=$ac_cv_prog_OTOOL64
! 7353: if test -n "$OTOOL64"; then
! 7354: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
! 7355: $as_echo "$OTOOL64" >&6; }
! 7356: else
! 7357: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 7358: $as_echo "no" >&6; }
! 7359: fi
! 7360:
! 7361:
! 7362: fi
! 7363: if test -z "$ac_cv_prog_OTOOL64"; then
! 7364: ac_ct_OTOOL64=$OTOOL64
! 7365: # Extract the first word of "otool64", so it can be a program name with args.
! 7366: set dummy otool64; ac_word=$2
! 7367: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 7368: $as_echo_n "checking for $ac_word... " >&6; }
! 7369: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
! 7370: $as_echo_n "(cached) " >&6
! 7371: else
! 7372: if test -n "$ac_ct_OTOOL64"; then
! 7373: ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
! 7374: else
! 7375: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 7376: for as_dir in $PATH
! 7377: do
! 7378: IFS=$as_save_IFS
! 7379: test -z "$as_dir" && as_dir=.
! 7380: for ac_exec_ext in '' $ac_executable_extensions; do
! 7381: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 7382: ac_cv_prog_ac_ct_OTOOL64="otool64"
! 7383: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 7384: break 2
! 7385: fi
! 7386: done
! 7387: done
! 7388: IFS=$as_save_IFS
! 7389:
! 7390: fi
! 7391: fi
! 7392: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
! 7393: if test -n "$ac_ct_OTOOL64"; then
! 7394: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
! 7395: $as_echo "$ac_ct_OTOOL64" >&6; }
! 7396: else
! 7397: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 7398: $as_echo "no" >&6; }
! 7399: fi
! 7400:
! 7401: if test "x$ac_ct_OTOOL64" = x; then
! 7402: OTOOL64=":"
! 7403: else
! 7404: case $cross_compiling:$ac_tool_warned in
! 7405: yes:)
! 7406: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 7407: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 7408: ac_tool_warned=yes ;;
! 7409: esac
! 7410: OTOOL64=$ac_ct_OTOOL64
! 7411: fi
! 7412: else
! 7413: OTOOL64="$ac_cv_prog_OTOOL64"
! 7414: fi
! 7415:
! 7416:
! 7417:
! 7418:
! 7419:
! 7420:
! 7421:
! 7422:
! 7423:
! 7424:
! 7425:
! 7426:
! 7427:
! 7428:
! 7429:
! 7430:
! 7431:
! 7432:
! 7433:
! 7434:
! 7435:
! 7436:
! 7437:
! 7438:
! 7439:
! 7440:
! 7441:
! 7442: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
! 7443: $as_echo_n "checking for -single_module linker flag... " >&6; }
! 7444: if ${lt_cv_apple_cc_single_mod+:} false; then :
! 7445: $as_echo_n "(cached) " >&6
! 7446: else
! 7447: lt_cv_apple_cc_single_mod=no
! 7448: if test -z "$LT_MULTI_MODULE"; then
! 7449: # By default we will add the -single_module flag. You can override
! 7450: # by either setting the environment variable LT_MULTI_MODULE
! 7451: # non-empty at configure time, or by adding -multi_module to the
! 7452: # link flags.
! 7453: rm -rf libconftest.dylib*
! 7454: echo "int foo(void){return 1;}" > conftest.c
! 7455: echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
! 7456: -dynamiclib -Wl,-single_module conftest.c" >&5
! 7457: $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
! 7458: -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
! 7459: _lt_result=$?
! 7460: # If there is a non-empty error log, and "single_module"
! 7461: # appears in it, assume the flag caused a linker warning
! 7462: if test -s conftest.err && $GREP single_module conftest.err; then
! 7463: cat conftest.err >&5
! 7464: # Otherwise, if the output was created with a 0 exit code from
! 7465: # the compiler, it worked.
! 7466: elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
! 7467: lt_cv_apple_cc_single_mod=yes
! 7468: else
! 7469: cat conftest.err >&5
! 7470: fi
! 7471: rm -rf libconftest.dylib*
! 7472: rm -f conftest.*
! 7473: fi
! 7474: fi
! 7475: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
! 7476: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
! 7477:
! 7478: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
! 7479: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
! 7480: if ${lt_cv_ld_exported_symbols_list+:} false; then :
! 7481: $as_echo_n "(cached) " >&6
! 7482: else
! 7483: lt_cv_ld_exported_symbols_list=no
! 7484: save_LDFLAGS=$LDFLAGS
! 7485: echo "_main" > conftest.sym
! 7486: LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
! 7487: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 7488: /* end confdefs.h. */
! 7489:
! 7490: int
! 7491: main ()
! 7492: {
! 7493:
! 7494: ;
! 7495: return 0;
! 7496: }
! 7497: _ACEOF
! 7498: if ac_fn_c_try_link "$LINENO"; then :
! 7499: lt_cv_ld_exported_symbols_list=yes
! 7500: else
! 7501: lt_cv_ld_exported_symbols_list=no
! 7502: fi
! 7503: rm -f core conftest.err conftest.$ac_objext \
! 7504: conftest$ac_exeext conftest.$ac_ext
! 7505: LDFLAGS=$save_LDFLAGS
! 7506:
! 7507: fi
! 7508: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
! 7509: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
! 7510:
! 7511: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
! 7512: $as_echo_n "checking for -force_load linker flag... " >&6; }
! 7513: if ${lt_cv_ld_force_load+:} false; then :
! 7514: $as_echo_n "(cached) " >&6
! 7515: else
! 7516: lt_cv_ld_force_load=no
! 7517: cat > conftest.c << _LT_EOF
! 7518: int forced_loaded() { return 2;}
! 7519: _LT_EOF
! 7520: echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
! 7521: $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
! 7522: echo "$AR cru libconftest.a conftest.o" >&5
! 7523: $AR cru libconftest.a conftest.o 2>&5
! 7524: echo "$RANLIB libconftest.a" >&5
! 7525: $RANLIB libconftest.a 2>&5
! 7526: cat > conftest.c << _LT_EOF
! 7527: int main() { return 0;}
! 7528: _LT_EOF
! 7529: echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
! 7530: $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
! 7531: _lt_result=$?
! 7532: if test -s conftest.err && $GREP force_load conftest.err; then
! 7533: cat conftest.err >&5
! 7534: elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
! 7535: lt_cv_ld_force_load=yes
! 7536: else
! 7537: cat conftest.err >&5
! 7538: fi
! 7539: rm -f conftest.err libconftest.a conftest conftest.c
! 7540: rm -rf conftest.dSYM
! 7541:
! 7542: fi
! 7543: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
! 7544: $as_echo "$lt_cv_ld_force_load" >&6; }
! 7545: case $host_os in
! 7546: rhapsody* | darwin1.[012])
! 7547: _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
! 7548: darwin1.*)
! 7549: _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
! 7550: darwin*) # darwin 5.x on
! 7551: # if running on 10.5 or later, the deployment target defaults
! 7552: # to the OS version, if on x86, and 10.4, the deployment
! 7553: # target defaults to 10.4. Don't you love it?
! 7554: case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
! 7555: 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
! 7556: _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
! 7557: 10.[012][,.]*)
! 7558: _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
! 7559: 10.*)
! 7560: _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
! 7561: esac
! 7562: ;;
! 7563: esac
! 7564: if test yes = "$lt_cv_apple_cc_single_mod"; then
! 7565: _lt_dar_single_mod='$single_module'
! 7566: fi
! 7567: if test yes = "$lt_cv_ld_exported_symbols_list"; then
! 7568: _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
! 7569: else
! 7570: _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
! 7571: fi
! 7572: if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
! 7573: _lt_dsymutil='~$DSYMUTIL $lib || :'
! 7574: else
! 7575: _lt_dsymutil=
! 7576: fi
! 7577: ;;
! 7578: esac
! 7579:
! 7580: # func_munge_path_list VARIABLE PATH
! 7581: # -----------------------------------
! 7582: # VARIABLE is name of variable containing _space_ separated list of
! 7583: # directories to be munged by the contents of PATH, which is string
! 7584: # having a format:
! 7585: # "DIR[:DIR]:"
! 7586: # string "DIR[ DIR]" will be prepended to VARIABLE
! 7587: # ":DIR[:DIR]"
! 7588: # string "DIR[ DIR]" will be appended to VARIABLE
! 7589: # "DIRP[:DIRP]::[DIRA:]DIRA"
! 7590: # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
! 7591: # "DIRA[ DIRA]" will be appended to VARIABLE
! 7592: # "DIR[:DIR]"
! 7593: # VARIABLE will be replaced by "DIR[ DIR]"
! 7594: func_munge_path_list ()
! 7595: {
! 7596: case x$2 in
! 7597: x)
! 7598: ;;
! 7599: *:)
! 7600: eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
! 7601: ;;
! 7602: x:*)
! 7603: eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
! 7604: ;;
! 7605: *::*)
! 7606: eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
! 7607: eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
! 7608: ;;
! 7609: *)
! 7610: eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
! 7611: ;;
! 7612: esac
! 7613: }
! 7614:
! 7615: ac_ext=c
! 7616: ac_cpp='$CPP $CPPFLAGS'
! 7617: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 7618: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 7619: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 7620: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
! 7621: $as_echo_n "checking how to run the C preprocessor... " >&6; }
! 7622: # On Suns, sometimes $CPP names a directory.
! 7623: if test -n "$CPP" && test -d "$CPP"; then
! 7624: CPP=
! 7625: fi
! 7626: if test -z "$CPP"; then
! 7627: if ${ac_cv_prog_CPP+:} false; then :
! 7628: $as_echo_n "(cached) " >&6
! 7629: else
! 7630: # Double quotes because CPP needs to be expanded
! 7631: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
! 7632: do
! 7633: ac_preproc_ok=false
! 7634: for ac_c_preproc_warn_flag in '' yes
! 7635: do
! 7636: # Use a header file that comes with gcc, so configuring glibc
! 7637: # with a fresh cross-compiler works.
! 7638: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 7639: # <limits.h> exists even on freestanding compilers.
! 7640: # On the NeXT, cc -E runs the code through the compiler's parser,
! 7641: # not just through cpp. "Syntax error" is here to catch this case.
! 7642: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 7643: /* end confdefs.h. */
! 7644: #ifdef __STDC__
! 7645: # include <limits.h>
! 7646: #else
! 7647: # include <assert.h>
! 7648: #endif
! 7649: Syntax error
! 7650: _ACEOF
! 7651: if ac_fn_c_try_cpp "$LINENO"; then :
! 7652:
! 7653: else
! 7654: # Broken: fails on valid input.
! 7655: continue
! 7656: fi
! 7657: rm -f conftest.err conftest.i conftest.$ac_ext
! 7658:
! 7659: # OK, works on sane cases. Now check whether nonexistent headers
! 7660: # can be detected and how.
! 7661: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 7662: /* end confdefs.h. */
! 7663: #include <ac_nonexistent.h>
! 7664: _ACEOF
! 7665: if ac_fn_c_try_cpp "$LINENO"; then :
! 7666: # Broken: success on invalid input.
! 7667: continue
! 7668: else
! 7669: # Passes both tests.
! 7670: ac_preproc_ok=:
! 7671: break
! 7672: fi
! 7673: rm -f conftest.err conftest.i conftest.$ac_ext
! 7674:
! 7675: done
! 7676: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 7677: rm -f conftest.i conftest.err conftest.$ac_ext
! 7678: if $ac_preproc_ok; then :
! 7679: break
! 7680: fi
! 7681:
! 7682: done
! 7683: ac_cv_prog_CPP=$CPP
! 7684:
! 7685: fi
! 7686: CPP=$ac_cv_prog_CPP
! 7687: else
! 7688: ac_cv_prog_CPP=$CPP
! 7689: fi
! 7690: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
! 7691: $as_echo "$CPP" >&6; }
! 7692: ac_preproc_ok=false
! 7693: for ac_c_preproc_warn_flag in '' yes
! 7694: do
! 7695: # Use a header file that comes with gcc, so configuring glibc
! 7696: # with a fresh cross-compiler works.
! 7697: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 7698: # <limits.h> exists even on freestanding compilers.
! 7699: # On the NeXT, cc -E runs the code through the compiler's parser,
! 7700: # not just through cpp. "Syntax error" is here to catch this case.
! 7701: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 7702: /* end confdefs.h. */
! 7703: #ifdef __STDC__
! 7704: # include <limits.h>
! 7705: #else
! 7706: # include <assert.h>
! 7707: #endif
! 7708: Syntax error
! 7709: _ACEOF
! 7710: if ac_fn_c_try_cpp "$LINENO"; then :
! 7711:
! 7712: else
! 7713: # Broken: fails on valid input.
! 7714: continue
! 7715: fi
! 7716: rm -f conftest.err conftest.i conftest.$ac_ext
! 7717:
! 7718: # OK, works on sane cases. Now check whether nonexistent headers
! 7719: # can be detected and how.
! 7720: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 7721: /* end confdefs.h. */
! 7722: #include <ac_nonexistent.h>
! 7723: _ACEOF
! 7724: if ac_fn_c_try_cpp "$LINENO"; then :
! 7725: # Broken: success on invalid input.
! 7726: continue
! 7727: else
! 7728: # Passes both tests.
! 7729: ac_preproc_ok=:
! 7730: break
! 7731: fi
! 7732: rm -f conftest.err conftest.i conftest.$ac_ext
! 7733:
! 7734: done
! 7735: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 7736: rm -f conftest.i conftest.err conftest.$ac_ext
! 7737: if $ac_preproc_ok; then :
! 7738:
! 7739: else
! 7740: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 7741: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 7742: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
! 7743: See \`config.log' for more details" "$LINENO" 5; }
! 7744: fi
! 7745:
! 7746: ac_ext=c
! 7747: ac_cpp='$CPP $CPPFLAGS'
! 7748: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 7749: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 7750: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 7751:
! 7752:
! 7753: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
! 7754: $as_echo_n "checking for ANSI C header files... " >&6; }
! 7755: if ${ac_cv_header_stdc+:} false; then :
! 7756: $as_echo_n "(cached) " >&6
! 7757: else
! 7758: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 7759: /* end confdefs.h. */
! 7760: #include <stdlib.h>
! 7761: #include <stdarg.h>
! 7762: #include <string.h>
! 7763: #include <float.h>
! 7764:
! 7765: int
! 7766: main ()
! 7767: {
! 7768:
! 7769: ;
! 7770: return 0;
! 7771: }
! 7772: _ACEOF
! 7773: if ac_fn_c_try_compile "$LINENO"; then :
! 7774: ac_cv_header_stdc=yes
! 7775: else
! 7776: ac_cv_header_stdc=no
! 7777: fi
! 7778: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 7779:
! 7780: if test $ac_cv_header_stdc = yes; then
! 7781: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
! 7782: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 7783: /* end confdefs.h. */
! 7784: #include <string.h>
! 7785:
! 7786: _ACEOF
! 7787: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 7788: $EGREP "memchr" >/dev/null 2>&1; then :
! 7789:
! 7790: else
! 7791: ac_cv_header_stdc=no
! 7792: fi
! 7793: rm -f conftest*
! 7794:
! 7795: fi
! 7796:
! 7797: if test $ac_cv_header_stdc = yes; then
! 7798: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
! 7799: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 7800: /* end confdefs.h. */
! 7801: #include <stdlib.h>
! 7802:
! 7803: _ACEOF
! 7804: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 7805: $EGREP "free" >/dev/null 2>&1; then :
! 7806:
! 7807: else
! 7808: ac_cv_header_stdc=no
! 7809: fi
! 7810: rm -f conftest*
! 7811:
! 7812: fi
! 7813:
! 7814: if test $ac_cv_header_stdc = yes; then
! 7815: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
! 7816: if test "$cross_compiling" = yes; then :
! 7817: :
! 7818: else
! 7819: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 7820: /* end confdefs.h. */
! 7821: #include <ctype.h>
! 7822: #include <stdlib.h>
! 7823: #if ((' ' & 0x0FF) == 0x020)
! 7824: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
! 7825: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
! 7826: #else
! 7827: # define ISLOWER(c) \
! 7828: (('a' <= (c) && (c) <= 'i') \
! 7829: || ('j' <= (c) && (c) <= 'r') \
! 7830: || ('s' <= (c) && (c) <= 'z'))
! 7831: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
! 7832: #endif
! 7833:
! 7834: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
! 7835: int
! 7836: main ()
! 7837: {
! 7838: int i;
! 7839: for (i = 0; i < 256; i++)
! 7840: if (XOR (islower (i), ISLOWER (i))
! 7841: || toupper (i) != TOUPPER (i))
! 7842: return 2;
! 7843: return 0;
! 7844: }
! 7845: _ACEOF
! 7846: if ac_fn_c_try_run "$LINENO"; then :
! 7847:
! 7848: else
! 7849: ac_cv_header_stdc=no
! 7850: fi
! 7851: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
! 7852: conftest.$ac_objext conftest.beam conftest.$ac_ext
! 7853: fi
! 7854:
! 7855: fi
! 7856: fi
! 7857: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
! 7858: $as_echo "$ac_cv_header_stdc" >&6; }
! 7859: if test $ac_cv_header_stdc = yes; then
! 7860:
! 7861: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
! 7862:
! 7863: fi
! 7864:
! 7865: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
! 7866: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
! 7867: inttypes.h stdint.h unistd.h
! 7868: do :
! 7869: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 7870: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
! 7871: "
! 7872: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
! 7873: cat >>confdefs.h <<_ACEOF
! 7874: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 7875: _ACEOF
! 7876:
! 7877: fi
! 7878:
! 7879: done
! 7880:
! 7881:
! 7882: for ac_header in dlfcn.h
! 7883: do :
! 7884: ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
! 7885: "
! 7886: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
! 7887: cat >>confdefs.h <<_ACEOF
! 7888: #define HAVE_DLFCN_H 1
! 7889: _ACEOF
! 7890:
! 7891: fi
! 7892:
! 7893: done
! 7894:
! 7895:
! 7896:
! 7897:
! 7898:
! 7899: # Set options
! 7900:
! 7901:
! 7902:
! 7903: enable_dlopen=no
! 7904:
! 7905:
! 7906: enable_win32_dll=no
! 7907:
! 7908:
! 7909: # Check whether --enable-shared was given.
! 7910: if test "${enable_shared+set}" = set; then :
! 7911: enableval=$enable_shared; p=${PACKAGE-default}
! 7912: case $enableval in
! 7913: yes) enable_shared=yes ;;
! 7914: no) enable_shared=no ;;
! 7915: *)
! 7916: enable_shared=no
! 7917: # Look at the argument we got. We use all the common list separators.
! 7918: lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
! 7919: for pkg in $enableval; do
! 7920: IFS=$lt_save_ifs
! 7921: if test "X$pkg" = "X$p"; then
! 7922: enable_shared=yes
! 7923: fi
! 7924: done
! 7925: IFS=$lt_save_ifs
! 7926: ;;
! 7927: esac
! 7928: else
! 7929: enable_shared=yes
! 7930: fi
! 7931:
! 7932:
! 7933:
! 7934:
! 7935:
! 7936:
! 7937:
! 7938:
! 7939:
! 7940: # Check whether --enable-static was given.
! 7941: if test "${enable_static+set}" = set; then :
! 7942: enableval=$enable_static; p=${PACKAGE-default}
! 7943: case $enableval in
! 7944: yes) enable_static=yes ;;
! 7945: no) enable_static=no ;;
! 7946: *)
! 7947: enable_static=no
! 7948: # Look at the argument we got. We use all the common list separators.
! 7949: lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
! 7950: for pkg in $enableval; do
! 7951: IFS=$lt_save_ifs
! 7952: if test "X$pkg" = "X$p"; then
! 7953: enable_static=yes
! 7954: fi
! 7955: done
! 7956: IFS=$lt_save_ifs
! 7957: ;;
! 7958: esac
! 7959: else
! 7960: enable_static=yes
! 7961: fi
! 7962:
! 7963:
! 7964:
! 7965:
! 7966:
! 7967:
! 7968:
! 7969:
! 7970:
! 7971:
! 7972: # Check whether --with-pic was given.
! 7973: if test "${with_pic+set}" = set; then :
! 7974: withval=$with_pic; lt_p=${PACKAGE-default}
! 7975: case $withval in
! 7976: yes|no) pic_mode=$withval ;;
! 7977: *)
! 7978: pic_mode=default
! 7979: # Look at the argument we got. We use all the common list separators.
! 7980: lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
! 7981: for lt_pkg in $withval; do
! 7982: IFS=$lt_save_ifs
! 7983: if test "X$lt_pkg" = "X$lt_p"; then
! 7984: pic_mode=yes
! 7985: fi
! 7986: done
! 7987: IFS=$lt_save_ifs
! 7988: ;;
! 7989: esac
! 7990: else
! 7991: pic_mode=default
! 7992: fi
! 7993:
! 7994:
! 7995:
! 7996:
! 7997:
! 7998:
! 7999:
! 8000:
! 8001: # Check whether --enable-fast-install was given.
! 8002: if test "${enable_fast_install+set}" = set; then :
! 8003: enableval=$enable_fast_install; p=${PACKAGE-default}
! 8004: case $enableval in
! 8005: yes) enable_fast_install=yes ;;
! 8006: no) enable_fast_install=no ;;
! 8007: *)
! 8008: enable_fast_install=no
! 8009: # Look at the argument we got. We use all the common list separators.
! 8010: lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
! 8011: for pkg in $enableval; do
! 8012: IFS=$lt_save_ifs
! 8013: if test "X$pkg" = "X$p"; then
! 8014: enable_fast_install=yes
! 8015: fi
! 8016: done
! 8017: IFS=$lt_save_ifs
! 8018: ;;
! 8019: esac
! 8020: else
! 8021: enable_fast_install=yes
! 8022: fi
! 8023:
! 8024:
! 8025:
! 8026:
! 8027:
! 8028:
! 8029:
! 8030:
! 8031: shared_archive_member_spec=
! 8032: case $host,$enable_shared in
! 8033: power*-*-aix[5-9]*,yes)
! 8034: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
! 8035: $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
! 8036:
! 8037: # Check whether --with-aix-soname was given.
! 8038: if test "${with_aix_soname+set}" = set; then :
! 8039: withval=$with_aix_soname; case $withval in
! 8040: aix|svr4|both)
! 8041: ;;
! 8042: *)
! 8043: as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
! 8044: ;;
! 8045: esac
! 8046: lt_cv_with_aix_soname=$with_aix_soname
! 8047: else
! 8048: if ${lt_cv_with_aix_soname+:} false; then :
! 8049: $as_echo_n "(cached) " >&6
! 8050: else
! 8051: lt_cv_with_aix_soname=aix
! 8052: fi
! 8053:
! 8054: with_aix_soname=$lt_cv_with_aix_soname
! 8055: fi
! 8056:
! 8057: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
! 8058: $as_echo "$with_aix_soname" >&6; }
! 8059: if test aix != "$with_aix_soname"; then
! 8060: # For the AIX way of multilib, we name the shared archive member
! 8061: # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
! 8062: # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
! 8063: # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
! 8064: # the AIX toolchain works better with OBJECT_MODE set (default 32).
! 8065: if test 64 = "${OBJECT_MODE-32}"; then
! 8066: shared_archive_member_spec=shr_64
! 8067: else
! 8068: shared_archive_member_spec=shr
! 8069: fi
! 8070: fi
! 8071: ;;
! 8072: *)
! 8073: with_aix_soname=aix
! 8074: ;;
! 8075: esac
! 8076:
! 8077:
! 8078:
! 8079:
! 8080:
! 8081:
! 8082:
! 8083:
! 8084:
! 8085:
! 8086: # This can be used to rebuild libtool when needed
! 8087: LIBTOOL_DEPS=$ltmain
! 8088:
! 8089: # Always use our own libtool.
! 8090: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
! 8091:
! 8092:
! 8093:
! 8094:
! 8095:
! 8096:
! 8097:
! 8098:
! 8099:
! 8100:
! 8101:
! 8102:
! 8103:
! 8104:
! 8105:
! 8106:
! 8107:
! 8108:
! 8109:
! 8110:
! 8111:
! 8112:
! 8113:
! 8114:
! 8115:
! 8116:
! 8117:
! 8118:
! 8119:
! 8120:
! 8121: test -z "$LN_S" && LN_S="ln -s"
! 8122:
! 8123:
! 8124:
! 8125:
! 8126:
! 8127:
! 8128:
! 8129:
! 8130:
! 8131:
! 8132:
! 8133:
! 8134:
! 8135:
! 8136: if test -n "${ZSH_VERSION+set}"; then
! 8137: setopt NO_GLOB_SUBST
! 8138: fi
! 8139:
! 8140: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
! 8141: $as_echo_n "checking for objdir... " >&6; }
! 8142: if ${lt_cv_objdir+:} false; then :
! 8143: $as_echo_n "(cached) " >&6
! 8144: else
! 8145: rm -f .libs 2>/dev/null
! 8146: mkdir .libs 2>/dev/null
! 8147: if test -d .libs; then
! 8148: lt_cv_objdir=.libs
! 8149: else
! 8150: # MS-DOS does not allow filenames that begin with a dot.
! 8151: lt_cv_objdir=_libs
! 8152: fi
! 8153: rmdir .libs 2>/dev/null
! 8154: fi
! 8155: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
! 8156: $as_echo "$lt_cv_objdir" >&6; }
! 8157: objdir=$lt_cv_objdir
! 8158:
! 8159:
! 8160:
! 8161:
! 8162:
! 8163: cat >>confdefs.h <<_ACEOF
! 8164: #define LT_OBJDIR "$lt_cv_objdir/"
! 8165: _ACEOF
! 8166:
! 8167:
! 8168:
! 8169:
! 8170: case $host_os in
! 8171: aix3*)
! 8172: # AIX sometimes has problems with the GCC collect2 program. For some
! 8173: # reason, if we set the COLLECT_NAMES environment variable, the problems
! 8174: # vanish in a puff of smoke.
! 8175: if test set != "${COLLECT_NAMES+set}"; then
! 8176: COLLECT_NAMES=
! 8177: export COLLECT_NAMES
! 8178: fi
! 8179: ;;
! 8180: esac
! 8181:
! 8182: # Global variables:
! 8183: ofile=libtool
! 8184: can_build_shared=yes
! 8185:
! 8186: # All known linkers require a '.a' archive for static linking (except MSVC,
! 8187: # which needs '.lib').
! 8188: libext=a
! 8189:
! 8190: with_gnu_ld=$lt_cv_prog_gnu_ld
! 8191:
! 8192: old_CC=$CC
! 8193: old_CFLAGS=$CFLAGS
! 8194:
! 8195: # Set sane defaults for various variables
! 8196: test -z "$CC" && CC=cc
! 8197: test -z "$LTCC" && LTCC=$CC
! 8198: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
! 8199: test -z "$LD" && LD=ld
! 8200: test -z "$ac_objext" && ac_objext=o
! 8201:
! 8202: func_cc_basename $compiler
! 8203: cc_basename=$func_cc_basename_result
! 8204:
! 8205:
! 8206: # Only perform the check for file, if the check method requires it
! 8207: test -z "$MAGIC_CMD" && MAGIC_CMD=file
! 8208: case $deplibs_check_method in
! 8209: file_magic*)
! 8210: if test "$file_magic_cmd" = '$MAGIC_CMD'; then
! 8211: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
! 8212: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
! 8213: if ${lt_cv_path_MAGIC_CMD+:} false; then :
! 8214: $as_echo_n "(cached) " >&6
! 8215: else
! 8216: case $MAGIC_CMD in
! 8217: [\\/*] | ?:[\\/]*)
! 8218: lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
! 8219: ;;
! 8220: *)
! 8221: lt_save_MAGIC_CMD=$MAGIC_CMD
! 8222: lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
! 8223: ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
! 8224: for ac_dir in $ac_dummy; do
! 8225: IFS=$lt_save_ifs
! 8226: test -z "$ac_dir" && ac_dir=.
! 8227: if test -f "$ac_dir/${ac_tool_prefix}file"; then
! 8228: lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
! 8229: if test -n "$file_magic_test_file"; then
! 8230: case $deplibs_check_method in
! 8231: "file_magic "*)
! 8232: file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
! 8233: MAGIC_CMD=$lt_cv_path_MAGIC_CMD
! 8234: if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
! 8235: $EGREP "$file_magic_regex" > /dev/null; then
! 8236: :
! 8237: else
! 8238: cat <<_LT_EOF 1>&2
! 8239:
! 8240: *** Warning: the command libtool uses to detect shared libraries,
! 8241: *** $file_magic_cmd, produces output that libtool cannot recognize.
! 8242: *** The result is that libtool may fail to recognize shared libraries
! 8243: *** as such. This will affect the creation of libtool libraries that
! 8244: *** depend on shared libraries, but programs linked with such libtool
! 8245: *** libraries will work regardless of this problem. Nevertheless, you
! 8246: *** may want to report the problem to your system manager and/or to
! 8247: *** bug-libtool@gnu.org
! 8248:
! 8249: _LT_EOF
! 8250: fi ;;
! 8251: esac
! 8252: fi
! 8253: break
! 8254: fi
! 8255: done
! 8256: IFS=$lt_save_ifs
! 8257: MAGIC_CMD=$lt_save_MAGIC_CMD
! 8258: ;;
! 8259: esac
! 8260: fi
! 8261:
! 8262: MAGIC_CMD=$lt_cv_path_MAGIC_CMD
! 8263: if test -n "$MAGIC_CMD"; then
! 8264: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
! 8265: $as_echo "$MAGIC_CMD" >&6; }
! 8266: else
! 8267: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 8268: $as_echo "no" >&6; }
! 8269: fi
! 8270:
! 8271:
! 8272:
! 8273:
! 8274:
! 8275: if test -z "$lt_cv_path_MAGIC_CMD"; then
! 8276: if test -n "$ac_tool_prefix"; then
! 8277: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
! 8278: $as_echo_n "checking for file... " >&6; }
! 8279: if ${lt_cv_path_MAGIC_CMD+:} false; then :
! 8280: $as_echo_n "(cached) " >&6
! 8281: else
! 8282: case $MAGIC_CMD in
! 8283: [\\/*] | ?:[\\/]*)
! 8284: lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
! 8285: ;;
! 8286: *)
! 8287: lt_save_MAGIC_CMD=$MAGIC_CMD
! 8288: lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
! 8289: ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
! 8290: for ac_dir in $ac_dummy; do
! 8291: IFS=$lt_save_ifs
! 8292: test -z "$ac_dir" && ac_dir=.
! 8293: if test -f "$ac_dir/file"; then
! 8294: lt_cv_path_MAGIC_CMD=$ac_dir/"file"
! 8295: if test -n "$file_magic_test_file"; then
! 8296: case $deplibs_check_method in
! 8297: "file_magic "*)
! 8298: file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
! 8299: MAGIC_CMD=$lt_cv_path_MAGIC_CMD
! 8300: if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
! 8301: $EGREP "$file_magic_regex" > /dev/null; then
! 8302: :
! 8303: else
! 8304: cat <<_LT_EOF 1>&2
! 8305:
! 8306: *** Warning: the command libtool uses to detect shared libraries,
! 8307: *** $file_magic_cmd, produces output that libtool cannot recognize.
! 8308: *** The result is that libtool may fail to recognize shared libraries
! 8309: *** as such. This will affect the creation of libtool libraries that
! 8310: *** depend on shared libraries, but programs linked with such libtool
! 8311: *** libraries will work regardless of this problem. Nevertheless, you
! 8312: *** may want to report the problem to your system manager and/or to
! 8313: *** bug-libtool@gnu.org
! 8314:
! 8315: _LT_EOF
! 8316: fi ;;
! 8317: esac
! 8318: fi
! 8319: break
! 8320: fi
! 8321: done
! 8322: IFS=$lt_save_ifs
! 8323: MAGIC_CMD=$lt_save_MAGIC_CMD
! 8324: ;;
! 8325: esac
! 8326: fi
! 8327:
! 8328: MAGIC_CMD=$lt_cv_path_MAGIC_CMD
! 8329: if test -n "$MAGIC_CMD"; then
! 8330: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
! 8331: $as_echo "$MAGIC_CMD" >&6; }
! 8332: else
! 8333: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 8334: $as_echo "no" >&6; }
! 8335: fi
! 8336:
! 8337:
! 8338: else
! 8339: MAGIC_CMD=:
! 8340: fi
! 8341: fi
! 8342:
! 8343: fi
! 8344: ;;
! 8345: esac
! 8346:
! 8347: # Use C for the default configuration in the libtool script
! 8348:
! 8349: lt_save_CC=$CC
! 8350: ac_ext=c
! 8351: ac_cpp='$CPP $CPPFLAGS'
! 8352: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 8353: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 8354: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 8355:
! 8356:
! 8357: # Source file extension for C test sources.
! 8358: ac_ext=c
! 8359:
! 8360: # Object file extension for compiled C test sources.
! 8361: objext=o
! 8362: objext=$objext
! 8363:
! 8364: # Code to be used in simple compile tests
! 8365: lt_simple_compile_test_code="int some_variable = 0;"
! 8366:
! 8367: # Code to be used in simple link tests
! 8368: lt_simple_link_test_code='int main(){return(0);}'
! 8369:
! 8370:
! 8371:
! 8372:
! 8373:
! 8374:
! 8375:
! 8376: # If no C compiler was specified, use CC.
! 8377: LTCC=${LTCC-"$CC"}
! 8378:
! 8379: # If no C compiler flags were specified, use CFLAGS.
! 8380: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
! 8381:
! 8382: # Allow CC to be a program name with arguments.
! 8383: compiler=$CC
! 8384:
! 8385: # Save the default compiler, since it gets overwritten when the other
! 8386: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
! 8387: compiler_DEFAULT=$CC
! 8388:
! 8389: # save warnings/boilerplate of simple test code
! 8390: ac_outfile=conftest.$ac_objext
! 8391: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
! 8392: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 8393: _lt_compiler_boilerplate=`cat conftest.err`
! 8394: $RM conftest*
! 8395:
! 8396: ac_outfile=conftest.$ac_objext
! 8397: echo "$lt_simple_link_test_code" >conftest.$ac_ext
! 8398: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
! 8399: _lt_linker_boilerplate=`cat conftest.err`
! 8400: $RM -r conftest*
! 8401:
! 8402:
! 8403: if test -n "$compiler"; then
! 8404:
! 8405: lt_prog_compiler_no_builtin_flag=
! 8406:
! 8407: if test yes = "$GCC"; then
! 8408: case $cc_basename in
! 8409: nvcc*)
! 8410: lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
! 8411: *)
! 8412: lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
! 8413: esac
! 8414:
! 8415: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
! 8416: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
! 8417: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
! 8418: $as_echo_n "(cached) " >&6
! 8419: else
! 8420: lt_cv_prog_compiler_rtti_exceptions=no
! 8421: ac_outfile=conftest.$ac_objext
! 8422: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 8423: lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
! 8424: # Insert the option either (1) after the last *FLAGS variable, or
! 8425: # (2) before a word containing "conftest.", or (3) at the end.
! 8426: # Note that $ac_compile itself does not contain backslashes and begins
! 8427: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 8428: # The option is referenced via a variable to avoid confusing sed.
! 8429: lt_compile=`echo "$ac_compile" | $SED \
! 8430: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 8431: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 8432: -e 's:$: $lt_compiler_flag:'`
! 8433: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
! 8434: (eval "$lt_compile" 2>conftest.err)
! 8435: ac_status=$?
! 8436: cat conftest.err >&5
! 8437: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8438: if (exit $ac_status) && test -s "$ac_outfile"; then
! 8439: # The compiler can only warn and ignore the option if not recognized
! 8440: # So say no if there are warnings other than the usual output.
! 8441: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
! 8442: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 8443: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 8444: lt_cv_prog_compiler_rtti_exceptions=yes
! 8445: fi
! 8446: fi
! 8447: $RM conftest*
! 8448:
! 8449: fi
! 8450: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
! 8451: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
! 8452:
! 8453: if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
! 8454: lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
! 8455: else
! 8456: :
! 8457: fi
! 8458:
! 8459: fi
! 8460:
! 8461:
! 8462:
! 8463:
! 8464:
! 8465:
! 8466: lt_prog_compiler_wl=
! 8467: lt_prog_compiler_pic=
! 8468: lt_prog_compiler_static=
! 8469:
! 8470:
! 8471: if test yes = "$GCC"; then
! 8472: lt_prog_compiler_wl='-Wl,'
! 8473: lt_prog_compiler_static='-static'
! 8474:
! 8475: case $host_os in
! 8476: aix*)
! 8477: # All AIX code is PIC.
! 8478: if test ia64 = "$host_cpu"; then
! 8479: # AIX 5 now supports IA64 processor
! 8480: lt_prog_compiler_static='-Bstatic'
! 8481: fi
! 8482: lt_prog_compiler_pic='-fPIC'
! 8483: ;;
! 8484:
! 8485: amigaos*)
! 8486: case $host_cpu in
! 8487: powerpc)
! 8488: # see comment about AmigaOS4 .so support
! 8489: lt_prog_compiler_pic='-fPIC'
! 8490: ;;
! 8491: m68k)
! 8492: # FIXME: we need at least 68020 code to build shared libraries, but
! 8493: # adding the '-m68020' flag to GCC prevents building anything better,
! 8494: # like '-m68040'.
! 8495: lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
! 8496: ;;
! 8497: esac
! 8498: ;;
! 8499:
! 8500: beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
! 8501: # PIC is the default for these OSes.
! 8502: ;;
! 8503:
! 8504: mingw* | cygwin* | pw32* | os2* | cegcc*)
! 8505: # This hack is so that the source file can tell whether it is being
! 8506: # built for inclusion in a dll (and should export symbols for example).
! 8507: # Although the cygwin gcc ignores -fPIC, still need this for old-style
! 8508: # (--disable-auto-import) libraries
! 8509: lt_prog_compiler_pic='-DDLL_EXPORT'
! 8510: case $host_os in
! 8511: os2*)
! 8512: lt_prog_compiler_static='$wl-static'
! 8513: ;;
! 8514: esac
! 8515: ;;
! 8516:
! 8517: darwin* | rhapsody*)
! 8518: # PIC is the default on this platform
! 8519: # Common symbols not allowed in MH_DYLIB files
! 8520: lt_prog_compiler_pic='-fno-common'
! 8521: ;;
! 8522:
! 8523: haiku*)
! 8524: # PIC is the default for Haiku.
! 8525: # The "-static" flag exists, but is broken.
! 8526: lt_prog_compiler_static=
! 8527: ;;
! 8528:
! 8529: hpux*)
! 8530: # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
! 8531: # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
! 8532: # sets the default TLS model and affects inlining.
! 8533: case $host_cpu in
! 8534: hppa*64*)
! 8535: # +Z the default
! 8536: ;;
! 8537: *)
! 8538: lt_prog_compiler_pic='-fPIC'
! 8539: ;;
! 8540: esac
! 8541: ;;
! 8542:
! 8543: interix[3-9]*)
! 8544: # Interix 3.x gcc -fpic/-fPIC options generate broken code.
! 8545: # Instead, we relocate shared libraries at runtime.
! 8546: ;;
! 8547:
! 8548: msdosdjgpp*)
! 8549: # Just because we use GCC doesn't mean we suddenly get shared libraries
! 8550: # on systems that don't support them.
! 8551: lt_prog_compiler_can_build_shared=no
! 8552: enable_shared=no
! 8553: ;;
! 8554:
! 8555: *nto* | *qnx*)
! 8556: # QNX uses GNU C++, but need to define -shared option too, otherwise
! 8557: # it will coredump.
! 8558: lt_prog_compiler_pic='-fPIC -shared'
! 8559: ;;
! 8560:
! 8561: sysv4*MP*)
! 8562: if test -d /usr/nec; then
! 8563: lt_prog_compiler_pic=-Kconform_pic
! 8564: fi
! 8565: ;;
! 8566:
! 8567: *)
! 8568: lt_prog_compiler_pic='-fPIC'
! 8569: ;;
! 8570: esac
! 8571:
! 8572: case $cc_basename in
! 8573: nvcc*) # Cuda Compiler Driver 2.2
! 8574: lt_prog_compiler_wl='-Xlinker '
! 8575: if test -n "$lt_prog_compiler_pic"; then
! 8576: lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
! 8577: fi
! 8578: ;;
! 8579: esac
! 8580: else
! 8581: # PORTME Check for flag to pass linker flags through the system compiler.
! 8582: case $host_os in
! 8583: aix*)
! 8584: lt_prog_compiler_wl='-Wl,'
! 8585: if test ia64 = "$host_cpu"; then
! 8586: # AIX 5 now supports IA64 processor
! 8587: lt_prog_compiler_static='-Bstatic'
! 8588: else
! 8589: lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
! 8590: fi
! 8591: ;;
! 8592:
! 8593: darwin* | rhapsody*)
! 8594: # PIC is the default on this platform
! 8595: # Common symbols not allowed in MH_DYLIB files
! 8596: lt_prog_compiler_pic='-fno-common'
! 8597: case $cc_basename in
! 8598: nagfor*)
! 8599: # NAG Fortran compiler
! 8600: lt_prog_compiler_wl='-Wl,-Wl,,'
! 8601: lt_prog_compiler_pic='-PIC'
! 8602: lt_prog_compiler_static='-Bstatic'
! 8603: ;;
! 8604: esac
! 8605: ;;
! 8606:
! 8607: mingw* | cygwin* | pw32* | os2* | cegcc*)
! 8608: # This hack is so that the source file can tell whether it is being
! 8609: # built for inclusion in a dll (and should export symbols for example).
! 8610: lt_prog_compiler_pic='-DDLL_EXPORT'
! 8611: case $host_os in
! 8612: os2*)
! 8613: lt_prog_compiler_static='$wl-static'
! 8614: ;;
! 8615: esac
! 8616: ;;
! 8617:
! 8618: hpux9* | hpux10* | hpux11*)
! 8619: lt_prog_compiler_wl='-Wl,'
! 8620: # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
! 8621: # not for PA HP-UX.
! 8622: case $host_cpu in
! 8623: hppa*64*|ia64*)
! 8624: # +Z the default
! 8625: ;;
! 8626: *)
! 8627: lt_prog_compiler_pic='+Z'
! 8628: ;;
! 8629: esac
! 8630: # Is there a better lt_prog_compiler_static that works with the bundled CC?
! 8631: lt_prog_compiler_static='$wl-a ${wl}archive'
! 8632: ;;
! 8633:
! 8634: irix5* | irix6* | nonstopux*)
! 8635: lt_prog_compiler_wl='-Wl,'
! 8636: # PIC (with -KPIC) is the default.
! 8637: lt_prog_compiler_static='-non_shared'
! 8638: ;;
! 8639:
! 8640: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
! 8641: case $cc_basename in
! 8642: # old Intel for x86_64, which still supported -KPIC.
! 8643: ecc*)
! 8644: lt_prog_compiler_wl='-Wl,'
! 8645: lt_prog_compiler_pic='-KPIC'
! 8646: lt_prog_compiler_static='-static'
! 8647: ;;
! 8648: # icc used to be incompatible with GCC.
! 8649: # ICC 10 doesn't accept -KPIC any more.
! 8650: icc* | ifort*)
! 8651: lt_prog_compiler_wl='-Wl,'
! 8652: lt_prog_compiler_pic='-fPIC'
! 8653: lt_prog_compiler_static='-static'
! 8654: ;;
! 8655: # Lahey Fortran 8.1.
! 8656: lf95*)
! 8657: lt_prog_compiler_wl='-Wl,'
! 8658: lt_prog_compiler_pic='--shared'
! 8659: lt_prog_compiler_static='--static'
! 8660: ;;
! 8661: nagfor*)
! 8662: # NAG Fortran compiler
! 8663: lt_prog_compiler_wl='-Wl,-Wl,,'
! 8664: lt_prog_compiler_pic='-PIC'
! 8665: lt_prog_compiler_static='-Bstatic'
! 8666: ;;
! 8667: tcc*)
! 8668: # Fabrice Bellard et al's Tiny C Compiler
! 8669: lt_prog_compiler_wl='-Wl,'
! 8670: lt_prog_compiler_pic='-fPIC'
! 8671: lt_prog_compiler_static='-static'
! 8672: ;;
! 8673: pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
! 8674: # Portland Group compilers (*not* the Pentium gcc compiler,
! 8675: # which looks to be a dead project)
! 8676: lt_prog_compiler_wl='-Wl,'
! 8677: lt_prog_compiler_pic='-fpic'
! 8678: lt_prog_compiler_static='-Bstatic'
! 8679: ;;
! 8680: ccc*)
! 8681: lt_prog_compiler_wl='-Wl,'
! 8682: # All Alpha code is PIC.
! 8683: lt_prog_compiler_static='-non_shared'
! 8684: ;;
! 8685: xl* | bgxl* | bgf* | mpixl*)
! 8686: # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
! 8687: lt_prog_compiler_wl='-Wl,'
! 8688: lt_prog_compiler_pic='-qpic'
! 8689: lt_prog_compiler_static='-qstaticlink'
! 8690: ;;
! 8691: *)
! 8692: case `$CC -V 2>&1 | sed 5q` in
! 8693: *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
! 8694: # Sun Fortran 8.3 passes all unrecognized flags to the linker
! 8695: lt_prog_compiler_pic='-KPIC'
! 8696: lt_prog_compiler_static='-Bstatic'
! 8697: lt_prog_compiler_wl=''
! 8698: ;;
! 8699: *Sun\ F* | *Sun*Fortran*)
! 8700: lt_prog_compiler_pic='-KPIC'
! 8701: lt_prog_compiler_static='-Bstatic'
! 8702: lt_prog_compiler_wl='-Qoption ld '
! 8703: ;;
! 8704: *Sun\ C*)
! 8705: # Sun C 5.9
! 8706: lt_prog_compiler_pic='-KPIC'
! 8707: lt_prog_compiler_static='-Bstatic'
! 8708: lt_prog_compiler_wl='-Wl,'
! 8709: ;;
! 8710: *Intel*\ [CF]*Compiler*)
! 8711: lt_prog_compiler_wl='-Wl,'
! 8712: lt_prog_compiler_pic='-fPIC'
! 8713: lt_prog_compiler_static='-static'
! 8714: ;;
! 8715: *Portland\ Group*)
! 8716: lt_prog_compiler_wl='-Wl,'
! 8717: lt_prog_compiler_pic='-fpic'
! 8718: lt_prog_compiler_static='-Bstatic'
! 8719: ;;
! 8720: esac
! 8721: ;;
! 8722: esac
! 8723: ;;
! 8724:
! 8725: newsos6)
! 8726: lt_prog_compiler_pic='-KPIC'
! 8727: lt_prog_compiler_static='-Bstatic'
! 8728: ;;
! 8729:
! 8730: *nto* | *qnx*)
! 8731: # QNX uses GNU C++, but need to define -shared option too, otherwise
! 8732: # it will coredump.
! 8733: lt_prog_compiler_pic='-fPIC -shared'
! 8734: ;;
! 8735:
! 8736: osf3* | osf4* | osf5*)
! 8737: lt_prog_compiler_wl='-Wl,'
! 8738: # All OSF/1 code is PIC.
! 8739: lt_prog_compiler_static='-non_shared'
! 8740: ;;
! 8741:
! 8742: rdos*)
! 8743: lt_prog_compiler_static='-non_shared'
! 8744: ;;
! 8745:
! 8746: solaris*)
! 8747: lt_prog_compiler_pic='-KPIC'
! 8748: lt_prog_compiler_static='-Bstatic'
! 8749: case $cc_basename in
! 8750: f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
! 8751: lt_prog_compiler_wl='-Qoption ld ';;
! 8752: *)
! 8753: lt_prog_compiler_wl='-Wl,';;
! 8754: esac
! 8755: ;;
! 8756:
! 8757: sunos4*)
! 8758: lt_prog_compiler_wl='-Qoption ld '
! 8759: lt_prog_compiler_pic='-PIC'
! 8760: lt_prog_compiler_static='-Bstatic'
! 8761: ;;
! 8762:
! 8763: sysv4 | sysv4.2uw2* | sysv4.3*)
! 8764: lt_prog_compiler_wl='-Wl,'
! 8765: lt_prog_compiler_pic='-KPIC'
! 8766: lt_prog_compiler_static='-Bstatic'
! 8767: ;;
! 8768:
! 8769: sysv4*MP*)
! 8770: if test -d /usr/nec; then
! 8771: lt_prog_compiler_pic='-Kconform_pic'
! 8772: lt_prog_compiler_static='-Bstatic'
! 8773: fi
! 8774: ;;
! 8775:
! 8776: sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
! 8777: lt_prog_compiler_wl='-Wl,'
! 8778: lt_prog_compiler_pic='-KPIC'
! 8779: lt_prog_compiler_static='-Bstatic'
! 8780: ;;
! 8781:
! 8782: unicos*)
! 8783: lt_prog_compiler_wl='-Wl,'
! 8784: lt_prog_compiler_can_build_shared=no
! 8785: ;;
! 8786:
! 8787: uts4*)
! 8788: lt_prog_compiler_pic='-pic'
! 8789: lt_prog_compiler_static='-Bstatic'
! 8790: ;;
! 8791:
! 8792: *)
! 8793: lt_prog_compiler_can_build_shared=no
! 8794: ;;
! 8795: esac
! 8796: fi
! 8797:
! 8798: case $host_os in
! 8799: # For platforms that do not support PIC, -DPIC is meaningless:
! 8800: *djgpp*)
! 8801: lt_prog_compiler_pic=
! 8802: ;;
! 8803: *)
! 8804: lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
! 8805: ;;
! 8806: esac
! 8807:
! 8808: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
! 8809: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
! 8810: if ${lt_cv_prog_compiler_pic+:} false; then :
! 8811: $as_echo_n "(cached) " >&6
! 8812: else
! 8813: lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
! 8814: fi
! 8815: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
! 8816: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
! 8817: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
! 8818:
! 8819: #
! 8820: # Check to make sure the PIC flag actually works.
! 8821: #
! 8822: if test -n "$lt_prog_compiler_pic"; then
! 8823: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
! 8824: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
! 8825: if ${lt_cv_prog_compiler_pic_works+:} false; then :
! 8826: $as_echo_n "(cached) " >&6
! 8827: else
! 8828: lt_cv_prog_compiler_pic_works=no
! 8829: ac_outfile=conftest.$ac_objext
! 8830: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 8831: lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
! 8832: # Insert the option either (1) after the last *FLAGS variable, or
! 8833: # (2) before a word containing "conftest.", or (3) at the end.
! 8834: # Note that $ac_compile itself does not contain backslashes and begins
! 8835: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 8836: # The option is referenced via a variable to avoid confusing sed.
! 8837: lt_compile=`echo "$ac_compile" | $SED \
! 8838: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 8839: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 8840: -e 's:$: $lt_compiler_flag:'`
! 8841: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
! 8842: (eval "$lt_compile" 2>conftest.err)
! 8843: ac_status=$?
! 8844: cat conftest.err >&5
! 8845: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8846: if (exit $ac_status) && test -s "$ac_outfile"; then
! 8847: # The compiler can only warn and ignore the option if not recognized
! 8848: # So say no if there are warnings other than the usual output.
! 8849: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
! 8850: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 8851: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
! 8852: lt_cv_prog_compiler_pic_works=yes
! 8853: fi
! 8854: fi
! 8855: $RM conftest*
! 8856:
! 8857: fi
! 8858: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
! 8859: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
! 8860:
! 8861: if test yes = "$lt_cv_prog_compiler_pic_works"; then
! 8862: case $lt_prog_compiler_pic in
! 8863: "" | " "*) ;;
! 8864: *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
! 8865: esac
! 8866: else
! 8867: lt_prog_compiler_pic=
! 8868: lt_prog_compiler_can_build_shared=no
! 8869: fi
! 8870:
! 8871: fi
! 8872:
! 8873:
! 8874:
! 8875:
! 8876:
! 8877:
! 8878:
! 8879:
! 8880:
! 8881:
! 8882:
! 8883: #
! 8884: # Check to make sure the static flag actually works.
! 8885: #
! 8886: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
! 8887: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
! 8888: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
! 8889: if ${lt_cv_prog_compiler_static_works+:} false; then :
! 8890: $as_echo_n "(cached) " >&6
! 8891: else
! 8892: lt_cv_prog_compiler_static_works=no
! 8893: save_LDFLAGS=$LDFLAGS
! 8894: LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
! 8895: echo "$lt_simple_link_test_code" > conftest.$ac_ext
! 8896: if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
! 8897: # The linker can only warn and ignore the option if not recognized
! 8898: # So say no if there are warnings
! 8899: if test -s conftest.err; then
! 8900: # Append any errors to the config.log.
! 8901: cat conftest.err 1>&5
! 8902: $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
! 8903: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 8904: if diff conftest.exp conftest.er2 >/dev/null; then
! 8905: lt_cv_prog_compiler_static_works=yes
! 8906: fi
! 8907: else
! 8908: lt_cv_prog_compiler_static_works=yes
! 8909: fi
! 8910: fi
! 8911: $RM -r conftest*
! 8912: LDFLAGS=$save_LDFLAGS
! 8913:
! 8914: fi
! 8915: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
! 8916: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
! 8917:
! 8918: if test yes = "$lt_cv_prog_compiler_static_works"; then
! 8919: :
! 8920: else
! 8921: lt_prog_compiler_static=
! 8922: fi
! 8923:
! 8924:
! 8925:
! 8926:
! 8927:
! 8928:
! 8929:
! 8930: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
! 8931: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
! 8932: if ${lt_cv_prog_compiler_c_o+:} false; then :
! 8933: $as_echo_n "(cached) " >&6
! 8934: else
! 8935: lt_cv_prog_compiler_c_o=no
! 8936: $RM -r conftest 2>/dev/null
! 8937: mkdir conftest
! 8938: cd conftest
! 8939: mkdir out
! 8940: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 8941:
! 8942: lt_compiler_flag="-o out/conftest2.$ac_objext"
! 8943: # Insert the option either (1) after the last *FLAGS variable, or
! 8944: # (2) before a word containing "conftest.", or (3) at the end.
! 8945: # Note that $ac_compile itself does not contain backslashes and begins
! 8946: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 8947: lt_compile=`echo "$ac_compile" | $SED \
! 8948: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 8949: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 8950: -e 's:$: $lt_compiler_flag:'`
! 8951: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
! 8952: (eval "$lt_compile" 2>out/conftest.err)
! 8953: ac_status=$?
! 8954: cat out/conftest.err >&5
! 8955: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 8956: if (exit $ac_status) && test -s out/conftest2.$ac_objext
! 8957: then
! 8958: # The compiler can only warn and ignore the option if not recognized
! 8959: # So say no if there are warnings
! 8960: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
! 8961: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
! 8962: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
! 8963: lt_cv_prog_compiler_c_o=yes
! 8964: fi
! 8965: fi
! 8966: chmod u+w . 2>&5
! 8967: $RM conftest*
! 8968: # SGI C++ compiler will create directory out/ii_files/ for
! 8969: # template instantiation
! 8970: test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
! 8971: $RM out/* && rmdir out
! 8972: cd ..
! 8973: $RM -r conftest
! 8974: $RM conftest*
! 8975:
! 8976: fi
! 8977: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
! 8978: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
! 8979:
! 8980:
! 8981:
! 8982:
! 8983:
! 8984:
! 8985: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
! 8986: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
! 8987: if ${lt_cv_prog_compiler_c_o+:} false; then :
! 8988: $as_echo_n "(cached) " >&6
! 8989: else
! 8990: lt_cv_prog_compiler_c_o=no
! 8991: $RM -r conftest 2>/dev/null
! 8992: mkdir conftest
! 8993: cd conftest
! 8994: mkdir out
! 8995: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 8996:
! 8997: lt_compiler_flag="-o out/conftest2.$ac_objext"
! 8998: # Insert the option either (1) after the last *FLAGS variable, or
! 8999: # (2) before a word containing "conftest.", or (3) at the end.
! 9000: # Note that $ac_compile itself does not contain backslashes and begins
! 9001: # with a dollar sign (not a hyphen), so the echo should work correctly.
! 9002: lt_compile=`echo "$ac_compile" | $SED \
! 9003: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
! 9004: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
! 9005: -e 's:$: $lt_compiler_flag:'`
! 9006: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
! 9007: (eval "$lt_compile" 2>out/conftest.err)
! 9008: ac_status=$?
! 9009: cat out/conftest.err >&5
! 9010: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 9011: if (exit $ac_status) && test -s out/conftest2.$ac_objext
! 9012: then
! 9013: # The compiler can only warn and ignore the option if not recognized
! 9014: # So say no if there are warnings
! 9015: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
! 9016: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
! 9017: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
! 9018: lt_cv_prog_compiler_c_o=yes
! 9019: fi
! 9020: fi
! 9021: chmod u+w . 2>&5
! 9022: $RM conftest*
! 9023: # SGI C++ compiler will create directory out/ii_files/ for
! 9024: # template instantiation
! 9025: test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
! 9026: $RM out/* && rmdir out
! 9027: cd ..
! 9028: $RM -r conftest
! 9029: $RM conftest*
! 9030:
! 9031: fi
! 9032: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
! 9033: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
! 9034:
! 9035:
! 9036:
! 9037:
! 9038: hard_links=nottested
! 9039: if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
! 9040: # do not overwrite the value of need_locks provided by the user
! 9041: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
! 9042: $as_echo_n "checking if we can lock with hard links... " >&6; }
! 9043: hard_links=yes
! 9044: $RM conftest*
! 9045: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 9046: touch conftest.a
! 9047: ln conftest.a conftest.b 2>&5 || hard_links=no
! 9048: ln conftest.a conftest.b 2>/dev/null && hard_links=no
! 9049: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
! 9050: $as_echo "$hard_links" >&6; }
! 9051: if test no = "$hard_links"; then
! 9052: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
! 9053: $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
! 9054: need_locks=warn
! 9055: fi
! 9056: else
! 9057: need_locks=no
! 9058: fi
! 9059:
! 9060:
! 9061:
! 9062:
! 9063:
! 9064:
! 9065: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
! 9066: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
! 9067:
! 9068: runpath_var=
! 9069: allow_undefined_flag=
! 9070: always_export_symbols=no
! 9071: archive_cmds=
! 9072: archive_expsym_cmds=
! 9073: compiler_needs_object=no
! 9074: enable_shared_with_static_runtimes=no
! 9075: export_dynamic_flag_spec=
! 9076: export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
! 9077: hardcode_automatic=no
! 9078: hardcode_direct=no
! 9079: hardcode_direct_absolute=no
! 9080: hardcode_libdir_flag_spec=
! 9081: hardcode_libdir_separator=
! 9082: hardcode_minus_L=no
! 9083: hardcode_shlibpath_var=unsupported
! 9084: inherit_rpath=no
! 9085: link_all_deplibs=unknown
! 9086: module_cmds=
! 9087: module_expsym_cmds=
! 9088: old_archive_from_new_cmds=
! 9089: old_archive_from_expsyms_cmds=
! 9090: thread_safe_flag_spec=
! 9091: whole_archive_flag_spec=
! 9092: # include_expsyms should be a list of space-separated symbols to be *always*
! 9093: # included in the symbol list
! 9094: include_expsyms=
! 9095: # exclude_expsyms can be an extended regexp of symbols to exclude
! 9096: # it will be wrapped by ' (' and ')$', so one must not match beginning or
! 9097: # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
! 9098: # as well as any symbol that contains 'd'.
! 9099: exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
! 9100: # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
! 9101: # platforms (ab)use it in PIC code, but their linkers get confused if
! 9102: # the symbol is explicitly referenced. Since portable code cannot
! 9103: # rely on this symbol name, it's probably fine to never include it in
! 9104: # preloaded symbol tables.
! 9105: # Exclude shared library initialization/finalization symbols.
! 9106: extract_expsyms_cmds=
! 9107:
! 9108: case $host_os in
! 9109: cygwin* | mingw* | pw32* | cegcc*)
! 9110: # FIXME: the MSVC++ port hasn't been tested in a loooong time
! 9111: # When not using gcc, we currently assume that we are using
! 9112: # Microsoft Visual C++.
! 9113: if test yes != "$GCC"; then
! 9114: with_gnu_ld=no
! 9115: fi
! 9116: ;;
! 9117: interix*)
! 9118: # we just hope/assume this is gcc and not c89 (= MSVC++)
! 9119: with_gnu_ld=yes
! 9120: ;;
! 9121: openbsd* | bitrig*)
! 9122: with_gnu_ld=no
! 9123: ;;
! 9124: esac
! 9125:
! 9126: ld_shlibs=yes
! 9127:
! 9128: # On some targets, GNU ld is compatible enough with the native linker
! 9129: # that we're better off using the native interface for both.
! 9130: lt_use_gnu_ld_interface=no
! 9131: if test yes = "$with_gnu_ld"; then
! 9132: case $host_os in
! 9133: aix*)
! 9134: # The AIX port of GNU ld has always aspired to compatibility
! 9135: # with the native linker. However, as the warning in the GNU ld
! 9136: # block says, versions before 2.19.5* couldn't really create working
! 9137: # shared libraries, regardless of the interface used.
! 9138: case `$LD -v 2>&1` in
! 9139: *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
! 9140: *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
! 9141: *\ \(GNU\ Binutils\)\ [3-9]*) ;;
! 9142: *)
! 9143: lt_use_gnu_ld_interface=yes
! 9144: ;;
! 9145: esac
! 9146: ;;
! 9147: *)
! 9148: lt_use_gnu_ld_interface=yes
! 9149: ;;
! 9150: esac
! 9151: fi
! 9152:
! 9153: if test yes = "$lt_use_gnu_ld_interface"; then
! 9154: # If archive_cmds runs LD, not CC, wlarc should be empty
! 9155: wlarc='$wl'
! 9156:
! 9157: # Set some defaults for GNU ld with shared library support. These
! 9158: # are reset later if shared libraries are not supported. Putting them
! 9159: # here allows them to be overridden if necessary.
! 9160: runpath_var=LD_RUN_PATH
! 9161: hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
! 9162: export_dynamic_flag_spec='$wl--export-dynamic'
! 9163: # ancient GNU ld didn't support --whole-archive et. al.
! 9164: if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
! 9165: whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
! 9166: else
! 9167: whole_archive_flag_spec=
! 9168: fi
! 9169: supports_anon_versioning=no
! 9170: case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
! 9171: *GNU\ gold*) supports_anon_versioning=yes ;;
! 9172: *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
! 9173: *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
! 9174: *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
! 9175: *\ 2.11.*) ;; # other 2.11 versions
! 9176: *) supports_anon_versioning=yes ;;
! 9177: esac
! 9178:
! 9179: # See if GNU ld supports shared libraries.
! 9180: case $host_os in
! 9181: aix[3-9]*)
! 9182: # On AIX/PPC, the GNU linker is very broken
! 9183: if test ia64 != "$host_cpu"; then
! 9184: ld_shlibs=no
! 9185: cat <<_LT_EOF 1>&2
! 9186:
! 9187: *** Warning: the GNU linker, at least up to release 2.19, is reported
! 9188: *** to be unable to reliably create shared libraries on AIX.
! 9189: *** Therefore, libtool is disabling shared libraries support. If you
! 9190: *** really care for shared libraries, you may want to install binutils
! 9191: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
! 9192: *** You will then need to restart the configuration process.
! 9193:
! 9194: _LT_EOF
! 9195: fi
! 9196: ;;
! 9197:
! 9198: amigaos*)
! 9199: case $host_cpu in
! 9200: powerpc)
! 9201: # see comment about AmigaOS4 .so support
! 9202: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
! 9203: archive_expsym_cmds=''
! 9204: ;;
! 9205: m68k)
! 9206: 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)'
! 9207: hardcode_libdir_flag_spec='-L$libdir'
! 9208: hardcode_minus_L=yes
! 9209: ;;
! 9210: esac
! 9211: ;;
! 9212:
! 9213: beos*)
! 9214: if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
! 9215: allow_undefined_flag=unsupported
! 9216: # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
! 9217: # support --undefined. This deserves some investigation. FIXME
! 9218: archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
! 9219: else
! 9220: ld_shlibs=no
! 9221: fi
! 9222: ;;
! 9223:
! 9224: cygwin* | mingw* | pw32* | cegcc*)
! 9225: # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
! 9226: # as there is no search path for DLLs.
! 9227: hardcode_libdir_flag_spec='-L$libdir'
! 9228: export_dynamic_flag_spec='$wl--export-all-symbols'
! 9229: allow_undefined_flag=unsupported
! 9230: always_export_symbols=no
! 9231: enable_shared_with_static_runtimes=yes
! 9232: 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'
! 9233: exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
! 9234:
! 9235: if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
! 9236: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 9237: # If the export-symbols file already is a .def file, use it as
! 9238: # is; otherwise, prepend EXPORTS...
! 9239: archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
! 9240: cp $export_symbols $output_objdir/$soname.def;
! 9241: else
! 9242: echo EXPORTS > $output_objdir/$soname.def;
! 9243: cat $export_symbols >> $output_objdir/$soname.def;
! 9244: fi~
! 9245: $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
! 9246: else
! 9247: ld_shlibs=no
! 9248: fi
! 9249: ;;
! 9250:
! 9251: haiku*)
! 9252: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
! 9253: link_all_deplibs=yes
! 9254: ;;
! 9255:
! 9256: os2*)
! 9257: hardcode_libdir_flag_spec='-L$libdir'
! 9258: hardcode_minus_L=yes
! 9259: allow_undefined_flag=unsupported
! 9260: shrext_cmds=.dll
! 9261: archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
! 9262: $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
! 9263: $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
! 9264: $ECHO EXPORTS >> $output_objdir/$libname.def~
! 9265: emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
! 9266: $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
! 9267: emximp -o $lib $output_objdir/$libname.def'
! 9268: archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
! 9269: $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
! 9270: $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
! 9271: $ECHO EXPORTS >> $output_objdir/$libname.def~
! 9272: prefix_cmds="$SED"~
! 9273: if test EXPORTS = "`$SED 1q $export_symbols`"; then
! 9274: prefix_cmds="$prefix_cmds -e 1d";
! 9275: fi~
! 9276: prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
! 9277: cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
! 9278: $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
! 9279: emximp -o $lib $output_objdir/$libname.def'
! 9280: old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
! 9281: enable_shared_with_static_runtimes=yes
! 9282: ;;
! 9283:
! 9284: interix[3-9]*)
! 9285: hardcode_direct=no
! 9286: hardcode_shlibpath_var=no
! 9287: hardcode_libdir_flag_spec='$wl-rpath,$libdir'
! 9288: export_dynamic_flag_spec='$wl-E'
! 9289: # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
! 9290: # Instead, shared libraries are loaded at an image base (0x10000000 by
! 9291: # default) and relocated if they conflict, which is a slow very memory
! 9292: # consuming and fragmenting process. To avoid this, we pick a random,
! 9293: # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
! 9294: # time. Moving up from 0x10000000 also allows more sbrk(2) space.
! 9295: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
! 9296: 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'
! 9297: ;;
! 9298:
! 9299: gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
! 9300: tmp_diet=no
! 9301: if test linux-dietlibc = "$host_os"; then
! 9302: case $cc_basename in
! 9303: diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
! 9304: esac
! 9305: fi
! 9306: if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
! 9307: && test no = "$tmp_diet"
! 9308: then
! 9309: tmp_addflag=' $pic_flag'
! 9310: tmp_sharedflag='-shared'
! 9311: case $cc_basename,$host_cpu in
! 9312: pgcc*) # Portland Group C compiler
! 9313: 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'
! 9314: tmp_addflag=' $pic_flag'
! 9315: ;;
! 9316: pgf77* | pgf90* | pgf95* | pgfortran*)
! 9317: # Portland Group f77 and f90 compilers
! 9318: 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'
! 9319: tmp_addflag=' $pic_flag -Mnomain' ;;
! 9320: ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
! 9321: tmp_addflag=' -i_dynamic' ;;
! 9322: efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
! 9323: tmp_addflag=' -i_dynamic -nofor_main' ;;
! 9324: ifc* | ifort*) # Intel Fortran compiler
! 9325: tmp_addflag=' -nofor_main' ;;
! 9326: lf95*) # Lahey Fortran 8.1
! 9327: whole_archive_flag_spec=
! 9328: tmp_sharedflag='--shared' ;;
! 9329: nagfor*) # NAGFOR 5.3
! 9330: tmp_sharedflag='-Wl,-shared' ;;
! 9331: xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
! 9332: tmp_sharedflag='-qmkshrobj'
! 9333: tmp_addflag= ;;
! 9334: nvcc*) # Cuda Compiler Driver 2.2
! 9335: 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'
! 9336: compiler_needs_object=yes
! 9337: ;;
! 9338: esac
! 9339: case `$CC -V 2>&1 | sed 5q` in
! 9340: *Sun\ C*) # Sun C 5.9
! 9341: 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'
! 9342: compiler_needs_object=yes
! 9343: tmp_sharedflag='-G' ;;
! 9344: *Sun\ F*) # Sun Fortran 8.3
! 9345: tmp_sharedflag='-G' ;;
! 9346: esac
! 9347: archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
! 9348:
! 9349: if test yes = "$supports_anon_versioning"; then
! 9350: archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
! 9351: cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
! 9352: echo "local: *; };" >> $output_objdir/$libname.ver~
! 9353: $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
! 9354: fi
! 9355:
! 9356: case $cc_basename in
! 9357: tcc*)
! 9358: export_dynamic_flag_spec='-rdynamic'
! 9359: ;;
! 9360: xlf* | bgf* | bgxlf* | mpixlf*)
! 9361: # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
! 9362: whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
! 9363: hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
! 9364: archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
! 9365: if test yes = "$supports_anon_versioning"; then
! 9366: archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
! 9367: cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
! 9368: echo "local: *; };" >> $output_objdir/$libname.ver~
! 9369: $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
! 9370: fi
! 9371: ;;
! 9372: esac
! 9373: else
! 9374: ld_shlibs=no
! 9375: fi
! 9376: ;;
! 9377:
! 9378: netbsd*)
! 9379: if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
! 9380: archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
! 9381: wlarc=
! 9382: else
! 9383: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
! 9384: archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
! 9385: fi
! 9386: ;;
! 9387:
! 9388: solaris*)
! 9389: if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
! 9390: ld_shlibs=no
! 9391: cat <<_LT_EOF 1>&2
! 9392:
! 9393: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
! 9394: *** create shared libraries on Solaris systems. Therefore, libtool
! 9395: *** is disabling shared libraries support. We urge you to upgrade GNU
! 9396: *** binutils to release 2.9.1 or newer. Another option is to modify
! 9397: *** your PATH or compiler configuration so that the native linker is
! 9398: *** used, and then restart.
! 9399:
! 9400: _LT_EOF
! 9401: elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
! 9402: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
! 9403: archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
! 9404: else
! 9405: ld_shlibs=no
! 9406: fi
! 9407: ;;
! 9408:
! 9409: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
! 9410: case `$LD -v 2>&1` in
! 9411: *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
! 9412: ld_shlibs=no
! 9413: cat <<_LT_EOF 1>&2
! 9414:
! 9415: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
! 9416: *** reliably create shared libraries on SCO systems. Therefore, libtool
! 9417: *** is disabling shared libraries support. We urge you to upgrade GNU
! 9418: *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
! 9419: *** your PATH or compiler configuration so that the native linker is
! 9420: *** used, and then restart.
! 9421:
! 9422: _LT_EOF
! 9423: ;;
! 9424: *)
! 9425: # For security reasons, it is highly recommended that you always
! 9426: # use absolute paths for naming shared libraries, and exclude the
! 9427: # DT_RUNPATH tag from executables and libraries. But doing so
! 9428: # requires that you compile everything twice, which is a pain.
! 9429: if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
! 9430: hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
! 9431: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
! 9432: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
! 9433: else
! 9434: ld_shlibs=no
! 9435: fi
! 9436: ;;
! 9437: esac
! 9438: ;;
! 9439:
! 9440: sunos4*)
! 9441: archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 9442: wlarc=
! 9443: hardcode_direct=yes
! 9444: hardcode_shlibpath_var=no
! 9445: ;;
! 9446:
! 9447: *)
! 9448: if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
! 9449: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
! 9450: archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
! 9451: else
! 9452: ld_shlibs=no
! 9453: fi
! 9454: ;;
! 9455: esac
! 9456:
! 9457: if test no = "$ld_shlibs"; then
! 9458: runpath_var=
! 9459: hardcode_libdir_flag_spec=
! 9460: export_dynamic_flag_spec=
! 9461: whole_archive_flag_spec=
! 9462: fi
! 9463: else
! 9464: # PORTME fill in a description of your system's linker (not GNU ld)
! 9465: case $host_os in
! 9466: aix3*)
! 9467: allow_undefined_flag=unsupported
! 9468: always_export_symbols=yes
! 9469: 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'
! 9470: # Note: this linker hardcodes the directories in LIBPATH if there
! 9471: # are no directories specified by -L.
! 9472: hardcode_minus_L=yes
! 9473: if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
! 9474: # Neither direct hardcoding nor static linking is supported with a
! 9475: # broken collect2.
! 9476: hardcode_direct=unsupported
! 9477: fi
! 9478: ;;
! 9479:
! 9480: aix[4-9]*)
! 9481: if test ia64 = "$host_cpu"; then
! 9482: # On IA64, the linker does run time linking by default, so we don't
! 9483: # have to do anything special.
! 9484: aix_use_runtimelinking=no
! 9485: exp_sym_flag='-Bexport'
! 9486: no_entry_flag=
! 9487: else
! 9488: # If we're using GNU nm, then we don't want the "-C" option.
! 9489: # -C means demangle to GNU nm, but means don't demangle to AIX nm.
! 9490: # Without the "-l" option, or with the "-B" option, AIX nm treats
! 9491: # weak defined symbols like other global defined symbols, whereas
! 9492: # GNU nm marks them as "W".
! 9493: # While the 'weak' keyword is ignored in the Export File, we need
! 9494: # it in the Import File for the 'aix-soname' feature, so we have
! 9495: # to replace the "-B" option with "-P" for AIX nm.
! 9496: if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
! 9497: export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
! 9498: else
! 9499: export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
! 9500: fi
! 9501: aix_use_runtimelinking=no
! 9502:
! 9503: # Test if we are trying to use run time linking or normal
! 9504: # AIX style linking. If -brtl is somewhere in LDFLAGS, we
! 9505: # have runtime linking enabled, and use it for executables.
! 9506: # For shared libraries, we enable/disable runtime linking
! 9507: # depending on the kind of the shared library created -
! 9508: # when "with_aix_soname,aix_use_runtimelinking" is:
! 9509: # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
! 9510: # "aix,yes" lib.so shared, rtl:yes, for executables
! 9511: # lib.a static archive
! 9512: # "both,no" lib.so.V(shr.o) shared, rtl:yes
! 9513: # lib.a(lib.so.V) shared, rtl:no, for executables
! 9514: # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
! 9515: # lib.a(lib.so.V) shared, rtl:no
! 9516: # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
! 9517: # lib.a static archive
! 9518: case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
! 9519: for ld_flag in $LDFLAGS; do
! 9520: if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
! 9521: aix_use_runtimelinking=yes
! 9522: break
! 9523: fi
! 9524: done
! 9525: if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
! 9526: # With aix-soname=svr4, we create the lib.so.V shared archives only,
! 9527: # so we don't have lib.a shared libs to link our executables.
! 9528: # We have to force runtime linking in this case.
! 9529: aix_use_runtimelinking=yes
! 9530: LDFLAGS="$LDFLAGS -Wl,-brtl"
! 9531: fi
! 9532: ;;
! 9533: esac
! 9534:
! 9535: exp_sym_flag='-bexport'
! 9536: no_entry_flag='-bnoentry'
! 9537: fi
! 9538:
! 9539: # When large executables or shared objects are built, AIX ld can
! 9540: # have problems creating the table of contents. If linking a library
! 9541: # or program results in "error TOC overflow" add -mminimal-toc to
! 9542: # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
! 9543: # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
! 9544:
! 9545: archive_cmds=''
! 9546: hardcode_direct=yes
! 9547: hardcode_direct_absolute=yes
! 9548: hardcode_libdir_separator=':'
! 9549: link_all_deplibs=yes
! 9550: file_list_spec='$wl-f,'
! 9551: case $with_aix_soname,$aix_use_runtimelinking in
! 9552: aix,*) ;; # traditional, no import file
! 9553: svr4,* | *,yes) # use import file
! 9554: # The Import File defines what to hardcode.
! 9555: hardcode_direct=no
! 9556: hardcode_direct_absolute=no
! 9557: ;;
! 9558: esac
! 9559:
! 9560: if test yes = "$GCC"; then
! 9561: case $host_os in aix4.[012]|aix4.[012].*)
! 9562: # We only want to do this on AIX 4.2 and lower, the check
! 9563: # below for broken collect2 doesn't work under 4.3+
! 9564: collect2name=`$CC -print-prog-name=collect2`
! 9565: if test -f "$collect2name" &&
! 9566: strings "$collect2name" | $GREP resolve_lib_name >/dev/null
! 9567: then
! 9568: # We have reworked collect2
! 9569: :
! 9570: else
! 9571: # We have old collect2
! 9572: hardcode_direct=unsupported
! 9573: # It fails to find uninstalled libraries when the uninstalled
! 9574: # path is not listed in the libpath. Setting hardcode_minus_L
! 9575: # to unsupported forces relinking
! 9576: hardcode_minus_L=yes
! 9577: hardcode_libdir_flag_spec='-L$libdir'
! 9578: hardcode_libdir_separator=
! 9579: fi
! 9580: ;;
! 9581: esac
! 9582: shared_flag='-shared'
! 9583: if test yes = "$aix_use_runtimelinking"; then
! 9584: shared_flag="$shared_flag "'$wl-G'
! 9585: fi
! 9586: # Need to ensure runtime linking is disabled for the traditional
! 9587: # shared library, or the linker may eventually find shared libraries
! 9588: # /with/ Import File - we do not want to mix them.
! 9589: shared_flag_aix='-shared'
! 9590: shared_flag_svr4='-shared $wl-G'
! 9591: else
! 9592: # not using gcc
! 9593: if test ia64 = "$host_cpu"; then
! 9594: # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
! 9595: # chokes on -Wl,-G. The following line is correct:
! 9596: shared_flag='-G'
! 9597: else
! 9598: if test yes = "$aix_use_runtimelinking"; then
! 9599: shared_flag='$wl-G'
! 9600: else
! 9601: shared_flag='$wl-bM:SRE'
! 9602: fi
! 9603: shared_flag_aix='$wl-bM:SRE'
! 9604: shared_flag_svr4='$wl-G'
! 9605: fi
! 9606: fi
! 9607:
! 9608: export_dynamic_flag_spec='$wl-bexpall'
! 9609: # It seems that -bexpall does not export symbols beginning with
! 9610: # underscore (_), so it is better to generate a list of symbols to export.
! 9611: always_export_symbols=yes
! 9612: if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
! 9613: # Warning - without using the other runtime loading flags (-brtl),
! 9614: # -berok will link without error, but may produce a broken library.
! 9615: allow_undefined_flag='-berok'
! 9616: # Determine the default libpath from the value encoded in an
! 9617: # empty executable.
! 9618: if test set = "${lt_cv_aix_libpath+set}"; then
! 9619: aix_libpath=$lt_cv_aix_libpath
! 9620: else
! 9621: if ${lt_cv_aix_libpath_+:} false; then :
! 9622: $as_echo_n "(cached) " >&6
! 9623: else
! 9624: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 9625: /* end confdefs.h. */
! 9626:
! 9627: int
! 9628: main ()
! 9629: {
! 9630:
! 9631: ;
! 9632: return 0;
! 9633: }
! 9634: _ACEOF
! 9635: if ac_fn_c_try_link "$LINENO"; then :
! 9636:
! 9637: lt_aix_libpath_sed='
! 9638: /Import File Strings/,/^$/ {
! 9639: /^0/ {
! 9640: s/^0 *\([^ ]*\) *$/\1/
! 9641: p
! 9642: }
! 9643: }'
! 9644: lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 9645: # Check for a 64-bit object if we didn't find anything.
! 9646: if test -z "$lt_cv_aix_libpath_"; then
! 9647: lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 9648: fi
! 9649: fi
! 9650: rm -f core conftest.err conftest.$ac_objext \
! 9651: conftest$ac_exeext conftest.$ac_ext
! 9652: if test -z "$lt_cv_aix_libpath_"; then
! 9653: lt_cv_aix_libpath_=/usr/lib:/lib
! 9654: fi
! 9655:
! 9656: fi
! 9657:
! 9658: aix_libpath=$lt_cv_aix_libpath_
! 9659: fi
! 9660:
! 9661: hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
! 9662: archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
! 9663: else
! 9664: if test ia64 = "$host_cpu"; then
! 9665: hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
! 9666: allow_undefined_flag="-z nodefs"
! 9667: 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"
! 9668: else
! 9669: # Determine the default libpath from the value encoded in an
! 9670: # empty executable.
! 9671: if test set = "${lt_cv_aix_libpath+set}"; then
! 9672: aix_libpath=$lt_cv_aix_libpath
! 9673: else
! 9674: if ${lt_cv_aix_libpath_+:} false; then :
! 9675: $as_echo_n "(cached) " >&6
! 9676: else
! 9677: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 9678: /* end confdefs.h. */
! 9679:
! 9680: int
! 9681: main ()
! 9682: {
! 9683:
! 9684: ;
! 9685: return 0;
! 9686: }
! 9687: _ACEOF
! 9688: if ac_fn_c_try_link "$LINENO"; then :
! 9689:
! 9690: lt_aix_libpath_sed='
! 9691: /Import File Strings/,/^$/ {
! 9692: /^0/ {
! 9693: s/^0 *\([^ ]*\) *$/\1/
! 9694: p
! 9695: }
! 9696: }'
! 9697: lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 9698: # Check for a 64-bit object if we didn't find anything.
! 9699: if test -z "$lt_cv_aix_libpath_"; then
! 9700: lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
! 9701: fi
! 9702: fi
! 9703: rm -f core conftest.err conftest.$ac_objext \
! 9704: conftest$ac_exeext conftest.$ac_ext
! 9705: if test -z "$lt_cv_aix_libpath_"; then
! 9706: lt_cv_aix_libpath_=/usr/lib:/lib
! 9707: fi
! 9708:
! 9709: fi
! 9710:
! 9711: aix_libpath=$lt_cv_aix_libpath_
! 9712: fi
! 9713:
! 9714: hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
! 9715: # Warning - without using the other run time loading flags,
! 9716: # -berok will link without error, but may produce a broken library.
! 9717: no_undefined_flag=' $wl-bernotok'
! 9718: allow_undefined_flag=' $wl-berok'
! 9719: if test yes = "$with_gnu_ld"; then
! 9720: # We only use this code for GNU lds that support --whole-archive.
! 9721: whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
! 9722: else
! 9723: # Exported symbols can be pulled into shared objects from archives
! 9724: whole_archive_flag_spec='$convenience'
! 9725: fi
! 9726: archive_cmds_need_lc=yes
! 9727: archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
! 9728: # -brtl affects multiple linker settings, -berok does not and is overridden later
! 9729: compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
! 9730: if test svr4 != "$with_aix_soname"; then
! 9731: # This is similar to how AIX traditionally builds its shared libraries.
! 9732: archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
! 9733: fi
! 9734: if test aix != "$with_aix_soname"; then
! 9735: archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
! 9736: else
! 9737: # used by -dlpreopen to get the symbols
! 9738: archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
! 9739: fi
! 9740: archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
! 9741: fi
! 9742: fi
! 9743: ;;
! 9744:
! 9745: amigaos*)
! 9746: case $host_cpu in
! 9747: powerpc)
! 9748: # see comment about AmigaOS4 .so support
! 9749: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
! 9750: archive_expsym_cmds=''
! 9751: ;;
! 9752: m68k)
! 9753: 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)'
! 9754: hardcode_libdir_flag_spec='-L$libdir'
! 9755: hardcode_minus_L=yes
! 9756: ;;
! 9757: esac
! 9758: ;;
! 9759:
! 9760: bsdi[45]*)
! 9761: export_dynamic_flag_spec=-rdynamic
! 9762: ;;
! 9763:
! 9764: cygwin* | mingw* | pw32* | cegcc*)
! 9765: # When not using gcc, we currently assume that we are using
! 9766: # Microsoft Visual C++.
! 9767: # hardcode_libdir_flag_spec is actually meaningless, as there is
! 9768: # no search path for DLLs.
! 9769: case $cc_basename in
! 9770: cl*)
! 9771: # Native MSVC
! 9772: hardcode_libdir_flag_spec=' '
! 9773: allow_undefined_flag=unsupported
! 9774: always_export_symbols=yes
! 9775: file_list_spec='@'
! 9776: # Tell ltmain to make .lib files, not .a files.
! 9777: libext=lib
! 9778: # Tell ltmain to make .dll files, not .so files.
! 9779: shrext_cmds=.dll
! 9780: # FIXME: Setting linknames here is a bad hack.
! 9781: archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
! 9782: archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
! 9783: cp "$export_symbols" "$output_objdir/$soname.def";
! 9784: echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
! 9785: else
! 9786: $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
! 9787: fi~
! 9788: $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
! 9789: linknames='
! 9790: # The linker will not automatically build a static lib if we build a DLL.
! 9791: # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
! 9792: enable_shared_with_static_runtimes=yes
! 9793: exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
! 9794: export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
! 9795: # Don't use ranlib
! 9796: old_postinstall_cmds='chmod 644 $oldlib'
! 9797: postlink_cmds='lt_outputfile="@OUTPUT@"~
! 9798: lt_tool_outputfile="@TOOL_OUTPUT@"~
! 9799: case $lt_outputfile in
! 9800: *.exe|*.EXE) ;;
! 9801: *)
! 9802: lt_outputfile=$lt_outputfile.exe
! 9803: lt_tool_outputfile=$lt_tool_outputfile.exe
! 9804: ;;
! 9805: esac~
! 9806: if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
! 9807: $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
! 9808: $RM "$lt_outputfile.manifest";
! 9809: fi'
! 9810: ;;
! 9811: *)
! 9812: # Assume MSVC wrapper
! 9813: hardcode_libdir_flag_spec=' '
! 9814: allow_undefined_flag=unsupported
! 9815: # Tell ltmain to make .lib files, not .a files.
! 9816: libext=lib
! 9817: # Tell ltmain to make .dll files, not .so files.
! 9818: shrext_cmds=.dll
! 9819: # FIXME: Setting linknames here is a bad hack.
! 9820: archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
! 9821: # The linker will automatically build a .lib file if we build a DLL.
! 9822: old_archive_from_new_cmds='true'
! 9823: # FIXME: Should let the user specify the lib program.
! 9824: old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
! 9825: enable_shared_with_static_runtimes=yes
! 9826: ;;
! 9827: esac
! 9828: ;;
! 9829:
! 9830: darwin* | rhapsody*)
! 9831:
! 9832:
! 9833: archive_cmds_need_lc=no
! 9834: hardcode_direct=no
! 9835: hardcode_automatic=yes
! 9836: hardcode_shlibpath_var=unsupported
! 9837: if test yes = "$lt_cv_ld_force_load"; then
! 9838: 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\"`'
! 9839:
! 9840: else
! 9841: whole_archive_flag_spec=''
! 9842: fi
! 9843: link_all_deplibs=yes
! 9844: allow_undefined_flag=$_lt_dar_allow_undefined
! 9845: case $cc_basename in
! 9846: ifort*|nagfor*) _lt_dar_can_shared=yes ;;
! 9847: *) _lt_dar_can_shared=$GCC ;;
! 9848: esac
! 9849: if test yes = "$_lt_dar_can_shared"; then
! 9850: output_verbose_link_cmd=func_echo_all
! 9851: archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
! 9852: module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
! 9853: 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"
! 9854: 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"
! 9855:
! 9856: else
! 9857: ld_shlibs=no
! 9858: fi
! 9859:
! 9860: ;;
! 9861:
! 9862: dgux*)
! 9863: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 9864: hardcode_libdir_flag_spec='-L$libdir'
! 9865: hardcode_shlibpath_var=no
! 9866: ;;
! 9867:
! 9868: # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
! 9869: # support. Future versions do this automatically, but an explicit c++rt0.o
! 9870: # does not break anything, and helps significantly (at the cost of a little
! 9871: # extra space).
! 9872: freebsd2.2*)
! 9873: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
! 9874: hardcode_libdir_flag_spec='-R$libdir'
! 9875: hardcode_direct=yes
! 9876: hardcode_shlibpath_var=no
! 9877: ;;
! 9878:
! 9879: # Unfortunately, older versions of FreeBSD 2 do not have this feature.
! 9880: freebsd2.*)
! 9881: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
! 9882: hardcode_direct=yes
! 9883: hardcode_minus_L=yes
! 9884: hardcode_shlibpath_var=no
! 9885: ;;
! 9886:
! 9887: # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
! 9888: freebsd* | dragonfly*)
! 9889: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 9890: hardcode_libdir_flag_spec='-R$libdir'
! 9891: hardcode_direct=yes
! 9892: hardcode_shlibpath_var=no
! 9893: ;;
! 9894:
! 9895: hpux9*)
! 9896: if test yes = "$GCC"; then
! 9897: archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
! 9898: else
! 9899: archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
! 9900: fi
! 9901: hardcode_libdir_flag_spec='$wl+b $wl$libdir'
! 9902: hardcode_libdir_separator=:
! 9903: hardcode_direct=yes
! 9904:
! 9905: # hardcode_minus_L: Not really in the search PATH,
! 9906: # but as the default location of the library.
! 9907: hardcode_minus_L=yes
! 9908: export_dynamic_flag_spec='$wl-E'
! 9909: ;;
! 9910:
! 9911: hpux10*)
! 9912: if test yes,no = "$GCC,$with_gnu_ld"; then
! 9913: archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 9914: else
! 9915: archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
! 9916: fi
! 9917: if test no = "$with_gnu_ld"; then
! 9918: hardcode_libdir_flag_spec='$wl+b $wl$libdir'
! 9919: hardcode_libdir_separator=:
! 9920: hardcode_direct=yes
! 9921: hardcode_direct_absolute=yes
! 9922: export_dynamic_flag_spec='$wl-E'
! 9923: # hardcode_minus_L: Not really in the search PATH,
! 9924: # but as the default location of the library.
! 9925: hardcode_minus_L=yes
! 9926: fi
! 9927: ;;
! 9928:
! 9929: hpux11*)
! 9930: if test yes,no = "$GCC,$with_gnu_ld"; then
! 9931: case $host_cpu in
! 9932: hppa*64*)
! 9933: archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9934: ;;
! 9935: ia64*)
! 9936: archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
! 9937: ;;
! 9938: *)
! 9939: archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 9940: ;;
! 9941: esac
! 9942: else
! 9943: case $host_cpu in
! 9944: hppa*64*)
! 9945: archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
! 9946: ;;
! 9947: ia64*)
! 9948: archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
! 9949: ;;
! 9950: *)
! 9951:
! 9952: # Older versions of the 11.00 compiler do not understand -b yet
! 9953: # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
! 9954: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
! 9955: $as_echo_n "checking if $CC understands -b... " >&6; }
! 9956: if ${lt_cv_prog_compiler__b+:} false; then :
! 9957: $as_echo_n "(cached) " >&6
! 9958: else
! 9959: lt_cv_prog_compiler__b=no
! 9960: save_LDFLAGS=$LDFLAGS
! 9961: LDFLAGS="$LDFLAGS -b"
! 9962: echo "$lt_simple_link_test_code" > conftest.$ac_ext
! 9963: if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
! 9964: # The linker can only warn and ignore the option if not recognized
! 9965: # So say no if there are warnings
! 9966: if test -s conftest.err; then
! 9967: # Append any errors to the config.log.
! 9968: cat conftest.err 1>&5
! 9969: $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
! 9970: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
! 9971: if diff conftest.exp conftest.er2 >/dev/null; then
! 9972: lt_cv_prog_compiler__b=yes
! 9973: fi
! 9974: else
! 9975: lt_cv_prog_compiler__b=yes
! 9976: fi
! 9977: fi
! 9978: $RM -r conftest*
! 9979: LDFLAGS=$save_LDFLAGS
! 9980:
! 9981: fi
! 9982: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
! 9983: $as_echo "$lt_cv_prog_compiler__b" >&6; }
! 9984:
! 9985: if test yes = "$lt_cv_prog_compiler__b"; then
! 9986: archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
! 9987: else
! 9988: archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
! 9989: fi
! 9990:
! 9991: ;;
! 9992: esac
! 9993: fi
! 9994: if test no = "$with_gnu_ld"; then
! 9995: hardcode_libdir_flag_spec='$wl+b $wl$libdir'
! 9996: hardcode_libdir_separator=:
! 9997:
! 9998: case $host_cpu in
! 9999: hppa*64*|ia64*)
! 10000: hardcode_direct=no
! 10001: hardcode_shlibpath_var=no
! 10002: ;;
! 10003: *)
! 10004: hardcode_direct=yes
! 10005: hardcode_direct_absolute=yes
! 10006: export_dynamic_flag_spec='$wl-E'
! 10007:
! 10008: # hardcode_minus_L: Not really in the search PATH,
! 10009: # but as the default location of the library.
! 10010: hardcode_minus_L=yes
! 10011: ;;
! 10012: esac
! 10013: fi
! 10014: ;;
! 10015:
! 10016: irix5* | irix6* | nonstopux*)
! 10017: if test yes = "$GCC"; then
! 10018: 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'
! 10019: # Try to use the -exported_symbol ld option, if it does not
! 10020: # work, assume that -exports_file does not work either and
! 10021: # implicitly export all symbols.
! 10022: # This should be the same for all languages, so no per-tag cache variable.
! 10023: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
! 10024: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
! 10025: if ${lt_cv_irix_exported_symbol+:} false; then :
! 10026: $as_echo_n "(cached) " >&6
! 10027: else
! 10028: save_LDFLAGS=$LDFLAGS
! 10029: LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
! 10030: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 10031: /* end confdefs.h. */
! 10032: int foo (void) { return 0; }
! 10033: _ACEOF
! 10034: if ac_fn_c_try_link "$LINENO"; then :
! 10035: lt_cv_irix_exported_symbol=yes
! 10036: else
! 10037: lt_cv_irix_exported_symbol=no
! 10038: fi
! 10039: rm -f core conftest.err conftest.$ac_objext \
! 10040: conftest$ac_exeext conftest.$ac_ext
! 10041: LDFLAGS=$save_LDFLAGS
! 10042: fi
! 10043: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
! 10044: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
! 10045: if test yes = "$lt_cv_irix_exported_symbol"; then
! 10046: 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'
! 10047: fi
! 10048: else
! 10049: 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'
! 10050: 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'
! 10051: fi
! 10052: archive_cmds_need_lc='no'
! 10053: hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
! 10054: hardcode_libdir_separator=:
! 10055: inherit_rpath=yes
! 10056: link_all_deplibs=yes
! 10057: ;;
! 10058:
! 10059: linux*)
! 10060: case $cc_basename in
! 10061: tcc*)
! 10062: # Fabrice Bellard et al's Tiny C Compiler
! 10063: ld_shlibs=yes
! 10064: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 10065: ;;
! 10066: esac
! 10067: ;;
! 10068:
! 10069: netbsd*)
! 10070: if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
! 10071: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
! 10072: else
! 10073: archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
! 10074: fi
! 10075: hardcode_libdir_flag_spec='-R$libdir'
! 10076: hardcode_direct=yes
! 10077: hardcode_shlibpath_var=no
! 10078: ;;
! 10079:
! 10080: newsos6)
! 10081: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 10082: hardcode_direct=yes
! 10083: hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
! 10084: hardcode_libdir_separator=:
! 10085: hardcode_shlibpath_var=no
! 10086: ;;
! 10087:
! 10088: *nto* | *qnx*)
! 10089: ;;
! 10090:
! 10091: openbsd* | bitrig*)
! 10092: if test -f /usr/libexec/ld.so; then
! 10093: hardcode_direct=yes
! 10094: hardcode_shlibpath_var=no
! 10095: hardcode_direct_absolute=yes
! 10096: if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
! 10097: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 10098: archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
! 10099: hardcode_libdir_flag_spec='$wl-rpath,$libdir'
! 10100: export_dynamic_flag_spec='$wl-E'
! 10101: else
! 10102: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
! 10103: hardcode_libdir_flag_spec='$wl-rpath,$libdir'
! 10104: fi
! 10105: else
! 10106: ld_shlibs=no
! 10107: fi
! 10108: ;;
! 10109:
! 10110: os2*)
! 10111: hardcode_libdir_flag_spec='-L$libdir'
! 10112: hardcode_minus_L=yes
! 10113: allow_undefined_flag=unsupported
! 10114: shrext_cmds=.dll
! 10115: archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
! 10116: $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
! 10117: $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
! 10118: $ECHO EXPORTS >> $output_objdir/$libname.def~
! 10119: emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
! 10120: $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
! 10121: emximp -o $lib $output_objdir/$libname.def'
! 10122: archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
! 10123: $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
! 10124: $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
! 10125: $ECHO EXPORTS >> $output_objdir/$libname.def~
! 10126: prefix_cmds="$SED"~
! 10127: if test EXPORTS = "`$SED 1q $export_symbols`"; then
! 10128: prefix_cmds="$prefix_cmds -e 1d";
! 10129: fi~
! 10130: prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
! 10131: cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
! 10132: $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
! 10133: emximp -o $lib $output_objdir/$libname.def'
! 10134: old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
! 10135: enable_shared_with_static_runtimes=yes
! 10136: ;;
! 10137:
! 10138: osf3*)
! 10139: if test yes = "$GCC"; then
! 10140: allow_undefined_flag=' $wl-expect_unresolved $wl\*'
! 10141: 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'
! 10142: else
! 10143: allow_undefined_flag=' -expect_unresolved \*'
! 10144: 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'
! 10145: fi
! 10146: archive_cmds_need_lc='no'
! 10147: hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
! 10148: hardcode_libdir_separator=:
! 10149: ;;
! 10150:
! 10151: osf4* | osf5*) # as osf3* with the addition of -msym flag
! 10152: if test yes = "$GCC"; then
! 10153: allow_undefined_flag=' $wl-expect_unresolved $wl\*'
! 10154: 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'
! 10155: hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
! 10156: else
! 10157: allow_undefined_flag=' -expect_unresolved \*'
! 10158: 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'
! 10159: 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~
! 10160: $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'
! 10161:
! 10162: # Both c and cxx compiler support -rpath directly
! 10163: hardcode_libdir_flag_spec='-rpath $libdir'
! 10164: fi
! 10165: archive_cmds_need_lc='no'
! 10166: hardcode_libdir_separator=:
! 10167: ;;
! 10168:
! 10169: solaris*)
! 10170: no_undefined_flag=' -z defs'
! 10171: if test yes = "$GCC"; then
! 10172: wlarc='$wl'
! 10173: archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
! 10174: archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
! 10175: $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'
! 10176: else
! 10177: case `$CC -V 2>&1` in
! 10178: *"Compilers 5.0"*)
! 10179: wlarc=''
! 10180: archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 10181: archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
! 10182: $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
! 10183: ;;
! 10184: *)
! 10185: wlarc='$wl'
! 10186: archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
! 10187: archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
! 10188: $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
! 10189: ;;
! 10190: esac
! 10191: fi
! 10192: hardcode_libdir_flag_spec='-R$libdir'
! 10193: hardcode_shlibpath_var=no
! 10194: case $host_os in
! 10195: solaris2.[0-5] | solaris2.[0-5].*) ;;
! 10196: *)
! 10197: # The compiler driver will combine and reorder linker options,
! 10198: # but understands '-z linker_flag'. GCC discards it without '$wl',
! 10199: # but is careful enough not to reorder.
! 10200: # Supported since Solaris 2.6 (maybe 2.5.1?)
! 10201: if test yes = "$GCC"; then
! 10202: whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
! 10203: else
! 10204: whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
! 10205: fi
! 10206: ;;
! 10207: esac
! 10208: link_all_deplibs=yes
! 10209: ;;
! 10210:
! 10211: sunos4*)
! 10212: if test sequent = "$host_vendor"; then
! 10213: # Use $CC to link under sequent, because it throws in some extra .o
! 10214: # files that make .init and .fini sections work.
! 10215: archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
! 10216: else
! 10217: archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
! 10218: fi
! 10219: hardcode_libdir_flag_spec='-L$libdir'
! 10220: hardcode_direct=yes
! 10221: hardcode_minus_L=yes
! 10222: hardcode_shlibpath_var=no
! 10223: ;;
! 10224:
! 10225: sysv4)
! 10226: case $host_vendor in
! 10227: sni)
! 10228: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 10229: hardcode_direct=yes # is this really true???
! 10230: ;;
! 10231: siemens)
! 10232: ## LD is ld it makes a PLAMLIB
! 10233: ## CC just makes a GrossModule.
! 10234: archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
! 10235: reload_cmds='$CC -r -o $output$reload_objs'
! 10236: hardcode_direct=no
! 10237: ;;
! 10238: motorola)
! 10239: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 10240: hardcode_direct=no #Motorola manual says yes, but my tests say they lie
! 10241: ;;
! 10242: esac
! 10243: runpath_var='LD_RUN_PATH'
! 10244: hardcode_shlibpath_var=no
! 10245: ;;
! 10246:
! 10247: sysv4.3*)
! 10248: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 10249: hardcode_shlibpath_var=no
! 10250: export_dynamic_flag_spec='-Bexport'
! 10251: ;;
! 10252:
! 10253: sysv4*MP*)
! 10254: if test -d /usr/nec; then
! 10255: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 10256: hardcode_shlibpath_var=no
! 10257: runpath_var=LD_RUN_PATH
! 10258: hardcode_runpath_var=yes
! 10259: ld_shlibs=yes
! 10260: fi
! 10261: ;;
! 10262:
! 10263: sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
! 10264: no_undefined_flag='$wl-z,text'
! 10265: archive_cmds_need_lc=no
! 10266: hardcode_shlibpath_var=no
! 10267: runpath_var='LD_RUN_PATH'
! 10268:
! 10269: if test yes = "$GCC"; then
! 10270: archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 10271: archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 10272: else
! 10273: archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 10274: archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 10275: fi
! 10276: ;;
! 10277:
! 10278: sysv5* | sco3.2v5* | sco5v6*)
! 10279: # Note: We CANNOT use -z defs as we might desire, because we do not
! 10280: # link with -lc, and that would cause any symbols used from libc to
! 10281: # always be unresolved, which means just about no library would
! 10282: # ever link correctly. If we're not using GNU ld we use -z text
! 10283: # though, which does catch some bad symbols but isn't as heavy-handed
! 10284: # as -z defs.
! 10285: no_undefined_flag='$wl-z,text'
! 10286: allow_undefined_flag='$wl-z,nodefs'
! 10287: archive_cmds_need_lc=no
! 10288: hardcode_shlibpath_var=no
! 10289: hardcode_libdir_flag_spec='$wl-R,$libdir'
! 10290: hardcode_libdir_separator=':'
! 10291: link_all_deplibs=yes
! 10292: export_dynamic_flag_spec='$wl-Bexport'
! 10293: runpath_var='LD_RUN_PATH'
! 10294:
! 10295: if test yes = "$GCC"; then
! 10296: archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 10297: archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 10298: else
! 10299: archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 10300: archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
! 10301: fi
! 10302: ;;
! 10303:
! 10304: uts4*)
! 10305: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! 10306: hardcode_libdir_flag_spec='-L$libdir'
! 10307: hardcode_shlibpath_var=no
! 10308: ;;
! 10309:
! 10310: *)
! 10311: ld_shlibs=no
! 10312: ;;
! 10313: esac
! 10314:
! 10315: if test sni = "$host_vendor"; then
! 10316: case $host in
! 10317: sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
! 10318: export_dynamic_flag_spec='$wl-Blargedynsym'
! 10319: ;;
! 10320: esac
! 10321: fi
! 10322: fi
! 10323:
! 10324: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
! 10325: $as_echo "$ld_shlibs" >&6; }
! 10326: test no = "$ld_shlibs" && can_build_shared=no
! 10327:
! 10328: with_gnu_ld=$with_gnu_ld
! 10329:
! 10330:
! 10331:
! 10332:
! 10333:
! 10334:
! 10335:
! 10336:
! 10337:
! 10338:
! 10339:
! 10340:
! 10341:
! 10342:
! 10343:
! 10344: #
! 10345: # Do we need to explicitly link libc?
! 10346: #
! 10347: case "x$archive_cmds_need_lc" in
! 10348: x|xyes)
! 10349: # Assume -lc should be added
! 10350: archive_cmds_need_lc=yes
! 10351:
! 10352: if test yes,yes = "$GCC,$enable_shared"; then
! 10353: case $archive_cmds in
! 10354: *'~'*)
! 10355: # FIXME: we may have to deal with multi-command sequences.
! 10356: ;;
! 10357: '$CC '*)
! 10358: # Test whether the compiler implicitly links with -lc since on some
! 10359: # systems, -lgcc has to come before -lc. If gcc already passes -lc
! 10360: # to ld, don't add -lc before -lgcc.
! 10361: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
! 10362: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
! 10363: if ${lt_cv_archive_cmds_need_lc+:} false; then :
! 10364: $as_echo_n "(cached) " >&6
! 10365: else
! 10366: $RM conftest*
! 10367: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
! 10368:
! 10369: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
! 10370: (eval $ac_compile) 2>&5
! 10371: ac_status=$?
! 10372: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 10373: test $ac_status = 0; } 2>conftest.err; then
! 10374: soname=conftest
! 10375: lib=conftest
! 10376: libobjs=conftest.$ac_objext
! 10377: deplibs=
! 10378: wl=$lt_prog_compiler_wl
! 10379: pic_flag=$lt_prog_compiler_pic
! 10380: compiler_flags=-v
! 10381: linker_flags=-v
! 10382: verstring=
! 10383: output_objdir=.
! 10384: libname=conftest
! 10385: lt_save_allow_undefined_flag=$allow_undefined_flag
! 10386: allow_undefined_flag=
! 10387: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
! 10388: (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
! 10389: ac_status=$?
! 10390: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 10391: test $ac_status = 0; }
! 10392: then
! 10393: lt_cv_archive_cmds_need_lc=no
! 10394: else
! 10395: lt_cv_archive_cmds_need_lc=yes
! 10396: fi
! 10397: allow_undefined_flag=$lt_save_allow_undefined_flag
! 10398: else
! 10399: cat conftest.err 1>&5
! 10400: fi
! 10401: $RM conftest*
! 10402:
! 10403: fi
! 10404: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
! 10405: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
! 10406: archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
! 10407: ;;
! 10408: esac
! 10409: fi
! 10410: ;;
! 10411: esac
! 10412:
! 10413:
! 10414:
! 10415:
! 10416:
! 10417:
! 10418:
! 10419:
! 10420:
! 10421:
! 10422:
! 10423:
! 10424:
! 10425:
! 10426:
! 10427:
! 10428:
! 10429:
! 10430:
! 10431:
! 10432:
! 10433:
! 10434:
! 10435:
! 10436:
! 10437:
! 10438:
! 10439:
! 10440:
! 10441:
! 10442:
! 10443:
! 10444:
! 10445:
! 10446:
! 10447:
! 10448:
! 10449:
! 10450:
! 10451:
! 10452:
! 10453:
! 10454:
! 10455:
! 10456:
! 10457:
! 10458:
! 10459:
! 10460:
! 10461:
! 10462:
! 10463:
! 10464:
! 10465:
! 10466:
! 10467:
! 10468:
! 10469:
! 10470:
! 10471:
! 10472:
! 10473:
! 10474:
! 10475:
! 10476:
! 10477:
! 10478:
! 10479:
! 10480:
! 10481:
! 10482:
! 10483:
! 10484:
! 10485:
! 10486:
! 10487:
! 10488:
! 10489:
! 10490:
! 10491:
! 10492:
! 10493:
! 10494:
! 10495:
! 10496:
! 10497:
! 10498:
! 10499:
! 10500:
! 10501:
! 10502:
! 10503:
! 10504:
! 10505:
! 10506:
! 10507:
! 10508:
! 10509:
! 10510:
! 10511:
! 10512:
! 10513:
! 10514:
! 10515:
! 10516:
! 10517:
! 10518:
! 10519:
! 10520:
! 10521:
! 10522:
! 10523:
! 10524:
! 10525:
! 10526:
! 10527:
! 10528:
! 10529:
! 10530:
! 10531:
! 10532:
! 10533:
! 10534:
! 10535:
! 10536:
! 10537:
! 10538:
! 10539:
! 10540:
! 10541:
! 10542:
! 10543:
! 10544:
! 10545:
! 10546:
! 10547:
! 10548:
! 10549:
! 10550:
! 10551:
! 10552:
! 10553:
! 10554:
! 10555:
! 10556:
! 10557:
! 10558:
! 10559:
! 10560:
! 10561:
! 10562:
! 10563:
! 10564: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
! 10565: $as_echo_n "checking dynamic linker characteristics... " >&6; }
! 10566:
! 10567: if test yes = "$GCC"; then
! 10568: case $host_os in
! 10569: darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
! 10570: *) lt_awk_arg='/^libraries:/' ;;
! 10571: esac
! 10572: case $host_os in
! 10573: mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
! 10574: *) lt_sed_strip_eq='s|=/|/|g' ;;
! 10575: esac
! 10576: lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
! 10577: case $lt_search_path_spec in
! 10578: *\;*)
! 10579: # if the path contains ";" then we assume it to be the separator
! 10580: # otherwise default to the standard path separator (i.e. ":") - it is
! 10581: # assumed that no part of a normal pathname contains ";" but that should
! 10582: # okay in the real world where ";" in dirpaths is itself problematic.
! 10583: lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
! 10584: ;;
! 10585: *)
! 10586: lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
! 10587: ;;
! 10588: esac
! 10589: # Ok, now we have the path, separated by spaces, we can step through it
! 10590: # and add multilib dir if necessary...
! 10591: lt_tmp_lt_search_path_spec=
! 10592: lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
! 10593: # ...but if some path component already ends with the multilib dir we assume
! 10594: # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
! 10595: case "$lt_multi_os_dir; $lt_search_path_spec " in
! 10596: "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
! 10597: lt_multi_os_dir=
! 10598: ;;
! 10599: esac
! 10600: for lt_sys_path in $lt_search_path_spec; do
! 10601: if test -d "$lt_sys_path$lt_multi_os_dir"; then
! 10602: lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
! 10603: elif test -n "$lt_multi_os_dir"; then
! 10604: test -d "$lt_sys_path" && \
! 10605: lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
! 10606: fi
! 10607: done
! 10608: lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
! 10609: BEGIN {RS = " "; FS = "/|\n";} {
! 10610: lt_foo = "";
! 10611: lt_count = 0;
! 10612: for (lt_i = NF; lt_i > 0; lt_i--) {
! 10613: if ($lt_i != "" && $lt_i != ".") {
! 10614: if ($lt_i == "..") {
! 10615: lt_count++;
! 10616: } else {
! 10617: if (lt_count == 0) {
! 10618: lt_foo = "/" $lt_i lt_foo;
! 10619: } else {
! 10620: lt_count--;
! 10621: }
! 10622: }
! 10623: }
! 10624: }
! 10625: if (lt_foo != "") { lt_freq[lt_foo]++; }
! 10626: if (lt_freq[lt_foo] == 1) { print lt_foo; }
! 10627: }'`
! 10628: # AWK program above erroneously prepends '/' to C:/dos/paths
! 10629: # for these hosts.
! 10630: case $host_os in
! 10631: mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
! 10632: $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
! 10633: esac
! 10634: sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
! 10635: else
! 10636: sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
! 10637: fi
! 10638: library_names_spec=
! 10639: libname_spec='lib$name'
! 10640: soname_spec=
! 10641: shrext_cmds=.so
! 10642: postinstall_cmds=
! 10643: postuninstall_cmds=
! 10644: finish_cmds=
! 10645: finish_eval=
! 10646: shlibpath_var=
! 10647: shlibpath_overrides_runpath=unknown
! 10648: version_type=none
! 10649: dynamic_linker="$host_os ld.so"
! 10650: sys_lib_dlsearch_path_spec="/lib /usr/lib"
! 10651: need_lib_prefix=unknown
! 10652: hardcode_into_libs=no
! 10653:
! 10654: # when you set need_version to no, make sure it does not cause -set_version
! 10655: # flags to be left without arguments
! 10656: need_version=unknown
! 10657:
! 10658:
! 10659:
! 10660: case $host_os in
! 10661: aix3*)
! 10662: version_type=linux # correct to gnu/linux during the next big refactor
! 10663: library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
! 10664: shlibpath_var=LIBPATH
! 10665:
! 10666: # AIX 3 has no versioning support, so we append a major version to the name.
! 10667: soname_spec='$libname$release$shared_ext$major'
! 10668: ;;
! 10669:
! 10670: aix[4-9]*)
! 10671: version_type=linux # correct to gnu/linux during the next big refactor
! 10672: need_lib_prefix=no
! 10673: need_version=no
! 10674: hardcode_into_libs=yes
! 10675: if test ia64 = "$host_cpu"; then
! 10676: # AIX 5 supports IA64
! 10677: library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
! 10678: shlibpath_var=LD_LIBRARY_PATH
! 10679: else
! 10680: # With GCC up to 2.95.x, collect2 would create an import file
! 10681: # for dependence libraries. The import file would start with
! 10682: # the line '#! .'. This would cause the generated library to
! 10683: # depend on '.', always an invalid library. This was fixed in
! 10684: # development snapshots of GCC prior to 3.0.
! 10685: case $host_os in
! 10686: aix4 | aix4.[01] | aix4.[01].*)
! 10687: if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
! 10688: echo ' yes '
! 10689: echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
! 10690: :
! 10691: else
! 10692: can_build_shared=no
! 10693: fi
! 10694: ;;
! 10695: esac
! 10696: # Using Import Files as archive members, it is possible to support
! 10697: # filename-based versioning of shared library archives on AIX. While
! 10698: # this would work for both with and without runtime linking, it will
! 10699: # prevent static linking of such archives. So we do filename-based
! 10700: # shared library versioning with .so extension only, which is used
! 10701: # when both runtime linking and shared linking is enabled.
! 10702: # Unfortunately, runtime linking may impact performance, so we do
! 10703: # not want this to be the default eventually. Also, we use the
! 10704: # versioned .so libs for executables only if there is the -brtl
! 10705: # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
! 10706: # To allow for filename-based versioning support, we need to create
! 10707: # libNAME.so.V as an archive file, containing:
! 10708: # *) an Import File, referring to the versioned filename of the
! 10709: # archive as well as the shared archive member, telling the
! 10710: # bitwidth (32 or 64) of that shared object, and providing the
! 10711: # list of exported symbols of that shared object, eventually
! 10712: # decorated with the 'weak' keyword
! 10713: # *) the shared object with the F_LOADONLY flag set, to really avoid
! 10714: # it being seen by the linker.
! 10715: # At run time we better use the real file rather than another symlink,
! 10716: # but for link time we create the symlink libNAME.so -> libNAME.so.V
! 10717:
! 10718: case $with_aix_soname,$aix_use_runtimelinking in
! 10719: # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
! 10720: # soname into executable. Probably we can add versioning support to
! 10721: # collect2, so additional links can be useful in future.
! 10722: aix,yes) # traditional libtool
! 10723: dynamic_linker='AIX unversionable lib.so'
! 10724: # If using run time linking (on AIX 4.2 or later) use lib<name>.so
! 10725: # instead of lib<name>.a to let people know that these are not
! 10726: # typical AIX shared libraries.
! 10727: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
! 10728: ;;
! 10729: aix,no) # traditional AIX only
! 10730: dynamic_linker='AIX lib.a(lib.so.V)'
! 10731: # We preserve .a as extension for shared libraries through AIX4.2
! 10732: # and later when we are not doing run time linking.
! 10733: library_names_spec='$libname$release.a $libname.a'
! 10734: soname_spec='$libname$release$shared_ext$major'
! 10735: ;;
! 10736: svr4,*) # full svr4 only
! 10737: dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
! 10738: library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
! 10739: # We do not specify a path in Import Files, so LIBPATH fires.
! 10740: shlibpath_overrides_runpath=yes
! 10741: ;;
! 10742: *,yes) # both, prefer svr4
! 10743: dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
! 10744: library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
! 10745: # unpreferred sharedlib libNAME.a needs extra handling
! 10746: postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
! 10747: postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
! 10748: # We do not specify a path in Import Files, so LIBPATH fires.
! 10749: shlibpath_overrides_runpath=yes
! 10750: ;;
! 10751: *,no) # both, prefer aix
! 10752: dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
! 10753: library_names_spec='$libname$release.a $libname.a'
! 10754: soname_spec='$libname$release$shared_ext$major'
! 10755: # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
! 10756: postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
! 10757: postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
! 10758: ;;
! 10759: esac
! 10760: shlibpath_var=LIBPATH
! 10761: fi
! 10762: ;;
! 10763:
! 10764: amigaos*)
! 10765: case $host_cpu in
! 10766: powerpc)
! 10767: # Since July 2007 AmigaOS4 officially supports .so libraries.
! 10768: # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
! 10769: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
! 10770: ;;
! 10771: m68k)
! 10772: library_names_spec='$libname.ixlibrary $libname.a'
! 10773: # Create ${libname}_ixlibrary.a entries in /sys/libs.
! 10774: finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
! 10775: ;;
! 10776: esac
! 10777: ;;
! 10778:
! 10779: beos*)
! 10780: library_names_spec='$libname$shared_ext'
! 10781: dynamic_linker="$host_os ld.so"
! 10782: shlibpath_var=LIBRARY_PATH
! 10783: ;;
! 10784:
! 10785: bsdi[45]*)
! 10786: version_type=linux # correct to gnu/linux during the next big refactor
! 10787: need_version=no
! 10788: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
! 10789: soname_spec='$libname$release$shared_ext$major'
! 10790: finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
! 10791: shlibpath_var=LD_LIBRARY_PATH
! 10792: sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
! 10793: sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
! 10794: # the default ld.so.conf also contains /usr/contrib/lib and
! 10795: # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
! 10796: # libtool to hard-code these into programs
! 10797: ;;
! 10798:
! 10799: cygwin* | mingw* | pw32* | cegcc*)
! 10800: version_type=windows
! 10801: shrext_cmds=.dll
! 10802: need_version=no
! 10803: need_lib_prefix=no
! 10804:
! 10805: case $GCC,$cc_basename in
! 10806: yes,*)
! 10807: # gcc
! 10808: library_names_spec='$libname.dll.a'
! 10809: # DLL is installed to $(libdir)/../bin by postinstall_cmds
! 10810: postinstall_cmds='base_file=`basename \$file`~
! 10811: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
! 10812: dldir=$destdir/`dirname \$dlpath`~
! 10813: test -d \$dldir || mkdir -p \$dldir~
! 10814: $install_prog $dir/$dlname \$dldir/$dlname~
! 10815: chmod a+x \$dldir/$dlname~
! 10816: if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
! 10817: eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
! 10818: fi'
! 10819: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
! 10820: dlpath=$dir/\$dldll~
! 10821: $RM \$dlpath'
! 10822: shlibpath_overrides_runpath=yes
! 10823:
! 10824: case $host_os in
! 10825: cygwin*)
! 10826: # Cygwin DLLs use 'cyg' prefix rather than 'lib'
! 10827: soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
! 10828:
! 10829: sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
! 10830: ;;
! 10831: mingw* | cegcc*)
! 10832: # MinGW DLLs use traditional 'lib' prefix
! 10833: soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
! 10834: ;;
! 10835: pw32*)
! 10836: # pw32 DLLs use 'pw' prefix rather than 'lib'
! 10837: library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
! 10838: ;;
! 10839: esac
! 10840: dynamic_linker='Win32 ld.exe'
! 10841: ;;
! 10842:
! 10843: *,cl*)
! 10844: # Native MSVC
! 10845: libname_spec='$name'
! 10846: soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
! 10847: library_names_spec='$libname.dll.lib'
! 10848:
! 10849: case $build_os in
! 10850: mingw*)
! 10851: sys_lib_search_path_spec=
! 10852: lt_save_ifs=$IFS
! 10853: IFS=';'
! 10854: for lt_path in $LIB
! 10855: do
! 10856: IFS=$lt_save_ifs
! 10857: # Let DOS variable expansion print the short 8.3 style file name.
! 10858: lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
! 10859: sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
! 10860: done
! 10861: IFS=$lt_save_ifs
! 10862: # Convert to MSYS style.
! 10863: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
! 10864: ;;
! 10865: cygwin*)
! 10866: # Convert to unix form, then to dos form, then back to unix form
! 10867: # but this time dos style (no spaces!) so that the unix form looks
! 10868: # like /cygdrive/c/PROGRA~1:/cygdr...
! 10869: sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
! 10870: sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
! 10871: sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 10872: ;;
! 10873: *)
! 10874: sys_lib_search_path_spec=$LIB
! 10875: if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
! 10876: # It is most probably a Windows format PATH.
! 10877: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
! 10878: else
! 10879: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
! 10880: fi
! 10881: # FIXME: find the short name or the path components, as spaces are
! 10882: # common. (e.g. "Program Files" -> "PROGRA~1")
! 10883: ;;
! 10884: esac
! 10885:
! 10886: # DLL is installed to $(libdir)/../bin by postinstall_cmds
! 10887: postinstall_cmds='base_file=`basename \$file`~
! 10888: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
! 10889: dldir=$destdir/`dirname \$dlpath`~
! 10890: test -d \$dldir || mkdir -p \$dldir~
! 10891: $install_prog $dir/$dlname \$dldir/$dlname'
! 10892: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
! 10893: dlpath=$dir/\$dldll~
! 10894: $RM \$dlpath'
! 10895: shlibpath_overrides_runpath=yes
! 10896: dynamic_linker='Win32 link.exe'
! 10897: ;;
! 10898:
! 10899: *)
! 10900: # Assume MSVC wrapper
! 10901: library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
! 10902: dynamic_linker='Win32 ld.exe'
! 10903: ;;
! 10904: esac
! 10905: # FIXME: first we should search . and the directory the executable is in
! 10906: shlibpath_var=PATH
! 10907: ;;
! 10908:
! 10909: darwin* | rhapsody*)
! 10910: dynamic_linker="$host_os dyld"
! 10911: version_type=darwin
! 10912: need_lib_prefix=no
! 10913: need_version=no
! 10914: library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
! 10915: soname_spec='$libname$release$major$shared_ext'
! 10916: shlibpath_overrides_runpath=yes
! 10917: shlibpath_var=DYLD_LIBRARY_PATH
! 10918: shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
! 10919:
! 10920: sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
! 10921: sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
! 10922: ;;
! 10923:
! 10924: dgux*)
! 10925: version_type=linux # correct to gnu/linux during the next big refactor
! 10926: need_lib_prefix=no
! 10927: need_version=no
! 10928: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
! 10929: soname_spec='$libname$release$shared_ext$major'
! 10930: shlibpath_var=LD_LIBRARY_PATH
! 10931: ;;
! 10932:
! 10933: freebsd* | dragonfly*)
! 10934: # DragonFly does not have aout. When/if they implement a new
! 10935: # versioning mechanism, adjust this.
! 10936: if test -x /usr/bin/objformat; then
! 10937: objformat=`/usr/bin/objformat`
! 10938: else
! 10939: case $host_os in
! 10940: freebsd[23].*) objformat=aout ;;
! 10941: *) objformat=elf ;;
! 10942: esac
! 10943: fi
! 10944: version_type=freebsd-$objformat
! 10945: case $version_type in
! 10946: freebsd-elf*)
! 10947: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
! 10948: soname_spec='$libname$release$shared_ext$major'
! 10949: need_version=no
! 10950: need_lib_prefix=no
! 10951: ;;
! 10952: freebsd-*)
! 10953: library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
! 10954: need_version=yes
! 10955: ;;
! 10956: esac
! 10957: shlibpath_var=LD_LIBRARY_PATH
! 10958: case $host_os in
! 10959: freebsd2.*)
! 10960: shlibpath_overrides_runpath=yes
! 10961: ;;
! 10962: freebsd3.[01]* | freebsdelf3.[01]*)
! 10963: shlibpath_overrides_runpath=yes
! 10964: hardcode_into_libs=yes
! 10965: ;;
! 10966: freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
! 10967: freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
! 10968: shlibpath_overrides_runpath=no
! 10969: hardcode_into_libs=yes
! 10970: ;;
! 10971: *) # from 4.6 on, and DragonFly
! 10972: shlibpath_overrides_runpath=yes
! 10973: hardcode_into_libs=yes
! 10974: ;;
! 10975: esac
! 10976: ;;
! 10977:
! 10978: haiku*)
! 10979: version_type=linux # correct to gnu/linux during the next big refactor
! 10980: need_lib_prefix=no
! 10981: need_version=no
! 10982: dynamic_linker="$host_os runtime_loader"
! 10983: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
! 10984: soname_spec='$libname$release$shared_ext$major'
! 10985: shlibpath_var=LIBRARY_PATH
! 10986: shlibpath_overrides_runpath=no
! 10987: sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
! 10988: hardcode_into_libs=yes
! 10989: ;;
! 10990:
! 10991: hpux9* | hpux10* | hpux11*)
! 10992: # Give a soname corresponding to the major version so that dld.sl refuses to
! 10993: # link against other versions.
! 10994: version_type=sunos
! 10995: need_lib_prefix=no
! 10996: need_version=no
! 10997: case $host_cpu in
! 10998: ia64*)
! 10999: shrext_cmds='.so'
! 11000: hardcode_into_libs=yes
! 11001: dynamic_linker="$host_os dld.so"
! 11002: shlibpath_var=LD_LIBRARY_PATH
! 11003: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 11004: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
! 11005: soname_spec='$libname$release$shared_ext$major'
! 11006: if test 32 = "$HPUX_IA64_MODE"; then
! 11007: sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
! 11008: sys_lib_dlsearch_path_spec=/usr/lib/hpux32
! 11009: else
! 11010: sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
! 11011: sys_lib_dlsearch_path_spec=/usr/lib/hpux64
! 11012: fi
! 11013: ;;
! 11014: hppa*64*)
! 11015: shrext_cmds='.sl'
! 11016: hardcode_into_libs=yes
! 11017: dynamic_linker="$host_os dld.sl"
! 11018: shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
! 11019: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
! 11020: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
! 11021: soname_spec='$libname$release$shared_ext$major'
! 11022: sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
! 11023: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 11024: ;;
! 11025: *)
! 11026: shrext_cmds='.sl'
! 11027: dynamic_linker="$host_os dld.sl"
! 11028: shlibpath_var=SHLIB_PATH
! 11029: shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
! 11030: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
! 11031: soname_spec='$libname$release$shared_ext$major'
! 11032: ;;
! 11033: esac
! 11034: # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
! 11035: postinstall_cmds='chmod 555 $lib'
! 11036: # or fails outright, so override atomically:
! 11037: install_override_mode=555
! 11038: ;;
! 11039:
! 11040: interix[3-9]*)
! 11041: version_type=linux # correct to gnu/linux during the next big refactor
! 11042: need_lib_prefix=no
! 11043: need_version=no
! 11044: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
! 11045: soname_spec='$libname$release$shared_ext$major'
! 11046: dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
! 11047: shlibpath_var=LD_LIBRARY_PATH
! 11048: shlibpath_overrides_runpath=no
! 11049: hardcode_into_libs=yes
! 11050: ;;
! 11051:
! 11052: irix5* | irix6* | nonstopux*)
! 11053: case $host_os in
! 11054: nonstopux*) version_type=nonstopux ;;
! 11055: *)
! 11056: if test yes = "$lt_cv_prog_gnu_ld"; then
! 11057: version_type=linux # correct to gnu/linux during the next big refactor
! 11058: else
! 11059: version_type=irix
! 11060: fi ;;
! 11061: esac
! 11062: need_lib_prefix=no
! 11063: need_version=no
! 11064: soname_spec='$libname$release$shared_ext$major'
! 11065: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
! 11066: case $host_os in
! 11067: irix5* | nonstopux*)
! 11068: libsuff= shlibsuff=
! 11069: ;;
! 11070: *)
! 11071: case $LD in # libtool.m4 will add one of these switches to LD
! 11072: *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
! 11073: libsuff= shlibsuff= libmagic=32-bit;;
! 11074: *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
! 11075: libsuff=32 shlibsuff=N32 libmagic=N32;;
! 11076: *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
! 11077: libsuff=64 shlibsuff=64 libmagic=64-bit;;
! 11078: *) libsuff= shlibsuff= libmagic=never-match;;
! 11079: esac
! 11080: ;;
! 11081: esac
! 11082: shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
! 11083: shlibpath_overrides_runpath=no
! 11084: sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
! 11085: sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
! 11086: hardcode_into_libs=yes
! 11087: ;;
! 11088:
! 11089: # No shared lib support for Linux oldld, aout, or coff.
! 11090: linux*oldld* | linux*aout* | linux*coff*)
! 11091: dynamic_linker=no
! 11092: ;;
! 11093:
! 11094: linux*android*)
! 11095: version_type=none # Android doesn't support versioned libraries.
! 11096: need_lib_prefix=no
! 11097: need_version=no
! 11098: library_names_spec='$libname$release$shared_ext'
! 11099: soname_spec='$libname$release$shared_ext'
! 11100: finish_cmds=
! 11101: shlibpath_var=LD_LIBRARY_PATH
! 11102: shlibpath_overrides_runpath=yes
! 11103:
! 11104: # This implies no fast_install, which is unacceptable.
! 11105: # Some rework will be needed to allow for fast_install
! 11106: # before this can be enabled.
! 11107: hardcode_into_libs=yes
! 11108:
! 11109: dynamic_linker='Android linker'
! 11110: # Don't embed -rpath directories since the linker doesn't support them.
! 11111: hardcode_libdir_flag_spec='-L$libdir'
! 11112: ;;
! 11113:
! 11114: # This must be glibc/ELF.
! 11115: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
! 11116: version_type=linux # correct to gnu/linux during the next big refactor
! 11117: need_lib_prefix=no
! 11118: need_version=no
! 11119: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
! 11120: soname_spec='$libname$release$shared_ext$major'
! 11121: finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
! 11122: shlibpath_var=LD_LIBRARY_PATH
! 11123: shlibpath_overrides_runpath=no
! 11124:
! 11125: # Some binutils ld are patched to set DT_RUNPATH
! 11126: if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
! 11127: $as_echo_n "(cached) " >&6
! 11128: else
! 11129: lt_cv_shlibpath_overrides_runpath=no
! 11130: save_LDFLAGS=$LDFLAGS
! 11131: save_libdir=$libdir
! 11132: eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
! 11133: LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
! 11134: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 11135: /* end confdefs.h. */
! 11136:
! 11137: int
! 11138: main ()
! 11139: {
! 11140:
! 11141: ;
! 11142: return 0;
! 11143: }
! 11144: _ACEOF
! 11145: if ac_fn_c_try_link "$LINENO"; then :
! 11146: if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
! 11147: lt_cv_shlibpath_overrides_runpath=yes
! 11148: fi
! 11149: fi
! 11150: rm -f core conftest.err conftest.$ac_objext \
! 11151: conftest$ac_exeext conftest.$ac_ext
! 11152: LDFLAGS=$save_LDFLAGS
! 11153: libdir=$save_libdir
! 11154:
! 11155: fi
! 11156:
! 11157: shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
! 11158:
! 11159: # This implies no fast_install, which is unacceptable.
! 11160: # Some rework will be needed to allow for fast_install
! 11161: # before this can be enabled.
! 11162: hardcode_into_libs=yes
! 11163:
! 11164: # Ideally, we could use ldconfig to report *all* directores which are
! 11165: # searched for libraries, however this is still not possible. Aside from not
! 11166: # being certain /sbin/ldconfig is available, command
! 11167: # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
! 11168: # even though it is searched at run-time. Try to do the best guess by
! 11169: # appending ld.so.conf contents (and includes) to the search path.
! 11170: if test -f /etc/ld.so.conf; then
! 11171: 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' ' '`
! 11172: sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
! 11173: fi
! 11174:
! 11175: # We used to test for /lib/ld.so.1 and disable shared libraries on
! 11176: # powerpc, because MkLinux only supported shared libraries with the
! 11177: # GNU dynamic linker. Since this was broken with cross compilers,
! 11178: # most powerpc-linux boxes support dynamic linking these days and
! 11179: # people can always --disable-shared, the test was removed, and we
! 11180: # assume the GNU/Linux dynamic linker is in use.
! 11181: dynamic_linker='GNU/Linux ld.so'
! 11182: ;;
! 11183:
! 11184: netbsd*)
! 11185: version_type=sunos
! 11186: need_lib_prefix=no
! 11187: need_version=no
! 11188: if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
! 11189: library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
! 11190: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 11191: dynamic_linker='NetBSD (a.out) ld.so'
! 11192: else
! 11193: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
! 11194: soname_spec='$libname$release$shared_ext$major'
! 11195: dynamic_linker='NetBSD ld.elf_so'
! 11196: fi
! 11197: shlibpath_var=LD_LIBRARY_PATH
! 11198: shlibpath_overrides_runpath=yes
! 11199: hardcode_into_libs=yes
! 11200: ;;
! 11201:
! 11202: newsos6)
! 11203: version_type=linux # correct to gnu/linux during the next big refactor
! 11204: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
! 11205: shlibpath_var=LD_LIBRARY_PATH
! 11206: shlibpath_overrides_runpath=yes
! 11207: ;;
! 11208:
! 11209: *nto* | *qnx*)
! 11210: version_type=qnx
! 11211: need_lib_prefix=no
! 11212: need_version=no
! 11213: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
! 11214: soname_spec='$libname$release$shared_ext$major'
! 11215: shlibpath_var=LD_LIBRARY_PATH
! 11216: shlibpath_overrides_runpath=no
! 11217: hardcode_into_libs=yes
! 11218: dynamic_linker='ldqnx.so'
! 11219: ;;
! 11220:
! 11221: openbsd* | bitrig*)
! 11222: version_type=sunos
! 11223: sys_lib_dlsearch_path_spec=/usr/lib
! 11224: need_lib_prefix=no
! 11225: if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
! 11226: need_version=no
! 11227: else
! 11228: need_version=yes
! 11229: fi
! 11230: library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
! 11231: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
! 11232: shlibpath_var=LD_LIBRARY_PATH
! 11233: shlibpath_overrides_runpath=yes
! 11234: ;;
! 11235:
! 11236: os2*)
! 11237: libname_spec='$name'
! 11238: version_type=windows
! 11239: shrext_cmds=.dll
! 11240: need_version=no
! 11241: need_lib_prefix=no
! 11242: # OS/2 can only load a DLL with a base name of 8 characters or less.
! 11243: soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
! 11244: v=$($ECHO $release$versuffix | tr -d .-);
! 11245: n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
! 11246: $ECHO $n$v`$shared_ext'
! 11247: library_names_spec='${libname}_dll.$libext'
! 11248: dynamic_linker='OS/2 ld.exe'
! 11249: shlibpath_var=BEGINLIBPATH
! 11250: sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
! 11251: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 11252: postinstall_cmds='base_file=`basename \$file`~
! 11253: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
! 11254: dldir=$destdir/`dirname \$dlpath`~
! 11255: test -d \$dldir || mkdir -p \$dldir~
! 11256: $install_prog $dir/$dlname \$dldir/$dlname~
! 11257: chmod a+x \$dldir/$dlname~
! 11258: if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
! 11259: eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
! 11260: fi'
! 11261: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
! 11262: dlpath=$dir/\$dldll~
! 11263: $RM \$dlpath'
! 11264: ;;
! 11265:
! 11266: osf3* | osf4* | osf5*)
! 11267: version_type=osf
! 11268: need_lib_prefix=no
! 11269: need_version=no
! 11270: soname_spec='$libname$release$shared_ext$major'
! 11271: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
! 11272: shlibpath_var=LD_LIBRARY_PATH
! 11273: sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
! 11274: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
! 11275: ;;
! 11276:
! 11277: rdos*)
! 11278: dynamic_linker=no
! 11279: ;;
! 11280:
! 11281: solaris*)
! 11282: version_type=linux # correct to gnu/linux during the next big refactor
! 11283: need_lib_prefix=no
! 11284: need_version=no
! 11285: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
! 11286: soname_spec='$libname$release$shared_ext$major'
! 11287: shlibpath_var=LD_LIBRARY_PATH
! 11288: shlibpath_overrides_runpath=yes
! 11289: hardcode_into_libs=yes
! 11290: # ldd complains unless libraries are executable
! 11291: postinstall_cmds='chmod +x $lib'
! 11292: ;;
! 11293:
! 11294: sunos4*)
! 11295: version_type=sunos
! 11296: library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
! 11297: finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
! 11298: shlibpath_var=LD_LIBRARY_PATH
! 11299: shlibpath_overrides_runpath=yes
! 11300: if test yes = "$with_gnu_ld"; then
! 11301: need_lib_prefix=no
! 11302: fi
! 11303: need_version=yes
! 11304: ;;
! 11305:
! 11306: sysv4 | sysv4.3*)
! 11307: version_type=linux # correct to gnu/linux during the next big refactor
! 11308: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
! 11309: soname_spec='$libname$release$shared_ext$major'
! 11310: shlibpath_var=LD_LIBRARY_PATH
! 11311: case $host_vendor in
! 11312: sni)
! 11313: shlibpath_overrides_runpath=no
! 11314: need_lib_prefix=no
! 11315: runpath_var=LD_RUN_PATH
! 11316: ;;
! 11317: siemens)
! 11318: need_lib_prefix=no
! 11319: ;;
! 11320: motorola)
! 11321: need_lib_prefix=no
! 11322: need_version=no
! 11323: shlibpath_overrides_runpath=no
! 11324: sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
! 11325: ;;
! 11326: esac
! 11327: ;;
! 11328:
! 11329: sysv4*MP*)
! 11330: if test -d /usr/nec; then
! 11331: version_type=linux # correct to gnu/linux during the next big refactor
! 11332: library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
! 11333: soname_spec='$libname$shared_ext.$major'
! 11334: shlibpath_var=LD_LIBRARY_PATH
! 11335: fi
! 11336: ;;
! 11337:
! 11338: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
! 11339: version_type=sco
! 11340: need_lib_prefix=no
! 11341: need_version=no
! 11342: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
! 11343: soname_spec='$libname$release$shared_ext$major'
! 11344: shlibpath_var=LD_LIBRARY_PATH
! 11345: shlibpath_overrides_runpath=yes
! 11346: hardcode_into_libs=yes
! 11347: if test yes = "$with_gnu_ld"; then
! 11348: sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
! 11349: else
! 11350: sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
! 11351: case $host_os in
! 11352: sco3.2v5*)
! 11353: sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
! 11354: ;;
! 11355: esac
! 11356: fi
! 11357: sys_lib_dlsearch_path_spec='/usr/lib'
! 11358: ;;
! 11359:
! 11360: tpf*)
! 11361: # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
! 11362: version_type=linux # correct to gnu/linux during the next big refactor
! 11363: need_lib_prefix=no
! 11364: need_version=no
! 11365: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
! 11366: shlibpath_var=LD_LIBRARY_PATH
! 11367: shlibpath_overrides_runpath=no
! 11368: hardcode_into_libs=yes
! 11369: ;;
! 11370:
! 11371: uts4*)
! 11372: version_type=linux # correct to gnu/linux during the next big refactor
! 11373: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
! 11374: soname_spec='$libname$release$shared_ext$major'
! 11375: shlibpath_var=LD_LIBRARY_PATH
! 11376: ;;
! 11377:
! 11378: *)
! 11379: dynamic_linker=no
! 11380: ;;
! 11381: esac
! 11382: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
! 11383: $as_echo "$dynamic_linker" >&6; }
! 11384: test no = "$dynamic_linker" && can_build_shared=no
! 11385:
! 11386: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
! 11387: if test yes = "$GCC"; then
! 11388: variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
! 11389: fi
! 11390:
! 11391: if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
! 11392: sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
! 11393: fi
! 11394:
! 11395: if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
! 11396: sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
! 11397: fi
! 11398:
! 11399: # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
! 11400: configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
! 11401:
! 11402: # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
! 11403: func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
! 11404:
! 11405: # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
! 11406: configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
! 11407:
! 11408:
! 11409:
! 11410:
! 11411:
! 11412:
! 11413:
! 11414:
! 11415:
! 11416:
! 11417:
! 11418:
! 11419:
! 11420:
! 11421:
! 11422:
! 11423:
! 11424:
! 11425:
! 11426:
! 11427:
! 11428:
! 11429:
! 11430:
! 11431:
! 11432:
! 11433:
! 11434:
! 11435:
! 11436:
! 11437:
! 11438:
! 11439:
! 11440:
! 11441:
! 11442:
! 11443:
! 11444:
! 11445:
! 11446:
! 11447:
! 11448:
! 11449:
! 11450:
! 11451:
! 11452:
! 11453:
! 11454:
! 11455:
! 11456:
! 11457:
! 11458:
! 11459:
! 11460:
! 11461:
! 11462:
! 11463:
! 11464:
! 11465:
! 11466:
! 11467:
! 11468:
! 11469:
! 11470:
! 11471:
! 11472:
! 11473:
! 11474:
! 11475:
! 11476:
! 11477:
! 11478:
! 11479:
! 11480:
! 11481:
! 11482:
! 11483:
! 11484:
! 11485:
! 11486:
! 11487:
! 11488:
! 11489:
! 11490:
! 11491:
! 11492:
! 11493:
! 11494:
! 11495:
! 11496:
! 11497:
! 11498:
! 11499:
! 11500:
! 11501:
! 11502:
! 11503:
! 11504: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
! 11505: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
! 11506: hardcode_action=
! 11507: if test -n "$hardcode_libdir_flag_spec" ||
! 11508: test -n "$runpath_var" ||
! 11509: test yes = "$hardcode_automatic"; then
! 11510:
! 11511: # We can hardcode non-existent directories.
! 11512: if test no != "$hardcode_direct" &&
! 11513: # If the only mechanism to avoid hardcoding is shlibpath_var, we
! 11514: # have to relink, otherwise we might link with an installed library
! 11515: # when we should be linking with a yet-to-be-installed one
! 11516: ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
! 11517: test no != "$hardcode_minus_L"; then
! 11518: # Linking always hardcodes the temporary library directory.
! 11519: hardcode_action=relink
! 11520: else
! 11521: # We can link without hardcoding, and we can hardcode nonexisting dirs.
! 11522: hardcode_action=immediate
! 11523: fi
! 11524: else
! 11525: # We cannot hardcode anything, or else we can only hardcode existing
! 11526: # directories.
! 11527: hardcode_action=unsupported
! 11528: fi
! 11529: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
! 11530: $as_echo "$hardcode_action" >&6; }
! 11531:
! 11532: if test relink = "$hardcode_action" ||
! 11533: test yes = "$inherit_rpath"; then
! 11534: # Fast installation is not supported
! 11535: enable_fast_install=no
! 11536: elif test yes = "$shlibpath_overrides_runpath" ||
! 11537: test no = "$enable_shared"; then
! 11538: # Fast installation is not necessary
! 11539: enable_fast_install=needless
! 11540: fi
! 11541:
! 11542:
! 11543:
! 11544:
! 11545:
! 11546:
! 11547: if test yes != "$enable_dlopen"; then
! 11548: enable_dlopen=unknown
! 11549: enable_dlopen_self=unknown
! 11550: enable_dlopen_self_static=unknown
! 11551: else
! 11552: lt_cv_dlopen=no
! 11553: lt_cv_dlopen_libs=
! 11554:
! 11555: case $host_os in
! 11556: beos*)
! 11557: lt_cv_dlopen=load_add_on
! 11558: lt_cv_dlopen_libs=
! 11559: lt_cv_dlopen_self=yes
! 11560: ;;
! 11561:
! 11562: mingw* | pw32* | cegcc*)
! 11563: lt_cv_dlopen=LoadLibrary
! 11564: lt_cv_dlopen_libs=
! 11565: ;;
! 11566:
! 11567: cygwin*)
! 11568: lt_cv_dlopen=dlopen
! 11569: lt_cv_dlopen_libs=
! 11570: ;;
! 11571:
! 11572: darwin*)
! 11573: # if libdl is installed we need to link against it
! 11574: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
! 11575: $as_echo_n "checking for dlopen in -ldl... " >&6; }
! 11576: if ${ac_cv_lib_dl_dlopen+:} false; then :
! 11577: $as_echo_n "(cached) " >&6
! 11578: else
! 11579: ac_check_lib_save_LIBS=$LIBS
! 11580: LIBS="-ldl $LIBS"
! 11581: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 11582: /* end confdefs.h. */
! 11583:
! 11584: /* Override any GCC internal prototype to avoid an error.
! 11585: Use char because int might match the return type of a GCC
! 11586: builtin and then its argument prototype would still apply. */
! 11587: #ifdef __cplusplus
! 11588: extern "C"
! 11589: #endif
! 11590: char dlopen ();
! 11591: int
! 11592: main ()
! 11593: {
! 11594: return dlopen ();
! 11595: ;
! 11596: return 0;
! 11597: }
! 11598: _ACEOF
! 11599: if ac_fn_c_try_link "$LINENO"; then :
! 11600: ac_cv_lib_dl_dlopen=yes
! 11601: else
! 11602: ac_cv_lib_dl_dlopen=no
! 11603: fi
! 11604: rm -f core conftest.err conftest.$ac_objext \
! 11605: conftest$ac_exeext conftest.$ac_ext
! 11606: LIBS=$ac_check_lib_save_LIBS
! 11607: fi
! 11608: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
! 11609: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
! 11610: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
! 11611: lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
! 11612: else
! 11613:
! 11614: lt_cv_dlopen=dyld
! 11615: lt_cv_dlopen_libs=
! 11616: lt_cv_dlopen_self=yes
! 11617:
! 11618: fi
! 11619:
! 11620: ;;
! 11621:
! 11622: tpf*)
! 11623: # Don't try to run any link tests for TPF. We know it's impossible
! 11624: # because TPF is a cross-compiler, and we know how we open DSOs.
! 11625: lt_cv_dlopen=dlopen
! 11626: lt_cv_dlopen_libs=
! 11627: lt_cv_dlopen_self=no
! 11628: ;;
! 11629:
! 11630: *)
! 11631: ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
! 11632: if test "x$ac_cv_func_shl_load" = xyes; then :
! 11633: lt_cv_dlopen=shl_load
! 11634: else
! 11635: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
! 11636: $as_echo_n "checking for shl_load in -ldld... " >&6; }
! 11637: if ${ac_cv_lib_dld_shl_load+:} false; then :
! 11638: $as_echo_n "(cached) " >&6
! 11639: else
! 11640: ac_check_lib_save_LIBS=$LIBS
! 11641: LIBS="-ldld $LIBS"
! 11642: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 11643: /* end confdefs.h. */
! 11644:
! 11645: /* Override any GCC internal prototype to avoid an error.
! 11646: Use char because int might match the return type of a GCC
! 11647: builtin and then its argument prototype would still apply. */
! 11648: #ifdef __cplusplus
! 11649: extern "C"
! 11650: #endif
! 11651: char shl_load ();
! 11652: int
! 11653: main ()
! 11654: {
! 11655: return shl_load ();
! 11656: ;
! 11657: return 0;
! 11658: }
! 11659: _ACEOF
! 11660: if ac_fn_c_try_link "$LINENO"; then :
! 11661: ac_cv_lib_dld_shl_load=yes
! 11662: else
! 11663: ac_cv_lib_dld_shl_load=no
! 11664: fi
! 11665: rm -f core conftest.err conftest.$ac_objext \
! 11666: conftest$ac_exeext conftest.$ac_ext
! 11667: LIBS=$ac_check_lib_save_LIBS
! 11668: fi
! 11669: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
! 11670: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
! 11671: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
! 11672: lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
! 11673: else
! 11674: ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
! 11675: if test "x$ac_cv_func_dlopen" = xyes; then :
! 11676: lt_cv_dlopen=dlopen
! 11677: else
! 11678: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
! 11679: $as_echo_n "checking for dlopen in -ldl... " >&6; }
! 11680: if ${ac_cv_lib_dl_dlopen+:} false; then :
! 11681: $as_echo_n "(cached) " >&6
! 11682: else
! 11683: ac_check_lib_save_LIBS=$LIBS
! 11684: LIBS="-ldl $LIBS"
! 11685: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 11686: /* end confdefs.h. */
! 11687:
! 11688: /* Override any GCC internal prototype to avoid an error.
! 11689: Use char because int might match the return type of a GCC
! 11690: builtin and then its argument prototype would still apply. */
! 11691: #ifdef __cplusplus
! 11692: extern "C"
! 11693: #endif
! 11694: char dlopen ();
! 11695: int
! 11696: main ()
! 11697: {
! 11698: return dlopen ();
! 11699: ;
! 11700: return 0;
! 11701: }
! 11702: _ACEOF
! 11703: if ac_fn_c_try_link "$LINENO"; then :
! 11704: ac_cv_lib_dl_dlopen=yes
! 11705: else
! 11706: ac_cv_lib_dl_dlopen=no
! 11707: fi
! 11708: rm -f core conftest.err conftest.$ac_objext \
! 11709: conftest$ac_exeext conftest.$ac_ext
! 11710: LIBS=$ac_check_lib_save_LIBS
! 11711: fi
! 11712: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
! 11713: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
! 11714: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
! 11715: lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
! 11716: else
! 11717: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
! 11718: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
! 11719: if ${ac_cv_lib_svld_dlopen+:} false; then :
! 11720: $as_echo_n "(cached) " >&6
! 11721: else
! 11722: ac_check_lib_save_LIBS=$LIBS
! 11723: LIBS="-lsvld $LIBS"
! 11724: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 11725: /* end confdefs.h. */
! 11726:
! 11727: /* Override any GCC internal prototype to avoid an error.
! 11728: Use char because int might match the return type of a GCC
! 11729: builtin and then its argument prototype would still apply. */
! 11730: #ifdef __cplusplus
! 11731: extern "C"
! 11732: #endif
! 11733: char dlopen ();
! 11734: int
! 11735: main ()
! 11736: {
! 11737: return dlopen ();
! 11738: ;
! 11739: return 0;
! 11740: }
! 11741: _ACEOF
! 11742: if ac_fn_c_try_link "$LINENO"; then :
! 11743: ac_cv_lib_svld_dlopen=yes
! 11744: else
! 11745: ac_cv_lib_svld_dlopen=no
! 11746: fi
! 11747: rm -f core conftest.err conftest.$ac_objext \
! 11748: conftest$ac_exeext conftest.$ac_ext
! 11749: LIBS=$ac_check_lib_save_LIBS
! 11750: fi
! 11751: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
! 11752: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
! 11753: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
! 11754: lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
! 11755: else
! 11756: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
! 11757: $as_echo_n "checking for dld_link in -ldld... " >&6; }
! 11758: if ${ac_cv_lib_dld_dld_link+:} false; then :
! 11759: $as_echo_n "(cached) " >&6
! 11760: else
! 11761: ac_check_lib_save_LIBS=$LIBS
! 11762: LIBS="-ldld $LIBS"
! 11763: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 11764: /* end confdefs.h. */
! 11765:
! 11766: /* Override any GCC internal prototype to avoid an error.
! 11767: Use char because int might match the return type of a GCC
! 11768: builtin and then its argument prototype would still apply. */
! 11769: #ifdef __cplusplus
! 11770: extern "C"
! 11771: #endif
! 11772: char dld_link ();
! 11773: int
! 11774: main ()
! 11775: {
! 11776: return dld_link ();
! 11777: ;
! 11778: return 0;
! 11779: }
! 11780: _ACEOF
! 11781: if ac_fn_c_try_link "$LINENO"; then :
! 11782: ac_cv_lib_dld_dld_link=yes
! 11783: else
! 11784: ac_cv_lib_dld_dld_link=no
! 11785: fi
! 11786: rm -f core conftest.err conftest.$ac_objext \
! 11787: conftest$ac_exeext conftest.$ac_ext
! 11788: LIBS=$ac_check_lib_save_LIBS
! 11789: fi
! 11790: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
! 11791: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
! 11792: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
! 11793: lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
! 11794: fi
! 11795:
! 11796:
! 11797: fi
! 11798:
! 11799:
! 11800: fi
! 11801:
! 11802:
! 11803: fi
! 11804:
! 11805:
! 11806: fi
! 11807:
! 11808:
! 11809: fi
! 11810:
! 11811: ;;
! 11812: esac
! 11813:
! 11814: if test no = "$lt_cv_dlopen"; then
! 11815: enable_dlopen=no
! 11816: else
! 11817: enable_dlopen=yes
! 11818: fi
! 11819:
! 11820: case $lt_cv_dlopen in
! 11821: dlopen)
! 11822: save_CPPFLAGS=$CPPFLAGS
! 11823: test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
! 11824:
! 11825: save_LDFLAGS=$LDFLAGS
! 11826: wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
! 11827:
! 11828: save_LIBS=$LIBS
! 11829: LIBS="$lt_cv_dlopen_libs $LIBS"
! 11830:
! 11831: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
! 11832: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
! 11833: if ${lt_cv_dlopen_self+:} false; then :
! 11834: $as_echo_n "(cached) " >&6
! 11835: else
! 11836: if test yes = "$cross_compiling"; then :
! 11837: lt_cv_dlopen_self=cross
! 11838: else
! 11839: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
! 11840: lt_status=$lt_dlunknown
! 11841: cat > conftest.$ac_ext <<_LT_EOF
! 11842: #line $LINENO "configure"
! 11843: #include "confdefs.h"
! 11844:
! 11845: #if HAVE_DLFCN_H
! 11846: #include <dlfcn.h>
! 11847: #endif
! 11848:
! 11849: #include <stdio.h>
! 11850:
! 11851: #ifdef RTLD_GLOBAL
! 11852: # define LT_DLGLOBAL RTLD_GLOBAL
! 11853: #else
! 11854: # ifdef DL_GLOBAL
! 11855: # define LT_DLGLOBAL DL_GLOBAL
! 11856: # else
! 11857: # define LT_DLGLOBAL 0
! 11858: # endif
! 11859: #endif
! 11860:
! 11861: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
! 11862: find out it does not work in some platform. */
! 11863: #ifndef LT_DLLAZY_OR_NOW
! 11864: # ifdef RTLD_LAZY
! 11865: # define LT_DLLAZY_OR_NOW RTLD_LAZY
! 11866: # else
! 11867: # ifdef DL_LAZY
! 11868: # define LT_DLLAZY_OR_NOW DL_LAZY
! 11869: # else
! 11870: # ifdef RTLD_NOW
! 11871: # define LT_DLLAZY_OR_NOW RTLD_NOW
! 11872: # else
! 11873: # ifdef DL_NOW
! 11874: # define LT_DLLAZY_OR_NOW DL_NOW
! 11875: # else
! 11876: # define LT_DLLAZY_OR_NOW 0
! 11877: # endif
! 11878: # endif
! 11879: # endif
! 11880: # endif
! 11881: #endif
! 11882:
! 11883: /* When -fvisibility=hidden is used, assume the code has been annotated
! 11884: correspondingly for the symbols needed. */
! 11885: #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
! 11886: int fnord () __attribute__((visibility("default")));
! 11887: #endif
! 11888:
! 11889: int fnord () { return 42; }
! 11890: int main ()
! 11891: {
! 11892: void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
! 11893: int status = $lt_dlunknown;
! 11894:
! 11895: if (self)
! 11896: {
! 11897: if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
! 11898: else
! 11899: {
! 11900: if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
! 11901: else puts (dlerror ());
! 11902: }
! 11903: /* dlclose (self); */
! 11904: }
! 11905: else
! 11906: puts (dlerror ());
! 11907:
! 11908: return status;
! 11909: }
! 11910: _LT_EOF
! 11911: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
! 11912: (eval $ac_link) 2>&5
! 11913: ac_status=$?
! 11914: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 11915: test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
! 11916: (./conftest; exit; ) >&5 2>/dev/null
! 11917: lt_status=$?
! 11918: case x$lt_status in
! 11919: x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
! 11920: x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
! 11921: x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
! 11922: esac
! 11923: else :
! 11924: # compilation failed
! 11925: lt_cv_dlopen_self=no
! 11926: fi
! 11927: fi
! 11928: rm -fr conftest*
! 11929:
! 11930:
! 11931: fi
! 11932: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
! 11933: $as_echo "$lt_cv_dlopen_self" >&6; }
! 11934:
! 11935: if test yes = "$lt_cv_dlopen_self"; then
! 11936: wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
! 11937: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
! 11938: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
! 11939: if ${lt_cv_dlopen_self_static+:} false; then :
! 11940: $as_echo_n "(cached) " >&6
! 11941: else
! 11942: if test yes = "$cross_compiling"; then :
! 11943: lt_cv_dlopen_self_static=cross
! 11944: else
! 11945: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
! 11946: lt_status=$lt_dlunknown
! 11947: cat > conftest.$ac_ext <<_LT_EOF
! 11948: #line $LINENO "configure"
! 11949: #include "confdefs.h"
! 11950:
! 11951: #if HAVE_DLFCN_H
! 11952: #include <dlfcn.h>
! 11953: #endif
! 11954:
! 11955: #include <stdio.h>
! 11956:
! 11957: #ifdef RTLD_GLOBAL
! 11958: # define LT_DLGLOBAL RTLD_GLOBAL
! 11959: #else
! 11960: # ifdef DL_GLOBAL
! 11961: # define LT_DLGLOBAL DL_GLOBAL
! 11962: # else
! 11963: # define LT_DLGLOBAL 0
! 11964: # endif
! 11965: #endif
! 11966:
! 11967: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
! 11968: find out it does not work in some platform. */
! 11969: #ifndef LT_DLLAZY_OR_NOW
! 11970: # ifdef RTLD_LAZY
! 11971: # define LT_DLLAZY_OR_NOW RTLD_LAZY
! 11972: # else
! 11973: # ifdef DL_LAZY
! 11974: # define LT_DLLAZY_OR_NOW DL_LAZY
! 11975: # else
! 11976: # ifdef RTLD_NOW
! 11977: # define LT_DLLAZY_OR_NOW RTLD_NOW
! 11978: # else
! 11979: # ifdef DL_NOW
! 11980: # define LT_DLLAZY_OR_NOW DL_NOW
! 11981: # else
! 11982: # define LT_DLLAZY_OR_NOW 0
! 11983: # endif
! 11984: # endif
! 11985: # endif
! 11986: # endif
! 11987: #endif
! 11988:
! 11989: /* When -fvisibility=hidden is used, assume the code has been annotated
! 11990: correspondingly for the symbols needed. */
! 11991: #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
! 11992: int fnord () __attribute__((visibility("default")));
! 11993: #endif
! 11994:
! 11995: int fnord () { return 42; }
! 11996: int main ()
! 11997: {
! 11998: void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
! 11999: int status = $lt_dlunknown;
! 12000:
! 12001: if (self)
! 12002: {
! 12003: if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
! 12004: else
! 12005: {
! 12006: if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
! 12007: else puts (dlerror ());
! 12008: }
! 12009: /* dlclose (self); */
! 12010: }
! 12011: else
! 12012: puts (dlerror ());
! 12013:
! 12014: return status;
! 12015: }
! 12016: _LT_EOF
! 12017: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
! 12018: (eval $ac_link) 2>&5
! 12019: ac_status=$?
! 12020: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 12021: test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
! 12022: (./conftest; exit; ) >&5 2>/dev/null
! 12023: lt_status=$?
! 12024: case x$lt_status in
! 12025: x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
! 12026: x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
! 12027: x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
! 12028: esac
! 12029: else :
! 12030: # compilation failed
! 12031: lt_cv_dlopen_self_static=no
! 12032: fi
! 12033: fi
! 12034: rm -fr conftest*
! 12035:
! 12036:
! 12037: fi
! 12038: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
! 12039: $as_echo "$lt_cv_dlopen_self_static" >&6; }
! 12040: fi
! 12041:
! 12042: CPPFLAGS=$save_CPPFLAGS
! 12043: LDFLAGS=$save_LDFLAGS
! 12044: LIBS=$save_LIBS
! 12045: ;;
! 12046: esac
! 12047:
! 12048: case $lt_cv_dlopen_self in
! 12049: yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
! 12050: *) enable_dlopen_self=unknown ;;
! 12051: esac
! 12052:
! 12053: case $lt_cv_dlopen_self_static in
! 12054: yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
! 12055: *) enable_dlopen_self_static=unknown ;;
! 12056: esac
! 12057: fi
! 12058:
! 12059:
! 12060:
! 12061:
! 12062:
! 12063:
! 12064:
! 12065:
! 12066:
! 12067:
! 12068:
! 12069:
! 12070:
! 12071:
! 12072:
! 12073:
! 12074:
! 12075: striplib=
! 12076: old_striplib=
! 12077: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
! 12078: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
! 12079: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
! 12080: test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
! 12081: test -z "$striplib" && striplib="$STRIP --strip-unneeded"
! 12082: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 12083: $as_echo "yes" >&6; }
! 12084: else
! 12085: # FIXME - insert some real tests, host_os isn't really good enough
! 12086: case $host_os in
! 12087: darwin*)
! 12088: if test -n "$STRIP"; then
! 12089: striplib="$STRIP -x"
! 12090: old_striplib="$STRIP -S"
! 12091: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 12092: $as_echo "yes" >&6; }
! 12093: else
! 12094: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 12095: $as_echo "no" >&6; }
! 12096: fi
! 12097: ;;
! 12098: *)
! 12099: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 12100: $as_echo "no" >&6; }
! 12101: ;;
! 12102: esac
! 12103: fi
! 12104:
! 12105:
! 12106:
! 12107:
! 12108:
! 12109:
! 12110:
! 12111:
! 12112:
! 12113:
! 12114:
! 12115:
! 12116: # Report what library types will actually be built
! 12117: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
! 12118: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
! 12119: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
! 12120: $as_echo "$can_build_shared" >&6; }
! 12121:
! 12122: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
! 12123: $as_echo_n "checking whether to build shared libraries... " >&6; }
! 12124: test no = "$can_build_shared" && enable_shared=no
! 12125:
! 12126: # On AIX, shared libraries and static libraries use the same namespace, and
! 12127: # are all built from PIC.
! 12128: case $host_os in
! 12129: aix3*)
! 12130: test yes = "$enable_shared" && enable_static=no
! 12131: if test -n "$RANLIB"; then
! 12132: archive_cmds="$archive_cmds~\$RANLIB \$lib"
! 12133: postinstall_cmds='$RANLIB $lib'
! 12134: fi
! 12135: ;;
! 12136:
! 12137: aix[4-9]*)
! 12138: if test ia64 != "$host_cpu"; then
! 12139: case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
! 12140: yes,aix,yes) ;; # shared object as lib.so file only
! 12141: yes,svr4,*) ;; # shared object as lib.so archive member only
! 12142: yes,*) enable_static=no ;; # shared object in lib.a archive as well
! 12143: esac
! 12144: fi
! 12145: ;;
! 12146: esac
! 12147: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
! 12148: $as_echo "$enable_shared" >&6; }
! 12149:
! 12150: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
! 12151: $as_echo_n "checking whether to build static libraries... " >&6; }
! 12152: # Make sure either enable_shared or enable_static is yes.
! 12153: test yes = "$enable_shared" || enable_static=yes
! 12154: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
! 12155: $as_echo "$enable_static" >&6; }
! 12156:
! 12157:
! 12158:
! 12159:
! 12160: fi
! 12161: ac_ext=c
! 12162: ac_cpp='$CPP $CPPFLAGS'
! 12163: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 12164: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 12165: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 12166:
! 12167: CC=$lt_save_CC
! 12168:
! 12169:
! 12170:
! 12171:
! 12172:
! 12173:
! 12174:
! 12175:
! 12176:
! 12177:
! 12178:
! 12179:
! 12180:
! 12181:
! 12182:
! 12183: ac_config_commands="$ac_config_commands libtool"
! 12184:
! 12185:
! 12186:
! 12187:
! 12188: # Only expand once:
! 12189:
! 12190:
! 12191:
! 12192: ac_ext=c
! 12193: ac_cpp='$CPP $CPPFLAGS'
! 12194: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 12195: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 12196: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 12197: if test -n "$ac_tool_prefix"; then
! 12198: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
! 12199: set dummy ${ac_tool_prefix}gcc; ac_word=$2
! 12200: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 12201: $as_echo_n "checking for $ac_word... " >&6; }
! 12202: if ${ac_cv_prog_CC+:} false; then :
! 12203: $as_echo_n "(cached) " >&6
! 12204: else
! 12205: if test -n "$CC"; then
! 12206: ac_cv_prog_CC="$CC" # Let the user override the test.
! 12207: else
! 12208: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 12209: for as_dir in $PATH
! 12210: do
! 12211: IFS=$as_save_IFS
! 12212: test -z "$as_dir" && as_dir=.
! 12213: for ac_exec_ext in '' $ac_executable_extensions; do
! 12214: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 12215: ac_cv_prog_CC="${ac_tool_prefix}gcc"
! 12216: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 12217: break 2
! 12218: fi
! 12219: done
! 12220: done
! 12221: IFS=$as_save_IFS
! 12222:
! 12223: fi
! 12224: fi
! 12225: CC=$ac_cv_prog_CC
! 12226: if test -n "$CC"; then
! 12227: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
! 12228: $as_echo "$CC" >&6; }
! 12229: else
! 12230: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 12231: $as_echo "no" >&6; }
! 12232: fi
! 12233:
! 12234:
! 12235: fi
! 12236: if test -z "$ac_cv_prog_CC"; then
! 12237: ac_ct_CC=$CC
! 12238: # Extract the first word of "gcc", so it can be a program name with args.
! 12239: set dummy gcc; ac_word=$2
! 12240: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 12241: $as_echo_n "checking for $ac_word... " >&6; }
! 12242: if ${ac_cv_prog_ac_ct_CC+:} false; then :
! 12243: $as_echo_n "(cached) " >&6
! 12244: else
! 12245: if test -n "$ac_ct_CC"; then
! 12246: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 12247: else
! 12248: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 12249: for as_dir in $PATH
! 12250: do
! 12251: IFS=$as_save_IFS
! 12252: test -z "$as_dir" && as_dir=.
! 12253: for ac_exec_ext in '' $ac_executable_extensions; do
! 12254: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 12255: ac_cv_prog_ac_ct_CC="gcc"
! 12256: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 12257: break 2
! 12258: fi
! 12259: done
! 12260: done
! 12261: IFS=$as_save_IFS
! 12262:
! 12263: fi
! 12264: fi
! 12265: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 12266: if test -n "$ac_ct_CC"; then
! 12267: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
! 12268: $as_echo "$ac_ct_CC" >&6; }
! 12269: else
! 12270: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 12271: $as_echo "no" >&6; }
! 12272: fi
! 12273:
! 12274: if test "x$ac_ct_CC" = x; then
! 12275: CC=""
! 12276: else
! 12277: case $cross_compiling:$ac_tool_warned in
! 12278: yes:)
! 12279: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 12280: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 12281: ac_tool_warned=yes ;;
! 12282: esac
! 12283: CC=$ac_ct_CC
! 12284: fi
! 12285: else
! 12286: CC="$ac_cv_prog_CC"
! 12287: fi
! 12288:
! 12289: if test -z "$CC"; then
! 12290: if test -n "$ac_tool_prefix"; then
! 12291: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
! 12292: set dummy ${ac_tool_prefix}cc; ac_word=$2
! 12293: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 12294: $as_echo_n "checking for $ac_word... " >&6; }
! 12295: if ${ac_cv_prog_CC+:} false; then :
! 12296: $as_echo_n "(cached) " >&6
! 12297: else
! 12298: if test -n "$CC"; then
! 12299: ac_cv_prog_CC="$CC" # Let the user override the test.
! 12300: else
! 12301: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 12302: for as_dir in $PATH
! 12303: do
! 12304: IFS=$as_save_IFS
! 12305: test -z "$as_dir" && as_dir=.
! 12306: for ac_exec_ext in '' $ac_executable_extensions; do
! 12307: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 12308: ac_cv_prog_CC="${ac_tool_prefix}cc"
! 12309: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 12310: break 2
! 12311: fi
! 12312: done
! 12313: done
! 12314: IFS=$as_save_IFS
! 12315:
! 12316: fi
! 12317: fi
! 12318: CC=$ac_cv_prog_CC
! 12319: if test -n "$CC"; then
! 12320: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
! 12321: $as_echo "$CC" >&6; }
! 12322: else
! 12323: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 12324: $as_echo "no" >&6; }
! 12325: fi
! 12326:
! 12327:
! 12328: fi
! 12329: fi
! 12330: if test -z "$CC"; then
! 12331: # Extract the first word of "cc", so it can be a program name with args.
! 12332: set dummy cc; ac_word=$2
! 12333: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 12334: $as_echo_n "checking for $ac_word... " >&6; }
! 12335: if ${ac_cv_prog_CC+:} false; then :
! 12336: $as_echo_n "(cached) " >&6
! 12337: else
! 12338: if test -n "$CC"; then
! 12339: ac_cv_prog_CC="$CC" # Let the user override the test.
! 12340: else
! 12341: ac_prog_rejected=no
! 12342: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 12343: for as_dir in $PATH
! 12344: do
! 12345: IFS=$as_save_IFS
! 12346: test -z "$as_dir" && as_dir=.
! 12347: for ac_exec_ext in '' $ac_executable_extensions; do
! 12348: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 12349: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
! 12350: ac_prog_rejected=yes
! 12351: continue
! 12352: fi
! 12353: ac_cv_prog_CC="cc"
! 12354: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 12355: break 2
! 12356: fi
! 12357: done
! 12358: done
! 12359: IFS=$as_save_IFS
! 12360:
! 12361: if test $ac_prog_rejected = yes; then
! 12362: # We found a bogon in the path, so make sure we never use it.
! 12363: set dummy $ac_cv_prog_CC
! 12364: shift
! 12365: if test $# != 0; then
! 12366: # We chose a different compiler from the bogus one.
! 12367: # However, it has the same basename, so the bogon will be chosen
! 12368: # first if we set CC to just the basename; use the full file name.
! 12369: shift
! 12370: ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
! 12371: fi
! 12372: fi
! 12373: fi
! 12374: fi
! 12375: CC=$ac_cv_prog_CC
! 12376: if test -n "$CC"; then
! 12377: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
! 12378: $as_echo "$CC" >&6; }
! 12379: else
! 12380: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 12381: $as_echo "no" >&6; }
! 12382: fi
! 12383:
! 12384:
! 12385: fi
! 12386: if test -z "$CC"; then
! 12387: if test -n "$ac_tool_prefix"; then
! 12388: for ac_prog in cl.exe
! 12389: do
! 12390: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 12391: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 12392: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 12393: $as_echo_n "checking for $ac_word... " >&6; }
! 12394: if ${ac_cv_prog_CC+:} false; then :
! 12395: $as_echo_n "(cached) " >&6
! 12396: else
! 12397: if test -n "$CC"; then
! 12398: ac_cv_prog_CC="$CC" # Let the user override the test.
! 12399: else
! 12400: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 12401: for as_dir in $PATH
! 12402: do
! 12403: IFS=$as_save_IFS
! 12404: test -z "$as_dir" && as_dir=.
! 12405: for ac_exec_ext in '' $ac_executable_extensions; do
! 12406: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 12407: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
! 12408: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 12409: break 2
! 12410: fi
! 12411: done
! 12412: done
! 12413: IFS=$as_save_IFS
! 12414:
! 12415: fi
! 12416: fi
! 12417: CC=$ac_cv_prog_CC
! 12418: if test -n "$CC"; then
! 12419: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
! 12420: $as_echo "$CC" >&6; }
! 12421: else
! 12422: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 12423: $as_echo "no" >&6; }
! 12424: fi
! 12425:
! 12426:
! 12427: test -n "$CC" && break
! 12428: done
! 12429: fi
! 12430: if test -z "$CC"; then
! 12431: ac_ct_CC=$CC
! 12432: for ac_prog in cl.exe
! 12433: do
! 12434: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 12435: set dummy $ac_prog; ac_word=$2
! 12436: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 12437: $as_echo_n "checking for $ac_word... " >&6; }
! 12438: if ${ac_cv_prog_ac_ct_CC+:} false; then :
! 12439: $as_echo_n "(cached) " >&6
! 12440: else
! 12441: if test -n "$ac_ct_CC"; then
! 12442: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 12443: else
! 12444: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 12445: for as_dir in $PATH
! 12446: do
! 12447: IFS=$as_save_IFS
! 12448: test -z "$as_dir" && as_dir=.
! 12449: for ac_exec_ext in '' $ac_executable_extensions; do
! 12450: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 12451: ac_cv_prog_ac_ct_CC="$ac_prog"
! 12452: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 12453: break 2
! 12454: fi
! 12455: done
! 12456: done
! 12457: IFS=$as_save_IFS
! 12458:
! 12459: fi
! 12460: fi
! 12461: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 12462: if test -n "$ac_ct_CC"; then
! 12463: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
! 12464: $as_echo "$ac_ct_CC" >&6; }
! 12465: else
! 12466: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 12467: $as_echo "no" >&6; }
! 12468: fi
! 12469:
! 12470:
! 12471: test -n "$ac_ct_CC" && break
! 12472: done
! 12473:
! 12474: if test "x$ac_ct_CC" = x; then
! 12475: CC=""
! 12476: else
! 12477: case $cross_compiling:$ac_tool_warned in
! 12478: yes:)
! 12479: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 12480: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 12481: ac_tool_warned=yes ;;
! 12482: esac
! 12483: CC=$ac_ct_CC
! 12484: fi
! 12485: fi
! 12486:
! 12487: fi
! 12488:
! 12489:
! 12490: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 12491: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 12492: as_fn_error $? "no acceptable C compiler found in \$PATH
! 12493: See \`config.log' for more details" "$LINENO" 5; }
! 12494:
! 12495: # Provide some information about the compiler.
! 12496: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
! 12497: set X $ac_compile
! 12498: ac_compiler=$2
! 12499: for ac_option in --version -v -V -qversion; do
! 12500: { { ac_try="$ac_compiler $ac_option >&5"
! 12501: case "(($ac_try" in
! 12502: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 12503: *) ac_try_echo=$ac_try;;
! 12504: esac
! 12505: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
! 12506: $as_echo "$ac_try_echo"; } >&5
! 12507: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
! 12508: ac_status=$?
! 12509: if test -s conftest.err; then
! 12510: sed '10a\
! 12511: ... rest of stderr output deleted ...
! 12512: 10q' conftest.err >conftest.er1
! 12513: cat conftest.er1 >&5
! 12514: fi
! 12515: rm -f conftest.er1 conftest.err
! 12516: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 12517: test $ac_status = 0; }
! 12518: done
! 12519:
! 12520: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
! 12521: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
! 12522: if ${ac_cv_c_compiler_gnu+:} false; then :
! 12523: $as_echo_n "(cached) " >&6
! 12524: else
! 12525: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 12526: /* end confdefs.h. */
! 12527:
! 12528: int
! 12529: main ()
! 12530: {
! 12531: #ifndef __GNUC__
! 12532: choke me
! 12533: #endif
! 12534:
! 12535: ;
! 12536: return 0;
! 12537: }
! 12538: _ACEOF
! 12539: if ac_fn_c_try_compile "$LINENO"; then :
! 12540: ac_compiler_gnu=yes
! 12541: else
! 12542: ac_compiler_gnu=no
! 12543: fi
! 12544: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 12545: ac_cv_c_compiler_gnu=$ac_compiler_gnu
! 12546:
! 12547: fi
! 12548: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
! 12549: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
! 12550: if test $ac_compiler_gnu = yes; then
! 12551: GCC=yes
! 12552: else
! 12553: GCC=
! 12554: fi
! 12555: ac_test_CFLAGS=${CFLAGS+set}
! 12556: ac_save_CFLAGS=$CFLAGS
! 12557: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
! 12558: $as_echo_n "checking whether $CC accepts -g... " >&6; }
! 12559: if ${ac_cv_prog_cc_g+:} false; then :
! 12560: $as_echo_n "(cached) " >&6
! 12561: else
! 12562: ac_save_c_werror_flag=$ac_c_werror_flag
! 12563: ac_c_werror_flag=yes
! 12564: ac_cv_prog_cc_g=no
! 12565: CFLAGS="-g"
! 12566: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 12567: /* end confdefs.h. */
! 12568:
! 12569: int
! 12570: main ()
! 12571: {
! 12572:
! 12573: ;
! 12574: return 0;
! 12575: }
! 12576: _ACEOF
! 12577: if ac_fn_c_try_compile "$LINENO"; then :
! 12578: ac_cv_prog_cc_g=yes
! 12579: else
! 12580: CFLAGS=""
! 12581: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 12582: /* end confdefs.h. */
! 12583:
! 12584: int
! 12585: main ()
! 12586: {
! 12587:
! 12588: ;
! 12589: return 0;
! 12590: }
! 12591: _ACEOF
! 12592: if ac_fn_c_try_compile "$LINENO"; then :
! 12593:
! 12594: else
! 12595: ac_c_werror_flag=$ac_save_c_werror_flag
! 12596: CFLAGS="-g"
! 12597: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 12598: /* end confdefs.h. */
! 12599:
! 12600: int
! 12601: main ()
! 12602: {
! 12603:
! 12604: ;
! 12605: return 0;
! 12606: }
! 12607: _ACEOF
! 12608: if ac_fn_c_try_compile "$LINENO"; then :
! 12609: ac_cv_prog_cc_g=yes
! 12610: fi
! 12611: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 12612: fi
! 12613: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 12614: fi
! 12615: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 12616: ac_c_werror_flag=$ac_save_c_werror_flag
! 12617: fi
! 12618: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
! 12619: $as_echo "$ac_cv_prog_cc_g" >&6; }
! 12620: if test "$ac_test_CFLAGS" = set; then
! 12621: CFLAGS=$ac_save_CFLAGS
! 12622: elif test $ac_cv_prog_cc_g = yes; then
! 12623: if test "$GCC" = yes; then
! 12624: CFLAGS="-g -O2"
! 12625: else
! 12626: CFLAGS="-g"
! 12627: fi
! 12628: else
! 12629: if test "$GCC" = yes; then
! 12630: CFLAGS="-O2"
! 12631: else
! 12632: CFLAGS=
! 12633: fi
! 12634: fi
! 12635: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
! 12636: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
! 12637: if ${ac_cv_prog_cc_c89+:} false; then :
! 12638: $as_echo_n "(cached) " >&6
! 12639: else
! 12640: ac_cv_prog_cc_c89=no
! 12641: ac_save_CC=$CC
! 12642: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 12643: /* end confdefs.h. */
! 12644: #include <stdarg.h>
! 12645: #include <stdio.h>
! 12646: struct stat;
! 12647: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
! 12648: struct buf { int x; };
! 12649: FILE * (*rcsopen) (struct buf *, struct stat *, int);
! 12650: static char *e (p, i)
! 12651: char **p;
! 12652: int i;
! 12653: {
! 12654: return p[i];
! 12655: }
! 12656: static char *f (char * (*g) (char **, int), char **p, ...)
! 12657: {
! 12658: char *s;
! 12659: va_list v;
! 12660: va_start (v,p);
! 12661: s = g (p, va_arg (v,int));
! 12662: va_end (v);
! 12663: return s;
! 12664: }
! 12665:
! 12666: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
! 12667: function prototypes and stuff, but not '\xHH' hex character constants.
! 12668: These don't provoke an error unfortunately, instead are silently treated
! 12669: as 'x'. The following induces an error, until -std is added to get
! 12670: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
! 12671: array size at least. It's necessary to write '\x00'==0 to get something
! 12672: that's true only with -std. */
! 12673: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
! 12674:
! 12675: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
! 12676: inside strings and character constants. */
! 12677: #define FOO(x) 'x'
! 12678: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
! 12679:
! 12680: int test (int i, double x);
! 12681: struct s1 {int (*f) (int a);};
! 12682: struct s2 {int (*f) (double a);};
! 12683: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
! 12684: int argc;
! 12685: char **argv;
! 12686: int
! 12687: main ()
! 12688: {
! 12689: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
! 12690: ;
! 12691: return 0;
! 12692: }
! 12693: _ACEOF
! 12694: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
! 12695: -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
! 12696: do
! 12697: CC="$ac_save_CC $ac_arg"
! 12698: if ac_fn_c_try_compile "$LINENO"; then :
! 12699: ac_cv_prog_cc_c89=$ac_arg
! 12700: fi
! 12701: rm -f core conftest.err conftest.$ac_objext
! 12702: test "x$ac_cv_prog_cc_c89" != "xno" && break
! 12703: done
! 12704: rm -f conftest.$ac_ext
! 12705: CC=$ac_save_CC
! 12706:
! 12707: fi
! 12708: # AC_CACHE_VAL
! 12709: case "x$ac_cv_prog_cc_c89" in
! 12710: x)
! 12711: { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
! 12712: $as_echo "none needed" >&6; } ;;
! 12713: xno)
! 12714: { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
! 12715: $as_echo "unsupported" >&6; } ;;
! 12716: *)
! 12717: CC="$CC $ac_cv_prog_cc_c89"
! 12718: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
! 12719: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
! 12720: esac
! 12721: if test "x$ac_cv_prog_cc_c89" != xno; then :
! 12722:
! 12723: fi
! 12724:
! 12725: ac_ext=c
! 12726: ac_cpp='$CPP $CPPFLAGS'
! 12727: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 12728: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 12729: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 12730:
! 12731: ac_ext=c
! 12732: ac_cpp='$CPP $CPPFLAGS'
! 12733: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 12734: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 12735: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 12736: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
! 12737: $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
! 12738: if ${am_cv_prog_cc_c_o+:} false; then :
! 12739: $as_echo_n "(cached) " >&6
! 12740: else
! 12741: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
! 12742: /* end confdefs.h. */
! 12743:
! 12744: int
! 12745: main ()
! 12746: {
! 12747:
! 12748: ;
! 12749: return 0;
! 12750: }
! 12751: _ACEOF
! 12752: # Make sure it works both with $CC and with simple cc.
! 12753: # Following AC_PROG_CC_C_O, we do the test twice because some
! 12754: # compilers refuse to overwrite an existing .o file with -o,
! 12755: # though they will create one.
! 12756: am_cv_prog_cc_c_o=yes
! 12757: for am_i in 1 2; do
! 12758: if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
! 12759: ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
! 12760: ac_status=$?
! 12761: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 12762: (exit $ac_status); } \
! 12763: && test -f conftest2.$ac_objext; then
! 12764: : OK
! 12765: else
! 12766: am_cv_prog_cc_c_o=no
! 12767: break
! 12768: fi
! 12769: done
! 12770: rm -f core conftest*
! 12771: unset am_i
! 12772: fi
! 12773: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
! 12774: $as_echo "$am_cv_prog_cc_c_o" >&6; }
! 12775: if test "$am_cv_prog_cc_c_o" != yes; then
! 12776: # Losing compiler, so override with the script.
! 12777: # FIXME: It is wrong to rewrite CC.
! 12778: # But if we don't then we get into trouble of one sort or another.
! 12779: # A longer-term fix would be to have automake use am__CC in this case,
! 12780: # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
! 12781: CC="$am_aux_dir/compile $CC"
! 12782: fi
! 12783: ac_ext=c
! 12784: ac_cpp='$CPP $CPPFLAGS'
! 12785: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 12786: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 12787: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 12788:
! 12789:
! 12790: depcc="$CC" am_compiler_list=
! 12791:
! 12792: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
! 12793: $as_echo_n "checking dependency style of $depcc... " >&6; }
! 12794: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
! 12795: $as_echo_n "(cached) " >&6
! 12796: else
! 12797: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
! 12798: # We make a subdir and do the tests there. Otherwise we can end up
! 12799: # making bogus files that we don't know about and never remove. For
! 12800: # instance it was reported that on HP-UX the gcc test will end up
! 12801: # making a dummy file named 'D' -- because '-MD' means "put the output
! 12802: # in D".
! 12803: rm -rf conftest.dir
! 12804: mkdir conftest.dir
! 12805: # Copy depcomp to subdir because otherwise we won't find it if we're
! 12806: # using a relative directory.
! 12807: cp "$am_depcomp" conftest.dir
! 12808: cd conftest.dir
! 12809: # We will build objects and dependencies in a subdirectory because
! 12810: # it helps to detect inapplicable dependency modes. For instance
! 12811: # both Tru64's cc and ICC support -MD to output dependencies as a
! 12812: # side effect of compilation, but ICC will put the dependencies in
! 12813: # the current directory while Tru64 will put them in the object
! 12814: # directory.
! 12815: mkdir sub
! 12816:
! 12817: am_cv_CC_dependencies_compiler_type=none
! 12818: if test "$am_compiler_list" = ""; then
! 12819: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
! 12820: fi
! 12821: am__universal=false
! 12822: case " $depcc " in #(
! 12823: *\ -arch\ *\ -arch\ *) am__universal=true ;;
! 12824: esac
! 12825:
! 12826: for depmode in $am_compiler_list; do
! 12827: # Setup a source with many dependencies, because some compilers
! 12828: # like to wrap large dependency lists on column 80 (with \), and
! 12829: # we should not choose a depcomp mode which is confused by this.
! 12830: #
! 12831: # We need to recreate these files for each test, as the compiler may
! 12832: # overwrite some of them when testing with obscure command lines.
! 12833: # This happens at least with the AIX C compiler.
! 12834: : > sub/conftest.c
! 12835: for i in 1 2 3 4 5 6; do
! 12836: echo '#include "conftst'$i'.h"' >> sub/conftest.c
! 12837: # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
! 12838: # Solaris 10 /bin/sh.
! 12839: echo '/* dummy */' > sub/conftst$i.h
! 12840: done
! 12841: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
! 12842:
! 12843: # We check with '-c' and '-o' for the sake of the "dashmstdout"
! 12844: # mode. It turns out that the SunPro C++ compiler does not properly
! 12845: # handle '-M -o', and we need to detect this. Also, some Intel
! 12846: # versions had trouble with output in subdirs.
! 12847: am__obj=sub/conftest.${OBJEXT-o}
! 12848: am__minus_obj="-o $am__obj"
! 12849: case $depmode in
! 12850: gcc)
! 12851: # This depmode causes a compiler race in universal mode.
! 12852: test "$am__universal" = false || continue
! 12853: ;;
! 12854: nosideeffect)
! 12855: # After this tag, mechanisms are not by side-effect, so they'll
! 12856: # only be used when explicitly requested.
! 12857: if test "x$enable_dependency_tracking" = xyes; then
! 12858: continue
! 12859: else
! 12860: break
! 12861: fi
! 12862: ;;
! 12863: msvc7 | msvc7msys | msvisualcpp | msvcmsys)
! 12864: # This compiler won't grok '-c -o', but also, the minuso test has
! 12865: # not run yet. These depmodes are late enough in the game, and
! 12866: # so weak that their functioning should not be impacted.
! 12867: am__obj=conftest.${OBJEXT-o}
! 12868: am__minus_obj=
! 12869: ;;
! 12870: none) break ;;
! 12871: esac
! 12872: if depmode=$depmode \
! 12873: source=sub/conftest.c object=$am__obj \
! 12874: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
! 12875: $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
! 12876: >/dev/null 2>conftest.err &&
! 12877: grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
! 12878: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
! 12879: grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
! 12880: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
! 12881: # icc doesn't choke on unknown options, it will just issue warnings
! 12882: # or remarks (even with -Werror). So we grep stderr for any message
! 12883: # that says an option was ignored or not supported.
! 12884: # When given -MP, icc 7.0 and 7.1 complain thusly:
! 12885: # icc: Command line warning: ignoring option '-M'; no argument required
! 12886: # The diagnosis changed in icc 8.0:
! 12887: # icc: Command line remark: option '-MP' not supported
! 12888: if (grep 'ignoring option' conftest.err ||
! 12889: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
! 12890: am_cv_CC_dependencies_compiler_type=$depmode
! 12891: break
! 12892: fi
! 12893: fi
1.1 noro 12894: done
12895:
1.5 ! ohara 12896: cd ..
! 12897: rm -rf conftest.dir
! 12898: else
! 12899: am_cv_CC_dependencies_compiler_type=none
1.1 noro 12900: fi
1.5 ! ohara 12901:
1.1 noro 12902: fi
1.5 ! ohara 12903: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
! 12904: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
! 12905: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
! 12906:
! 12907: if
! 12908: test "x$enable_dependency_tracking" != xno \
! 12909: && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
! 12910: am__fastdepCC_TRUE=
! 12911: am__fastdepCC_FALSE='#'
1.1 noro 12912: else
1.5 ! ohara 12913: am__fastdepCC_TRUE='#'
! 12914: am__fastdepCC_FALSE=
1.1 noro 12915: fi
12916:
1.5 ! ohara 12917:
! 12918:
! 12919: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
! 12920: $as_echo_n "checking whether ln -s works... " >&6; }
! 12921: LN_S=$as_ln_s
! 12922: if test "$LN_S" = "ln -s"; then
! 12923: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 12924: $as_echo "yes" >&6; }
1.1 noro 12925: else
1.5 ! ohara 12926: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
! 12927: $as_echo "no, using $LN_S" >&6; }
1.1 noro 12928: fi
12929:
1.5 ! ohara 12930: if test -n "$ac_tool_prefix"; then
! 12931: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
! 12932: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1.1 noro 12933: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12934: $as_echo_n "checking for $ac_word... " >&6; }
1.5 ! ohara 12935: if ${ac_cv_prog_RANLIB+:} false; then :
1.1 noro 12936: $as_echo_n "(cached) " >&6
12937: else
1.5 ! ohara 12938: if test -n "$RANLIB"; then
! 12939: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1.1 noro 12940: else
12941: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12942: for as_dir in $PATH
12943: do
12944: IFS=$as_save_IFS
12945: test -z "$as_dir" && as_dir=.
12946: for ac_exec_ext in '' $ac_executable_extensions; do
12947: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.5 ! ohara 12948: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1.1 noro 12949: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12950: break 2
12951: fi
12952: done
12953: done
12954: IFS=$as_save_IFS
12955:
12956: fi
12957: fi
1.5 ! ohara 12958: RANLIB=$ac_cv_prog_RANLIB
! 12959: if test -n "$RANLIB"; then
! 12960: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
! 12961: $as_echo "$RANLIB" >&6; }
1.1 noro 12962: else
12963: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12964: $as_echo "no" >&6; }
12965: fi
12966:
12967:
12968: fi
1.5 ! ohara 12969: if test -z "$ac_cv_prog_RANLIB"; then
! 12970: ac_ct_RANLIB=$RANLIB
! 12971: # Extract the first word of "ranlib", so it can be a program name with args.
! 12972: set dummy ranlib; ac_word=$2
! 12973: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 12974: $as_echo_n "checking for $ac_word... " >&6; }
! 12975: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
1.1 noro 12976: $as_echo_n "(cached) " >&6
12977: else
1.5 ! ohara 12978: if test -n "$ac_ct_RANLIB"; then
! 12979: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
! 12980: else
! 12981: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 12982: for as_dir in $PATH
1.1 noro 12983: do
1.5 ! ohara 12984: IFS=$as_save_IFS
! 12985: test -z "$as_dir" && as_dir=.
! 12986: for ac_exec_ext in '' $ac_executable_extensions; do
! 12987: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 12988: ac_cv_prog_ac_ct_RANLIB="ranlib"
! 12989: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 12990: break 2
! 12991: fi
1.1 noro 12992: done
1.5 ! ohara 12993: done
! 12994: IFS=$as_save_IFS
1.1 noro 12995:
12996: fi
12997: fi
1.5 ! ohara 12998: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
! 12999: if test -n "$ac_ct_RANLIB"; then
! 13000: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
! 13001: $as_echo "$ac_ct_RANLIB" >&6; }
1.1 noro 13002: else
1.5 ! ohara 13003: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 13004: $as_echo "no" >&6; }
1.1 noro 13005: fi
13006:
1.5 ! ohara 13007: if test "x$ac_ct_RANLIB" = x; then
! 13008: RANLIB=":"
! 13009: else
! 13010: case $cross_compiling:$ac_tool_warned in
! 13011: yes:)
! 13012: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
! 13013: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 13014: ac_tool_warned=yes ;;
! 13015: esac
! 13016: RANLIB=$ac_ct_RANLIB
! 13017: fi
1.1 noro 13018: else
1.5 ! ohara 13019: RANLIB="$ac_cv_prog_RANLIB"
1.1 noro 13020: fi
13021:
1.5 ! ohara 13022: for ac_prog in 'bison -o y.tab.c' byacc
! 13023: do
! 13024: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 13025: set dummy $ac_prog; ac_word=$2
! 13026: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
! 13027: $as_echo_n "checking for $ac_word... " >&6; }
! 13028: if ${ac_cv_prog_YACC+:} false; then :
! 13029: $as_echo_n "(cached) " >&6
! 13030: else
! 13031: if test -n "$YACC"; then
! 13032: ac_cv_prog_YACC="$YACC" # Let the user override the test.
! 13033: else
! 13034: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 13035: for as_dir in $PATH
! 13036: do
! 13037: IFS=$as_save_IFS
! 13038: test -z "$as_dir" && as_dir=.
! 13039: for ac_exec_ext in '' $ac_executable_extensions; do
! 13040: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 13041: ac_cv_prog_YACC="$ac_prog"
! 13042: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
! 13043: break 2
! 13044: fi
1.1 noro 13045: done
1.5 ! ohara 13046: done
! 13047: IFS=$as_save_IFS
1.1 noro 13048:
1.5 ! ohara 13049: fi
! 13050: fi
! 13051: YACC=$ac_cv_prog_YACC
! 13052: if test -n "$YACC"; then
! 13053: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
! 13054: $as_echo "$YACC" >&6; }
1.1 noro 13055: else
1.5 ! ohara 13056: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 13057: $as_echo "no" >&6; }
1.1 noro 13058: fi
13059:
1.5 ! ohara 13060:
! 13061: test -n "$YACC" && break
! 13062: done
! 13063: test -n "$YACC" || YACC="yacc"
! 13064:
1.1 noro 13065:
13066:
13067: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13068: $as_echo_n "checking for X... " >&6; }
13069:
13070:
13071: # Check whether --with-x was given.
13072: if test "${with_x+set}" = set; then :
13073: withval=$with_x;
13074: fi
13075:
13076: # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13077: if test "x$with_x" = xno; then
13078: # The user explicitly disabled X.
13079: have_x=disabled
13080: else
13081: case $x_includes,$x_libraries in #(
13082: *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13083: *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
13084: $as_echo_n "(cached) " >&6
13085: else
13086: # One or both of the vars are not set, and there is no cached value.
13087: ac_x_includes=no ac_x_libraries=no
13088: rm -f -r conftest.dir
13089: if mkdir conftest.dir; then
13090: cd conftest.dir
13091: cat >Imakefile <<'_ACEOF'
13092: incroot:
13093: @echo incroot='${INCROOT}'
13094: usrlibdir:
13095: @echo usrlibdir='${USRLIBDIR}'
13096: libdir:
13097: @echo libdir='${LIBDIR}'
13098: _ACEOF
13099: if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13100: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13101: for ac_var in incroot usrlibdir libdir; do
13102: eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13103: done
13104: # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13105: for ac_extension in a so sl dylib la dll; do
13106: if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13107: test -f "$ac_im_libdir/libX11.$ac_extension"; then
13108: ac_im_usrlibdir=$ac_im_libdir; break
13109: fi
13110: done
13111: # Screen out bogus values from the imake configuration. They are
13112: # bogus both because they are the default anyway, and because
13113: # using them would break gcc on systems where it needs fixed includes.
13114: case $ac_im_incroot in
13115: /usr/include) ac_x_includes= ;;
13116: *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13117: esac
13118: case $ac_im_usrlibdir in
13119: /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13120: *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13121: esac
13122: fi
13123: cd ..
13124: rm -f -r conftest.dir
13125: fi
13126:
13127: # Standard set of common directories for X headers.
13128: # Check X11 before X11Rn because it is often a symlink to the current release.
13129: ac_x_header_dirs='
13130: /usr/X11/include
13131: /usr/X11R7/include
13132: /usr/X11R6/include
13133: /usr/X11R5/include
13134: /usr/X11R4/include
13135:
13136: /usr/include/X11
13137: /usr/include/X11R7
13138: /usr/include/X11R6
13139: /usr/include/X11R5
13140: /usr/include/X11R4
13141:
13142: /usr/local/X11/include
13143: /usr/local/X11R7/include
13144: /usr/local/X11R6/include
13145: /usr/local/X11R5/include
13146: /usr/local/X11R4/include
13147:
13148: /usr/local/include/X11
13149: /usr/local/include/X11R7
13150: /usr/local/include/X11R6
13151: /usr/local/include/X11R5
13152: /usr/local/include/X11R4
13153:
13154: /usr/X386/include
13155: /usr/x386/include
13156: /usr/XFree86/include/X11
13157:
13158: /usr/include
13159: /usr/local/include
13160: /usr/unsupported/include
13161: /usr/athena/include
13162: /usr/local/x11r5/include
13163: /usr/lpp/Xamples/include
13164:
13165: /usr/openwin/include
13166: /usr/openwin/share/include'
13167:
13168: if test "$ac_x_includes" = no; then
13169: # Guess where to find include files, by looking for Xlib.h.
13170: # First, try using that file with no special directory specified.
13171: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13172: /* end confdefs.h. */
13173: #include <X11/Xlib.h>
13174: _ACEOF
13175: if ac_fn_c_try_cpp "$LINENO"; then :
13176: # We can compile using X headers with no special include directory.
13177: ac_x_includes=
13178: else
13179: for ac_dir in $ac_x_header_dirs; do
13180: if test -r "$ac_dir/X11/Xlib.h"; then
13181: ac_x_includes=$ac_dir
13182: break
13183: fi
13184: done
13185: fi
13186: rm -f conftest.err conftest.i conftest.$ac_ext
13187: fi # $ac_x_includes = no
13188:
13189: if test "$ac_x_libraries" = no; then
13190: # Check for the libraries.
13191: # See if we find them without any special options.
13192: # Don't add to $LIBS permanently.
13193: ac_save_LIBS=$LIBS
13194: LIBS="-lX11 $LIBS"
13195: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13196: /* end confdefs.h. */
13197: #include <X11/Xlib.h>
13198: int
13199: main ()
13200: {
13201: XrmInitialize ()
13202: ;
13203: return 0;
13204: }
13205: _ACEOF
13206: if ac_fn_c_try_link "$LINENO"; then :
13207: LIBS=$ac_save_LIBS
13208: # We can link X programs with no special library path.
13209: ac_x_libraries=
13210: else
13211: LIBS=$ac_save_LIBS
13212: for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13213: do
13214: # Don't even attempt the hair of trying to link an X program!
13215: for ac_extension in a so sl dylib la dll; do
13216: if test -r "$ac_dir/libX11.$ac_extension"; then
13217: ac_x_libraries=$ac_dir
13218: break 2
13219: fi
13220: done
13221: done
13222: fi
13223: rm -f core conftest.err conftest.$ac_objext \
13224: conftest$ac_exeext conftest.$ac_ext
13225: fi # $ac_x_libraries = no
13226:
13227: case $ac_x_includes,$ac_x_libraries in #(
13228: no,* | *,no | *\'*)
13229: # Didn't find X, or a directory has "'" in its name.
13230: ac_cv_have_x="have_x=no";; #(
13231: *)
13232: # Record where we found X for the cache.
13233: ac_cv_have_x="have_x=yes\
13234: ac_x_includes='$ac_x_includes'\
13235: ac_x_libraries='$ac_x_libraries'"
13236: esac
13237: fi
13238: ;; #(
13239: *) have_x=yes;;
13240: esac
13241: eval "$ac_cv_have_x"
13242: fi # $with_x != no
13243:
13244: if test "$have_x" != yes; then
13245: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13246: $as_echo "$have_x" >&6; }
13247: no_x=yes
13248: else
13249: # If each of the values was on the command line, it overrides each guess.
13250: test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13251: test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13252: # Update the cache value to reflect the command line values.
13253: ac_cv_have_x="have_x=yes\
13254: ac_x_includes='$x_includes'\
13255: ac_x_libraries='$x_libraries'"
13256: { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13257: $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13258: fi
13259:
13260: if test "$no_x" = yes; then
13261: # Not all programs may use this symbol, but it does not hurt to define it.
13262:
13263: $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
13264:
13265: X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13266: else
13267: if test -n "$x_includes"; then
13268: X_CFLAGS="$X_CFLAGS -I$x_includes"
13269: fi
13270:
13271: # It would also be nice to do this for all -L options, not just this one.
13272: if test -n "$x_libraries"; then
13273: X_LIBS="$X_LIBS -L$x_libraries"
13274: # For Solaris; some versions of Sun CC require a space after -R and
13275: # others require no space. Words are not sufficient . . . .
13276: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13277: $as_echo_n "checking whether -R must be followed by a space... " >&6; }
13278: ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13279: ac_xsave_c_werror_flag=$ac_c_werror_flag
13280: ac_c_werror_flag=yes
13281: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13282: /* end confdefs.h. */
13283:
13284: int
13285: main ()
13286: {
13287:
13288: ;
13289: return 0;
13290: }
13291: _ACEOF
13292: if ac_fn_c_try_link "$LINENO"; then :
13293: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13294: $as_echo "no" >&6; }
13295: X_LIBS="$X_LIBS -R$x_libraries"
13296: else
13297: LIBS="$ac_xsave_LIBS -R $x_libraries"
13298: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13299: /* end confdefs.h. */
13300:
13301: int
13302: main ()
13303: {
13304:
13305: ;
13306: return 0;
13307: }
13308: _ACEOF
13309: if ac_fn_c_try_link "$LINENO"; then :
13310: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13311: $as_echo "yes" >&6; }
13312: X_LIBS="$X_LIBS -R $x_libraries"
13313: else
13314: { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13315: $as_echo "neither works" >&6; }
13316: fi
13317: rm -f core conftest.err conftest.$ac_objext \
13318: conftest$ac_exeext conftest.$ac_ext
13319: fi
13320: rm -f core conftest.err conftest.$ac_objext \
13321: conftest$ac_exeext conftest.$ac_ext
13322: ac_c_werror_flag=$ac_xsave_c_werror_flag
13323: LIBS=$ac_xsave_LIBS
13324: fi
13325:
13326: # Check for system-dependent libraries X programs must link with.
13327: # Do this before checking for the system-independent R6 libraries
13328: # (-lICE), since we may need -lsocket or whatever for X linking.
13329:
13330: if test "$ISC" = yes; then
13331: X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13332: else
13333: # Martyn Johnson says this is needed for Ultrix, if the X
13334: # libraries were built with DECnet support. And Karl Berry says
13335: # the Alpha needs dnet_stub (dnet does not exist).
13336: ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13337: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13338: /* end confdefs.h. */
13339:
13340: /* Override any GCC internal prototype to avoid an error.
13341: Use char because int might match the return type of a GCC
13342: builtin and then its argument prototype would still apply. */
13343: #ifdef __cplusplus
13344: extern "C"
13345: #endif
13346: char XOpenDisplay ();
13347: int
13348: main ()
13349: {
13350: return XOpenDisplay ();
13351: ;
13352: return 0;
13353: }
13354: _ACEOF
13355: if ac_fn_c_try_link "$LINENO"; then :
13356:
13357: else
13358: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13359: $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
13360: if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
13361: $as_echo_n "(cached) " >&6
13362: else
13363: ac_check_lib_save_LIBS=$LIBS
13364: LIBS="-ldnet $LIBS"
13365: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13366: /* end confdefs.h. */
13367:
13368: /* Override any GCC internal prototype to avoid an error.
13369: Use char because int might match the return type of a GCC
13370: builtin and then its argument prototype would still apply. */
13371: #ifdef __cplusplus
13372: extern "C"
13373: #endif
13374: char dnet_ntoa ();
13375: int
13376: main ()
13377: {
13378: return dnet_ntoa ();
13379: ;
13380: return 0;
13381: }
13382: _ACEOF
13383: if ac_fn_c_try_link "$LINENO"; then :
13384: ac_cv_lib_dnet_dnet_ntoa=yes
13385: else
13386: ac_cv_lib_dnet_dnet_ntoa=no
13387: fi
13388: rm -f core conftest.err conftest.$ac_objext \
13389: conftest$ac_exeext conftest.$ac_ext
13390: LIBS=$ac_check_lib_save_LIBS
13391: fi
13392: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13393: $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13394: if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
13395: X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13396: fi
13397:
13398: if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13399: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13400: $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13401: if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
13402: $as_echo_n "(cached) " >&6
13403: else
13404: ac_check_lib_save_LIBS=$LIBS
13405: LIBS="-ldnet_stub $LIBS"
13406: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13407: /* end confdefs.h. */
13408:
13409: /* Override any GCC internal prototype to avoid an error.
13410: Use char because int might match the return type of a GCC
13411: builtin and then its argument prototype would still apply. */
13412: #ifdef __cplusplus
13413: extern "C"
13414: #endif
13415: char dnet_ntoa ();
13416: int
13417: main ()
13418: {
13419: return dnet_ntoa ();
13420: ;
13421: return 0;
13422: }
13423: _ACEOF
13424: if ac_fn_c_try_link "$LINENO"; then :
13425: ac_cv_lib_dnet_stub_dnet_ntoa=yes
13426: else
13427: ac_cv_lib_dnet_stub_dnet_ntoa=no
13428: fi
13429: rm -f core conftest.err conftest.$ac_objext \
13430: conftest$ac_exeext conftest.$ac_ext
13431: LIBS=$ac_check_lib_save_LIBS
13432: fi
13433: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13434: $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13435: if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
13436: X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13437: fi
13438:
13439: fi
13440: fi
13441: rm -f core conftest.err conftest.$ac_objext \
13442: conftest$ac_exeext conftest.$ac_ext
13443: LIBS="$ac_xsave_LIBS"
13444:
13445: # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13446: # to get the SysV transport functions.
13447: # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13448: # needs -lnsl.
13449: # The nsl library prevents programs from opening the X display
13450: # on Irix 5.2, according to T.E. Dickey.
13451: # The functions gethostbyname, getservbyname, and inet_addr are
13452: # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13453: ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13454: if test "x$ac_cv_func_gethostbyname" = xyes; then :
13455:
13456: fi
13457:
1.5 ! ohara 13458: if test $ac_cv_func_gethostbyname = no; then
! 13459: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
! 13460: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
! 13461: if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
1.1 noro 13462: $as_echo_n "(cached) " >&6
13463: else
13464: ac_check_lib_save_LIBS=$LIBS
1.5 ! ohara 13465: LIBS="-lnsl $LIBS"
1.1 noro 13466: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13467: /* end confdefs.h. */
13468:
13469: /* Override any GCC internal prototype to avoid an error.
13470: Use char because int might match the return type of a GCC
13471: builtin and then its argument prototype would still apply. */
13472: #ifdef __cplusplus
13473: extern "C"
13474: #endif
1.5 ! ohara 13475: char gethostbyname ();
1.1 noro 13476: int
13477: main ()
13478: {
1.5 ! ohara 13479: return gethostbyname ();
1.1 noro 13480: ;
13481: return 0;
13482: }
13483: _ACEOF
13484: if ac_fn_c_try_link "$LINENO"; then :
1.5 ! ohara 13485: ac_cv_lib_nsl_gethostbyname=yes
1.1 noro 13486: else
1.5 ! ohara 13487: ac_cv_lib_nsl_gethostbyname=no
1.1 noro 13488: fi
13489: rm -f core conftest.err conftest.$ac_objext \
13490: conftest$ac_exeext conftest.$ac_ext
13491: LIBS=$ac_check_lib_save_LIBS
13492: fi
1.5 ! ohara 13493: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
! 13494: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
! 13495: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
! 13496: X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
1.1 noro 13497: fi
13498:
1.5 ! ohara 13499: if test $ac_cv_lib_nsl_gethostbyname = no; then
! 13500: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
! 13501: $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
! 13502: if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
1.1 noro 13503: $as_echo_n "(cached) " >&6
13504: else
13505: ac_check_lib_save_LIBS=$LIBS
1.5 ! ohara 13506: LIBS="-lbsd $LIBS"
1.1 noro 13507: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13508: /* end confdefs.h. */
13509:
13510: /* Override any GCC internal prototype to avoid an error.
13511: Use char because int might match the return type of a GCC
13512: builtin and then its argument prototype would still apply. */
13513: #ifdef __cplusplus
13514: extern "C"
13515: #endif
1.5 ! ohara 13516: char gethostbyname ();
1.1 noro 13517: int
13518: main ()
13519: {
1.5 ! ohara 13520: return gethostbyname ();
1.1 noro 13521: ;
13522: return 0;
13523: }
13524: _ACEOF
13525: if ac_fn_c_try_link "$LINENO"; then :
1.5 ! ohara 13526: ac_cv_lib_bsd_gethostbyname=yes
1.1 noro 13527: else
1.5 ! ohara 13528: ac_cv_lib_bsd_gethostbyname=no
1.1 noro 13529: fi
13530: rm -f core conftest.err conftest.$ac_objext \
13531: conftest$ac_exeext conftest.$ac_ext
13532: LIBS=$ac_check_lib_save_LIBS
13533: fi
1.5 ! ohara 13534: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
! 13535: $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
! 13536: if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
! 13537: X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
1.1 noro 13538: fi
13539:
1.5 ! ohara 13540: fi
! 13541: fi
! 13542:
! 13543: # lieder@skyler.mavd.honeywell.com says without -lsocket,
! 13544: # socket/setsockopt and other routines are undefined under SCO ODT
! 13545: # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
! 13546: # on later versions), says Simon Leinen: it contains gethostby*
! 13547: # variants that don't use the name server (or something). -lsocket
! 13548: # must be given before -lnsl if both are needed. We assume that
! 13549: # if connect needs -lnsl, so does gethostbyname.
! 13550: ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
! 13551: if test "x$ac_cv_func_connect" = xyes; then :
! 13552:
1.1 noro 13553: fi
13554:
1.5 ! ohara 13555: if test $ac_cv_func_connect = no; then
! 13556: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
! 13557: $as_echo_n "checking for connect in -lsocket... " >&6; }
! 13558: if ${ac_cv_lib_socket_connect+:} false; then :
1.1 noro 13559: $as_echo_n "(cached) " >&6
13560: else
1.5 ! ohara 13561: ac_check_lib_save_LIBS=$LIBS
! 13562: LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
! 13563: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1 noro 13564: /* end confdefs.h. */
13565:
1.5 ! ohara 13566: /* Override any GCC internal prototype to avoid an error.
! 13567: Use char because int might match the return type of a GCC
! 13568: builtin and then its argument prototype would still apply. */
! 13569: #ifdef __cplusplus
! 13570: extern "C"
! 13571: #endif
! 13572: char connect ();
1.1 noro 13573: int
13574: main ()
13575: {
1.5 ! ohara 13576: return connect ();
1.1 noro 13577: ;
13578: return 0;
13579: }
13580: _ACEOF
1.5 ! ohara 13581: if ac_fn_c_try_link "$LINENO"; then :
! 13582: ac_cv_lib_socket_connect=yes
1.1 noro 13583: else
1.5 ! ohara 13584: ac_cv_lib_socket_connect=no
! 13585: fi
! 13586: rm -f core conftest.err conftest.$ac_objext \
! 13587: conftest$ac_exeext conftest.$ac_ext
! 13588: LIBS=$ac_check_lib_save_LIBS
! 13589: fi
! 13590: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
! 13591: $as_echo "$ac_cv_lib_socket_connect" >&6; }
! 13592: if test "x$ac_cv_lib_socket_connect" = xyes; then :
! 13593: X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
! 13594: fi
! 13595:
! 13596: fi
! 13597:
! 13598: # Guillermo Gomez says -lposix is necessary on A/UX.
! 13599: ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
! 13600: if test "x$ac_cv_func_remove" = xyes; then :
! 13601:
1.1 noro 13602: fi
13603:
1.5 ! ohara 13604: if test $ac_cv_func_remove = no; then
! 13605: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
! 13606: $as_echo_n "checking for remove in -lposix... " >&6; }
! 13607: if ${ac_cv_lib_posix_remove+:} false; then :
! 13608: $as_echo_n "(cached) " >&6
! 13609: else
! 13610: ac_check_lib_save_LIBS=$LIBS
! 13611: LIBS="-lposix $LIBS"
! 13612: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1 noro 13613: /* end confdefs.h. */
13614:
1.5 ! ohara 13615: /* Override any GCC internal prototype to avoid an error.
! 13616: Use char because int might match the return type of a GCC
! 13617: builtin and then its argument prototype would still apply. */
! 13618: #ifdef __cplusplus
! 13619: extern "C"
! 13620: #endif
! 13621: char remove ();
! 13622: int
! 13623: main ()
! 13624: {
! 13625: return remove ();
! 13626: ;
! 13627: return 0;
! 13628: }
1.1 noro 13629: _ACEOF
1.5 ! ohara 13630: if ac_fn_c_try_link "$LINENO"; then :
! 13631: ac_cv_lib_posix_remove=yes
1.1 noro 13632: else
1.5 ! ohara 13633: ac_cv_lib_posix_remove=no
! 13634: fi
! 13635: rm -f core conftest.err conftest.$ac_objext \
! 13636: conftest$ac_exeext conftest.$ac_ext
! 13637: LIBS=$ac_check_lib_save_LIBS
! 13638: fi
! 13639: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
! 13640: $as_echo "$ac_cv_lib_posix_remove" >&6; }
! 13641: if test "x$ac_cv_lib_posix_remove" = xyes; then :
! 13642: X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
1.1 noro 13643: fi
1.5 ! ohara 13644:
! 13645: fi
! 13646:
! 13647: # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
! 13648: ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
! 13649: if test "x$ac_cv_func_shmat" = xyes; then :
1.1 noro 13650:
13651: fi
13652:
1.5 ! ohara 13653: if test $ac_cv_func_shmat = no; then
! 13654: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
! 13655: $as_echo_n "checking for shmat in -lipc... " >&6; }
! 13656: if ${ac_cv_lib_ipc_shmat+:} false; then :
! 13657: $as_echo_n "(cached) " >&6
! 13658: else
! 13659: ac_check_lib_save_LIBS=$LIBS
! 13660: LIBS="-lipc $LIBS"
! 13661: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1 noro 13662: /* end confdefs.h. */
13663:
1.5 ! ohara 13664: /* Override any GCC internal prototype to avoid an error.
! 13665: Use char because int might match the return type of a GCC
! 13666: builtin and then its argument prototype would still apply. */
! 13667: #ifdef __cplusplus
! 13668: extern "C"
! 13669: #endif
! 13670: char shmat ();
! 13671: int
! 13672: main ()
! 13673: {
! 13674: return shmat ();
! 13675: ;
! 13676: return 0;
! 13677: }
1.1 noro 13678: _ACEOF
1.5 ! ohara 13679: if ac_fn_c_try_link "$LINENO"; then :
! 13680: ac_cv_lib_ipc_shmat=yes
1.1 noro 13681: else
1.5 ! ohara 13682: ac_cv_lib_ipc_shmat=no
! 13683: fi
! 13684: rm -f core conftest.err conftest.$ac_objext \
! 13685: conftest$ac_exeext conftest.$ac_ext
! 13686: LIBS=$ac_check_lib_save_LIBS
! 13687: fi
! 13688: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
! 13689: $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
! 13690: if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
! 13691: X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
1.1 noro 13692: fi
13693:
1.5 ! ohara 13694: fi
! 13695: fi
1.1 noro 13696:
1.5 ! ohara 13697: # Check for libraries that X11R6 Xt/Xaw programs need.
! 13698: ac_save_LDFLAGS=$LDFLAGS
! 13699: test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
! 13700: # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
! 13701: # check for ICE first), but we must link in the order -lSM -lICE or
! 13702: # we get undefined symbols. So assume we have SM if we have ICE.
! 13703: # These have to be linked with before -lX11, unlike the other
! 13704: # libraries we check for below, so use a different variable.
! 13705: # John Interrante, Karl Berry
! 13706: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
! 13707: $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
! 13708: if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
! 13709: $as_echo_n "(cached) " >&6
1.1 noro 13710: else
1.5 ! ohara 13711: ac_check_lib_save_LIBS=$LIBS
! 13712: LIBS="-lICE $X_EXTRA_LIBS $LIBS"
! 13713: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1 noro 13714: /* end confdefs.h. */
1.5 ! ohara 13715:
! 13716: /* Override any GCC internal prototype to avoid an error.
! 13717: Use char because int might match the return type of a GCC
! 13718: builtin and then its argument prototype would still apply. */
! 13719: #ifdef __cplusplus
! 13720: extern "C"
1.1 noro 13721: #endif
1.5 ! ohara 13722: char IceConnectionNumber ();
1.1 noro 13723: int
13724: main ()
13725: {
1.5 ! ohara 13726: return IceConnectionNumber ();
! 13727: ;
1.1 noro 13728: return 0;
13729: }
13730: _ACEOF
1.5 ! ohara 13731: if ac_fn_c_try_link "$LINENO"; then :
! 13732: ac_cv_lib_ICE_IceConnectionNumber=yes
! 13733: else
! 13734: ac_cv_lib_ICE_IceConnectionNumber=no
! 13735: fi
! 13736: rm -f core conftest.err conftest.$ac_objext \
! 13737: conftest$ac_exeext conftest.$ac_ext
! 13738: LIBS=$ac_check_lib_save_LIBS
! 13739: fi
! 13740: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
! 13741: $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
! 13742: if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
! 13743: X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
! 13744: fi
! 13745:
! 13746: LDFLAGS=$ac_save_LDFLAGS
! 13747:
! 13748: fi
! 13749:
1.1 noro 13750:
1.5 ! ohara 13751: # Check whether --enable-shared was given.
! 13752: if test "${enable_shared+set}" = set; then :
! 13753: enableval=$enable_shared; enable_shared=yes
1.1 noro 13754: else
1.5 ! ohara 13755: enable_shared=no
1.1 noro 13756: fi
1.5 ! ohara 13757:
! 13758:
! 13759: if test "${enable_shared:=no}" != no ; then
! 13760: true
1.1 noro 13761: fi
13762:
1.5 ! ohara 13763: if test "${ac_test_CFLAGS}" != set -a "${GCC}" = yes ; then
! 13764: if test "${ac_cv_prog_cc_g}" = yes; then
! 13765: CFLAGS="-g -O"
! 13766: else
! 13767: CFLAGS="-O"
! 13768: fi
! 13769: elif test `basename ./"${CC}"` = "icc" ; then
! 13770: CFLAGS="-g -O"
1.1 noro 13771: fi
13772:
13773:
1.5 ! ohara 13774: # Check whether --with-asir-gc was given.
! 13775: if test "${with_asir_gc+set}" = set; then :
! 13776: withval=$with_asir_gc; with_asir_gc=${withval}
! 13777: else
! 13778: with_asir_gc=yes
1.1 noro 13779: fi
13780:
1.5 ! ohara 13781: if test ${with_asir_gc:=yes} != no; then
! 13782: GCLIB='-L${prefix}/lib -lasir-gc'
! 13783: else
! 13784: GCLIB='-L${prefix}/lib -lgc'
! 13785: $as_echo "#define NO_ASIR_GC 1" >>confdefs.h
1.1 noro 13786:
13787: fi
1.5 ! ohara 13788: GCINC='-I${prefix}/include'
! 13789: $as_echo "#define GC7 1" >>confdefs.h
! 13790:
1.1 noro 13791:
13792:
13793:
13794: ac_fn_c_check_type "$LINENO" "unsigned long long" "ac_cv_type_unsigned_long_long" "$ac_includes_default"
13795: if test "x$ac_cv_type_unsigned_long_long" = xyes; then :
13796:
13797: cat >>confdefs.h <<_ACEOF
13798: #define HAVE_UNSIGNED_LONG_LONG 1
13799: _ACEOF
13800:
13801:
13802: fi
13803:
13804: # The cast to long int works around a bug in the HP C Compiler
13805: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13806: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13807: # This bug is HP SR number 8606223364.
13808: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
13809: $as_echo_n "checking size of long... " >&6; }
13810: if ${ac_cv_sizeof_long+:} false; then :
13811: $as_echo_n "(cached) " >&6
13812: else
13813: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
13814:
13815: else
13816: if test "$ac_cv_type_long" = yes; then
13817: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13818: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13819: as_fn_error 77 "cannot compute sizeof (long)
13820: See \`config.log' for more details" "$LINENO" 5; }
13821: else
13822: ac_cv_sizeof_long=0
13823: fi
13824: fi
13825:
13826: fi
13827: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
13828: $as_echo "$ac_cv_sizeof_long" >&6; }
13829:
13830:
13831:
13832: cat >>confdefs.h <<_ACEOF
13833: #define SIZEOF_LONG $ac_cv_sizeof_long
13834: _ACEOF
13835:
13836:
13837: if test "${ac_cv_sizeof_long}" = 8; then
13838: $as_echo "#define LONG_IS_64BIT 1" >>confdefs.h
13839:
13840: else
13841: $as_echo "#define LONG_IS_32BIT 1" >>confdefs.h
13842:
13843: fi
13844: if test "${no_x}" != yes ; then
13845: if test -f "${x_libraries}/libXpm.a" -o -f "${x_libraries}/libXpm.dll.a" ; then
13846: XPMLIB="-lXpm"
13847: fi
13848: # Check whether --enable-plot was given.
13849: if test "${enable_plot+set}" = set; then :
13850: enableval=$enable_plot; enable_plot=yes
13851: else
13852: enable_plot=no
13853: fi
13854:
13855: fi
13856:
13857:
1.5 ! ohara 13858: sufx=""
1.1 noro 13859: if test ${enable_plot:=no} != no ; then
1.5 ! ohara 13860: sufx=${sufx}_X
1.1 noro 13861: $as_echo "#define DO_PLOT 1" >>confdefs.h
13862:
13863: fi
13864: if test "$enable_plot" = yes; then
13865: USE_PLOT_TRUE=
13866: USE_PLOT_FALSE='#'
13867: else
13868: USE_PLOT_TRUE='#'
13869: USE_PLOT_FALSE=
13870: fi
13871:
13872:
1.4 kondoh 13873: GMPLIB="-L${libdir} -lmpfi -lmpc -lmpfr -lgmp"
1.1 noro 13874: # Check whether --enable-static_gmp was given.
13875: if test "${enable_static_gmp+set}" = set; then :
13876: enableval=$enable_static_gmp; enable_static_gmp=yes
13877: else
13878: enable_static_gmp=no
13879: fi
13880:
13881: if test ${enable_static_gmp:=no} != no ; then
1.5 ! ohara 13882: GMPLIB='${libdir}/libmpfi.a ${libdir}/libmpc.a ${libdir}/libmpfr.a ${libdir}/libgmp.a'
1.1 noro 13883: fi
13884:
13885:
13886: # Check whether --enable-interval was given.
13887: if test "${enable_interval+set}" = set; then :
13888: enableval=$enable_interval; enable_interval=${enableval}
13889: else
13890: enable_interval=no
13891: fi
13892:
13893:
13894: if test ${enable_interval:=no} != no ; then
1.5 ! ohara 13895: sufx=${sufx}_itv
1.1 noro 13896: $as_echo "#define INTERVAL 1" >>confdefs.h
13897:
13898: if test "${enable_interval}" = debug ; then
13899: $as_echo "#define ITVDEBUG 1" >>confdefs.h
13900:
13901: fi
13902: fi
13903:
13904:
13905: if test "${enable_fep:=no}" != no ; then
13906: $as_echo "#define FEP 1" >>confdefs.h
13907:
13908: FEPLIB="-lreadline -ltermcap"
13909: fi
13910:
13911:
13912: # Check whether --enable-fft-float was given.
13913: if test "${enable_fft_float+set}" = set; then :
13914: enableval=$enable_fft_float; enable_fft_float=yes
13915: else
13916: enable_fft_float=no
13917: fi
13918:
13919:
13920: if test "${enable_fft_float:=no}" != no ; then
13921: $as_echo "#define USE_FLOAT 1" >>confdefs.h
13922:
13923: fi
13924:
13925:
13926: # Check whether --with-mpi was given.
13927: if test "${with_mpi+set}" = set; then :
13928: withval=$with_mpi; with_mpi=${withval}
13929: else
13930: with_mpi=no
13931: fi
13932:
13933:
13934: if test "${with_mpi:=no}" != no ; then
13935: $as_echo "#define MPI 1" >>confdefs.h
13936:
13937: fi
13938:
13939:
13940: if test "${with_lapack:=no}" != no ; then
13941: LAPACKLIB="-llapack -lblas -lg2c"
13942: $as_echo "#define LAPACK 1" >>confdefs.h
13943:
13944: fi
13945:
13946:
13947:
13948:
13949: case "${host}" in
13950: i[3-6]86-*-linux*|x86-*-linux*)
13951: $as_echo "#define _BSD_SOURCE 1" >>confdefs.h
13952:
13953: ;;
1.5 ! ohara 13954: arm*-*-linux*)
! 13955: if test "${ac_test_CFLAGS}" != set -a "${GCC}" = yes ; then
! 13956: CFLAGS="${CFLAGS} -fsigned-char"
! 13957: fi
1.1 noro 13958: ;;
1.5 ! ohara 13959: *-*-interix*)
1.1 noro 13960: $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
13961:
13962: ;;
13963: sparc-sun-solaris2.*)
13964: case "`uname -m`" in
1.5 ! ohara 13965: sun4u*) if test "${ac_test_CFLAGS}" != set -a "${GCC}" = yes ; then
1.1 noro 13966: CFLAGS="${CFLAGS} -m64"
13967: fi
13968:
13969: ;;
13970: esac
13971: $as_echo "#define SYSV 1" >>confdefs.h
13972:
13973: ;;
13974: *-apple-darwin*)
13975: $as_echo "#define __DARWIN__ 1" >>confdefs.h
13976:
13977: if test -d /usr/X11/include -a x"${X_CFLAGS}" = x ; then
13978: X_CFLAGS=-I/usr/X11/include
13979: fi
13980: ;;
13981: *-*-mingw*)
13982: WSLIB="-lws2_32"
13983: ;;
13984: esac
13985:
13986:
13987: for ac_func in sigaction
13988: do :
13989: ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
13990: if test "x$ac_cv_func_sigaction" = xyes; then :
13991: cat >>confdefs.h <<_ACEOF
13992: #define HAVE_SIGACTION 1
13993: _ACEOF
13994:
13995: fi
13996: done
13997:
13998: ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
13999: if test "x$ac_cv_func_socket" = xyes; then :
14000:
14001: else
14002: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
14003: $as_echo_n "checking for socket in -lsocket... " >&6; }
14004: if ${ac_cv_lib_socket_socket+:} false; then :
14005: $as_echo_n "(cached) " >&6
14006: else
14007: ac_check_lib_save_LIBS=$LIBS
14008: LIBS="-lsocket $LIBS"
14009: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14010: /* end confdefs.h. */
14011:
14012: /* Override any GCC internal prototype to avoid an error.
14013: Use char because int might match the return type of a GCC
14014: builtin and then its argument prototype would still apply. */
14015: #ifdef __cplusplus
14016: extern "C"
14017: #endif
14018: char socket ();
14019: int
14020: main ()
14021: {
14022: return socket ();
14023: ;
14024: return 0;
14025: }
14026: _ACEOF
14027: if ac_fn_c_try_link "$LINENO"; then :
14028: ac_cv_lib_socket_socket=yes
14029: else
14030: ac_cv_lib_socket_socket=no
14031: fi
14032: rm -f core conftest.err conftest.$ac_objext \
14033: conftest$ac_exeext conftest.$ac_ext
14034: LIBS=$ac_check_lib_save_LIBS
14035: fi
14036: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
14037: $as_echo "$ac_cv_lib_socket_socket" >&6; }
14038: if test "x$ac_cv_lib_socket_socket" = xyes; then :
14039: cat >>confdefs.h <<_ACEOF
14040: #define HAVE_LIBSOCKET 1
14041: _ACEOF
14042:
14043: LIBS="-lsocket $LIBS"
14044:
14045: fi
14046:
14047: fi
14048:
14049: ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14050: if test "x$ac_cv_func_gethostbyname" = xyes; then :
14051:
14052: else
14053: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14054: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
14055: if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
14056: $as_echo_n "(cached) " >&6
14057: else
14058: ac_check_lib_save_LIBS=$LIBS
14059: LIBS="-lnsl $LIBS"
14060: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14061: /* end confdefs.h. */
14062:
14063: /* Override any GCC internal prototype to avoid an error.
14064: Use char because int might match the return type of a GCC
14065: builtin and then its argument prototype would still apply. */
14066: #ifdef __cplusplus
14067: extern "C"
14068: #endif
14069: char gethostbyname ();
14070: int
14071: main ()
14072: {
14073: return gethostbyname ();
14074: ;
14075: return 0;
14076: }
14077: _ACEOF
14078: if ac_fn_c_try_link "$LINENO"; then :
14079: ac_cv_lib_nsl_gethostbyname=yes
14080: else
14081: ac_cv_lib_nsl_gethostbyname=no
14082: fi
14083: rm -f core conftest.err conftest.$ac_objext \
14084: conftest$ac_exeext conftest.$ac_ext
14085: LIBS=$ac_check_lib_save_LIBS
14086: fi
14087: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14088: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
14089: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
14090: cat >>confdefs.h <<_ACEOF
14091: #define HAVE_LIBNSL 1
14092: _ACEOF
14093:
14094: LIBS="-lnsl $LIBS"
14095:
14096: fi
14097:
14098: fi
14099:
14100:
1.5 ! ohara 14101: ac_config_files="$ac_config_files Makefile"
1.1 noro 14102:
14103: cat >confcache <<\_ACEOF
14104: # This file is a shell script that caches the results of configure
14105: # tests run on this system so they can be shared between configure
14106: # scripts and configure runs, see configure's option --config-cache.
14107: # It is not useful on other systems. If it contains results you don't
14108: # want to keep, you may remove or edit it.
14109: #
14110: # config.status only pays attention to the cache file if you give it
14111: # the --recheck option to rerun configure.
14112: #
14113: # `ac_cv_env_foo' variables (set or unset) will be overridden when
14114: # loading this file, other *unset* `ac_cv_foo' will be assigned the
14115: # following values.
14116:
14117: _ACEOF
14118:
14119: # The following way of writing the cache mishandles newlines in values,
14120: # but we know of no workaround that is simple, portable, and efficient.
14121: # So, we kill variables containing newlines.
14122: # Ultrix sh set writes to stderr and can't be redirected directly,
14123: # and sets the high bit in the cache file unless we assign to the vars.
14124: (
14125: for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14126: eval ac_val=\$$ac_var
14127: case $ac_val in #(
14128: *${as_nl}*)
14129: case $ac_var in #(
14130: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14131: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14132: esac
14133: case $ac_var in #(
14134: _ | IFS | as_nl) ;; #(
14135: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14136: *) { eval $ac_var=; unset $ac_var;} ;;
14137: esac ;;
14138: esac
14139: done
14140:
14141: (set) 2>&1 |
14142: case $as_nl`(ac_space=' '; set) 2>&1` in #(
14143: *${as_nl}ac_space=\ *)
14144: # `set' does not quote correctly, so add quotes: double-quote
14145: # substitution turns \\\\ into \\, and sed turns \\ into \.
14146: sed -n \
14147: "s/'/'\\\\''/g;
14148: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14149: ;; #(
14150: *)
14151: # `set' quotes correctly as required by POSIX, so do not add quotes.
14152: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14153: ;;
14154: esac |
14155: sort
14156: ) |
14157: sed '
14158: /^ac_cv_env_/b end
14159: t clear
14160: :clear
14161: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14162: t end
14163: s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14164: :end' >>confcache
14165: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14166: if test -w "$cache_file"; then
14167: if test "x$cache_file" != "x/dev/null"; then
14168: { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14169: $as_echo "$as_me: updating cache $cache_file" >&6;}
14170: if test ! -f "$cache_file" || test -h "$cache_file"; then
14171: cat confcache >"$cache_file"
14172: else
14173: case $cache_file in #(
14174: */* | ?:*)
14175: mv -f confcache "$cache_file"$$ &&
14176: mv -f "$cache_file"$$ "$cache_file" ;; #(
14177: *)
14178: mv -f confcache "$cache_file" ;;
14179: esac
14180: fi
14181: fi
14182: else
14183: { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14184: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14185: fi
14186: fi
14187: rm -f confcache
14188:
14189: test "x$prefix" = xNONE && prefix=$ac_default_prefix
14190: # Let make expand exec_prefix.
14191: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14192:
14193: # Transform confdefs.h into DEFS.
14194: # Protect against shell expansion while executing Makefile rules.
14195: # Protect against Makefile macro expansion.
14196: #
14197: # If the first sed substitution is executed (which looks for macros that
14198: # take arguments), then branch to the quote section. Otherwise,
14199: # look for a macro that doesn't take arguments.
14200: ac_script='
14201: :mline
14202: /\\$/{
14203: N
14204: s,\\\n,,
14205: b mline
14206: }
14207: t clear
14208: :clear
14209: s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14210: t quote
14211: s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14212: t quote
14213: b any
14214: :quote
14215: s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
14216: s/\[/\\&/g
14217: s/\]/\\&/g
14218: s/\$/$$/g
14219: H
14220: :any
14221: ${
14222: g
14223: s/^\n//
14224: s/\n/ /g
14225: p
14226: }
14227: '
14228: DEFS=`sed -n "$ac_script" confdefs.h`
14229:
14230:
14231: ac_libobjs=
14232: ac_ltlibobjs=
14233: U=
14234: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14235: # 1. Remove the extension, and $U if already installed.
14236: ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14237: ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14238: # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14239: # will be set to the directory where LIBOBJS objects are built.
14240: as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14241: as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14242: done
14243: LIBOBJS=$ac_libobjs
14244:
14245: LTLIBOBJS=$ac_ltlibobjs
14246:
14247:
14248: { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14249: $as_echo_n "checking that generated files are newer than configure... " >&6; }
14250: if test -n "$am_sleep_pid"; then
14251: # Hide warnings about reused PIDs.
14252: wait $am_sleep_pid 2>/dev/null
14253: fi
14254: { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14255: $as_echo "done" >&6; }
14256: if test -n "$EXEEXT"; then
14257: am__EXEEXT_TRUE=
14258: am__EXEEXT_FALSE='#'
14259: else
14260: am__EXEEXT_TRUE='#'
14261: am__EXEEXT_FALSE=
14262: fi
14263:
14264: if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14265: as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14266: Usually this means the macro was only invoked conditionally." "$LINENO" 5
14267: fi
14268: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14269: as_fn_error $? "conditional \"AMDEP\" was never defined.
14270: Usually this means the macro was only invoked conditionally." "$LINENO" 5
14271: fi
14272: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14273: as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14274: Usually this means the macro was only invoked conditionally." "$LINENO" 5
14275: fi
1.5 ! ohara 14276: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
! 14277: as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
! 14278: Usually this means the macro was only invoked conditionally." "$LINENO" 5
! 14279: fi
1.1 noro 14280: if test -z "${USE_PLOT_TRUE}" && test -z "${USE_PLOT_FALSE}"; then
14281: as_fn_error $? "conditional \"USE_PLOT\" was never defined.
14282: Usually this means the macro was only invoked conditionally." "$LINENO" 5
14283: fi
14284:
14285: : "${CONFIG_STATUS=./config.status}"
14286: ac_write_fail=0
14287: ac_clean_files_save=$ac_clean_files
14288: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14289: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14290: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14291: as_write_fail=0
14292: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14293: #! $SHELL
14294: # Generated by $as_me.
14295: # Run this file to recreate the current configuration.
14296: # Compiler output produced by configure, useful for debugging
14297: # configure, is in config.log if it exists.
14298:
14299: debug=false
14300: ac_cs_recheck=false
14301: ac_cs_silent=false
14302:
14303: SHELL=\${CONFIG_SHELL-$SHELL}
14304: export SHELL
14305: _ASEOF
14306: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14307: ## -------------------- ##
14308: ## M4sh Initialization. ##
14309: ## -------------------- ##
14310:
14311: # Be more Bourne compatible
14312: DUALCASE=1; export DUALCASE # for MKS sh
14313: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14314: emulate sh
14315: NULLCMD=:
14316: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14317: # is contrary to our usage. Disable this feature.
14318: alias -g '${1+"$@"}'='"$@"'
14319: setopt NO_GLOB_SUBST
14320: else
14321: case `(set -o) 2>/dev/null` in #(
14322: *posix*) :
14323: set -o posix ;; #(
14324: *) :
14325: ;;
14326: esac
14327: fi
14328:
14329:
14330: as_nl='
14331: '
14332: export as_nl
14333: # Printing a long string crashes Solaris 7 /usr/bin/printf.
14334: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14335: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14336: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14337: # Prefer a ksh shell builtin over an external printf program on Solaris,
14338: # but without wasting forks for bash or zsh.
14339: if test -z "$BASH_VERSION$ZSH_VERSION" \
14340: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14341: as_echo='print -r --'
14342: as_echo_n='print -rn --'
14343: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14344: as_echo='printf %s\n'
14345: as_echo_n='printf %s'
14346: else
14347: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14348: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14349: as_echo_n='/usr/ucb/echo -n'
14350: else
14351: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14352: as_echo_n_body='eval
14353: arg=$1;
14354: case $arg in #(
14355: *"$as_nl"*)
14356: expr "X$arg" : "X\\(.*\\)$as_nl";
14357: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14358: esac;
14359: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14360: '
14361: export as_echo_n_body
14362: as_echo_n='sh -c $as_echo_n_body as_echo'
14363: fi
14364: export as_echo_body
14365: as_echo='sh -c $as_echo_body as_echo'
14366: fi
14367:
14368: # The user is always right.
14369: if test "${PATH_SEPARATOR+set}" != set; then
14370: PATH_SEPARATOR=:
14371: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14372: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14373: PATH_SEPARATOR=';'
14374: }
14375: fi
14376:
14377:
14378: # IFS
14379: # We need space, tab and new line, in precisely that order. Quoting is
14380: # there to prevent editors from complaining about space-tab.
14381: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14382: # splitting by setting IFS to empty value.)
14383: IFS=" "" $as_nl"
14384:
14385: # Find who we are. Look in the path if we contain no directory separator.
14386: as_myself=
14387: case $0 in #((
14388: *[\\/]* ) as_myself=$0 ;;
14389: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14390: for as_dir in $PATH
14391: do
14392: IFS=$as_save_IFS
14393: test -z "$as_dir" && as_dir=.
14394: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14395: done
14396: IFS=$as_save_IFS
14397:
14398: ;;
14399: esac
14400: # We did not find ourselves, most probably we were run as `sh COMMAND'
14401: # in which case we are not to be found in the path.
14402: if test "x$as_myself" = x; then
14403: as_myself=$0
14404: fi
14405: if test ! -f "$as_myself"; then
14406: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14407: exit 1
14408: fi
14409:
14410: # Unset variables that we do not need and which cause bugs (e.g. in
14411: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14412: # suppresses any "Segmentation fault" message there. '((' could
14413: # trigger a bug in pdksh 5.2.14.
14414: for as_var in BASH_ENV ENV MAIL MAILPATH
14415: do eval test x\${$as_var+set} = xset \
14416: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14417: done
14418: PS1='$ '
14419: PS2='> '
14420: PS4='+ '
14421:
14422: # NLS nuisances.
14423: LC_ALL=C
14424: export LC_ALL
14425: LANGUAGE=C
14426: export LANGUAGE
14427:
14428: # CDPATH.
14429: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14430:
14431:
14432: # as_fn_error STATUS ERROR [LINENO LOG_FD]
14433: # ----------------------------------------
14434: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14435: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14436: # script with STATUS, using 1 if that was 0.
14437: as_fn_error ()
14438: {
14439: as_status=$1; test $as_status -eq 0 && as_status=1
14440: if test "$4"; then
14441: as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14442: $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14443: fi
14444: $as_echo "$as_me: error: $2" >&2
14445: as_fn_exit $as_status
14446: } # as_fn_error
14447:
14448:
14449: # as_fn_set_status STATUS
14450: # -----------------------
14451: # Set $? to STATUS, without forking.
14452: as_fn_set_status ()
14453: {
14454: return $1
14455: } # as_fn_set_status
14456:
14457: # as_fn_exit STATUS
14458: # -----------------
14459: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14460: as_fn_exit ()
14461: {
14462: set +e
14463: as_fn_set_status $1
14464: exit $1
14465: } # as_fn_exit
14466:
14467: # as_fn_unset VAR
14468: # ---------------
14469: # Portably unset VAR.
14470: as_fn_unset ()
14471: {
14472: { eval $1=; unset $1;}
14473: }
14474: as_unset=as_fn_unset
14475: # as_fn_append VAR VALUE
14476: # ----------------------
14477: # Append the text in VALUE to the end of the definition contained in VAR. Take
14478: # advantage of any shell optimizations that allow amortized linear growth over
14479: # repeated appends, instead of the typical quadratic growth present in naive
14480: # implementations.
14481: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14482: eval 'as_fn_append ()
14483: {
14484: eval $1+=\$2
14485: }'
14486: else
14487: as_fn_append ()
14488: {
14489: eval $1=\$$1\$2
14490: }
14491: fi # as_fn_append
14492:
14493: # as_fn_arith ARG...
14494: # ------------------
14495: # Perform arithmetic evaluation on the ARGs, and store the result in the
14496: # global $as_val. Take advantage of shells that can avoid forks. The arguments
14497: # must be portable across $(()) and expr.
14498: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14499: eval 'as_fn_arith ()
14500: {
14501: as_val=$(( $* ))
14502: }'
14503: else
14504: as_fn_arith ()
14505: {
14506: as_val=`expr "$@" || test $? -eq 1`
14507: }
14508: fi # as_fn_arith
14509:
14510:
14511: if expr a : '\(a\)' >/dev/null 2>&1 &&
14512: test "X`expr 00001 : '.*\(...\)'`" = X001; then
14513: as_expr=expr
14514: else
14515: as_expr=false
14516: fi
14517:
14518: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14519: as_basename=basename
14520: else
14521: as_basename=false
14522: fi
14523:
14524: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14525: as_dirname=dirname
14526: else
14527: as_dirname=false
14528: fi
14529:
14530: as_me=`$as_basename -- "$0" ||
14531: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14532: X"$0" : 'X\(//\)$' \| \
14533: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14534: $as_echo X/"$0" |
14535: sed '/^.*\/\([^/][^/]*\)\/*$/{
14536: s//\1/
14537: q
14538: }
14539: /^X\/\(\/\/\)$/{
14540: s//\1/
14541: q
14542: }
14543: /^X\/\(\/\).*/{
14544: s//\1/
14545: q
14546: }
14547: s/.*/./; q'`
14548:
14549: # Avoid depending upon Character Ranges.
14550: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14551: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14552: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14553: as_cr_digits='0123456789'
14554: as_cr_alnum=$as_cr_Letters$as_cr_digits
14555:
14556: ECHO_C= ECHO_N= ECHO_T=
14557: case `echo -n x` in #(((((
14558: -n*)
14559: case `echo 'xy\c'` in
14560: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14561: xy) ECHO_C='\c';;
14562: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14563: ECHO_T=' ';;
14564: esac;;
14565: *)
14566: ECHO_N='-n';;
14567: esac
14568:
14569: rm -f conf$$ conf$$.exe conf$$.file
14570: if test -d conf$$.dir; then
14571: rm -f conf$$.dir/conf$$.file
14572: else
14573: rm -f conf$$.dir
14574: mkdir conf$$.dir 2>/dev/null
14575: fi
14576: if (echo >conf$$.file) 2>/dev/null; then
14577: if ln -s conf$$.file conf$$ 2>/dev/null; then
14578: as_ln_s='ln -s'
14579: # ... but there are two gotchas:
14580: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14581: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14582: # In both cases, we have to default to `cp -pR'.
14583: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14584: as_ln_s='cp -pR'
14585: elif ln conf$$.file conf$$ 2>/dev/null; then
14586: as_ln_s=ln
14587: else
14588: as_ln_s='cp -pR'
14589: fi
14590: else
14591: as_ln_s='cp -pR'
14592: fi
14593: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14594: rmdir conf$$.dir 2>/dev/null
14595:
14596:
14597: # as_fn_mkdir_p
14598: # -------------
14599: # Create "$as_dir" as a directory, including parents if necessary.
14600: as_fn_mkdir_p ()
14601: {
14602:
14603: case $as_dir in #(
14604: -*) as_dir=./$as_dir;;
14605: esac
14606: test -d "$as_dir" || eval $as_mkdir_p || {
14607: as_dirs=
14608: while :; do
14609: case $as_dir in #(
14610: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14611: *) as_qdir=$as_dir;;
14612: esac
14613: as_dirs="'$as_qdir' $as_dirs"
14614: as_dir=`$as_dirname -- "$as_dir" ||
14615: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14616: X"$as_dir" : 'X\(//\)[^/]' \| \
14617: X"$as_dir" : 'X\(//\)$' \| \
14618: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14619: $as_echo X"$as_dir" |
14620: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14621: s//\1/
14622: q
14623: }
14624: /^X\(\/\/\)[^/].*/{
14625: s//\1/
14626: q
14627: }
14628: /^X\(\/\/\)$/{
14629: s//\1/
14630: q
14631: }
14632: /^X\(\/\).*/{
14633: s//\1/
14634: q
14635: }
14636: s/.*/./; q'`
14637: test -d "$as_dir" && break
14638: done
14639: test -z "$as_dirs" || eval "mkdir $as_dirs"
14640: } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14641:
14642:
14643: } # as_fn_mkdir_p
14644: if mkdir -p . 2>/dev/null; then
14645: as_mkdir_p='mkdir -p "$as_dir"'
14646: else
14647: test -d ./-p && rmdir ./-p
14648: as_mkdir_p=false
14649: fi
14650:
14651:
14652: # as_fn_executable_p FILE
14653: # -----------------------
14654: # Test if FILE is an executable regular file.
14655: as_fn_executable_p ()
14656: {
14657: test -f "$1" && test -x "$1"
14658: } # as_fn_executable_p
14659: as_test_x='test -x'
14660: as_executable_p=as_fn_executable_p
14661:
14662: # Sed expression to map a string onto a valid CPP name.
14663: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14664:
14665: # Sed expression to map a string onto a valid variable name.
14666: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14667:
14668:
14669: exec 6>&1
14670: ## ----------------------------------- ##
14671: ## Main body of $CONFIG_STATUS script. ##
14672: ## ----------------------------------- ##
14673: _ASEOF
14674: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14675:
14676: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14677: # Save the log message, to keep $0 and so on meaningful, and to
14678: # report actual input values of CONFIG_FILES etc. instead of their
14679: # values after options handling.
14680: ac_log="
1.5 ! ohara 14681: This file was extended by asir $as_me 1.16, which was
1.1 noro 14682: generated by GNU Autoconf 2.69. Invocation command line was
14683:
14684: CONFIG_FILES = $CONFIG_FILES
14685: CONFIG_HEADERS = $CONFIG_HEADERS
14686: CONFIG_LINKS = $CONFIG_LINKS
14687: CONFIG_COMMANDS = $CONFIG_COMMANDS
14688: $ $0 $@
14689:
14690: on `(hostname || uname -n) 2>/dev/null | sed 1q`
14691: "
14692:
14693: _ACEOF
14694:
14695: case $ac_config_files in *"
14696: "*) set x $ac_config_files; shift; ac_config_files=$*;;
14697: esac
14698:
14699:
14700:
14701: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14702: # Files that config.status was made for.
14703: config_files="$ac_config_files"
14704: config_commands="$ac_config_commands"
14705:
14706: _ACEOF
14707:
14708: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14709: ac_cs_usage="\
14710: \`$as_me' instantiates files and other configuration actions
14711: from templates according to the current configuration. Unless the files
14712: and actions are specified as TAGs, all are instantiated by default.
14713:
14714: Usage: $0 [OPTION]... [TAG]...
14715:
14716: -h, --help print this help, then exit
14717: -V, --version print version number and configuration settings, then exit
14718: --config print configuration, then exit
14719: -q, --quiet, --silent
14720: do not print progress messages
14721: -d, --debug don't remove temporary files
14722: --recheck update $as_me by reconfiguring in the same conditions
14723: --file=FILE[:TEMPLATE]
14724: instantiate the configuration file FILE
14725:
14726: Configuration files:
14727: $config_files
14728:
14729: Configuration commands:
14730: $config_commands
14731:
14732: Report bugs to the package provider."
14733:
14734: _ACEOF
14735: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14736: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14737: ac_cs_version="\\
1.5 ! ohara 14738: asir config.status 1.16
1.1 noro 14739: configured by $0, generated by GNU Autoconf 2.69,
14740: with options \\"\$ac_cs_config\\"
14741:
14742: Copyright (C) 2012 Free Software Foundation, Inc.
14743: This config.status script is free software; the Free Software Foundation
14744: gives unlimited permission to copy, distribute and modify it."
14745:
14746: ac_pwd='$ac_pwd'
14747: srcdir='$srcdir'
14748: INSTALL='$INSTALL'
14749: MKDIR_P='$MKDIR_P'
14750: AWK='$AWK'
14751: test -n "\$AWK" || AWK=awk
14752: _ACEOF
14753:
14754: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14755: # The default lists apply if the user does not specify any file.
14756: ac_need_defaults=:
14757: while test $# != 0
14758: do
14759: case $1 in
14760: --*=?*)
14761: ac_option=`expr "X$1" : 'X\([^=]*\)='`
14762: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14763: ac_shift=:
14764: ;;
14765: --*=)
14766: ac_option=`expr "X$1" : 'X\([^=]*\)='`
14767: ac_optarg=
14768: ac_shift=:
14769: ;;
14770: *)
14771: ac_option=$1
14772: ac_optarg=$2
14773: ac_shift=shift
14774: ;;
14775: esac
14776:
14777: case $ac_option in
14778: # Handling of the options.
14779: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14780: ac_cs_recheck=: ;;
14781: --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14782: $as_echo "$ac_cs_version"; exit ;;
14783: --config | --confi | --conf | --con | --co | --c )
14784: $as_echo "$ac_cs_config"; exit ;;
14785: --debug | --debu | --deb | --de | --d | -d )
14786: debug=: ;;
14787: --file | --fil | --fi | --f )
14788: $ac_shift
14789: case $ac_optarg in
14790: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14791: '') as_fn_error $? "missing file argument" ;;
14792: esac
14793: as_fn_append CONFIG_FILES " '$ac_optarg'"
14794: ac_need_defaults=false;;
14795: --he | --h | --help | --hel | -h )
14796: $as_echo "$ac_cs_usage"; exit ;;
14797: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14798: | -silent | --silent | --silen | --sile | --sil | --si | --s)
14799: ac_cs_silent=: ;;
14800:
14801: # This is an error.
14802: -*) as_fn_error $? "unrecognized option: \`$1'
14803: Try \`$0 --help' for more information." ;;
14804:
14805: *) as_fn_append ac_config_targets " $1"
14806: ac_need_defaults=false ;;
14807:
14808: esac
14809: shift
14810: done
14811:
14812: ac_configure_extra_args=
14813:
14814: if $ac_cs_silent; then
14815: exec 6>/dev/null
14816: ac_configure_extra_args="$ac_configure_extra_args --silent"
14817: fi
14818:
14819: _ACEOF
14820: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14821: if \$ac_cs_recheck; then
14822: set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14823: shift
14824: \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14825: CONFIG_SHELL='$SHELL'
14826: export CONFIG_SHELL
14827: exec "\$@"
14828: fi
14829:
14830: _ACEOF
14831: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14832: exec 5>>config.log
14833: {
14834: echo
14835: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14836: ## Running $as_me. ##
14837: _ASBOX
14838: $as_echo "$ac_log"
14839: } >&5
14840:
14841: _ACEOF
14842: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14843: #
14844: # INIT-COMMANDS
14845: #
1.5 ! ohara 14846: AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
! 14847:
! 14848:
! 14849: # The HP-UX ksh and POSIX shell print the target directory to stdout
! 14850: # if CDPATH is set.
! 14851: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
! 14852:
! 14853: sed_quote_subst='$sed_quote_subst'
! 14854: double_quote_subst='$double_quote_subst'
! 14855: delay_variable_subst='$delay_variable_subst'
! 14856: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
! 14857: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
! 14858: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
! 14859: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
! 14860: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
! 14861: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
! 14862: shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
! 14863: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
! 14864: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
! 14865: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
! 14866: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
! 14867: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
! 14868: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
! 14869: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
! 14870: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
! 14871: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
! 14872: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
! 14873: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
! 14874: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
! 14875: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
! 14876: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
! 14877: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
! 14878: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
! 14879: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
! 14880: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
! 14881: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
! 14882: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
! 14883: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
! 14884: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
! 14885: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
! 14886: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
! 14887: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
! 14888: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
! 14889: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
! 14890: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
! 14891: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
! 14892: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
! 14893: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
! 14894: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
! 14895: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
! 14896: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
! 14897: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
! 14898: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
! 14899: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
! 14900: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
! 14901: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
! 14902: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
! 14903: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
! 14904: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
! 14905: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
! 14906: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
! 14907: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
! 14908: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
! 14909: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
! 14910: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
! 14911: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
! 14912: lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
! 14913: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
! 14914: 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"`'
! 14915: lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
! 14916: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
! 14917: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
! 14918: lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
! 14919: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
! 14920: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
! 14921: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
! 14922: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
! 14923: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
! 14924: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
! 14925: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
! 14926: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
! 14927: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
! 14928: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
! 14929: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
! 14930: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
! 14931: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
! 14932: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
! 14933: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
! 14934: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
! 14935: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
! 14936: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
! 14937: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
! 14938: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
! 14939: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
! 14940: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
! 14941: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
! 14942: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
! 14943: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
! 14944: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
! 14945: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
! 14946: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
! 14947: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
! 14948: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
! 14949: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
! 14950: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
! 14951: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
! 14952: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
! 14953: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
! 14954: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
! 14955: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
! 14956: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
! 14957: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
! 14958: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
! 14959: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
! 14960: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
! 14961: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
! 14962: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
! 14963: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
! 14964: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
! 14965: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
! 14966: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
! 14967: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
! 14968: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
! 14969: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
! 14970: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
! 14971: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
! 14972: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
! 14973: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
! 14974: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
! 14975: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
! 14976: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
! 14977: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
! 14978: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
! 14979: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
! 14980: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
! 14981: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
! 14982: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
! 14983: configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
! 14984: configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
! 14985: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
! 14986: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
! 14987: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
! 14988: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
! 14989: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
! 14990: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
! 14991:
! 14992: LTCC='$LTCC'
! 14993: LTCFLAGS='$LTCFLAGS'
! 14994: compiler='$compiler_DEFAULT'
! 14995:
! 14996: # A function that is used when there is no print builtin or printf.
! 14997: func_fallback_echo ()
! 14998: {
! 14999: eval 'cat <<_LTECHO_EOF
! 15000: \$1
! 15001: _LTECHO_EOF'
! 15002: }
! 15003:
! 15004: # Quote evaled strings.
! 15005: for var in SHELL \
! 15006: ECHO \
! 15007: PATH_SEPARATOR \
! 15008: SED \
! 15009: GREP \
! 15010: EGREP \
! 15011: FGREP \
! 15012: LD \
! 15013: NM \
! 15014: LN_S \
! 15015: lt_SP2NL \
! 15016: lt_NL2SP \
! 15017: reload_flag \
! 15018: OBJDUMP \
! 15019: deplibs_check_method \
! 15020: file_magic_cmd \
! 15021: file_magic_glob \
! 15022: want_nocaseglob \
! 15023: DLLTOOL \
! 15024: sharedlib_from_linklib_cmd \
! 15025: AR \
! 15026: AR_FLAGS \
! 15027: archiver_list_spec \
! 15028: STRIP \
! 15029: RANLIB \
! 15030: CC \
! 15031: CFLAGS \
! 15032: compiler \
! 15033: lt_cv_sys_global_symbol_pipe \
! 15034: lt_cv_sys_global_symbol_to_cdecl \
! 15035: lt_cv_sys_global_symbol_to_import \
! 15036: lt_cv_sys_global_symbol_to_c_name_address \
! 15037: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
! 15038: lt_cv_nm_interface \
! 15039: nm_file_list_spec \
! 15040: lt_cv_truncate_bin \
! 15041: lt_prog_compiler_no_builtin_flag \
! 15042: lt_prog_compiler_pic \
! 15043: lt_prog_compiler_wl \
! 15044: lt_prog_compiler_static \
! 15045: lt_cv_prog_compiler_c_o \
! 15046: need_locks \
! 15047: MANIFEST_TOOL \
! 15048: DSYMUTIL \
! 15049: NMEDIT \
! 15050: LIPO \
! 15051: OTOOL \
! 15052: OTOOL64 \
! 15053: shrext_cmds \
! 15054: export_dynamic_flag_spec \
! 15055: whole_archive_flag_spec \
! 15056: compiler_needs_object \
! 15057: with_gnu_ld \
! 15058: allow_undefined_flag \
! 15059: no_undefined_flag \
! 15060: hardcode_libdir_flag_spec \
! 15061: hardcode_libdir_separator \
! 15062: exclude_expsyms \
! 15063: include_expsyms \
! 15064: file_list_spec \
! 15065: variables_saved_for_relink \
! 15066: libname_spec \
! 15067: library_names_spec \
! 15068: soname_spec \
! 15069: install_override_mode \
! 15070: finish_eval \
! 15071: old_striplib \
! 15072: striplib; do
! 15073: case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
! 15074: *[\\\\\\\`\\"\\\$]*)
! 15075: eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
! 15076: ;;
! 15077: *)
! 15078: eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
! 15079: ;;
! 15080: esac
! 15081: done
! 15082:
! 15083: # Double-quote double-evaled strings.
! 15084: for var in reload_cmds \
! 15085: old_postinstall_cmds \
! 15086: old_postuninstall_cmds \
! 15087: old_archive_cmds \
! 15088: extract_expsyms_cmds \
! 15089: old_archive_from_new_cmds \
! 15090: old_archive_from_expsyms_cmds \
! 15091: archive_cmds \
! 15092: archive_expsym_cmds \
! 15093: module_cmds \
! 15094: module_expsym_cmds \
! 15095: export_symbols_cmds \
! 15096: prelink_cmds \
! 15097: postlink_cmds \
! 15098: postinstall_cmds \
! 15099: postuninstall_cmds \
! 15100: finish_cmds \
! 15101: sys_lib_search_path_spec \
! 15102: configure_time_dlsearch_path \
! 15103: configure_time_lt_sys_library_path; do
! 15104: case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
! 15105: *[\\\\\\\`\\"\\\$]*)
! 15106: eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
! 15107: ;;
! 15108: *)
! 15109: eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
! 15110: ;;
! 15111: esac
! 15112: done
! 15113:
! 15114: ac_aux_dir='$ac_aux_dir'
! 15115:
! 15116: # See if we are running on zsh, and set the options that allow our
! 15117: # commands through without removal of \ escapes INIT.
! 15118: if test -n "\${ZSH_VERSION+set}"; then
! 15119: setopt NO_GLOB_SUBST
! 15120: fi
! 15121:
! 15122:
! 15123: PACKAGE='$PACKAGE'
! 15124: VERSION='$VERSION'
! 15125: RM='$RM'
! 15126: ofile='$ofile'
! 15127:
! 15128:
! 15129:
1.1 noro 15130:
15131: _ACEOF
15132:
15133: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15134:
15135: # Handling of arguments.
15136: for ac_config_target in $ac_config_targets
15137: do
15138: case $ac_config_target in
15139: "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
1.5 ! ohara 15140: "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
1.1 noro 15141: "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15142:
15143: *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15144: esac
15145: done
15146:
15147:
15148: # If the user did not use the arguments to specify the items to instantiate,
15149: # then the envvar interface is used. Set only those that are not.
15150: # We use the long form for the default assignment because of an extremely
15151: # bizarre bug on SunOS 4.1.3.
15152: if $ac_need_defaults; then
15153: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15154: test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15155: fi
15156:
15157: # Have a temporary directory for convenience. Make it in the build tree
15158: # simply because there is no reason against having it here, and in addition,
15159: # creating and moving files from /tmp can sometimes cause problems.
15160: # Hook for its removal unless debugging.
15161: # Note that there is a small window in which the directory will not be cleaned:
15162: # after its creation but before its name has been assigned to `$tmp'.
15163: $debug ||
15164: {
15165: tmp= ac_tmp=
15166: trap 'exit_status=$?
15167: : "${ac_tmp:=$tmp}"
15168: { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15169: ' 0
15170: trap 'as_fn_exit 1' 1 2 13 15
15171: }
15172: # Create a (secure) tmp directory for tmp files.
15173:
15174: {
15175: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15176: test -d "$tmp"
15177: } ||
15178: {
15179: tmp=./conf$$-$RANDOM
15180: (umask 077 && mkdir "$tmp")
15181: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15182: ac_tmp=$tmp
15183:
15184: # Set up the scripts for CONFIG_FILES section.
15185: # No need to generate them if there are no CONFIG_FILES.
15186: # This happens for instance with `./config.status config.h'.
15187: if test -n "$CONFIG_FILES"; then
15188:
15189:
15190: ac_cr=`echo X | tr X '\015'`
15191: # On cygwin, bash can eat \r inside `` if the user requested igncr.
15192: # But we know of no other shell where ac_cr would be empty at this
15193: # point, so we can use a bashism as a fallback.
15194: if test "x$ac_cr" = x; then
15195: eval ac_cr=\$\'\\r\'
15196: fi
15197: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15198: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15199: ac_cs_awk_cr='\\r'
15200: else
15201: ac_cs_awk_cr=$ac_cr
15202: fi
15203:
15204: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15205: _ACEOF
15206:
15207:
15208: {
15209: echo "cat >conf$$subs.awk <<_ACEOF" &&
15210: echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15211: echo "_ACEOF"
15212: } >conf$$subs.sh ||
15213: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15214: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15215: ac_delim='%!_!# '
15216: for ac_last_try in false false false false false :; do
15217: . ./conf$$subs.sh ||
15218: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15219:
15220: ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15221: if test $ac_delim_n = $ac_delim_num; then
15222: break
15223: elif $ac_last_try; then
15224: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15225: else
15226: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15227: fi
15228: done
15229: rm -f conf$$subs.sh
15230:
15231: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15232: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15233: _ACEOF
15234: sed -n '
15235: h
15236: s/^/S["/; s/!.*/"]=/
15237: p
15238: g
15239: s/^[^!]*!//
15240: :repl
15241: t repl
15242: s/'"$ac_delim"'$//
15243: t delim
15244: :nl
15245: h
15246: s/\(.\{148\}\)..*/\1/
15247: t more1
15248: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15249: p
15250: n
15251: b repl
15252: :more1
15253: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15254: p
15255: g
15256: s/.\{148\}//
15257: t nl
15258: :delim
15259: h
15260: s/\(.\{148\}\)..*/\1/
15261: t more2
15262: s/["\\]/\\&/g; s/^/"/; s/$/"/
15263: p
15264: b
15265: :more2
15266: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15267: p
15268: g
15269: s/.\{148\}//
15270: t delim
15271: ' <conf$$subs.awk | sed '
15272: /^[^""]/{
15273: N
15274: s/\n//
15275: }
15276: ' >>$CONFIG_STATUS || ac_write_fail=1
15277: rm -f conf$$subs.awk
15278: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15279: _ACAWK
15280: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15281: for (key in S) S_is_set[key] = 1
15282: FS = ""
15283:
15284: }
15285: {
15286: line = $ 0
15287: nfields = split(line, field, "@")
15288: substed = 0
15289: len = length(field[1])
15290: for (i = 2; i < nfields; i++) {
15291: key = field[i]
15292: keylen = length(key)
15293: if (S_is_set[key]) {
15294: value = S[key]
15295: line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15296: len += length(value) + length(field[++i])
15297: substed = 1
15298: } else
15299: len += 1 + keylen
15300: }
15301:
15302: print line
15303: }
15304:
15305: _ACAWK
15306: _ACEOF
15307: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15308: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15309: sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15310: else
15311: cat
15312: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15313: || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15314: _ACEOF
15315:
15316: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15317: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15318: # trailing colons and then remove the whole line if VPATH becomes empty
15319: # (actually we leave an empty line to preserve line numbers).
15320: if test "x$srcdir" = x.; then
15321: ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15322: h
15323: s///
15324: s/^/:/
15325: s/[ ]*$/:/
15326: s/:\$(srcdir):/:/g
15327: s/:\${srcdir}:/:/g
15328: s/:@srcdir@:/:/g
15329: s/^:*//
15330: s/:*$//
15331: x
15332: s/\(=[ ]*\).*/\1/
15333: G
15334: s/\n//
15335: s/^[^=]*=[ ]*$//
15336: }'
15337: fi
15338:
15339: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15340: fi # test -n "$CONFIG_FILES"
15341:
15342:
15343: eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
15344: shift
15345: for ac_tag
15346: do
15347: case $ac_tag in
15348: :[FHLC]) ac_mode=$ac_tag; continue;;
15349: esac
15350: case $ac_mode$ac_tag in
15351: :[FHL]*:*);;
15352: :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15353: :[FH]-) ac_tag=-:-;;
15354: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15355: esac
15356: ac_save_IFS=$IFS
15357: IFS=:
15358: set x $ac_tag
15359: IFS=$ac_save_IFS
15360: shift
15361: ac_file=$1
15362: shift
15363:
15364: case $ac_mode in
15365: :L) ac_source=$1;;
15366: :[FH])
15367: ac_file_inputs=
15368: for ac_f
15369: do
15370: case $ac_f in
15371: -) ac_f="$ac_tmp/stdin";;
15372: *) # Look for the file first in the build tree, then in the source tree
15373: # (if the path is not absolute). The absolute path cannot be DOS-style,
15374: # because $ac_f cannot contain `:'.
15375: test -f "$ac_f" ||
15376: case $ac_f in
15377: [\\/$]*) false;;
15378: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15379: esac ||
15380: as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15381: esac
15382: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15383: as_fn_append ac_file_inputs " '$ac_f'"
15384: done
15385:
15386: # Let's still pretend it is `configure' which instantiates (i.e., don't
15387: # use $as_me), people would be surprised to read:
15388: # /* config.h. Generated by config.status. */
15389: configure_input='Generated from '`
15390: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15391: `' by configure.'
15392: if test x"$ac_file" != x-; then
15393: configure_input="$ac_file. $configure_input"
15394: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15395: $as_echo "$as_me: creating $ac_file" >&6;}
15396: fi
15397: # Neutralize special characters interpreted by sed in replacement strings.
15398: case $configure_input in #(
15399: *\&* | *\|* | *\\* )
15400: ac_sed_conf_input=`$as_echo "$configure_input" |
15401: sed 's/[\\\\&|]/\\\\&/g'`;; #(
15402: *) ac_sed_conf_input=$configure_input;;
15403: esac
15404:
15405: case $ac_tag in
15406: *:-:* | *:-) cat >"$ac_tmp/stdin" \
15407: || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15408: esac
15409: ;;
15410: esac
15411:
15412: ac_dir=`$as_dirname -- "$ac_file" ||
15413: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15414: X"$ac_file" : 'X\(//\)[^/]' \| \
15415: X"$ac_file" : 'X\(//\)$' \| \
15416: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15417: $as_echo X"$ac_file" |
15418: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15419: s//\1/
15420: q
15421: }
15422: /^X\(\/\/\)[^/].*/{
15423: s//\1/
15424: q
15425: }
15426: /^X\(\/\/\)$/{
15427: s//\1/
15428: q
15429: }
15430: /^X\(\/\).*/{
15431: s//\1/
15432: q
15433: }
15434: s/.*/./; q'`
15435: as_dir="$ac_dir"; as_fn_mkdir_p
15436: ac_builddir=.
15437:
15438: case "$ac_dir" in
15439: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15440: *)
15441: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15442: # A ".." for each directory in $ac_dir_suffix.
15443: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15444: case $ac_top_builddir_sub in
15445: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15446: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15447: esac ;;
15448: esac
15449: ac_abs_top_builddir=$ac_pwd
15450: ac_abs_builddir=$ac_pwd$ac_dir_suffix
15451: # for backward compatibility:
15452: ac_top_builddir=$ac_top_build_prefix
15453:
15454: case $srcdir in
15455: .) # We are building in place.
15456: ac_srcdir=.
15457: ac_top_srcdir=$ac_top_builddir_sub
15458: ac_abs_top_srcdir=$ac_pwd ;;
15459: [\\/]* | ?:[\\/]* ) # Absolute name.
15460: ac_srcdir=$srcdir$ac_dir_suffix;
15461: ac_top_srcdir=$srcdir
15462: ac_abs_top_srcdir=$srcdir ;;
15463: *) # Relative name.
15464: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15465: ac_top_srcdir=$ac_top_build_prefix$srcdir
15466: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15467: esac
15468: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15469:
15470:
15471: case $ac_mode in
15472: :F)
15473: #
15474: # CONFIG_FILE
15475: #
15476:
15477: case $INSTALL in
15478: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15479: *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15480: esac
15481: ac_MKDIR_P=$MKDIR_P
15482: case $MKDIR_P in
15483: [\\/$]* | ?:[\\/]* ) ;;
15484: */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15485: esac
15486: _ACEOF
15487:
15488: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15489: # If the template does not know about datarootdir, expand it.
15490: # FIXME: This hack should be removed a few years after 2.60.
15491: ac_datarootdir_hack=; ac_datarootdir_seen=
15492: ac_sed_dataroot='
15493: /datarootdir/ {
15494: p
15495: q
15496: }
15497: /@datadir@/p
15498: /@docdir@/p
15499: /@infodir@/p
15500: /@localedir@/p
15501: /@mandir@/p'
15502: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15503: *datarootdir*) ac_datarootdir_seen=yes;;
15504: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15505: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15506: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15507: _ACEOF
15508: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15509: ac_datarootdir_hack='
15510: s&@datadir@&$datadir&g
15511: s&@docdir@&$docdir&g
15512: s&@infodir@&$infodir&g
15513: s&@localedir@&$localedir&g
15514: s&@mandir@&$mandir&g
15515: s&\\\${datarootdir}&$datarootdir&g' ;;
15516: esac
15517: _ACEOF
15518:
15519: # Neutralize VPATH when `$srcdir' = `.'.
15520: # Shell code in configure.ac might set extrasub.
15521: # FIXME: do we really want to maintain this feature?
15522: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15523: ac_sed_extra="$ac_vpsub
15524: $extrasub
15525: _ACEOF
15526: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15527: :t
15528: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15529: s|@configure_input@|$ac_sed_conf_input|;t t
15530: s&@top_builddir@&$ac_top_builddir_sub&;t t
15531: s&@top_build_prefix@&$ac_top_build_prefix&;t t
15532: s&@srcdir@&$ac_srcdir&;t t
15533: s&@abs_srcdir@&$ac_abs_srcdir&;t t
15534: s&@top_srcdir@&$ac_top_srcdir&;t t
15535: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15536: s&@builddir@&$ac_builddir&;t t
15537: s&@abs_builddir@&$ac_abs_builddir&;t t
15538: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15539: s&@INSTALL@&$ac_INSTALL&;t t
15540: s&@MKDIR_P@&$ac_MKDIR_P&;t t
15541: $ac_datarootdir_hack
15542: "
15543: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15544: >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15545:
15546: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15547: { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15548: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15549: "$ac_tmp/out"`; test -z "$ac_out"; } &&
15550: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15551: which seems to be undefined. Please make sure it is defined" >&5
15552: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15553: which seems to be undefined. Please make sure it is defined" >&2;}
15554:
15555: rm -f "$ac_tmp/stdin"
15556: case $ac_file in
15557: -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15558: *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15559: esac \
15560: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15561: ;;
15562:
15563:
15564: :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15565: $as_echo "$as_me: executing $ac_file commands" >&6;}
15566: ;;
15567: esac
15568:
15569:
15570: case $ac_file$ac_mode in
15571: "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15572: # Older Autoconf quotes --file arguments for eval, but not when files
15573: # are listed without --file. Let's play safe and only enable the eval
15574: # if we detect the quoting.
1.5 ! ohara 15575: # TODO: see whether this extra hack can be removed once we start
! 15576: # requiring Autoconf 2.70 or later.
! 15577: case $CONFIG_FILES in #(
! 15578: *\'*) :
! 15579: eval set x "$CONFIG_FILES" ;; #(
! 15580: *) :
! 15581: set x $CONFIG_FILES ;; #(
! 15582: *) :
! 15583: ;;
! 15584: esac
1.1 noro 15585: shift
1.5 ! ohara 15586: # Used to flag and report bootstrapping failures.
! 15587: am_rc=0
! 15588: for am_mf
1.1 noro 15589: do
15590: # Strip MF so we end up with the name of the file.
1.5 ! ohara 15591: am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
! 15592: # Check whether this is an Automake generated Makefile which includes
! 15593: # dependency-tracking related rules and includes.
! 15594: # Grep'ing the whole file directly is not great: AIX grep has a line
1.1 noro 15595: # limit of 2048, but all sed's we know have understand at least 4000.
1.5 ! ohara 15596: sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
! 15597: || continue
! 15598: am_dirpart=`$as_dirname -- "$am_mf" ||
! 15599: $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 15600: X"$am_mf" : 'X\(//\)[^/]' \| \
! 15601: X"$am_mf" : 'X\(//\)$' \| \
! 15602: X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
! 15603: $as_echo X"$am_mf" |
1.1 noro 15604: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15605: s//\1/
15606: q
15607: }
15608: /^X\(\/\/\)[^/].*/{
15609: s//\1/
15610: q
15611: }
15612: /^X\(\/\/\)$/{
15613: s//\1/
15614: q
15615: }
15616: /^X\(\/\).*/{
15617: s//\1/
15618: q
15619: }
15620: s/.*/./; q'`
1.5 ! ohara 15621: am_filepart=`$as_basename -- "$am_mf" ||
! 15622: $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
! 15623: X"$am_mf" : 'X\(//\)$' \| \
! 15624: X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
! 15625: $as_echo X/"$am_mf" |
! 15626: sed '/^.*\/\([^/][^/]*\)\/*$/{
1.1 noro 15627: s//\1/
15628: q
15629: }
1.5 ! ohara 15630: /^X\/\(\/\/\)$/{
1.1 noro 15631: s//\1/
15632: q
15633: }
1.5 ! ohara 15634: /^X\/\(\/\).*/{
1.1 noro 15635: s//\1/
15636: q
15637: }
15638: s/.*/./; q'`
1.5 ! ohara 15639: { echo "$as_me:$LINENO: cd "$am_dirpart" \
! 15640: && sed -e '/# am--include-marker/d' "$am_filepart" \
! 15641: | $MAKE -f - am--depfiles" >&5
! 15642: (cd "$am_dirpart" \
! 15643: && sed -e '/# am--include-marker/d' "$am_filepart" \
! 15644: | $MAKE -f - am--depfiles) >&5 2>&5
! 15645: ac_status=$?
! 15646: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 15647: (exit $ac_status); } || am_rc=$?
! 15648: done
! 15649: if test $am_rc -ne 0; then
! 15650: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 15651: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 15652: as_fn_error $? "Something went wrong bootstrapping makefile fragments
! 15653: for automatic dependency tracking. Try re-running configure with the
! 15654: '--disable-dependency-tracking' option to at least be able to build
! 15655: the package (albeit without support for automatic dependency tracking).
! 15656: See \`config.log' for more details" "$LINENO" 5; }
! 15657: fi
! 15658: { am_dirpart=; unset am_dirpart;}
! 15659: { am_filepart=; unset am_filepart;}
! 15660: { am_mf=; unset am_mf;}
! 15661: { am_rc=; unset am_rc;}
! 15662: rm -f conftest-deps.mk
! 15663: }
! 15664: ;;
! 15665: "libtool":C)
! 15666:
! 15667: # See if we are running on zsh, and set the options that allow our
! 15668: # commands through without removal of \ escapes.
! 15669: if test -n "${ZSH_VERSION+set}"; then
! 15670: setopt NO_GLOB_SUBST
! 15671: fi
! 15672:
! 15673: cfgfile=${ofile}T
! 15674: trap "$RM \"$cfgfile\"; exit 1" 1 2 15
! 15675: $RM "$cfgfile"
! 15676:
! 15677: cat <<_LT_EOF >> "$cfgfile"
! 15678: #! $SHELL
! 15679: # Generated automatically by $as_me ($PACKAGE) $VERSION
! 15680: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
! 15681: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
! 15682:
! 15683: # Provide generalized library-building support services.
! 15684: # Written by Gordon Matzigkeit, 1996
! 15685:
! 15686: # Copyright (C) 2014 Free Software Foundation, Inc.
! 15687: # This is free software; see the source for copying conditions. There is NO
! 15688: # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
! 15689:
! 15690: # GNU Libtool is free software; you can redistribute it and/or modify
! 15691: # it under the terms of the GNU General Public License as published by
! 15692: # the Free Software Foundation; either version 2 of of the License, or
! 15693: # (at your option) any later version.
! 15694: #
! 15695: # As a special exception to the GNU General Public License, if you
! 15696: # distribute this file as part of a program or library that is built
! 15697: # using GNU Libtool, you may include this file under the same
! 15698: # distribution terms that you use for the rest of that program.
! 15699: #
! 15700: # GNU Libtool is distributed in the hope that it will be useful, but
! 15701: # WITHOUT ANY WARRANTY; without even the implied warranty of
! 15702: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! 15703: # GNU General Public License for more details.
! 15704: #
! 15705: # You should have received a copy of the GNU General Public License
! 15706: # along with this program. If not, see <http://www.gnu.org/licenses/>.
! 15707:
! 15708:
! 15709: # The names of the tagged configurations supported by this script.
! 15710: available_tags=''
! 15711:
! 15712: # Configured defaults for sys_lib_dlsearch_path munging.
! 15713: : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
! 15714:
! 15715: # ### BEGIN LIBTOOL CONFIG
! 15716:
! 15717: # Which release of libtool.m4 was used?
! 15718: macro_version=$macro_version
! 15719: macro_revision=$macro_revision
! 15720:
! 15721: # Whether or not to build shared libraries.
! 15722: build_libtool_libs=$enable_shared
! 15723:
! 15724: # Whether or not to build static libraries.
! 15725: build_old_libs=$enable_static
! 15726:
! 15727: # What type of objects to build.
! 15728: pic_mode=$pic_mode
! 15729:
! 15730: # Whether or not to optimize for fast installation.
! 15731: fast_install=$enable_fast_install
! 15732:
! 15733: # Shared archive member basename,for filename based shared library versioning on AIX.
! 15734: shared_archive_member_spec=$shared_archive_member_spec
! 15735:
! 15736: # Shell to use when invoking shell scripts.
! 15737: SHELL=$lt_SHELL
! 15738:
! 15739: # An echo program that protects backslashes.
! 15740: ECHO=$lt_ECHO
! 15741:
! 15742: # The PATH separator for the build system.
! 15743: PATH_SEPARATOR=$lt_PATH_SEPARATOR
! 15744:
! 15745: # The host system.
! 15746: host_alias=$host_alias
! 15747: host=$host
! 15748: host_os=$host_os
! 15749:
! 15750: # The build system.
! 15751: build_alias=$build_alias
! 15752: build=$build
! 15753: build_os=$build_os
! 15754:
! 15755: # A sed program that does not truncate output.
! 15756: SED=$lt_SED
! 15757:
! 15758: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
! 15759: Xsed="\$SED -e 1s/^X//"
! 15760:
! 15761: # A grep program that handles long lines.
! 15762: GREP=$lt_GREP
! 15763:
! 15764: # An ERE matcher.
! 15765: EGREP=$lt_EGREP
! 15766:
! 15767: # A literal string matcher.
! 15768: FGREP=$lt_FGREP
! 15769:
! 15770: # A BSD- or MS-compatible name lister.
! 15771: NM=$lt_NM
! 15772:
! 15773: # Whether we need soft or hard links.
! 15774: LN_S=$lt_LN_S
! 15775:
! 15776: # What is the maximum length of a command?
! 15777: max_cmd_len=$max_cmd_len
! 15778:
! 15779: # Object file suffix (normally "o").
! 15780: objext=$ac_objext
! 15781:
! 15782: # Executable file suffix (normally "").
! 15783: exeext=$exeext
! 15784:
! 15785: # whether the shell understands "unset".
! 15786: lt_unset=$lt_unset
! 15787:
! 15788: # turn spaces into newlines.
! 15789: SP2NL=$lt_lt_SP2NL
! 15790:
! 15791: # turn newlines into spaces.
! 15792: NL2SP=$lt_lt_NL2SP
! 15793:
! 15794: # convert \$build file names to \$host format.
! 15795: to_host_file_cmd=$lt_cv_to_host_file_cmd
! 15796:
! 15797: # convert \$build files to toolchain format.
! 15798: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
! 15799:
! 15800: # An object symbol dumper.
! 15801: OBJDUMP=$lt_OBJDUMP
! 15802:
! 15803: # Method to check whether dependent libraries are shared objects.
! 15804: deplibs_check_method=$lt_deplibs_check_method
! 15805:
! 15806: # Command to use when deplibs_check_method = "file_magic".
! 15807: file_magic_cmd=$lt_file_magic_cmd
! 15808:
! 15809: # How to find potential files when deplibs_check_method = "file_magic".
! 15810: file_magic_glob=$lt_file_magic_glob
! 15811:
! 15812: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
! 15813: want_nocaseglob=$lt_want_nocaseglob
! 15814:
! 15815: # DLL creation program.
! 15816: DLLTOOL=$lt_DLLTOOL
! 15817:
! 15818: # Command to associate shared and link libraries.
! 15819: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
! 15820:
! 15821: # The archiver.
! 15822: AR=$lt_AR
! 15823:
! 15824: # Flags to create an archive.
! 15825: AR_FLAGS=$lt_AR_FLAGS
! 15826:
! 15827: # How to feed a file listing to the archiver.
! 15828: archiver_list_spec=$lt_archiver_list_spec
! 15829:
! 15830: # A symbol stripping program.
! 15831: STRIP=$lt_STRIP
! 15832:
! 15833: # Commands used to install an old-style archive.
! 15834: RANLIB=$lt_RANLIB
! 15835: old_postinstall_cmds=$lt_old_postinstall_cmds
! 15836: old_postuninstall_cmds=$lt_old_postuninstall_cmds
! 15837:
! 15838: # Whether to use a lock for old archive extraction.
! 15839: lock_old_archive_extraction=$lock_old_archive_extraction
! 15840:
! 15841: # A C compiler.
! 15842: LTCC=$lt_CC
! 15843:
! 15844: # LTCC compiler flags.
! 15845: LTCFLAGS=$lt_CFLAGS
! 15846:
! 15847: # Take the output of nm and produce a listing of raw symbols and C names.
! 15848: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
! 15849:
! 15850: # Transform the output of nm in a proper C declaration.
! 15851: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
! 15852:
! 15853: # Transform the output of nm into a list of symbols to manually relocate.
! 15854: global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
! 15855:
! 15856: # Transform the output of nm in a C name address pair.
! 15857: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
! 15858:
! 15859: # Transform the output of nm in a C name address pair when lib prefix is needed.
! 15860: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
! 15861:
! 15862: # The name lister interface.
! 15863: nm_interface=$lt_lt_cv_nm_interface
! 15864:
! 15865: # Specify filename containing input files for \$NM.
! 15866: nm_file_list_spec=$lt_nm_file_list_spec
! 15867:
! 15868: # The root where to search for dependent libraries,and where our libraries should be installed.
! 15869: lt_sysroot=$lt_sysroot
! 15870:
! 15871: # Command to truncate a binary pipe.
! 15872: lt_truncate_bin=$lt_lt_cv_truncate_bin
! 15873:
! 15874: # The name of the directory that contains temporary libtool files.
! 15875: objdir=$objdir
! 15876:
! 15877: # Used to examine libraries when file_magic_cmd begins with "file".
! 15878: MAGIC_CMD=$MAGIC_CMD
! 15879:
! 15880: # Must we lock files when doing compilation?
! 15881: need_locks=$lt_need_locks
! 15882:
! 15883: # Manifest tool.
! 15884: MANIFEST_TOOL=$lt_MANIFEST_TOOL
! 15885:
! 15886: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
! 15887: DSYMUTIL=$lt_DSYMUTIL
! 15888:
! 15889: # Tool to change global to local symbols on Mac OS X.
! 15890: NMEDIT=$lt_NMEDIT
! 15891:
! 15892: # Tool to manipulate fat objects and archives on Mac OS X.
! 15893: LIPO=$lt_LIPO
! 15894:
! 15895: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
! 15896: OTOOL=$lt_OTOOL
! 15897:
! 15898: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
! 15899: OTOOL64=$lt_OTOOL64
! 15900:
! 15901: # Old archive suffix (normally "a").
! 15902: libext=$libext
! 15903:
! 15904: # Shared library suffix (normally ".so").
! 15905: shrext_cmds=$lt_shrext_cmds
! 15906:
! 15907: # The commands to extract the exported symbol list from a shared archive.
! 15908: extract_expsyms_cmds=$lt_extract_expsyms_cmds
! 15909:
! 15910: # Variables whose values should be saved in libtool wrapper scripts and
! 15911: # restored at link time.
! 15912: variables_saved_for_relink=$lt_variables_saved_for_relink
! 15913:
! 15914: # Do we need the "lib" prefix for modules?
! 15915: need_lib_prefix=$need_lib_prefix
! 15916:
! 15917: # Do we need a version for libraries?
! 15918: need_version=$need_version
! 15919:
! 15920: # Library versioning type.
! 15921: version_type=$version_type
! 15922:
! 15923: # Shared library runtime path variable.
! 15924: runpath_var=$runpath_var
! 15925:
! 15926: # Shared library path variable.
! 15927: shlibpath_var=$shlibpath_var
! 15928:
! 15929: # Is shlibpath searched before the hard-coded library search path?
! 15930: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
! 15931:
! 15932: # Format of library name prefix.
! 15933: libname_spec=$lt_libname_spec
! 15934:
! 15935: # List of archive names. First name is the real one, the rest are links.
! 15936: # The last name is the one that the linker finds with -lNAME
! 15937: library_names_spec=$lt_library_names_spec
! 15938:
! 15939: # The coded name of the library, if different from the real name.
! 15940: soname_spec=$lt_soname_spec
! 15941:
! 15942: # Permission mode override for installation of shared libraries.
! 15943: install_override_mode=$lt_install_override_mode
! 15944:
! 15945: # Command to use after installation of a shared archive.
! 15946: postinstall_cmds=$lt_postinstall_cmds
! 15947:
! 15948: # Command to use after uninstallation of a shared archive.
! 15949: postuninstall_cmds=$lt_postuninstall_cmds
! 15950:
! 15951: # Commands used to finish a libtool library installation in a directory.
! 15952: finish_cmds=$lt_finish_cmds
! 15953:
! 15954: # As "finish_cmds", except a single script fragment to be evaled but
! 15955: # not shown.
! 15956: finish_eval=$lt_finish_eval
! 15957:
! 15958: # Whether we should hardcode library paths into libraries.
! 15959: hardcode_into_libs=$hardcode_into_libs
! 15960:
! 15961: # Compile-time system search path for libraries.
! 15962: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
! 15963:
! 15964: # Detected run-time system search path for libraries.
! 15965: sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
! 15966:
! 15967: # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
! 15968: configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
! 15969:
! 15970: # Whether dlopen is supported.
! 15971: dlopen_support=$enable_dlopen
! 15972:
! 15973: # Whether dlopen of programs is supported.
! 15974: dlopen_self=$enable_dlopen_self
! 15975:
! 15976: # Whether dlopen of statically linked programs is supported.
! 15977: dlopen_self_static=$enable_dlopen_self_static
! 15978:
! 15979: # Commands to strip libraries.
! 15980: old_striplib=$lt_old_striplib
! 15981: striplib=$lt_striplib
! 15982:
! 15983:
! 15984: # The linker used to build libraries.
! 15985: LD=$lt_LD
! 15986:
! 15987: # How to create reloadable object files.
! 15988: reload_flag=$lt_reload_flag
! 15989: reload_cmds=$lt_reload_cmds
! 15990:
! 15991: # Commands used to build an old-style archive.
! 15992: old_archive_cmds=$lt_old_archive_cmds
! 15993:
! 15994: # A language specific compiler.
! 15995: CC=$lt_compiler
! 15996:
! 15997: # Is the compiler the GNU compiler?
! 15998: with_gcc=$GCC
! 15999:
! 16000: # Compiler flag to turn off builtin functions.
! 16001: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
! 16002:
! 16003: # Additional compiler flags for building library objects.
! 16004: pic_flag=$lt_lt_prog_compiler_pic
! 16005:
! 16006: # How to pass a linker flag through the compiler.
! 16007: wl=$lt_lt_prog_compiler_wl
! 16008:
! 16009: # Compiler flag to prevent dynamic linking.
! 16010: link_static_flag=$lt_lt_prog_compiler_static
! 16011:
! 16012: # Does compiler simultaneously support -c and -o options?
! 16013: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
! 16014:
! 16015: # Whether or not to add -lc for building shared libraries.
! 16016: build_libtool_need_lc=$archive_cmds_need_lc
! 16017:
! 16018: # Whether or not to disallow shared libs when runtime libs are static.
! 16019: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
! 16020:
! 16021: # Compiler flag to allow reflexive dlopens.
! 16022: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
! 16023:
! 16024: # Compiler flag to generate shared objects directly from archives.
! 16025: whole_archive_flag_spec=$lt_whole_archive_flag_spec
! 16026:
! 16027: # Whether the compiler copes with passing no objects directly.
! 16028: compiler_needs_object=$lt_compiler_needs_object
! 16029:
! 16030: # Create an old-style archive from a shared archive.
! 16031: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
! 16032:
! 16033: # Create a temporary old-style archive to link instead of a shared archive.
! 16034: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
! 16035:
! 16036: # Commands used to build a shared archive.
! 16037: archive_cmds=$lt_archive_cmds
! 16038: archive_expsym_cmds=$lt_archive_expsym_cmds
! 16039:
! 16040: # Commands used to build a loadable module if different from building
! 16041: # a shared archive.
! 16042: module_cmds=$lt_module_cmds
! 16043: module_expsym_cmds=$lt_module_expsym_cmds
! 16044:
! 16045: # Whether we are building with GNU ld or not.
! 16046: with_gnu_ld=$lt_with_gnu_ld
! 16047:
! 16048: # Flag that allows shared libraries with undefined symbols to be built.
! 16049: allow_undefined_flag=$lt_allow_undefined_flag
! 16050:
! 16051: # Flag that enforces no undefined symbols.
! 16052: no_undefined_flag=$lt_no_undefined_flag
! 16053:
! 16054: # Flag to hardcode \$libdir into a binary during linking.
! 16055: # This must work even if \$libdir does not exist
! 16056: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
! 16057:
! 16058: # Whether we need a single "-rpath" flag with a separated argument.
! 16059: hardcode_libdir_separator=$lt_hardcode_libdir_separator
! 16060:
! 16061: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
! 16062: # DIR into the resulting binary.
! 16063: hardcode_direct=$hardcode_direct
! 16064:
! 16065: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
! 16066: # DIR into the resulting binary and the resulting library dependency is
! 16067: # "absolute",i.e impossible to change by setting \$shlibpath_var if the
! 16068: # library is relocated.
! 16069: hardcode_direct_absolute=$hardcode_direct_absolute
! 16070:
! 16071: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
! 16072: # into the resulting binary.
! 16073: hardcode_minus_L=$hardcode_minus_L
! 16074:
! 16075: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
! 16076: # into the resulting binary.
! 16077: hardcode_shlibpath_var=$hardcode_shlibpath_var
! 16078:
! 16079: # Set to "yes" if building a shared library automatically hardcodes DIR
! 16080: # into the library and all subsequent libraries and executables linked
! 16081: # against it.
! 16082: hardcode_automatic=$hardcode_automatic
! 16083:
! 16084: # Set to yes if linker adds runtime paths of dependent libraries
! 16085: # to runtime path list.
! 16086: inherit_rpath=$inherit_rpath
! 16087:
! 16088: # Whether libtool must link a program against all its dependency libraries.
! 16089: link_all_deplibs=$link_all_deplibs
! 16090:
! 16091: # Set to "yes" if exported symbols are required.
! 16092: always_export_symbols=$always_export_symbols
! 16093:
! 16094: # The commands to list exported symbols.
! 16095: export_symbols_cmds=$lt_export_symbols_cmds
! 16096:
! 16097: # Symbols that should not be listed in the preloaded symbols.
! 16098: exclude_expsyms=$lt_exclude_expsyms
! 16099:
! 16100: # Symbols that must always be exported.
! 16101: include_expsyms=$lt_include_expsyms
! 16102:
! 16103: # Commands necessary for linking programs (against libraries) with templates.
! 16104: prelink_cmds=$lt_prelink_cmds
! 16105:
! 16106: # Commands necessary for finishing linking programs.
! 16107: postlink_cmds=$lt_postlink_cmds
! 16108:
! 16109: # Specify filename containing input files.
! 16110: file_list_spec=$lt_file_list_spec
! 16111:
! 16112: # How to hardcode a shared library path into an executable.
! 16113: hardcode_action=$hardcode_action
! 16114:
! 16115: # ### END LIBTOOL CONFIG
! 16116:
! 16117: _LT_EOF
! 16118:
! 16119: cat <<'_LT_EOF' >> "$cfgfile"
! 16120:
! 16121: # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
! 16122:
! 16123: # func_munge_path_list VARIABLE PATH
! 16124: # -----------------------------------
! 16125: # VARIABLE is name of variable containing _space_ separated list of
! 16126: # directories to be munged by the contents of PATH, which is string
! 16127: # having a format:
! 16128: # "DIR[:DIR]:"
! 16129: # string "DIR[ DIR]" will be prepended to VARIABLE
! 16130: # ":DIR[:DIR]"
! 16131: # string "DIR[ DIR]" will be appended to VARIABLE
! 16132: # "DIRP[:DIRP]::[DIRA:]DIRA"
! 16133: # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
! 16134: # "DIRA[ DIRA]" will be appended to VARIABLE
! 16135: # "DIR[:DIR]"
! 16136: # VARIABLE will be replaced by "DIR[ DIR]"
! 16137: func_munge_path_list ()
! 16138: {
! 16139: case x$2 in
! 16140: x)
! 16141: ;;
! 16142: *:)
! 16143: eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
! 16144: ;;
! 16145: x:*)
! 16146: eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
! 16147: ;;
! 16148: *::*)
! 16149: eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
! 16150: eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
! 16151: ;;
! 16152: *)
! 16153: eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
! 16154: ;;
! 16155: esac
! 16156: }
! 16157:
! 16158:
! 16159: # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
! 16160: func_cc_basename ()
! 16161: {
! 16162: for cc_temp in $*""; do
! 16163: case $cc_temp in
! 16164: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
! 16165: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
! 16166: \-*) ;;
! 16167: *) break;;
! 16168: esac
1.1 noro 16169: done
1.5 ! ohara 16170: func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
1.1 noro 16171: }
1.5 ! ohara 16172:
! 16173:
! 16174: # ### END FUNCTIONS SHARED WITH CONFIGURE
! 16175:
! 16176: _LT_EOF
! 16177:
! 16178: case $host_os in
! 16179: aix3*)
! 16180: cat <<\_LT_EOF >> "$cfgfile"
! 16181: # AIX sometimes has problems with the GCC collect2 program. For some
! 16182: # reason, if we set the COLLECT_NAMES environment variable, the problems
! 16183: # vanish in a puff of smoke.
! 16184: if test set != "${COLLECT_NAMES+set}"; then
! 16185: COLLECT_NAMES=
! 16186: export COLLECT_NAMES
! 16187: fi
! 16188: _LT_EOF
! 16189: ;;
! 16190: esac
! 16191:
! 16192:
! 16193: ltmain=$ac_aux_dir/ltmain.sh
! 16194:
! 16195:
! 16196: # We use sed instead of cat because bash on DJGPP gets confused if
! 16197: # if finds mixed CR/LF and LF-only lines. Since sed operates in
! 16198: # text mode, it properly converts lines to CR/LF. This bash problem
! 16199: # is reportedly fixed, but why not run on old versions too?
! 16200: sed '$q' "$ltmain" >> "$cfgfile" \
! 16201: || (rm -f "$cfgfile"; exit 1)
! 16202:
! 16203: mv -f "$cfgfile" "$ofile" ||
! 16204: (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
! 16205: chmod +x "$ofile"
! 16206:
1.1 noro 16207: ;;
16208:
16209: esac
16210: done # for ac_tag
16211:
16212:
16213: as_fn_exit 0
16214: _ACEOF
16215: ac_clean_files=$ac_clean_files_save
16216:
16217: test $ac_write_fail = 0 ||
16218: as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16219:
16220:
16221: # configure is writing to config.log, and then calls config.status.
16222: # config.status does its own redirection, appending to config.log.
16223: # Unfortunately, on DOS this fails, as config.log is still kept open
16224: # by configure, so config.status won't be able to write to it; its
16225: # output is simply discarded. So we exec the FD to /dev/null,
16226: # effectively closing config.log, so it can be properly (re)opened and
16227: # appended to by config.status. When coming back to configure, we
16228: # need to make the FD available again.
16229: if test "$no_create" != yes; then
16230: ac_cs_success=:
16231: ac_config_status_args=
16232: test "$silent" = yes &&
16233: ac_config_status_args="$ac_config_status_args --quiet"
16234: exec 5>/dev/null
16235: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16236: exec 5>>config.log
16237: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16238: # would make configure fail if this is the last instruction.
16239: $ac_cs_success || as_fn_exit 1
16240: fi
16241: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16242: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16243: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16244: fi
16245:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>