|
a/unac/configure |
|
b/unac/configure |
1 |
#! /bin/sh
|
1 |
#! /bin/sh
|
2 |
# Guess values for system-dependent variables and create Makefiles.
|
2 |
# Guess values for system-dependent variables and create Makefiles.
|
3 |
# Generated by GNU Autoconf 2.61.
|
3 |
# Generated by GNU Autoconf 2.69 for unac 1.7.0.
|
4 |
#
|
4 |
#
|
5 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
5 |
#
|
6 |
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
6 |
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
|
|
|
7 |
#
|
|
|
8 |
#
|
7 |
# This configure script is free software; the Free Software Foundation
|
9 |
# This configure script is free software; the Free Software Foundation
|
8 |
# gives unlimited permission to copy, distribute and modify it.
|
10 |
# gives unlimited permission to copy, distribute and modify it.
|
9 |
## --------------------- ##
|
11 |
## -------------------- ##
|
10 |
## M4sh Initialization. ##
|
12 |
## M4sh Initialization. ##
|
11 |
## --------------------- ##
|
13 |
## -------------------- ##
|
12 |
|
14 |
|
13 |
# Be more Bourne compatible
|
15 |
# Be more Bourne compatible
|
14 |
DUALCASE=1; export DUALCASE # for MKS sh
|
16 |
DUALCASE=1; export DUALCASE # for MKS sh
|
15 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
17 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
16 |
emulate sh
|
18 |
emulate sh
|
17 |
NULLCMD=:
|
19 |
NULLCMD=:
|
18 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
20 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
19 |
# is contrary to our usage. Disable this feature.
|
21 |
# is contrary to our usage. Disable this feature.
|
20 |
alias -g '${1+"$@"}'='"$@"'
|
22 |
alias -g '${1+"$@"}'='"$@"'
|
21 |
setopt NO_GLOB_SUBST
|
23 |
setopt NO_GLOB_SUBST
|
22 |
else
|
24 |
else
|
23 |
case `(set -o) 2>/dev/null` in
|
25 |
case `(set -o) 2>/dev/null` in #(
|
24 |
*posix*) set -o posix ;;
|
26 |
*posix*) :
|
|
|
27 |
set -o posix ;; #(
|
|
|
28 |
*) :
|
|
|
29 |
;;
|
25 |
esac
|
30 |
esac
|
|
|
31 |
fi
|
26 |
|
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'
|
27 |
fi
|
67 |
fi
|
28 |
|
68 |
export as_echo_body
|
29 |
|
69 |
as_echo='sh -c $as_echo_body as_echo'
|
30 |
|
70 |
fi
|
31 |
|
|
|
32 |
# PATH needs CR
|
|
|
33 |
# Avoid depending upon Character Ranges.
|
|
|
34 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|
|
35 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
36 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|
|
37 |
as_cr_digits='0123456789'
|
|
|
38 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
|
39 |
|
71 |
|
40 |
# The user is always right.
|
72 |
# The user is always right.
|
41 |
if test "${PATH_SEPARATOR+set}" != set; then
|
73 |
if test "${PATH_SEPARATOR+set}" != set; then
|
42 |
echo "#! /bin/sh" >conf$$.sh
|
74 |
PATH_SEPARATOR=:
|
43 |
echo "exit 0" >>conf$$.sh
|
75 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
44 |
chmod +x conf$$.sh
|
76 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
45 |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
|
|
46 |
PATH_SEPARATOR=';'
|
77 |
PATH_SEPARATOR=';'
|
47 |
else
|
78 |
}
|
48 |
PATH_SEPARATOR=:
|
|
|
49 |
fi
|
|
|
50 |
rm -f conf$$.sh
|
|
|
51 |
fi
|
|
|
52 |
|
|
|
53 |
# Support unset when possible.
|
|
|
54 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
|
|
55 |
as_unset=unset
|
|
|
56 |
else
|
|
|
57 |
as_unset=false
|
|
|
58 |
fi
|
79 |
fi
|
59 |
|
80 |
|
60 |
|
81 |
|
61 |
# IFS
|
82 |
# IFS
|
62 |
# We need space, tab and new line, in precisely that order. Quoting is
|
83 |
# We need space, tab and new line, in precisely that order. Quoting is
|
63 |
# there to prevent editors from complaining about space-tab.
|
84 |
# there to prevent editors from complaining about space-tab.
|
64 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
85 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
65 |
# splitting by setting IFS to empty value.)
|
86 |
# splitting by setting IFS to empty value.)
|
66 |
as_nl='
|
|
|
67 |
'
|
|
|
68 |
IFS=" "" $as_nl"
|
87 |
IFS=" "" $as_nl"
|
69 |
|
88 |
|
70 |
# Find who we are. Look in the path if we contain no directory separator.
|
89 |
# Find who we are. Look in the path if we contain no directory separator.
|
|
|
90 |
as_myself=
|
71 |
case $0 in
|
91 |
case $0 in #((
|
72 |
*[\\/]* ) as_myself=$0 ;;
|
92 |
*[\\/]* ) as_myself=$0 ;;
|
73 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
93 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
74 |
for as_dir in $PATH
|
94 |
for as_dir in $PATH
|
75 |
do
|
95 |
do
|
76 |
IFS=$as_save_IFS
|
96 |
IFS=$as_save_IFS
|
77 |
test -z "$as_dir" && as_dir=.
|
97 |
test -z "$as_dir" && as_dir=.
|
78 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
98 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
79 |
done
|
99 |
done
|
80 |
IFS=$as_save_IFS
|
100 |
IFS=$as_save_IFS
|
81 |
|
101 |
|
82 |
;;
|
102 |
;;
|
83 |
esac
|
103 |
esac
|
84 |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
104 |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
85 |
# in which case we are not to be found in the path.
|
105 |
# in which case we are not to be found in the path.
|
86 |
if test "x$as_myself" = x; then
|
106 |
if test "x$as_myself" = x; then
|
87 |
as_myself=$0
|
107 |
as_myself=$0
|
88 |
fi
|
108 |
fi
|
89 |
if test ! -f "$as_myself"; then
|
109 |
if test ! -f "$as_myself"; then
|
90 |
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
110 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
91 |
{ (exit 1); exit 1; }
|
111 |
exit 1
|
92 |
fi
|
112 |
fi
|
93 |
|
113 |
|
94 |
# Work around bugs in pre-3.0 UWIN ksh.
|
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.
|
95 |
for as_var in ENV MAIL MAILPATH
|
118 |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
|
|
119 |
do eval test x\${$as_var+set} = xset \
|
96 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
120 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
97 |
done
|
121 |
done
|
98 |
PS1='$ '
|
122 |
PS1='$ '
|
99 |
PS2='> '
|
123 |
PS2='> '
|
100 |
PS4='+ '
|
124 |
PS4='+ '
|
101 |
|
125 |
|
102 |
# NLS nuisances.
|
126 |
# NLS nuisances.
|
103 |
for as_var in \
|
127 |
LC_ALL=C
|
104 |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
128 |
export LC_ALL
|
105 |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
129 |
LANGUAGE=C
|
106 |
LC_TELEPHONE LC_TIME
|
130 |
export LANGUAGE
|
|
|
131 |
|
|
|
132 |
# CDPATH.
|
|
|
133 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
|
|
134 |
|
|
|
135 |
# Use a proper internal environment variable to ensure we don't fall
|
|
|
136 |
# into an infinite loop, continuously re-executing ourselves.
|
|
|
137 |
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
|
|
|
138 |
_as_can_reexec=no; export _as_can_reexec;
|
|
|
139 |
# We cannot yet assume a decent shell, so we have to provide a
|
|
|
140 |
# neutralization value for shells without unset; and this also
|
|
|
141 |
# works around shells that cannot unset nonexistent variables.
|
|
|
142 |
# Preserve -v and -x to the replacement shell.
|
|
|
143 |
BASH_ENV=/dev/null
|
|
|
144 |
ENV=/dev/null
|
|
|
145 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
|
|
146 |
case $- in # ((((
|
|
|
147 |
*v*x* | *x*v* ) as_opts=-vx ;;
|
|
|
148 |
*v* ) as_opts=-v ;;
|
|
|
149 |
*x* ) as_opts=-x ;;
|
|
|
150 |
* ) as_opts= ;;
|
|
|
151 |
esac
|
|
|
152 |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
|
|
|
153 |
# Admittedly, this is quite paranoid, since all the known shells bail
|
|
|
154 |
# out after a failed `exec'.
|
|
|
155 |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
|
|
|
156 |
as_fn_exit 255
|
|
|
157 |
fi
|
|
|
158 |
# We don't want this to propagate to other subprocesses.
|
|
|
159 |
{ _as_can_reexec=; unset _as_can_reexec;}
|
|
|
160 |
if test "x$CONFIG_SHELL" = x; then
|
|
|
161 |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
|
|
|
162 |
emulate sh
|
|
|
163 |
NULLCMD=:
|
|
|
164 |
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
|
|
|
165 |
# is contrary to our usage. Disable this feature.
|
|
|
166 |
alias -g '\${1+\"\$@\"}'='\"\$@\"'
|
|
|
167 |
setopt NO_GLOB_SUBST
|
|
|
168 |
else
|
|
|
169 |
case \`(set -o) 2>/dev/null\` in #(
|
|
|
170 |
*posix*) :
|
|
|
171 |
set -o posix ;; #(
|
|
|
172 |
*) :
|
|
|
173 |
;;
|
|
|
174 |
esac
|
|
|
175 |
fi
|
|
|
176 |
"
|
|
|
177 |
as_required="as_fn_return () { (exit \$1); }
|
|
|
178 |
as_fn_success () { as_fn_return 0; }
|
|
|
179 |
as_fn_failure () { as_fn_return 1; }
|
|
|
180 |
as_fn_ret_success () { return 0; }
|
|
|
181 |
as_fn_ret_failure () { return 1; }
|
|
|
182 |
|
|
|
183 |
exitcode=0
|
|
|
184 |
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
|
|
|
185 |
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
|
|
|
186 |
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
|
|
|
187 |
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
|
|
|
188 |
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
|
|
|
189 |
|
|
|
190 |
else
|
|
|
191 |
exitcode=1; echo positional parameters were not saved.
|
|
|
192 |
fi
|
|
|
193 |
test x\$exitcode = x0 || exit 1
|
|
|
194 |
test -x / || exit 1"
|
|
|
195 |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
|
|
|
196 |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
|
|
|
197 |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
|
|
|
198 |
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
|
|
|
199 |
test \$(( 1 + 1 )) = 2 || exit 1
|
|
|
200 |
|
|
|
201 |
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
|
|
|
202 |
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
|
|
203 |
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
|
|
|
204 |
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
|
|
|
205 |
PATH=/empty FPATH=/empty; export PATH FPATH
|
|
|
206 |
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
|
|
|
207 |
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || 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
|
107 |
do
|
219 |
do
|
108 |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
220 |
IFS=$as_save_IFS
|
109 |
eval $as_var=C; export $as_var
|
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."
|
110 |
else
|
274 |
else
|
111 |
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
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."
|
112 |
fi
|
279 |
fi
|
113 |
done
|
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
|
114 |
|
289 |
|
115 |
# Required to use basename.
|
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 |
|
116 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
427 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
117 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
428 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
118 |
as_expr=expr
|
429 |
as_expr=expr
|
119 |
else
|
430 |
else
|
120 |
as_expr=false
|
431 |
as_expr=false
|
|
... |
|
... |
124 |
as_basename=basename
|
435 |
as_basename=basename
|
125 |
else
|
436 |
else
|
126 |
as_basename=false
|
437 |
as_basename=false
|
127 |
fi
|
438 |
fi
|
128 |
|
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
|
129 |
|
445 |
|
130 |
# Name of the executable.
|
|
|
131 |
as_me=`$as_basename -- "$0" ||
|
446 |
as_me=`$as_basename -- "$0" ||
|
132 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
447 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
133 |
X"$0" : 'X\(//\)$' \| \
|
448 |
X"$0" : 'X\(//\)$' \| \
|
134 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
449 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
135 |
echo X/"$0" |
|
450 |
$as_echo X/"$0" |
|
136 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
451 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
137 |
s//\1/
|
452 |
s//\1/
|
138 |
q
|
453 |
q
|
139 |
}
|
454 |
}
|
140 |
/^X\/\(\/\/\)$/{
|
455 |
/^X\/\(\/\/\)$/{
|
|
... |
|
... |
145 |
s//\1/
|
460 |
s//\1/
|
146 |
q
|
461 |
q
|
147 |
}
|
462 |
}
|
148 |
s/.*/./; q'`
|
463 |
s/.*/./; q'`
|
149 |
|
464 |
|
150 |
# CDPATH.
|
465 |
# Avoid depending upon Character Ranges.
|
151 |
$as_unset CDPATH
|
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
|
152 |
|
471 |
|
153 |
|
472 |
|
154 |
if test "x$CONFIG_SHELL" = x; then
|
473 |
as_lineno_1=$LINENO as_lineno_1a=$LINENO
|
155 |
if (eval ":") 2>/dev/null; then
|
474 |
as_lineno_2=$LINENO as_lineno_2a=$LINENO
|
156 |
as_have_required=yes
|
|
|
157 |
else
|
|
|
158 |
as_have_required=no
|
|
|
159 |
fi
|
|
|
160 |
|
|
|
161 |
if test $as_have_required = yes && (eval ":
|
|
|
162 |
(as_func_return () {
|
|
|
163 |
(exit \$1)
|
|
|
164 |
}
|
|
|
165 |
as_func_success () {
|
|
|
166 |
as_func_return 0
|
|
|
167 |
}
|
|
|
168 |
as_func_failure () {
|
|
|
169 |
as_func_return 1
|
|
|
170 |
}
|
|
|
171 |
as_func_ret_success () {
|
|
|
172 |
return 0
|
|
|
173 |
}
|
|
|
174 |
as_func_ret_failure () {
|
|
|
175 |
return 1
|
|
|
176 |
}
|
|
|
177 |
|
|
|
178 |
exitcode=0
|
|
|
179 |
if as_func_success; then
|
|
|
180 |
:
|
|
|
181 |
else
|
|
|
182 |
exitcode=1
|
|
|
183 |
echo as_func_success failed.
|
|
|
184 |
fi
|
|
|
185 |
|
|
|
186 |
if as_func_failure; then
|
|
|
187 |
exitcode=1
|
|
|
188 |
echo as_func_failure succeeded.
|
|
|
189 |
fi
|
|
|
190 |
|
|
|
191 |
if as_func_ret_success; then
|
|
|
192 |
:
|
|
|
193 |
else
|
|
|
194 |
exitcode=1
|
|
|
195 |
echo as_func_ret_success failed.
|
|
|
196 |
fi
|
|
|
197 |
|
|
|
198 |
if as_func_ret_failure; then
|
|
|
199 |
exitcode=1
|
|
|
200 |
echo as_func_ret_failure succeeded.
|
|
|
201 |
fi
|
|
|
202 |
|
|
|
203 |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
|
|
204 |
:
|
|
|
205 |
else
|
|
|
206 |
exitcode=1
|
|
|
207 |
echo positional parameters were not saved.
|
|
|
208 |
fi
|
|
|
209 |
|
|
|
210 |
test \$exitcode = 0) || { (exit 1); exit 1; }
|
|
|
211 |
|
|
|
212 |
(
|
|
|
213 |
as_lineno_1=\$LINENO
|
|
|
214 |
as_lineno_2=\$LINENO
|
|
|
215 |
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
|
|
|
216 |
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
|
|
|
217 |
") 2> /dev/null; then
|
|
|
218 |
:
|
|
|
219 |
else
|
|
|
220 |
as_candidate_shells=
|
|
|
221 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
|
222 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
|
|
223 |
do
|
|
|
224 |
IFS=$as_save_IFS
|
|
|
225 |
test -z "$as_dir" && as_dir=.
|
|
|
226 |
case $as_dir in
|
|
|
227 |
/*)
|
|
|
228 |
for as_base in sh bash ksh sh5; do
|
|
|
229 |
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
|
|
|
230 |
done;;
|
|
|
231 |
esac
|
|
|
232 |
done
|
|
|
233 |
IFS=$as_save_IFS
|
|
|
234 |
|
|
|
235 |
|
|
|
236 |
for as_shell in $as_candidate_shells $SHELL; do
|
|
|
237 |
# Try only shells that exist, to save several forks.
|
|
|
238 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
|
|
239 |
{ ("$as_shell") 2> /dev/null <<\_ASEOF
|
|
|
240 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
|
241 |
emulate sh
|
|
|
242 |
NULLCMD=:
|
|
|
243 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
|
|
244 |
# is contrary to our usage. Disable this feature.
|
|
|
245 |
alias -g '${1+"$@"}'='"$@"'
|
|
|
246 |
setopt NO_GLOB_SUBST
|
|
|
247 |
else
|
|
|
248 |
case `(set -o) 2>/dev/null` in
|
|
|
249 |
*posix*) set -o posix ;;
|
|
|
250 |
esac
|
|
|
251 |
|
|
|
252 |
fi
|
|
|
253 |
|
|
|
254 |
|
|
|
255 |
:
|
|
|
256 |
_ASEOF
|
|
|
257 |
}; then
|
|
|
258 |
CONFIG_SHELL=$as_shell
|
|
|
259 |
as_have_required=yes
|
|
|
260 |
if { "$as_shell" 2> /dev/null <<\_ASEOF
|
|
|
261 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
|
262 |
emulate sh
|
|
|
263 |
NULLCMD=:
|
|
|
264 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
|
|
265 |
# is contrary to our usage. Disable this feature.
|
|
|
266 |
alias -g '${1+"$@"}'='"$@"'
|
|
|
267 |
setopt NO_GLOB_SUBST
|
|
|
268 |
else
|
|
|
269 |
case `(set -o) 2>/dev/null` in
|
|
|
270 |
*posix*) set -o posix ;;
|
|
|
271 |
esac
|
|
|
272 |
|
|
|
273 |
fi
|
|
|
274 |
|
|
|
275 |
|
|
|
276 |
:
|
|
|
277 |
(as_func_return () {
|
|
|
278 |
(exit $1)
|
|
|
279 |
}
|
|
|
280 |
as_func_success () {
|
|
|
281 |
as_func_return 0
|
|
|
282 |
}
|
|
|
283 |
as_func_failure () {
|
|
|
284 |
as_func_return 1
|
|
|
285 |
}
|
|
|
286 |
as_func_ret_success () {
|
|
|
287 |
return 0
|
|
|
288 |
}
|
|
|
289 |
as_func_ret_failure () {
|
|
|
290 |
return 1
|
|
|
291 |
}
|
|
|
292 |
|
|
|
293 |
exitcode=0
|
|
|
294 |
if as_func_success; then
|
|
|
295 |
:
|
|
|
296 |
else
|
|
|
297 |
exitcode=1
|
|
|
298 |
echo as_func_success failed.
|
|
|
299 |
fi
|
|
|
300 |
|
|
|
301 |
if as_func_failure; then
|
|
|
302 |
exitcode=1
|
|
|
303 |
echo as_func_failure succeeded.
|
|
|
304 |
fi
|
|
|
305 |
|
|
|
306 |
if as_func_ret_success; then
|
|
|
307 |
:
|
|
|
308 |
else
|
|
|
309 |
exitcode=1
|
|
|
310 |
echo as_func_ret_success failed.
|
|
|
311 |
fi
|
|
|
312 |
|
|
|
313 |
if as_func_ret_failure; then
|
|
|
314 |
exitcode=1
|
|
|
315 |
echo as_func_ret_failure succeeded.
|
|
|
316 |
fi
|
|
|
317 |
|
|
|
318 |
if ( set x; as_func_ret_success y && test x = "$1" ); then
|
|
|
319 |
:
|
|
|
320 |
else
|
|
|
321 |
exitcode=1
|
|
|
322 |
echo positional parameters were not saved.
|
|
|
323 |
fi
|
|
|
324 |
|
|
|
325 |
test $exitcode = 0) || { (exit 1); exit 1; }
|
|
|
326 |
|
|
|
327 |
(
|
|
|
328 |
as_lineno_1=$LINENO
|
|
|
329 |
as_lineno_2=$LINENO
|
|
|
330 |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
475 |
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
|
331 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
|
|
|
332 |
|
|
|
333 |
_ASEOF
|
|
|
334 |
}; then
|
|
|
335 |
break
|
|
|
336 |
fi
|
|
|
337 |
|
|
|
338 |
fi
|
|
|
339 |
|
|
|
340 |
done
|
|
|
341 |
|
|
|
342 |
if test "x$CONFIG_SHELL" != x; then
|
|
|
343 |
for as_var in BASH_ENV ENV
|
|
|
344 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
|
345 |
done
|
|
|
346 |
export CONFIG_SHELL
|
|
|
347 |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
|
|
348 |
fi
|
|
|
349 |
|
|
|
350 |
|
|
|
351 |
if test $as_have_required = no; then
|
|
|
352 |
echo This script requires a shell more modern than all the
|
|
|
353 |
echo shells that I found on your system. Please install a
|
|
|
354 |
echo modern shell, or manually run the script under such a
|
|
|
355 |
echo shell if you do have one.
|
|
|
356 |
{ (exit 1); exit 1; }
|
|
|
357 |
fi
|
|
|
358 |
|
|
|
359 |
|
|
|
360 |
fi
|
|
|
361 |
|
|
|
362 |
fi
|
|
|
363 |
|
|
|
364 |
|
|
|
365 |
|
|
|
366 |
(eval "as_func_return () {
|
|
|
367 |
(exit \$1)
|
|
|
368 |
}
|
|
|
369 |
as_func_success () {
|
|
|
370 |
as_func_return 0
|
|
|
371 |
}
|
|
|
372 |
as_func_failure () {
|
|
|
373 |
as_func_return 1
|
|
|
374 |
}
|
|
|
375 |
as_func_ret_success () {
|
|
|
376 |
return 0
|
|
|
377 |
}
|
|
|
378 |
as_func_ret_failure () {
|
|
|
379 |
return 1
|
|
|
380 |
}
|
|
|
381 |
|
|
|
382 |
exitcode=0
|
|
|
383 |
if as_func_success; then
|
|
|
384 |
:
|
|
|
385 |
else
|
|
|
386 |
exitcode=1
|
|
|
387 |
echo as_func_success failed.
|
|
|
388 |
fi
|
|
|
389 |
|
|
|
390 |
if as_func_failure; then
|
|
|
391 |
exitcode=1
|
|
|
392 |
echo as_func_failure succeeded.
|
|
|
393 |
fi
|
|
|
394 |
|
|
|
395 |
if as_func_ret_success; then
|
|
|
396 |
:
|
|
|
397 |
else
|
|
|
398 |
exitcode=1
|
|
|
399 |
echo as_func_ret_success failed.
|
|
|
400 |
fi
|
|
|
401 |
|
|
|
402 |
if as_func_ret_failure; then
|
|
|
403 |
exitcode=1
|
|
|
404 |
echo as_func_ret_failure succeeded.
|
|
|
405 |
fi
|
|
|
406 |
|
|
|
407 |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
|
|
408 |
:
|
|
|
409 |
else
|
|
|
410 |
exitcode=1
|
|
|
411 |
echo positional parameters were not saved.
|
|
|
412 |
fi
|
|
|
413 |
|
|
|
414 |
test \$exitcode = 0") || {
|
|
|
415 |
echo No shell found that supports shell functions.
|
|
|
416 |
echo Please tell autoconf@gnu.org about your system,
|
|
|
417 |
echo including any error possibly output before this
|
|
|
418 |
echo message
|
|
|
419 |
}
|
|
|
420 |
|
|
|
421 |
|
|
|
422 |
|
|
|
423 |
as_lineno_1=$LINENO
|
|
|
424 |
as_lineno_2=$LINENO
|
|
|
425 |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
|
|
426 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
476 |
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
|
427 |
|
|
|
428 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
|
|
429 |
# uniformly replaced by the line number. The first 'sed' inserts a
|
|
|
430 |
# line-number line after each line using $LINENO; the second 'sed'
|
|
|
431 |
# does the real work. The second script uses 'N' to pair each
|
|
|
432 |
# line-number line with the line containing $LINENO, and appends
|
|
|
433 |
# trailing '-' during substitution so that $LINENO is not a special
|
|
|
434 |
# case at line end.
|
|
|
435 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
|
|
436 |
# scripts with optimization help from Paolo Bonzini. Blame Lee
|
|
|
437 |
# E. McMahon (1931-1989) for sed's syntax. :-)
|
477 |
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
|
438 |
sed -n '
|
478 |
sed -n '
|
439 |
p
|
479 |
p
|
440 |
/[$]LINENO/=
|
480 |
/[$]LINENO/=
|
441 |
' <$as_myself |
|
481 |
' <$as_myself |
|
442 |
sed '
|
482 |
sed '
|
|
... |
|
... |
449 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
489 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
450 |
t loop
|
490 |
t loop
|
451 |
s/-\n.*//
|
491 |
s/-\n.*//
|
452 |
' >$as_me.lineno &&
|
492 |
' >$as_me.lineno &&
|
453 |
chmod +x "$as_me.lineno" ||
|
493 |
chmod +x "$as_me.lineno" ||
|
454 |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
494 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
|
455 |
{ (exit 1); exit 1; }; }
|
|
|
456 |
|
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
|
457 |
# Don't try to exec as it changes $[0], causing all sort of problems
|
500 |
# Don't try to exec as it changes $[0], causing all sort of problems
|
458 |
# (the dirname of $[0] is not the place where we might find the
|
501 |
# (the dirname of $[0] is not the place where we might find the
|
459 |
# original and so on. Autoconf is especially sensitive to this).
|
502 |
# original and so on. Autoconf is especially sensitive to this).
|
460 |
. "./$as_me.lineno"
|
503 |
. "./$as_me.lineno"
|
461 |
# Exit status is that of the last command.
|
504 |
# Exit status is that of the last command.
|
462 |
exit
|
505 |
exit
|
463 |
}
|
506 |
}
|
464 |
|
507 |
|
465 |
|
|
|
466 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
|
467 |
as_dirname=dirname
|
|
|
468 |
else
|
|
|
469 |
as_dirname=false
|
|
|
470 |
fi
|
|
|
471 |
|
|
|
472 |
ECHO_C= ECHO_N= ECHO_T=
|
508 |
ECHO_C= ECHO_N= ECHO_T=
|
473 |
case `echo -n x` in
|
509 |
case `echo -n x` in #(((((
|
474 |
-n*)
|
510 |
-n*)
|
475 |
case `echo 'x\c'` in
|
511 |
case `echo 'xy\c'` in
|
476 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
512 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
477 |
*) ECHO_C='\c';;
|
513 |
xy) ECHO_C='\c';;
|
|
|
514 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
|
|
515 |
ECHO_T=' ';;
|
478 |
esac;;
|
516 |
esac;;
|
479 |
*)
|
517 |
*)
|
480 |
ECHO_N='-n';;
|
518 |
ECHO_N='-n';;
|
481 |
esac
|
519 |
esac
|
482 |
|
520 |
|
483 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
|
|
484 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
|
|
485 |
as_expr=expr
|
|
|
486 |
else
|
|
|
487 |
as_expr=false
|
|
|
488 |
fi
|
|
|
489 |
|
|
|
490 |
rm -f conf$$ conf$$.exe conf$$.file
|
521 |
rm -f conf$$ conf$$.exe conf$$.file
|
491 |
if test -d conf$$.dir; then
|
522 |
if test -d conf$$.dir; then
|
492 |
rm -f conf$$.dir/conf$$.file
|
523 |
rm -f conf$$.dir/conf$$.file
|
493 |
else
|
524 |
else
|
494 |
rm -f conf$$.dir
|
525 |
rm -f conf$$.dir
|
495 |
mkdir conf$$.dir
|
526 |
mkdir conf$$.dir 2>/dev/null
|
496 |
fi
|
527 |
fi
|
497 |
echo >conf$$.file
|
528 |
if (echo >conf$$.file) 2>/dev/null; then
|
498 |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
529 |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
499 |
as_ln_s='ln -s'
|
530 |
as_ln_s='ln -s'
|
500 |
# ... but there are two gotchas:
|
531 |
# ... but there are two gotchas:
|
501 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
532 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
502 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
533 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
503 |
# In both cases, we have to default to `cp -p'.
|
534 |
# In both cases, we have to default to `cp -pR'.
|
504 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
535 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
505 |
as_ln_s='cp -p'
|
536 |
as_ln_s='cp -pR'
|
506 |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
537 |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
507 |
as_ln_s=ln
|
538 |
as_ln_s=ln
|
508 |
else
|
539 |
else
|
|
|
540 |
as_ln_s='cp -pR'
|
|
|
541 |
fi
|
|
|
542 |
else
|
509 |
as_ln_s='cp -p'
|
543 |
as_ln_s='cp -pR'
|
510 |
fi
|
544 |
fi
|
511 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
545 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
512 |
rmdir conf$$.dir 2>/dev/null
|
546 |
rmdir conf$$.dir 2>/dev/null
|
513 |
|
547 |
|
514 |
if mkdir -p . 2>/dev/null; then
|
548 |
if mkdir -p . 2>/dev/null; then
|
515 |
as_mkdir_p=:
|
549 |
as_mkdir_p='mkdir -p "$as_dir"'
|
516 |
else
|
550 |
else
|
517 |
test -d ./-p && rmdir ./-p
|
551 |
test -d ./-p && rmdir ./-p
|
518 |
as_mkdir_p=false
|
552 |
as_mkdir_p=false
|
519 |
fi
|
553 |
fi
|
520 |
|
554 |
|
521 |
if test -x / >/dev/null 2>&1; then
|
|
|
522 |
as_test_x='test -x'
|
555 |
as_test_x='test -x'
|
523 |
else
|
556 |
as_executable_p=as_fn_executable_p
|
524 |
if ls -dL / >/dev/null 2>&1; then
|
|
|
525 |
as_ls_L_option=L
|
|
|
526 |
else
|
|
|
527 |
as_ls_L_option=
|
|
|
528 |
fi
|
|
|
529 |
as_test_x='
|
|
|
530 |
eval sh -c '\''
|
|
|
531 |
if test -d "$1"; then
|
|
|
532 |
test -d "$1/.";
|
|
|
533 |
else
|
|
|
534 |
case $1 in
|
|
|
535 |
-*)set "./$1";;
|
|
|
536 |
esac;
|
|
|
537 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
|
|
538 |
???[sx]*):;;*)false;;esac;fi
|
|
|
539 |
'\'' sh
|
|
|
540 |
'
|
|
|
541 |
fi
|
|
|
542 |
as_executable_p=$as_test_x
|
|
|
543 |
|
557 |
|
544 |
# Sed expression to map a string onto a valid CPP name.
|
558 |
# Sed expression to map a string onto a valid CPP name.
|
545 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
559 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
546 |
|
560 |
|
547 |
# Sed expression to map a string onto a valid variable name.
|
561 |
# Sed expression to map a string onto a valid variable name.
|
548 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
562 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
549 |
|
563 |
|
550 |
|
|
|
551 |
|
|
|
552 |
# Find the correct PATH separator. Usually this is `:', but
|
|
|
553 |
# DJGPP uses `;' like DOS.
|
|
|
554 |
if test "X${PATH_SEPARATOR+set}" != Xset; then
|
|
|
555 |
UNAME=${UNAME-`uname 2>/dev/null`}
|
|
|
556 |
case X$UNAME in
|
|
|
557 |
*-DOS) lt_cv_sys_path_separator=';' ;;
|
|
|
558 |
*) lt_cv_sys_path_separator=':' ;;
|
|
|
559 |
esac
|
|
|
560 |
PATH_SEPARATOR=$lt_cv_sys_path_separator
|
|
|
561 |
fi
|
|
|
562 |
|
|
|
563 |
|
|
|
564 |
# Check that we are running under the correct shell.
|
|
|
565 |
SHELL=${CONFIG_SHELL-/bin/sh}
|
564 |
SHELL=${CONFIG_SHELL-/bin/sh}
|
566 |
|
565 |
|
567 |
case X$ECHO in
|
|
|
568 |
X*--fallback-echo)
|
|
|
569 |
# Remove one level of quotation (which was required for Make).
|
|
|
570 |
ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
|
|
|
571 |
;;
|
|
|
572 |
esac
|
|
|
573 |
|
566 |
|
574 |
echo=${ECHO-echo}
|
567 |
test -n "$DJDIR" || exec 7<&0 </dev/null
|
575 |
if test "X$1" = X--no-reexec; then
|
568 |
exec 6>&1
|
576 |
# Discard the --no-reexec flag, and continue.
|
|
|
577 |
shift
|
|
|
578 |
elif test "X$1" = X--fallback-echo; then
|
|
|
579 |
# Avoid inline document here, it may be left over
|
|
|
580 |
:
|
|
|
581 |
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
|
|
|
582 |
# Yippee, $echo works!
|
|
|
583 |
:
|
|
|
584 |
else
|
|
|
585 |
# Restart under the correct shell.
|
|
|
586 |
exec $SHELL "$0" --no-reexec ${1+"$@"}
|
|
|
587 |
fi
|
|
|
588 |
|
|
|
589 |
if test "X$1" = X--fallback-echo; then
|
|
|
590 |
# used as fallback echo
|
|
|
591 |
shift
|
|
|
592 |
cat <<EOF
|
|
|
593 |
|
|
|
594 |
EOF
|
|
|
595 |
exit 0
|
|
|
596 |
fi
|
|
|
597 |
|
|
|
598 |
# The HP-UX ksh and POSIX shell print the target directory to stdout
|
|
|
599 |
# if CDPATH is set.
|
|
|
600 |
if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
|
|
|
601 |
|
|
|
602 |
if test -z "$ECHO"; then
|
|
|
603 |
if test "X${echo_test_string+set}" != Xset; then
|
|
|
604 |
# find a string as large as possible, as long as the shell can cope with it
|
|
|
605 |
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
|
|
|
606 |
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
|
|
|
607 |
if (echo_test_string="`eval $cmd`") 2>/dev/null &&
|
|
|
608 |
echo_test_string="`eval $cmd`" &&
|
|
|
609 |
(test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
|
|
|
610 |
then
|
|
|
611 |
break
|
|
|
612 |
fi
|
|
|
613 |
done
|
|
|
614 |
fi
|
|
|
615 |
|
|
|
616 |
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
|
|
|
617 |
echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
|
|
|
618 |
test "X$echo_testing_string" = "X$echo_test_string"; then
|
|
|
619 |
:
|
|
|
620 |
else
|
|
|
621 |
# The Solaris, AIX, and Digital Unix default echo programs unquote
|
|
|
622 |
# backslashes. This makes it impossible to quote backslashes using
|
|
|
623 |
# echo "$something" | sed 's/\\/\\\\/g'
|
|
|
624 |
#
|
|
|
625 |
# So, first we look for a working echo in the user's PATH.
|
|
|
626 |
|
|
|
627 |
IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
|
|
|
628 |
for dir in $PATH /usr/ucb; do
|
|
|
629 |
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
|
|
|
630 |
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
|
|
|
631 |
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
|
|
|
632 |
test "X$echo_testing_string" = "X$echo_test_string"; then
|
|
|
633 |
echo="$dir/echo"
|
|
|
634 |
break
|
|
|
635 |
fi
|
|
|
636 |
done
|
|
|
637 |
IFS="$save_ifs"
|
|
|
638 |
|
|
|
639 |
if test "X$echo" = Xecho; then
|
|
|
640 |
# We didn't find a better echo, so look for alternatives.
|
|
|
641 |
if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
|
|
|
642 |
echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
|
|
|
643 |
test "X$echo_testing_string" = "X$echo_test_string"; then
|
|
|
644 |
# This shell has a builtin print -r that does the trick.
|
|
|
645 |
echo='print -r'
|
|
|
646 |
elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
|
|
|
647 |
test "X$CONFIG_SHELL" != X/bin/ksh; then
|
|
|
648 |
# If we have ksh, try running configure again with it.
|
|
|
649 |
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
|
|
|
650 |
export ORIGINAL_CONFIG_SHELL
|
|
|
651 |
CONFIG_SHELL=/bin/ksh
|
|
|
652 |
export CONFIG_SHELL
|
|
|
653 |
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
|
|
|
654 |
else
|
|
|
655 |
# Try using printf.
|
|
|
656 |
echo='printf %s\n'
|
|
|
657 |
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
|
|
|
658 |
echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
|
|
|
659 |
test "X$echo_testing_string" = "X$echo_test_string"; then
|
|
|
660 |
# Cool, printf works
|
|
|
661 |
:
|
|
|
662 |
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
|
|
|
663 |
test "X$echo_testing_string" = 'X\t' &&
|
|
|
664 |
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
|
|
|
665 |
test "X$echo_testing_string" = "X$echo_test_string"; then
|
|
|
666 |
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
|
|
|
667 |
export CONFIG_SHELL
|
|
|
668 |
SHELL="$CONFIG_SHELL"
|
|
|
669 |
export SHELL
|
|
|
670 |
echo="$CONFIG_SHELL $0 --fallback-echo"
|
|
|
671 |
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
|
|
|
672 |
test "X$echo_testing_string" = 'X\t' &&
|
|
|
673 |
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
|
|
|
674 |
test "X$echo_testing_string" = "X$echo_test_string"; then
|
|
|
675 |
echo="$CONFIG_SHELL $0 --fallback-echo"
|
|
|
676 |
else
|
|
|
677 |
# maybe with a smaller string...
|
|
|
678 |
prev=:
|
|
|
679 |
|
|
|
680 |
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
|
|
|
681 |
if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
|
|
|
682 |
then
|
|
|
683 |
break
|
|
|
684 |
fi
|
|
|
685 |
prev="$cmd"
|
|
|
686 |
done
|
|
|
687 |
|
|
|
688 |
if test "$prev" != 'sed 50q "$0"'; then
|
|
|
689 |
echo_test_string=`eval $prev`
|
|
|
690 |
export echo_test_string
|
|
|
691 |
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
|
|
|
692 |
else
|
|
|
693 |
# Oops. We lost completely, so just stick with echo.
|
|
|
694 |
echo=echo
|
|
|
695 |
fi
|
|
|
696 |
fi
|
|
|
697 |
fi
|
|
|
698 |
fi
|
|
|
699 |
fi
|
|
|
700 |
fi
|
|
|
701 |
|
|
|
702 |
# Copy echo and quote the copy suitably for passing to libtool from
|
|
|
703 |
# the Makefile, instead of quoting the original, which is used later.
|
|
|
704 |
ECHO=$echo
|
|
|
705 |
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
|
|
|
706 |
ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
|
|
|
707 |
fi
|
|
|
708 |
|
|
|
709 |
|
|
|
710 |
|
|
|
711 |
exec 7<&0 </dev/null 6>&1
|
|
|
712 |
|
569 |
|
713 |
# Name of the host.
|
570 |
# Name of the host.
|
714 |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
571 |
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
|
715 |
# so uname gets run too.
|
572 |
# so uname gets run too.
|
716 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
573 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
717 |
|
574 |
|
718 |
#
|
575 |
#
|
719 |
# Initializations.
|
576 |
# Initializations.
|
|
... |
|
... |
724 |
LIBOBJS=
|
581 |
LIBOBJS=
|
725 |
cross_compiling=no
|
582 |
cross_compiling=no
|
726 |
subdirs=
|
583 |
subdirs=
|
727 |
MFLAGS=
|
584 |
MFLAGS=
|
728 |
MAKEFLAGS=
|
585 |
MAKEFLAGS=
|
729 |
SHELL=${CONFIG_SHELL-/bin/sh}
|
|
|
730 |
|
586 |
|
731 |
# Identity of this package.
|
587 |
# Identity of this package.
|
732 |
PACKAGE_NAME=
|
588 |
PACKAGE_NAME='unac'
|
733 |
PACKAGE_TARNAME=
|
589 |
PACKAGE_TARNAME='unac'
|
734 |
PACKAGE_VERSION=
|
590 |
PACKAGE_VERSION='1.7.0'
|
735 |
PACKAGE_STRING=
|
591 |
PACKAGE_STRING='unac 1.7.0'
|
736 |
PACKAGE_BUGREPORT=
|
592 |
PACKAGE_BUGREPORT=''
|
|
|
593 |
PACKAGE_URL=''
|
737 |
|
594 |
|
738 |
ac_unique_file="config.h.in"
|
|
|
739 |
# Factoring default headers for most tests.
|
595 |
# Factoring default headers for most tests.
|
740 |
ac_includes_default="\
|
596 |
ac_includes_default="\
|
741 |
#include <stdio.h>
|
597 |
#include <stdio.h>
|
742 |
#ifdef HAVE_SYS_TYPES_H
|
598 |
#ifdef HAVE_SYS_TYPES_H
|
743 |
# include <sys/types.h>
|
599 |
# include <sys/types.h>
|
|
... |
|
... |
770 |
#endif
|
626 |
#endif
|
771 |
#ifdef HAVE_UNISTD_H
|
627 |
#ifdef HAVE_UNISTD_H
|
772 |
# include <unistd.h>
|
628 |
# include <unistd.h>
|
773 |
#endif"
|
629 |
#endif"
|
774 |
|
630 |
|
775 |
ac_subst_vars='SHELL
|
631 |
ac_subst_vars='am__EXEEXT_FALSE
|
|
|
632 |
am__EXEEXT_TRUE
|
|
|
633 |
LTLIBOBJS
|
|
|
634 |
LIBOBJS
|
|
|
635 |
LTLIBICONV
|
|
|
636 |
LIBICONV
|
|
|
637 |
MAINT
|
|
|
638 |
MAINTAINER_MODE_FALSE
|
|
|
639 |
MAINTAINER_MODE_TRUE
|
|
|
640 |
SH
|
|
|
641 |
PERL
|
|
|
642 |
OTOOL64
|
|
|
643 |
OTOOL
|
|
|
644 |
LIPO
|
|
|
645 |
NMEDIT
|
|
|
646 |
DSYMUTIL
|
|
|
647 |
MANIFEST_TOOL
|
|
|
648 |
RANLIB
|
|
|
649 |
ac_ct_AR
|
|
|
650 |
AR
|
|
|
651 |
DLLTOOL
|
|
|
652 |
OBJDUMP
|
|
|
653 |
LN_S
|
|
|
654 |
NM
|
|
|
655 |
ac_ct_DUMPBIN
|
|
|
656 |
DUMPBIN
|
|
|
657 |
LD
|
|
|
658 |
FGREP
|
|
|
659 |
SED
|
|
|
660 |
host_os
|
|
|
661 |
host_vendor
|
|
|
662 |
host_cpu
|
|
|
663 |
host
|
|
|
664 |
build_os
|
|
|
665 |
build_vendor
|
|
|
666 |
build_cpu
|
|
|
667 |
build
|
|
|
668 |
LIBTOOL
|
|
|
669 |
EGREP
|
|
|
670 |
GREP
|
|
|
671 |
CPP
|
|
|
672 |
am__fastdepCC_FALSE
|
|
|
673 |
am__fastdepCC_TRUE
|
|
|
674 |
CCDEPMODE
|
|
|
675 |
am__nodep
|
|
|
676 |
AMDEPBACKSLASH
|
|
|
677 |
AMDEP_FALSE
|
|
|
678 |
AMDEP_TRUE
|
|
|
679 |
am__quote
|
|
|
680 |
am__include
|
|
|
681 |
DEPDIR
|
|
|
682 |
OBJEXT
|
|
|
683 |
EXEEXT
|
|
|
684 |
ac_ct_CC
|
|
|
685 |
CPPFLAGS
|
|
|
686 |
LDFLAGS
|
|
|
687 |
CFLAGS
|
|
|
688 |
CC
|
|
|
689 |
UNICODE_VERSION
|
|
|
690 |
AM_BACKSLASH
|
|
|
691 |
AM_DEFAULT_VERBOSITY
|
|
|
692 |
AM_DEFAULT_V
|
|
|
693 |
AM_V
|
|
|
694 |
am__untar
|
|
|
695 |
am__tar
|
|
|
696 |
AMTAR
|
|
|
697 |
am__leading_dot
|
|
|
698 |
SET_MAKE
|
|
|
699 |
AWK
|
|
|
700 |
mkdir_p
|
|
|
701 |
MKDIR_P
|
|
|
702 |
INSTALL_STRIP_PROGRAM
|
|
|
703 |
STRIP
|
|
|
704 |
install_sh
|
|
|
705 |
MAKEINFO
|
|
|
706 |
AUTOHEADER
|
|
|
707 |
AUTOMAKE
|
|
|
708 |
AUTOCONF
|
|
|
709 |
ACLOCAL
|
|
|
710 |
VERSION
|
|
|
711 |
PACKAGE
|
|
|
712 |
CYGPATH_W
|
|
|
713 |
am__isrc
|
|
|
714 |
INSTALL_DATA
|
|
|
715 |
INSTALL_SCRIPT
|
|
|
716 |
INSTALL_PROGRAM
|
|
|
717 |
MICRO_VERSION
|
|
|
718 |
MINOR_VERSION
|
|
|
719 |
MAJOR_VERSION
|
|
|
720 |
target_alias
|
|
|
721 |
host_alias
|
|
|
722 |
build_alias
|
|
|
723 |
LIBS
|
|
|
724 |
ECHO_T
|
|
|
725 |
ECHO_N
|
|
|
726 |
ECHO_C
|
|
|
727 |
DEFS
|
|
|
728 |
mandir
|
|
|
729 |
localedir
|
|
|
730 |
libdir
|
|
|
731 |
psdir
|
|
|
732 |
pdfdir
|
|
|
733 |
dvidir
|
|
|
734 |
htmldir
|
|
|
735 |
infodir
|
|
|
736 |
docdir
|
|
|
737 |
oldincludedir
|
|
|
738 |
includedir
|
|
|
739 |
localstatedir
|
|
|
740 |
sharedstatedir
|
|
|
741 |
sysconfdir
|
|
|
742 |
datadir
|
|
|
743 |
datarootdir
|
|
|
744 |
libexecdir
|
|
|
745 |
sbindir
|
|
|
746 |
bindir
|
|
|
747 |
program_transform_name
|
|
|
748 |
prefix
|
|
|
749 |
exec_prefix
|
|
|
750 |
PACKAGE_URL
|
|
|
751 |
PACKAGE_BUGREPORT
|
|
|
752 |
PACKAGE_STRING
|
|
|
753 |
PACKAGE_VERSION
|
|
|
754 |
PACKAGE_TARNAME
|
|
|
755 |
PACKAGE_NAME
|
776 |
PATH_SEPARATOR
|
756 |
PATH_SEPARATOR
|
777 |
PACKAGE_NAME
|
757 |
SHELL'
|
778 |
PACKAGE_TARNAME
|
|
|
779 |
PACKAGE_VERSION
|
|
|
780 |
PACKAGE_STRING
|
|
|
781 |
PACKAGE_BUGREPORT
|
|
|
782 |
exec_prefix
|
|
|
783 |
prefix
|
|
|
784 |
program_transform_name
|
|
|
785 |
bindir
|
|
|
786 |
sbindir
|
|
|
787 |
libexecdir
|
|
|
788 |
datarootdir
|
|
|
789 |
datadir
|
|
|
790 |
sysconfdir
|
|
|
791 |
sharedstatedir
|
|
|
792 |
localstatedir
|
|
|
793 |
includedir
|
|
|
794 |
oldincludedir
|
|
|
795 |
docdir
|
|
|
796 |
infodir
|
|
|
797 |
htmldir
|
|
|
798 |
dvidir
|
|
|
799 |
pdfdir
|
|
|
800 |
psdir
|
|
|
801 |
libdir
|
|
|
802 |
localedir
|
|
|
803 |
mandir
|
|
|
804 |
DEFS
|
|
|
805 |
ECHO_C
|
|
|
806 |
ECHO_N
|
|
|
807 |
ECHO_T
|
|
|
808 |
LIBS
|
|
|
809 |
build_alias
|
|
|
810 |
host_alias
|
|
|
811 |
target_alias
|
|
|
812 |
MAJOR_VERSION
|
|
|
813 |
MINOR_VERSION
|
|
|
814 |
MICRO_VERSION
|
|
|
815 |
INSTALL_PROGRAM
|
|
|
816 |
INSTALL_SCRIPT
|
|
|
817 |
INSTALL_DATA
|
|
|
818 |
PACKAGE
|
|
|
819 |
VERSION
|
|
|
820 |
EXEEXT
|
|
|
821 |
OBJEXT
|
|
|
822 |
ACLOCAL
|
|
|
823 |
AUTOCONF
|
|
|
824 |
AUTOMAKE
|
|
|
825 |
AUTOHEADER
|
|
|
826 |
MAKEINFO
|
|
|
827 |
AMTAR
|
|
|
828 |
install_sh
|
|
|
829 |
INSTALL_STRIP_PROGRAM
|
|
|
830 |
AWK
|
|
|
831 |
SET_MAKE
|
|
|
832 |
AMDEP_TRUE
|
|
|
833 |
AMDEP_FALSE
|
|
|
834 |
AMDEPBACKSLASH
|
|
|
835 |
DEPDIR
|
|
|
836 |
UNICODE_VERSION
|
|
|
837 |
CC
|
|
|
838 |
CFLAGS
|
|
|
839 |
LDFLAGS
|
|
|
840 |
CPPFLAGS
|
|
|
841 |
ac_ct_CC
|
|
|
842 |
am__include
|
|
|
843 |
am__quote
|
|
|
844 |
CCDEPMODE
|
|
|
845 |
CPP
|
|
|
846 |
GREP
|
|
|
847 |
EGREP
|
|
|
848 |
build
|
|
|
849 |
build_cpu
|
|
|
850 |
build_vendor
|
|
|
851 |
build_os
|
|
|
852 |
host
|
|
|
853 |
host_cpu
|
|
|
854 |
host_vendor
|
|
|
855 |
host_os
|
|
|
856 |
LN_S
|
|
|
857 |
ECHO
|
|
|
858 |
RANLIB
|
|
|
859 |
STRIP
|
|
|
860 |
LIBTOOL
|
|
|
861 |
PERL
|
|
|
862 |
SH
|
|
|
863 |
MAINTAINER_MODE_TRUE
|
|
|
864 |
MAINTAINER_MODE_FALSE
|
|
|
865 |
MAINT
|
|
|
866 |
LIBICONV
|
|
|
867 |
LTLIBICONV
|
|
|
868 |
LIBOBJS
|
|
|
869 |
LTLIBOBJS'
|
|
|
870 |
ac_subst_files=''
|
758 |
ac_subst_files=''
|
|
|
759 |
ac_user_opts='
|
|
|
760 |
enable_option_checking
|
|
|
761 |
enable_silent_rules
|
|
|
762 |
enable_dependency_tracking
|
|
|
763 |
enable_shared
|
|
|
764 |
enable_static
|
|
|
765 |
with_pic
|
|
|
766 |
enable_fast_install
|
|
|
767 |
with_gnu_ld
|
|
|
768 |
with_sysroot
|
|
|
769 |
enable_libtool_lock
|
|
|
770 |
enable_maintainer_mode
|
|
|
771 |
enable_rpath
|
|
|
772 |
with_libiconv_prefix
|
|
|
773 |
'
|
871 |
ac_precious_vars='build_alias
|
774 |
ac_precious_vars='build_alias
|
872 |
host_alias
|
775 |
host_alias
|
873 |
target_alias
|
776 |
target_alias
|
874 |
CC
|
777 |
CC
|
875 |
CFLAGS
|
778 |
CFLAGS
|
|
... |
|
... |
880 |
|
783 |
|
881 |
|
784 |
|
882 |
# Initialize some variables set by options.
|
785 |
# Initialize some variables set by options.
|
883 |
ac_init_help=
|
786 |
ac_init_help=
|
884 |
ac_init_version=false
|
787 |
ac_init_version=false
|
|
|
788 |
ac_unrecognized_opts=
|
|
|
789 |
ac_unrecognized_sep=
|
885 |
# The variables have the same names as the options, with
|
790 |
# The variables have the same names as the options, with
|
886 |
# dashes changed to underlines.
|
791 |
# dashes changed to underlines.
|
887 |
cache_file=/dev/null
|
792 |
cache_file=/dev/null
|
888 |
exec_prefix=NONE
|
793 |
exec_prefix=NONE
|
889 |
no_create=
|
794 |
no_create=
|
|
... |
|
... |
913 |
sysconfdir='${prefix}/etc'
|
818 |
sysconfdir='${prefix}/etc'
|
914 |
sharedstatedir='${prefix}/com'
|
819 |
sharedstatedir='${prefix}/com'
|
915 |
localstatedir='${prefix}/var'
|
820 |
localstatedir='${prefix}/var'
|
916 |
includedir='${prefix}/include'
|
821 |
includedir='${prefix}/include'
|
917 |
oldincludedir='/usr/include'
|
822 |
oldincludedir='/usr/include'
|
918 |
docdir='${datarootdir}/doc/${PACKAGE}'
|
823 |
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
|
919 |
infodir='${datarootdir}/info'
|
824 |
infodir='${datarootdir}/info'
|
920 |
htmldir='${docdir}'
|
825 |
htmldir='${docdir}'
|
921 |
dvidir='${docdir}'
|
826 |
dvidir='${docdir}'
|
922 |
pdfdir='${docdir}'
|
827 |
pdfdir='${docdir}'
|
923 |
psdir='${docdir}'
|
828 |
psdir='${docdir}'
|
|
... |
|
... |
935 |
ac_prev=
|
840 |
ac_prev=
|
936 |
continue
|
841 |
continue
|
937 |
fi
|
842 |
fi
|
938 |
|
843 |
|
939 |
case $ac_option in
|
844 |
case $ac_option in
|
940 |
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
845 |
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
|
|
846 |
*=) ac_optarg= ;;
|
941 |
*) ac_optarg=yes ;;
|
847 |
*) ac_optarg=yes ;;
|
942 |
esac
|
848 |
esac
|
943 |
|
849 |
|
944 |
# Accept the important Cygnus configure options, so we can diagnose typos.
|
850 |
# Accept the important Cygnus configure options, so we can diagnose typos.
|
945 |
|
851 |
|
946 |
case $ac_dashdash$ac_option in
|
852 |
case $ac_dashdash$ac_option in
|
|
... |
|
... |
978 |
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
|
884 |
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
|
979 |
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
|
885 |
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
|
980 |
datarootdir=$ac_optarg ;;
|
886 |
datarootdir=$ac_optarg ;;
|
981 |
|
887 |
|
982 |
-disable-* | --disable-*)
|
888 |
-disable-* | --disable-*)
|
983 |
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
889 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
984 |
# Reject names that are not valid shell variable names.
|
890 |
# Reject names that are not valid shell variable names.
|
985 |
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
891 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
986 |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
892 |
as_fn_error $? "invalid feature name: $ac_useropt"
|
987 |
{ (exit 1); exit 1; }; }
|
893 |
ac_useropt_orig=$ac_useropt
|
988 |
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
|
894 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
|
895 |
case $ac_user_opts in
|
|
|
896 |
*"
|
|
|
897 |
"enable_$ac_useropt"
|
|
|
898 |
"*) ;;
|
|
|
899 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
|
|
|
900 |
ac_unrecognized_sep=', ';;
|
|
|
901 |
esac
|
989 |
eval enable_$ac_feature=no ;;
|
902 |
eval enable_$ac_useropt=no ;;
|
990 |
|
903 |
|
991 |
-docdir | --docdir | --docdi | --doc | --do)
|
904 |
-docdir | --docdir | --docdi | --doc | --do)
|
992 |
ac_prev=docdir ;;
|
905 |
ac_prev=docdir ;;
|
993 |
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
|
906 |
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
|
994 |
docdir=$ac_optarg ;;
|
907 |
docdir=$ac_optarg ;;
|
|
... |
|
... |
997 |
ac_prev=dvidir ;;
|
910 |
ac_prev=dvidir ;;
|
998 |
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
|
911 |
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
|
999 |
dvidir=$ac_optarg ;;
|
912 |
dvidir=$ac_optarg ;;
|
1000 |
|
913 |
|
1001 |
-enable-* | --enable-*)
|
914 |
-enable-* | --enable-*)
|
1002 |
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
915 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
1003 |
# Reject names that are not valid shell variable names.
|
916 |
# Reject names that are not valid shell variable names.
|
1004 |
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
917 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1005 |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
918 |
as_fn_error $? "invalid feature name: $ac_useropt"
|
1006 |
{ (exit 1); exit 1; }; }
|
919 |
ac_useropt_orig=$ac_useropt
|
1007 |
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
|
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--enable-$ac_useropt_orig"
|
|
|
926 |
ac_unrecognized_sep=', ';;
|
|
|
927 |
esac
|
1008 |
eval enable_$ac_feature=\$ac_optarg ;;
|
928 |
eval enable_$ac_useropt=\$ac_optarg ;;
|
1009 |
|
929 |
|
1010 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
930 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
1011 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
931 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
1012 |
| --exec | --exe | --ex)
|
932 |
| --exec | --exe | --ex)
|
1013 |
ac_prev=exec_prefix ;;
|
933 |
ac_prev=exec_prefix ;;
|
|
... |
|
... |
1194 |
|
1114 |
|
1195 |
-version | --version | --versio | --versi | --vers | -V)
|
1115 |
-version | --version | --versio | --versi | --vers | -V)
|
1196 |
ac_init_version=: ;;
|
1116 |
ac_init_version=: ;;
|
1197 |
|
1117 |
|
1198 |
-with-* | --with-*)
|
1118 |
-with-* | --with-*)
|
1199 |
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
1119 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
1200 |
# Reject names that are not valid shell variable names.
|
1120 |
# Reject names that are not valid shell variable names.
|
1201 |
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
1121 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1202 |
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
1122 |
as_fn_error $? "invalid package name: $ac_useropt"
|
1203 |
{ (exit 1); exit 1; }; }
|
1123 |
ac_useropt_orig=$ac_useropt
|
1204 |
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
|
1124 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
|
1125 |
case $ac_user_opts in
|
|
|
1126 |
*"
|
|
|
1127 |
"with_$ac_useropt"
|
|
|
1128 |
"*) ;;
|
|
|
1129 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
|
|
|
1130 |
ac_unrecognized_sep=', ';;
|
|
|
1131 |
esac
|
1205 |
eval with_$ac_package=\$ac_optarg ;;
|
1132 |
eval with_$ac_useropt=\$ac_optarg ;;
|
1206 |
|
1133 |
|
1207 |
-without-* | --without-*)
|
1134 |
-without-* | --without-*)
|
1208 |
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
1135 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
1209 |
# Reject names that are not valid shell variable names.
|
1136 |
# Reject names that are not valid shell variable names.
|
1210 |
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
1137 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1211 |
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
1138 |
as_fn_error $? "invalid package name: $ac_useropt"
|
1212 |
{ (exit 1); exit 1; }; }
|
1139 |
ac_useropt_orig=$ac_useropt
|
1213 |
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
|
1140 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
|
1141 |
case $ac_user_opts in
|
|
|
1142 |
*"
|
|
|
1143 |
"with_$ac_useropt"
|
|
|
1144 |
"*) ;;
|
|
|
1145 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
|
|
|
1146 |
ac_unrecognized_sep=', ';;
|
|
|
1147 |
esac
|
1214 |
eval with_$ac_package=no ;;
|
1148 |
eval with_$ac_useropt=no ;;
|
1215 |
|
1149 |
|
1216 |
--x)
|
1150 |
--x)
|
1217 |
# Obsolete; use --with-x.
|
1151 |
# Obsolete; use --with-x.
|
1218 |
with_x=yes ;;
|
1152 |
with_x=yes ;;
|
1219 |
|
1153 |
|
|
... |
|
... |
1229 |
ac_prev=x_libraries ;;
|
1163 |
ac_prev=x_libraries ;;
|
1230 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
1164 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
1231 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
1165 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
1232 |
x_libraries=$ac_optarg ;;
|
1166 |
x_libraries=$ac_optarg ;;
|
1233 |
|
1167 |
|
1234 |
-*) { echo "$as_me: error: unrecognized option: $ac_option
|
1168 |
-*) as_fn_error $? "unrecognized option: \`$ac_option'
|
1235 |
Try \`$0 --help' for more information." >&2
|
1169 |
Try \`$0 --help' for more information"
|
1236 |
{ (exit 1); exit 1; }; }
|
|
|
1237 |
;;
|
1170 |
;;
|
1238 |
|
1171 |
|
1239 |
*=*)
|
1172 |
*=*)
|
1240 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
1173 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
1241 |
# Reject names that are not valid shell variable names.
|
1174 |
# Reject names that are not valid shell variable names.
|
1242 |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
1175 |
case $ac_envvar in #(
|
|
|
1176 |
'' | [0-9]* | *[!_$as_cr_alnum]* )
|
1243 |
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
1177 |
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
|
1244 |
{ (exit 1); exit 1; }; }
|
1178 |
esac
|
1245 |
eval $ac_envvar=\$ac_optarg
|
1179 |
eval $ac_envvar=\$ac_optarg
|
1246 |
export $ac_envvar ;;
|
1180 |
export $ac_envvar ;;
|
1247 |
|
1181 |
|
1248 |
*)
|
1182 |
*)
|
1249 |
# FIXME: should be removed in autoconf 3.0.
|
1183 |
# FIXME: should be removed in autoconf 3.0.
|
1250 |
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
1184 |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
1251 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
1185 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
1252 |
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
1186 |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
1253 |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
1187 |
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
|
1254 |
;;
|
1188 |
;;
|
1255 |
|
1189 |
|
1256 |
esac
|
1190 |
esac
|
1257 |
done
|
1191 |
done
|
1258 |
|
1192 |
|
1259 |
if test -n "$ac_prev"; then
|
1193 |
if test -n "$ac_prev"; then
|
1260 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
1194 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
1261 |
{ echo "$as_me: error: missing argument to $ac_option" >&2
|
1195 |
as_fn_error $? "missing argument to $ac_option"
|
1262 |
{ (exit 1); exit 1; }; }
|
|
|
1263 |
fi
|
1196 |
fi
|
1264 |
|
1197 |
|
1265 |
# Be sure to have absolute directory names.
|
1198 |
if test -n "$ac_unrecognized_opts"; then
|
|
|
1199 |
case $enable_option_checking in
|
|
|
1200 |
no) ;;
|
|
|
1201 |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
|
|
|
1202 |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
|
|
1203 |
esac
|
|
|
1204 |
fi
|
|
|
1205 |
|
|
|
1206 |
# Check all directory arguments for consistency.
|
1266 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
1207 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
1267 |
datadir sysconfdir sharedstatedir localstatedir includedir \
|
1208 |
datadir sysconfdir sharedstatedir localstatedir includedir \
|
1268 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
1209 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
1269 |
libdir localedir mandir
|
1210 |
libdir localedir mandir
|
1270 |
do
|
1211 |
do
|
1271 |
eval ac_val=\$$ac_var
|
1212 |
eval ac_val=\$$ac_var
|
|
|
1213 |
# Remove trailing slashes.
|
|
|
1214 |
case $ac_val in
|
|
|
1215 |
*/ )
|
|
|
1216 |
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
|
|
|
1217 |
eval $ac_var=\$ac_val;;
|
|
|
1218 |
esac
|
|
|
1219 |
# Be sure to have absolute directory names.
|
1272 |
case $ac_val in
|
1220 |
case $ac_val in
|
1273 |
[\\/$]* | ?:[\\/]* ) continue;;
|
1221 |
[\\/$]* | ?:[\\/]* ) continue;;
|
1274 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
1222 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
1275 |
esac
|
1223 |
esac
|
1276 |
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
1224 |
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
|
1277 |
{ (exit 1); exit 1; }; }
|
|
|
1278 |
done
|
1225 |
done
|
1279 |
|
1226 |
|
1280 |
# There might be people who depend on the old broken behavior: `$host'
|
1227 |
# There might be people who depend on the old broken behavior: `$host'
|
1281 |
# used to hold the argument of --host etc.
|
1228 |
# used to hold the argument of --host etc.
|
1282 |
# FIXME: To remove some day.
|
1229 |
# FIXME: To remove some day.
|
|
... |
|
... |
1286 |
|
1233 |
|
1287 |
# FIXME: To remove some day.
|
1234 |
# FIXME: To remove some day.
|
1288 |
if test "x$host_alias" != x; then
|
1235 |
if test "x$host_alias" != x; then
|
1289 |
if test "x$build_alias" = x; then
|
1236 |
if test "x$build_alias" = x; then
|
1290 |
cross_compiling=maybe
|
1237 |
cross_compiling=maybe
|
1291 |
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
|
|
1292 |
If a cross compiler is detected then cross compile mode will be used." >&2
|
|
|
1293 |
elif test "x$build_alias" != "x$host_alias"; then
|
1238 |
elif test "x$build_alias" != "x$host_alias"; then
|
1294 |
cross_compiling=yes
|
1239 |
cross_compiling=yes
|
1295 |
fi
|
1240 |
fi
|
1296 |
fi
|
1241 |
fi
|
1297 |
|
1242 |
|
|
... |
|
... |
1302 |
|
1247 |
|
1303 |
|
1248 |
|
1304 |
ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
1249 |
ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
1305 |
ac_ls_di=`ls -di .` &&
|
1250 |
ac_ls_di=`ls -di .` &&
|
1306 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
1251 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
1307 |
{ echo "$as_me: error: Working directory cannot be determined" >&2
|
1252 |
as_fn_error $? "working directory cannot be determined"
|
1308 |
{ (exit 1); exit 1; }; }
|
|
|
1309 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
1253 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
1310 |
{ echo "$as_me: error: pwd does not report name of working directory" >&2
|
1254 |
as_fn_error $? "pwd does not report name of working directory"
|
1311 |
{ (exit 1); exit 1; }; }
|
|
|
1312 |
|
1255 |
|
1313 |
|
1256 |
|
1314 |
# Find the source files, if location was not specified.
|
1257 |
# Find the source files, if location was not specified.
|
1315 |
if test -z "$srcdir"; then
|
1258 |
if test -z "$srcdir"; then
|
1316 |
ac_srcdir_defaulted=yes
|
1259 |
ac_srcdir_defaulted=yes
|
1317 |
# Try the directory containing this script, then the parent directory.
|
1260 |
# Try the directory containing this script, then the parent directory.
|
1318 |
ac_confdir=`$as_dirname -- "$0" ||
|
1261 |
ac_confdir=`$as_dirname -- "$as_myself" ||
|
1319 |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
1262 |
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
1320 |
X"$0" : 'X\(//\)[^/]' \| \
|
1263 |
X"$as_myself" : 'X\(//\)[^/]' \| \
|
1321 |
X"$0" : 'X\(//\)$' \| \
|
1264 |
X"$as_myself" : 'X\(//\)$' \| \
|
1322 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
1265 |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
|
1323 |
echo X"$0" |
|
1266 |
$as_echo X"$as_myself" |
|
1324 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
1267 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
1325 |
s//\1/
|
1268 |
s//\1/
|
1326 |
q
|
1269 |
q
|
1327 |
}
|
1270 |
}
|
1328 |
/^X\(\/\/\)[^/].*/{
|
1271 |
/^X\(\/\/\)[^/].*/{
|
|
... |
|
... |
1345 |
else
|
1288 |
else
|
1346 |
ac_srcdir_defaulted=no
|
1289 |
ac_srcdir_defaulted=no
|
1347 |
fi
|
1290 |
fi
|
1348 |
if test ! -r "$srcdir/$ac_unique_file"; then
|
1291 |
if test ! -r "$srcdir/$ac_unique_file"; then
|
1349 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
1292 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
1350 |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
1293 |
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
|
1351 |
{ (exit 1); exit 1; }; }
|
|
|
1352 |
fi
|
1294 |
fi
|
1353 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
1295 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
1354 |
ac_abs_confdir=`(
|
1296 |
ac_abs_confdir=`(
|
1355 |
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
|
1297 |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
|
1356 |
{ (exit 1); exit 1; }; }
|
|
|
1357 |
pwd)`
|
1298 |
pwd)`
|
1358 |
# When building in place, set srcdir=.
|
1299 |
# When building in place, set srcdir=.
|
1359 |
if test "$ac_abs_confdir" = "$ac_pwd"; then
|
1300 |
if test "$ac_abs_confdir" = "$ac_pwd"; then
|
1360 |
srcdir=.
|
1301 |
srcdir=.
|
1361 |
fi
|
1302 |
fi
|
|
... |
|
... |
1377 |
#
|
1318 |
#
|
1378 |
if test "$ac_init_help" = "long"; then
|
1319 |
if test "$ac_init_help" = "long"; then
|
1379 |
# Omit some internal or obsolete options to make the list less imposing.
|
1320 |
# Omit some internal or obsolete options to make the list less imposing.
|
1380 |
# This message is too long to be a string in the A/UX 3.1 sh.
|
1321 |
# This message is too long to be a string in the A/UX 3.1 sh.
|
1381 |
cat <<_ACEOF
|
1322 |
cat <<_ACEOF
|
1382 |
\`configure' configures this package to adapt to many kinds of systems.
|
1323 |
\`configure' configures unac 1.7.0 to adapt to many kinds of systems.
|
1383 |
|
1324 |
|
1384 |
Usage: $0 [OPTION]... [VAR=VALUE]...
|
1325 |
Usage: $0 [OPTION]... [VAR=VALUE]...
|
1385 |
|
1326 |
|
1386 |
To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
1327 |
To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
1387 |
VAR=VALUE. See below for descriptions of some of the useful variables.
|
1328 |
VAR=VALUE. See below for descriptions of some of the useful variables.
|
|
... |
|
... |
1391 |
Configuration:
|
1332 |
Configuration:
|
1392 |
-h, --help display this help and exit
|
1333 |
-h, --help display this help and exit
|
1393 |
--help=short display options specific to this package
|
1334 |
--help=short display options specific to this package
|
1394 |
--help=recursive display the short help of all the included packages
|
1335 |
--help=recursive display the short help of all the included packages
|
1395 |
-V, --version display version information and exit
|
1336 |
-V, --version display version information and exit
|
1396 |
-q, --quiet, --silent do not print \`checking...' messages
|
1337 |
-q, --quiet, --silent do not print \`checking ...' messages
|
1397 |
--cache-file=FILE cache test results in FILE [disabled]
|
1338 |
--cache-file=FILE cache test results in FILE [disabled]
|
1398 |
-C, --config-cache alias for \`--cache-file=config.cache'
|
1339 |
-C, --config-cache alias for \`--cache-file=config.cache'
|
1399 |
-n, --no-create do not create output files
|
1340 |
-n, --no-create do not create output files
|
1400 |
--srcdir=DIR find the sources in DIR [configure dir or \`..']
|
1341 |
--srcdir=DIR find the sources in DIR [configure dir or \`..']
|
1401 |
|
1342 |
|
1402 |
Installation directories:
|
1343 |
Installation directories:
|
1403 |
--prefix=PREFIX install architecture-independent files in PREFIX
|
1344 |
--prefix=PREFIX install architecture-independent files in PREFIX
|
1404 |
[$ac_default_prefix]
|
1345 |
[$ac_default_prefix]
|
1405 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
1346 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
1406 |
[PREFIX]
|
1347 |
[PREFIX]
|
1407 |
|
1348 |
|
1408 |
By default, \`make install' will install all the files in
|
1349 |
By default, \`make install' will install all the files in
|
1409 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
1350 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
1410 |
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
1351 |
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
1411 |
for instance \`--prefix=\$HOME'.
|
1352 |
for instance \`--prefix=\$HOME'.
|
1412 |
|
1353 |
|
1413 |
For better control, use the options below.
|
1354 |
For better control, use the options below.
|
1414 |
|
1355 |
|
1415 |
Fine tuning of the installation directories:
|
1356 |
Fine tuning of the installation directories:
|
1416 |
--bindir=DIR user executables [EPREFIX/bin]
|
1357 |
--bindir=DIR user executables [EPREFIX/bin]
|
1417 |
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
1358 |
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
1418 |
--libexecdir=DIR program executables [EPREFIX/libexec]
|
1359 |
--libexecdir=DIR program executables [EPREFIX/libexec]
|
1419 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
1360 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
1420 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
1361 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
1421 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
1362 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
1422 |
--libdir=DIR object code libraries [EPREFIX/lib]
|
1363 |
--libdir=DIR object code libraries [EPREFIX/lib]
|
1423 |
--includedir=DIR C header files [PREFIX/include]
|
1364 |
--includedir=DIR C header files [PREFIX/include]
|
1424 |
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
1365 |
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
1425 |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
1366 |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
1426 |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
1367 |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
1427 |
--infodir=DIR info documentation [DATAROOTDIR/info]
|
1368 |
--infodir=DIR info documentation [DATAROOTDIR/info]
|
1428 |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
1369 |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
1429 |
--mandir=DIR man documentation [DATAROOTDIR/man]
|
1370 |
--mandir=DIR man documentation [DATAROOTDIR/man]
|
1430 |
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
|
1371 |
--docdir=DIR documentation root [DATAROOTDIR/doc/unac]
|
1431 |
--htmldir=DIR html documentation [DOCDIR]
|
1372 |
--htmldir=DIR html documentation [DOCDIR]
|
1432 |
--dvidir=DIR dvi documentation [DOCDIR]
|
1373 |
--dvidir=DIR dvi documentation [DOCDIR]
|
1433 |
--pdfdir=DIR pdf documentation [DOCDIR]
|
1374 |
--pdfdir=DIR pdf documentation [DOCDIR]
|
1434 |
--psdir=DIR ps documentation [DOCDIR]
|
1375 |
--psdir=DIR ps documentation [DOCDIR]
|
1435 |
_ACEOF
|
1376 |
_ACEOF
|
1436 |
|
1377 |
|
1437 |
cat <<\_ACEOF
|
1378 |
cat <<\_ACEOF
|
1438 |
|
1379 |
|
1439 |
Program names:
|
1380 |
Program names:
|
|
... |
|
... |
1446 |
--host=HOST cross-compile to build programs to run on HOST [BUILD]
|
1387 |
--host=HOST cross-compile to build programs to run on HOST [BUILD]
|
1447 |
_ACEOF
|
1388 |
_ACEOF
|
1448 |
fi
|
1389 |
fi
|
1449 |
|
1390 |
|
1450 |
if test -n "$ac_init_help"; then
|
1391 |
if test -n "$ac_init_help"; then
|
1451 |
|
1392 |
case $ac_init_help in
|
|
|
1393 |
short | recursive ) echo "Configuration of unac 1.7.0:";;
|
|
|
1394 |
esac
|
1452 |
cat <<\_ACEOF
|
1395 |
cat <<\_ACEOF
|
1453 |
|
1396 |
|
1454 |
Optional Features:
|
1397 |
Optional Features:
|
|
|
1398 |
--disable-option-checking ignore unrecognized --enable/--with options
|
1455 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
1399 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
1456 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
1400 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
1457 |
--disable-dependency-tracking Speeds up one-time builds
|
1401 |
--enable-silent-rules less verbose build output (undo: "make V=1")
|
1458 |
--enable-dependency-tracking Do not reject slow dependency extractors
|
1402 |
--disable-silent-rules verbose build output (undo: "make V=0")
|
|
|
1403 |
--enable-dependency-tracking
|
|
|
1404 |
do not reject slow dependency extractors
|
|
|
1405 |
--disable-dependency-tracking
|
|
|
1406 |
speeds up one-time build
|
1459 |
--enable-shared=PKGS build shared libraries default=yes
|
1407 |
--enable-shared[=PKGS] build shared libraries [default=yes]
|
1460 |
--enable-static=PKGS build static libraries default=yes
|
1408 |
--enable-static[=PKGS] build static libraries [default=yes]
|
1461 |
--enable-fast-install=PKGS optimize for fast installation default=yes
|
1409 |
--enable-fast-install[=PKGS]
|
|
|
1410 |
optimize for fast installation [default=yes]
|
1462 |
--disable-libtool-lock avoid locking (might break parallel builds)
|
1411 |
--disable-libtool-lock avoid locking (might break parallel builds)
|
1463 |
--enable-maintainer-mode enable make rules and dependencies not useful
|
1412 |
--enable-maintainer-mode
|
|
|
1413 |
enable make rules and dependencies not useful (and
|
1464 |
(and sometimes confusing) to the casual installer
|
1414 |
sometimes confusing) to the casual installer
|
1465 |
--disable-rpath do not hardcode runtime library paths
|
1415 |
--disable-rpath do not hardcode runtime library paths
|
1466 |
|
1416 |
|
1467 |
Optional Packages:
|
1417 |
Optional Packages:
|
1468 |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
1418 |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
1469 |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
1419 |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
|
|
1420 |
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
|
|
|
1421 |
both]
|
1470 |
--with-gnu-ld assume the C compiler uses GNU ld default=no
|
1422 |
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
|
1471 |
--with-pic try to use only PIC/non-PIC objects default=use both
|
1423 |
--with-sysroot=DIR Search for dependent libraries within DIR
|
|
|
1424 |
(or the compiler's sysroot if not specified).
|
|
|
1425 |
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
|
1472 |
--with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
|
1426 |
--with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
|
1473 |
--without-libiconv-prefix don't search for libiconv in includedir and libdir
|
1427 |
--without-libiconv-prefix don't search for libiconv in includedir and libdir
|
1474 |
|
1428 |
|
1475 |
Some influential environment variables:
|
1429 |
Some influential environment variables:
|
1476 |
CC C compiler command
|
1430 |
CC C compiler command
|
1477 |
CFLAGS C compiler flags
|
1431 |
CFLAGS C compiler flags
|
1478 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
1432 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
1479 |
nonstandard directory <lib dir>
|
1433 |
nonstandard directory <lib dir>
|
1480 |
LIBS libraries to pass to the linker, e.g. -l<library>
|
1434 |
LIBS libraries to pass to the linker, e.g. -l<library>
|
1481 |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
|
1435 |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
1482 |
you have headers in a nonstandard directory <include dir>
|
1436 |
you have headers in a nonstandard directory <include dir>
|
1483 |
CPP C preprocessor
|
1437 |
CPP C preprocessor
|
1484 |
|
1438 |
|
1485 |
Use these variables to override the choices made by `configure' or to help
|
1439 |
Use these variables to override the choices made by `configure' or to help
|
1486 |
it to find libraries and programs with nonstandard names/locations.
|
1440 |
it to find libraries and programs with nonstandard names/locations.
|
1487 |
|
1441 |
|
|
|
1442 |
Report bugs to the package provider.
|
1488 |
_ACEOF
|
1443 |
_ACEOF
|
1489 |
ac_status=$?
|
1444 |
ac_status=$?
|
1490 |
fi
|
1445 |
fi
|
1491 |
|
1446 |
|
1492 |
if test "$ac_init_help" = "recursive"; then
|
1447 |
if test "$ac_init_help" = "recursive"; then
|
1493 |
# If there are subdirs, report their specific --help.
|
1448 |
# If there are subdirs, report their specific --help.
|
1494 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
1449 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
1495 |
test -d "$ac_dir" || continue
|
1450 |
test -d "$ac_dir" ||
|
|
|
1451 |
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
|
|
|
1452 |
continue
|
1496 |
ac_builddir=.
|
1453 |
ac_builddir=.
|
1497 |
|
1454 |
|
1498 |
case "$ac_dir" in
|
1455 |
case "$ac_dir" in
|
1499 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
1456 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
1500 |
*)
|
1457 |
*)
|
1501 |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
1458 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
1502 |
# A ".." for each directory in $ac_dir_suffix.
|
1459 |
# A ".." for each directory in $ac_dir_suffix.
|
1503 |
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
|
1460 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
1504 |
case $ac_top_builddir_sub in
|
1461 |
case $ac_top_builddir_sub in
|
1505 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
1462 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
1506 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
1463 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
1507 |
esac ;;
|
1464 |
esac ;;
|
1508 |
esac
|
1465 |
esac
|
|
... |
|
... |
1534 |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
|
1491 |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
|
1535 |
elif test -f "$ac_srcdir/configure"; then
|
1492 |
elif test -f "$ac_srcdir/configure"; then
|
1536 |
echo &&
|
1493 |
echo &&
|
1537 |
$SHELL "$ac_srcdir/configure" --help=recursive
|
1494 |
$SHELL "$ac_srcdir/configure" --help=recursive
|
1538 |
else
|
1495 |
else
|
1539 |
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
1496 |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
1540 |
fi || ac_status=$?
|
1497 |
fi || ac_status=$?
|
1541 |
cd "$ac_pwd" || { ac_status=$?; break; }
|
1498 |
cd "$ac_pwd" || { ac_status=$?; break; }
|
1542 |
done
|
1499 |
done
|
1543 |
fi
|
1500 |
fi
|
1544 |
|
1501 |
|
1545 |
test -n "$ac_init_help" && exit $ac_status
|
1502 |
test -n "$ac_init_help" && exit $ac_status
|
1546 |
if $ac_init_version; then
|
1503 |
if $ac_init_version; then
|
1547 |
cat <<\_ACEOF
|
1504 |
cat <<\_ACEOF
|
1548 |
configure
|
1505 |
unac configure 1.7.0
|
1549 |
generated by GNU Autoconf 2.61
|
1506 |
generated by GNU Autoconf 2.69
|
1550 |
|
1507 |
|
1551 |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
1508 |
Copyright (C) 2012 Free Software Foundation, Inc.
|
1552 |
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
|
|
1553 |
This configure script is free software; the Free Software Foundation
|
1509 |
This configure script is free software; the Free Software Foundation
|
1554 |
gives unlimited permission to copy, distribute and modify it.
|
1510 |
gives unlimited permission to copy, distribute and modify it.
|
1555 |
_ACEOF
|
1511 |
_ACEOF
|
1556 |
exit
|
1512 |
exit
|
1557 |
fi
|
1513 |
fi
|
|
|
1514 |
|
|
|
1515 |
## ------------------------ ##
|
|
|
1516 |
## Autoconf initialization. ##
|
|
|
1517 |
## ------------------------ ##
|
|
|
1518 |
|
|
|
1519 |
# ac_fn_c_try_compile LINENO
|
|
|
1520 |
# --------------------------
|
|
|
1521 |
# Try to compile conftest.$ac_ext, and return whether this succeeded.
|
|
|
1522 |
ac_fn_c_try_compile ()
|
|
|
1523 |
{
|
|
|
1524 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
|
1525 |
rm -f conftest.$ac_objext
|
|
|
1526 |
if { { ac_try="$ac_compile"
|
|
|
1527 |
case "(($ac_try" in
|
|
|
1528 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
1529 |
*) ac_try_echo=$ac_try;;
|
|
|
1530 |
esac
|
|
|
1531 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
|
1532 |
$as_echo "$ac_try_echo"; } >&5
|
|
|
1533 |
(eval "$ac_compile") 2>conftest.err
|
|
|
1534 |
ac_status=$?
|
|
|
1535 |
if test -s conftest.err; then
|
|
|
1536 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
|
1537 |
cat conftest.er1 >&5
|
|
|
1538 |
mv -f conftest.er1 conftest.err
|
|
|
1539 |
fi
|
|
|
1540 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
|
1541 |
test $ac_status = 0; } && {
|
|
|
1542 |
test -z "$ac_c_werror_flag" ||
|
|
|
1543 |
test ! -s conftest.err
|
|
|
1544 |
} && test -s conftest.$ac_objext; then :
|
|
|
1545 |
ac_retval=0
|
|
|
1546 |
else
|
|
|
1547 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
1548 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
1549 |
|
|
|
1550 |
ac_retval=1
|
|
|
1551 |
fi
|
|
|
1552 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
|
1553 |
as_fn_set_status $ac_retval
|
|
|
1554 |
|
|
|
1555 |
} # ac_fn_c_try_compile
|
|
|
1556 |
|
|
|
1557 |
# ac_fn_c_try_cpp LINENO
|
|
|
1558 |
# ----------------------
|
|
|
1559 |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
|
|
1560 |
ac_fn_c_try_cpp ()
|
|
|
1561 |
{
|
|
|
1562 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
|
1563 |
if { { ac_try="$ac_cpp conftest.$ac_ext"
|
|
|
1564 |
case "(($ac_try" in
|
|
|
1565 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
1566 |
*) ac_try_echo=$ac_try;;
|
|
|
1567 |
esac
|
|
|
1568 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
|
1569 |
$as_echo "$ac_try_echo"; } >&5
|
|
|
1570 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
|
|
1571 |
ac_status=$?
|
|
|
1572 |
if test -s conftest.err; then
|
|
|
1573 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
|
1574 |
cat conftest.er1 >&5
|
|
|
1575 |
mv -f conftest.er1 conftest.err
|
|
|
1576 |
fi
|
|
|
1577 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
|
1578 |
test $ac_status = 0; } > conftest.i && {
|
|
|
1579 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
|
1580 |
test ! -s conftest.err
|
|
|
1581 |
}; then :
|
|
|
1582 |
ac_retval=0
|
|
|
1583 |
else
|
|
|
1584 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
1585 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
1586 |
|
|
|
1587 |
ac_retval=1
|
|
|
1588 |
fi
|
|
|
1589 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
|
1590 |
as_fn_set_status $ac_retval
|
|
|
1591 |
|
|
|
1592 |
} # ac_fn_c_try_cpp
|
|
|
1593 |
|
|
|
1594 |
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
|
|
|
1595 |
# -------------------------------------------------------
|
|
|
1596 |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
|
|
1597 |
# the include files in INCLUDES and setting the cache variable VAR
|
|
|
1598 |
# accordingly.
|
|
|
1599 |
ac_fn_c_check_header_mongrel ()
|
|
|
1600 |
{
|
|
|
1601 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
|
1602 |
if eval \${$3+:} false; then :
|
|
|
1603 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
|
1604 |
$as_echo_n "checking for $2... " >&6; }
|
|
|
1605 |
if eval \${$3+:} false; then :
|
|
|
1606 |
$as_echo_n "(cached) " >&6
|
|
|
1607 |
fi
|
|
|
1608 |
eval ac_res=\$$3
|
|
|
1609 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
|
1610 |
$as_echo "$ac_res" >&6; }
|
|
|
1611 |
else
|
|
|
1612 |
# Is the header compilable?
|
|
|
1613 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
|
|
|
1614 |
$as_echo_n "checking $2 usability... " >&6; }
|
|
|
1615 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
1616 |
/* end confdefs.h. */
|
|
|
1617 |
$4
|
|
|
1618 |
#include <$2>
|
|
|
1619 |
_ACEOF
|
|
|
1620 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
|
1621 |
ac_header_compiler=yes
|
|
|
1622 |
else
|
|
|
1623 |
ac_header_compiler=no
|
|
|
1624 |
fi
|
|
|
1625 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
1626 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
|
|
|
1627 |
$as_echo "$ac_header_compiler" >&6; }
|
|
|
1628 |
|
|
|
1629 |
# Is the header present?
|
|
|
1630 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
|
|
|
1631 |
$as_echo_n "checking $2 presence... " >&6; }
|
|
|
1632 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
1633 |
/* end confdefs.h. */
|
|
|
1634 |
#include <$2>
|
|
|
1635 |
_ACEOF
|
|
|
1636 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
|
1637 |
ac_header_preproc=yes
|
|
|
1638 |
else
|
|
|
1639 |
ac_header_preproc=no
|
|
|
1640 |
fi
|
|
|
1641 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
|
|
1642 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
|
|
|
1643 |
$as_echo "$ac_header_preproc" >&6; }
|
|
|
1644 |
|
|
|
1645 |
# So? What about this header?
|
|
|
1646 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
|
|
|
1647 |
yes:no: )
|
|
|
1648 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
|
1649 |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
|
1650 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
|
|
1651 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
|
|
1652 |
;;
|
|
|
1653 |
no:yes:* )
|
|
|
1654 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
|
|
|
1655 |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
|
|
|
1656 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
|
|
|
1657 |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
|
|
|
1658 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
|
|
|
1659 |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
|
|
|
1660 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
|
|
|
1661 |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
|
1662 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
|
|
1663 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
|
|
1664 |
;;
|
|
|
1665 |
esac
|
|
|
1666 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
|
1667 |
$as_echo_n "checking for $2... " >&6; }
|
|
|
1668 |
if eval \${$3+:} false; then :
|
|
|
1669 |
$as_echo_n "(cached) " >&6
|
|
|
1670 |
else
|
|
|
1671 |
eval "$3=\$ac_header_compiler"
|
|
|
1672 |
fi
|
|
|
1673 |
eval ac_res=\$$3
|
|
|
1674 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
|
1675 |
$as_echo "$ac_res" >&6; }
|
|
|
1676 |
fi
|
|
|
1677 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
|
1678 |
|
|
|
1679 |
} # ac_fn_c_check_header_mongrel
|
|
|
1680 |
|
|
|
1681 |
# ac_fn_c_try_run LINENO
|
|
|
1682 |
# ----------------------
|
|
|
1683 |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
|
|
1684 |
# that executables *can* be run.
|
|
|
1685 |
ac_fn_c_try_run ()
|
|
|
1686 |
{
|
|
|
1687 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
|
1688 |
if { { ac_try="$ac_link"
|
|
|
1689 |
case "(($ac_try" in
|
|
|
1690 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
1691 |
*) ac_try_echo=$ac_try;;
|
|
|
1692 |
esac
|
|
|
1693 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
|
1694 |
$as_echo "$ac_try_echo"; } >&5
|
|
|
1695 |
(eval "$ac_link") 2>&5
|
|
|
1696 |
ac_status=$?
|
|
|
1697 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
|
1698 |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
|
|
1699 |
{ { case "(($ac_try" in
|
|
|
1700 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
1701 |
*) ac_try_echo=$ac_try;;
|
|
|
1702 |
esac
|
|
|
1703 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
|
1704 |
$as_echo "$ac_try_echo"; } >&5
|
|
|
1705 |
(eval "$ac_try") 2>&5
|
|
|
1706 |
ac_status=$?
|
|
|
1707 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
|
1708 |
test $ac_status = 0; }; }; then :
|
|
|
1709 |
ac_retval=0
|
|
|
1710 |
else
|
|
|
1711 |
$as_echo "$as_me: program exited with status $ac_status" >&5
|
|
|
1712 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
1713 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
1714 |
|
|
|
1715 |
ac_retval=$ac_status
|
|
|
1716 |
fi
|
|
|
1717 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
|
|
1718 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
|
1719 |
as_fn_set_status $ac_retval
|
|
|
1720 |
|
|
|
1721 |
} # ac_fn_c_try_run
|
|
|
1722 |
|
|
|
1723 |
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
|
|
|
1724 |
# -------------------------------------------------------
|
|
|
1725 |
# Tests whether HEADER exists and can be compiled using the include files in
|
|
|
1726 |
# INCLUDES, setting the cache variable VAR accordingly.
|
|
|
1727 |
ac_fn_c_check_header_compile ()
|
|
|
1728 |
{
|
|
|
1729 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
|
1730 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
|
1731 |
$as_echo_n "checking for $2... " >&6; }
|
|
|
1732 |
if eval \${$3+:} false; then :
|
|
|
1733 |
$as_echo_n "(cached) " >&6
|
|
|
1734 |
else
|
|
|
1735 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
1736 |
/* end confdefs.h. */
|
|
|
1737 |
$4
|
|
|
1738 |
#include <$2>
|
|
|
1739 |
_ACEOF
|
|
|
1740 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
|
1741 |
eval "$3=yes"
|
|
|
1742 |
else
|
|
|
1743 |
eval "$3=no"
|
|
|
1744 |
fi
|
|
|
1745 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
1746 |
fi
|
|
|
1747 |
eval ac_res=\$$3
|
|
|
1748 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
|
1749 |
$as_echo "$ac_res" >&6; }
|
|
|
1750 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
|
1751 |
|
|
|
1752 |
} # ac_fn_c_check_header_compile
|
|
|
1753 |
|
|
|
1754 |
# ac_fn_c_try_link LINENO
|
|
|
1755 |
# -----------------------
|
|
|
1756 |
# Try to link conftest.$ac_ext, and return whether this succeeded.
|
|
|
1757 |
ac_fn_c_try_link ()
|
|
|
1758 |
{
|
|
|
1759 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
|
1760 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
|
1761 |
if { { ac_try="$ac_link"
|
|
|
1762 |
case "(($ac_try" in
|
|
|
1763 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
1764 |
*) ac_try_echo=$ac_try;;
|
|
|
1765 |
esac
|
|
|
1766 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
|
1767 |
$as_echo "$ac_try_echo"; } >&5
|
|
|
1768 |
(eval "$ac_link") 2>conftest.err
|
|
|
1769 |
ac_status=$?
|
|
|
1770 |
if test -s conftest.err; then
|
|
|
1771 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
|
1772 |
cat conftest.er1 >&5
|
|
|
1773 |
mv -f conftest.er1 conftest.err
|
|
|
1774 |
fi
|
|
|
1775 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
|
1776 |
test $ac_status = 0; } && {
|
|
|
1777 |
test -z "$ac_c_werror_flag" ||
|
|
|
1778 |
test ! -s conftest.err
|
|
|
1779 |
} && test -s conftest$ac_exeext && {
|
|
|
1780 |
test "$cross_compiling" = yes ||
|
|
|
1781 |
test -x conftest$ac_exeext
|
|
|
1782 |
}; then :
|
|
|
1783 |
ac_retval=0
|
|
|
1784 |
else
|
|
|
1785 |
$as_echo "$as_me: failed program was:" >&5
|
|
|
1786 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
1787 |
|
|
|
1788 |
ac_retval=1
|
|
|
1789 |
fi
|
|
|
1790 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
|
|
1791 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
|
|
1792 |
# interfere with the next link command; also delete a directory that is
|
|
|
1793 |
# left behind by Apple's compiler. We do this before executing the actions.
|
|
|
1794 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
|
|
1795 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
|
1796 |
as_fn_set_status $ac_retval
|
|
|
1797 |
|
|
|
1798 |
} # ac_fn_c_try_link
|
|
|
1799 |
|
|
|
1800 |
# ac_fn_c_check_func LINENO FUNC VAR
|
|
|
1801 |
# ----------------------------------
|
|
|
1802 |
# Tests whether FUNC exists, setting the cache variable VAR accordingly
|
|
|
1803 |
ac_fn_c_check_func ()
|
|
|
1804 |
{
|
|
|
1805 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
|
1806 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
|
1807 |
$as_echo_n "checking for $2... " >&6; }
|
|
|
1808 |
if eval \${$3+:} false; then :
|
|
|
1809 |
$as_echo_n "(cached) " >&6
|
|
|
1810 |
else
|
|
|
1811 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
1812 |
/* end confdefs.h. */
|
|
|
1813 |
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
|
|
|
1814 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
|
1815 |
#define $2 innocuous_$2
|
|
|
1816 |
|
|
|
1817 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
1818 |
which can conflict with char $2 (); below.
|
|
|
1819 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
|
1820 |
<limits.h> exists even on freestanding compilers. */
|
|
|
1821 |
|
|
|
1822 |
#ifdef __STDC__
|
|
|
1823 |
# include <limits.h>
|
|
|
1824 |
#else
|
|
|
1825 |
# include <assert.h>
|
|
|
1826 |
#endif
|
|
|
1827 |
|
|
|
1828 |
#undef $2
|
|
|
1829 |
|
|
|
1830 |
/* Override any GCC internal prototype to avoid an error.
|
|
|
1831 |
Use char because int might match the return type of a GCC
|
|
|
1832 |
builtin and then its argument prototype would still apply. */
|
|
|
1833 |
#ifdef __cplusplus
|
|
|
1834 |
extern "C"
|
|
|
1835 |
#endif
|
|
|
1836 |
char $2 ();
|
|
|
1837 |
/* The GNU C library defines this for functions which it implements
|
|
|
1838 |
to always fail with ENOSYS. Some functions are actually named
|
|
|
1839 |
something starting with __ and the normal name is an alias. */
|
|
|
1840 |
#if defined __stub_$2 || defined __stub___$2
|
|
|
1841 |
choke me
|
|
|
1842 |
#endif
|
|
|
1843 |
|
|
|
1844 |
int
|
|
|
1845 |
main ()
|
|
|
1846 |
{
|
|
|
1847 |
return $2 ();
|
|
|
1848 |
;
|
|
|
1849 |
return 0;
|
|
|
1850 |
}
|
|
|
1851 |
_ACEOF
|
|
|
1852 |
if ac_fn_c_try_link "$LINENO"; then :
|
|
|
1853 |
eval "$3=yes"
|
|
|
1854 |
else
|
|
|
1855 |
eval "$3=no"
|
|
|
1856 |
fi
|
|
|
1857 |
rm -f core conftest.err conftest.$ac_objext \
|
|
|
1858 |
conftest$ac_exeext conftest.$ac_ext
|
|
|
1859 |
fi
|
|
|
1860 |
eval ac_res=\$$3
|
|
|
1861 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
|
1862 |
$as_echo "$ac_res" >&6; }
|
|
|
1863 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
|
1864 |
|
|
|
1865 |
} # ac_fn_c_check_func
|
1558 |
cat >config.log <<_ACEOF
|
1866 |
cat >config.log <<_ACEOF
|
1559 |
This file contains any messages produced by compilers while
|
1867 |
This file contains any messages produced by compilers while
|
1560 |
running configure, to aid debugging if configure makes a mistake.
|
1868 |
running configure, to aid debugging if configure makes a mistake.
|
1561 |
|
1869 |
|
1562 |
It was created by $as_me, which was
|
1870 |
It was created by unac $as_me 1.7.0, which was
|
1563 |
generated by GNU Autoconf 2.61. Invocation command line was
|
1871 |
generated by GNU Autoconf 2.69. Invocation command line was
|
1564 |
|
1872 |
|
1565 |
$ $0 $@
|
1873 |
$ $0 $@
|
1566 |
|
1874 |
|
1567 |
_ACEOF
|
1875 |
_ACEOF
|
1568 |
exec 5>>config.log
|
1876 |
exec 5>>config.log
|
|
... |
|
... |
1594 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1902 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1595 |
for as_dir in $PATH
|
1903 |
for as_dir in $PATH
|
1596 |
do
|
1904 |
do
|
1597 |
IFS=$as_save_IFS
|
1905 |
IFS=$as_save_IFS
|
1598 |
test -z "$as_dir" && as_dir=.
|
1906 |
test -z "$as_dir" && as_dir=.
|
1599 |
echo "PATH: $as_dir"
|
1907 |
$as_echo "PATH: $as_dir"
|
1600 |
done
|
1908 |
done
|
1601 |
IFS=$as_save_IFS
|
1909 |
IFS=$as_save_IFS
|
1602 |
|
1910 |
|
1603 |
} >&5
|
1911 |
} >&5
|
1604 |
|
1912 |
|
1605 |
cat >&5 <<_ACEOF
|
1913 |
cat >&5 <<_ACEOF
|
|
... |
|
... |
1629 |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
|
1937 |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
|
1630 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
1938 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
1631 |
| -silent | --silent | --silen | --sile | --sil)
|
1939 |
| -silent | --silent | --silen | --sile | --sil)
|
1632 |
continue ;;
|
1940 |
continue ;;
|
1633 |
*\'*)
|
1941 |
*\'*)
|
1634 |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1942 |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1635 |
esac
|
1943 |
esac
|
1636 |
case $ac_pass in
|
1944 |
case $ac_pass in
|
1637 |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
|
1945 |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
|
1638 |
2)
|
1946 |
2)
|
1639 |
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
1947 |
as_fn_append ac_configure_args1 " '$ac_arg'"
|
1640 |
if test $ac_must_keep_next = true; then
|
1948 |
if test $ac_must_keep_next = true; then
|
1641 |
ac_must_keep_next=false # Got value, back to normal.
|
1949 |
ac_must_keep_next=false # Got value, back to normal.
|
1642 |
else
|
1950 |
else
|
1643 |
case $ac_arg in
|
1951 |
case $ac_arg in
|
1644 |
*=* | --config-cache | -C | -disable-* | --disable-* \
|
1952 |
*=* | --config-cache | -C | -disable-* | --disable-* \
|
|
... |
|
... |
1650 |
esac
|
1958 |
esac
|
1651 |
;;
|
1959 |
;;
|
1652 |
-* ) ac_must_keep_next=true ;;
|
1960 |
-* ) ac_must_keep_next=true ;;
|
1653 |
esac
|
1961 |
esac
|
1654 |
fi
|
1962 |
fi
|
1655 |
ac_configure_args="$ac_configure_args '$ac_arg'"
|
1963 |
as_fn_append ac_configure_args " '$ac_arg'"
|
1656 |
;;
|
1964 |
;;
|
1657 |
esac
|
1965 |
esac
|
1658 |
done
|
1966 |
done
|
1659 |
done
|
1967 |
done
|
1660 |
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
|
1968 |
{ ac_configure_args0=; unset ac_configure_args0;}
|
1661 |
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
|
1969 |
{ ac_configure_args1=; unset ac_configure_args1;}
|
1662 |
|
1970 |
|
1663 |
# When interrupted or exit'd, cleanup temporary files, and complete
|
1971 |
# When interrupted or exit'd, cleanup temporary files, and complete
|
1664 |
# config.log. We remove comments because anyway the quotes in there
|
1972 |
# config.log. We remove comments because anyway the quotes in there
|
1665 |
# would cause problems or look ugly.
|
1973 |
# would cause problems or look ugly.
|
1666 |
# WARNING: Use '\'' to represent an apostrophe within the trap.
|
1974 |
# WARNING: Use '\'' to represent an apostrophe within the trap.
|
|
... |
|
... |
1668 |
trap 'exit_status=$?
|
1976 |
trap 'exit_status=$?
|
1669 |
# Save into config.log some information that might help in debugging.
|
1977 |
# Save into config.log some information that might help in debugging.
|
1670 |
{
|
1978 |
{
|
1671 |
echo
|
1979 |
echo
|
1672 |
|
1980 |
|
1673 |
cat <<\_ASBOX
|
|
|
1674 |
## ---------------- ##
|
1981 |
$as_echo "## ---------------- ##
|
1675 |
## Cache variables. ##
|
1982 |
## Cache variables. ##
|
1676 |
## ---------------- ##
|
1983 |
## ---------------- ##"
|
1677 |
_ASBOX
|
|
|
1678 |
echo
|
1984 |
echo
|
1679 |
# The following way of writing the cache mishandles newlines in values,
|
1985 |
# The following way of writing the cache mishandles newlines in values,
|
1680 |
(
|
1986 |
(
|
1681 |
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
|
1987 |
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
|
1682 |
eval ac_val=\$$ac_var
|
1988 |
eval ac_val=\$$ac_var
|
1683 |
case $ac_val in #(
|
1989 |
case $ac_val in #(
|
1684 |
*${as_nl}*)
|
1990 |
*${as_nl}*)
|
1685 |
case $ac_var in #(
|
1991 |
case $ac_var in #(
|
1686 |
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
|
1992 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
1687 |
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
|
1993 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
1688 |
esac
|
1994 |
esac
|
1689 |
case $ac_var in #(
|
1995 |
case $ac_var in #(
|
1690 |
_ | IFS | as_nl) ;; #(
|
1996 |
_ | IFS | as_nl) ;; #(
|
1691 |
*) $as_unset $ac_var ;;
|
1997 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
|
|
1998 |
*) { eval $ac_var=; unset $ac_var;} ;;
|
1692 |
esac ;;
|
1999 |
esac ;;
|
1693 |
esac
|
2000 |
esac
|
1694 |
done
|
2001 |
done
|
1695 |
(set) 2>&1 |
|
2002 |
(set) 2>&1 |
|
1696 |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
|
2003 |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
|
|
... |
|
... |
1705 |
esac |
|
2012 |
esac |
|
1706 |
sort
|
2013 |
sort
|
1707 |
)
|
2014 |
)
|
1708 |
echo
|
2015 |
echo
|
1709 |
|
2016 |
|
1710 |
cat <<\_ASBOX
|
|
|
1711 |
## ----------------- ##
|
2017 |
$as_echo "## ----------------- ##
|
1712 |
## Output variables. ##
|
2018 |
## Output variables. ##
|
1713 |
## ----------------- ##
|
2019 |
## ----------------- ##"
|
1714 |
_ASBOX
|
|
|
1715 |
echo
|
2020 |
echo
|
1716 |
for ac_var in $ac_subst_vars
|
2021 |
for ac_var in $ac_subst_vars
|
1717 |
do
|
2022 |
do
|
1718 |
eval ac_val=\$$ac_var
|
2023 |
eval ac_val=\$$ac_var
|
1719 |
case $ac_val in
|
2024 |
case $ac_val in
|
1720 |
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
2025 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
1721 |
esac
|
2026 |
esac
|
1722 |
echo "$ac_var='\''$ac_val'\''"
|
2027 |
$as_echo "$ac_var='\''$ac_val'\''"
|
1723 |
done | sort
|
2028 |
done | sort
|
1724 |
echo
|
2029 |
echo
|
1725 |
|
2030 |
|
1726 |
if test -n "$ac_subst_files"; then
|
2031 |
if test -n "$ac_subst_files"; then
|
1727 |
cat <<\_ASBOX
|
|
|
1728 |
## ------------------- ##
|
2032 |
$as_echo "## ------------------- ##
|
1729 |
## File substitutions. ##
|
2033 |
## File substitutions. ##
|
1730 |
## ------------------- ##
|
2034 |
## ------------------- ##"
|
1731 |
_ASBOX
|
|
|
1732 |
echo
|
2035 |
echo
|
1733 |
for ac_var in $ac_subst_files
|
2036 |
for ac_var in $ac_subst_files
|
1734 |
do
|
2037 |
do
|
1735 |
eval ac_val=\$$ac_var
|
2038 |
eval ac_val=\$$ac_var
|
1736 |
case $ac_val in
|
2039 |
case $ac_val in
|
1737 |
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
2040 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
1738 |
esac
|
2041 |
esac
|
1739 |
echo "$ac_var='\''$ac_val'\''"
|
2042 |
$as_echo "$ac_var='\''$ac_val'\''"
|
1740 |
done | sort
|
2043 |
done | sort
|
1741 |
echo
|
2044 |
echo
|
1742 |
fi
|
2045 |
fi
|
1743 |
|
2046 |
|
1744 |
if test -s confdefs.h; then
|
2047 |
if test -s confdefs.h; then
|
1745 |
cat <<\_ASBOX
|
2048 |
$as_echo "## ----------- ##
|
1746 |
## ----------- ##
|
|
|
1747 |
## confdefs.h. ##
|
2049 |
## confdefs.h. ##
|
1748 |
## ----------- ##
|
2050 |
## ----------- ##"
|
1749 |
_ASBOX
|
|
|
1750 |
echo
|
2051 |
echo
|
1751 |
cat confdefs.h
|
2052 |
cat confdefs.h
|
1752 |
echo
|
2053 |
echo
|
1753 |
fi
|
2054 |
fi
|
1754 |
test "$ac_signal" != 0 &&
|
2055 |
test "$ac_signal" != 0 &&
|
1755 |
echo "$as_me: caught signal $ac_signal"
|
2056 |
$as_echo "$as_me: caught signal $ac_signal"
|
1756 |
echo "$as_me: exit $exit_status"
|
2057 |
$as_echo "$as_me: exit $exit_status"
|
1757 |
} >&5
|
2058 |
} >&5
|
1758 |
rm -f core *.core core.conftest.* &&
|
2059 |
rm -f core *.core core.conftest.* &&
|
1759 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
2060 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
1760 |
exit $exit_status
|
2061 |
exit $exit_status
|
1761 |
' 0
|
2062 |
' 0
|
1762 |
for ac_signal in 1 2 13 15; do
|
2063 |
for ac_signal in 1 2 13 15; do
|
1763 |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
2064 |
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
|
1764 |
done
|
2065 |
done
|
1765 |
ac_signal=0
|
2066 |
ac_signal=0
|
1766 |
|
2067 |
|
1767 |
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
2068 |
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
1768 |
rm -f -r conftest* confdefs.h
|
2069 |
rm -f -r conftest* confdefs.h
|
|
|
2070 |
|
|
|
2071 |
$as_echo "/* confdefs.h */" > confdefs.h
|
1769 |
|
2072 |
|
1770 |
# Predefined preprocessor variables.
|
2073 |
# Predefined preprocessor variables.
|
1771 |
|
2074 |
|
1772 |
cat >>confdefs.h <<_ACEOF
|
2075 |
cat >>confdefs.h <<_ACEOF
|
1773 |
#define PACKAGE_NAME "$PACKAGE_NAME"
|
2076 |
#define PACKAGE_NAME "$PACKAGE_NAME"
|
1774 |
_ACEOF
|
2077 |
_ACEOF
|
1775 |
|
2078 |
|
1776 |
|
|
|
1777 |
cat >>confdefs.h <<_ACEOF
|
2079 |
cat >>confdefs.h <<_ACEOF
|
1778 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
2080 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
1779 |
_ACEOF
|
2081 |
_ACEOF
|
1780 |
|
2082 |
|
1781 |
|
|
|
1782 |
cat >>confdefs.h <<_ACEOF
|
2083 |
cat >>confdefs.h <<_ACEOF
|
1783 |
#define PACKAGE_VERSION "$PACKAGE_VERSION"
|
2084 |
#define PACKAGE_VERSION "$PACKAGE_VERSION"
|
1784 |
_ACEOF
|
2085 |
_ACEOF
|
1785 |
|
2086 |
|
1786 |
|
|
|
1787 |
cat >>confdefs.h <<_ACEOF
|
2087 |
cat >>confdefs.h <<_ACEOF
|
1788 |
#define PACKAGE_STRING "$PACKAGE_STRING"
|
2088 |
#define PACKAGE_STRING "$PACKAGE_STRING"
|
1789 |
_ACEOF
|
2089 |
_ACEOF
|
1790 |
|
2090 |
|
1791 |
|
|
|
1792 |
cat >>confdefs.h <<_ACEOF
|
2091 |
cat >>confdefs.h <<_ACEOF
|
1793 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
2092 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
1794 |
_ACEOF
|
2093 |
_ACEOF
|
1795 |
|
2094 |
|
|
|
2095 |
cat >>confdefs.h <<_ACEOF
|
|
|
2096 |
#define PACKAGE_URL "$PACKAGE_URL"
|
|
|
2097 |
_ACEOF
|
|
|
2098 |
|
1796 |
|
2099 |
|
1797 |
# Let the site file select an alternate cache file if it wants to.
|
2100 |
# Let the site file select an alternate cache file if it wants to.
|
1798 |
# Prefer explicitly selected file to automatically selected ones.
|
2101 |
# Prefer an explicitly selected file to automatically selected ones.
|
|
|
2102 |
ac_site_file1=NONE
|
|
|
2103 |
ac_site_file2=NONE
|
1799 |
if test -n "$CONFIG_SITE"; then
|
2104 |
if test -n "$CONFIG_SITE"; then
|
1800 |
set x "$CONFIG_SITE"
|
2105 |
# We do not want a PATH search for config.site.
|
|
|
2106 |
case $CONFIG_SITE in #((
|
|
|
2107 |
-*) ac_site_file1=./$CONFIG_SITE;;
|
|
|
2108 |
*/*) ac_site_file1=$CONFIG_SITE;;
|
|
|
2109 |
*) ac_site_file1=./$CONFIG_SITE;;
|
|
|
2110 |
esac
|
1801 |
elif test "x$prefix" != xNONE; then
|
2111 |
elif test "x$prefix" != xNONE; then
|
1802 |
set x "$prefix/share/config.site" "$prefix/etc/config.site"
|
2112 |
ac_site_file1=$prefix/share/config.site
|
|
|
2113 |
ac_site_file2=$prefix/etc/config.site
|
1803 |
else
|
2114 |
else
|
1804 |
set x "$ac_default_prefix/share/config.site" \
|
2115 |
ac_site_file1=$ac_default_prefix/share/config.site
|
1805 |
"$ac_default_prefix/etc/config.site"
|
2116 |
ac_site_file2=$ac_default_prefix/etc/config.site
|
1806 |
fi
|
2117 |
fi
|
1807 |
shift
|
2118 |
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
1808 |
for ac_site_file
|
|
|
1809 |
do
|
2119 |
do
|
1810 |
if test -r "$ac_site_file"; then
|
2120 |
test "x$ac_site_file" = xNONE && continue
|
|
|
2121 |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
|
1811 |
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
2122 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
1812 |
echo "$as_me: loading site script $ac_site_file" >&6;}
|
2123 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
1813 |
sed 's/^/| /' "$ac_site_file" >&5
|
2124 |
sed 's/^/| /' "$ac_site_file" >&5
|
1814 |
. "$ac_site_file"
|
2125 |
. "$ac_site_file" \
|
|
|
2126 |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
|
2127 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
|
2128 |
as_fn_error $? "failed to load site script $ac_site_file
|
|
|
2129 |
See \`config.log' for more details" "$LINENO" 5; }
|
1815 |
fi
|
2130 |
fi
|
1816 |
done
|
2131 |
done
|
1817 |
|
2132 |
|
1818 |
if test -r "$cache_file"; then
|
2133 |
if test -r "$cache_file"; then
|
1819 |
# Some versions of bash will fail to source /dev/null (special
|
2134 |
# Some versions of bash will fail to source /dev/null (special files
|
1820 |
# files actually), so we avoid doing that.
|
2135 |
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
|
1821 |
if test -f "$cache_file"; then
|
2136 |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
|
1822 |
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
2137 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
1823 |
echo "$as_me: loading cache $cache_file" >&6;}
|
2138 |
$as_echo "$as_me: loading cache $cache_file" >&6;}
|
1824 |
case $cache_file in
|
2139 |
case $cache_file in
|
1825 |
[\\/]* | ?:[\\/]* ) . "$cache_file";;
|
2140 |
[\\/]* | ?:[\\/]* ) . "$cache_file";;
|
1826 |
*) . "./$cache_file";;
|
2141 |
*) . "./$cache_file";;
|
1827 |
esac
|
2142 |
esac
|
1828 |
fi
|
2143 |
fi
|
1829 |
else
|
2144 |
else
|
1830 |
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
2145 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
1831 |
echo "$as_me: creating cache $cache_file" >&6;}
|
2146 |
$as_echo "$as_me: creating cache $cache_file" >&6;}
|
1832 |
>$cache_file
|
2147 |
>$cache_file
|
1833 |
fi
|
2148 |
fi
|
1834 |
|
2149 |
|
1835 |
# Check that the precious variables saved in the cache have kept the same
|
2150 |
# Check that the precious variables saved in the cache have kept the same
|
1836 |
# value.
|
2151 |
# value.
|
|
... |
|
... |
1840 |
eval ac_new_set=\$ac_env_${ac_var}_set
|
2155 |
eval ac_new_set=\$ac_env_${ac_var}_set
|
1841 |
eval ac_old_val=\$ac_cv_env_${ac_var}_value
|
2156 |
eval ac_old_val=\$ac_cv_env_${ac_var}_value
|
1842 |
eval ac_new_val=\$ac_env_${ac_var}_value
|
2157 |
eval ac_new_val=\$ac_env_${ac_var}_value
|
1843 |
case $ac_old_set,$ac_new_set in
|
2158 |
case $ac_old_set,$ac_new_set in
|
1844 |
set,)
|
2159 |
set,)
|
1845 |
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
2160 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
1846 |
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
2161 |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
1847 |
ac_cache_corrupted=: ;;
|
2162 |
ac_cache_corrupted=: ;;
|
1848 |
,set)
|
2163 |
,set)
|
1849 |
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
|
2164 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
1850 |
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
2165 |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
1851 |
ac_cache_corrupted=: ;;
|
2166 |
ac_cache_corrupted=: ;;
|
1852 |
,);;
|
2167 |
,);;
|
1853 |
*)
|
2168 |
*)
|
1854 |
if test "x$ac_old_val" != "x$ac_new_val"; then
|
2169 |
if test "x$ac_old_val" != "x$ac_new_val"; then
|
|
|
2170 |
# differences in whitespace do not lead to failure.
|
|
|
2171 |
ac_old_val_w=`echo x $ac_old_val`
|
|
|
2172 |
ac_new_val_w=`echo x $ac_new_val`
|
|
|
2173 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
1855 |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
2174 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
1856 |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
2175 |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
1857 |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
|
|
|
1858 |
echo "$as_me: former value: $ac_old_val" >&2;}
|
|
|
1859 |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
|
|
|
1860 |
echo "$as_me: current value: $ac_new_val" >&2;}
|
|
|
1861 |
ac_cache_corrupted=:
|
2176 |
ac_cache_corrupted=:
|
|
|
2177 |
else
|
|
|
2178 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
|
|
2179 |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
|
|
2180 |
eval $ac_var=\$ac_old_val
|
|
|
2181 |
fi
|
|
|
2182 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
|
|
2183 |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
|
|
2184 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
|
|
2185 |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
1862 |
fi;;
|
2186 |
fi;;
|
1863 |
esac
|
2187 |
esac
|
1864 |
# Pass precious variables to config.status.
|
2188 |
# Pass precious variables to config.status.
|
1865 |
if test "$ac_new_set" = set; then
|
2189 |
if test "$ac_new_set" = set; then
|
1866 |
case $ac_new_val in
|
2190 |
case $ac_new_val in
|
1867 |
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
2191 |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1868 |
*) ac_arg=$ac_var=$ac_new_val ;;
|
2192 |
*) ac_arg=$ac_var=$ac_new_val ;;
|
1869 |
esac
|
2193 |
esac
|
1870 |
case " $ac_configure_args " in
|
2194 |
case " $ac_configure_args " in
|
1871 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
2195 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
1872 |
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
2196 |
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
|
1873 |
esac
|
2197 |
esac
|
1874 |
fi
|
2198 |
fi
|
1875 |
done
|
2199 |
done
|
1876 |
if $ac_cache_corrupted; then
|
2200 |
if $ac_cache_corrupted; then
|
|
|
2201 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
|
2202 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
1877 |
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
|
2203 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
1878 |
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
2204 |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
1879 |
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
|
|
1880 |
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
2205 |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
1881 |
{ (exit 1); exit 1; }; }
|
|
|
1882 |
fi
|
2206 |
fi
|
1883 |
|
2207 |
## -------------------- ##
|
1884 |
|
2208 |
## Main body of script. ##
|
1885 |
|
2209 |
## -------------------- ##
|
1886 |
|
|
|
1887 |
|
|
|
1888 |
|
|
|
1889 |
|
|
|
1890 |
|
|
|
1891 |
|
|
|
1892 |
|
|
|
1893 |
|
|
|
1894 |
|
|
|
1895 |
|
|
|
1896 |
|
|
|
1897 |
|
|
|
1898 |
|
|
|
1899 |
|
2210 |
|
1900 |
ac_ext=c
|
2211 |
ac_ext=c
|
1901 |
ac_cpp='$CPP $CPPFLAGS'
|
2212 |
ac_cpp='$CPP $CPPFLAGS'
|
1902 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
2213 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
1903 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
2214 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
... |
|
... |
1908 |
MAJOR_VERSION=`expr $VERSION : '\([0-9][0-9]*\)'`
|
2219 |
MAJOR_VERSION=`expr $VERSION : '\([0-9][0-9]*\)'`
|
1909 |
|
2220 |
|
1910 |
MINOR_VERSION=`expr $VERSION : '[0-9][0-9]*\.\([0-9][0-9]*\)'`
|
2221 |
MINOR_VERSION=`expr $VERSION : '[0-9][0-9]*\.\([0-9][0-9]*\)'`
|
1911 |
|
2222 |
|
1912 |
MICRO_VERSION=`expr $VERSION : '[0-9][0-9]*\.[0-9][0-9]*\.\([0-9][0-9]*\)'`
|
2223 |
MICRO_VERSION=`expr $VERSION : '[0-9][0-9]*\.[0-9][0-9]*\.\([0-9][0-9]*\)'`
|
|
|
2224 |
|
|
|
2225 |
am__api_version='1.14'
|
1913 |
|
2226 |
|
1914 |
ac_aux_dir=
|
2227 |
ac_aux_dir=
|
1915 |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
2228 |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
1916 |
if test -f "$ac_dir/install-sh"; then
|
2229 |
if test -f "$ac_dir/install-sh"; then
|
1917 |
ac_aux_dir=$ac_dir
|
2230 |
ac_aux_dir=$ac_dir
|
|
... |
|
... |
1926 |
ac_install_sh="$ac_aux_dir/shtool install -c"
|
2239 |
ac_install_sh="$ac_aux_dir/shtool install -c"
|
1927 |
break
|
2240 |
break
|
1928 |
fi
|
2241 |
fi
|
1929 |
done
|
2242 |
done
|
1930 |
if test -z "$ac_aux_dir"; then
|
2243 |
if test -z "$ac_aux_dir"; then
|
1931 |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
|
|
|
1932 |
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
|
2244 |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
1933 |
{ (exit 1); exit 1; }; }
|
|
|
1934 |
fi
|
2245 |
fi
|
1935 |
|
2246 |
|
1936 |
# These three variables are undocumented and unsupported,
|
2247 |
# These three variables are undocumented and unsupported,
|
1937 |
# and are intended to be withdrawn in a future Autoconf release.
|
2248 |
# and are intended to be withdrawn in a future Autoconf release.
|
1938 |
# They can cause serious problems if a builder's source tree is in a directory
|
2249 |
# They can cause serious problems if a builder's source tree is in a directory
|
|
... |
|
... |
1953 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
2264 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
1954 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
2265 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
1955 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
2266 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
1956 |
# OS/2's system install, which has a completely different semantic
|
2267 |
# OS/2's system install, which has a completely different semantic
|
1957 |
# ./install, which can be erroneously created by make from ./install.sh.
|
2268 |
# ./install, which can be erroneously created by make from ./install.sh.
|
|
|
2269 |
# Reject install programs that cannot install multiple files.
|
1958 |
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
2270 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
1959 |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
|
2271 |
$as_echo_n "checking for a BSD-compatible install... " >&6; }
|
1960 |
if test -z "$INSTALL"; then
|
2272 |
if test -z "$INSTALL"; then
|
1961 |
if test "${ac_cv_path_install+set}" = set; then
|
2273 |
if ${ac_cv_path_install+:} false; then :
|
1962 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2274 |
$as_echo_n "(cached) " >&6
|
1963 |
else
|
2275 |
else
|
1964 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2276 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1965 |
for as_dir in $PATH
|
2277 |
for as_dir in $PATH
|
1966 |
do
|
2278 |
do
|
1967 |
IFS=$as_save_IFS
|
2279 |
IFS=$as_save_IFS
|
1968 |
test -z "$as_dir" && as_dir=.
|
2280 |
test -z "$as_dir" && as_dir=.
|
1969 |
# Account for people who put trailing slashes in PATH elements.
|
2281 |
# Account for people who put trailing slashes in PATH elements.
|
1970 |
case $as_dir/ in
|
2282 |
case $as_dir/ in #((
|
1971 |
./ | .// | /cC/* | \
|
2283 |
./ | .// | /[cC]/* | \
|
1972 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
2284 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
1973 |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
2285 |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
|
1974 |
/usr/ucb/* ) ;;
|
2286 |
/usr/ucb/* ) ;;
|
1975 |
*)
|
2287 |
*)
|
1976 |
# OSF1 and SCO ODT 3.0 have their own names for install.
|
2288 |
# OSF1 and SCO ODT 3.0 have their own names for install.
|
1977 |
# Don't use installbsd from OSF since it installs stuff as root
|
2289 |
# Don't use installbsd from OSF since it installs stuff as root
|
1978 |
# by default.
|
2290 |
# by default.
|
1979 |
for ac_prog in ginstall scoinst install; do
|
2291 |
for ac_prog in ginstall scoinst install; do
|
1980 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2292 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1981 |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
|
2293 |
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
|
1982 |
if test $ac_prog = install &&
|
2294 |
if test $ac_prog = install &&
|
1983 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
2295 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
1984 |
# AIX install. It has an incompatible calling convention.
|
2296 |
# AIX install. It has an incompatible calling convention.
|
1985 |
:
|
2297 |
:
|
1986 |
elif test $ac_prog = install &&
|
2298 |
elif test $ac_prog = install &&
|
1987 |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
2299 |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
1988 |
# program-specific install script used by HP pwplus--don't use.
|
2300 |
# program-specific install script used by HP pwplus--don't use.
|
1989 |
:
|
2301 |
:
|
1990 |
else
|
2302 |
else
|
|
|
2303 |
rm -rf conftest.one conftest.two conftest.dir
|
|
|
2304 |
echo one > conftest.one
|
|
|
2305 |
echo two > conftest.two
|
|
|
2306 |
mkdir conftest.dir
|
|
|
2307 |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
|
|
|
2308 |
test -s conftest.one && test -s conftest.two &&
|
|
|
2309 |
test -s conftest.dir/conftest.one &&
|
|
|
2310 |
test -s conftest.dir/conftest.two
|
|
|
2311 |
then
|
1991 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
2312 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
1992 |
break 3
|
2313 |
break 3
|
|
|
2314 |
fi
|
1993 |
fi
|
2315 |
fi
|
1994 |
fi
|
2316 |
fi
|
1995 |
done
|
2317 |
done
|
1996 |
done
|
2318 |
done
|
1997 |
;;
|
2319 |
;;
|
1998 |
esac
|
2320 |
esac
|
|
|
2321 |
|
1999 |
done
|
2322 |
done
|
2000 |
IFS=$as_save_IFS
|
2323 |
IFS=$as_save_IFS
|
2001 |
|
2324 |
|
|
|
2325 |
rm -rf conftest.one conftest.two conftest.dir
|
2002 |
|
2326 |
|
2003 |
fi
|
2327 |
fi
|
2004 |
if test "${ac_cv_path_install+set}" = set; then
|
2328 |
if test "${ac_cv_path_install+set}" = set; then
|
2005 |
INSTALL=$ac_cv_path_install
|
2329 |
INSTALL=$ac_cv_path_install
|
2006 |
else
|
2330 |
else
|
|
... |
|
... |
2009 |
# break other packages using the cache if that directory is
|
2333 |
# break other packages using the cache if that directory is
|
2010 |
# removed, or if the value is a relative name.
|
2334 |
# removed, or if the value is a relative name.
|
2011 |
INSTALL=$ac_install_sh
|
2335 |
INSTALL=$ac_install_sh
|
2012 |
fi
|
2336 |
fi
|
2013 |
fi
|
2337 |
fi
|
2014 |
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
|
2338 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
2015 |
echo "${ECHO_T}$INSTALL" >&6; }
|
2339 |
$as_echo "$INSTALL" >&6; }
|
2016 |
|
2340 |
|
2017 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
2341 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
2018 |
# It thinks the first close brace ends the variable substitution.
|
2342 |
# It thinks the first close brace ends the variable substitution.
|
2019 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
2343 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
2020 |
|
2344 |
|
2021 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
2345 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
2022 |
|
2346 |
|
2023 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
2347 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
2024 |
|
2348 |
|
2025 |
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
|
2349 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
|
2026 |
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
|
2350 |
$as_echo_n "checking whether build environment is sane... " >&6; }
|
2027 |
# Just in case
|
2351 |
# Reject unsafe characters in $srcdir or the absolute working directory
|
2028 |
sleep 1
|
2352 |
# name. Accept space and tab only in the latter.
|
2029 |
echo timestamp > conftest.file
|
2353 |
am_lf='
|
|
|
2354 |
'
|
|
|
2355 |
case `pwd` in
|
|
|
2356 |
*[\\\"\#\$\&\'\`$am_lf]*)
|
|
|
2357 |
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
|
|
|
2358 |
esac
|
|
|
2359 |
case $srcdir in
|
|
|
2360 |
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
|
|
|
2361 |
as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
|
|
|
2362 |
esac
|
|
|
2363 |
|
2030 |
# Do `set' in a subshell so we don't clobber the current shell's
|
2364 |
# Do 'set' in a subshell so we don't clobber the current shell's
|
2031 |
# arguments. Must try -L first in case configure is actually a
|
2365 |
# arguments. Must try -L first in case configure is actually a
|
2032 |
# symlink; some systems play weird games with the mod time of symlinks
|
2366 |
# symlink; some systems play weird games with the mod time of symlinks
|
2033 |
# (eg FreeBSD returns the mod time of the symlink's containing
|
2367 |
# (eg FreeBSD returns the mod time of the symlink's containing
|
2034 |
# directory).
|
2368 |
# directory).
|
2035 |
if (
|
2369 |
if (
|
|
|
2370 |
am_has_slept=no
|
|
|
2371 |
for am_try in 1 2; do
|
|
|
2372 |
echo "timestamp, slept: $am_has_slept" > conftest.file
|
2036 |
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
|
2373 |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
|
2037 |
if test "$*" = "X"; then
|
2374 |
if test "$*" = "X"; then
|
2038 |
# -L didn't work.
|
2375 |
# -L didn't work.
|
2039 |
set X `ls -t $srcdir/configure conftest.file`
|
2376 |
set X `ls -t "$srcdir/configure" conftest.file`
|
2040 |
fi
|
2377 |
fi
|
2041 |
rm -f conftest.file
|
|
|
2042 |
if test "$*" != "X $srcdir/configure conftest.file" \
|
2378 |
if test "$*" != "X $srcdir/configure conftest.file" \
|
2043 |
&& test "$*" != "X conftest.file $srcdir/configure"; then
|
2379 |
&& test "$*" != "X conftest.file $srcdir/configure"; then
|
2044 |
|
2380 |
|
2045 |
# If neither matched, then we have a broken ls. This can happen
|
2381 |
# If neither matched, then we have a broken ls. This can happen
|
2046 |
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
2382 |
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
2047 |
# broken ls alias from the environment. This has actually
|
2383 |
# broken ls alias from the environment. This has actually
|
2048 |
# happened. Such a system could not be considered "sane".
|
2384 |
# happened. Such a system could not be considered "sane".
|
2049 |
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
|
|
|
2050 |
alias in your environment" >&5
|
|
|
2051 |
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
|
2385 |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
|
2052 |
alias in your environment" >&2;}
|
2386 |
alias in your environment" "$LINENO" 5
|
2053 |
{ (exit 1); exit 1; }; }
|
|
|
2054 |
fi
|
2387 |
fi
|
2055 |
|
2388 |
if test "$2" = conftest.file || test $am_try -eq 2; then
|
|
|
2389 |
break
|
|
|
2390 |
fi
|
|
|
2391 |
# Just in case.
|
|
|
2392 |
sleep 1
|
|
|
2393 |
am_has_slept=yes
|
|
|
2394 |
done
|
2056 |
test "$2" = conftest.file
|
2395 |
test "$2" = conftest.file
|
2057 |
)
|
2396 |
)
|
2058 |
then
|
2397 |
then
|
2059 |
# Ok.
|
2398 |
# Ok.
|
2060 |
:
|
2399 |
:
|
2061 |
else
|
2400 |
else
|
2062 |
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
|
|
|
2063 |
Check your system clock" >&5
|
|
|
2064 |
echo "$as_me: error: newly created file is older than distributed files!
|
2401 |
as_fn_error $? "newly created file is older than distributed files!
|
2065 |
Check your system clock" >&2;}
|
2402 |
Check your system clock" "$LINENO" 5
|
2066 |
{ (exit 1); exit 1; }; }
|
|
|
2067 |
fi
|
2403 |
fi
|
2068 |
{ echo "$as_me:$LINENO: result: yes" >&5
|
2404 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
2069 |
echo "${ECHO_T}yes" >&6; }
|
2405 |
$as_echo "yes" >&6; }
|
|
|
2406 |
# If we didn't sleep, we still need to ensure time stamps of config.status and
|
|
|
2407 |
# generated files are strictly newer.
|
|
|
2408 |
am_sleep_pid=
|
|
|
2409 |
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
|
|
|
2410 |
( sleep 1 ) &
|
|
|
2411 |
am_sleep_pid=$!
|
|
|
2412 |
fi
|
|
|
2413 |
|
|
|
2414 |
rm -f conftest.file
|
|
|
2415 |
|
2070 |
test "$program_prefix" != NONE &&
|
2416 |
test "$program_prefix" != NONE &&
|
2071 |
program_transform_name="s&^&$program_prefix&;$program_transform_name"
|
2417 |
program_transform_name="s&^&$program_prefix&;$program_transform_name"
|
2072 |
# Use a double $ so make ignores it.
|
2418 |
# Use a double $ so make ignores it.
|
2073 |
test "$program_suffix" != NONE &&
|
2419 |
test "$program_suffix" != NONE &&
|
2074 |
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
|
2420 |
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
|
2075 |
# Double any \ or $. echo might interpret backslashes.
|
2421 |
# Double any \ or $.
|
2076 |
# By default was `s,x,x', remove it if useless.
|
2422 |
# By default was `s,x,x', remove it if useless.
|
2077 |
cat <<\_ACEOF >conftest.sed
|
|
|
2078 |
s/[\\$]/&&/g;s/;s,x,x,$//
|
2423 |
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
|
2079 |
_ACEOF
|
|
|
2080 |
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
|
2424 |
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
|
2081 |
rm -f conftest.sed
|
|
|
2082 |
|
|
|
2083 |
|
2425 |
|
2084 |
# expand $ac_aux_dir to an absolute path
|
2426 |
# expand $ac_aux_dir to an absolute path
|
2085 |
am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
|
2427 |
am_aux_dir=`cd $ac_aux_dir && pwd`
|
2086 |
|
2428 |
|
2087 |
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
|
2429 |
if test x"${MISSING+set}" != xset; then
|
|
|
2430 |
case $am_aux_dir in
|
|
|
2431 |
*\ * | *\ *)
|
|
|
2432 |
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
|
|
|
2433 |
*)
|
|
|
2434 |
MISSING="\${SHELL} $am_aux_dir/missing" ;;
|
|
|
2435 |
esac
|
|
|
2436 |
fi
|
2088 |
# Use eval to expand $SHELL
|
2437 |
# Use eval to expand $SHELL
|
2089 |
if eval "$MISSING --run true"; then
|
2438 |
if eval "$MISSING --is-lightweight"; then
|
2090 |
am_missing_run="$MISSING --run "
|
2439 |
am_missing_run="$MISSING "
|
2091 |
else
|
2440 |
else
|
2092 |
am_missing_run=
|
2441 |
am_missing_run=
|
2093 |
am_backtick='`'
|
|
|
2094 |
{ echo "$as_me:$LINENO: WARNING: ${am_backtick}missing' script is too old or missing" >&5
|
2442 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
|
2095 |
echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
|
2443 |
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
|
2096 |
fi
|
2444 |
fi
|
2097 |
|
2445 |
|
2098 |
for ac_prog in gawk mawk nawk awk
|
2446 |
if test x"${install_sh}" != xset; then
|
2099 |
do
|
2447 |
case $am_aux_dir in
|
|
|
2448 |
*\ * | *\ *)
|
|
|
2449 |
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
|
|
|
2450 |
*)
|
|
|
2451 |
install_sh="\${SHELL} $am_aux_dir/install-sh"
|
|
|
2452 |
esac
|
|
|
2453 |
fi
|
|
|
2454 |
|
|
|
2455 |
# Installed binaries are usually stripped using 'strip' when the user
|
|
|
2456 |
# run "make install-strip". However 'strip' might not be the right
|
|
|
2457 |
# tool to use in cross-compilation environments, therefore Automake
|
|
|
2458 |
# will honor the 'STRIP' environment variable to overrule this program.
|
|
|
2459 |
if test "$cross_compiling" != no; then
|
|
|
2460 |
if test -n "$ac_tool_prefix"; then
|
2100 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
2461 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
2101 |
set dummy $ac_prog; ac_word=$2
|
2462 |
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
2102 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2463 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2103 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2464 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2104 |
if test "${ac_cv_prog_AWK+set}" = set; then
|
2465 |
if ${ac_cv_prog_STRIP+:} false; then :
|
2105 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2466 |
$as_echo_n "(cached) " >&6
|
2106 |
else
|
2467 |
else
|
2107 |
if test -n "$AWK"; then
|
2468 |
if test -n "$STRIP"; then
|
2108 |
ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
2469 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
2109 |
else
|
2470 |
else
|
2110 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2471 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2111 |
for as_dir in $PATH
|
2472 |
for as_dir in $PATH
|
2112 |
do
|
2473 |
do
|
2113 |
IFS=$as_save_IFS
|
2474 |
IFS=$as_save_IFS
|
2114 |
test -z "$as_dir" && as_dir=.
|
2475 |
test -z "$as_dir" && as_dir=.
|
2115 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2476 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2116 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2477 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2117 |
ac_cv_prog_AWK="$ac_prog"
|
2478 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
2118 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2479 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2119 |
break 2
|
2480 |
break 2
|
2120 |
fi
|
2481 |
fi
|
2121 |
done
|
2482 |
done
|
|
|
2483 |
done
|
|
|
2484 |
IFS=$as_save_IFS
|
|
|
2485 |
|
|
|
2486 |
fi
|
|
|
2487 |
fi
|
|
|
2488 |
STRIP=$ac_cv_prog_STRIP
|
|
|
2489 |
if test -n "$STRIP"; then
|
|
|
2490 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
|
|
2491 |
$as_echo "$STRIP" >&6; }
|
|
|
2492 |
else
|
|
|
2493 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
2494 |
$as_echo "no" >&6; }
|
|
|
2495 |
fi
|
|
|
2496 |
|
|
|
2497 |
|
|
|
2498 |
fi
|
|
|
2499 |
if test -z "$ac_cv_prog_STRIP"; then
|
|
|
2500 |
ac_ct_STRIP=$STRIP
|
|
|
2501 |
# Extract the first word of "strip", so it can be a program name with args.
|
|
|
2502 |
set dummy strip; ac_word=$2
|
|
|
2503 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
|
2504 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
|
2505 |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
|
|
|
2506 |
$as_echo_n "(cached) " >&6
|
|
|
2507 |
else
|
|
|
2508 |
if test -n "$ac_ct_STRIP"; then
|
|
|
2509 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
|
|
2510 |
else
|
|
|
2511 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
|
2512 |
for as_dir in $PATH
|
|
|
2513 |
do
|
|
|
2514 |
IFS=$as_save_IFS
|
|
|
2515 |
test -z "$as_dir" && as_dir=.
|
|
|
2516 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
2517 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
2518 |
ac_cv_prog_ac_ct_STRIP="strip"
|
|
|
2519 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
2520 |
break 2
|
|
|
2521 |
fi
|
2122 |
done
|
2522 |
done
|
|
|
2523 |
done
|
|
|
2524 |
IFS=$as_save_IFS
|
|
|
2525 |
|
|
|
2526 |
fi
|
|
|
2527 |
fi
|
|
|
2528 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
|
|
2529 |
if test -n "$ac_ct_STRIP"; then
|
|
|
2530 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
|
|
2531 |
$as_echo "$ac_ct_STRIP" >&6; }
|
|
|
2532 |
else
|
|
|
2533 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
2534 |
$as_echo "no" >&6; }
|
|
|
2535 |
fi
|
|
|
2536 |
|
|
|
2537 |
if test "x$ac_ct_STRIP" = x; then
|
|
|
2538 |
STRIP=":"
|
|
|
2539 |
else
|
|
|
2540 |
case $cross_compiling:$ac_tool_warned in
|
|
|
2541 |
yes:)
|
|
|
2542 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
|
2543 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
|
2544 |
ac_tool_warned=yes ;;
|
|
|
2545 |
esac
|
|
|
2546 |
STRIP=$ac_ct_STRIP
|
|
|
2547 |
fi
|
|
|
2548 |
else
|
|
|
2549 |
STRIP="$ac_cv_prog_STRIP"
|
|
|
2550 |
fi
|
|
|
2551 |
|
|
|
2552 |
fi
|
|
|
2553 |
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
|
|
2554 |
|
|
|
2555 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
|
|
|
2556 |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
|
|
|
2557 |
if test -z "$MKDIR_P"; then
|
|
|
2558 |
if ${ac_cv_path_mkdir+:} false; then :
|
|
|
2559 |
$as_echo_n "(cached) " >&6
|
|
|
2560 |
else
|
|
|
2561 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
|
2562 |
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
|
|
|
2563 |
do
|
|
|
2564 |
IFS=$as_save_IFS
|
|
|
2565 |
test -z "$as_dir" && as_dir=.
|
|
|
2566 |
for ac_prog in mkdir gmkdir; do
|
|
|
2567 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
2568 |
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
|
|
|
2569 |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
|
|
|
2570 |
'mkdir (GNU coreutils) '* | \
|
|
|
2571 |
'mkdir (coreutils) '* | \
|
|
|
2572 |
'mkdir (fileutils) '4.1*)
|
|
|
2573 |
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
|
|
|
2574 |
break 3;;
|
|
|
2575 |
esac
|
|
|
2576 |
done
|
|
|
2577 |
done
|
|
|
2578 |
done
|
|
|
2579 |
IFS=$as_save_IFS
|
|
|
2580 |
|
|
|
2581 |
fi
|
|
|
2582 |
|
|
|
2583 |
test -d ./--version && rmdir ./--version
|
|
|
2584 |
if test "${ac_cv_path_mkdir+set}" = set; then
|
|
|
2585 |
MKDIR_P="$ac_cv_path_mkdir -p"
|
|
|
2586 |
else
|
|
|
2587 |
# As a last resort, use the slow shell script. Don't cache a
|
|
|
2588 |
# value for MKDIR_P within a source directory, because that will
|
|
|
2589 |
# break other packages using the cache if that directory is
|
|
|
2590 |
# removed, or if the value is a relative name.
|
|
|
2591 |
MKDIR_P="$ac_install_sh -d"
|
|
|
2592 |
fi
|
|
|
2593 |
fi
|
|
|
2594 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
|
|
|
2595 |
$as_echo "$MKDIR_P" >&6; }
|
|
|
2596 |
|
|
|
2597 |
for ac_prog in gawk mawk nawk awk
|
|
|
2598 |
do
|
|
|
2599 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
|
2600 |
set dummy $ac_prog; ac_word=$2
|
|
|
2601 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
|
2602 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
|
2603 |
if ${ac_cv_prog_AWK+:} false; then :
|
|
|
2604 |
$as_echo_n "(cached) " >&6
|
|
|
2605 |
else
|
|
|
2606 |
if test -n "$AWK"; then
|
|
|
2607 |
ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
|
|
2608 |
else
|
|
|
2609 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
|
2610 |
for as_dir in $PATH
|
|
|
2611 |
do
|
|
|
2612 |
IFS=$as_save_IFS
|
|
|
2613 |
test -z "$as_dir" && as_dir=.
|
|
|
2614 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
2615 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
2616 |
ac_cv_prog_AWK="$ac_prog"
|
|
|
2617 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
2618 |
break 2
|
|
|
2619 |
fi
|
|
|
2620 |
done
|
|
|
2621 |
done
|
2123 |
IFS=$as_save_IFS
|
2622 |
IFS=$as_save_IFS
|
2124 |
|
2623 |
|
2125 |
fi
|
2624 |
fi
|
2126 |
fi
|
2625 |
fi
|
2127 |
AWK=$ac_cv_prog_AWK
|
2626 |
AWK=$ac_cv_prog_AWK
|
2128 |
if test -n "$AWK"; then
|
2627 |
if test -n "$AWK"; then
|
2129 |
{ echo "$as_me:$LINENO: result: $AWK" >&5
|
2628 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
2130 |
echo "${ECHO_T}$AWK" >&6; }
|
2629 |
$as_echo "$AWK" >&6; }
|
2131 |
else
|
2630 |
else
|
2132 |
{ echo "$as_me:$LINENO: result: no" >&5
|
2631 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2133 |
echo "${ECHO_T}no" >&6; }
|
2632 |
$as_echo "no" >&6; }
|
2134 |
fi
|
2633 |
fi
|
2135 |
|
2634 |
|
2136 |
|
2635 |
|
2137 |
test -n "$AWK" && break
|
2636 |
test -n "$AWK" && break
|
2138 |
done
|
2637 |
done
|
2139 |
|
2638 |
|
2140 |
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
2639 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
2141 |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
|
2640 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
|
|
2641 |
set x ${MAKE-make}
|
2142 |
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
2642 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
2143 |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
|
2643 |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
|
2144 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2644 |
$as_echo_n "(cached) " >&6
|
2145 |
else
|
2645 |
else
|
2146 |
cat >conftest.make <<\_ACEOF
|
2646 |
cat >conftest.make <<\_ACEOF
|
2147 |
SHELL = /bin/sh
|
2647 |
SHELL = /bin/sh
|
2148 |
all:
|
2648 |
all:
|
2149 |
@echo '@@@%%%=$(MAKE)=@@@%%%'
|
2649 |
@echo '@@@%%%=$(MAKE)=@@@%%%'
|
2150 |
_ACEOF
|
2650 |
_ACEOF
|
2151 |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
2651 |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
|
2152 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in
|
2652 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in
|
2153 |
*@@@%%%=?*=@@@%%%*)
|
2653 |
*@@@%%%=?*=@@@%%%*)
|
2154 |
eval ac_cv_prog_make_${ac_make}_set=yes;;
|
2654 |
eval ac_cv_prog_make_${ac_make}_set=yes;;
|
2155 |
*)
|
2655 |
*)
|
2156 |
eval ac_cv_prog_make_${ac_make}_set=no;;
|
2656 |
eval ac_cv_prog_make_${ac_make}_set=no;;
|
2157 |
esac
|
2657 |
esac
|
2158 |
rm -f conftest.make
|
2658 |
rm -f conftest.make
|
2159 |
fi
|
2659 |
fi
|
2160 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
2660 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
2161 |
{ echo "$as_me:$LINENO: result: yes" >&5
|
2661 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
2162 |
echo "${ECHO_T}yes" >&6; }
|
2662 |
$as_echo "yes" >&6; }
|
2163 |
SET_MAKE=
|
2663 |
SET_MAKE=
|
2164 |
else
|
2664 |
else
|
2165 |
{ echo "$as_me:$LINENO: result: no" >&5
|
2665 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2166 |
echo "${ECHO_T}no" >&6; }
|
2666 |
$as_echo "no" >&6; }
|
2167 |
SET_MAKE="MAKE=${MAKE-make}"
|
2667 |
SET_MAKE="MAKE=${MAKE-make}"
|
2168 |
fi
|
2668 |
fi
|
2169 |
|
2669 |
|
2170 |
# Check whether --enable-dependency-tracking was given.
|
|
|
2171 |
if test "${enable_dependency_tracking+set}" = set; then
|
|
|
2172 |
enableval=$enable_dependency_tracking;
|
|
|
2173 |
fi
|
|
|
2174 |
|
|
|
2175 |
if test "x$enable_dependency_tracking" != xno; then
|
|
|
2176 |
am_depcomp="$ac_aux_dir/depcomp"
|
|
|
2177 |
AMDEPBACKSLASH='\'
|
|
|
2178 |
fi
|
|
|
2179 |
|
|
|
2180 |
|
|
|
2181 |
if test "x$enable_dependency_tracking" != xno; then
|
|
|
2182 |
AMDEP_TRUE=
|
|
|
2183 |
AMDEP_FALSE='#'
|
|
|
2184 |
else
|
|
|
2185 |
AMDEP_TRUE='#'
|
|
|
2186 |
AMDEP_FALSE=
|
|
|
2187 |
fi
|
|
|
2188 |
|
|
|
2189 |
|
|
|
2190 |
|
|
|
2191 |
|
|
|
2192 |
rm -f .deps 2>/dev/null
|
2670 |
rm -rf .tst 2>/dev/null
|
2193 |
mkdir .deps 2>/dev/null
|
2671 |
mkdir .tst 2>/dev/null
|
2194 |
if test -d .deps; then
|
2672 |
if test -d .tst; then
|
2195 |
DEPDIR=.deps
|
2673 |
am__leading_dot=.
|
2196 |
else
|
2674 |
else
|
2197 |
# MS-DOS does not allow filenames that begin with a dot.
|
2675 |
am__leading_dot=_
|
2198 |
DEPDIR=_deps
|
|
|
2199 |
fi
|
2676 |
fi
|
2200 |
rmdir .deps 2>/dev/null
|
2677 |
rmdir .tst 2>/dev/null
|
2201 |
|
2678 |
|
|
|
2679 |
# Check whether --enable-silent-rules was given.
|
|
|
2680 |
if test "${enable_silent_rules+set}" = set; then :
|
|
|
2681 |
enableval=$enable_silent_rules;
|
|
|
2682 |
fi
|
2202 |
|
2683 |
|
|
|
2684 |
case $enable_silent_rules in # (((
|
|
|
2685 |
yes) AM_DEFAULT_VERBOSITY=0;;
|
|
|
2686 |
no) AM_DEFAULT_VERBOSITY=1;;
|
|
|
2687 |
*) AM_DEFAULT_VERBOSITY=1;;
|
|
|
2688 |
esac
|
|
|
2689 |
am_make=${MAKE-make}
|
|
|
2690 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
|
|
|
2691 |
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
|
|
|
2692 |
if ${am_cv_make_support_nested_variables+:} false; then :
|
|
|
2693 |
$as_echo_n "(cached) " >&6
|
|
|
2694 |
else
|
|
|
2695 |
if $as_echo 'TRUE=$(BAR$(V))
|
|
|
2696 |
BAR0=false
|
|
|
2697 |
BAR1=true
|
|
|
2698 |
V=1
|
|
|
2699 |
am__doit:
|
|
|
2700 |
@$(TRUE)
|
|
|
2701 |
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
|
|
|
2702 |
am_cv_make_support_nested_variables=yes
|
|
|
2703 |
else
|
|
|
2704 |
am_cv_make_support_nested_variables=no
|
|
|
2705 |
fi
|
|
|
2706 |
fi
|
|
|
2707 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
|
|
|
2708 |
$as_echo "$am_cv_make_support_nested_variables" >&6; }
|
|
|
2709 |
if test $am_cv_make_support_nested_variables = yes; then
|
|
|
2710 |
AM_V='$(V)'
|
|
|
2711 |
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
|
|
|
2712 |
else
|
|
|
2713 |
AM_V=$AM_DEFAULT_VERBOSITY
|
|
|
2714 |
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
|
|
|
2715 |
fi
|
|
|
2716 |
AM_BACKSLASH='\'
|
|
|
2717 |
|
|
|
2718 |
if test "`cd $srcdir && pwd`" != "`pwd`"; then
|
|
|
2719 |
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
|
|
|
2720 |
# is not polluted with repeated "-I."
|
|
|
2721 |
am__isrc=' -I$(srcdir)'
|
2203 |
# test to see if srcdir already configured
|
2722 |
# test to see if srcdir already configured
|
2204 |
if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
|
|
|
2205 |
test -f $srcdir/config.status; then
|
2723 |
if test -f $srcdir/config.status; then
|
2206 |
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
|
|
|
2207 |
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
|
2724 |
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
|
2208 |
{ (exit 1); exit 1; }; }
|
|
|
2209 |
fi
|
2725 |
fi
|
|
|
2726 |
fi
|
|
|
2727 |
|
|
|
2728 |
# test whether we have cygpath
|
|
|
2729 |
if test -z "$CYGPATH_W"; then
|
|
|
2730 |
if (cygpath --version) >/dev/null 2>/dev/null; then
|
|
|
2731 |
CYGPATH_W='cygpath -w'
|
|
|
2732 |
else
|
|
|
2733 |
CYGPATH_W=echo
|
|
|
2734 |
fi
|
|
|
2735 |
fi
|
|
|
2736 |
|
2210 |
|
2737 |
|
2211 |
# Define the identity of the package.
|
2738 |
# Define the identity of the package.
|
2212 |
PACKAGE=unac
|
2739 |
PACKAGE='unac'
|
2213 |
VERSION=$VERSION
|
2740 |
VERSION='1.7.0'
|
2214 |
|
2741 |
|
2215 |
|
2742 |
|
2216 |
# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
|
2743 |
cat >>confdefs.h <<_ACEOF
|
2217 |
# the ones we care about.
|
2744 |
#define PACKAGE "$PACKAGE"
|
|
|
2745 |
_ACEOF
|
2218 |
|
2746 |
|
2219 |
# Autoconf 2.50 always computes EXEEXT. However we need to be
|
|
|
2220 |
# compatible with 2.13, for now. So we always define EXEEXT, but we
|
|
|
2221 |
# don't compute it.
|
|
|
2222 |
|
2747 |
|
2223 |
# Similar for OBJEXT -- only we only use OBJEXT if the user actually
|
2748 |
cat >>confdefs.h <<_ACEOF
|
2224 |
# requests that it be used. This is a bit dumb.
|
2749 |
#define VERSION "$VERSION"
|
2225 |
: ${OBJEXT=o}
|
2750 |
_ACEOF
|
2226 |
|
|
|
2227 |
|
2751 |
|
2228 |
# Some tools Automake needs.
|
2752 |
# Some tools Automake needs.
|
2229 |
|
2753 |
|
2230 |
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
|
2754 |
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
|
2231 |
|
2755 |
|
2232 |
|
2756 |
|
2233 |
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
|
2757 |
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
|
2234 |
|
2758 |
|
2235 |
|
2759 |
|
2236 |
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
|
2760 |
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
|
2237 |
|
2761 |
|
2238 |
|
2762 |
|
2239 |
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
|
2763 |
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
|
2240 |
|
2764 |
|
2241 |
|
2765 |
|
2242 |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
2766 |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
2243 |
|
2767 |
|
2244 |
|
2768 |
# For better backward compatibility. To be removed once Automake 1.9.x
|
2245 |
AMTAR=${AMTAR-"${am_missing_run}tar"}
|
2769 |
# dies out for good. For more background, see:
|
2246 |
|
2770 |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
|
2247 |
install_sh=${install_sh-"$am_aux_dir/install-sh"}
|
2771 |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
|
2248 |
|
2772 |
mkdir_p='$(MKDIR_P)'
|
2249 |
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
|
|
|
2250 |
|
2773 |
|
2251 |
# We need awk for the "check" target. The system "awk" is bad on
|
2774 |
# We need awk for the "check" target. The system "awk" is bad on
|
2252 |
# some platforms.
|
2775 |
# some platforms.
|
|
|
2776 |
# Always define AMTAR for backward compatibility. Yes, it's still used
|
|
|
2777 |
# in the wild :-( We should find a proper way to deprecate it ...
|
|
|
2778 |
AMTAR='$${TAR-tar}'
|
2253 |
|
2779 |
|
2254 |
|
2780 |
|
|
|
2781 |
# We'll loop over all known methods to create a tar archive until one works.
|
|
|
2782 |
_am_tools='gnutar pax cpio none'
|
2255 |
|
2783 |
|
|
|
2784 |
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
|
2256 |
|
2785 |
|
2257 |
|
2786 |
|
2258 |
|
2787 |
|
|
|
2788 |
|
|
|
2789 |
|
|
|
2790 |
|
|
|
2791 |
# POSIX will say in a future version that running "rm -f" with no argument
|
|
|
2792 |
# is OK; and we want to be able to make that assumption in our Makefile
|
|
|
2793 |
# recipes. So use an aggressive probe to check that the usage we want is
|
|
|
2794 |
# actually supported "in the wild" to an acceptable degree.
|
|
|
2795 |
# See automake bug#10828.
|
|
|
2796 |
# To make any issue more visible, cause the running configure to be aborted
|
|
|
2797 |
# by default if the 'rm' program in use doesn't match our expectations; the
|
|
|
2798 |
# user can still override this though.
|
|
|
2799 |
if rm -f && rm -fr && rm -rf; then : OK; else
|
|
|
2800 |
cat >&2 <<'END'
|
|
|
2801 |
Oops!
|
|
|
2802 |
|
|
|
2803 |
Your 'rm' program seems unable to run without file operands specified
|
|
|
2804 |
on the command line, even when the '-f' option is present. This is contrary
|
|
|
2805 |
to the behaviour of most rm programs out there, and not conforming with
|
|
|
2806 |
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
|
|
|
2807 |
|
|
|
2808 |
Please tell bug-automake@gnu.org about your system, including the value
|
|
|
2809 |
of your $PATH and any error possibly output before this message. This
|
|
|
2810 |
can help us improve future automake versions.
|
|
|
2811 |
|
|
|
2812 |
END
|
|
|
2813 |
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
|
|
|
2814 |
echo 'Configuration will proceed anyway, since you have set the' >&2
|
|
|
2815 |
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
|
|
|
2816 |
echo >&2
|
|
|
2817 |
else
|
|
|
2818 |
cat >&2 <<'END'
|
|
|
2819 |
Aborting the configuration process, to ensure you take notice of the issue.
|
|
|
2820 |
|
|
|
2821 |
You can download and install GNU coreutils to get an 'rm' implementation
|
|
|
2822 |
that behaves properly: <http://www.gnu.org/software/coreutils/>.
|
|
|
2823 |
|
|
|
2824 |
If you want to complete the configuration process using your problematic
|
|
|
2825 |
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
|
|
|
2826 |
to "yes", and re-run configure.
|
|
|
2827 |
|
|
|
2828 |
END
|
|
|
2829 |
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
|
|
|
2830 |
fi
|
|
|
2831 |
fi
|
|
|
2832 |
|
|
|
2833 |
|
2259 |
ac_config_headers="$ac_config_headers config.h"
|
2834 |
ac_config_headers="$ac_config_headers config.h"
|
2260 |
|
2835 |
|
2261 |
|
2836 |
|
2262 |
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
2837 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
2263 |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
|
2838 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
|
|
2839 |
set x ${MAKE-make}
|
2264 |
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
2840 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
2265 |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
|
2841 |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
|
2266 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2842 |
$as_echo_n "(cached) " >&6
|
2267 |
else
|
2843 |
else
|
2268 |
cat >conftest.make <<\_ACEOF
|
2844 |
cat >conftest.make <<\_ACEOF
|
2269 |
SHELL = /bin/sh
|
2845 |
SHELL = /bin/sh
|
2270 |
all:
|
2846 |
all:
|
2271 |
@echo '@@@%%%=$(MAKE)=@@@%%%'
|
2847 |
@echo '@@@%%%=$(MAKE)=@@@%%%'
|
2272 |
_ACEOF
|
2848 |
_ACEOF
|
2273 |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
2849 |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
|
2274 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in
|
2850 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in
|
2275 |
*@@@%%%=?*=@@@%%%*)
|
2851 |
*@@@%%%=?*=@@@%%%*)
|
2276 |
eval ac_cv_prog_make_${ac_make}_set=yes;;
|
2852 |
eval ac_cv_prog_make_${ac_make}_set=yes;;
|
2277 |
*)
|
2853 |
*)
|
2278 |
eval ac_cv_prog_make_${ac_make}_set=no;;
|
2854 |
eval ac_cv_prog_make_${ac_make}_set=no;;
|
2279 |
esac
|
2855 |
esac
|
2280 |
rm -f conftest.make
|
2856 |
rm -f conftest.make
|
2281 |
fi
|
2857 |
fi
|
2282 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
2858 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
2283 |
{ echo "$as_me:$LINENO: result: yes" >&5
|
2859 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
2284 |
echo "${ECHO_T}yes" >&6; }
|
2860 |
$as_echo "yes" >&6; }
|
2285 |
SET_MAKE=
|
2861 |
SET_MAKE=
|
2286 |
else
|
2862 |
else
|
2287 |
{ echo "$as_me:$LINENO: result: no" >&5
|
2863 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2288 |
echo "${ECHO_T}no" >&6; }
|
2864 |
$as_echo "no" >&6; }
|
2289 |
SET_MAKE="MAKE=${MAKE-make}"
|
2865 |
SET_MAKE="MAKE=${MAKE-make}"
|
2290 |
fi
|
2866 |
fi
|
2291 |
|
2867 |
|
2292 |
|
2868 |
|
2293 |
UNICODE_VERSION=5.1.0
|
2869 |
UNICODE_VERSION=6.3.0
|
2294 |
|
2870 |
|
2295 |
|
2871 |
|
2296 |
ac_ext=c
|
2872 |
ac_ext=c
|
2297 |
ac_cpp='$CPP $CPPFLAGS'
|
2873 |
ac_cpp='$CPP $CPPFLAGS'
|
2298 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
2874 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
2299 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
2875 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
2300 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
2876 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
2301 |
if test -n "$ac_tool_prefix"; then
|
2877 |
if test -n "$ac_tool_prefix"; then
|
2302 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
2878 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
2303 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
2879 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
2304 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2880 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2305 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2881 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2306 |
if test "${ac_cv_prog_CC+set}" = set; then
|
2882 |
if ${ac_cv_prog_CC+:} false; then :
|
2307 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2883 |
$as_echo_n "(cached) " >&6
|
2308 |
else
|
2884 |
else
|
2309 |
if test -n "$CC"; then
|
2885 |
if test -n "$CC"; then
|
2310 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
2886 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
2311 |
else
|
2887 |
else
|
2312 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2888 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2313 |
for as_dir in $PATH
|
2889 |
for as_dir in $PATH
|
2314 |
do
|
2890 |
do
|
2315 |
IFS=$as_save_IFS
|
2891 |
IFS=$as_save_IFS
|
2316 |
test -z "$as_dir" && as_dir=.
|
2892 |
test -z "$as_dir" && as_dir=.
|
2317 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2893 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2318 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2894 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2319 |
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
2895 |
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
2320 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2896 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2321 |
break 2
|
2897 |
break 2
|
2322 |
fi
|
2898 |
fi
|
2323 |
done
|
2899 |
done
|
2324 |
done
|
2900 |
done
|
2325 |
IFS=$as_save_IFS
|
2901 |
IFS=$as_save_IFS
|
2326 |
|
2902 |
|
2327 |
fi
|
2903 |
fi
|
2328 |
fi
|
2904 |
fi
|
2329 |
CC=$ac_cv_prog_CC
|
2905 |
CC=$ac_cv_prog_CC
|
2330 |
if test -n "$CC"; then
|
2906 |
if test -n "$CC"; then
|
2331 |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
2907 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
2332 |
echo "${ECHO_T}$CC" >&6; }
|
2908 |
$as_echo "$CC" >&6; }
|
2333 |
else
|
2909 |
else
|
2334 |
{ echo "$as_me:$LINENO: result: no" >&5
|
2910 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2335 |
echo "${ECHO_T}no" >&6; }
|
2911 |
$as_echo "no" >&6; }
|
2336 |
fi
|
2912 |
fi
|
2337 |
|
2913 |
|
2338 |
|
2914 |
|
2339 |
fi
|
2915 |
fi
|
2340 |
if test -z "$ac_cv_prog_CC"; then
|
2916 |
if test -z "$ac_cv_prog_CC"; then
|
2341 |
ac_ct_CC=$CC
|
2917 |
ac_ct_CC=$CC
|
2342 |
# Extract the first word of "gcc", so it can be a program name with args.
|
2918 |
# Extract the first word of "gcc", so it can be a program name with args.
|
2343 |
set dummy gcc; ac_word=$2
|
2919 |
set dummy gcc; ac_word=$2
|
2344 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2920 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2345 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2921 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2346 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
2922 |
if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
2347 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2923 |
$as_echo_n "(cached) " >&6
|
2348 |
else
|
2924 |
else
|
2349 |
if test -n "$ac_ct_CC"; then
|
2925 |
if test -n "$ac_ct_CC"; then
|
2350 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
2926 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
2351 |
else
|
2927 |
else
|
2352 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2928 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2353 |
for as_dir in $PATH
|
2929 |
for as_dir in $PATH
|
2354 |
do
|
2930 |
do
|
2355 |
IFS=$as_save_IFS
|
2931 |
IFS=$as_save_IFS
|
2356 |
test -z "$as_dir" && as_dir=.
|
2932 |
test -z "$as_dir" && as_dir=.
|
2357 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2933 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2358 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2934 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2359 |
ac_cv_prog_ac_ct_CC="gcc"
|
2935 |
ac_cv_prog_ac_ct_CC="gcc"
|
2360 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2936 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2361 |
break 2
|
2937 |
break 2
|
2362 |
fi
|
2938 |
fi
|
2363 |
done
|
2939 |
done
|
2364 |
done
|
2940 |
done
|
2365 |
IFS=$as_save_IFS
|
2941 |
IFS=$as_save_IFS
|
2366 |
|
2942 |
|
2367 |
fi
|
2943 |
fi
|
2368 |
fi
|
2944 |
fi
|
2369 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
2945 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
2370 |
if test -n "$ac_ct_CC"; then
|
2946 |
if test -n "$ac_ct_CC"; then
|
2371 |
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
2947 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
2372 |
echo "${ECHO_T}$ac_ct_CC" >&6; }
|
2948 |
$as_echo "$ac_ct_CC" >&6; }
|
2373 |
else
|
2949 |
else
|
2374 |
{ echo "$as_me:$LINENO: result: no" >&5
|
2950 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2375 |
echo "${ECHO_T}no" >&6; }
|
2951 |
$as_echo "no" >&6; }
|
2376 |
fi
|
2952 |
fi
|
2377 |
|
2953 |
|
2378 |
if test "x$ac_ct_CC" = x; then
|
2954 |
if test "x$ac_ct_CC" = x; then
|
2379 |
CC=""
|
2955 |
CC=""
|
2380 |
else
|
2956 |
else
|
2381 |
case $cross_compiling:$ac_tool_warned in
|
2957 |
case $cross_compiling:$ac_tool_warned in
|
2382 |
yes:)
|
2958 |
yes:)
|
2383 |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
2959 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
2384 |
whose name does not start with the host triplet. If you think this
|
2960 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
2385 |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
|
|
2386 |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
|
|
2387 |
whose name does not start with the host triplet. If you think this
|
|
|
2388 |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
|
2389 |
ac_tool_warned=yes ;;
|
2961 |
ac_tool_warned=yes ;;
|
2390 |
esac
|
2962 |
esac
|
2391 |
CC=$ac_ct_CC
|
2963 |
CC=$ac_ct_CC
|
2392 |
fi
|
2964 |
fi
|
2393 |
else
|
2965 |
else
|
|
... |
|
... |
2396 |
|
2968 |
|
2397 |
if test -z "$CC"; then
|
2969 |
if test -z "$CC"; then
|
2398 |
if test -n "$ac_tool_prefix"; then
|
2970 |
if test -n "$ac_tool_prefix"; then
|
2399 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
2971 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
2400 |
set dummy ${ac_tool_prefix}cc; ac_word=$2
|
2972 |
set dummy ${ac_tool_prefix}cc; ac_word=$2
|
2401 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2973 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2402 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2974 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2403 |
if test "${ac_cv_prog_CC+set}" = set; then
|
2975 |
if ${ac_cv_prog_CC+:} false; then :
|
2404 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2976 |
$as_echo_n "(cached) " >&6
|
2405 |
else
|
2977 |
else
|
2406 |
if test -n "$CC"; then
|
2978 |
if test -n "$CC"; then
|
2407 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
2979 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
2408 |
else
|
2980 |
else
|
2409 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2981 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2410 |
for as_dir in $PATH
|
2982 |
for as_dir in $PATH
|
2411 |
do
|
2983 |
do
|
2412 |
IFS=$as_save_IFS
|
2984 |
IFS=$as_save_IFS
|
2413 |
test -z "$as_dir" && as_dir=.
|
2985 |
test -z "$as_dir" && as_dir=.
|
2414 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2986 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2415 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2987 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2416 |
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
2988 |
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
2417 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2989 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2418 |
break 2
|
2990 |
break 2
|
2419 |
fi
|
2991 |
fi
|
2420 |
done
|
2992 |
done
|
2421 |
done
|
2993 |
done
|
2422 |
IFS=$as_save_IFS
|
2994 |
IFS=$as_save_IFS
|
2423 |
|
2995 |
|
2424 |
fi
|
2996 |
fi
|
2425 |
fi
|
2997 |
fi
|
2426 |
CC=$ac_cv_prog_CC
|
2998 |
CC=$ac_cv_prog_CC
|
2427 |
if test -n "$CC"; then
|
2999 |
if test -n "$CC"; then
|
2428 |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
3000 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
2429 |
echo "${ECHO_T}$CC" >&6; }
|
3001 |
$as_echo "$CC" >&6; }
|
2430 |
else
|
3002 |
else
|
2431 |
{ echo "$as_me:$LINENO: result: no" >&5
|
3003 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2432 |
echo "${ECHO_T}no" >&6; }
|
3004 |
$as_echo "no" >&6; }
|
2433 |
fi
|
3005 |
fi
|
2434 |
|
3006 |
|
2435 |
|
3007 |
|
2436 |
fi
|
3008 |
fi
|
2437 |
fi
|
3009 |
fi
|
2438 |
if test -z "$CC"; then
|
3010 |
if test -z "$CC"; then
|
2439 |
# Extract the first word of "cc", so it can be a program name with args.
|
3011 |
# Extract the first word of "cc", so it can be a program name with args.
|
2440 |
set dummy cc; ac_word=$2
|
3012 |
set dummy cc; ac_word=$2
|
2441 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
3013 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2442 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
3014 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2443 |
if test "${ac_cv_prog_CC+set}" = set; then
|
3015 |
if ${ac_cv_prog_CC+:} false; then :
|
2444 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3016 |
$as_echo_n "(cached) " >&6
|
2445 |
else
|
3017 |
else
|
2446 |
if test -n "$CC"; then
|
3018 |
if test -n "$CC"; then
|
2447 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
3019 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
2448 |
else
|
3020 |
else
|
2449 |
ac_prog_rejected=no
|
3021 |
ac_prog_rejected=no
|
2450 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3022 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2451 |
for as_dir in $PATH
|
3023 |
for as_dir in $PATH
|
2452 |
do
|
3024 |
do
|
2453 |
IFS=$as_save_IFS
|
3025 |
IFS=$as_save_IFS
|
2454 |
test -z "$as_dir" && as_dir=.
|
3026 |
test -z "$as_dir" && as_dir=.
|
2455 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3027 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2456 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
3028 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2457 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
3029 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
2458 |
ac_prog_rejected=yes
|
3030 |
ac_prog_rejected=yes
|
2459 |
continue
|
3031 |
continue
|
2460 |
fi
|
3032 |
fi
|
2461 |
ac_cv_prog_CC="cc"
|
3033 |
ac_cv_prog_CC="cc"
|
2462 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3034 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2463 |
break 2
|
3035 |
break 2
|
2464 |
fi
|
3036 |
fi
|
2465 |
done
|
3037 |
done
|
2466 |
done
|
3038 |
done
|
2467 |
IFS=$as_save_IFS
|
3039 |
IFS=$as_save_IFS
|
2468 |
|
3040 |
|
2469 |
if test $ac_prog_rejected = yes; then
|
3041 |
if test $ac_prog_rejected = yes; then
|
2470 |
# We found a bogon in the path, so make sure we never use it.
|
3042 |
# We found a bogon in the path, so make sure we never use it.
|
2471 |
set dummy $ac_cv_prog_CC
|
3043 |
set dummy $ac_cv_prog_CC
|
|
... |
|
... |
2480 |
fi
|
3052 |
fi
|
2481 |
fi
|
3053 |
fi
|
2482 |
fi
|
3054 |
fi
|
2483 |
CC=$ac_cv_prog_CC
|
3055 |
CC=$ac_cv_prog_CC
|
2484 |
if test -n "$CC"; then
|
3056 |
if test -n "$CC"; then
|
2485 |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
3057 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
2486 |
echo "${ECHO_T}$CC" >&6; }
|
3058 |
$as_echo "$CC" >&6; }
|
2487 |
else
|
3059 |
else
|
2488 |
{ echo "$as_me:$LINENO: result: no" >&5
|
3060 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2489 |
echo "${ECHO_T}no" >&6; }
|
3061 |
$as_echo "no" >&6; }
|
2490 |
fi
|
3062 |
fi
|
2491 |
|
3063 |
|
2492 |
|
3064 |
|
2493 |
fi
|
3065 |
fi
|
2494 |
if test -z "$CC"; then
|
3066 |
if test -z "$CC"; then
|
2495 |
if test -n "$ac_tool_prefix"; then
|
3067 |
if test -n "$ac_tool_prefix"; then
|
2496 |
for ac_prog in cl.exe
|
3068 |
for ac_prog in cl.exe
|
2497 |
do
|
3069 |
do
|
2498 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
3070 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
2499 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
3071 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
2500 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
3072 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2501 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
3073 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2502 |
if test "${ac_cv_prog_CC+set}" = set; then
|
3074 |
if ${ac_cv_prog_CC+:} false; then :
|
2503 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3075 |
$as_echo_n "(cached) " >&6
|
2504 |
else
|
3076 |
else
|
2505 |
if test -n "$CC"; then
|
3077 |
if test -n "$CC"; then
|
2506 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
3078 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
2507 |
else
|
3079 |
else
|
2508 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3080 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2509 |
for as_dir in $PATH
|
3081 |
for as_dir in $PATH
|
2510 |
do
|
3082 |
do
|
2511 |
IFS=$as_save_IFS
|
3083 |
IFS=$as_save_IFS
|
2512 |
test -z "$as_dir" && as_dir=.
|
3084 |
test -z "$as_dir" && as_dir=.
|
2513 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3085 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2514 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
3086 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2515 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
3087 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
2516 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3088 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2517 |
break 2
|
3089 |
break 2
|
2518 |
fi
|
3090 |
fi
|
2519 |
done
|
3091 |
done
|
2520 |
done
|
3092 |
done
|
2521 |
IFS=$as_save_IFS
|
3093 |
IFS=$as_save_IFS
|
2522 |
|
3094 |
|
2523 |
fi
|
3095 |
fi
|
2524 |
fi
|
3096 |
fi
|
2525 |
CC=$ac_cv_prog_CC
|
3097 |
CC=$ac_cv_prog_CC
|
2526 |
if test -n "$CC"; then
|
3098 |
if test -n "$CC"; then
|
2527 |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
3099 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
2528 |
echo "${ECHO_T}$CC" >&6; }
|
3100 |
$as_echo "$CC" >&6; }
|
2529 |
else
|
3101 |
else
|
2530 |
{ echo "$as_me:$LINENO: result: no" >&5
|
3102 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2531 |
echo "${ECHO_T}no" >&6; }
|
3103 |
$as_echo "no" >&6; }
|
2532 |
fi
|
3104 |
fi
|
2533 |
|
3105 |
|
2534 |
|
3106 |
|
2535 |
test -n "$CC" && break
|
3107 |
test -n "$CC" && break
|
2536 |
done
|
3108 |
done
|
|
... |
|
... |
2539 |
ac_ct_CC=$CC
|
3111 |
ac_ct_CC=$CC
|
2540 |
for ac_prog in cl.exe
|
3112 |
for ac_prog in cl.exe
|
2541 |
do
|
3113 |
do
|
2542 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
3114 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
2543 |
set dummy $ac_prog; ac_word=$2
|
3115 |
set dummy $ac_prog; ac_word=$2
|
2544 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
3116 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2545 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
3117 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2546 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
3118 |
if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
2547 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3119 |
$as_echo_n "(cached) " >&6
|
2548 |
else
|
3120 |
else
|
2549 |
if test -n "$ac_ct_CC"; then
|
3121 |
if test -n "$ac_ct_CC"; then
|
2550 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
3122 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
2551 |
else
|
3123 |
else
|
2552 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3124 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2553 |
for as_dir in $PATH
|
3125 |
for as_dir in $PATH
|
2554 |
do
|
3126 |
do
|
2555 |
IFS=$as_save_IFS
|
3127 |
IFS=$as_save_IFS
|
2556 |
test -z "$as_dir" && as_dir=.
|
3128 |
test -z "$as_dir" && as_dir=.
|
2557 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3129 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2558 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
3130 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2559 |
ac_cv_prog_ac_ct_CC="$ac_prog"
|
3131 |
ac_cv_prog_ac_ct_CC="$ac_prog"
|
2560 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3132 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2561 |
break 2
|
3133 |
break 2
|
2562 |
fi
|
3134 |
fi
|
2563 |
done
|
3135 |
done
|
2564 |
done
|
3136 |
done
|
2565 |
IFS=$as_save_IFS
|
3137 |
IFS=$as_save_IFS
|
2566 |
|
3138 |
|
2567 |
fi
|
3139 |
fi
|
2568 |
fi
|
3140 |
fi
|
2569 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
3141 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
2570 |
if test -n "$ac_ct_CC"; then
|
3142 |
if test -n "$ac_ct_CC"; then
|
2571 |
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
3143 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
2572 |
echo "${ECHO_T}$ac_ct_CC" >&6; }
|
3144 |
$as_echo "$ac_ct_CC" >&6; }
|
2573 |
else
|
3145 |
else
|
2574 |
{ echo "$as_me:$LINENO: result: no" >&5
|
3146 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2575 |
echo "${ECHO_T}no" >&6; }
|
3147 |
$as_echo "no" >&6; }
|
2576 |
fi
|
3148 |
fi
|
2577 |
|
3149 |
|
2578 |
|
3150 |
|
2579 |
test -n "$ac_ct_CC" && break
|
3151 |
test -n "$ac_ct_CC" && break
|
2580 |
done
|
3152 |
done
|
|
... |
|
... |
2582 |
if test "x$ac_ct_CC" = x; then
|
3154 |
if test "x$ac_ct_CC" = x; then
|
2583 |
CC=""
|
3155 |
CC=""
|
2584 |
else
|
3156 |
else
|
2585 |
case $cross_compiling:$ac_tool_warned in
|
3157 |
case $cross_compiling:$ac_tool_warned in
|
2586 |
yes:)
|
3158 |
yes:)
|
2587 |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
3159 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
2588 |
whose name does not start with the host triplet. If you think this
|
3160 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
2589 |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
|
|
2590 |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
|
|
2591 |
whose name does not start with the host triplet. If you think this
|
|
|
2592 |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
|
2593 |
ac_tool_warned=yes ;;
|
3161 |
ac_tool_warned=yes ;;
|
2594 |
esac
|
3162 |
esac
|
2595 |
CC=$ac_ct_CC
|
3163 |
CC=$ac_ct_CC
|
2596 |
fi
|
3164 |
fi
|
2597 |
fi
|
3165 |
fi
|
2598 |
|
3166 |
|
2599 |
fi
|
3167 |
fi
|
2600 |
|
3168 |
|
2601 |
|
3169 |
|
2602 |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
|
3170 |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2603 |
See \`config.log' for more details." >&5
|
3171 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2604 |
echo "$as_me: error: no acceptable C compiler found in \$PATH
|
3172 |
as_fn_error $? "no acceptable C compiler found in \$PATH
|
2605 |
See \`config.log' for more details." >&2;}
|
3173 |
See \`config.log' for more details" "$LINENO" 5; }
|
2606 |
{ (exit 1); exit 1; }; }
|
|
|
2607 |
|
3174 |
|
2608 |
# Provide some information about the compiler.
|
3175 |
# Provide some information about the compiler.
|
2609 |
echo "$as_me:$LINENO: checking for C compiler version" >&5
|
3176 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
2610 |
ac_compiler=`set X $ac_compile; echo $2`
|
3177 |
set X $ac_compile
|
|
|
3178 |
ac_compiler=$2
|
|
|
3179 |
for ac_option in --version -v -V -qversion; do
|
2611 |
{ (ac_try="$ac_compiler --version >&5"
|
3180 |
{ { ac_try="$ac_compiler $ac_option >&5"
|
2612 |
case "(($ac_try" in
|
3181 |
case "(($ac_try" in
|
2613 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3182 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2614 |
*) ac_try_echo=$ac_try;;
|
3183 |
*) ac_try_echo=$ac_try;;
|
2615 |
esac
|
3184 |
esac
|
2616 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3185 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
2617 |
(eval "$ac_compiler --version >&5") 2>&5
|
3186 |
$as_echo "$ac_try_echo"; } >&5
|
|
|
3187 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
2618 |
ac_status=$?
|
3188 |
ac_status=$?
|
|
|
3189 |
if test -s conftest.err; then
|
|
|
3190 |
sed '10a\
|
|
|
3191 |
... rest of stderr output deleted ...
|
|
|
3192 |
10q' conftest.err >conftest.er1
|
|
|
3193 |
cat conftest.er1 >&5
|
|
|
3194 |
fi
|
|
|
3195 |
rm -f conftest.er1 conftest.err
|
2619 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3196 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
2620 |
(exit $ac_status); }
|
3197 |
test $ac_status = 0; }
|
2621 |
{ (ac_try="$ac_compiler -v >&5"
|
3198 |
done
|
2622 |
case "(($ac_try" in
|
|
|
2623 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
2624 |
*) ac_try_echo=$ac_try;;
|
|
|
2625 |
esac
|
|
|
2626 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
2627 |
(eval "$ac_compiler -v >&5") 2>&5
|
|
|
2628 |
ac_status=$?
|
|
|
2629 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
2630 |
(exit $ac_status); }
|
|
|
2631 |
{ (ac_try="$ac_compiler -V >&5"
|
|
|
2632 |
case "(($ac_try" in
|
|
|
2633 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
2634 |
*) ac_try_echo=$ac_try;;
|
|
|
2635 |
esac
|
|
|
2636 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
2637 |
(eval "$ac_compiler -V >&5") 2>&5
|
|
|
2638 |
ac_status=$?
|
|
|
2639 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
2640 |
(exit $ac_status); }
|
|
|
2641 |
|
3199 |
|
2642 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
2643 |
/* confdefs.h. */
|
|
|
2644 |
_ACEOF
|
|
|
2645 |
cat confdefs.h >>conftest.$ac_ext
|
3200 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2646 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
2647 |
/* end confdefs.h. */
|
3201 |
/* end confdefs.h. */
|
2648 |
|
3202 |
|
2649 |
int
|
3203 |
int
|
2650 |
main ()
|
3204 |
main ()
|
2651 |
{
|
3205 |
{
|
|
... |
|
... |
2653 |
;
|
3207 |
;
|
2654 |
return 0;
|
3208 |
return 0;
|
2655 |
}
|
3209 |
}
|
2656 |
_ACEOF
|
3210 |
_ACEOF
|
2657 |
ac_clean_files_save=$ac_clean_files
|
3211 |
ac_clean_files_save=$ac_clean_files
|
2658 |
ac_clean_files="$ac_clean_files a.out a.exe b.out"
|
3212 |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
|
2659 |
# Try to create an executable without -o first, disregard a.out.
|
3213 |
# Try to create an executable without -o first, disregard a.out.
|
2660 |
# It will help us diagnose broken compilers, and finding out an intuition
|
3214 |
# It will help us diagnose broken compilers, and finding out an intuition
|
2661 |
# of exeext.
|
3215 |
# of exeext.
|
2662 |
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
|
3216 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
|
2663 |
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
|
3217 |
$as_echo_n "checking whether the C compiler works... " >&6; }
|
2664 |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
3218 |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
2665 |
#
|
3219 |
|
2666 |
# List of possible output files, starting from the most likely.
|
3220 |
# The possible output files:
|
2667 |
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
|
3221 |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
|
2668 |
# only as a last resort. b.out is created by i960 compilers.
|
3222 |
|
2669 |
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
|
|
|
2670 |
#
|
|
|
2671 |
# The IRIX 6 linker writes into existing files which may not be
|
|
|
2672 |
# executable, retaining their permissions. Remove them first so a
|
|
|
2673 |
# subsequent execution test works.
|
|
|
2674 |
ac_rmfiles=
|
3223 |
ac_rmfiles=
|
2675 |
for ac_file in $ac_files
|
3224 |
for ac_file in $ac_files
|
2676 |
do
|
3225 |
do
|
2677 |
case $ac_file in
|
3226 |
case $ac_file in
|
2678 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
|
3227 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
2679 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
|
3228 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
|
2680 |
esac
|
3229 |
esac
|
2681 |
done
|
3230 |
done
|
2682 |
rm -f $ac_rmfiles
|
3231 |
rm -f $ac_rmfiles
|
2683 |
|
3232 |
|
2684 |
if { (ac_try="$ac_link_default"
|
3233 |
if { { ac_try="$ac_link_default"
|
2685 |
case "(($ac_try" in
|
3234 |
case "(($ac_try" in
|
2686 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3235 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2687 |
*) ac_try_echo=$ac_try;;
|
3236 |
*) ac_try_echo=$ac_try;;
|
2688 |
esac
|
3237 |
esac
|
2689 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3238 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
|
3239 |
$as_echo "$ac_try_echo"; } >&5
|
2690 |
(eval "$ac_link_default") 2>&5
|
3240 |
(eval "$ac_link_default") 2>&5
|
2691 |
ac_status=$?
|
3241 |
ac_status=$?
|
2692 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3242 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
2693 |
(exit $ac_status); }; then
|
3243 |
test $ac_status = 0; }; then :
|
2694 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
3244 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
2695 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
3245 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
2696 |
# in a Makefile. We should not override ac_cv_exeext if it was cached,
|
3246 |
# in a Makefile. We should not override ac_cv_exeext if it was cached,
|
2697 |
# so that the user can short-circuit this test for compilers unknown to
|
3247 |
# so that the user can short-circuit this test for compilers unknown to
|
2698 |
# Autoconf.
|
3248 |
# Autoconf.
|
2699 |
for ac_file in $ac_files ''
|
3249 |
for ac_file in $ac_files ''
|
2700 |
do
|
3250 |
do
|
2701 |
test -f "$ac_file" || continue
|
3251 |
test -f "$ac_file" || continue
|
2702 |
case $ac_file in
|
3252 |
case $ac_file in
|
2703 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
|
3253 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
|
2704 |
;;
|
3254 |
;;
|
2705 |
[ab].out )
|
3255 |
[ab].out )
|
2706 |
# We found the default executable, but exeext='' is most
|
3256 |
# We found the default executable, but exeext='' is most
|
2707 |
# certainly right.
|
3257 |
# certainly right.
|
2708 |
break;;
|
3258 |
break;;
|
2709 |
*.* )
|
3259 |
*.* )
|
2710 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
3260 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
2711 |
then :; else
|
3261 |
then :; else
|
2712 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
3262 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
2713 |
fi
|
3263 |
fi
|
2714 |
# We set ac_cv_exeext here because the later test for it is not
|
3264 |
# We set ac_cv_exeext here because the later test for it is not
|
2715 |
# safe: cross compilers may not add the suffix if given an `-o'
|
3265 |
# safe: cross compilers may not add the suffix if given an `-o'
|
|
... |
|
... |
2724 |
test "$ac_cv_exeext" = no && ac_cv_exeext=
|
3274 |
test "$ac_cv_exeext" = no && ac_cv_exeext=
|
2725 |
|
3275 |
|
2726 |
else
|
3276 |
else
|
2727 |
ac_file=''
|
3277 |
ac_file=''
|
2728 |
fi
|
3278 |
fi
|
2729 |
|
|
|
2730 |
{ echo "$as_me:$LINENO: result: $ac_file" >&5
|
|
|
2731 |
echo "${ECHO_T}$ac_file" >&6; }
|
|
|
2732 |
if test -z "$ac_file"; then
|
3279 |
if test -z "$ac_file"; then :
|
|
|
3280 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
3281 |
$as_echo "no" >&6; }
|
2733 |
echo "$as_me: failed program was:" >&5
|
3282 |
$as_echo "$as_me: failed program was:" >&5
|
2734 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3283 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2735 |
|
3284 |
|
2736 |
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
|
3285 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2737 |
See \`config.log' for more details." >&5
|
3286 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2738 |
echo "$as_me: error: C compiler cannot create executables
|
3287 |
as_fn_error 77 "C compiler cannot create executables
|
2739 |
See \`config.log' for more details." >&2;}
|
3288 |
See \`config.log' for more details" "$LINENO" 5; }
|
2740 |
{ (exit 77); exit 77; }; }
|
3289 |
else
|
|
|
3290 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
|
3291 |
$as_echo "yes" >&6; }
|
2741 |
fi
|
3292 |
fi
|
2742 |
|
3293 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
|
|
|
3294 |
$as_echo_n "checking for C compiler default output file name... " >&6; }
|
|
|
3295 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
|
|
3296 |
$as_echo "$ac_file" >&6; }
|
2743 |
ac_exeext=$ac_cv_exeext
|
3297 |
ac_exeext=$ac_cv_exeext
|
2744 |
|
3298 |
|
2745 |
# Check that the compiler produces executables we can run. If not, either
|
|
|
2746 |
# the compiler is broken, or we cross compile.
|
|
|
2747 |
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
|
|
|
2748 |
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
|
|
|
2749 |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
|
|
2750 |
# If not cross compiling, check that we can run a simple program.
|
|
|
2751 |
if test "$cross_compiling" != yes; then
|
|
|
2752 |
if { ac_try='./$ac_file'
|
|
|
2753 |
{ (case "(($ac_try" in
|
|
|
2754 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
2755 |
*) ac_try_echo=$ac_try;;
|
|
|
2756 |
esac
|
|
|
2757 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
2758 |
(eval "$ac_try") 2>&5
|
|
|
2759 |
ac_status=$?
|
|
|
2760 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
2761 |
(exit $ac_status); }; }; then
|
|
|
2762 |
cross_compiling=no
|
|
|
2763 |
else
|
|
|
2764 |
if test "$cross_compiling" = maybe; then
|
|
|
2765 |
cross_compiling=yes
|
|
|
2766 |
else
|
|
|
2767 |
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
|
|
|
2768 |
If you meant to cross compile, use \`--host'.
|
|
|
2769 |
See \`config.log' for more details." >&5
|
|
|
2770 |
echo "$as_me: error: cannot run C compiled programs.
|
|
|
2771 |
If you meant to cross compile, use \`--host'.
|
|
|
2772 |
See \`config.log' for more details." >&2;}
|
|
|
2773 |
{ (exit 1); exit 1; }; }
|
|
|
2774 |
fi
|
|
|
2775 |
fi
|
|
|
2776 |
fi
|
|
|
2777 |
{ echo "$as_me:$LINENO: result: yes" >&5
|
|
|
2778 |
echo "${ECHO_T}yes" >&6; }
|
|
|
2779 |
|
|
|
2780 |
rm -f a.out a.exe conftest$ac_cv_exeext b.out
|
3299 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
2781 |
ac_clean_files=$ac_clean_files_save
|
3300 |
ac_clean_files=$ac_clean_files_save
|
2782 |
# Check that the compiler produces executables we can run. If not, either
|
|
|
2783 |
# the compiler is broken, or we cross compile.
|
|
|
2784 |
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
|
|
|
2785 |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
|
|
|
2786 |
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
|
|
|
2787 |
echo "${ECHO_T}$cross_compiling" >&6; }
|
|
|
2788 |
|
|
|
2789 |
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
|
3301 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
2790 |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
|
3302 |
$as_echo_n "checking for suffix of executables... " >&6; }
|
2791 |
if { (ac_try="$ac_link"
|
3303 |
if { { ac_try="$ac_link"
|
2792 |
case "(($ac_try" in
|
3304 |
case "(($ac_try" in
|
2793 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3305 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2794 |
*) ac_try_echo=$ac_try;;
|
3306 |
*) ac_try_echo=$ac_try;;
|
2795 |
esac
|
3307 |
esac
|
2796 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3308 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
|
3309 |
$as_echo "$ac_try_echo"; } >&5
|
2797 |
(eval "$ac_link") 2>&5
|
3310 |
(eval "$ac_link") 2>&5
|
2798 |
ac_status=$?
|
3311 |
ac_status=$?
|
2799 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3312 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
2800 |
(exit $ac_status); }; then
|
3313 |
test $ac_status = 0; }; then :
|
2801 |
# If both `conftest.exe' and `conftest' are `present' (well, observable)
|
3314 |
# If both `conftest.exe' and `conftest' are `present' (well, observable)
|
2802 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
3315 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
2803 |
# work properly (i.e., refer to `conftest.exe'), while it won't with
|
3316 |
# work properly (i.e., refer to `conftest.exe'), while it won't with
|
2804 |
# `rm'.
|
3317 |
# `rm'.
|
2805 |
for ac_file in conftest.exe conftest conftest.*; do
|
3318 |
for ac_file in conftest.exe conftest conftest.*; do
|
2806 |
test -f "$ac_file" || continue
|
3319 |
test -f "$ac_file" || continue
|
2807 |
case $ac_file in
|
3320 |
case $ac_file in
|
2808 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
|
3321 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
2809 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
3322 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
2810 |
break;;
|
3323 |
break;;
|
2811 |
* ) break;;
|
3324 |
* ) break;;
|
2812 |
esac
|
3325 |
esac
|
2813 |
done
|
3326 |
done
|
2814 |
else
|
3327 |
else
|
2815 |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
|
3328 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2816 |
See \`config.log' for more details." >&5
|
3329 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2817 |
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
|
3330 |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
|
2818 |
See \`config.log' for more details." >&2;}
|
3331 |
See \`config.log' for more details" "$LINENO" 5; }
|
2819 |
{ (exit 1); exit 1; }; }
|
|
|
2820 |
fi
|
3332 |
fi
|
2821 |
|
|
|
2822 |
rm -f conftest$ac_cv_exeext
|
3333 |
rm -f conftest conftest$ac_cv_exeext
|
2823 |
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
|
3334 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
2824 |
echo "${ECHO_T}$ac_cv_exeext" >&6; }
|
3335 |
$as_echo "$ac_cv_exeext" >&6; }
|
2825 |
|
3336 |
|
2826 |
rm -f conftest.$ac_ext
|
3337 |
rm -f conftest.$ac_ext
|
2827 |
EXEEXT=$ac_cv_exeext
|
3338 |
EXEEXT=$ac_cv_exeext
|
2828 |
ac_exeext=$EXEEXT
|
3339 |
ac_exeext=$EXEEXT
|
2829 |
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
|
3340 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2830 |
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
|
|
|
2831 |
if test "${ac_cv_objext+set}" = set; then
|
|
|
2832 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
2833 |
else
|
|
|
2834 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
2835 |
/* confdefs.h. */
|
3341 |
/* end confdefs.h. */
|
|
|
3342 |
#include <stdio.h>
|
|
|
3343 |
int
|
|
|
3344 |
main ()
|
|
|
3345 |
{
|
|
|
3346 |
FILE *f = fopen ("conftest.out", "w");
|
|
|
3347 |
return ferror (f) || fclose (f) != 0;
|
|
|
3348 |
|
|
|
3349 |
;
|
|
|
3350 |
return 0;
|
|
|
3351 |
}
|
2836 |
_ACEOF
|
3352 |
_ACEOF
|
|
|
3353 |
ac_clean_files="$ac_clean_files conftest.out"
|
|
|
3354 |
# Check that the compiler produces executables we can run. If not, either
|
|
|
3355 |
# the compiler is broken, or we cross compile.
|
|
|
3356 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
|
|
3357 |
$as_echo_n "checking whether we are cross compiling... " >&6; }
|
|
|
3358 |
if test "$cross_compiling" != yes; then
|
|
|
3359 |
{ { ac_try="$ac_link"
|
|
|
3360 |
case "(($ac_try" in
|
|
|
3361 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
3362 |
*) ac_try_echo=$ac_try;;
|
|
|
3363 |
esac
|
|
|
3364 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
|
3365 |
$as_echo "$ac_try_echo"; } >&5
|
|
|
3366 |
(eval "$ac_link") 2>&5
|
|
|
3367 |
ac_status=$?
|
|
|
3368 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
|
3369 |
test $ac_status = 0; }
|
|
|
3370 |
if { ac_try='./conftest$ac_cv_exeext'
|
|
|
3371 |
{ { case "(($ac_try" in
|
|
|
3372 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
3373 |
*) ac_try_echo=$ac_try;;
|
|
|
3374 |
esac
|
|
|
3375 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
|
3376 |
$as_echo "$ac_try_echo"; } >&5
|
|
|
3377 |
(eval "$ac_try") 2>&5
|
|
|
3378 |
ac_status=$?
|
|
|
3379 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
|
3380 |
test $ac_status = 0; }; }; then
|
|
|
3381 |
cross_compiling=no
|
|
|
3382 |
else
|
|
|
3383 |
if test "$cross_compiling" = maybe; then
|
|
|
3384 |
cross_compiling=yes
|
|
|
3385 |
else
|
|
|
3386 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
|
3387 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
|
3388 |
as_fn_error $? "cannot run C compiled programs.
|
|
|
3389 |
If you meant to cross compile, use \`--host'.
|
|
|
3390 |
See \`config.log' for more details" "$LINENO" 5; }
|
|
|
3391 |
fi
|
|
|
3392 |
fi
|
|
|
3393 |
fi
|
|
|
3394 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
|
|
3395 |
$as_echo "$cross_compiling" >&6; }
|
|
|
3396 |
|
|
|
3397 |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
|
|
|
3398 |
ac_clean_files=$ac_clean_files_save
|
|
|
3399 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
|
|
3400 |
$as_echo_n "checking for suffix of object files... " >&6; }
|
|
|
3401 |
if ${ac_cv_objext+:} false; then :
|
|
|
3402 |
$as_echo_n "(cached) " >&6
|
|
|
3403 |
else
|
2837 |
cat confdefs.h >>conftest.$ac_ext
|
3404 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2838 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
2839 |
/* end confdefs.h. */
|
3405 |
/* end confdefs.h. */
|
2840 |
|
3406 |
|
2841 |
int
|
3407 |
int
|
2842 |
main ()
|
3408 |
main ()
|
2843 |
{
|
3409 |
{
|
|
... |
|
... |
2845 |
;
|
3411 |
;
|
2846 |
return 0;
|
3412 |
return 0;
|
2847 |
}
|
3413 |
}
|
2848 |
_ACEOF
|
3414 |
_ACEOF
|
2849 |
rm -f conftest.o conftest.obj
|
3415 |
rm -f conftest.o conftest.obj
|
2850 |
if { (ac_try="$ac_compile"
|
3416 |
if { { ac_try="$ac_compile"
|
2851 |
case "(($ac_try" in
|
3417 |
case "(($ac_try" in
|
2852 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3418 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2853 |
*) ac_try_echo=$ac_try;;
|
3419 |
*) ac_try_echo=$ac_try;;
|
2854 |
esac
|
3420 |
esac
|
2855 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3421 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
|
3422 |
$as_echo "$ac_try_echo"; } >&5
|
2856 |
(eval "$ac_compile") 2>&5
|
3423 |
(eval "$ac_compile") 2>&5
|
2857 |
ac_status=$?
|
3424 |
ac_status=$?
|
2858 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3425 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
2859 |
(exit $ac_status); }; then
|
3426 |
test $ac_status = 0; }; then :
|
2860 |
for ac_file in conftest.o conftest.obj conftest.*; do
|
3427 |
for ac_file in conftest.o conftest.obj conftest.*; do
|
2861 |
test -f "$ac_file" || continue;
|
3428 |
test -f "$ac_file" || continue;
|
2862 |
case $ac_file in
|
3429 |
case $ac_file in
|
2863 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
|
3430 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
|
2864 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
3431 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
2865 |
break;;
|
3432 |
break;;
|
2866 |
esac
|
3433 |
esac
|
2867 |
done
|
3434 |
done
|
2868 |
else
|
3435 |
else
|
2869 |
echo "$as_me: failed program was:" >&5
|
3436 |
$as_echo "$as_me: failed program was:" >&5
|
2870 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3437 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2871 |
|
3438 |
|
2872 |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
|
3439 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2873 |
See \`config.log' for more details." >&5
|
3440 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2874 |
echo "$as_me: error: cannot compute suffix of object files: cannot compile
|
3441 |
as_fn_error $? "cannot compute suffix of object files: cannot compile
|
2875 |
See \`config.log' for more details." >&2;}
|
3442 |
See \`config.log' for more details" "$LINENO" 5; }
|
2876 |
{ (exit 1); exit 1; }; }
|
|
|
2877 |
fi
|
3443 |
fi
|
2878 |
|
|
|
2879 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
3444 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
2880 |
fi
|
3445 |
fi
|
2881 |
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
|
3446 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
2882 |
echo "${ECHO_T}$ac_cv_objext" >&6; }
|
3447 |
$as_echo "$ac_cv_objext" >&6; }
|
2883 |
OBJEXT=$ac_cv_objext
|
3448 |
OBJEXT=$ac_cv_objext
|
2884 |
ac_objext=$OBJEXT
|
3449 |
ac_objext=$OBJEXT
|
2885 |
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
|
3450 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
2886 |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
|
3451 |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
2887 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
3452 |
if ${ac_cv_c_compiler_gnu+:} false; then :
|
2888 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3453 |
$as_echo_n "(cached) " >&6
|
2889 |
else
|
3454 |
else
|
2890 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
2891 |
/* confdefs.h. */
|
|
|
2892 |
_ACEOF
|
|
|
2893 |
cat confdefs.h >>conftest.$ac_ext
|
3455 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2894 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
2895 |
/* end confdefs.h. */
|
3456 |
/* end confdefs.h. */
|
2896 |
|
3457 |
|
2897 |
int
|
3458 |
int
|
2898 |
main ()
|
3459 |
main ()
|
2899 |
{
|
3460 |
{
|
|
... |
|
... |
2903 |
|
3464 |
|
2904 |
;
|
3465 |
;
|
2905 |
return 0;
|
3466 |
return 0;
|
2906 |
}
|
3467 |
}
|
2907 |
_ACEOF
|
3468 |
_ACEOF
|
2908 |
rm -f conftest.$ac_objext
|
3469 |
if ac_fn_c_try_compile "$LINENO"; then :
|
2909 |
if { (ac_try="$ac_compile"
|
|
|
2910 |
case "(($ac_try" in
|
|
|
2911 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
2912 |
*) ac_try_echo=$ac_try;;
|
|
|
2913 |
esac
|
|
|
2914 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
2915 |
(eval "$ac_compile") 2>conftest.er1
|
|
|
2916 |
ac_status=$?
|
|
|
2917 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
2918 |
rm -f conftest.er1
|
|
|
2919 |
cat conftest.err >&5
|
|
|
2920 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
2921 |
(exit $ac_status); } && {
|
|
|
2922 |
test -z "$ac_c_werror_flag" ||
|
|
|
2923 |
test ! -s conftest.err
|
|
|
2924 |
} && test -s conftest.$ac_objext; then
|
|
|
2925 |
ac_compiler_gnu=yes
|
3470 |
ac_compiler_gnu=yes
|
2926 |
else
|
3471 |
else
|
2927 |
echo "$as_me: failed program was:" >&5
|
|
|
2928 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
2929 |
|
|
|
2930 |
ac_compiler_gnu=no
|
3472 |
ac_compiler_gnu=no
|
2931 |
fi
|
3473 |
fi
|
2932 |
|
|
|
2933 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3474 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2934 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
3475 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
2935 |
|
3476 |
|
2936 |
fi
|
3477 |
fi
|
2937 |
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
3478 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
2938 |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
|
3479 |
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
2939 |
GCC=`test $ac_compiler_gnu = yes && echo yes`
|
3480 |
if test $ac_compiler_gnu = yes; then
|
|
|
3481 |
GCC=yes
|
|
|
3482 |
else
|
|
|
3483 |
GCC=
|
|
|
3484 |
fi
|
2940 |
ac_test_CFLAGS=${CFLAGS+set}
|
3485 |
ac_test_CFLAGS=${CFLAGS+set}
|
2941 |
ac_save_CFLAGS=$CFLAGS
|
3486 |
ac_save_CFLAGS=$CFLAGS
|
2942 |
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
3487 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
2943 |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
|
3488 |
$as_echo_n "checking whether $CC accepts -g... " >&6; }
|
2944 |
if test "${ac_cv_prog_cc_g+set}" = set; then
|
3489 |
if ${ac_cv_prog_cc_g+:} false; then :
|
2945 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3490 |
$as_echo_n "(cached) " >&6
|
2946 |
else
|
3491 |
else
|
2947 |
ac_save_c_werror_flag=$ac_c_werror_flag
|
3492 |
ac_save_c_werror_flag=$ac_c_werror_flag
|
2948 |
ac_c_werror_flag=yes
|
3493 |
ac_c_werror_flag=yes
|
2949 |
ac_cv_prog_cc_g=no
|
3494 |
ac_cv_prog_cc_g=no
|
2950 |
CFLAGS="-g"
|
3495 |
CFLAGS="-g"
|
2951 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
2952 |
/* confdefs.h. */
|
|
|
2953 |
_ACEOF
|
|
|
2954 |
cat confdefs.h >>conftest.$ac_ext
|
3496 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2955 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
2956 |
/* end confdefs.h. */
|
3497 |
/* end confdefs.h. */
|
2957 |
|
3498 |
|
2958 |
int
|
3499 |
int
|
2959 |
main ()
|
3500 |
main ()
|
2960 |
{
|
3501 |
{
|
2961 |
|
3502 |
|
2962 |
;
|
3503 |
;
|
2963 |
return 0;
|
3504 |
return 0;
|
2964 |
}
|
3505 |
}
|
2965 |
_ACEOF
|
3506 |
_ACEOF
|
2966 |
rm -f conftest.$ac_objext
|
3507 |
if ac_fn_c_try_compile "$LINENO"; then :
|
2967 |
if { (ac_try="$ac_compile"
|
|
|
2968 |
case "(($ac_try" in
|
|
|
2969 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
2970 |
*) ac_try_echo=$ac_try;;
|
|
|
2971 |
esac
|
|
|
2972 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
2973 |
(eval "$ac_compile") 2>conftest.er1
|
|
|
2974 |
ac_status=$?
|
|
|
2975 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
2976 |
rm -f conftest.er1
|
|
|
2977 |
cat conftest.err >&5
|
|
|
2978 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
2979 |
(exit $ac_status); } && {
|
|
|
2980 |
test -z "$ac_c_werror_flag" ||
|
|
|
2981 |
test ! -s conftest.err
|
|
|
2982 |
} && test -s conftest.$ac_objext; then
|
|
|
2983 |
ac_cv_prog_cc_g=yes
|
3508 |
ac_cv_prog_cc_g=yes
|
2984 |
else
|
3509 |
else
|
2985 |
echo "$as_me: failed program was:" >&5
|
|
|
2986 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
2987 |
|
|
|
2988 |
CFLAGS=""
|
3510 |
CFLAGS=""
|
2989 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
2990 |
/* confdefs.h. */
|
|
|
2991 |
_ACEOF
|
|
|
2992 |
cat confdefs.h >>conftest.$ac_ext
|
3511 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2993 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
2994 |
/* end confdefs.h. */
|
3512 |
/* end confdefs.h. */
|
2995 |
|
3513 |
|
2996 |
int
|
3514 |
int
|
2997 |
main ()
|
3515 |
main ()
|
2998 |
{
|
3516 |
{
|
2999 |
|
3517 |
|
3000 |
;
|
3518 |
;
|
3001 |
return 0;
|
3519 |
return 0;
|
3002 |
}
|
3520 |
}
|
3003 |
_ACEOF
|
3521 |
_ACEOF
|
3004 |
rm -f conftest.$ac_objext
|
3522 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3005 |
if { (ac_try="$ac_compile"
|
|
|
3006 |
case "(($ac_try" in
|
|
|
3007 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
3008 |
*) ac_try_echo=$ac_try;;
|
|
|
3009 |
esac
|
|
|
3010 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
3011 |
(eval "$ac_compile") 2>conftest.er1
|
|
|
3012 |
ac_status=$?
|
|
|
3013 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
3014 |
rm -f conftest.er1
|
|
|
3015 |
cat conftest.err >&5
|
|
|
3016 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
3017 |
(exit $ac_status); } && {
|
|
|
3018 |
test -z "$ac_c_werror_flag" ||
|
|
|
3019 |
test ! -s conftest.err
|
|
|
3020 |
} && test -s conftest.$ac_objext; then
|
|
|
3021 |
:
|
|
|
3022 |
else
|
|
|
3023 |
echo "$as_me: failed program was:" >&5
|
|
|
3024 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
3025 |
|
3523 |
|
|
|
3524 |
else
|
3026 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
3525 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
3027 |
CFLAGS="-g"
|
3526 |
CFLAGS="-g"
|
3028 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
3029 |
/* confdefs.h. */
|
|
|
3030 |
_ACEOF
|
|
|
3031 |
cat confdefs.h >>conftest.$ac_ext
|
3527 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3032 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
3033 |
/* end confdefs.h. */
|
3528 |
/* end confdefs.h. */
|
3034 |
|
3529 |
|
3035 |
int
|
3530 |
int
|
3036 |
main ()
|
3531 |
main ()
|
3037 |
{
|
3532 |
{
|
3038 |
|
3533 |
|
3039 |
;
|
3534 |
;
|
3040 |
return 0;
|
3535 |
return 0;
|
3041 |
}
|
3536 |
}
|
3042 |
_ACEOF
|
3537 |
_ACEOF
|
3043 |
rm -f conftest.$ac_objext
|
3538 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3044 |
if { (ac_try="$ac_compile"
|
|
|
3045 |
case "(($ac_try" in
|
|
|
3046 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
3047 |
*) ac_try_echo=$ac_try;;
|
|
|
3048 |
esac
|
|
|
3049 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
3050 |
(eval "$ac_compile") 2>conftest.er1
|
|
|
3051 |
ac_status=$?
|
|
|
3052 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
3053 |
rm -f conftest.er1
|
|
|
3054 |
cat conftest.err >&5
|
|
|
3055 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
3056 |
(exit $ac_status); } && {
|
|
|
3057 |
test -z "$ac_c_werror_flag" ||
|
|
|
3058 |
test ! -s conftest.err
|
|
|
3059 |
} && test -s conftest.$ac_objext; then
|
|
|
3060 |
ac_cv_prog_cc_g=yes
|
3539 |
ac_cv_prog_cc_g=yes
|
3061 |
else
|
|
|
3062 |
echo "$as_me: failed program was:" >&5
|
|
|
3063 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
3064 |
|
|
|
3065 |
|
|
|
3066 |
fi
|
3540 |
fi
|
3067 |
|
|
|
3068 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3541 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3069 |
fi
|
3542 |
fi
|
3070 |
|
|
|
3071 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3543 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3072 |
fi
|
3544 |
fi
|
3073 |
|
|
|
3074 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3545 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3075 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
3546 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
3076 |
fi
|
3547 |
fi
|
3077 |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
3548 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
3078 |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
|
3549 |
$as_echo "$ac_cv_prog_cc_g" >&6; }
|
3079 |
if test "$ac_test_CFLAGS" = set; then
|
3550 |
if test "$ac_test_CFLAGS" = set; then
|
3080 |
CFLAGS=$ac_save_CFLAGS
|
3551 |
CFLAGS=$ac_save_CFLAGS
|
3081 |
elif test $ac_cv_prog_cc_g = yes; then
|
3552 |
elif test $ac_cv_prog_cc_g = yes; then
|
3082 |
if test "$GCC" = yes; then
|
3553 |
if test "$GCC" = yes; then
|
3083 |
CFLAGS="-g -O2"
|
3554 |
CFLAGS="-g -O2"
|
|
... |
|
... |
3089 |
CFLAGS="-O2"
|
3560 |
CFLAGS="-O2"
|
3090 |
else
|
3561 |
else
|
3091 |
CFLAGS=
|
3562 |
CFLAGS=
|
3092 |
fi
|
3563 |
fi
|
3093 |
fi
|
3564 |
fi
|
3094 |
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
|
3565 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
3095 |
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
|
3566 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
3096 |
if test "${ac_cv_prog_cc_c89+set}" = set; then
|
3567 |
if ${ac_cv_prog_cc_c89+:} false; then :
|
3097 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3568 |
$as_echo_n "(cached) " >&6
|
3098 |
else
|
3569 |
else
|
3099 |
ac_cv_prog_cc_c89=no
|
3570 |
ac_cv_prog_cc_c89=no
|
3100 |
ac_save_CC=$CC
|
3571 |
ac_save_CC=$CC
|
3101 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
3102 |
/* confdefs.h. */
|
|
|
3103 |
_ACEOF
|
|
|
3104 |
cat confdefs.h >>conftest.$ac_ext
|
3572 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3105 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
3106 |
/* end confdefs.h. */
|
3573 |
/* end confdefs.h. */
|
3107 |
#include <stdarg.h>
|
3574 |
#include <stdarg.h>
|
3108 |
#include <stdio.h>
|
3575 |
#include <stdio.h>
|
3109 |
#include <sys/types.h>
|
3576 |
struct stat;
|
3110 |
#include <sys/stat.h>
|
|
|
3111 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
3577 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
3112 |
struct buf { int x; };
|
3578 |
struct buf { int x; };
|
3113 |
FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
3579 |
FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
3114 |
static char *e (p, i)
|
3580 |
static char *e (p, i)
|
3115 |
char **p;
|
3581 |
char **p;
|
|
... |
|
... |
3157 |
_ACEOF
|
3623 |
_ACEOF
|
3158 |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
3624 |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
3159 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
3625 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
3160 |
do
|
3626 |
do
|
3161 |
CC="$ac_save_CC $ac_arg"
|
3627 |
CC="$ac_save_CC $ac_arg"
|
3162 |
rm -f conftest.$ac_objext
|
3628 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3163 |
if { (ac_try="$ac_compile"
|
|
|
3164 |
case "(($ac_try" in
|
|
|
3165 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
3166 |
*) ac_try_echo=$ac_try;;
|
|
|
3167 |
esac
|
|
|
3168 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
3169 |
(eval "$ac_compile") 2>conftest.er1
|
|
|
3170 |
ac_status=$?
|
|
|
3171 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
3172 |
rm -f conftest.er1
|
|
|
3173 |
cat conftest.err >&5
|
|
|
3174 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
3175 |
(exit $ac_status); } && {
|
|
|
3176 |
test -z "$ac_c_werror_flag" ||
|
|
|
3177 |
test ! -s conftest.err
|
|
|
3178 |
} && test -s conftest.$ac_objext; then
|
|
|
3179 |
ac_cv_prog_cc_c89=$ac_arg
|
3629 |
ac_cv_prog_cc_c89=$ac_arg
|
3180 |
else
|
|
|
3181 |
echo "$as_me: failed program was:" >&5
|
|
|
3182 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
3183 |
|
|
|
3184 |
|
|
|
3185 |
fi
|
3630 |
fi
|
3186 |
|
|
|
3187 |
rm -f core conftest.err conftest.$ac_objext
|
3631 |
rm -f core conftest.err conftest.$ac_objext
|
3188 |
test "x$ac_cv_prog_cc_c89" != "xno" && break
|
3632 |
test "x$ac_cv_prog_cc_c89" != "xno" && break
|
3189 |
done
|
3633 |
done
|
3190 |
rm -f conftest.$ac_ext
|
3634 |
rm -f conftest.$ac_ext
|
3191 |
CC=$ac_save_CC
|
3635 |
CC=$ac_save_CC
|
3192 |
|
3636 |
|
3193 |
fi
|
3637 |
fi
|
3194 |
# AC_CACHE_VAL
|
3638 |
# AC_CACHE_VAL
|
3195 |
case "x$ac_cv_prog_cc_c89" in
|
3639 |
case "x$ac_cv_prog_cc_c89" in
|
3196 |
x)
|
3640 |
x)
|
3197 |
{ echo "$as_me:$LINENO: result: none needed" >&5
|
3641 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
3198 |
echo "${ECHO_T}none needed" >&6; } ;;
|
3642 |
$as_echo "none needed" >&6; } ;;
|
3199 |
xno)
|
3643 |
xno)
|
3200 |
{ echo "$as_me:$LINENO: result: unsupported" >&5
|
3644 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
3201 |
echo "${ECHO_T}unsupported" >&6; } ;;
|
3645 |
$as_echo "unsupported" >&6; } ;;
|
3202 |
*)
|
3646 |
*)
|
3203 |
CC="$CC $ac_cv_prog_cc_c89"
|
3647 |
CC="$CC $ac_cv_prog_cc_c89"
|
3204 |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
|
3648 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
3205 |
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
|
3649 |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
3206 |
esac
|
3650 |
esac
|
|
|
3651 |
if test "x$ac_cv_prog_cc_c89" != xno; then :
|
3207 |
|
3652 |
|
|
|
3653 |
fi
|
3208 |
|
3654 |
|
3209 |
ac_ext=c
|
3655 |
ac_ext=c
|
3210 |
ac_cpp='$CPP $CPPFLAGS'
|
3656 |
ac_cpp='$CPP $CPPFLAGS'
|
3211 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
3657 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
3212 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
3658 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
3213 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
3659 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
3214 |
|
3660 |
|
|
|
3661 |
ac_ext=c
|
|
|
3662 |
ac_cpp='$CPP $CPPFLAGS'
|
|
|
3663 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
|
3664 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
|
3665 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
3666 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
|
|
|
3667 |
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
|
|
|
3668 |
if ${am_cv_prog_cc_c_o+:} false; then :
|
|
|
3669 |
$as_echo_n "(cached) " >&6
|
|
|
3670 |
else
|
|
|
3671 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
3672 |
/* end confdefs.h. */
|
|
|
3673 |
|
|
|
3674 |
int
|
|
|
3675 |
main ()
|
|
|
3676 |
{
|
|
|
3677 |
|
|
|
3678 |
;
|
|
|
3679 |
return 0;
|
|
|
3680 |
}
|
|
|
3681 |
_ACEOF
|
|
|
3682 |
# Make sure it works both with $CC and with simple cc.
|
|
|
3683 |
# Following AC_PROG_CC_C_O, we do the test twice because some
|
|
|
3684 |
# compilers refuse to overwrite an existing .o file with -o,
|
|
|
3685 |
# though they will create one.
|
|
|
3686 |
am_cv_prog_cc_c_o=yes
|
|
|
3687 |
for am_i in 1 2; do
|
|
|
3688 |
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
|
|
|
3689 |
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
|
|
|
3690 |
ac_status=$?
|
|
|
3691 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
3692 |
(exit $ac_status); } \
|
|
|
3693 |
&& test -f conftest2.$ac_objext; then
|
|
|
3694 |
: OK
|
|
|
3695 |
else
|
|
|
3696 |
am_cv_prog_cc_c_o=no
|
|
|
3697 |
break
|
|
|
3698 |
fi
|
|
|
3699 |
done
|
|
|
3700 |
rm -f core conftest*
|
|
|
3701 |
unset am_i
|
|
|
3702 |
fi
|
|
|
3703 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
|
|
|
3704 |
$as_echo "$am_cv_prog_cc_c_o" >&6; }
|
|
|
3705 |
if test "$am_cv_prog_cc_c_o" != yes; then
|
|
|
3706 |
# Losing compiler, so override with the script.
|
|
|
3707 |
# FIXME: It is wrong to rewrite CC.
|
|
|
3708 |
# But if we don't then we get into trouble of one sort or another.
|
|
|
3709 |
# A longer-term fix would be to have automake use am__CC in this case,
|
|
|
3710 |
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
|
|
|
3711 |
CC="$am_aux_dir/compile $CC"
|
|
|
3712 |
fi
|
|
|
3713 |
ac_ext=c
|
|
|
3714 |
ac_cpp='$CPP $CPPFLAGS'
|
|
|
3715 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
|
3716 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
|
3717 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
3718 |
|
|
|
3719 |
DEPDIR="${am__leading_dot}deps"
|
|
|
3720 |
|
3215 |
ac_config_commands="$ac_config_commands default-1"
|
3721 |
ac_config_commands="$ac_config_commands depfiles"
|
|
|
3722 |
|
3216 |
|
3723 |
|
3217 |
am_make=${MAKE-make}
|
3724 |
am_make=${MAKE-make}
|
3218 |
cat > confinc << 'END'
|
3725 |
cat > confinc << 'END'
|
3219 |
doit:
|
3726 |
am__doit:
|
3220 |
@echo done
|
3727 |
@echo this is the am__doit target
|
|
|
3728 |
.PHONY: am__doit
|
3221 |
END
|
3729 |
END
|
3222 |
# If we don't find an include directive, just comment out the code.
|
3730 |
# If we don't find an include directive, just comment out the code.
|
3223 |
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
|
3731 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
|
3224 |
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
|
3732 |
$as_echo_n "checking for style of include used by $am_make... " >&6; }
|
3225 |
am__include='#'
|
3733 |
am__include="#"
|
3226 |
am__quote=
|
3734 |
am__quote=
|
3227 |
_am_result=none
|
3735 |
_am_result=none
|
3228 |
# First try GNU make style include.
|
3736 |
# First try GNU make style include.
|
3229 |
echo "include confinc" > confmf
|
3737 |
echo "include confinc" > confmf
|
3230 |
# We grep out `Entering directory' and `Leaving directory'
|
3738 |
# Ignore all kinds of additional output from 'make'.
|
3231 |
# messages which can occur if `w' ends up in MAKEFLAGS.
|
3739 |
case `$am_make -s -f confmf 2> /dev/null` in #(
|
3232 |
# In particular we don't look at `^make:' because GNU make might
|
3740 |
*the\ am__doit\ target*)
|
3233 |
# be invoked under some other name (usually "gmake"), in which
|
|
|
3234 |
# case it prints its new name instead of `make'.
|
|
|
3235 |
if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
|
|
|
3236 |
am__include=include
|
3741 |
am__include=include
|
3237 |
am__quote=
|
3742 |
am__quote=
|
3238 |
_am_result=GNU
|
3743 |
_am_result=GNU
|
3239 |
fi
|
3744 |
;;
|
|
|
3745 |
esac
|
3240 |
# Now try BSD make style include.
|
3746 |
# Now try BSD make style include.
|
3241 |
if test "$am__include" = "#"; then
|
3747 |
if test "$am__include" = "#"; then
|
3242 |
echo '.include "confinc"' > confmf
|
3748 |
echo '.include "confinc"' > confmf
|
3243 |
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
|
3749 |
case `$am_make -s -f confmf 2> /dev/null` in #(
|
|
|
3750 |
*the\ am__doit\ target*)
|
3244 |
am__include=.include
|
3751 |
am__include=.include
|
3245 |
am__quote='"'
|
3752 |
am__quote="\""
|
3246 |
_am_result=BSD
|
3753 |
_am_result=BSD
|
3247 |
fi
|
3754 |
;;
|
|
|
3755 |
esac
|
3248 |
fi
|
3756 |
fi
|
3249 |
|
3757 |
|
3250 |
|
3758 |
|
3251 |
{ echo "$as_me:$LINENO: result: $_am_result" >&5
|
3759 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
|
3252 |
echo "${ECHO_T}$_am_result" >&6; }
|
3760 |
$as_echo "$_am_result" >&6; }
|
3253 |
rm -f confinc confmf
|
3761 |
rm -f confinc confmf
|
3254 |
|
3762 |
|
|
|
3763 |
# Check whether --enable-dependency-tracking was given.
|
|
|
3764 |
if test "${enable_dependency_tracking+set}" = set; then :
|
|
|
3765 |
enableval=$enable_dependency_tracking;
|
|
|
3766 |
fi
|
|
|
3767 |
|
|
|
3768 |
if test "x$enable_dependency_tracking" != xno; then
|
|
|
3769 |
am_depcomp="$ac_aux_dir/depcomp"
|
|
|
3770 |
AMDEPBACKSLASH='\'
|
|
|
3771 |
am__nodep='_no'
|
|
|
3772 |
fi
|
|
|
3773 |
if test "x$enable_dependency_tracking" != xno; then
|
|
|
3774 |
AMDEP_TRUE=
|
|
|
3775 |
AMDEP_FALSE='#'
|
|
|
3776 |
else
|
|
|
3777 |
AMDEP_TRUE='#'
|
|
|
3778 |
AMDEP_FALSE=
|
|
|
3779 |
fi
|
|
|
3780 |
|
|
|
3781 |
|
3255 |
|
3782 |
|
3256 |
depcc="$CC" am_compiler_list=
|
3783 |
depcc="$CC" am_compiler_list=
|
3257 |
|
3784 |
|
3258 |
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
|
3785 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
3259 |
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
|
3786 |
$as_echo_n "checking dependency style of $depcc... " >&6; }
|
3260 |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
|
3787 |
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
|
3261 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3788 |
$as_echo_n "(cached) " >&6
|
3262 |
else
|
3789 |
else
|
3263 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
3790 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
3264 |
# We make a subdir and do the tests there. Otherwise we can end up
|
3791 |
# We make a subdir and do the tests there. Otherwise we can end up
|
3265 |
# making bogus files that we don't know about and never remove. For
|
3792 |
# making bogus files that we don't know about and never remove. For
|
3266 |
# instance it was reported that on HP-UX the gcc test will end up
|
3793 |
# instance it was reported that on HP-UX the gcc test will end up
|
3267 |
# making a dummy file named `D' -- because `-MD' means `put the output
|
3794 |
# making a dummy file named 'D' -- because '-MD' means "put the output
|
3268 |
# in D'.
|
3795 |
# in D".
|
|
|
3796 |
rm -rf conftest.dir
|
3269 |
mkdir conftest.dir
|
3797 |
mkdir conftest.dir
|
3270 |
# Copy depcomp to subdir because otherwise we won't find it if we're
|
3798 |
# Copy depcomp to subdir because otherwise we won't find it if we're
|
3271 |
# using a relative directory.
|
3799 |
# using a relative directory.
|
3272 |
cp "$am_depcomp" conftest.dir
|
3800 |
cp "$am_depcomp" conftest.dir
|
3273 |
cd conftest.dir
|
3801 |
cd conftest.dir
|
|
|
3802 |
# We will build objects and dependencies in a subdirectory because
|
|
|
3803 |
# it helps to detect inapplicable dependency modes. For instance
|
|
|
3804 |
# both Tru64's cc and ICC support -MD to output dependencies as a
|
|
|
3805 |
# side effect of compilation, but ICC will put the dependencies in
|
|
|
3806 |
# the current directory while Tru64 will put them in the object
|
|
|
3807 |
# directory.
|
|
|
3808 |
mkdir sub
|
3274 |
|
3809 |
|
3275 |
am_cv_CC_dependencies_compiler_type=none
|
3810 |
am_cv_CC_dependencies_compiler_type=none
|
3276 |
if test "$am_compiler_list" = ""; then
|
3811 |
if test "$am_compiler_list" = ""; then
|
3277 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
3812 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
3278 |
fi
|
3813 |
fi
|
|
|
3814 |
am__universal=false
|
|
|
3815 |
case " $depcc " in #(
|
|
|
3816 |
*\ -arch\ *\ -arch\ *) am__universal=true ;;
|
|
|
3817 |
esac
|
|
|
3818 |
|
3279 |
for depmode in $am_compiler_list; do
|
3819 |
for depmode in $am_compiler_list; do
|
|
|
3820 |
# Setup a source with many dependencies, because some compilers
|
|
|
3821 |
# like to wrap large dependency lists on column 80 (with \), and
|
|
|
3822 |
# we should not choose a depcomp mode which is confused by this.
|
|
|
3823 |
#
|
3280 |
# We need to recreate these files for each test, as the compiler may
|
3824 |
# We need to recreate these files for each test, as the compiler may
|
3281 |
# overwrite some of them when testing with obscure command lines.
|
3825 |
# overwrite some of them when testing with obscure command lines.
|
3282 |
# This happens at least with the AIX C compiler.
|
3826 |
# This happens at least with the AIX C compiler.
|
|
|
3827 |
: > sub/conftest.c
|
|
|
3828 |
for i in 1 2 3 4 5 6; do
|
3283 |
echo '#include "conftest.h"' > conftest.c
|
3829 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c
|
3284 |
echo 'int i;' > conftest.h
|
3830 |
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
|
|
|
3831 |
# Solaris 10 /bin/sh.
|
|
|
3832 |
echo '/* dummy */' > sub/conftst$i.h
|
|
|
3833 |
done
|
3285 |
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
|
3834 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
3286 |
|
3835 |
|
|
|
3836 |
# We check with '-c' and '-o' for the sake of the "dashmstdout"
|
|
|
3837 |
# mode. It turns out that the SunPro C++ compiler does not properly
|
|
|
3838 |
# handle '-M -o', and we need to detect this. Also, some Intel
|
|
|
3839 |
# versions had trouble with output in subdirs.
|
|
|
3840 |
am__obj=sub/conftest.${OBJEXT-o}
|
|
|
3841 |
am__minus_obj="-o $am__obj"
|
3287 |
case $depmode in
|
3842 |
case $depmode in
|
|
|
3843 |
gcc)
|
|
|
3844 |
# This depmode causes a compiler race in universal mode.
|
|
|
3845 |
test "$am__universal" = false || continue
|
|
|
3846 |
;;
|
3288 |
nosideeffect)
|
3847 |
nosideeffect)
|
3289 |
# after this tag, mechanisms are not by side-effect, so they'll
|
3848 |
# After this tag, mechanisms are not by side-effect, so they'll
|
3290 |
# only be used when explicitly requested
|
3849 |
# only be used when explicitly requested.
|
3291 |
if test "x$enable_dependency_tracking" = xyes; then
|
3850 |
if test "x$enable_dependency_tracking" = xyes; then
|
3292 |
continue
|
3851 |
continue
|
3293 |
else
|
3852 |
else
|
3294 |
break
|
3853 |
break
|
3295 |
fi
|
3854 |
fi
|
3296 |
;;
|
3855 |
;;
|
|
|
3856 |
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
|
|
|
3857 |
# This compiler won't grok '-c -o', but also, the minuso test has
|
|
|
3858 |
# not run yet. These depmodes are late enough in the game, and
|
|
|
3859 |
# so weak that their functioning should not be impacted.
|
|
|
3860 |
am__obj=conftest.${OBJEXT-o}
|
|
|
3861 |
am__minus_obj=
|
|
|
3862 |
;;
|
3297 |
none) break ;;
|
3863 |
none) break ;;
|
3298 |
esac
|
3864 |
esac
|
3299 |
# We check with `-c' and `-o' for the sake of the "dashmstdout"
|
|
|
3300 |
# mode. It turns out that the SunPro C++ compiler does not properly
|
|
|
3301 |
# handle `-M -o', and we need to detect this.
|
|
|
3302 |
if depmode=$depmode \
|
3865 |
if depmode=$depmode \
|
3303 |
source=conftest.c object=conftest.o \
|
3866 |
source=sub/conftest.c object=$am__obj \
|
3304 |
depfile=conftest.Po tmpdepfile=conftest.TPo \
|
3867 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
3305 |
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
|
3868 |
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
|
|
|
3869 |
>/dev/null 2>conftest.err &&
|
3306 |
grep conftest.h conftest.Po > /dev/null 2>&1 &&
|
3870 |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
|
|
3871 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
|
|
3872 |
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
|
3307 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
3873 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
|
|
3874 |
# icc doesn't choke on unknown options, it will just issue warnings
|
|
|
3875 |
# or remarks (even with -Werror). So we grep stderr for any message
|
|
|
3876 |
# that says an option was ignored or not supported.
|
|
|
3877 |
# When given -MP, icc 7.0 and 7.1 complain thusly:
|
|
|
3878 |
# icc: Command line warning: ignoring option '-M'; no argument required
|
|
|
3879 |
# The diagnosis changed in icc 8.0:
|
|
|
3880 |
# icc: Command line remark: option '-MP' not supported
|
|
|
3881 |
if (grep 'ignoring option' conftest.err ||
|
|
|
3882 |
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
|
3308 |
am_cv_CC_dependencies_compiler_type=$depmode
|
3883 |
am_cv_CC_dependencies_compiler_type=$depmode
|
3309 |
break
|
3884 |
break
|
|
|
3885 |
fi
|
3310 |
fi
|
3886 |
fi
|
3311 |
done
|
3887 |
done
|
3312 |
|
3888 |
|
3313 |
cd ..
|
3889 |
cd ..
|
3314 |
rm -rf conftest.dir
|
3890 |
rm -rf conftest.dir
|
3315 |
else
|
3891 |
else
|
3316 |
am_cv_CC_dependencies_compiler_type=none
|
3892 |
am_cv_CC_dependencies_compiler_type=none
|
3317 |
fi
|
3893 |
fi
|
3318 |
|
3894 |
|
3319 |
fi
|
3895 |
fi
|
3320 |
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
|
3896 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
|
3321 |
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
|
3897 |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
|
3322 |
CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
|
3898 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
|
|
3899 |
|
|
|
3900 |
if
|
|
|
3901 |
test "x$enable_dependency_tracking" != xno \
|
|
|
3902 |
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
|
|
|
3903 |
am__fastdepCC_TRUE=
|
|
|
3904 |
am__fastdepCC_FALSE='#'
|
|
|
3905 |
else
|
|
|
3906 |
am__fastdepCC_TRUE='#'
|
|
|
3907 |
am__fastdepCC_FALSE=
|
|
|
3908 |
fi
|
3323 |
|
3909 |
|
3324 |
|
3910 |
|
3325 |
|
3911 |
|
3326 |
ac_ext=c
|
3912 |
ac_ext=c
|
3327 |
ac_cpp='$CPP $CPPFLAGS'
|
3913 |
ac_cpp='$CPP $CPPFLAGS'
|
3328 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
3914 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
3329 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
3915 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
3330 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
3916 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
3331 |
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
|
3917 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
|
3332 |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
|
3918 |
$as_echo_n "checking how to run the C preprocessor... " >&6; }
|
3333 |
# On Suns, sometimes $CPP names a directory.
|
3919 |
# On Suns, sometimes $CPP names a directory.
|
3334 |
if test -n "$CPP" && test -d "$CPP"; then
|
3920 |
if test -n "$CPP" && test -d "$CPP"; then
|
3335 |
CPP=
|
3921 |
CPP=
|
3336 |
fi
|
3922 |
fi
|
3337 |
if test -z "$CPP"; then
|
3923 |
if test -z "$CPP"; then
|
3338 |
if test "${ac_cv_prog_CPP+set}" = set; then
|
3924 |
if ${ac_cv_prog_CPP+:} false; then :
|
3339 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3925 |
$as_echo_n "(cached) " >&6
|
3340 |
else
|
3926 |
else
|
3341 |
# Double quotes because CPP needs to be expanded
|
3927 |
# Double quotes because CPP needs to be expanded
|
3342 |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
3928 |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
3343 |
do
|
3929 |
do
|
3344 |
ac_preproc_ok=false
|
3930 |
ac_preproc_ok=false
|
|
... |
|
... |
3348 |
# with a fresh cross-compiler works.
|
3934 |
# with a fresh cross-compiler works.
|
3349 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
3935 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
3350 |
# <limits.h> exists even on freestanding compilers.
|
3936 |
# <limits.h> exists even on freestanding compilers.
|
3351 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
3937 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
3352 |
# not just through cpp. "Syntax error" is here to catch this case.
|
3938 |
# not just through cpp. "Syntax error" is here to catch this case.
|
3353 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
3354 |
/* confdefs.h. */
|
|
|
3355 |
_ACEOF
|
|
|
3356 |
cat confdefs.h >>conftest.$ac_ext
|
3939 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3357 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
3358 |
/* end confdefs.h. */
|
3940 |
/* end confdefs.h. */
|
3359 |
#ifdef __STDC__
|
3941 |
#ifdef __STDC__
|
3360 |
# include <limits.h>
|
3942 |
# include <limits.h>
|
3361 |
#else
|
3943 |
#else
|
3362 |
# include <assert.h>
|
3944 |
# include <assert.h>
|
3363 |
#endif
|
3945 |
#endif
|
3364 |
Syntax error
|
3946 |
Syntax error
|
3365 |
_ACEOF
|
3947 |
_ACEOF
|
3366 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
3948 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
3367 |
case "(($ac_try" in
|
|
|
3368 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
3369 |
*) ac_try_echo=$ac_try;;
|
|
|
3370 |
esac
|
|
|
3371 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
3372 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
|
|
3373 |
ac_status=$?
|
|
|
3374 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
3375 |
rm -f conftest.er1
|
|
|
3376 |
cat conftest.err >&5
|
|
|
3377 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
3378 |
(exit $ac_status); } >/dev/null && {
|
|
|
3379 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
|
3380 |
test ! -s conftest.err
|
|
|
3381 |
}; then
|
|
|
3382 |
:
|
|
|
3383 |
else
|
|
|
3384 |
echo "$as_me: failed program was:" >&5
|
|
|
3385 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
3386 |
|
3949 |
|
|
|
3950 |
else
|
3387 |
# Broken: fails on valid input.
|
3951 |
# Broken: fails on valid input.
|
3388 |
continue
|
3952 |
continue
|
3389 |
fi
|
3953 |
fi
|
3390 |
|
|
|
3391 |
rm -f conftest.err conftest.$ac_ext
|
3954 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
3392 |
|
3955 |
|
3393 |
# OK, works on sane cases. Now check whether nonexistent headers
|
3956 |
# OK, works on sane cases. Now check whether nonexistent headers
|
3394 |
# can be detected and how.
|
3957 |
# can be detected and how.
|
3395 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
3396 |
/* confdefs.h. */
|
|
|
3397 |
_ACEOF
|
|
|
3398 |
cat confdefs.h >>conftest.$ac_ext
|
3958 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3399 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
3400 |
/* end confdefs.h. */
|
3959 |
/* end confdefs.h. */
|
3401 |
#include <ac_nonexistent.h>
|
3960 |
#include <ac_nonexistent.h>
|
3402 |
_ACEOF
|
3961 |
_ACEOF
|
3403 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
3962 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
3404 |
case "(($ac_try" in
|
|
|
3405 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
3406 |
*) ac_try_echo=$ac_try;;
|
|
|
3407 |
esac
|
|
|
3408 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
3409 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
|
|
3410 |
ac_status=$?
|
|
|
3411 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
3412 |
rm -f conftest.er1
|
|
|
3413 |
cat conftest.err >&5
|
|
|
3414 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
3415 |
(exit $ac_status); } >/dev/null && {
|
|
|
3416 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
|
3417 |
test ! -s conftest.err
|
|
|
3418 |
}; then
|
|
|
3419 |
# Broken: success on invalid input.
|
3963 |
# Broken: success on invalid input.
|
3420 |
continue
|
3964 |
continue
|
3421 |
else
|
3965 |
else
|
3422 |
echo "$as_me: failed program was:" >&5
|
|
|
3423 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
3424 |
|
|
|
3425 |
# Passes both tests.
|
3966 |
# Passes both tests.
|
3426 |
ac_preproc_ok=:
|
3967 |
ac_preproc_ok=:
|
3427 |
break
|
3968 |
break
|
3428 |
fi
|
3969 |
fi
|
3429 |
|
|
|
3430 |
rm -f conftest.err conftest.$ac_ext
|
3970 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
3431 |
|
3971 |
|
3432 |
done
|
3972 |
done
|
3433 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
3973 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
3434 |
rm -f conftest.err conftest.$ac_ext
|
3974 |
rm -f conftest.i conftest.err conftest.$ac_ext
|
3435 |
if $ac_preproc_ok; then
|
3975 |
if $ac_preproc_ok; then :
|
3436 |
break
|
3976 |
break
|
3437 |
fi
|
3977 |
fi
|
3438 |
|
3978 |
|
3439 |
done
|
3979 |
done
|
3440 |
ac_cv_prog_CPP=$CPP
|
3980 |
ac_cv_prog_CPP=$CPP
|
|
... |
|
... |
3442 |
fi
|
3982 |
fi
|
3443 |
CPP=$ac_cv_prog_CPP
|
3983 |
CPP=$ac_cv_prog_CPP
|
3444 |
else
|
3984 |
else
|
3445 |
ac_cv_prog_CPP=$CPP
|
3985 |
ac_cv_prog_CPP=$CPP
|
3446 |
fi
|
3986 |
fi
|
3447 |
{ echo "$as_me:$LINENO: result: $CPP" >&5
|
3987 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
|
3448 |
echo "${ECHO_T}$CPP" >&6; }
|
3988 |
$as_echo "$CPP" >&6; }
|
3449 |
ac_preproc_ok=false
|
3989 |
ac_preproc_ok=false
|
3450 |
for ac_c_preproc_warn_flag in '' yes
|
3990 |
for ac_c_preproc_warn_flag in '' yes
|
3451 |
do
|
3991 |
do
|
3452 |
# Use a header file that comes with gcc, so configuring glibc
|
3992 |
# Use a header file that comes with gcc, so configuring glibc
|
3453 |
# with a fresh cross-compiler works.
|
3993 |
# with a fresh cross-compiler works.
|
3454 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
3994 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
3455 |
# <limits.h> exists even on freestanding compilers.
|
3995 |
# <limits.h> exists even on freestanding compilers.
|
3456 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
3996 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
3457 |
# not just through cpp. "Syntax error" is here to catch this case.
|
3997 |
# not just through cpp. "Syntax error" is here to catch this case.
|
3458 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
3459 |
/* confdefs.h. */
|
|
|
3460 |
_ACEOF
|
|
|
3461 |
cat confdefs.h >>conftest.$ac_ext
|
3998 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3462 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
3463 |
/* end confdefs.h. */
|
3999 |
/* end confdefs.h. */
|
3464 |
#ifdef __STDC__
|
4000 |
#ifdef __STDC__
|
3465 |
# include <limits.h>
|
4001 |
# include <limits.h>
|
3466 |
#else
|
4002 |
#else
|
3467 |
# include <assert.h>
|
4003 |
# include <assert.h>
|
3468 |
#endif
|
4004 |
#endif
|
3469 |
Syntax error
|
4005 |
Syntax error
|
3470 |
_ACEOF
|
4006 |
_ACEOF
|
3471 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
4007 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
3472 |
case "(($ac_try" in
|
|
|
3473 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
3474 |
*) ac_try_echo=$ac_try;;
|
|
|
3475 |
esac
|
|
|
3476 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
3477 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
|
|
3478 |
ac_status=$?
|
|
|
3479 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
3480 |
rm -f conftest.er1
|
|
|
3481 |
cat conftest.err >&5
|
|
|
3482 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
3483 |
(exit $ac_status); } >/dev/null && {
|
|
|
3484 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
|
3485 |
test ! -s conftest.err
|
|
|
3486 |
}; then
|
|
|
3487 |
:
|
|
|
3488 |
else
|
|
|
3489 |
echo "$as_me: failed program was:" >&5
|
|
|
3490 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
3491 |
|
4008 |
|
|
|
4009 |
else
|
3492 |
# Broken: fails on valid input.
|
4010 |
# Broken: fails on valid input.
|
3493 |
continue
|
4011 |
continue
|
3494 |
fi
|
4012 |
fi
|
3495 |
|
|
|
3496 |
rm -f conftest.err conftest.$ac_ext
|
4013 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
3497 |
|
4014 |
|
3498 |
# OK, works on sane cases. Now check whether nonexistent headers
|
4015 |
# OK, works on sane cases. Now check whether nonexistent headers
|
3499 |
# can be detected and how.
|
4016 |
# can be detected and how.
|
3500 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
3501 |
/* confdefs.h. */
|
|
|
3502 |
_ACEOF
|
|
|
3503 |
cat confdefs.h >>conftest.$ac_ext
|
4017 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3504 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
3505 |
/* end confdefs.h. */
|
4018 |
/* end confdefs.h. */
|
3506 |
#include <ac_nonexistent.h>
|
4019 |
#include <ac_nonexistent.h>
|
3507 |
_ACEOF
|
4020 |
_ACEOF
|
3508 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
4021 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
3509 |
case "(($ac_try" in
|
|
|
3510 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
3511 |
*) ac_try_echo=$ac_try;;
|
|
|
3512 |
esac
|
|
|
3513 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
3514 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
|
|
3515 |
ac_status=$?
|
|
|
3516 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
3517 |
rm -f conftest.er1
|
|
|
3518 |
cat conftest.err >&5
|
|
|
3519 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
3520 |
(exit $ac_status); } >/dev/null && {
|
|
|
3521 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
|
3522 |
test ! -s conftest.err
|
|
|
3523 |
}; then
|
|
|
3524 |
# Broken: success on invalid input.
|
4022 |
# Broken: success on invalid input.
|
3525 |
continue
|
4023 |
continue
|
3526 |
else
|
4024 |
else
|
3527 |
echo "$as_me: failed program was:" >&5
|
|
|
3528 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
3529 |
|
|
|
3530 |
# Passes both tests.
|
4025 |
# Passes both tests.
|
3531 |
ac_preproc_ok=:
|
4026 |
ac_preproc_ok=:
|
3532 |
break
|
4027 |
break
|
3533 |
fi
|
4028 |
fi
|
3534 |
|
|
|
3535 |
rm -f conftest.err conftest.$ac_ext
|
4029 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
3536 |
|
4030 |
|
3537 |
done
|
4031 |
done
|
3538 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
4032 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
3539 |
rm -f conftest.err conftest.$ac_ext
|
4033 |
rm -f conftest.i conftest.err conftest.$ac_ext
|
3540 |
if $ac_preproc_ok; then
|
4034 |
if $ac_preproc_ok; then :
|
3541 |
:
|
4035 |
|
3542 |
else
|
4036 |
else
|
3543 |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
|
4037 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3544 |
See \`config.log' for more details." >&5
|
4038 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
3545 |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
|
4039 |
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
|
3546 |
See \`config.log' for more details." >&2;}
|
4040 |
See \`config.log' for more details" "$LINENO" 5; }
|
3547 |
{ (exit 1); exit 1; }; }
|
|
|
3548 |
fi
|
4041 |
fi
|
3549 |
|
4042 |
|
3550 |
ac_ext=c
|
4043 |
ac_ext=c
|
3551 |
ac_cpp='$CPP $CPPFLAGS'
|
4044 |
ac_cpp='$CPP $CPPFLAGS'
|
3552 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
4045 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
3553 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
4046 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
3554 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
4047 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
3555 |
|
4048 |
|
3556 |
|
4049 |
|
3557 |
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
|
4050 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
|
3558 |
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
|
4051 |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
|
3559 |
if test "${ac_cv_path_GREP+set}" = set; then
|
4052 |
if ${ac_cv_path_GREP+:} false; then :
|
3560 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4053 |
$as_echo_n "(cached) " >&6
|
3561 |
else
|
4054 |
else
|
3562 |
# Extract the first word of "grep ggrep" to use in msg output
|
|
|
3563 |
if test -z "$GREP"; then
|
4055 |
if test -z "$GREP"; then
|
3564 |
set dummy grep ggrep; ac_prog_name=$2
|
|
|
3565 |
if test "${ac_cv_path_GREP+set}" = set; then
|
|
|
3566 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
3567 |
else
|
|
|
3568 |
ac_path_GREP_found=false
|
4056 |
ac_path_GREP_found=false
|
3569 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
4057 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
3570 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
4058 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3571 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
4059 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
3572 |
do
|
4060 |
do
|
3573 |
IFS=$as_save_IFS
|
4061 |
IFS=$as_save_IFS
|
3574 |
test -z "$as_dir" && as_dir=.
|
4062 |
test -z "$as_dir" && as_dir=.
|
3575 |
for ac_prog in grep ggrep; do
|
4063 |
for ac_prog in grep ggrep; do
|
3576 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4064 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3577 |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
4065 |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
3578 |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
4066 |
as_fn_executable_p "$ac_path_GREP" || continue
|
3579 |
# Check for GNU ac_path_GREP and select it if it is found.
|
4067 |
# Check for GNU ac_path_GREP and select it if it is found.
|
3580 |
# Check for GNU $ac_path_GREP
|
4068 |
# Check for GNU $ac_path_GREP
|
3581 |
case `"$ac_path_GREP" --version 2>&1` in
|
4069 |
case `"$ac_path_GREP" --version 2>&1` in
|
3582 |
*GNU*)
|
4070 |
*GNU*)
|
3583 |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
4071 |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
3584 |
*)
|
4072 |
*)
|
3585 |
ac_count=0
|
4073 |
ac_count=0
|
3586 |
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
|
4074 |
$as_echo_n 0123456789 >"conftest.in"
|
3587 |
while :
|
4075 |
while :
|
3588 |
do
|
4076 |
do
|
3589 |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
4077 |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
3590 |
mv "conftest.tmp" "conftest.in"
|
4078 |
mv "conftest.tmp" "conftest.in"
|
3591 |
cp "conftest.in" "conftest.nl"
|
4079 |
cp "conftest.in" "conftest.nl"
|
3592 |
echo 'GREP' >> "conftest.nl"
|
4080 |
$as_echo 'GREP' >> "conftest.nl"
|
3593 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
4081 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
3594 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
4082 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
3595 |
ac_count=`expr $ac_count + 1`
|
4083 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
3596 |
if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
4084 |
if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
3597 |
# Best one so far, save it but keep looking for a better one
|
4085 |
# Best one so far, save it but keep looking for a better one
|
3598 |
ac_cv_path_GREP="$ac_path_GREP"
|
4086 |
ac_cv_path_GREP="$ac_path_GREP"
|
3599 |
ac_path_GREP_max=$ac_count
|
4087 |
ac_path_GREP_max=$ac_count
|
3600 |
fi
|
4088 |
fi
|
|
... |
|
... |
3602 |
test $ac_count -gt 10 && break
|
4090 |
test $ac_count -gt 10 && break
|
3603 |
done
|
4091 |
done
|
3604 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
4092 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
3605 |
esac
|
4093 |
esac
|
3606 |
|
4094 |
|
3607 |
|
|
|
3608 |
$ac_path_GREP_found && break 3
|
4095 |
$ac_path_GREP_found && break 3
|
|
|
4096 |
done
|
3609 |
done
|
4097 |
done
|
3610 |
done
|
4098 |
done
|
3611 |
|
|
|
3612 |
done
|
|
|
3613 |
IFS=$as_save_IFS
|
4099 |
IFS=$as_save_IFS
|
3614 |
|
|
|
3615 |
|
|
|
3616 |
fi
|
|
|
3617 |
|
|
|
3618 |
GREP="$ac_cv_path_GREP"
|
|
|
3619 |
if test -z "$GREP"; then
|
4100 |
if test -z "$ac_cv_path_GREP"; then
|
3620 |
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
4101 |
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
3621 |
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
|
|
3622 |
{ (exit 1); exit 1; }; }
|
|
|
3623 |
fi
|
4102 |
fi
|
3624 |
|
|
|
3625 |
else
|
4103 |
else
|
3626 |
ac_cv_path_GREP=$GREP
|
4104 |
ac_cv_path_GREP=$GREP
|
3627 |
fi
|
4105 |
fi
|
3628 |
|
4106 |
|
3629 |
|
|
|
3630 |
fi
|
4107 |
fi
|
3631 |
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
|
4108 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
|
3632 |
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
|
4109 |
$as_echo "$ac_cv_path_GREP" >&6; }
|
3633 |
GREP="$ac_cv_path_GREP"
|
4110 |
GREP="$ac_cv_path_GREP"
|
3634 |
|
4111 |
|
3635 |
|
4112 |
|
3636 |
{ echo "$as_me:$LINENO: checking for egrep" >&5
|
4113 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
|
3637 |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
|
4114 |
$as_echo_n "checking for egrep... " >&6; }
|
3638 |
if test "${ac_cv_path_EGREP+set}" = set; then
|
4115 |
if ${ac_cv_path_EGREP+:} false; then :
|
3639 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4116 |
$as_echo_n "(cached) " >&6
|
3640 |
else
|
4117 |
else
|
3641 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
4118 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
3642 |
then ac_cv_path_EGREP="$GREP -E"
|
4119 |
then ac_cv_path_EGREP="$GREP -E"
|
3643 |
else
|
4120 |
else
|
3644 |
# Extract the first word of "egrep" to use in msg output
|
|
|
3645 |
if test -z "$EGREP"; then
|
4121 |
if test -z "$EGREP"; then
|
3646 |
set dummy egrep; ac_prog_name=$2
|
|
|
3647 |
if test "${ac_cv_path_EGREP+set}" = set; then
|
|
|
3648 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
3649 |
else
|
|
|
3650 |
ac_path_EGREP_found=false
|
4122 |
ac_path_EGREP_found=false
|
3651 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
4123 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
3652 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
4124 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3653 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
4125 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
3654 |
do
|
4126 |
do
|
3655 |
IFS=$as_save_IFS
|
4127 |
IFS=$as_save_IFS
|
3656 |
test -z "$as_dir" && as_dir=.
|
4128 |
test -z "$as_dir" && as_dir=.
|
3657 |
for ac_prog in egrep; do
|
4129 |
for ac_prog in egrep; do
|
3658 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4130 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3659 |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
4131 |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
3660 |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
4132 |
as_fn_executable_p "$ac_path_EGREP" || continue
|
3661 |
# Check for GNU ac_path_EGREP and select it if it is found.
|
4133 |
# Check for GNU ac_path_EGREP and select it if it is found.
|
3662 |
# Check for GNU $ac_path_EGREP
|
4134 |
# Check for GNU $ac_path_EGREP
|
3663 |
case `"$ac_path_EGREP" --version 2>&1` in
|
4135 |
case `"$ac_path_EGREP" --version 2>&1` in
|
3664 |
*GNU*)
|
4136 |
*GNU*)
|
3665 |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
4137 |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
3666 |
*)
|
4138 |
*)
|
3667 |
ac_count=0
|
4139 |
ac_count=0
|
3668 |
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
|
4140 |
$as_echo_n 0123456789 >"conftest.in"
|
3669 |
while :
|
4141 |
while :
|
3670 |
do
|
4142 |
do
|
3671 |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
4143 |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
3672 |
mv "conftest.tmp" "conftest.in"
|
4144 |
mv "conftest.tmp" "conftest.in"
|
3673 |
cp "conftest.in" "conftest.nl"
|
4145 |
cp "conftest.in" "conftest.nl"
|
3674 |
echo 'EGREP' >> "conftest.nl"
|
4146 |
$as_echo 'EGREP' >> "conftest.nl"
|
3675 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
4147 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
3676 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
4148 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
3677 |
ac_count=`expr $ac_count + 1`
|
4149 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
3678 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
4150 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
3679 |
# Best one so far, save it but keep looking for a better one
|
4151 |
# Best one so far, save it but keep looking for a better one
|
3680 |
ac_cv_path_EGREP="$ac_path_EGREP"
|
4152 |
ac_cv_path_EGREP="$ac_path_EGREP"
|
3681 |
ac_path_EGREP_max=$ac_count
|
4153 |
ac_path_EGREP_max=$ac_count
|
3682 |
fi
|
4154 |
fi
|
|
... |
|
... |
3684 |
test $ac_count -gt 10 && break
|
4156 |
test $ac_count -gt 10 && break
|
3685 |
done
|
4157 |
done
|
3686 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
4158 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
3687 |
esac
|
4159 |
esac
|
3688 |
|
4160 |
|
3689 |
|
|
|
3690 |
$ac_path_EGREP_found && break 3
|
4161 |
$ac_path_EGREP_found && break 3
|
|
|
4162 |
done
|
3691 |
done
|
4163 |
done
|
3692 |
done
|
4164 |
done
|
3693 |
|
|
|
3694 |
done
|
|
|
3695 |
IFS=$as_save_IFS
|
4165 |
IFS=$as_save_IFS
|
3696 |
|
|
|
3697 |
|
|
|
3698 |
fi
|
|
|
3699 |
|
|
|
3700 |
EGREP="$ac_cv_path_EGREP"
|
|
|
3701 |
if test -z "$EGREP"; then
|
4166 |
if test -z "$ac_cv_path_EGREP"; then
|
3702 |
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
4167 |
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
3703 |
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
|
|
3704 |
{ (exit 1); exit 1; }; }
|
|
|
3705 |
fi
|
4168 |
fi
|
3706 |
|
|
|
3707 |
else
|
4169 |
else
|
3708 |
ac_cv_path_EGREP=$EGREP
|
4170 |
ac_cv_path_EGREP=$EGREP
|
3709 |
fi
|
4171 |
fi
|
3710 |
|
4172 |
|
3711 |
|
|
|
3712 |
fi
|
4173 |
fi
|
3713 |
fi
|
4174 |
fi
|
3714 |
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
|
4175 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
|
3715 |
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
|
4176 |
$as_echo "$ac_cv_path_EGREP" >&6; }
|
3716 |
EGREP="$ac_cv_path_EGREP"
|
4177 |
EGREP="$ac_cv_path_EGREP"
|
3717 |
|
4178 |
|
3718 |
|
4179 |
|
3719 |
|
4180 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
3720 |
{ echo "$as_me:$LINENO: checking for AIX" >&5
|
4181 |
$as_echo_n "checking for ANSI C header files... " >&6; }
|
3721 |
echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
|
4182 |
if ${ac_cv_header_stdc+:} false; then :
|
3722 |
cat >conftest.$ac_ext <<_ACEOF
|
4183 |
$as_echo_n "(cached) " >&6
|
|
|
4184 |
else
|
|
|
4185 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3723 |
/* confdefs.h. */
|
4186 |
/* end confdefs.h. */
|
|
|
4187 |
#include <stdlib.h>
|
|
|
4188 |
#include <stdarg.h>
|
|
|
4189 |
#include <string.h>
|
|
|
4190 |
#include <float.h>
|
|
|
4191 |
|
|
|
4192 |
int
|
|
|
4193 |
main ()
|
|
|
4194 |
{
|
|
|
4195 |
|
|
|
4196 |
;
|
|
|
4197 |
return 0;
|
|
|
4198 |
}
|
3724 |
_ACEOF
|
4199 |
_ACEOF
|
|
|
4200 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
|
4201 |
ac_cv_header_stdc=yes
|
|
|
4202 |
else
|
|
|
4203 |
ac_cv_header_stdc=no
|
|
|
4204 |
fi
|
|
|
4205 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
4206 |
|
|
|
4207 |
if test $ac_cv_header_stdc = yes; then
|
|
|
4208 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
3725 |
cat confdefs.h >>conftest.$ac_ext
|
4209 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3726 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
3727 |
/* end confdefs.h. */
|
4210 |
/* end confdefs.h. */
|
3728 |
#ifdef _AIX
|
4211 |
#include <string.h>
|
3729 |
yes
|
|
|
3730 |
#endif
|
|
|
3731 |
|
4212 |
|
3732 |
_ACEOF
|
4213 |
_ACEOF
|
3733 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
4214 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
3734 |
$EGREP "yes" >/dev/null 2>&1; then
|
4215 |
$EGREP "memchr" >/dev/null 2>&1; then :
|
3735 |
{ echo "$as_me:$LINENO: result: yes" >&5
|
4216 |
|
3736 |
echo "${ECHO_T}yes" >&6; }
|
4217 |
else
|
3737 |
cat >>confdefs.h <<\_ACEOF
|
4218 |
ac_cv_header_stdc=no
|
3738 |
#define _ALL_SOURCE 1
|
4219 |
fi
|
|
|
4220 |
rm -f conftest*
|
|
|
4221 |
|
|
|
4222 |
fi
|
|
|
4223 |
|
|
|
4224 |
if test $ac_cv_header_stdc = yes; then
|
|
|
4225 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
|
|
4226 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
4227 |
/* end confdefs.h. */
|
|
|
4228 |
#include <stdlib.h>
|
|
|
4229 |
|
3739 |
_ACEOF
|
4230 |
_ACEOF
|
|
|
4231 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
|
4232 |
$EGREP "free" >/dev/null 2>&1; then :
|
3740 |
|
4233 |
|
3741 |
else
|
4234 |
else
|
3742 |
{ echo "$as_me:$LINENO: result: no" >&5
|
4235 |
ac_cv_header_stdc=no
|
3743 |
echo "${ECHO_T}no" >&6; }
|
|
|
3744 |
fi
|
4236 |
fi
|
3745 |
rm -f conftest*
|
4237 |
rm -f conftest*
|
3746 |
|
4238 |
|
|
|
4239 |
fi
|
3747 |
|
4240 |
|
|
|
4241 |
if test $ac_cv_header_stdc = yes; then
|
|
|
4242 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
|
|
4243 |
if test "$cross_compiling" = yes; then :
|
|
|
4244 |
:
|
|
|
4245 |
else
|
|
|
4246 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
4247 |
/* end confdefs.h. */
|
|
|
4248 |
#include <ctype.h>
|
|
|
4249 |
#include <stdlib.h>
|
|
|
4250 |
#if ((' ' & 0x0FF) == 0x020)
|
|
|
4251 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
|
|
4252 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
|
|
4253 |
#else
|
|
|
4254 |
# define ISLOWER(c) \
|
|
|
4255 |
(('a' <= (c) && (c) <= 'i') \
|
|
|
4256 |
|| ('j' <= (c) && (c) <= 'r') \
|
|
|
4257 |
|| ('s' <= (c) && (c) <= 'z'))
|
|
|
4258 |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
|
|
4259 |
#endif
|
|
|
4260 |
|
|
|
4261 |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
|
|
4262 |
int
|
|
|
4263 |
main ()
|
|
|
4264 |
{
|
|
|
4265 |
int i;
|
|
|
4266 |
for (i = 0; i < 256; i++)
|
|
|
4267 |
if (XOR (islower (i), ISLOWER (i))
|
|
|
4268 |
|| toupper (i) != TOUPPER (i))
|
|
|
4269 |
return 2;
|
|
|
4270 |
return 0;
|
|
|
4271 |
}
|
|
|
4272 |
_ACEOF
|
|
|
4273 |
if ac_fn_c_try_run "$LINENO"; then :
|
|
|
4274 |
|
|
|
4275 |
else
|
|
|
4276 |
ac_cv_header_stdc=no
|
|
|
4277 |
fi
|
|
|
4278 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
|
4279 |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
|
4280 |
fi
|
|
|
4281 |
|
|
|
4282 |
fi
|
|
|
4283 |
fi
|
|
|
4284 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
|
|
4285 |
$as_echo "$ac_cv_header_stdc" >&6; }
|
|
|
4286 |
if test $ac_cv_header_stdc = yes; then
|
|
|
4287 |
|
|
|
4288 |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
|
|
4289 |
|
|
|
4290 |
fi
|
|
|
4291 |
|
|
|
4292 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
|
|
4293 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
|
|
4294 |
inttypes.h stdint.h unistd.h
|
|
|
4295 |
do :
|
|
|
4296 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
|
4297 |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
|
|
|
4298 |
"
|
|
|
4299 |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
|
|
4300 |
cat >>confdefs.h <<_ACEOF
|
|
|
4301 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
|
4302 |
_ACEOF
|
|
|
4303 |
|
|
|
4304 |
fi
|
|
|
4305 |
|
|
|
4306 |
done
|
|
|
4307 |
|
|
|
4308 |
|
|
|
4309 |
|
|
|
4310 |
ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
|
|
|
4311 |
if test "x$ac_cv_header_minix_config_h" = xyes; then :
|
|
|
4312 |
MINIX=yes
|
|
|
4313 |
else
|
|
|
4314 |
MINIX=
|
|
|
4315 |
fi
|
|
|
4316 |
|
|
|
4317 |
|
|
|
4318 |
if test "$MINIX" = yes; then
|
|
|
4319 |
|
|
|
4320 |
$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
|
|
|
4321 |
|
|
|
4322 |
|
|
|
4323 |
$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
|
|
|
4324 |
|
|
|
4325 |
|
|
|
4326 |
$as_echo "#define _MINIX 1" >>confdefs.h
|
|
|
4327 |
|
|
|
4328 |
fi
|
|
|
4329 |
|
|
|
4330 |
|
|
|
4331 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
|
|
|
4332 |
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
|
|
|
4333 |
if ${ac_cv_safe_to_define___extensions__+:} false; then :
|
|
|
4334 |
$as_echo_n "(cached) " >&6
|
|
|
4335 |
else
|
|
|
4336 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
4337 |
/* end confdefs.h. */
|
|
|
4338 |
|
|
|
4339 |
# define __EXTENSIONS__ 1
|
|
|
4340 |
$ac_includes_default
|
|
|
4341 |
int
|
|
|
4342 |
main ()
|
|
|
4343 |
{
|
|
|
4344 |
|
|
|
4345 |
;
|
|
|
4346 |
return 0;
|
|
|
4347 |
}
|
|
|
4348 |
_ACEOF
|
|
|
4349 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
|
4350 |
ac_cv_safe_to_define___extensions__=yes
|
|
|
4351 |
else
|
|
|
4352 |
ac_cv_safe_to_define___extensions__=no
|
|
|
4353 |
fi
|
|
|
4354 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
4355 |
fi
|
|
|
4356 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
|
|
|
4357 |
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
|
|
|
4358 |
test $ac_cv_safe_to_define___extensions__ = yes &&
|
|
|
4359 |
$as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
|
|
|
4360 |
|
|
|
4361 |
$as_echo "#define _ALL_SOURCE 1" >>confdefs.h
|
|
|
4362 |
|
|
|
4363 |
$as_echo "#define _GNU_SOURCE 1" >>confdefs.h
|
|
|
4364 |
|
|
|
4365 |
$as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
|
|
|
4366 |
|
|
|
4367 |
$as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
|
|
|
4368 |
|
|
|
4369 |
|
|
|
4370 |
|
3748 |
{ echo "$as_me:$LINENO: checking maximum warning verbosity option" >&5
|
4371 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking maximum warning verbosity option" >&5
|
3749 |
echo $ECHO_N "checking maximum warning verbosity option... $ECHO_C" >&6; }
|
4372 |
$as_echo_n "checking maximum warning verbosity option... " >&6; }
|
3750 |
if test -n "$CXX"
|
4373 |
if test -n "$CXX"
|
3751 |
then
|
4374 |
then
|
3752 |
if test "$GXX" = "yes"
|
4375 |
if test "$GXX" = "yes"
|
3753 |
then
|
4376 |
then
|
3754 |
ac_compile_warnings_opt='-Wall -Woverloaded-virtual'
|
4377 |
ac_compile_warnings_opt='-Wall -Woverloaded-virtual'
|
|
... |
|
... |
3764 |
ac_compile_warnings_opt='-Wall -Wmissing-declarations -Wmissing-prototypes'
|
4387 |
ac_compile_warnings_opt='-Wall -Wmissing-declarations -Wmissing-prototypes'
|
3765 |
fi
|
4388 |
fi
|
3766 |
CFLAGS="$CFLAGS $ac_compile_warnings_opt"
|
4389 |
CFLAGS="$CFLAGS $ac_compile_warnings_opt"
|
3767 |
ac_compile_warnings_msg="$ac_compile_warnings_msg $ac_compile_warnings_opt for C"
|
4390 |
ac_compile_warnings_msg="$ac_compile_warnings_msg $ac_compile_warnings_opt for C"
|
3768 |
fi
|
4391 |
fi
|
3769 |
{ echo "$as_me:$LINENO: result: $ac_compile_warnings_msg" >&5
|
4392 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_compile_warnings_msg" >&5
|
3770 |
echo "${ECHO_T}$ac_compile_warnings_msg" >&6; }
|
4393 |
$as_echo "$ac_compile_warnings_msg" >&6; }
|
3771 |
unset ac_compile_warnings_msg
|
4394 |
unset ac_compile_warnings_msg
|
3772 |
unset ac_compile_warnings_opt
|
4395 |
unset ac_compile_warnings_opt
|
3773 |
|
4396 |
|
3774 |
|
4397 |
|
3775 |
# Check whether --enable-shared was given.
|
4398 |
case `pwd` in
|
3776 |
if test "${enable_shared+set}" = set; then
|
4399 |
*\ * | *\ *)
|
3777 |
enableval=$enable_shared; p=${PACKAGE-default}
|
4400 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
|
3778 |
case $enableval in
|
4401 |
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
|
3779 |
yes) enable_shared=yes ;;
|
|
|
3780 |
no) enable_shared=no ;;
|
|
|
3781 |
*)
|
|
|
3782 |
enable_shared=no
|
|
|
3783 |
# Look at the argument we got. We use all the common list separators.
|
|
|
3784 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
|
|
|
3785 |
for pkg in $enableval; do
|
|
|
3786 |
if test "X$pkg" = "X$p"; then
|
|
|
3787 |
enable_shared=yes
|
|
|
3788 |
fi
|
|
|
3789 |
done
|
|
|
3790 |
IFS="$ac_save_ifs"
|
|
|
3791 |
;;
|
|
|
3792 |
esac
|
4402 |
esac
|
3793 |
else
|
|
|
3794 |
enable_shared=yes
|
|
|
3795 |
fi
|
|
|
3796 |
|
4403 |
|
3797 |
# Check whether --enable-static was given.
|
|
|
3798 |
if test "${enable_static+set}" = set; then
|
|
|
3799 |
enableval=$enable_static; p=${PACKAGE-default}
|
|
|
3800 |
case $enableval in
|
|
|
3801 |
yes) enable_static=yes ;;
|
|
|
3802 |
no) enable_static=no ;;
|
|
|
3803 |
*)
|
|
|
3804 |
enable_static=no
|
|
|
3805 |
# Look at the argument we got. We use all the common list separators.
|
|
|
3806 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
|
|
|
3807 |
for pkg in $enableval; do
|
|
|
3808 |
if test "X$pkg" = "X$p"; then
|
|
|
3809 |
enable_static=yes
|
|
|
3810 |
fi
|
|
|
3811 |
done
|
|
|
3812 |
IFS="$ac_save_ifs"
|
|
|
3813 |
;;
|
|
|
3814 |
esac
|
|
|
3815 |
else
|
|
|
3816 |
enable_static=yes
|
|
|
3817 |
fi
|
|
|
3818 |
|
4404 |
|
3819 |
# Check whether --enable-fast-install was given.
|
4405 |
|
3820 |
if test "${enable_fast_install+set}" = set; then
|
4406 |
macro_version='2.4.2'
|
3821 |
enableval=$enable_fast_install; p=${PACKAGE-default}
|
4407 |
macro_revision='1.3337'
|
3822 |
case $enableval in
|
4408 |
|
3823 |
yes) enable_fast_install=yes ;;
|
4409 |
|
3824 |
no) enable_fast_install=no ;;
|
4410 |
|
3825 |
*)
|
4411 |
|
3826 |
enable_fast_install=no
|
4412 |
|
3827 |
# Look at the argument we got. We use all the common list separators.
|
4413 |
|
3828 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
|
4414 |
|
3829 |
for pkg in $enableval; do
|
4415 |
|
3830 |
if test "X$pkg" = "X$p"; then
|
4416 |
|
3831 |
enable_fast_install=yes
|
4417 |
|
3832 |
fi
|
4418 |
|
3833 |
done
|
4419 |
|
3834 |
IFS="$ac_save_ifs"
|
4420 |
|
3835 |
;;
|
4421 |
ltmain="$ac_aux_dir/ltmain.sh"
|
3836 |
esac
|
|
|
3837 |
else
|
|
|
3838 |
enable_fast_install=yes
|
|
|
3839 |
fi
|
|
|
3840 |
|
4422 |
|
3841 |
# Make sure we can run config.sub.
|
4423 |
# Make sure we can run config.sub.
|
3842 |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
|
4424 |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
|
3843 |
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
|
4425 |
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
|
3844 |
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
|
|
|
3845 |
{ (exit 1); exit 1; }; }
|
|
|
3846 |
|
4426 |
|
3847 |
{ echo "$as_me:$LINENO: checking build system type" >&5
|
4427 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
|
3848 |
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
|
4428 |
$as_echo_n "checking build system type... " >&6; }
|
3849 |
if test "${ac_cv_build+set}" = set; then
|
4429 |
if ${ac_cv_build+:} false; then :
|
3850 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4430 |
$as_echo_n "(cached) " >&6
|
3851 |
else
|
4431 |
else
|
3852 |
ac_build_alias=$build_alias
|
4432 |
ac_build_alias=$build_alias
|
3853 |
test "x$ac_build_alias" = x &&
|
4433 |
test "x$ac_build_alias" = x &&
|
3854 |
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
|
4434 |
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
|
3855 |
test "x$ac_build_alias" = x &&
|
4435 |
test "x$ac_build_alias" = x &&
|
3856 |
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
|
4436 |
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
|
3857 |
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
|
|
|
3858 |
{ (exit 1); exit 1; }; }
|
|
|
3859 |
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
|
4437 |
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
|
3860 |
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
|
|
|
3861 |
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
|
4438 |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
|
3862 |
{ (exit 1); exit 1; }; }
|
|
|
3863 |
|
4439 |
|
3864 |
fi
|
4440 |
fi
|
3865 |
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
|
4441 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
|
3866 |
echo "${ECHO_T}$ac_cv_build" >&6; }
|
4442 |
$as_echo "$ac_cv_build" >&6; }
|
3867 |
case $ac_cv_build in
|
4443 |
case $ac_cv_build in
|
3868 |
*-*-*) ;;
|
4444 |
*-*-*) ;;
|
3869 |
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
|
4445 |
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
|
3870 |
echo "$as_me: error: invalid value of canonical build" >&2;}
|
|
|
3871 |
{ (exit 1); exit 1; }; };;
|
|
|
3872 |
esac
|
4446 |
esac
|
3873 |
build=$ac_cv_build
|
4447 |
build=$ac_cv_build
|
3874 |
ac_save_IFS=$IFS; IFS='-'
|
4448 |
ac_save_IFS=$IFS; IFS='-'
|
3875 |
set x $ac_cv_build
|
4449 |
set x $ac_cv_build
|
3876 |
shift
|
4450 |
shift
|
|
... |
|
... |
3882 |
build_os=$*
|
4456 |
build_os=$*
|
3883 |
IFS=$ac_save_IFS
|
4457 |
IFS=$ac_save_IFS
|
3884 |
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
|
4458 |
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
|
3885 |
|
4459 |
|
3886 |
|
4460 |
|
3887 |
{ echo "$as_me:$LINENO: checking host system type" >&5
|
4461 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
|
3888 |
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
|
4462 |
$as_echo_n "checking host system type... " >&6; }
|
3889 |
if test "${ac_cv_host+set}" = set; then
|
4463 |
if ${ac_cv_host+:} false; then :
|
3890 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4464 |
$as_echo_n "(cached) " >&6
|
3891 |
else
|
4465 |
else
|
3892 |
if test "x$host_alias" = x; then
|
4466 |
if test "x$host_alias" = x; then
|
3893 |
ac_cv_host=$ac_cv_build
|
4467 |
ac_cv_host=$ac_cv_build
|
3894 |
else
|
4468 |
else
|
3895 |
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
|
4469 |
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
|
3896 |
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
|
4470 |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
|
3897 |
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
|
|
|
3898 |
{ (exit 1); exit 1; }; }
|
|
|
3899 |
fi
|
4471 |
fi
|
3900 |
|
4472 |
|
3901 |
fi
|
4473 |
fi
|
3902 |
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
|
4474 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
|
3903 |
echo "${ECHO_T}$ac_cv_host" >&6; }
|
4475 |
$as_echo "$ac_cv_host" >&6; }
|
3904 |
case $ac_cv_host in
|
4476 |
case $ac_cv_host in
|
3905 |
*-*-*) ;;
|
4477 |
*-*-*) ;;
|
3906 |
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
|
4478 |
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
|
3907 |
echo "$as_me: error: invalid value of canonical host" >&2;}
|
|
|
3908 |
{ (exit 1); exit 1; }; };;
|
|
|
3909 |
esac
|
4479 |
esac
|
3910 |
host=$ac_cv_host
|
4480 |
host=$ac_cv_host
|
3911 |
ac_save_IFS=$IFS; IFS='-'
|
4481 |
ac_save_IFS=$IFS; IFS='-'
|
3912 |
set x $ac_cv_host
|
4482 |
set x $ac_cv_host
|
3913 |
shift
|
4483 |
shift
|
|
... |
|
... |
3919 |
host_os=$*
|
4489 |
host_os=$*
|
3920 |
IFS=$ac_save_IFS
|
4490 |
IFS=$ac_save_IFS
|
3921 |
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
4491 |
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
3922 |
|
4492 |
|
3923 |
|
4493 |
|
3924 |
# Find the correct PATH separator. Usually this is `:', but
|
4494 |
# Backslashify metacharacters that are still active within
|
3925 |
# DJGPP uses `;' like DOS.
|
4495 |
# double-quoted strings.
|
3926 |
if test "X${PATH_SEPARATOR+set}" != Xset; then
|
4496 |
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
|
3927 |
UNAME=${UNAME-`uname 2>/dev/null`}
|
4497 |
|
3928 |
case X$UNAME in
|
4498 |
# Same as above, but do not quote variable references.
|
3929 |
*-DOS) lt_cv_sys_path_separator=';' ;;
|
4499 |
double_quote_subst='s/\(["`\\]\)/\\\1/g'
|
3930 |
*) lt_cv_sys_path_separator=':' ;;
|
4500 |
|
|
|
4501 |
# Sed substitution to delay expansion of an escaped shell variable in a
|
|
|
4502 |
# double_quote_subst'ed string.
|
|
|
4503 |
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
|
|
|
4504 |
|
|
|
4505 |
# Sed substitution to delay expansion of an escaped single quote.
|
|
|
4506 |
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
|
|
|
4507 |
|
|
|
4508 |
# Sed substitution to avoid accidental globbing in evaled expressions
|
|
|
4509 |
no_glob_subst='s/\*/\\\*/g'
|
|
|
4510 |
|
|
|
4511 |
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
|
|
4512 |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
|
|
|
4513 |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
|
|
|
4514 |
|
|
|
4515 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
|
|
|
4516 |
$as_echo_n "checking how to print strings... " >&6; }
|
|
|
4517 |
# Test print first, because it will be a builtin if present.
|
|
|
4518 |
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
|
|
|
4519 |
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
|
|
|
4520 |
ECHO='print -r --'
|
|
|
4521 |
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
|
|
|
4522 |
ECHO='printf %s\n'
|
|
|
4523 |
else
|
|
|
4524 |
# Use this function as a fallback that always works.
|
|
|
4525 |
func_fallback_echo ()
|
|
|
4526 |
{
|
|
|
4527 |
eval 'cat <<_LTECHO_EOF
|
|
|
4528 |
$1
|
|
|
4529 |
_LTECHO_EOF'
|
|
|
4530 |
}
|
|
|
4531 |
ECHO='func_fallback_echo'
|
|
|
4532 |
fi
|
|
|
4533 |
|
|
|
4534 |
# func_echo_all arg...
|
|
|
4535 |
# Invoke $ECHO with all args, space-separated.
|
|
|
4536 |
func_echo_all ()
|
|
|
4537 |
{
|
|
|
4538 |
$ECHO ""
|
|
|
4539 |
}
|
|
|
4540 |
|
|
|
4541 |
case "$ECHO" in
|
|
|
4542 |
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
|
|
|
4543 |
$as_echo "printf" >&6; } ;;
|
|
|
4544 |
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
|
|
|
4545 |
$as_echo "print -r" >&6; } ;;
|
|
|
4546 |
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
|
|
|
4547 |
$as_echo "cat" >&6; } ;;
|
3931 |
esac
|
4548 |
esac
|
3932 |
PATH_SEPARATOR=$lt_cv_sys_path_separator
|
4549 |
|
|
|
4550 |
|
|
|
4551 |
|
|
|
4552 |
|
|
|
4553 |
|
|
|
4554 |
|
|
|
4555 |
|
|
|
4556 |
|
|
|
4557 |
|
|
|
4558 |
|
|
|
4559 |
|
|
|
4560 |
|
|
|
4561 |
|
|
|
4562 |
|
|
|
4563 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
|
|
|
4564 |
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
|
|
|
4565 |
if ${ac_cv_path_SED+:} false; then :
|
|
|
4566 |
$as_echo_n "(cached) " >&6
|
|
|
4567 |
else
|
|
|
4568 |
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
|
|
|
4569 |
for ac_i in 1 2 3 4 5 6 7; do
|
|
|
4570 |
ac_script="$ac_script$as_nl$ac_script"
|
|
|
4571 |
done
|
|
|
4572 |
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
|
|
|
4573 |
{ ac_script=; unset ac_script;}
|
|
|
4574 |
if test -z "$SED"; then
|
|
|
4575 |
ac_path_SED_found=false
|
|
|
4576 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
|
|
4577 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
|
4578 |
for as_dir in $PATH
|
|
|
4579 |
do
|
|
|
4580 |
IFS=$as_save_IFS
|
|
|
4581 |
test -z "$as_dir" && as_dir=.
|
|
|
4582 |
for ac_prog in sed gsed; do
|
|
|
4583 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
4584 |
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
|
|
|
4585 |
as_fn_executable_p "$ac_path_SED" || continue
|
|
|
4586 |
# Check for GNU ac_path_SED and select it if it is found.
|
|
|
4587 |
# Check for GNU $ac_path_SED
|
|
|
4588 |
case `"$ac_path_SED" --version 2>&1` in
|
|
|
4589 |
*GNU*)
|
|
|
4590 |
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
|
|
|
4591 |
*)
|
|
|
4592 |
ac_count=0
|
|
|
4593 |
$as_echo_n 0123456789 >"conftest.in"
|
|
|
4594 |
while :
|
|
|
4595 |
do
|
|
|
4596 |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
|
|
4597 |
mv "conftest.tmp" "conftest.in"
|
|
|
4598 |
cp "conftest.in" "conftest.nl"
|
|
|
4599 |
$as_echo '' >> "conftest.nl"
|
|
|
4600 |
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
|
|
4601 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
|
|
4602 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
|
|
4603 |
if test $ac_count -gt ${ac_path_SED_max-0}; then
|
|
|
4604 |
# Best one so far, save it but keep looking for a better one
|
|
|
4605 |
ac_cv_path_SED="$ac_path_SED"
|
|
|
4606 |
ac_path_SED_max=$ac_count
|
|
|
4607 |
fi
|
|
|
4608 |
# 10*(2^10) chars as input seems more than enough
|
|
|
4609 |
test $ac_count -gt 10 && break
|
|
|
4610 |
done
|
|
|
4611 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
|
|
4612 |
esac
|
|
|
4613 |
|
|
|
4614 |
$ac_path_SED_found && break 3
|
|
|
4615 |
done
|
|
|
4616 |
done
|
|
|
4617 |
done
|
|
|
4618 |
IFS=$as_save_IFS
|
|
|
4619 |
if test -z "$ac_cv_path_SED"; then
|
|
|
4620 |
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
|
3933 |
fi
|
4621 |
fi
|
|
|
4622 |
else
|
|
|
4623 |
ac_cv_path_SED=$SED
|
|
|
4624 |
fi
|
|
|
4625 |
|
|
|
4626 |
fi
|
|
|
4627 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
|
|
|
4628 |
$as_echo "$ac_cv_path_SED" >&6; }
|
|
|
4629 |
SED="$ac_cv_path_SED"
|
|
|
4630 |
rm -f conftest.sed
|
|
|
4631 |
|
|
|
4632 |
test -z "$SED" && SED=sed
|
|
|
4633 |
Xsed="$SED -e 1s/^X//"
|
|
|
4634 |
|
|
|
4635 |
|
|
|
4636 |
|
|
|
4637 |
|
|
|
4638 |
|
|
|
4639 |
|
|
|
4640 |
|
|
|
4641 |
|
|
|
4642 |
|
|
|
4643 |
|
|
|
4644 |
|
|
|
4645 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
|
|
|
4646 |
$as_echo_n "checking for fgrep... " >&6; }
|
|
|
4647 |
if ${ac_cv_path_FGREP+:} false; then :
|
|
|
4648 |
$as_echo_n "(cached) " >&6
|
|
|
4649 |
else
|
|
|
4650 |
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
|
|
|
4651 |
then ac_cv_path_FGREP="$GREP -F"
|
|
|
4652 |
else
|
|
|
4653 |
if test -z "$FGREP"; then
|
|
|
4654 |
ac_path_FGREP_found=false
|
|
|
4655 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
|
|
4656 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
|
4657 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
|
|
4658 |
do
|
|
|
4659 |
IFS=$as_save_IFS
|
|
|
4660 |
test -z "$as_dir" && as_dir=.
|
|
|
4661 |
for ac_prog in fgrep; do
|
|
|
4662 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
4663 |
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
|
|
|
4664 |
as_fn_executable_p "$ac_path_FGREP" || continue
|
|
|
4665 |
# Check for GNU ac_path_FGREP and select it if it is found.
|
|
|
4666 |
# Check for GNU $ac_path_FGREP
|
|
|
4667 |
case `"$ac_path_FGREP" --version 2>&1` in
|
|
|
4668 |
*GNU*)
|
|
|
4669 |
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
|
|
|
4670 |
*)
|
|
|
4671 |
ac_count=0
|
|
|
4672 |
$as_echo_n 0123456789 >"conftest.in"
|
|
|
4673 |
while :
|
|
|
4674 |
do
|
|
|
4675 |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
|
|
4676 |
mv "conftest.tmp" "conftest.in"
|
|
|
4677 |
cp "conftest.in" "conftest.nl"
|
|
|
4678 |
$as_echo 'FGREP' >> "conftest.nl"
|
|
|
4679 |
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
|
|
4680 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
|
|
4681 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
|
|
4682 |
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
|
|
|
4683 |
# Best one so far, save it but keep looking for a better one
|
|
|
4684 |
ac_cv_path_FGREP="$ac_path_FGREP"
|
|
|
4685 |
ac_path_FGREP_max=$ac_count
|
|
|
4686 |
fi
|
|
|
4687 |
# 10*(2^10) chars as input seems more than enough
|
|
|
4688 |
test $ac_count -gt 10 && break
|
|
|
4689 |
done
|
|
|
4690 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
|
|
4691 |
esac
|
|
|
4692 |
|
|
|
4693 |
$ac_path_FGREP_found && break 3
|
|
|
4694 |
done
|
|
|
4695 |
done
|
|
|
4696 |
done
|
|
|
4697 |
IFS=$as_save_IFS
|
|
|
4698 |
if test -z "$ac_cv_path_FGREP"; then
|
|
|
4699 |
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
|
|
4700 |
fi
|
|
|
4701 |
else
|
|
|
4702 |
ac_cv_path_FGREP=$FGREP
|
|
|
4703 |
fi
|
|
|
4704 |
|
|
|
4705 |
fi
|
|
|
4706 |
fi
|
|
|
4707 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
|
|
|
4708 |
$as_echo "$ac_cv_path_FGREP" >&6; }
|
|
|
4709 |
FGREP="$ac_cv_path_FGREP"
|
|
|
4710 |
|
|
|
4711 |
|
|
|
4712 |
test -z "$GREP" && GREP=grep
|
|
|
4713 |
|
|
|
4714 |
|
|
|
4715 |
|
|
|
4716 |
|
|
|
4717 |
|
|
|
4718 |
|
|
|
4719 |
|
|
|
4720 |
|
|
|
4721 |
|
|
|
4722 |
|
|
|
4723 |
|
|
|
4724 |
|
|
|
4725 |
|
|
|
4726 |
|
|
|
4727 |
|
|
|
4728 |
|
|
|
4729 |
|
3934 |
|
4730 |
|
3935 |
|
4731 |
|
3936 |
# Check whether --with-gnu-ld was given.
|
4732 |
# Check whether --with-gnu-ld was given.
|
3937 |
if test "${with_gnu_ld+set}" = set; then
|
4733 |
if test "${with_gnu_ld+set}" = set; then :
|
3938 |
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
|
4734 |
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
|
3939 |
else
|
4735 |
else
|
3940 |
with_gnu_ld=no
|
4736 |
with_gnu_ld=no
|
3941 |
fi
|
4737 |
fi
|
3942 |
|
4738 |
|
3943 |
ac_prog=ld
|
4739 |
ac_prog=ld
|
3944 |
if test "$GCC" = yes; then
|
4740 |
if test "$GCC" = yes; then
|
3945 |
# Check if gcc -print-prog-name=ld gives a path.
|
4741 |
# Check if gcc -print-prog-name=ld gives a path.
|
3946 |
{ echo "$as_me:$LINENO: checking for ld used by GCC" >&5
|
4742 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
|
3947 |
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
|
4743 |
$as_echo_n "checking for ld used by $CC... " >&6; }
|
3948 |
case $host in
|
4744 |
case $host in
|
3949 |
*-*-mingw*)
|
4745 |
*-*-mingw*)
|
3950 |
# gcc leaves a trailing carriage return which upsets mingw
|
4746 |
# gcc leaves a trailing carriage return which upsets mingw
|
3951 |
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
|
4747 |
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
|
3952 |
*)
|
4748 |
*)
|
3953 |
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
|
4749 |
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
|
3954 |
esac
|
4750 |
esac
|
3955 |
case $ac_prog in
|
4751 |
case $ac_prog in
|
3956 |
# Accept absolute paths.
|
4752 |
# Accept absolute paths.
|
3957 |
[\\/]* | [A-Za-z]:[\\/]*)
|
4753 |
[\\/]* | ?:[\\/]*)
|
3958 |
re_direlt='/[^/][^/]*/\.\./'
|
4754 |
re_direlt='/[^/][^/]*/\.\./'
|
3959 |
# Canonicalize the path of ld
|
4755 |
# Canonicalize the pathname of ld
|
3960 |
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
|
4756 |
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
|
3961 |
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
|
4757 |
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
|
3962 |
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
|
4758 |
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
|
3963 |
done
|
4759 |
done
|
3964 |
test -z "$LD" && LD="$ac_prog"
|
4760 |
test -z "$LD" && LD="$ac_prog"
|
3965 |
;;
|
4761 |
;;
|
3966 |
"")
|
4762 |
"")
|
3967 |
# If it fails, then pretend we aren't using GCC.
|
4763 |
# If it fails, then pretend we aren't using GCC.
|
|
... |
|
... |
3971 |
# If it is relative, then search for the first ld in PATH.
|
4767 |
# If it is relative, then search for the first ld in PATH.
|
3972 |
with_gnu_ld=unknown
|
4768 |
with_gnu_ld=unknown
|
3973 |
;;
|
4769 |
;;
|
3974 |
esac
|
4770 |
esac
|
3975 |
elif test "$with_gnu_ld" = yes; then
|
4771 |
elif test "$with_gnu_ld" = yes; then
|
3976 |
{ echo "$as_me:$LINENO: checking for GNU ld" >&5
|
4772 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
|
3977 |
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
|
4773 |
$as_echo_n "checking for GNU ld... " >&6; }
|
3978 |
else
|
4774 |
else
|
3979 |
{ echo "$as_me:$LINENO: checking for non-GNU ld" >&5
|
4775 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
|
3980 |
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
|
4776 |
$as_echo_n "checking for non-GNU ld... " >&6; }
|
3981 |
fi
|
4777 |
fi
|
3982 |
if test "${lt_cv_path_LD+set}" = set; then
|
4778 |
if ${lt_cv_path_LD+:} false; then :
|
3983 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4779 |
$as_echo_n "(cached) " >&6
|
3984 |
else
|
4780 |
else
|
3985 |
if test -z "$LD"; then
|
4781 |
if test -z "$LD"; then
|
3986 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
|
4782 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
|
3987 |
for ac_dir in $PATH; do
|
4783 |
for ac_dir in $PATH; do
|
|
|
4784 |
IFS="$lt_save_ifs"
|
3988 |
test -z "$ac_dir" && ac_dir=.
|
4785 |
test -z "$ac_dir" && ac_dir=.
|
3989 |
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
|
4786 |
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
|
3990 |
lt_cv_path_LD="$ac_dir/$ac_prog"
|
4787 |
lt_cv_path_LD="$ac_dir/$ac_prog"
|
3991 |
# Check to see if the program is GNU ld. I'd rather use --version,
|
4788 |
# Check to see if the program is GNU ld. I'd rather use --version,
|
3992 |
# but apparently some GNU ld's only accept -v.
|
4789 |
# but apparently some variants of GNU ld only accept -v.
|
3993 |
# Break only if it was the GNU/non-GNU ld that we prefer.
|
4790 |
# Break only if it was the GNU/non-GNU ld that we prefer.
|
3994 |
if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
|
4791 |
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
|
|
|
4792 |
*GNU* | *'with BFD'*)
|
3995 |
test "$with_gnu_ld" != no && break
|
4793 |
test "$with_gnu_ld" != no && break
|
3996 |
else
|
4794 |
;;
|
|
|
4795 |
*)
|
3997 |
test "$with_gnu_ld" != yes && break
|
4796 |
test "$with_gnu_ld" != yes && break
|
3998 |
fi
|
4797 |
;;
|
|
|
4798 |
esac
|
3999 |
fi
|
4799 |
fi
|
4000 |
done
|
4800 |
done
|
4001 |
IFS="$ac_save_ifs"
|
4801 |
IFS="$lt_save_ifs"
|
4002 |
else
|
4802 |
else
|
4003 |
lt_cv_path_LD="$LD" # Let the user override the test with a path.
|
4803 |
lt_cv_path_LD="$LD" # Let the user override the test with a path.
|
4004 |
fi
|
4804 |
fi
|
4005 |
fi
|
4805 |
fi
|
4006 |
|
4806 |
|
4007 |
LD="$lt_cv_path_LD"
|
4807 |
LD="$lt_cv_path_LD"
|
4008 |
if test -n "$LD"; then
|
4808 |
if test -n "$LD"; then
|
4009 |
{ echo "$as_me:$LINENO: result: $LD" >&5
|
4809 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
|
4010 |
echo "${ECHO_T}$LD" >&6; }
|
4810 |
$as_echo "$LD" >&6; }
|
4011 |
else
|
4811 |
else
|
4012 |
{ echo "$as_me:$LINENO: result: no" >&5
|
4812 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4013 |
echo "${ECHO_T}no" >&6; }
|
4813 |
$as_echo "no" >&6; }
|
4014 |
fi
|
4814 |
fi
|
4015 |
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
|
4815 |
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
|
4016 |
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
|
|
|
4017 |
{ (exit 1); exit 1; }; }
|
|
|
4018 |
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
|
4816 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
|
4019 |
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
|
4817 |
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
|
4020 |
if test "${lt_cv_prog_gnu_ld+set}" = set; then
|
4818 |
if ${lt_cv_prog_gnu_ld+:} false; then :
|
4021 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4819 |
$as_echo_n "(cached) " >&6
|
4022 |
else
|
4820 |
else
|
4023 |
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
|
4821 |
# I'd rather use --version here, but apparently some GNU lds only accept -v.
|
4024 |
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
|
4822 |
case `$LD -v 2>&1 </dev/null` in
|
|
|
4823 |
*GNU* | *'with BFD'*)
|
4025 |
lt_cv_prog_gnu_ld=yes
|
4824 |
lt_cv_prog_gnu_ld=yes
|
4026 |
else
|
4825 |
;;
|
|
|
4826 |
*)
|
4027 |
lt_cv_prog_gnu_ld=no
|
4827 |
lt_cv_prog_gnu_ld=no
|
|
|
4828 |
;;
|
|
|
4829 |
esac
|
4028 |
fi
|
4830 |
fi
|
4029 |
fi
|
|
|
4030 |
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
|
4831 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
|
4031 |
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
|
4832 |
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
|
4032 |
with_gnu_ld=$lt_cv_prog_gnu_ld
|
4833 |
with_gnu_ld=$lt_cv_prog_gnu_ld
|
4033 |
|
4834 |
|
4034 |
|
4835 |
|
4035 |
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
|
|
|
4036 |
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
|
|
|
4037 |
if test "${lt_cv_ld_reload_flag+set}" = set; then
|
|
|
4038 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
4039 |
else
|
|
|
4040 |
lt_cv_ld_reload_flag='-r'
|
|
|
4041 |
fi
|
|
|
4042 |
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
|
|
|
4043 |
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
|
|
|
4044 |
reload_flag=$lt_cv_ld_reload_flag
|
|
|
4045 |
test -n "$reload_flag" && reload_flag=" $reload_flag"
|
|
|
4046 |
|
4836 |
|
|
|
4837 |
|
|
|
4838 |
|
|
|
4839 |
|
|
|
4840 |
|
|
|
4841 |
|
|
|
4842 |
|
4047 |
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
|
4843 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
|
4048 |
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
|
4844 |
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
|
4049 |
if test "${lt_cv_path_NM+set}" = set; then
|
4845 |
if ${lt_cv_path_NM+:} false; then :
|
4050 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4846 |
$as_echo_n "(cached) " >&6
|
4051 |
else
|
4847 |
else
|
4052 |
if test -n "$NM"; then
|
4848 |
if test -n "$NM"; then
|
4053 |
# Let the user override the test.
|
4849 |
# Let the user override the test.
|
4054 |
lt_cv_path_NM="$NM"
|
4850 |
lt_cv_path_NM="$NM"
|
4055 |
else
|
4851 |
else
|
|
|
4852 |
lt_nm_to_check="${ac_tool_prefix}nm"
|
|
|
4853 |
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
|
|
|
4854 |
lt_nm_to_check="$lt_nm_to_check nm"
|
|
|
4855 |
fi
|
|
|
4856 |
for lt_tmp_nm in $lt_nm_to_check; do
|
4056 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
|
4857 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
|
4057 |
for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
|
4858 |
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
|
|
|
4859 |
IFS="$lt_save_ifs"
|
4058 |
test -z "$ac_dir" && ac_dir=.
|
4860 |
test -z "$ac_dir" && ac_dir=.
|
4059 |
tmp_nm=$ac_dir/${ac_tool_prefix}nm
|
4861 |
tmp_nm="$ac_dir/$lt_tmp_nm"
|
4060 |
if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
|
4862 |
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
|
4061 |
# Check to see if the nm accepts a BSD-compat flag.
|
4863 |
# Check to see if the nm accepts a BSD-compat flag.
|
4062 |
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
|
4864 |
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
|
4063 |
# nm: unknown option "B" ignored
|
4865 |
# nm: unknown option "B" ignored
|
4064 |
# Tru64's nm complains that /dev/null is an invalid object file
|
4866 |
# Tru64's nm complains that /dev/null is an invalid object file
|
4065 |
if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
|
4867 |
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
|
|
|
4868 |
*/dev/null* | *'Invalid file or object type'*)
|
4066 |
lt_cv_path_NM="$tmp_nm -B"
|
4869 |
lt_cv_path_NM="$tmp_nm -B"
|
4067 |
break
|
4870 |
break
|
4068 |
elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
|
4871 |
;;
|
|
|
4872 |
*)
|
|
|
4873 |
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
|
|
|
4874 |
*/dev/null*)
|
4069 |
lt_cv_path_NM="$tmp_nm -p"
|
4875 |
lt_cv_path_NM="$tmp_nm -p"
|
4070 |
break
|
4876 |
break
|
4071 |
else
|
4877 |
;;
|
|
|
4878 |
*)
|
4072 |
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
|
4879 |
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
|
4073 |
continue # so that we can try to find one that supports BSD flags
|
4880 |
continue # so that we can try to find one that supports BSD flags
|
|
|
4881 |
;;
|
|
|
4882 |
esac
|
|
|
4883 |
;;
|
|
|
4884 |
esac
|
4074 |
fi
|
4885 |
fi
|
4075 |
fi
|
4886 |
done
|
|
|
4887 |
IFS="$lt_save_ifs"
|
4076 |
done
|
4888 |
done
|
4077 |
IFS="$ac_save_ifs"
|
4889 |
: ${lt_cv_path_NM=no}
|
4078 |
test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
|
|
|
4079 |
fi
|
4890 |
fi
|
4080 |
fi
|
4891 |
fi
|
4081 |
|
4892 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
|
|
|
4893 |
$as_echo "$lt_cv_path_NM" >&6; }
|
|
|
4894 |
if test "$lt_cv_path_NM" != "no"; then
|
4082 |
NM="$lt_cv_path_NM"
|
4895 |
NM="$lt_cv_path_NM"
|
4083 |
{ echo "$as_me:$LINENO: result: $NM" >&5
|
4896 |
else
|
4084 |
echo "${ECHO_T}$NM" >&6; }
|
4897 |
# Didn't find any BSD compatible name lister, look for dumpbin.
|
4085 |
|
4898 |
if test -n "$DUMPBIN"; then :
|
4086 |
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
|
4899 |
# Let the user override the test.
|
4087 |
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
|
|
|
4088 |
if test "${lt_cv_path_SED+set}" = set; then
|
|
|
4089 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
4090 |
else
|
4900 |
else
|
4091 |
# Loop through the user's path and test for sed and gsed.
|
4901 |
if test -n "$ac_tool_prefix"; then
|
4092 |
# Then use that list of sed's as ones to test for truncation.
|
4902 |
for ac_prog in dumpbin "link -dump"
|
4093 |
as_executable_p="test -f"
|
4903 |
do
|
|
|
4904 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
|
|
4905 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
|
|
4906 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
|
4907 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
|
4908 |
if ${ac_cv_prog_DUMPBIN+:} false; then :
|
|
|
4909 |
$as_echo_n "(cached) " >&6
|
|
|
4910 |
else
|
|
|
4911 |
if test -n "$DUMPBIN"; then
|
|
|
4912 |
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
|
|
|
4913 |
else
|
4094 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
4914 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
4095 |
for as_dir in $PATH
|
4915 |
for as_dir in $PATH
|
4096 |
do
|
4916 |
do
|
4097 |
IFS=$as_save_IFS
|
4917 |
IFS=$as_save_IFS
|
4098 |
test -z "$as_dir" && as_dir=.
|
4918 |
test -z "$as_dir" && as_dir=.
|
4099 |
for ac_prog in sed gsed; do
|
|
|
4100 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4919 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4101 |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
|
4920 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
4102 |
_sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
|
4921 |
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
|
4103 |
fi
|
4922 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4104 |
done
|
4923 |
break 2
|
|
|
4924 |
fi
|
|
|
4925 |
done
|
4105 |
done
|
4926 |
done
|
|
|
4927 |
IFS=$as_save_IFS
|
|
|
4928 |
|
|
|
4929 |
fi
|
|
|
4930 |
fi
|
|
|
4931 |
DUMPBIN=$ac_cv_prog_DUMPBIN
|
|
|
4932 |
if test -n "$DUMPBIN"; then
|
|
|
4933 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
|
|
|
4934 |
$as_echo "$DUMPBIN" >&6; }
|
|
|
4935 |
else
|
|
|
4936 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
4937 |
$as_echo "no" >&6; }
|
|
|
4938 |
fi
|
|
|
4939 |
|
|
|
4940 |
|
|
|
4941 |
test -n "$DUMPBIN" && break
|
|
|
4942 |
done
|
|
|
4943 |
fi
|
|
|
4944 |
if test -z "$DUMPBIN"; then
|
|
|
4945 |
ac_ct_DUMPBIN=$DUMPBIN
|
|
|
4946 |
for ac_prog in dumpbin "link -dump"
|
|
|
4947 |
do
|
|
|
4948 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
|
4949 |
set dummy $ac_prog; ac_word=$2
|
|
|
4950 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
|
4951 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
|
4952 |
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
|
|
|
4953 |
$as_echo_n "(cached) " >&6
|
|
|
4954 |
else
|
|
|
4955 |
if test -n "$ac_ct_DUMPBIN"; then
|
|
|
4956 |
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
|
|
|
4957 |
else
|
|
|
4958 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
|
4959 |
for as_dir in $PATH
|
|
|
4960 |
do
|
|
|
4961 |
IFS=$as_save_IFS
|
|
|
4962 |
test -z "$as_dir" && as_dir=.
|
|
|
4963 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
4964 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
4965 |
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
|
|
|
4966 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
4967 |
break 2
|
|
|
4968 |
fi
|
4106 |
done
|
4969 |
done
|
4107 |
|
|
|
4108 |
# Create a temporary directory, and hook for its removal unless debugging.
|
|
|
4109 |
$debug ||
|
|
|
4110 |
{
|
|
|
4111 |
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
|
|
|
4112 |
trap '{ (exit 1); exit 1; }' 1 2 13 15
|
|
|
4113 |
}
|
|
|
4114 |
|
|
|
4115 |
# Create a (secure) tmp directory for tmp files.
|
|
|
4116 |
: ${TMPDIR=/tmp}
|
|
|
4117 |
{
|
|
|
4118 |
tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
|
|
|
4119 |
test -n "$tmp" && test -d "$tmp"
|
|
|
4120 |
} ||
|
|
|
4121 |
{
|
|
|
4122 |
tmp=$TMPDIR/sed$$-$RANDOM
|
|
|
4123 |
(umask 077 && mkdir $tmp)
|
|
|
4124 |
} ||
|
|
|
4125 |
{
|
|
|
4126 |
echo "$me: cannot create a temporary directory in $TMPDIR" >&2
|
|
|
4127 |
{ (exit 1); exit 1; }
|
|
|
4128 |
}
|
|
|
4129 |
_max=0
|
|
|
4130 |
_count=0
|
|
|
4131 |
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
|
|
|
4132 |
# along with /bin/sed that truncates output.
|
|
|
4133 |
for _sed in $_sed_list /usr/xpg4/bin/sed; do
|
|
|
4134 |
test ! -f ${_sed} && break
|
|
|
4135 |
cat /dev/null > "$tmp/sed.in"
|
|
|
4136 |
_count=0
|
|
|
4137 |
echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
|
|
|
4138 |
# Check for GNU sed and select it if it is found.
|
|
|
4139 |
if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
|
|
|
4140 |
lt_cv_path_SED=${_sed}
|
|
|
4141 |
break;
|
|
|
4142 |
fi
|
|
|
4143 |
while true; do
|
|
|
4144 |
cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
|
|
|
4145 |
mv "$tmp/sed.tmp" "$tmp/sed.in"
|
|
|
4146 |
cp "$tmp/sed.in" "$tmp/sed.nl"
|
|
|
4147 |
echo >>"$tmp/sed.nl"
|
|
|
4148 |
${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
|
|
|
4149 |
cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
|
|
|
4150 |
# 40000 chars as input seems more than enough
|
|
|
4151 |
test $_count -gt 10 && break
|
|
|
4152 |
_count=`expr $_count + 1`
|
|
|
4153 |
if test $_count -gt $_max; then
|
|
|
4154 |
_max=$_count
|
|
|
4155 |
lt_cv_path_SED=$_sed
|
|
|
4156 |
fi
|
|
|
4157 |
done
|
|
|
4158 |
done
|
4970 |
done
|
4159 |
rm -rf "$tmp"
|
4971 |
IFS=$as_save_IFS
|
4160 |
|
4972 |
|
4161 |
fi
|
4973 |
fi
|
|
|
4974 |
fi
|
|
|
4975 |
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
|
|
|
4976 |
if test -n "$ac_ct_DUMPBIN"; then
|
|
|
4977 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
|
|
|
4978 |
$as_echo "$ac_ct_DUMPBIN" >&6; }
|
|
|
4979 |
else
|
|
|
4980 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
4981 |
$as_echo "no" >&6; }
|
|
|
4982 |
fi
|
4162 |
|
4983 |
|
4163 |
if test "X$SED" != "X"; then
|
4984 |
|
4164 |
lt_cv_path_SED=$SED
|
4985 |
test -n "$ac_ct_DUMPBIN" && break
|
|
|
4986 |
done
|
|
|
4987 |
|
|
|
4988 |
if test "x$ac_ct_DUMPBIN" = x; then
|
|
|
4989 |
DUMPBIN=":"
|
4165 |
else
|
4990 |
else
|
4166 |
SED=$lt_cv_path_SED
|
4991 |
case $cross_compiling:$ac_tool_warned in
|
|
|
4992 |
yes:)
|
|
|
4993 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
|
4994 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
|
4995 |
ac_tool_warned=yes ;;
|
|
|
4996 |
esac
|
|
|
4997 |
DUMPBIN=$ac_ct_DUMPBIN
|
4167 |
fi
|
4998 |
fi
|
4168 |
{ echo "$as_me:$LINENO: result: $SED" >&5
|
4999 |
fi
|
4169 |
echo "${ECHO_T}$SED" >&6; }
|
|
|
4170 |
|
5000 |
|
|
|
5001 |
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
|
|
|
5002 |
*COFF*)
|
|
|
5003 |
DUMPBIN="$DUMPBIN -symbols"
|
|
|
5004 |
;;
|
|
|
5005 |
*)
|
|
|
5006 |
DUMPBIN=:
|
|
|
5007 |
;;
|
|
|
5008 |
esac
|
|
|
5009 |
fi
|
|
|
5010 |
|
|
|
5011 |
if test "$DUMPBIN" != ":"; then
|
|
|
5012 |
NM="$DUMPBIN"
|
|
|
5013 |
fi
|
|
|
5014 |
fi
|
|
|
5015 |
test -z "$NM" && NM=nm
|
|
|
5016 |
|
|
|
5017 |
|
|
|
5018 |
|
|
|
5019 |
|
|
|
5020 |
|
|
|
5021 |
|
|
|
5022 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
|
|
|
5023 |
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
|
|
|
5024 |
if ${lt_cv_nm_interface+:} false; then :
|
|
|
5025 |
$as_echo_n "(cached) " >&6
|
|
|
5026 |
else
|
|
|
5027 |
lt_cv_nm_interface="BSD nm"
|
|
|
5028 |
echo "int some_variable = 0;" > conftest.$ac_ext
|
|
|
5029 |
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
|
|
|
5030 |
(eval "$ac_compile" 2>conftest.err)
|
|
|
5031 |
cat conftest.err >&5
|
|
|
5032 |
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
|
|
|
5033 |
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
|
|
|
5034 |
cat conftest.err >&5
|
|
|
5035 |
(eval echo "\"\$as_me:$LINENO: output\"" >&5)
|
|
|
5036 |
cat conftest.out >&5
|
|
|
5037 |
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
|
|
|
5038 |
lt_cv_nm_interface="MS dumpbin"
|
|
|
5039 |
fi
|
|
|
5040 |
rm -f conftest*
|
|
|
5041 |
fi
|
|
|
5042 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
|
|
|
5043 |
$as_echo "$lt_cv_nm_interface" >&6; }
|
|
|
5044 |
|
4171 |
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
|
5045 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
|
4172 |
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
|
5046 |
$as_echo_n "checking whether ln -s works... " >&6; }
|
4173 |
LN_S=$as_ln_s
|
5047 |
LN_S=$as_ln_s
|
4174 |
if test "$LN_S" = "ln -s"; then
|
5048 |
if test "$LN_S" = "ln -s"; then
|
4175 |
{ echo "$as_me:$LINENO: result: yes" >&5
|
5049 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
4176 |
echo "${ECHO_T}yes" >&6; }
|
5050 |
$as_echo "yes" >&6; }
|
4177 |
else
|
5051 |
else
|
4178 |
{ echo "$as_me:$LINENO: result: no, using $LN_S" >&5
|
5052 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
|
4179 |
echo "${ECHO_T}no, using $LN_S" >&6; }
|
5053 |
$as_echo "no, using $LN_S" >&6; }
|
|
|
5054 |
fi
|
|
|
5055 |
|
|
|
5056 |
# find the maximum length of command line arguments
|
|
|
5057 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
|
|
|
5058 |
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
|
|
|
5059 |
if ${lt_cv_sys_max_cmd_len+:} false; then :
|
|
|
5060 |
$as_echo_n "(cached) " >&6
|
|
|
5061 |
else
|
|
|
5062 |
i=0
|
|
|
5063 |
teststring="ABCD"
|
|
|
5064 |
|
|
|
5065 |
case $build_os in
|
|
|
5066 |
msdosdjgpp*)
|
|
|
5067 |
# On DJGPP, this test can blow up pretty badly due to problems in libc
|
|
|
5068 |
# (any single argument exceeding 2000 bytes causes a buffer overrun
|
|
|
5069 |
# during glob expansion). Even if it were fixed, the result of this
|
|
|
5070 |
# check would be larger than it should be.
|
|
|
5071 |
lt_cv_sys_max_cmd_len=12288; # 12K is about right
|
|
|
5072 |
;;
|
|
|
5073 |
|
|
|
5074 |
gnu*)
|
|
|
5075 |
# Under GNU Hurd, this test is not required because there is
|
|
|
5076 |
# no limit to the length of command line arguments.
|
|
|
5077 |
# Libtool will interpret -1 as no limit whatsoever
|
|
|
5078 |
lt_cv_sys_max_cmd_len=-1;
|
|
|
5079 |
;;
|
|
|
5080 |
|
|
|
5081 |
cygwin* | mingw* | cegcc*)
|
|
|
5082 |
# On Win9x/ME, this test blows up -- it succeeds, but takes
|
|
|
5083 |
# about 5 minutes as the teststring grows exponentially.
|
|
|
5084 |
# Worse, since 9x/ME are not pre-emptively multitasking,
|
|
|
5085 |
# you end up with a "frozen" computer, even though with patience
|
|
|
5086 |
# the test eventually succeeds (with a max line length of 256k).
|
|
|
5087 |
# Instead, let's just punt: use the minimum linelength reported by
|
|
|
5088 |
# all of the supported platforms: 8192 (on NT/2K/XP).
|
|
|
5089 |
lt_cv_sys_max_cmd_len=8192;
|
|
|
5090 |
;;
|
|
|
5091 |
|
|
|
5092 |
mint*)
|
|
|
5093 |
# On MiNT this can take a long time and run out of memory.
|
|
|
5094 |
lt_cv_sys_max_cmd_len=8192;
|
|
|
5095 |
;;
|
|
|
5096 |
|
|
|
5097 |
amigaos*)
|
|
|
5098 |
# On AmigaOS with pdksh, this test takes hours, literally.
|
|
|
5099 |
# So we just punt and use a minimum line length of 8192.
|
|
|
5100 |
lt_cv_sys_max_cmd_len=8192;
|
|
|
5101 |
;;
|
|
|
5102 |
|
|
|
5103 |
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
|
|
|
5104 |
# This has been around since 386BSD, at least. Likely further.
|
|
|
5105 |
if test -x /sbin/sysctl; then
|
|
|
5106 |
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
|
|
|
5107 |
elif test -x /usr/sbin/sysctl; then
|
|
|
5108 |
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
|
|
|
5109 |
else
|
|
|
5110 |
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
|
|
|
5111 |
fi
|
|
|
5112 |
# And add a safety zone
|
|
|
5113 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
|
|
|
5114 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
|
|
|
5115 |
;;
|
|
|
5116 |
|
|
|
5117 |
interix*)
|
|
|
5118 |
# We know the value 262144 and hardcode it with a safety zone (like BSD)
|
|
|
5119 |
lt_cv_sys_max_cmd_len=196608
|
|
|
5120 |
;;
|
|
|
5121 |
|
|
|
5122 |
os2*)
|
|
|
5123 |
# The test takes a long time on OS/2.
|
|
|
5124 |
lt_cv_sys_max_cmd_len=8192
|
|
|
5125 |
;;
|
|
|
5126 |
|
|
|
5127 |
osf*)
|
|
|
5128 |
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
|
|
|
5129 |
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
|
|
|
5130 |
# nice to cause kernel panics so lets avoid the loop below.
|
|
|
5131 |
# First set a reasonable default.
|
|
|
5132 |
lt_cv_sys_max_cmd_len=16384
|
|
|
5133 |
#
|
|
|
5134 |
if test -x /sbin/sysconfig; then
|
|
|
5135 |
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
|
|
|
5136 |
*1*) lt_cv_sys_max_cmd_len=-1 ;;
|
|
|
5137 |
esac
|
|
|
5138 |
fi
|
|
|
5139 |
;;
|
|
|
5140 |
sco3.2v5*)
|
|
|
5141 |
lt_cv_sys_max_cmd_len=102400
|
|
|
5142 |
;;
|
|
|
5143 |
sysv5* | sco5v6* | sysv4.2uw2*)
|
|
|
5144 |
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
|
|
|
5145 |
if test -n "$kargmax"; then
|
|
|
5146 |
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
|
|
|
5147 |
else
|
|
|
5148 |
lt_cv_sys_max_cmd_len=32768
|
|
|
5149 |
fi
|
|
|
5150 |
;;
|
|
|
5151 |
*)
|
|
|
5152 |
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
|
|
|
5153 |
if test -n "$lt_cv_sys_max_cmd_len"; then
|
|
|
5154 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
|
|
|
5155 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
|
|
|
5156 |
else
|
|
|
5157 |
# Make teststring a little bigger before we do anything with it.
|
|
|
5158 |
# a 1K string should be a reasonable start.
|
|
|
5159 |
for i in 1 2 3 4 5 6 7 8 ; do
|
|
|
5160 |
teststring=$teststring$teststring
|
|
|
5161 |
done
|
|
|
5162 |
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
|
|
|
5163 |
# If test is not a shell built-in, we'll probably end up computing a
|
|
|
5164 |
# maximum length that is only half of the actual maximum length, but
|
|
|
5165 |
# we can't tell.
|
|
|
5166 |
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
|
|
|
5167 |
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
|
|
|
5168 |
test $i != 17 # 1/2 MB should be enough
|
|
|
5169 |
do
|
|
|
5170 |
i=`expr $i + 1`
|
|
|
5171 |
teststring=$teststring$teststring
|
|
|
5172 |
done
|
|
|
5173 |
# Only check the string length outside the loop.
|
|
|
5174 |
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
|
|
|
5175 |
teststring=
|
|
|
5176 |
# Add a significant safety factor because C++ compilers can tack on
|
|
|
5177 |
# massive amounts of additional arguments before passing them to the
|
|
|
5178 |
# linker. It appears as though 1/2 is a usable value.
|
|
|
5179 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
|
|
|
5180 |
fi
|
|
|
5181 |
;;
|
|
|
5182 |
esac
|
|
|
5183 |
|
|
|
5184 |
fi
|
|
|
5185 |
|
|
|
5186 |
if test -n $lt_cv_sys_max_cmd_len ; then
|
|
|
5187 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
|
|
|
5188 |
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
|
|
|
5189 |
else
|
|
|
5190 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
|
|
|
5191 |
$as_echo "none" >&6; }
|
|
|
5192 |
fi
|
|
|
5193 |
max_cmd_len=$lt_cv_sys_max_cmd_len
|
|
|
5194 |
|
|
|
5195 |
|
|
|
5196 |
|
|
|
5197 |
|
|
|
5198 |
|
|
|
5199 |
|
|
|
5200 |
: ${CP="cp -f"}
|
|
|
5201 |
: ${MV="mv -f"}
|
|
|
5202 |
: ${RM="rm -f"}
|
|
|
5203 |
|
|
|
5204 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
|
|
|
5205 |
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
|
|
|
5206 |
# Try some XSI features
|
|
|
5207 |
xsi_shell=no
|
|
|
5208 |
( _lt_dummy="a/b/c"
|
|
|
5209 |
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
|
|
|
5210 |
= c,a/b,b/c, \
|
|
|
5211 |
&& eval 'test $(( 1 + 1 )) -eq 2 \
|
|
|
5212 |
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
|
|
|
5213 |
&& xsi_shell=yes
|
|
|
5214 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
|
|
|
5215 |
$as_echo "$xsi_shell" >&6; }
|
|
|
5216 |
|
|
|
5217 |
|
|
|
5218 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
|
|
|
5219 |
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
|
|
|
5220 |
lt_shell_append=no
|
|
|
5221 |
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
|
|
|
5222 |
>/dev/null 2>&1 \
|
|
|
5223 |
&& lt_shell_append=yes
|
|
|
5224 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
|
|
|
5225 |
$as_echo "$lt_shell_append" >&6; }
|
|
|
5226 |
|
|
|
5227 |
|
|
|
5228 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
|
|
5229 |
lt_unset=unset
|
|
|
5230 |
else
|
|
|
5231 |
lt_unset=false
|
|
|
5232 |
fi
|
|
|
5233 |
|
|
|
5234 |
|
|
|
5235 |
|
|
|
5236 |
|
|
|
5237 |
|
|
|
5238 |
# test EBCDIC or ASCII
|
|
|
5239 |
case `echo X|tr X '\101'` in
|
|
|
5240 |
A) # ASCII based system
|
|
|
5241 |
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
|
|
|
5242 |
lt_SP2NL='tr \040 \012'
|
|
|
5243 |
lt_NL2SP='tr \015\012 \040\040'
|
|
|
5244 |
;;
|
|
|
5245 |
*) # EBCDIC based system
|
|
|
5246 |
lt_SP2NL='tr \100 \n'
|
|
|
5247 |
lt_NL2SP='tr \r\n \100\100'
|
|
|
5248 |
;;
|
|
|
5249 |
esac
|
|
|
5250 |
|
|
|
5251 |
|
|
|
5252 |
|
|
|
5253 |
|
|
|
5254 |
|
|
|
5255 |
|
|
|
5256 |
|
|
|
5257 |
|
|
|
5258 |
|
|
|
5259 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
|
|
|
5260 |
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
|
|
|
5261 |
if ${lt_cv_to_host_file_cmd+:} false; then :
|
|
|
5262 |
$as_echo_n "(cached) " >&6
|
|
|
5263 |
else
|
|
|
5264 |
case $host in
|
|
|
5265 |
*-*-mingw* )
|
|
|
5266 |
case $build in
|
|
|
5267 |
*-*-mingw* ) # actually msys
|
|
|
5268 |
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
|
|
|
5269 |
;;
|
|
|
5270 |
*-*-cygwin* )
|
|
|
5271 |
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
|
|
|
5272 |
;;
|
|
|
5273 |
* ) # otherwise, assume *nix
|
|
|
5274 |
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
|
|
|
5275 |
;;
|
|
|
5276 |
esac
|
|
|
5277 |
;;
|
|
|
5278 |
*-*-cygwin* )
|
|
|
5279 |
case $build in
|
|
|
5280 |
*-*-mingw* ) # actually msys
|
|
|
5281 |
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
|
|
|
5282 |
;;
|
|
|
5283 |
*-*-cygwin* )
|
|
|
5284 |
lt_cv_to_host_file_cmd=func_convert_file_noop
|
|
|
5285 |
;;
|
|
|
5286 |
* ) # otherwise, assume *nix
|
|
|
5287 |
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
|
|
|
5288 |
;;
|
|
|
5289 |
esac
|
|
|
5290 |
;;
|
|
|
5291 |
* ) # unhandled hosts (and "normal" native builds)
|
|
|
5292 |
lt_cv_to_host_file_cmd=func_convert_file_noop
|
|
|
5293 |
;;
|
|
|
5294 |
esac
|
|
|
5295 |
|
|
|
5296 |
fi
|
|
|
5297 |
|
|
|
5298 |
to_host_file_cmd=$lt_cv_to_host_file_cmd
|
|
|
5299 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
|
|
|
5300 |
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
|
|
|
5301 |
|
|
|
5302 |
|
|
|
5303 |
|
|
|
5304 |
|
|
|
5305 |
|
|
|
5306 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
|
|
|
5307 |
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
|
|
|
5308 |
if ${lt_cv_to_tool_file_cmd+:} false; then :
|
|
|
5309 |
$as_echo_n "(cached) " >&6
|
|
|
5310 |
else
|
|
|
5311 |
#assume ordinary cross tools, or native build.
|
|
|
5312 |
lt_cv_to_tool_file_cmd=func_convert_file_noop
|
|
|
5313 |
case $host in
|
|
|
5314 |
*-*-mingw* )
|
|
|
5315 |
case $build in
|
|
|
5316 |
*-*-mingw* ) # actually msys
|
|
|
5317 |
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
|
|
|
5318 |
;;
|
|
|
5319 |
esac
|
|
|
5320 |
;;
|
|
|
5321 |
esac
|
|
|
5322 |
|
|
|
5323 |
fi
|
|
|
5324 |
|
|
|
5325 |
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
|
|
|
5326 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
|
|
|
5327 |
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
|
|
|
5328 |
|
|
|
5329 |
|
|
|
5330 |
|
|
|
5331 |
|
|
|
5332 |
|
|
|
5333 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
|
|
|
5334 |
$as_echo_n "checking for $LD option to reload object files... " >&6; }
|
|
|
5335 |
if ${lt_cv_ld_reload_flag+:} false; then :
|
|
|
5336 |
$as_echo_n "(cached) " >&6
|
|
|
5337 |
else
|
|
|
5338 |
lt_cv_ld_reload_flag='-r'
|
|
|
5339 |
fi
|
|
|
5340 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
|
|
|
5341 |
$as_echo "$lt_cv_ld_reload_flag" >&6; }
|
|
|
5342 |
reload_flag=$lt_cv_ld_reload_flag
|
|
|
5343 |
case $reload_flag in
|
|
|
5344 |
"" | " "*) ;;
|
|
|
5345 |
*) reload_flag=" $reload_flag" ;;
|
|
|
5346 |
esac
|
|
|
5347 |
reload_cmds='$LD$reload_flag -o $output$reload_objs'
|
|
|
5348 |
case $host_os in
|
|
|
5349 |
cygwin* | mingw* | pw32* | cegcc*)
|
|
|
5350 |
if test "$GCC" != yes; then
|
|
|
5351 |
reload_cmds=false
|
|
|
5352 |
fi
|
|
|
5353 |
;;
|
|
|
5354 |
darwin*)
|
|
|
5355 |
if test "$GCC" = yes; then
|
|
|
5356 |
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
|
|
|
5357 |
else
|
|
|
5358 |
reload_cmds='$LD$reload_flag -o $output$reload_objs'
|
|
|
5359 |
fi
|
|
|
5360 |
;;
|
|
|
5361 |
esac
|
|
|
5362 |
|
|
|
5363 |
|
|
|
5364 |
|
|
|
5365 |
|
|
|
5366 |
|
|
|
5367 |
|
|
|
5368 |
|
|
|
5369 |
|
|
|
5370 |
|
|
|
5371 |
if test -n "$ac_tool_prefix"; then
|
|
|
5372 |
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
|
|
|
5373 |
set dummy ${ac_tool_prefix}objdump; ac_word=$2
|
|
|
5374 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
|
5375 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
|
5376 |
if ${ac_cv_prog_OBJDUMP+:} false; then :
|
|
|
5377 |
$as_echo_n "(cached) " >&6
|
|
|
5378 |
else
|
|
|
5379 |
if test -n "$OBJDUMP"; then
|
|
|
5380 |
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
|
|
|
5381 |
else
|
|
|
5382 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
|
5383 |
for as_dir in $PATH
|
|
|
5384 |
do
|
|
|
5385 |
IFS=$as_save_IFS
|
|
|
5386 |
test -z "$as_dir" && as_dir=.
|
|
|
5387 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
5388 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
5389 |
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
|
|
|
5390 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
5391 |
break 2
|
4180 |
fi
|
5392 |
fi
|
|
|
5393 |
done
|
|
|
5394 |
done
|
|
|
5395 |
IFS=$as_save_IFS
|
4181 |
|
5396 |
|
|
|
5397 |
fi
|
|
|
5398 |
fi
|
|
|
5399 |
OBJDUMP=$ac_cv_prog_OBJDUMP
|
|
|
5400 |
if test -n "$OBJDUMP"; then
|
|
|
5401 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
|
|
|
5402 |
$as_echo "$OBJDUMP" >&6; }
|
|
|
5403 |
else
|
|
|
5404 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
5405 |
$as_echo "no" >&6; }
|
|
|
5406 |
fi
|
|
|
5407 |
|
|
|
5408 |
|
|
|
5409 |
fi
|
|
|
5410 |
if test -z "$ac_cv_prog_OBJDUMP"; then
|
|
|
5411 |
ac_ct_OBJDUMP=$OBJDUMP
|
|
|
5412 |
# Extract the first word of "objdump", so it can be a program name with args.
|
|
|
5413 |
set dummy objdump; ac_word=$2
|
|
|
5414 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
|
5415 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
|
5416 |
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
|
|
|
5417 |
$as_echo_n "(cached) " >&6
|
|
|
5418 |
else
|
|
|
5419 |
if test -n "$ac_ct_OBJDUMP"; then
|
|
|
5420 |
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
|
|
|
5421 |
else
|
|
|
5422 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
|
5423 |
for as_dir in $PATH
|
|
|
5424 |
do
|
|
|
5425 |
IFS=$as_save_IFS
|
|
|
5426 |
test -z "$as_dir" && as_dir=.
|
|
|
5427 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
5428 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
5429 |
ac_cv_prog_ac_ct_OBJDUMP="objdump"
|
|
|
5430 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
5431 |
break 2
|
|
|
5432 |
fi
|
|
|
5433 |
done
|
|
|
5434 |
done
|
|
|
5435 |
IFS=$as_save_IFS
|
|
|
5436 |
|
|
|
5437 |
fi
|
|
|
5438 |
fi
|
|
|
5439 |
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
|
|
|
5440 |
if test -n "$ac_ct_OBJDUMP"; then
|
|
|
5441 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
|
|
|
5442 |
$as_echo "$ac_ct_OBJDUMP" >&6; }
|
|
|
5443 |
else
|
|
|
5444 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
5445 |
$as_echo "no" >&6; }
|
|
|
5446 |
fi
|
|
|
5447 |
|
|
|
5448 |
if test "x$ac_ct_OBJDUMP" = x; then
|
|
|
5449 |
OBJDUMP="false"
|
|
|
5450 |
else
|
|
|
5451 |
case $cross_compiling:$ac_tool_warned in
|
|
|
5452 |
yes:)
|
|
|
5453 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
|
5454 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
|
5455 |
ac_tool_warned=yes ;;
|
|
|
5456 |
esac
|
|
|
5457 |
OBJDUMP=$ac_ct_OBJDUMP
|
|
|
5458 |
fi
|
|
|
5459 |
else
|
|
|
5460 |
OBJDUMP="$ac_cv_prog_OBJDUMP"
|
|
|
5461 |
fi
|
|
|
5462 |
|
|
|
5463 |
test -z "$OBJDUMP" && OBJDUMP=objdump
|
|
|
5464 |
|
|
|
5465 |
|
|
|
5466 |
|
|
|
5467 |
|
|
|
5468 |
|
|
|
5469 |
|
|
|
5470 |
|
|
|
5471 |
|
|
|
5472 |
|
4182 |
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
|
5473 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
|
4183 |
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
|
5474 |
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
|
4184 |
if test "${lt_cv_deplibs_check_method+set}" = set; then
|
5475 |
if ${lt_cv_deplibs_check_method+:} false; then :
|
4185 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5476 |
$as_echo_n "(cached) " >&6
|
4186 |
else
|
5477 |
else
|
4187 |
lt_cv_file_magic_cmd='$MAGIC_CMD'
|
5478 |
lt_cv_file_magic_cmd='$MAGIC_CMD'
|
4188 |
lt_cv_file_magic_test_file=
|
5479 |
lt_cv_file_magic_test_file=
|
4189 |
lt_cv_deplibs_check_method='unknown'
|
5480 |
lt_cv_deplibs_check_method='unknown'
|
4190 |
# Need to set the preceding variable on all platforms that support
|
5481 |
# Need to set the preceding variable on all platforms that support
|
|
... |
|
... |
4192 |
# 'none' -- dependencies not supported.
|
5483 |
# 'none' -- dependencies not supported.
|
4193 |
# `unknown' -- same as none, but documents that we really don't know.
|
5484 |
# `unknown' -- same as none, but documents that we really don't know.
|
4194 |
# 'pass_all' -- all dependencies passed with no checks.
|
5485 |
# 'pass_all' -- all dependencies passed with no checks.
|
4195 |
# 'test_compile' -- check by making test program.
|
5486 |
# 'test_compile' -- check by making test program.
|
4196 |
# 'file_magic [[regex]]' -- check by looking for files in library path
|
5487 |
# 'file_magic [[regex]]' -- check by looking for files in library path
|
4197 |
# which responds to the $file_magic_cmd with a given egrep regex.
|
5488 |
# which responds to the $file_magic_cmd with a given extended regex.
|
4198 |
# If you have `file' or equivalent on your system and you're not sure
|
5489 |
# If you have `file' or equivalent on your system and you're not sure
|
4199 |
# whether `pass_all' will *always* work, you probably want this one.
|
5490 |
# whether `pass_all' will *always* work, you probably want this one.
|
4200 |
|
5491 |
|
4201 |
case $host_os in
|
5492 |
case $host_os in
|
4202 |
aix4* | aix5*)
|
5493 |
aix[4-9]*)
|
4203 |
lt_cv_deplibs_check_method=pass_all
|
5494 |
lt_cv_deplibs_check_method=pass_all
|
4204 |
;;
|
5495 |
;;
|
4205 |
|
5496 |
|
4206 |
beos*)
|
5497 |
beos*)
|
4207 |
lt_cv_deplibs_check_method=pass_all
|
5498 |
lt_cv_deplibs_check_method=pass_all
|
4208 |
;;
|
5499 |
;;
|
4209 |
|
5500 |
|
4210 |
bsdi4*)
|
5501 |
bsdi[45]*)
|
4211 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
|
5502 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
|
4212 |
lt_cv_file_magic_cmd='/usr/bin/file -L'
|
5503 |
lt_cv_file_magic_cmd='/usr/bin/file -L'
|
4213 |
lt_cv_file_magic_test_file=/shlib/libc.so
|
5504 |
lt_cv_file_magic_test_file=/shlib/libc.so
|
4214 |
;;
|
5505 |
;;
|
4215 |
|
5506 |
|
|
|
5507 |
cygwin*)
|
|
|
5508 |
# func_win32_libid is a shell function defined in ltmain.sh
|
|
|
5509 |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
|
|
|
5510 |
lt_cv_file_magic_cmd='func_win32_libid'
|
|
|
5511 |
;;
|
|
|
5512 |
|
4216 |
cygwin* | mingw* | pw32*)
|
5513 |
mingw* | pw32*)
|
|
|
5514 |
# Base MSYS/MinGW do not provide the 'file' command needed by
|
|
|
5515 |
# func_win32_libid shell function, so use a weaker test based on 'objdump',
|
|
|
5516 |
# unless we find 'file', for example because we are cross-compiling.
|
|
|
5517 |
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
|
|
|
5518 |
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
|
|
|
5519 |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
|
|
|
5520 |
lt_cv_file_magic_cmd='func_win32_libid'
|
|
|
5521 |
else
|
|
|
5522 |
# Keep this pattern in sync with the one in func_win32_libid.
|
4217 |
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
|
5523 |
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
|
|
|
5524 |
lt_cv_file_magic_cmd='$OBJDUMP -f'
|
|
|
5525 |
fi
|
|
|
5526 |
;;
|
|
|
5527 |
|
|
|
5528 |
cegcc*)
|
|
|
5529 |
# use the weaker test based on 'objdump'. See mingw*.
|
|
|
5530 |
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
|
4218 |
lt_cv_file_magic_cmd='$OBJDUMP -f'
|
5531 |
lt_cv_file_magic_cmd='$OBJDUMP -f'
|
4219 |
;;
|
5532 |
;;
|
4220 |
|
5533 |
|
4221 |
darwin* | rhapsody*)
|
5534 |
darwin* | rhapsody*)
|
4222 |
lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
|
5535 |
lt_cv_deplibs_check_method=pass_all
|
4223 |
lt_cv_file_magic_cmd='/usr/bin/file -L'
|
|
|
4224 |
case "$host_os" in
|
|
|
4225 |
rhapsody* | darwin1.[012])
|
|
|
4226 |
lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
|
|
|
4227 |
;;
|
|
|
4228 |
*) # Darwin 1.3 on
|
|
|
4229 |
lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
|
|
|
4230 |
;;
|
|
|
4231 |
esac
|
|
|
4232 |
;;
|
5536 |
;;
|
4233 |
|
5537 |
|
4234 |
freebsd*)
|
5538 |
freebsd* | dragonfly*)
|
4235 |
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
|
5539 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
|
4236 |
case $host_cpu in
|
5540 |
case $host_cpu in
|
4237 |
i*86 )
|
5541 |
i*86 )
|
4238 |
# Not sure whether the presence of OpenBSD here was a mistake.
|
5542 |
# Not sure whether the presence of OpenBSD here was a mistake.
|
4239 |
# Let's accept both of them until this is cleared up.
|
5543 |
# Let's accept both of them until this is cleared up.
|
4240 |
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
|
5544 |
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
|
4241 |
lt_cv_file_magic_cmd=/usr/bin/file
|
5545 |
lt_cv_file_magic_cmd=/usr/bin/file
|
4242 |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
|
5546 |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
|
4243 |
;;
|
5547 |
;;
|
4244 |
esac
|
5548 |
esac
|
4245 |
else
|
5549 |
else
|
|
... |
|
... |
4249 |
|
5553 |
|
4250 |
gnu*)
|
5554 |
gnu*)
|
4251 |
lt_cv_deplibs_check_method=pass_all
|
5555 |
lt_cv_deplibs_check_method=pass_all
|
4252 |
;;
|
5556 |
;;
|
4253 |
|
5557 |
|
|
|
5558 |
haiku*)
|
|
|
5559 |
lt_cv_deplibs_check_method=pass_all
|
|
|
5560 |
;;
|
|
|
5561 |
|
4254 |
hpux10.20*|hpux11*)
|
5562 |
hpux10.20* | hpux11*)
|
4255 |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
|
|
|
4256 |
lt_cv_file_magic_cmd=/usr/bin/file
|
5563 |
lt_cv_file_magic_cmd=/usr/bin/file
|
|
|
5564 |
case $host_cpu in
|
|
|
5565 |
ia64*)
|
|
|
5566 |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
|
|
|
5567 |
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
|
|
|
5568 |
;;
|
|
|
5569 |
hppa*64*)
|
|
|
5570 |
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]'
|
4257 |
lt_cv_file_magic_test_file=/usr/lib/libc.sl
|
5571 |
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
|
4258 |
;;
|
|
|
4259 |
|
|
|
4260 |
irix5* | irix6* | nonstopux*)
|
|
|
4261 |
case $host_os in
|
|
|
4262 |
irix5* | nonstopux*)
|
|
|
4263 |
# this will be overridden with pass_all, but let us keep it just in case
|
|
|
4264 |
lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
|
|
|
4265 |
;;
|
5572 |
;;
|
4266 |
*)
|
5573 |
*)
|
4267 |
case $LD in
|
5574 |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
|
4268 |
*-32|*"-32 ") libmagic=32-bit;;
|
5575 |
lt_cv_file_magic_test_file=/usr/lib/libc.sl
|
4269 |
*-n32|*"-n32 ") libmagic=N32;;
|
|
|
4270 |
*-64|*"-64 ") libmagic=64-bit;;
|
|
|
4271 |
*) libmagic=never-match;;
|
|
|
4272 |
esac
|
|
|
4273 |
# this will be overridden with pass_all, but let us keep it just in case
|
|
|
4274 |
lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
|
|
|
4275 |
;;
|
5576 |
;;
|
4276 |
esac
|
5577 |
esac
|
4277 |
lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
|
5578 |
;;
|
|
|
5579 |
|
|
|
5580 |
interix[3-9]*)
|
|
|
5581 |
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
|
|
|
5582 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
|
|
|
5583 |
;;
|
|
|
5584 |
|
|
|
5585 |
irix5* | irix6* | nonstopux*)
|
|
|
5586 |
case $LD in
|
|
|
5587 |
*-32|*"-32 ") libmagic=32-bit;;
|
|
|
5588 |
*-n32|*"-n32 ") libmagic=N32;;
|
|
|
5589 |
*-64|*"-64 ") libmagic=64-bit;;
|
|
|
5590 |
*) libmagic=never-match;;
|
|
|
5591 |
esac
|
4278 |
lt_cv_deplibs_check_method=pass_all
|
5592 |
lt_cv_deplibs_check_method=pass_all
|
4279 |
;;
|
5593 |
;;
|
4280 |
|
5594 |
|
4281 |
# This must be Linux ELF.
|
5595 |
# This must be glibc/ELF.
|
4282 |
linux-gnu*)
|
5596 |
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
4283 |
case $host_cpu in
|
|
|
4284 |
alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*)
|
|
|
4285 |
lt_cv_deplibs_check_method=pass_all ;;
|
5597 |
lt_cv_deplibs_check_method=pass_all
|
4286 |
*)
|
|
|
4287 |
# glibc up to 2.1.1 does not perform some relocations on ARM
|
|
|
4288 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
|
|
|
4289 |
esac
|
|
|
4290 |
lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
|
|
|
4291 |
;;
|
5598 |
;;
|
4292 |
|
5599 |
|
4293 |
netbsd*)
|
5600 |
netbsd*)
|
4294 |
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
|
5601 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
|
4295 |
lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
|
5602 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
|
4296 |
else
|
5603 |
else
|
4297 |
lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
|
5604 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
|
4298 |
fi
|
5605 |
fi
|
4299 |
;;
|
5606 |
;;
|
4300 |
|
5607 |
|
4301 |
newos6*)
|
5608 |
newos6*)
|
4302 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
|
5609 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
|
4303 |
lt_cv_file_magic_cmd=/usr/bin/file
|
5610 |
lt_cv_file_magic_cmd=/usr/bin/file
|
4304 |
lt_cv_file_magic_test_file=/usr/lib/libnls.so
|
5611 |
lt_cv_file_magic_test_file=/usr/lib/libnls.so
|
4305 |
;;
|
5612 |
;;
|
4306 |
|
5613 |
|
|
|
5614 |
*nto* | *qnx*)
|
|
|
5615 |
lt_cv_deplibs_check_method=pass_all
|
|
|
5616 |
;;
|
|
|
5617 |
|
4307 |
openbsd*)
|
5618 |
openbsd*)
|
4308 |
lt_cv_file_magic_cmd=/usr/bin/file
|
|
|
4309 |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
|
|
|
4310 |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
5619 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
4311 |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
|
5620 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
|
4312 |
else
|
5621 |
else
|
4313 |
lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
|
5622 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
|
4314 |
fi
|
5623 |
fi
|
4315 |
;;
|
5624 |
;;
|
4316 |
|
5625 |
|
4317 |
osf3* | osf4* | osf5*)
|
5626 |
osf3* | osf4* | osf5*)
|
4318 |
# this will be overridden with pass_all, but let us keep it just in case
|
|
|
4319 |
lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
|
|
|
4320 |
lt_cv_file_magic_test_file=/shlib/libc.so
|
|
|
4321 |
lt_cv_deplibs_check_method=pass_all
|
5627 |
lt_cv_deplibs_check_method=pass_all
|
4322 |
;;
|
5628 |
;;
|
4323 |
|
5629 |
|
4324 |
sco3.2v5*)
|
5630 |
rdos*)
|
4325 |
lt_cv_deplibs_check_method=pass_all
|
5631 |
lt_cv_deplibs_check_method=pass_all
|
4326 |
;;
|
5632 |
;;
|
4327 |
|
5633 |
|
4328 |
solaris*)
|
5634 |
solaris*)
|
4329 |
lt_cv_deplibs_check_method=pass_all
|
5635 |
lt_cv_deplibs_check_method=pass_all
|
4330 |
lt_cv_file_magic_test_file=/lib/libc.so
|
|
|
4331 |
;;
|
5636 |
;;
|
4332 |
|
5637 |
|
4333 |
sysv5uw[78]* | sysv4*uw2*)
|
5638 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
|
4334 |
lt_cv_deplibs_check_method=pass_all
|
5639 |
lt_cv_deplibs_check_method=pass_all
|
4335 |
;;
|
5640 |
;;
|
4336 |
|
5641 |
|
4337 |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
|
5642 |
sysv4 | sysv4.3*)
|
4338 |
case $host_vendor in
|
5643 |
case $host_vendor in
|
4339 |
motorola)
|
5644 |
motorola)
|
4340 |
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]'
|
5645 |
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]'
|
4341 |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
|
5646 |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
|
4342 |
;;
|
5647 |
;;
|
|
... |
|
... |
4353 |
lt_cv_file_magic_test_file=/lib/libc.so
|
5658 |
lt_cv_file_magic_test_file=/lib/libc.so
|
4354 |
;;
|
5659 |
;;
|
4355 |
siemens)
|
5660 |
siemens)
|
4356 |
lt_cv_deplibs_check_method=pass_all
|
5661 |
lt_cv_deplibs_check_method=pass_all
|
4357 |
;;
|
5662 |
;;
|
|
|
5663 |
pc)
|
|
|
5664 |
lt_cv_deplibs_check_method=pass_all
|
|
|
5665 |
;;
|
4358 |
esac
|
5666 |
esac
|
4359 |
;;
|
5667 |
;;
|
|
|
5668 |
|
|
|
5669 |
tpf*)
|
|
|
5670 |
lt_cv_deplibs_check_method=pass_all
|
|
|
5671 |
;;
|
4360 |
esac
|
5672 |
esac
|
4361 |
|
5673 |
|
4362 |
fi
|
5674 |
fi
|
4363 |
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
|
5675 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
|
4364 |
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
|
5676 |
$as_echo "$lt_cv_deplibs_check_method" >&6; }
|
|
|
5677 |
|
|
|
5678 |
file_magic_glob=
|
|
|
5679 |
want_nocaseglob=no
|
|
|
5680 |
if test "$build" = "$host"; then
|
|
|
5681 |
case $host_os in
|
|
|
5682 |
mingw* | pw32*)
|
|
|
5683 |
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
|
|
|
5684 |
want_nocaseglob=yes
|
|
|
5685 |
else
|
|
|
5686 |
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
|
|
|
5687 |
fi
|
|
|
5688 |
;;
|
|
|
5689 |
esac
|
|
|
5690 |
fi
|
|
|
5691 |
|
4365 |
file_magic_cmd=$lt_cv_file_magic_cmd
|
5692 |
file_magic_cmd=$lt_cv_file_magic_cmd
|
4366 |
deplibs_check_method=$lt_cv_deplibs_check_method
|
5693 |
deplibs_check_method=$lt_cv_deplibs_check_method
|
|
|
5694 |
test -z "$deplibs_check_method" && deplibs_check_method=unknown
|
4367 |
|
5695 |
|
4368 |
|
5696 |
|
4369 |
|
5697 |
|
4370 |
|
5698 |
|
4371 |
|
5699 |
|
|
|
5700 |
|
|
|
5701 |
|
|
|
5702 |
|
|
|
5703 |
|
|
|
5704 |
|
|
|
5705 |
|
|
|
5706 |
|
|
|
5707 |
|
|
|
5708 |
|
|
|
5709 |
|
|
|
5710 |
|
|
|
5711 |
|
|
|
5712 |
|
|
|
5713 |
|
|
|
5714 |
|
|
|
5715 |
|
|
|
5716 |
|
|
|
5717 |
if test -n "$ac_tool_prefix"; then
|
|
|
5718 |
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
|
|
|
5719 |
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
|
|
|
5720 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
|
5721 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
|
5722 |
if ${ac_cv_prog_DLLTOOL+:} false; then :
|
|
|
5723 |
$as_echo_n "(cached) " >&6
|
|
|
5724 |
else
|
|
|
5725 |
if test -n "$DLLTOOL"; then
|
|
|
5726 |
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
|
|
|
5727 |
else
|
|
|
5728 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
|
5729 |
for as_dir in $PATH
|
|
|
5730 |
do
|
|
|
5731 |
IFS=$as_save_IFS
|
|
|
5732 |
test -z "$as_dir" && as_dir=.
|
|
|
5733 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
5734 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
5735 |
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
|
|
|
5736 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
5737 |
break 2
|
|
|
5738 |
fi
|
|
|
5739 |
done
|
|
|
5740 |
done
|
|
|
5741 |
IFS=$as_save_IFS
|
|
|
5742 |
|
|
|
5743 |
fi
|
|
|
5744 |
fi
|
|
|
5745 |
DLLTOOL=$ac_cv_prog_DLLTOOL
|
|
|
5746 |
if test -n "$DLLTOOL"; then
|
|
|
5747 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
|
|
|
5748 |
$as_echo "$DLLTOOL" >&6; }
|
|
|
5749 |
else
|
|
|
5750 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
5751 |
$as_echo "no" >&6; }
|
|
|
5752 |
fi
|
|
|
5753 |
|
|
|
5754 |
|
|
|
5755 |
fi
|
|
|
5756 |
if test -z "$ac_cv_prog_DLLTOOL"; then
|
|
|
5757 |
ac_ct_DLLTOOL=$DLLTOOL
|
|
|
5758 |
# Extract the first word of "dlltool", so it can be a program name with args.
|
|
|
5759 |
set dummy dlltool; ac_word=$2
|
|
|
5760 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
|
5761 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
|
5762 |
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
|
|
|
5763 |
$as_echo_n "(cached) " >&6
|
|
|
5764 |
else
|
|
|
5765 |
if test -n "$ac_ct_DLLTOOL"; then
|
|
|
5766 |
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
|
|
|
5767 |
else
|
|
|
5768 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
|
5769 |
for as_dir in $PATH
|
|
|
5770 |
do
|
|
|
5771 |
IFS=$as_save_IFS
|
|
|
5772 |
test -z "$as_dir" && as_dir=.
|
|
|
5773 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
5774 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
5775 |
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
|
|
|
5776 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
5777 |
break 2
|
|
|
5778 |
fi
|
|
|
5779 |
done
|
|
|
5780 |
done
|
|
|
5781 |
IFS=$as_save_IFS
|
|
|
5782 |
|
|
|
5783 |
fi
|
|
|
5784 |
fi
|
|
|
5785 |
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
|
|
|
5786 |
if test -n "$ac_ct_DLLTOOL"; then
|
|
|
5787 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
|
|
|
5788 |
$as_echo "$ac_ct_DLLTOOL" >&6; }
|
|
|
5789 |
else
|
|
|
5790 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
5791 |
$as_echo "no" >&6; }
|
|
|
5792 |
fi
|
|
|
5793 |
|
|
|
5794 |
if test "x$ac_ct_DLLTOOL" = x; then
|
|
|
5795 |
DLLTOOL="false"
|
|
|
5796 |
else
|
|
|
5797 |
case $cross_compiling:$ac_tool_warned in
|
|
|
5798 |
yes:)
|
|
|
5799 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
|
5800 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
|
5801 |
ac_tool_warned=yes ;;
|
|
|
5802 |
esac
|
|
|
5803 |
DLLTOOL=$ac_ct_DLLTOOL
|
|
|
5804 |
fi
|
|
|
5805 |
else
|
|
|
5806 |
DLLTOOL="$ac_cv_prog_DLLTOOL"
|
|
|
5807 |
fi
|
|
|
5808 |
|
|
|
5809 |
test -z "$DLLTOOL" && DLLTOOL=dlltool
|
|
|
5810 |
|
|
|
5811 |
|
|
|
5812 |
|
|
|
5813 |
|
|
|
5814 |
|
|
|
5815 |
|
|
|
5816 |
|
|
|
5817 |
|
|
|
5818 |
|
|
|
5819 |
|
|
|
5820 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
|
|
|
5821 |
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
|
|
|
5822 |
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
|
|
|
5823 |
$as_echo_n "(cached) " >&6
|
|
|
5824 |
else
|
|
|
5825 |
lt_cv_sharedlib_from_linklib_cmd='unknown'
|
|
|
5826 |
|
|
|
5827 |
case $host_os in
|
|
|
5828 |
cygwin* | mingw* | pw32* | cegcc*)
|
|
|
5829 |
# two different shell functions defined in ltmain.sh
|
|
|
5830 |
# decide which to use based on capabilities of $DLLTOOL
|
|
|
5831 |
case `$DLLTOOL --help 2>&1` in
|
|
|
5832 |
*--identify-strict*)
|
|
|
5833 |
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
|
|
|
5834 |
;;
|
|
|
5835 |
*)
|
|
|
5836 |
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
|
|
|
5837 |
;;
|
|
|
5838 |
esac
|
|
|
5839 |
;;
|
|
|
5840 |
*)
|
|
|
5841 |
# fallback: assume linklib IS sharedlib
|
|
|
5842 |
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
|
|
|
5843 |
;;
|
|
|
5844 |
esac
|
|
|
5845 |
|
|
|
5846 |
fi
|
|
|
5847 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
|
|
|
5848 |
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
|
|
|
5849 |
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
|
|
|
5850 |
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
|
|
|
5851 |
|
|
|
5852 |
|
|
|
5853 |
|
|
|
5854 |
|
|
|
5855 |
|
|
|
5856 |
|
|
|
5857 |
|
|
|
5858 |
if test -n "$ac_tool_prefix"; then
|
|
|
5859 |
for ac_prog in ar
|
|
|
5860 |
do
|
|
|
5861 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
|
|
5862 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
|
|
5863 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
|
5864 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
|
5865 |
if ${ac_cv_prog_AR+:} false; then :
|
|
|
5866 |
$as_echo_n "(cached) " >&6
|
|
|
5867 |
else
|
|
|
5868 |
if test -n "$AR"; then
|
|
|
5869 |
ac_cv_prog_AR="$AR" # Let the user override the test.
|
|
|
5870 |
else
|
|
|
5871 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
|
5872 |
for as_dir in $PATH
|
|
|
5873 |
do
|
|
|
5874 |
IFS=$as_save_IFS
|
|
|
5875 |
test -z "$as_dir" && as_dir=.
|
|
|
5876 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
5877 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
5878 |
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
|
|
|
5879 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
5880 |
break 2
|
|
|
5881 |
fi
|
|
|
5882 |
done
|
|
|
5883 |
done
|
|
|
5884 |
IFS=$as_save_IFS
|
|
|
5885 |
|
|
|
5886 |
fi
|
|
|
5887 |
fi
|
|
|
5888 |
AR=$ac_cv_prog_AR
|
|
|
5889 |
if test -n "$AR"; then
|
|
|
5890 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
|
|
|
5891 |
$as_echo "$AR" >&6; }
|
|
|
5892 |
else
|
|
|
5893 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
5894 |
$as_echo "no" >&6; }
|
|
|
5895 |
fi
|
|
|
5896 |
|
|
|
5897 |
|
|
|
5898 |
test -n "$AR" && break
|
|
|
5899 |
done
|
|
|
5900 |
fi
|
|
|
5901 |
if test -z "$AR"; then
|
|
|
5902 |
ac_ct_AR=$AR
|
|
|
5903 |
for ac_prog in ar
|
|
|
5904 |
do
|
|
|
5905 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
|
5906 |
set dummy $ac_prog; ac_word=$2
|
|
|
5907 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
|
5908 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
|
5909 |
if ${ac_cv_prog_ac_ct_AR+:} false; then :
|
|
|
5910 |
$as_echo_n "(cached) " >&6
|
|
|
5911 |
else
|
|
|
5912 |
if test -n "$ac_ct_AR"; then
|
|
|
5913 |
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
|
|
|
5914 |
else
|
|
|
5915 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
|
5916 |
for as_dir in $PATH
|
|
|
5917 |
do
|
|
|
5918 |
IFS=$as_save_IFS
|
|
|
5919 |
test -z "$as_dir" && as_dir=.
|
|
|
5920 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
5921 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
5922 |
ac_cv_prog_ac_ct_AR="$ac_prog"
|
|
|
5923 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
5924 |
break 2
|
|
|
5925 |
fi
|
|
|
5926 |
done
|
|
|
5927 |
done
|
|
|
5928 |
IFS=$as_save_IFS
|
|
|
5929 |
|
|
|
5930 |
fi
|
|
|
5931 |
fi
|
|
|
5932 |
ac_ct_AR=$ac_cv_prog_ac_ct_AR
|
|
|
5933 |
if test -n "$ac_ct_AR"; then
|
|
|
5934 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
|
|
|
5935 |
$as_echo "$ac_ct_AR" >&6; }
|
|
|
5936 |
else
|
|
|
5937 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
5938 |
$as_echo "no" >&6; }
|
|
|
5939 |
fi
|
|
|
5940 |
|
|
|
5941 |
|
|
|
5942 |
test -n "$ac_ct_AR" && break
|
|
|
5943 |
done
|
|
|
5944 |
|
|
|
5945 |
if test "x$ac_ct_AR" = x; then
|
|
|
5946 |
AR="false"
|
|
|
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 |
AR=$ac_ct_AR
|
|
|
5955 |
fi
|
|
|
5956 |
fi
|
|
|
5957 |
|
|
|
5958 |
: ${AR=ar}
|
|
|
5959 |
: ${AR_FLAGS=cru}
|
|
|
5960 |
|
|
|
5961 |
|
|
|
5962 |
|
|
|
5963 |
|
|
|
5964 |
|
|
|
5965 |
|
|
|
5966 |
|
|
|
5967 |
|
|
|
5968 |
|
|
|
5969 |
|
|
|
5970 |
|
|
|
5971 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
|
|
|
5972 |
$as_echo_n "checking for archiver @FILE support... " >&6; }
|
|
|
5973 |
if ${lt_cv_ar_at_file+:} false; then :
|
|
|
5974 |
$as_echo_n "(cached) " >&6
|
|
|
5975 |
else
|
|
|
5976 |
lt_cv_ar_at_file=no
|
|
|
5977 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
5978 |
/* end confdefs.h. */
|
|
|
5979 |
|
|
|
5980 |
int
|
|
|
5981 |
main ()
|
|
|
5982 |
{
|
|
|
5983 |
|
|
|
5984 |
;
|
|
|
5985 |
return 0;
|
|
|
5986 |
}
|
|
|
5987 |
_ACEOF
|
|
|
5988 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
|
5989 |
echo conftest.$ac_objext > conftest.lst
|
|
|
5990 |
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
|
|
|
5991 |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
|
|
|
5992 |
(eval $lt_ar_try) 2>&5
|
|
|
5993 |
ac_status=$?
|
|
|
5994 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
|
5995 |
test $ac_status = 0; }
|
|
|
5996 |
if test "$ac_status" -eq 0; then
|
|
|
5997 |
# Ensure the archiver fails upon bogus file names.
|
|
|
5998 |
rm -f conftest.$ac_objext libconftest.a
|
|
|
5999 |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
|
|
|
6000 |
(eval $lt_ar_try) 2>&5
|
|
|
6001 |
ac_status=$?
|
|
|
6002 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
|
6003 |
test $ac_status = 0; }
|
|
|
6004 |
if test "$ac_status" -ne 0; then
|
|
|
6005 |
lt_cv_ar_at_file=@
|
|
|
6006 |
fi
|
|
|
6007 |
fi
|
|
|
6008 |
rm -f conftest.* libconftest.a
|
|
|
6009 |
|
|
|
6010 |
fi
|
|
|
6011 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
6012 |
|
|
|
6013 |
fi
|
|
|
6014 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
|
|
|
6015 |
$as_echo "$lt_cv_ar_at_file" >&6; }
|
|
|
6016 |
|
|
|
6017 |
if test "x$lt_cv_ar_at_file" = xno; then
|
|
|
6018 |
archiver_list_spec=
|
|
|
6019 |
else
|
|
|
6020 |
archiver_list_spec=$lt_cv_ar_at_file
|
|
|
6021 |
fi
|
|
|
6022 |
|
|
|
6023 |
|
|
|
6024 |
|
|
|
6025 |
|
|
|
6026 |
|
|
|
6027 |
|
|
|
6028 |
|
|
|
6029 |
if test -n "$ac_tool_prefix"; then
|
|
|
6030 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
|
|
6031 |
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
|
|
6032 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
|
6033 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
|
6034 |
if ${ac_cv_prog_STRIP+:} false; then :
|
|
|
6035 |
$as_echo_n "(cached) " >&6
|
|
|
6036 |
else
|
|
|
6037 |
if test -n "$STRIP"; then
|
|
|
6038 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
|
|
6039 |
else
|
|
|
6040 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
|
6041 |
for as_dir in $PATH
|
|
|
6042 |
do
|
|
|
6043 |
IFS=$as_save_IFS
|
|
|
6044 |
test -z "$as_dir" && as_dir=.
|
|
|
6045 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
6046 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
6047 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
|
|
6048 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
6049 |
break 2
|
|
|
6050 |
fi
|
|
|
6051 |
done
|
|
|
6052 |
done
|
|
|
6053 |
IFS=$as_save_IFS
|
|
|
6054 |
|
|
|
6055 |
fi
|
|
|
6056 |
fi
|
|
|
6057 |
STRIP=$ac_cv_prog_STRIP
|
|
|
6058 |
if test -n "$STRIP"; then
|
|
|
6059 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
|
|
6060 |
$as_echo "$STRIP" >&6; }
|
|
|
6061 |
else
|
|
|
6062 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
6063 |
$as_echo "no" >&6; }
|
|
|
6064 |
fi
|
|
|
6065 |
|
|
|
6066 |
|
|
|
6067 |
fi
|
|
|
6068 |
if test -z "$ac_cv_prog_STRIP"; then
|
|
|
6069 |
ac_ct_STRIP=$STRIP
|
|
|
6070 |
# Extract the first word of "strip", so it can be a program name with args.
|
|
|
6071 |
set dummy strip; ac_word=$2
|
|
|
6072 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
|
6073 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
|
6074 |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
|
|
|
6075 |
$as_echo_n "(cached) " >&6
|
|
|
6076 |
else
|
|
|
6077 |
if test -n "$ac_ct_STRIP"; then
|
|
|
6078 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
|
|
6079 |
else
|
|
|
6080 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
|
6081 |
for as_dir in $PATH
|
|
|
6082 |
do
|
|
|
6083 |
IFS=$as_save_IFS
|
|
|
6084 |
test -z "$as_dir" && as_dir=.
|
|
|
6085 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
6086 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
6087 |
ac_cv_prog_ac_ct_STRIP="strip"
|
|
|
6088 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
6089 |
break 2
|
|
|
6090 |
fi
|
|
|
6091 |
done
|
|
|
6092 |
done
|
|
|
6093 |
IFS=$as_save_IFS
|
|
|
6094 |
|
|
|
6095 |
fi
|
|
|
6096 |
fi
|
|
|
6097 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
|
|
6098 |
if test -n "$ac_ct_STRIP"; then
|
|
|
6099 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
|
|
6100 |
$as_echo "$ac_ct_STRIP" >&6; }
|
|
|
6101 |
else
|
|
|
6102 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
6103 |
$as_echo "no" >&6; }
|
|
|
6104 |
fi
|
|
|
6105 |
|
|
|
6106 |
if test "x$ac_ct_STRIP" = x; then
|
|
|
6107 |
STRIP=":"
|
|
|
6108 |
else
|
|
|
6109 |
case $cross_compiling:$ac_tool_warned in
|
|
|
6110 |
yes:)
|
|
|
6111 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
|
6112 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
|
6113 |
ac_tool_warned=yes ;;
|
|
|
6114 |
esac
|
|
|
6115 |
STRIP=$ac_ct_STRIP
|
|
|
6116 |
fi
|
|
|
6117 |
else
|
|
|
6118 |
STRIP="$ac_cv_prog_STRIP"
|
|
|
6119 |
fi
|
|
|
6120 |
|
|
|
6121 |
test -z "$STRIP" && STRIP=:
|
|
|
6122 |
|
|
|
6123 |
|
|
|
6124 |
|
|
|
6125 |
|
|
|
6126 |
|
|
|
6127 |
|
|
|
6128 |
if test -n "$ac_tool_prefix"; then
|
|
|
6129 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
|
|
6130 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
|
|
6131 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
|
6132 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
|
6133 |
if ${ac_cv_prog_RANLIB+:} false; then :
|
|
|
6134 |
$as_echo_n "(cached) " >&6
|
|
|
6135 |
else
|
|
|
6136 |
if test -n "$RANLIB"; then
|
|
|
6137 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
|
|
6138 |
else
|
|
|
6139 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
|
6140 |
for as_dir in $PATH
|
|
|
6141 |
do
|
|
|
6142 |
IFS=$as_save_IFS
|
|
|
6143 |
test -z "$as_dir" && as_dir=.
|
|
|
6144 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
6145 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
6146 |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
|
|
6147 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
6148 |
break 2
|
|
|
6149 |
fi
|
|
|
6150 |
done
|
|
|
6151 |
done
|
|
|
6152 |
IFS=$as_save_IFS
|
|
|
6153 |
|
|
|
6154 |
fi
|
|
|
6155 |
fi
|
|
|
6156 |
RANLIB=$ac_cv_prog_RANLIB
|
|
|
6157 |
if test -n "$RANLIB"; then
|
|
|
6158 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
|
|
|
6159 |
$as_echo "$RANLIB" >&6; }
|
|
|
6160 |
else
|
|
|
6161 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
6162 |
$as_echo "no" >&6; }
|
|
|
6163 |
fi
|
|
|
6164 |
|
|
|
6165 |
|
|
|
6166 |
fi
|
|
|
6167 |
if test -z "$ac_cv_prog_RANLIB"; then
|
|
|
6168 |
ac_ct_RANLIB=$RANLIB
|
|
|
6169 |
# Extract the first word of "ranlib", so it can be a program name with args.
|
|
|
6170 |
set dummy ranlib; ac_word=$2
|
|
|
6171 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
|
6172 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
|
6173 |
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
|
|
|
6174 |
$as_echo_n "(cached) " >&6
|
|
|
6175 |
else
|
|
|
6176 |
if test -n "$ac_ct_RANLIB"; then
|
|
|
6177 |
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
|
|
6178 |
else
|
|
|
6179 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
|
6180 |
for as_dir in $PATH
|
|
|
6181 |
do
|
|
|
6182 |
IFS=$as_save_IFS
|
|
|
6183 |
test -z "$as_dir" && as_dir=.
|
|
|
6184 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
6185 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
6186 |
ac_cv_prog_ac_ct_RANLIB="ranlib"
|
|
|
6187 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
6188 |
break 2
|
|
|
6189 |
fi
|
|
|
6190 |
done
|
|
|
6191 |
done
|
|
|
6192 |
IFS=$as_save_IFS
|
|
|
6193 |
|
|
|
6194 |
fi
|
|
|
6195 |
fi
|
|
|
6196 |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
|
|
6197 |
if test -n "$ac_ct_RANLIB"; then
|
|
|
6198 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
|
|
|
6199 |
$as_echo "$ac_ct_RANLIB" >&6; }
|
|
|
6200 |
else
|
|
|
6201 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
6202 |
$as_echo "no" >&6; }
|
|
|
6203 |
fi
|
|
|
6204 |
|
|
|
6205 |
if test "x$ac_ct_RANLIB" = x; then
|
|
|
6206 |
RANLIB=":"
|
|
|
6207 |
else
|
|
|
6208 |
case $cross_compiling:$ac_tool_warned in
|
|
|
6209 |
yes:)
|
|
|
6210 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
|
6211 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
|
6212 |
ac_tool_warned=yes ;;
|
|
|
6213 |
esac
|
|
|
6214 |
RANLIB=$ac_ct_RANLIB
|
|
|
6215 |
fi
|
|
|
6216 |
else
|
|
|
6217 |
RANLIB="$ac_cv_prog_RANLIB"
|
|
|
6218 |
fi
|
|
|
6219 |
|
|
|
6220 |
test -z "$RANLIB" && RANLIB=:
|
|
|
6221 |
|
|
|
6222 |
|
|
|
6223 |
|
|
|
6224 |
|
|
|
6225 |
|
|
|
6226 |
|
|
|
6227 |
# Determine commands to create old-style static archives.
|
|
|
6228 |
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
|
|
|
6229 |
old_postinstall_cmds='chmod 644 $oldlib'
|
|
|
6230 |
old_postuninstall_cmds=
|
|
|
6231 |
|
|
|
6232 |
if test -n "$RANLIB"; then
|
|
|
6233 |
case $host_os in
|
|
|
6234 |
openbsd*)
|
|
|
6235 |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
|
|
|
6236 |
;;
|
|
|
6237 |
*)
|
|
|
6238 |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
|
|
|
6239 |
;;
|
|
|
6240 |
esac
|
|
|
6241 |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
|
|
|
6242 |
fi
|
|
|
6243 |
|
|
|
6244 |
case $host_os in
|
|
|
6245 |
darwin*)
|
|
|
6246 |
lock_old_archive_extraction=yes ;;
|
|
|
6247 |
*)
|
|
|
6248 |
lock_old_archive_extraction=no ;;
|
|
|
6249 |
esac
|
|
|
6250 |
|
|
|
6251 |
|
|
|
6252 |
|
|
|
6253 |
|
|
|
6254 |
|
|
|
6255 |
|
|
|
6256 |
|
|
|
6257 |
|
|
|
6258 |
|
|
|
6259 |
|
|
|
6260 |
|
|
|
6261 |
|
|
|
6262 |
|
|
|
6263 |
|
|
|
6264 |
|
|
|
6265 |
|
|
|
6266 |
|
|
|
6267 |
|
|
|
6268 |
|
|
|
6269 |
|
|
|
6270 |
|
|
|
6271 |
|
|
|
6272 |
|
|
|
6273 |
|
|
|
6274 |
|
|
|
6275 |
|
|
|
6276 |
|
|
|
6277 |
|
|
|
6278 |
|
|
|
6279 |
|
|
|
6280 |
|
|
|
6281 |
|
|
|
6282 |
|
|
|
6283 |
|
|
|
6284 |
|
|
|
6285 |
|
|
|
6286 |
|
|
|
6287 |
|
|
|
6288 |
|
|
|
6289 |
# If no C compiler was specified, use CC.
|
|
|
6290 |
LTCC=${LTCC-"$CC"}
|
|
|
6291 |
|
|
|
6292 |
# If no C compiler flags were specified, use CFLAGS.
|
|
|
6293 |
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
|
|
|
6294 |
|
|
|
6295 |
# Allow CC to be a program name with arguments.
|
|
|
6296 |
compiler=$CC
|
4372 |
|
6297 |
|
4373 |
|
6298 |
|
4374 |
# Check for command to grab the raw symbol name followed by C symbol from nm.
|
6299 |
# Check for command to grab the raw symbol name followed by C symbol from nm.
|
4375 |
{ echo "$as_me:$LINENO: checking command to parse $NM output" >&5
|
6300 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
|
4376 |
echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6; }
|
6301 |
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
|
4377 |
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
|
6302 |
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
|
4378 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6303 |
$as_echo_n "(cached) " >&6
|
4379 |
else
|
6304 |
else
|
4380 |
|
6305 |
|
4381 |
# These are sane defaults that work on at least a few old systems.
|
6306 |
# These are sane defaults that work on at least a few old systems.
|
4382 |
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
|
6307 |
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
|
4383 |
|
6308 |
|
4384 |
# Character class describing NM global symbol codes.
|
6309 |
# Character class describing NM global symbol codes.
|
4385 |
symcode='[BCDEGRST]'
|
6310 |
symcode='[BCDEGRST]'
|
4386 |
|
6311 |
|
4387 |
# Regexp to match symbols that can be accessed directly from C.
|
6312 |
# Regexp to match symbols that can be accessed directly from C.
|
4388 |
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
|
6313 |
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
|
4389 |
|
|
|
4390 |
# Transform the above into a raw symbol and a C symbol.
|
|
|
4391 |
symxfrm='\1 \2\3 \3'
|
|
|
4392 |
|
|
|
4393 |
# Transform an extracted symbol line into a proper C declaration
|
|
|
4394 |
lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
|
|
|
4395 |
|
|
|
4396 |
# Transform an extracted symbol line into symbol name and symbol address
|
|
|
4397 |
lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
|
|
|
4398 |
|
6314 |
|
4399 |
# Define system-specific variables.
|
6315 |
# Define system-specific variables.
|
4400 |
case $host_os in
|
6316 |
case $host_os in
|
4401 |
aix*)
|
6317 |
aix*)
|
4402 |
symcode='[BCDT]'
|
6318 |
symcode='[BCDT]'
|
4403 |
;;
|
6319 |
;;
|
4404 |
cygwin* | mingw* | pw32*)
|
6320 |
cygwin* | mingw* | pw32* | cegcc*)
|
4405 |
symcode='[ABCDGISTW]'
|
6321 |
symcode='[ABCDGISTW]'
|
4406 |
;;
|
6322 |
;;
|
4407 |
hpux*) # Its linker distinguishes data from code symbols
|
6323 |
hpux*)
|
4408 |
lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
|
6324 |
if test "$host_cpu" = ia64; then
|
4409 |
lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
|
6325 |
symcode='[ABCDEGRST]'
|
|
|
6326 |
fi
|
4410 |
;;
|
6327 |
;;
|
4411 |
irix* | nonstopux*)
|
6328 |
irix* | nonstopux*)
|
4412 |
symcode='[BCDEGRST]'
|
6329 |
symcode='[BCDEGRST]'
|
4413 |
;;
|
6330 |
;;
|
4414 |
solaris* | sysv5*)
|
6331 |
osf*)
|
|
|
6332 |
symcode='[BCDEGQRST]'
|
|
|
6333 |
;;
|
|
|
6334 |
solaris*)
|
4415 |
symcode='[BDT]'
|
6335 |
symcode='[BDRT]'
|
|
|
6336 |
;;
|
|
|
6337 |
sco3.2v5*)
|
|
|
6338 |
symcode='[DT]'
|
|
|
6339 |
;;
|
|
|
6340 |
sysv4.2uw2*)
|
|
|
6341 |
symcode='[DT]'
|
|
|
6342 |
;;
|
|
|
6343 |
sysv5* | sco5v6* | unixware* | OpenUNIX*)
|
|
|
6344 |
symcode='[ABDT]'
|
4416 |
;;
|
6345 |
;;
|
4417 |
sysv4)
|
6346 |
sysv4)
|
4418 |
symcode='[DFNSTU]'
|
6347 |
symcode='[DFNSTU]'
|
4419 |
;;
|
6348 |
;;
|
4420 |
esac
|
6349 |
esac
|
4421 |
|
6350 |
|
|
|
6351 |
# If we're using GNU nm, then use its standard symbol codes.
|
|
|
6352 |
case `$NM -V 2>&1` in
|
|
|
6353 |
*GNU* | *'with BFD'*)
|
|
|
6354 |
symcode='[ABCDGIRSTW]' ;;
|
|
|
6355 |
esac
|
|
|
6356 |
|
|
|
6357 |
# Transform an extracted symbol line into a proper C declaration.
|
|
|
6358 |
# Some systems (esp. on ia64) link data and code symbols differently,
|
|
|
6359 |
# so use this general approach.
|
|
|
6360 |
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
|
|
|
6361 |
|
|
|
6362 |
# Transform an extracted symbol line into symbol name and symbol address
|
|
|
6363 |
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
|
|
|
6364 |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
|
|
|
6365 |
|
4422 |
# Handle CRLF in mingw tool chain
|
6366 |
# Handle CRLF in mingw tool chain
|
4423 |
opt_cr=
|
6367 |
opt_cr=
|
4424 |
case $host_os in
|
6368 |
case $build_os in
|
4425 |
mingw*)
|
6369 |
mingw*)
|
4426 |
opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
|
6370 |
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
|
4427 |
;;
|
6371 |
;;
|
4428 |
esac
|
6372 |
esac
|
4429 |
|
6373 |
|
4430 |
# If we're using GNU nm, then use its standard symbol codes.
|
|
|
4431 |
if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
|
|
|
4432 |
symcode='[ABCDGISTW]'
|
|
|
4433 |
fi
|
|
|
4434 |
|
|
|
4435 |
# Try without a prefix undercore, then with it.
|
6374 |
# Try without a prefix underscore, then with it.
|
4436 |
for ac_symprfx in "" "_"; do
|
6375 |
for ac_symprfx in "" "_"; do
|
4437 |
|
6376 |
|
|
|
6377 |
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
|
|
|
6378 |
symxfrm="\\1 $ac_symprfx\\2 \\2"
|
|
|
6379 |
|
4438 |
# Write the raw and C identifiers.
|
6380 |
# Write the raw and C identifiers.
|
|
|
6381 |
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
|
|
|
6382 |
# Fake it for dumpbin and say T for any non-static function
|
|
|
6383 |
# and D for any global variable.
|
|
|
6384 |
# Also find C++ and __fastcall symbols from MSVC++,
|
|
|
6385 |
# which start with @ or ?.
|
|
|
6386 |
lt_cv_sys_global_symbol_pipe="$AWK '"\
|
|
|
6387 |
" {last_section=section; section=\$ 3};"\
|
|
|
6388 |
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
|
|
|
6389 |
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
|
|
|
6390 |
" \$ 0!~/External *\|/{next};"\
|
|
|
6391 |
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
|
|
|
6392 |
" {if(hide[section]) next};"\
|
|
|
6393 |
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
|
|
|
6394 |
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
|
|
|
6395 |
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
|
|
|
6396 |
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
|
|
|
6397 |
" ' prfx=^$ac_symprfx"
|
|
|
6398 |
else
|
4439 |
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
|
6399 |
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
|
|
|
6400 |
fi
|
|
|
6401 |
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
|
4440 |
|
6402 |
|
4441 |
# Check to see that the pipe works correctly.
|
6403 |
# Check to see that the pipe works correctly.
|
4442 |
pipe_works=no
|
6404 |
pipe_works=no
|
|
|
6405 |
|
4443 |
rm -f conftest*
|
6406 |
rm -f conftest*
|
4444 |
cat > conftest.$ac_ext <<EOF
|
6407 |
cat > conftest.$ac_ext <<_LT_EOF
|
4445 |
#ifdef __cplusplus
|
6408 |
#ifdef __cplusplus
|
4446 |
extern "C" {
|
6409 |
extern "C" {
|
4447 |
#endif
|
6410 |
#endif
|
4448 |
char nm_test_var;
|
6411 |
char nm_test_var;
|
|
|
6412 |
void nm_test_func(void);
|
4449 |
void nm_test_func(){}
|
6413 |
void nm_test_func(void){}
|
4450 |
#ifdef __cplusplus
|
6414 |
#ifdef __cplusplus
|
4451 |
}
|
6415 |
}
|
4452 |
#endif
|
6416 |
#endif
|
4453 |
int main(){nm_test_var='a';nm_test_func();return(0);}
|
6417 |
int main(){nm_test_var='a';nm_test_func();return(0);}
|
4454 |
EOF
|
6418 |
_LT_EOF
|
4455 |
|
6419 |
|
4456 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
6420 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
4457 |
(eval $ac_compile) 2>&5
|
6421 |
(eval $ac_compile) 2>&5
|
4458 |
ac_status=$?
|
6422 |
ac_status=$?
|
4459 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6423 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
4460 |
(exit $ac_status); }; then
|
6424 |
test $ac_status = 0; }; then
|
4461 |
# Now try to grab the symbols.
|
6425 |
# Now try to grab the symbols.
|
4462 |
nlist=conftest.nm
|
6426 |
nlist=conftest.nm
|
4463 |
if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
|
6427 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
|
4464 |
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
|
6428 |
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
|
4465 |
ac_status=$?
|
6429 |
ac_status=$?
|
4466 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6430 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
4467 |
(exit $ac_status); } && test -s "$nlist"; then
|
6431 |
test $ac_status = 0; } && test -s "$nlist"; then
|
4468 |
# Try sorting and uniquifying the output.
|
6432 |
# Try sorting and uniquifying the output.
|
4469 |
if sort "$nlist" | uniq > "$nlist"T; then
|
6433 |
if sort "$nlist" | uniq > "$nlist"T; then
|
4470 |
mv -f "$nlist"T "$nlist"
|
6434 |
mv -f "$nlist"T "$nlist"
|
4471 |
else
|
6435 |
else
|
4472 |
rm -f "$nlist"T
|
6436 |
rm -f "$nlist"T
|
4473 |
fi
|
6437 |
fi
|
4474 |
|
6438 |
|
4475 |
# Make sure that we snagged all the symbols we need.
|
6439 |
# Make sure that we snagged all the symbols we need.
|
4476 |
if egrep ' nm_test_var$' "$nlist" >/dev/null; then
|
6440 |
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
|
4477 |
if egrep ' nm_test_func$' "$nlist" >/dev/null; then
|
6441 |
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
|
4478 |
cat <<EOF > conftest.$ac_ext
|
6442 |
cat <<_LT_EOF > conftest.$ac_ext
|
|
|
6443 |
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
|
|
|
6444 |
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
|
|
|
6445 |
/* DATA imports from DLLs on WIN32 con't be const, because runtime
|
|
|
6446 |
relocations are performed -- see ld's documentation on pseudo-relocs. */
|
|
|
6447 |
# define LT_DLSYM_CONST
|
|
|
6448 |
#elif defined(__osf__)
|
|
|
6449 |
/* This system does not cope well with relocations in const data. */
|
|
|
6450 |
# define LT_DLSYM_CONST
|
|
|
6451 |
#else
|
|
|
6452 |
# define LT_DLSYM_CONST const
|
|
|
6453 |
#endif
|
|
|
6454 |
|
4479 |
#ifdef __cplusplus
|
6455 |
#ifdef __cplusplus
|
4480 |
extern "C" {
|
6456 |
extern "C" {
|
4481 |
#endif
|
6457 |
#endif
|
4482 |
|
6458 |
|
4483 |
EOF
|
6459 |
_LT_EOF
|
4484 |
# Now generate the symbol file.
|
6460 |
# Now generate the symbol file.
|
4485 |
eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
|
6461 |
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
|
4486 |
|
6462 |
|
4487 |
cat <<EOF >> conftest.$ac_ext
|
6463 |
cat <<_LT_EOF >> conftest.$ac_ext
|
4488 |
#if defined (__STDC__) && __STDC__
|
6464 |
|
4489 |
# define lt_ptr void *
|
6465 |
/* The mapping between symbol names and symbols. */
|
4490 |
#else
|
6466 |
LT_DLSYM_CONST struct {
|
4491 |
# define lt_ptr char *
|
6467 |
const char *name;
|
4492 |
# define const
|
6468 |
void *address;
|
|
|
6469 |
}
|
|
|
6470 |
lt__PROGRAM__LTX_preloaded_symbols[] =
|
|
|
6471 |
{
|
|
|
6472 |
{ "@PROGRAM@", (void *) 0 },
|
|
|
6473 |
_LT_EOF
|
|
|
6474 |
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
|
|
|
6475 |
cat <<\_LT_EOF >> conftest.$ac_ext
|
|
|
6476 |
{0, (void *) 0}
|
|
|
6477 |
};
|
|
|
6478 |
|
|
|
6479 |
/* This works around a problem in FreeBSD linker */
|
|
|
6480 |
#ifdef FREEBSD_WORKAROUND
|
|
|
6481 |
static const void *lt_preloaded_setup() {
|
|
|
6482 |
return lt__PROGRAM__LTX_preloaded_symbols;
|
|
|
6483 |
}
|
4493 |
#endif
|
6484 |
#endif
|
4494 |
|
|
|
4495 |
/* The mapping between symbol names and symbols. */
|
|
|
4496 |
const struct {
|
|
|
4497 |
const char *name;
|
|
|
4498 |
lt_ptr address;
|
|
|
4499 |
}
|
|
|
4500 |
lt_preloaded_symbols[] =
|
|
|
4501 |
{
|
|
|
4502 |
EOF
|
|
|
4503 |
sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
|
|
|
4504 |
cat <<\EOF >> conftest.$ac_ext
|
|
|
4505 |
{0, (lt_ptr) 0}
|
|
|
4506 |
};
|
|
|
4507 |
|
6485 |
|
4508 |
#ifdef __cplusplus
|
6486 |
#ifdef __cplusplus
|
4509 |
}
|
6487 |
}
|
4510 |
#endif
|
6488 |
#endif
|
4511 |
EOF
|
6489 |
_LT_EOF
|
4512 |
# Now try linking the two files.
|
6490 |
# Now try linking the two files.
|
4513 |
mv conftest.$ac_objext conftstm.$ac_objext
|
6491 |
mv conftest.$ac_objext conftstm.$ac_objext
|
4514 |
save_LIBS="$LIBS"
|
6492 |
lt_globsym_save_LIBS=$LIBS
|
4515 |
save_CFLAGS="$CFLAGS"
|
6493 |
lt_globsym_save_CFLAGS=$CFLAGS
|
4516 |
LIBS="conftstm.$ac_objext"
|
6494 |
LIBS="conftstm.$ac_objext"
|
4517 |
CFLAGS="$CFLAGS$no_builtin_flag"
|
6495 |
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
|
4518 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
6496 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
|
4519 |
(eval $ac_link) 2>&5
|
6497 |
(eval $ac_link) 2>&5
|
4520 |
ac_status=$?
|
6498 |
ac_status=$?
|
4521 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6499 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
4522 |
(exit $ac_status); } && test -s conftest; then
|
6500 |
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
|
4523 |
pipe_works=yes
|
6501 |
pipe_works=yes
|
4524 |
fi
|
6502 |
fi
|
4525 |
LIBS="$save_LIBS"
|
6503 |
LIBS=$lt_globsym_save_LIBS
|
4526 |
CFLAGS="$save_CFLAGS"
|
6504 |
CFLAGS=$lt_globsym_save_CFLAGS
|
4527 |
else
|
6505 |
else
|
4528 |
echo "cannot find nm_test_func in $nlist" >&5
|
6506 |
echo "cannot find nm_test_func in $nlist" >&5
|
4529 |
fi
|
6507 |
fi
|
4530 |
else
|
6508 |
else
|
4531 |
echo "cannot find nm_test_var in $nlist" >&5
|
6509 |
echo "cannot find nm_test_var in $nlist" >&5
|
|
... |
|
... |
4535 |
fi
|
6513 |
fi
|
4536 |
else
|
6514 |
else
|
4537 |
echo "$progname: failed program was:" >&5
|
6515 |
echo "$progname: failed program was:" >&5
|
4538 |
cat conftest.$ac_ext >&5
|
6516 |
cat conftest.$ac_ext >&5
|
4539 |
fi
|
6517 |
fi
|
4540 |
rm -f conftest* conftst*
|
6518 |
rm -rf conftest* conftst*
|
4541 |
|
6519 |
|
4542 |
# Do not use the global_symbol_pipe unless it works.
|
6520 |
# Do not use the global_symbol_pipe unless it works.
|
4543 |
if test "$pipe_works" = yes; then
|
6521 |
if test "$pipe_works" = yes; then
|
4544 |
break
|
6522 |
break
|
4545 |
else
|
6523 |
else
|
|
... |
|
... |
4547 |
fi
|
6525 |
fi
|
4548 |
done
|
6526 |
done
|
4549 |
|
6527 |
|
4550 |
fi
|
6528 |
fi
|
4551 |
|
6529 |
|
4552 |
global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
|
|
|
4553 |
if test -z "$lt_cv_sys_global_symbol_pipe"; then
|
6530 |
if test -z "$lt_cv_sys_global_symbol_pipe"; then
|
4554 |
global_symbol_to_cdecl=
|
6531 |
lt_cv_sys_global_symbol_to_cdecl=
|
4555 |
global_symbol_to_c_name_address=
|
|
|
4556 |
else
|
|
|
4557 |
global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
|
|
|
4558 |
global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
|
|
|
4559 |
fi
|
6532 |
fi
|
4560 |
if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
|
6533 |
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
|
4561 |
then
|
|
|
4562 |
{ echo "$as_me:$LINENO: result: failed" >&5
|
6534 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
|
4563 |
echo "${ECHO_T}failed" >&6; }
|
6535 |
$as_echo "failed" >&6; }
|
4564 |
else
|
6536 |
else
|
4565 |
{ echo "$as_me:$LINENO: result: ok" >&5
|
6537 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
|
4566 |
echo "${ECHO_T}ok" >&6; }
|
6538 |
$as_echo "ok" >&6; }
|
|
|
6539 |
fi
|
|
|
6540 |
|
|
|
6541 |
# Response file support.
|
|
|
6542 |
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
|
|
|
6543 |
nm_file_list_spec='@'
|
|
|
6544 |
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
|
|
|
6545 |
nm_file_list_spec='@'
|
|
|
6546 |
fi
|
|
|
6547 |
|
|
|
6548 |
|
|
|
6549 |
|
|
|
6550 |
|
|
|
6551 |
|
|
|
6552 |
|
|
|
6553 |
|
|
|
6554 |
|
|
|
6555 |
|
|
|
6556 |
|
|
|
6557 |
|
|
|
6558 |
|
|
|
6559 |
|
|
|
6560 |
|
|
|
6561 |
|
|
|
6562 |
|
|
|
6563 |
|
|
|
6564 |
|
|
|
6565 |
|
|
|
6566 |
|
|
|
6567 |
|
|
|
6568 |
|
|
|
6569 |
|
|
|
6570 |
|
|
|
6571 |
|
|
|
6572 |
|
|
|
6573 |
|
|
|
6574 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
|
|
|
6575 |
$as_echo_n "checking for sysroot... " >&6; }
|
|
|
6576 |
|
|
|
6577 |
# Check whether --with-sysroot was given.
|
|
|
6578 |
if test "${with_sysroot+set}" = set; then :
|
|
|
6579 |
withval=$with_sysroot;
|
|
|
6580 |
else
|
|
|
6581 |
with_sysroot=no
|
|
|
6582 |
fi
|
|
|
6583 |
|
|
|
6584 |
|
|
|
6585 |
lt_sysroot=
|
|
|
6586 |
case ${with_sysroot} in #(
|
|
|
6587 |
yes)
|
|
|
6588 |
if test "$GCC" = yes; then
|
|
|
6589 |
lt_sysroot=`$CC --print-sysroot 2>/dev/null`
|
|
|
6590 |
fi
|
|
|
6591 |
;; #(
|
|
|
6592 |
/*)
|
|
|
6593 |
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
|
|
|
6594 |
;; #(
|
|
|
6595 |
no|'')
|
|
|
6596 |
;; #(
|
|
|
6597 |
*)
|
|
|
6598 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
|
|
|
6599 |
$as_echo "${with_sysroot}" >&6; }
|
|
|
6600 |
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
|
|
|
6601 |
;;
|
|
|
6602 |
esac
|
|
|
6603 |
|
|
|
6604 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
|
|
|
6605 |
$as_echo "${lt_sysroot:-no}" >&6; }
|
|
|
6606 |
|
|
|
6607 |
|
|
|
6608 |
|
|
|
6609 |
|
|
|
6610 |
|
|
|
6611 |
# Check whether --enable-libtool-lock was given.
|
|
|
6612 |
if test "${enable_libtool_lock+set}" = set; then :
|
|
|
6613 |
enableval=$enable_libtool_lock;
|
|
|
6614 |
fi
|
|
|
6615 |
|
|
|
6616 |
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
|
|
|
6617 |
|
|
|
6618 |
# Some flags need to be propagated to the compiler or linker for good
|
|
|
6619 |
# libtool support.
|
|
|
6620 |
case $host in
|
|
|
6621 |
ia64-*-hpux*)
|
|
|
6622 |
# Find out which ABI we are using.
|
|
|
6623 |
echo 'int i;' > conftest.$ac_ext
|
|
|
6624 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
|
|
6625 |
(eval $ac_compile) 2>&5
|
|
|
6626 |
ac_status=$?
|
|
|
6627 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
|
6628 |
test $ac_status = 0; }; then
|
|
|
6629 |
case `/usr/bin/file conftest.$ac_objext` in
|
|
|
6630 |
*ELF-32*)
|
|
|
6631 |
HPUX_IA64_MODE="32"
|
|
|
6632 |
;;
|
|
|
6633 |
*ELF-64*)
|
|
|
6634 |
HPUX_IA64_MODE="64"
|
|
|
6635 |
;;
|
|
|
6636 |
esac
|
4567 |
fi
|
6637 |
fi
|
|
|
6638 |
rm -rf conftest*
|
|
|
6639 |
;;
|
|
|
6640 |
*-*-irix6*)
|
|
|
6641 |
# Find out which ABI we are using.
|
|
|
6642 |
echo '#line '$LINENO' "configure"' > conftest.$ac_ext
|
|
|
6643 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
|
|
6644 |
(eval $ac_compile) 2>&5
|
|
|
6645 |
ac_status=$?
|
|
|
6646 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
|
6647 |
test $ac_status = 0; }; then
|
|
|
6648 |
if test "$lt_cv_prog_gnu_ld" = yes; then
|
|
|
6649 |
case `/usr/bin/file conftest.$ac_objext` in
|
|
|
6650 |
*32-bit*)
|
|
|
6651 |
LD="${LD-ld} -melf32bsmip"
|
|
|
6652 |
;;
|
|
|
6653 |
*N32*)
|
|
|
6654 |
LD="${LD-ld} -melf32bmipn32"
|
|
|
6655 |
;;
|
|
|
6656 |
*64-bit*)
|
|
|
6657 |
LD="${LD-ld} -melf64bmip"
|
|
|
6658 |
;;
|
|
|
6659 |
esac
|
|
|
6660 |
else
|
|
|
6661 |
case `/usr/bin/file conftest.$ac_objext` in
|
|
|
6662 |
*32-bit*)
|
|
|
6663 |
LD="${LD-ld} -32"
|
|
|
6664 |
;;
|
|
|
6665 |
*N32*)
|
|
|
6666 |
LD="${LD-ld} -n32"
|
|
|
6667 |
;;
|
|
|
6668 |
*64-bit*)
|
|
|
6669 |
LD="${LD-ld} -64"
|
|
|
6670 |
;;
|
|
|
6671 |
esac
|
|
|
6672 |
fi
|
|
|
6673 |
fi
|
|
|
6674 |
rm -rf conftest*
|
|
|
6675 |
;;
|
4568 |
|
6676 |
|
4569 |
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
6677 |
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
|
4570 |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
|
6678 |
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
|
4571 |
if test "${ac_cv_header_stdc+set}" = set; then
|
6679 |
# Find out which ABI we are using.
|
4572 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6680 |
echo 'int i;' > conftest.$ac_ext
|
|
|
6681 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
|
|
6682 |
(eval $ac_compile) 2>&5
|
|
|
6683 |
ac_status=$?
|
|
|
6684 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
|
6685 |
test $ac_status = 0; }; then
|
|
|
6686 |
case `/usr/bin/file conftest.o` in
|
|
|
6687 |
*32-bit*)
|
|
|
6688 |
case $host in
|
|
|
6689 |
x86_64-*kfreebsd*-gnu)
|
|
|
6690 |
LD="${LD-ld} -m elf_i386_fbsd"
|
|
|
6691 |
;;
|
|
|
6692 |
x86_64-*linux*)
|
|
|
6693 |
LD="${LD-ld} -m elf_i386"
|
|
|
6694 |
;;
|
|
|
6695 |
ppc64-*linux*|powerpc64-*linux*)
|
|
|
6696 |
LD="${LD-ld} -m elf32ppclinux"
|
|
|
6697 |
;;
|
|
|
6698 |
s390x-*linux*)
|
|
|
6699 |
LD="${LD-ld} -m elf_s390"
|
|
|
6700 |
;;
|
|
|
6701 |
sparc64-*linux*)
|
|
|
6702 |
LD="${LD-ld} -m elf32_sparc"
|
|
|
6703 |
;;
|
|
|
6704 |
esac
|
|
|
6705 |
;;
|
|
|
6706 |
*64-bit*)
|
|
|
6707 |
case $host in
|
|
|
6708 |
x86_64-*kfreebsd*-gnu)
|
|
|
6709 |
LD="${LD-ld} -m elf_x86_64_fbsd"
|
|
|
6710 |
;;
|
|
|
6711 |
x86_64-*linux*)
|
|
|
6712 |
LD="${LD-ld} -m elf_x86_64"
|
|
|
6713 |
;;
|
|
|
6714 |
ppc*-*linux*|powerpc*-*linux*)
|
|
|
6715 |
LD="${LD-ld} -m elf64ppc"
|
|
|
6716 |
;;
|
|
|
6717 |
s390*-*linux*|s390*-*tpf*)
|
|
|
6718 |
LD="${LD-ld} -m elf64_s390"
|
|
|
6719 |
;;
|
|
|
6720 |
sparc*-*linux*)
|
|
|
6721 |
LD="${LD-ld} -m elf64_sparc"
|
|
|
6722 |
;;
|
|
|
6723 |
esac
|
|
|
6724 |
;;
|
|
|
6725 |
esac
|
|
|
6726 |
fi
|
|
|
6727 |
rm -rf conftest*
|
|
|
6728 |
;;
|
|
|
6729 |
|
|
|
6730 |
*-*-sco3.2v5*)
|
|
|
6731 |
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
|
|
|
6732 |
SAVE_CFLAGS="$CFLAGS"
|
|
|
6733 |
CFLAGS="$CFLAGS -belf"
|
|
|
6734 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
|
|
|
6735 |
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
|
|
|
6736 |
if ${lt_cv_cc_needs_belf+:} false; then :
|
|
|
6737 |
$as_echo_n "(cached) " >&6
|
4573 |
else
|
6738 |
else
|
4574 |
cat >conftest.$ac_ext <<_ACEOF
|
6739 |
ac_ext=c
|
4575 |
/* confdefs.h. */
|
6740 |
ac_cpp='$CPP $CPPFLAGS'
|
4576 |
_ACEOF
|
6741 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
|
6742 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
|
6743 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
6744 |
|
4577 |
cat confdefs.h >>conftest.$ac_ext
|
6745 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4578 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
4579 |
/* end confdefs.h. */
|
6746 |
/* end confdefs.h. */
|
4580 |
#include <stdlib.h>
|
|
|
4581 |
#include <stdarg.h>
|
|
|
4582 |
#include <string.h>
|
|
|
4583 |
#include <float.h>
|
|
|
4584 |
|
6747 |
|
4585 |
int
|
6748 |
int
|
4586 |
main ()
|
6749 |
main ()
|
4587 |
{
|
6750 |
{
|
4588 |
|
6751 |
|
4589 |
;
|
6752 |
;
|
4590 |
return 0;
|
6753 |
return 0;
|
4591 |
}
|
6754 |
}
|
4592 |
_ACEOF
|
6755 |
_ACEOF
|
4593 |
rm -f conftest.$ac_objext
|
6756 |
if ac_fn_c_try_link "$LINENO"; then :
|
4594 |
if { (ac_try="$ac_compile"
|
6757 |
lt_cv_cc_needs_belf=yes
|
4595 |
case "(($ac_try" in
|
6758 |
else
|
4596 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
6759 |
lt_cv_cc_needs_belf=no
|
4597 |
*) ac_try_echo=$ac_try;;
|
6760 |
fi
|
4598 |
esac
|
6761 |
rm -f core conftest.err conftest.$ac_objext \
|
4599 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
6762 |
conftest$ac_exeext conftest.$ac_ext
|
|
|
6763 |
ac_ext=c
|
|
|
6764 |
ac_cpp='$CPP $CPPFLAGS'
|
|
|
6765 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
|
6766 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
|
6767 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
6768 |
|
|
|
6769 |
fi
|
|
|
6770 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
|
|
|
6771 |
$as_echo "$lt_cv_cc_needs_belf" >&6; }
|
|
|
6772 |
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
|
|
|
6773 |
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
|
|
|
6774 |
CFLAGS="$SAVE_CFLAGS"
|
|
|
6775 |
fi
|
|
|
6776 |
;;
|
|
|
6777 |
*-*solaris*)
|
|
|
6778 |
# Find out which ABI we are using.
|
|
|
6779 |
echo 'int i;' > conftest.$ac_ext
|
|
|
6780 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
4600 |
(eval "$ac_compile") 2>conftest.er1
|
6781 |
(eval $ac_compile) 2>&5
|
4601 |
ac_status=$?
|
6782 |
ac_status=$?
|
4602 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
4603 |
rm -f conftest.er1
|
|
|
4604 |
cat conftest.err >&5
|
|
|
4605 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6783 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
4606 |
(exit $ac_status); } && {
|
6784 |
test $ac_status = 0; }; then
|
4607 |
test -z "$ac_c_werror_flag" ||
|
6785 |
case `/usr/bin/file conftest.o` in
|
4608 |
test ! -s conftest.err
|
6786 |
*64-bit*)
|
4609 |
} && test -s conftest.$ac_objext; then
|
6787 |
case $lt_cv_prog_gnu_ld in
|
4610 |
ac_cv_header_stdc=yes
|
6788 |
yes*)
|
4611 |
else
|
6789 |
case $host in
|
4612 |
echo "$as_me: failed program was:" >&5
|
6790 |
i?86-*-solaris*)
|
4613 |
sed 's/^/| /' conftest.$ac_ext >&5
|
6791 |
LD="${LD-ld} -m elf_x86_64"
|
4614 |
|
6792 |
;;
|
4615 |
ac_cv_header_stdc=no
|
6793 |
sparc*-*-solaris*)
|
|
|
6794 |
LD="${LD-ld} -m elf64_sparc"
|
|
|
6795 |
;;
|
|
|
6796 |
esac
|
|
|
6797 |
# GNU ld 2.21 introduced _sol2 emulations. Use them if available.
|
|
|
6798 |
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
|
|
|
6799 |
LD="${LD-ld}_sol2"
|
|
|
6800 |
fi
|
|
|
6801 |
;;
|
|
|
6802 |
*)
|
|
|
6803 |
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
|
|
|
6804 |
LD="${LD-ld} -64"
|
4616 |
fi
|
6805 |
fi
|
4617 |
|
6806 |
;;
|
4618 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
6807 |
esac
|
4619 |
|
6808 |
;;
|
4620 |
if test $ac_cv_header_stdc = yes; then
|
6809 |
esac
|
4621 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
|
|
4622 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
4623 |
/* confdefs.h. */
|
|
|
4624 |
_ACEOF
|
|
|
4625 |
cat confdefs.h >>conftest.$ac_ext
|
|
|
4626 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
4627 |
/* end confdefs.h. */
|
|
|
4628 |
#include <string.h>
|
|
|
4629 |
|
|
|
4630 |
_ACEOF
|
|
|
4631 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
|
4632 |
$EGREP "memchr" >/dev/null 2>&1; then
|
|
|
4633 |
:
|
|
|
4634 |
else
|
|
|
4635 |
ac_cv_header_stdc=no
|
|
|
4636 |
fi
|
6810 |
fi
|
4637 |
rm -f conftest*
|
6811 |
rm -rf conftest*
|
4638 |
|
|
|
4639 |
fi
|
|
|
4640 |
|
|
|
4641 |
if test $ac_cv_header_stdc = yes; then
|
|
|
4642 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
|
|
4643 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
4644 |
/* confdefs.h. */
|
|
|
4645 |
_ACEOF
|
|
|
4646 |
cat confdefs.h >>conftest.$ac_ext
|
|
|
4647 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
4648 |
/* end confdefs.h. */
|
|
|
4649 |
#include <stdlib.h>
|
|
|
4650 |
|
|
|
4651 |
_ACEOF
|
|
|
4652 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
|
4653 |
$EGREP "free" >/dev/null 2>&1; then
|
|
|
4654 |
:
|
|
|
4655 |
else
|
|
|
4656 |
ac_cv_header_stdc=no
|
|
|
4657 |
fi
|
|
|
4658 |
rm -f conftest*
|
|
|
4659 |
|
|
|
4660 |
fi
|
|
|
4661 |
|
|
|
4662 |
if test $ac_cv_header_stdc = yes; then
|
|
|
4663 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
|
|
4664 |
if test "$cross_compiling" = yes; then
|
|
|
4665 |
:
|
|
|
4666 |
else
|
|
|
4667 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
4668 |
/* confdefs.h. */
|
|
|
4669 |
_ACEOF
|
|
|
4670 |
cat confdefs.h >>conftest.$ac_ext
|
|
|
4671 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
4672 |
/* end confdefs.h. */
|
|
|
4673 |
#include <ctype.h>
|
|
|
4674 |
#include <stdlib.h>
|
|
|
4675 |
#if ((' ' & 0x0FF) == 0x020)
|
|
|
4676 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
|
|
4677 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
|
|
4678 |
#else
|
|
|
4679 |
# define ISLOWER(c) \
|
|
|
4680 |
(('a' <= (c) && (c) <= 'i') \
|
|
|
4681 |
|| ('j' <= (c) && (c) <= 'r') \
|
|
|
4682 |
|| ('s' <= (c) && (c) <= 'z'))
|
|
|
4683 |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
|
|
4684 |
#endif
|
|
|
4685 |
|
|
|
4686 |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
|
|
4687 |
int
|
|
|
4688 |
main ()
|
|
|
4689 |
{
|
|
|
4690 |
int i;
|
|
|
4691 |
for (i = 0; i < 256; i++)
|
|
|
4692 |
if (XOR (islower (i), ISLOWER (i))
|
|
|
4693 |
|| toupper (i) != TOUPPER (i))
|
|
|
4694 |
return 2;
|
|
|
4695 |
return 0;
|
|
|
4696 |
}
|
|
|
4697 |
_ACEOF
|
|
|
4698 |
rm -f conftest$ac_exeext
|
|
|
4699 |
if { (ac_try="$ac_link"
|
|
|
4700 |
case "(($ac_try" in
|
|
|
4701 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
4702 |
*) ac_try_echo=$ac_try;;
|
|
|
4703 |
esac
|
|
|
4704 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
4705 |
(eval "$ac_link") 2>&5
|
|
|
4706 |
ac_status=$?
|
|
|
4707 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
4708 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
|
|
4709 |
{ (case "(($ac_try" in
|
|
|
4710 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
4711 |
*) ac_try_echo=$ac_try;;
|
|
|
4712 |
esac
|
|
|
4713 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
4714 |
(eval "$ac_try") 2>&5
|
|
|
4715 |
ac_status=$?
|
|
|
4716 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
4717 |
(exit $ac_status); }; }; then
|
|
|
4718 |
:
|
|
|
4719 |
else
|
|
|
4720 |
echo "$as_me: program exited with status $ac_status" >&5
|
|
|
4721 |
echo "$as_me: failed program was:" >&5
|
|
|
4722 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
4723 |
|
|
|
4724 |
( exit $ac_status )
|
|
|
4725 |
ac_cv_header_stdc=no
|
|
|
4726 |
fi
|
|
|
4727 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
|
4728 |
fi
|
|
|
4729 |
|
|
|
4730 |
|
|
|
4731 |
fi
|
|
|
4732 |
fi
|
|
|
4733 |
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
|
|
4734 |
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
|
|
|
4735 |
if test $ac_cv_header_stdc = yes; then
|
|
|
4736 |
|
|
|
4737 |
cat >>confdefs.h <<\_ACEOF
|
|
|
4738 |
#define STDC_HEADERS 1
|
|
|
4739 |
_ACEOF
|
|
|
4740 |
|
|
|
4741 |
fi
|
|
|
4742 |
|
|
|
4743 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
|
|
4744 |
|
|
|
4745 |
|
|
|
4746 |
|
|
|
4747 |
|
|
|
4748 |
|
|
|
4749 |
|
|
|
4750 |
|
|
|
4751 |
|
|
|
4752 |
|
|
|
4753 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
|
|
4754 |
inttypes.h stdint.h unistd.h
|
|
|
4755 |
do
|
|
|
4756 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
|
4757 |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
|
4758 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
|
|
4759 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
|
4760 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
4761 |
else
|
|
|
4762 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
4763 |
/* confdefs.h. */
|
|
|
4764 |
_ACEOF
|
|
|
4765 |
cat confdefs.h >>conftest.$ac_ext
|
|
|
4766 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
4767 |
/* end confdefs.h. */
|
|
|
4768 |
$ac_includes_default
|
|
|
4769 |
|
|
|
4770 |
#include <$ac_header>
|
|
|
4771 |
_ACEOF
|
|
|
4772 |
rm -f conftest.$ac_objext
|
|
|
4773 |
if { (ac_try="$ac_compile"
|
|
|
4774 |
case "(($ac_try" in
|
|
|
4775 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
4776 |
*) ac_try_echo=$ac_try;;
|
|
|
4777 |
esac
|
|
|
4778 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
4779 |
(eval "$ac_compile") 2>conftest.er1
|
|
|
4780 |
ac_status=$?
|
|
|
4781 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
4782 |
rm -f conftest.er1
|
|
|
4783 |
cat conftest.err >&5
|
|
|
4784 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
4785 |
(exit $ac_status); } && {
|
|
|
4786 |
test -z "$ac_c_werror_flag" ||
|
|
|
4787 |
test ! -s conftest.err
|
|
|
4788 |
} && test -s conftest.$ac_objext; then
|
|
|
4789 |
eval "$as_ac_Header=yes"
|
|
|
4790 |
else
|
|
|
4791 |
echo "$as_me: failed program was:" >&5
|
|
|
4792 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
4793 |
|
|
|
4794 |
eval "$as_ac_Header=no"
|
|
|
4795 |
fi
|
|
|
4796 |
|
|
|
4797 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
4798 |
fi
|
|
|
4799 |
ac_res=`eval echo '${'$as_ac_Header'}'`
|
|
|
4800 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
|
4801 |
echo "${ECHO_T}$ac_res" >&6; }
|
|
|
4802 |
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|
|
4803 |
cat >>confdefs.h <<_ACEOF
|
|
|
4804 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
|
4805 |
_ACEOF
|
|
|
4806 |
|
|
|
4807 |
fi
|
|
|
4808 |
|
|
|
4809 |
done
|
|
|
4810 |
|
|
|
4811 |
|
|
|
4812 |
|
|
|
4813 |
for ac_header in dlfcn.h
|
|
|
4814 |
do
|
|
|
4815 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
|
4816 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
|
4817 |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
|
4818 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
|
|
4819 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
|
4820 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
4821 |
fi
|
|
|
4822 |
ac_res=`eval echo '${'$as_ac_Header'}'`
|
|
|
4823 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
|
4824 |
echo "${ECHO_T}$ac_res" >&6; }
|
|
|
4825 |
else
|
|
|
4826 |
# Is the header compilable?
|
|
|
4827 |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
|
|
4828 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
|
|
|
4829 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
4830 |
/* confdefs.h. */
|
|
|
4831 |
_ACEOF
|
|
|
4832 |
cat confdefs.h >>conftest.$ac_ext
|
|
|
4833 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
4834 |
/* end confdefs.h. */
|
|
|
4835 |
$ac_includes_default
|
|
|
4836 |
#include <$ac_header>
|
|
|
4837 |
_ACEOF
|
|
|
4838 |
rm -f conftest.$ac_objext
|
|
|
4839 |
if { (ac_try="$ac_compile"
|
|
|
4840 |
case "(($ac_try" in
|
|
|
4841 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
4842 |
*) ac_try_echo=$ac_try;;
|
|
|
4843 |
esac
|
|
|
4844 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
4845 |
(eval "$ac_compile") 2>conftest.er1
|
|
|
4846 |
ac_status=$?
|
|
|
4847 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
4848 |
rm -f conftest.er1
|
|
|
4849 |
cat conftest.err >&5
|
|
|
4850 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
4851 |
(exit $ac_status); } && {
|
|
|
4852 |
test -z "$ac_c_werror_flag" ||
|
|
|
4853 |
test ! -s conftest.err
|
|
|
4854 |
} && test -s conftest.$ac_objext; then
|
|
|
4855 |
ac_header_compiler=yes
|
|
|
4856 |
else
|
|
|
4857 |
echo "$as_me: failed program was:" >&5
|
|
|
4858 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
4859 |
|
|
|
4860 |
ac_header_compiler=no
|
|
|
4861 |
fi
|
|
|
4862 |
|
|
|
4863 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
4864 |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
|
4865 |
echo "${ECHO_T}$ac_header_compiler" >&6; }
|
|
|
4866 |
|
|
|
4867 |
# Is the header present?
|
|
|
4868 |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
|
|
4869 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
|
|
|
4870 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
4871 |
/* confdefs.h. */
|
|
|
4872 |
_ACEOF
|
|
|
4873 |
cat confdefs.h >>conftest.$ac_ext
|
|
|
4874 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
4875 |
/* end confdefs.h. */
|
|
|
4876 |
#include <$ac_header>
|
|
|
4877 |
_ACEOF
|
|
|
4878 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
|
4879 |
case "(($ac_try" in
|
|
|
4880 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
4881 |
*) ac_try_echo=$ac_try;;
|
|
|
4882 |
esac
|
|
|
4883 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
4884 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
|
|
4885 |
ac_status=$?
|
|
|
4886 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
4887 |
rm -f conftest.er1
|
|
|
4888 |
cat conftest.err >&5
|
|
|
4889 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
4890 |
(exit $ac_status); } >/dev/null && {
|
|
|
4891 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
|
4892 |
test ! -s conftest.err
|
|
|
4893 |
}; then
|
|
|
4894 |
ac_header_preproc=yes
|
|
|
4895 |
else
|
|
|
4896 |
echo "$as_me: failed program was:" >&5
|
|
|
4897 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
4898 |
|
|
|
4899 |
ac_header_preproc=no
|
|
|
4900 |
fi
|
|
|
4901 |
|
|
|
4902 |
rm -f conftest.err conftest.$ac_ext
|
|
|
4903 |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
|
|
4904 |
echo "${ECHO_T}$ac_header_preproc" >&6; }
|
|
|
4905 |
|
|
|
4906 |
# So? What about this header?
|
|
|
4907 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
|
|
4908 |
yes:no: )
|
|
|
4909 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
|
4910 |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
|
4911 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
|
|
4912 |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
|
|
4913 |
ac_header_preproc=yes
|
|
|
4914 |
;;
|
|
|
4915 |
no:yes:* )
|
|
|
4916 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
|
|
4917 |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
|
|
4918 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
|
|
4919 |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
|
|
4920 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
|
|
4921 |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
|
|
4922 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
|
|
4923 |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
|
4924 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
|
|
4925 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
|
|
4926 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
|
|
4927 |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
|
|
4928 |
|
|
|
4929 |
;;
|
|
|
4930 |
esac
|
|
|
4931 |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
|
4932 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
|
|
4933 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
|
4934 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
4935 |
else
|
|
|
4936 |
eval "$as_ac_Header=\$ac_header_preproc"
|
|
|
4937 |
fi
|
|
|
4938 |
ac_res=`eval echo '${'$as_ac_Header'}'`
|
|
|
4939 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
|
4940 |
echo "${ECHO_T}$ac_res" >&6; }
|
|
|
4941 |
|
|
|
4942 |
fi
|
|
|
4943 |
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|
|
4944 |
cat >>confdefs.h <<_ACEOF
|
|
|
4945 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
|
4946 |
_ACEOF
|
|
|
4947 |
|
|
|
4948 |
fi
|
|
|
4949 |
|
|
|
4950 |
done
|
|
|
4951 |
|
|
|
4952 |
|
|
|
4953 |
|
|
|
4954 |
|
|
|
4955 |
|
|
|
4956 |
|
|
|
4957 |
# Only perform the check for file, if the check method requires it
|
|
|
4958 |
case $deplibs_check_method in
|
|
|
4959 |
file_magic*)
|
|
|
4960 |
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
|
|
|
4961 |
{ echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
|
|
|
4962 |
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
|
|
|
4963 |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
|
|
|
4964 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
4965 |
else
|
|
|
4966 |
case $MAGIC_CMD in
|
|
|
4967 |
/*)
|
|
|
4968 |
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
|
|
|
4969 |
;;
|
|
|
4970 |
?:/*)
|
|
|
4971 |
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
|
|
|
4972 |
;;
|
|
|
4973 |
*)
|
|
|
4974 |
ac_save_MAGIC_CMD="$MAGIC_CMD"
|
|
|
4975 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
|
|
|
4976 |
ac_dummy="/usr/bin:$PATH"
|
|
|
4977 |
for ac_dir in $ac_dummy; do
|
|
|
4978 |
test -z "$ac_dir" && ac_dir=.
|
|
|
4979 |
if test -f $ac_dir/${ac_tool_prefix}file; then
|
|
|
4980 |
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
|
|
|
4981 |
if test -n "$file_magic_test_file"; then
|
|
|
4982 |
case $deplibs_check_method in
|
|
|
4983 |
"file_magic "*)
|
|
|
4984 |
file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
|
|
|
4985 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
|
|
|
4986 |
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
|
|
|
4987 |
egrep "$file_magic_regex" > /dev/null; then
|
|
|
4988 |
:
|
|
|
4989 |
else
|
|
|
4990 |
cat <<EOF 1>&2
|
|
|
4991 |
|
|
|
4992 |
*** Warning: the command libtool uses to detect shared libraries,
|
|
|
4993 |
*** $file_magic_cmd, produces output that libtool cannot recognize.
|
|
|
4994 |
*** The result is that libtool may fail to recognize shared libraries
|
|
|
4995 |
*** as such. This will affect the creation of libtool libraries that
|
|
|
4996 |
*** depend on shared libraries, but programs linked with such libtool
|
|
|
4997 |
*** libraries will work regardless of this problem. Nevertheless, you
|
|
|
4998 |
*** may want to report the problem to your system manager and/or to
|
|
|
4999 |
*** bug-libtool@gnu.org
|
|
|
5000 |
|
|
|
5001 |
EOF
|
|
|
5002 |
fi ;;
|
|
|
5003 |
esac
|
|
|
5004 |
fi
|
|
|
5005 |
break
|
|
|
5006 |
fi
|
|
|
5007 |
done
|
|
|
5008 |
IFS="$ac_save_ifs"
|
|
|
5009 |
MAGIC_CMD="$ac_save_MAGIC_CMD"
|
|
|
5010 |
;;
|
6812 |
;;
|
5011 |
esac
|
6813 |
esac
|
5012 |
fi
|
|
|
5013 |
|
6814 |
|
5014 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
|
6815 |
need_locks="$enable_libtool_lock"
|
5015 |
if test -n "$MAGIC_CMD"; then
|
|
|
5016 |
{ echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
|
|
|
5017 |
echo "${ECHO_T}$MAGIC_CMD" >&6; }
|
|
|
5018 |
else
|
|
|
5019 |
{ echo "$as_me:$LINENO: result: no" >&5
|
|
|
5020 |
echo "${ECHO_T}no" >&6; }
|
|
|
5021 |
fi
|
|
|
5022 |
|
|
|
5023 |
if test -z "$lt_cv_path_MAGIC_CMD"; then
|
|
|
5024 |
if test -n "$ac_tool_prefix"; then
|
|
|
5025 |
{ echo "$as_me:$LINENO: checking for file" >&5
|
|
|
5026 |
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
|
|
|
5027 |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
|
|
|
5028 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
5029 |
else
|
|
|
5030 |
case $MAGIC_CMD in
|
|
|
5031 |
/*)
|
|
|
5032 |
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
|
|
|
5033 |
;;
|
|
|
5034 |
?:/*)
|
|
|
5035 |
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
|
|
|
5036 |
;;
|
|
|
5037 |
*)
|
|
|
5038 |
ac_save_MAGIC_CMD="$MAGIC_CMD"
|
|
|
5039 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
|
|
|
5040 |
ac_dummy="/usr/bin:$PATH"
|
|
|
5041 |
for ac_dir in $ac_dummy; do
|
|
|
5042 |
test -z "$ac_dir" && ac_dir=.
|
|
|
5043 |
if test -f $ac_dir/file; then
|
|
|
5044 |
lt_cv_path_MAGIC_CMD="$ac_dir/file"
|
|
|
5045 |
if test -n "$file_magic_test_file"; then
|
|
|
5046 |
case $deplibs_check_method in
|
|
|
5047 |
"file_magic "*)
|
|
|
5048 |
file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
|
|
|
5049 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
|
|
|
5050 |
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
|
|
|
5051 |
egrep "$file_magic_regex" > /dev/null; then
|
|
|
5052 |
:
|
|
|
5053 |
else
|
|
|
5054 |
cat <<EOF 1>&2
|
|
|
5055 |
|
|
|
5056 |
*** Warning: the command libtool uses to detect shared libraries,
|
|
|
5057 |
*** $file_magic_cmd, produces output that libtool cannot recognize.
|
|
|
5058 |
*** The result is that libtool may fail to recognize shared libraries
|
|
|
5059 |
*** as such. This will affect the creation of libtool libraries that
|
|
|
5060 |
*** depend on shared libraries, but programs linked with such libtool
|
|
|
5061 |
*** libraries will work regardless of this problem. Nevertheless, you
|
|
|
5062 |
*** may want to report the problem to your system manager and/or to
|
|
|
5063 |
*** bug-libtool@gnu.org
|
|
|
5064 |
|
|
|
5065 |
EOF
|
|
|
5066 |
fi ;;
|
|
|
5067 |
esac
|
|
|
5068 |
fi
|
|
|
5069 |
break
|
|
|
5070 |
fi
|
|
|
5071 |
done
|
|
|
5072 |
IFS="$ac_save_ifs"
|
|
|
5073 |
MAGIC_CMD="$ac_save_MAGIC_CMD"
|
|
|
5074 |
;;
|
|
|
5075 |
esac
|
|
|
5076 |
fi
|
|
|
5077 |
|
|
|
5078 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
|
|
|
5079 |
if test -n "$MAGIC_CMD"; then
|
|
|
5080 |
{ echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
|
|
|
5081 |
echo "${ECHO_T}$MAGIC_CMD" >&6; }
|
|
|
5082 |
else
|
|
|
5083 |
{ echo "$as_me:$LINENO: result: no" >&5
|
|
|
5084 |
echo "${ECHO_T}no" >&6; }
|
|
|
5085 |
fi
|
|
|
5086 |
|
|
|
5087 |
else
|
|
|
5088 |
MAGIC_CMD=:
|
|
|
5089 |
fi
|
|
|
5090 |
fi
|
|
|
5091 |
|
|
|
5092 |
fi
|
|
|
5093 |
;;
|
|
|
5094 |
esac
|
|
|
5095 |
|
6816 |
|
5096 |
if test -n "$ac_tool_prefix"; then
|
6817 |
if test -n "$ac_tool_prefix"; then
|
5097 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
6818 |
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
|
5098 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
6819 |
set dummy ${ac_tool_prefix}mt; ac_word=$2
|
5099 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
6820 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
5100 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
6821 |
$as_echo_n "checking for $ac_word... " >&6; }
|
5101 |
if test "${ac_cv_prog_RANLIB+set}" = set; then
|
6822 |
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
|
5102 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6823 |
$as_echo_n "(cached) " >&6
|
5103 |
else
|
6824 |
else
|
5104 |
if test -n "$RANLIB"; then
|
6825 |
if test -n "$MANIFEST_TOOL"; then
|
5105 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
6826 |
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
|
5106 |
else
|
6827 |
else
|
5107 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
6828 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5108 |
for as_dir in $PATH
|
6829 |
for as_dir in $PATH
|
5109 |
do
|
6830 |
do
|
5110 |
IFS=$as_save_IFS
|
6831 |
IFS=$as_save_IFS
|
5111 |
test -z "$as_dir" && as_dir=.
|
6832 |
test -z "$as_dir" && as_dir=.
|
5112 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6833 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5113 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
6834 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5114 |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
6835 |
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
|
5115 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6836 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5116 |
break 2
|
6837 |
break 2
|
5117 |
fi
|
6838 |
fi
|
5118 |
done
|
6839 |
done
|
5119 |
done
|
6840 |
done
|
5120 |
IFS=$as_save_IFS
|
6841 |
IFS=$as_save_IFS
|
5121 |
|
6842 |
|
5122 |
fi
|
6843 |
fi
|
5123 |
fi
|
6844 |
fi
|
5124 |
RANLIB=$ac_cv_prog_RANLIB
|
6845 |
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
|
5125 |
if test -n "$RANLIB"; then
|
6846 |
if test -n "$MANIFEST_TOOL"; then
|
5126 |
{ echo "$as_me:$LINENO: result: $RANLIB" >&5
|
6847 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
|
5127 |
echo "${ECHO_T}$RANLIB" >&6; }
|
6848 |
$as_echo "$MANIFEST_TOOL" >&6; }
|
5128 |
else
|
6849 |
else
|
5129 |
{ echo "$as_me:$LINENO: result: no" >&5
|
6850 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5130 |
echo "${ECHO_T}no" >&6; }
|
6851 |
$as_echo "no" >&6; }
|
5131 |
fi
|
6852 |
fi
|
5132 |
|
6853 |
|
5133 |
|
6854 |
|
5134 |
fi
|
6855 |
fi
|
5135 |
if test -z "$ac_cv_prog_RANLIB"; then
|
6856 |
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
|
5136 |
ac_ct_RANLIB=$RANLIB
|
6857 |
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
|
5137 |
# Extract the first word of "ranlib", so it can be a program name with args.
|
6858 |
# Extract the first word of "mt", so it can be a program name with args.
|
5138 |
set dummy ranlib; ac_word=$2
|
6859 |
set dummy mt; ac_word=$2
|
5139 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
6860 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
5140 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
6861 |
$as_echo_n "checking for $ac_word... " >&6; }
|
5141 |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
|
6862 |
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
|
5142 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6863 |
$as_echo_n "(cached) " >&6
|
5143 |
else
|
6864 |
else
|
5144 |
if test -n "$ac_ct_RANLIB"; then
|
6865 |
if test -n "$ac_ct_MANIFEST_TOOL"; then
|
5145 |
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
6866 |
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
|
5146 |
else
|
6867 |
else
|
5147 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
6868 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5148 |
for as_dir in $PATH
|
6869 |
for as_dir in $PATH
|
5149 |
do
|
6870 |
do
|
5150 |
IFS=$as_save_IFS
|
6871 |
IFS=$as_save_IFS
|
5151 |
test -z "$as_dir" && as_dir=.
|
6872 |
test -z "$as_dir" && as_dir=.
|
5152 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6873 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5153 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
6874 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5154 |
ac_cv_prog_ac_ct_RANLIB="ranlib"
|
6875 |
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
|
5155 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6876 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5156 |
break 2
|
6877 |
break 2
|
5157 |
fi
|
6878 |
fi
|
5158 |
done
|
6879 |
done
|
5159 |
done
|
6880 |
done
|
5160 |
IFS=$as_save_IFS
|
6881 |
IFS=$as_save_IFS
|
5161 |
|
6882 |
|
5162 |
fi
|
6883 |
fi
|
5163 |
fi
|
6884 |
fi
|
5164 |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
6885 |
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
|
5165 |
if test -n "$ac_ct_RANLIB"; then
|
6886 |
if test -n "$ac_ct_MANIFEST_TOOL"; then
|
5166 |
{ echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
|
6887 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
|
5167 |
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
|
6888 |
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
|
5168 |
else
|
6889 |
else
|
5169 |
{ echo "$as_me:$LINENO: result: no" >&5
|
6890 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5170 |
echo "${ECHO_T}no" >&6; }
|
6891 |
$as_echo "no" >&6; }
|
5171 |
fi
|
6892 |
fi
|
5172 |
|
6893 |
|
5173 |
if test "x$ac_ct_RANLIB" = x; then
|
6894 |
if test "x$ac_ct_MANIFEST_TOOL" = x; then
|
5174 |
RANLIB=":"
|
6895 |
MANIFEST_TOOL=":"
|
5175 |
else
|
6896 |
else
|
5176 |
case $cross_compiling:$ac_tool_warned in
|
6897 |
case $cross_compiling:$ac_tool_warned in
|
5177 |
yes:)
|
6898 |
yes:)
|
5178 |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
6899 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
5179 |
whose name does not start with the host triplet. If you think this
|
6900 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
5180 |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
|
|
5181 |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
|
|
5182 |
whose name does not start with the host triplet. If you think this
|
|
|
5183 |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
|
5184 |
ac_tool_warned=yes ;;
|
6901 |
ac_tool_warned=yes ;;
|
5185 |
esac
|
6902 |
esac
|
5186 |
RANLIB=$ac_ct_RANLIB
|
6903 |
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
|
5187 |
fi
|
6904 |
fi
|
5188 |
else
|
6905 |
else
|
5189 |
RANLIB="$ac_cv_prog_RANLIB"
|
6906 |
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
|
|
|
6907 |
fi
|
|
|
6908 |
|
|
|
6909 |
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
|
|
|
6910 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
|
|
|
6911 |
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
|
|
|
6912 |
if ${lt_cv_path_mainfest_tool+:} false; then :
|
|
|
6913 |
$as_echo_n "(cached) " >&6
|
|
|
6914 |
else
|
|
|
6915 |
lt_cv_path_mainfest_tool=no
|
|
|
6916 |
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
|
|
|
6917 |
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
|
|
|
6918 |
cat conftest.err >&5
|
|
|
6919 |
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
|
|
|
6920 |
lt_cv_path_mainfest_tool=yes
|
5190 |
fi
|
6921 |
fi
|
|
|
6922 |
rm -f conftest*
|
|
|
6923 |
fi
|
|
|
6924 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
|
|
|
6925 |
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
|
|
|
6926 |
if test "x$lt_cv_path_mainfest_tool" != xyes; then
|
|
|
6927 |
MANIFEST_TOOL=:
|
|
|
6928 |
fi
|
5191 |
|
6929 |
|
|
|
6930 |
|
|
|
6931 |
|
|
|
6932 |
|
|
|
6933 |
|
|
|
6934 |
|
|
|
6935 |
case $host_os in
|
|
|
6936 |
rhapsody* | darwin*)
|
5192 |
if test -n "$ac_tool_prefix"; then
|
6937 |
if test -n "$ac_tool_prefix"; then
|
5193 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
6938 |
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
|
5194 |
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
6939 |
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
|
5195 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
6940 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
5196 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
6941 |
$as_echo_n "checking for $ac_word... " >&6; }
|
5197 |
if test "${ac_cv_prog_STRIP+set}" = set; then
|
6942 |
if ${ac_cv_prog_DSYMUTIL+:} false; then :
|
5198 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6943 |
$as_echo_n "(cached) " >&6
|
5199 |
else
|
6944 |
else
|
5200 |
if test -n "$STRIP"; then
|
6945 |
if test -n "$DSYMUTIL"; then
|
5201 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
6946 |
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
|
5202 |
else
|
6947 |
else
|
5203 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
6948 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5204 |
for as_dir in $PATH
|
6949 |
for as_dir in $PATH
|
5205 |
do
|
6950 |
do
|
5206 |
IFS=$as_save_IFS
|
6951 |
IFS=$as_save_IFS
|
5207 |
test -z "$as_dir" && as_dir=.
|
6952 |
test -z "$as_dir" && as_dir=.
|
5208 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6953 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5209 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
6954 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5210 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
6955 |
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
|
5211 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6956 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5212 |
break 2
|
6957 |
break 2
|
5213 |
fi
|
6958 |
fi
|
5214 |
done
|
6959 |
done
|
5215 |
done
|
6960 |
done
|
5216 |
IFS=$as_save_IFS
|
6961 |
IFS=$as_save_IFS
|
5217 |
|
6962 |
|
5218 |
fi
|
6963 |
fi
|
5219 |
fi
|
6964 |
fi
|
5220 |
STRIP=$ac_cv_prog_STRIP
|
6965 |
DSYMUTIL=$ac_cv_prog_DSYMUTIL
|
5221 |
if test -n "$STRIP"; then
|
6966 |
if test -n "$DSYMUTIL"; then
|
5222 |
{ echo "$as_me:$LINENO: result: $STRIP" >&5
|
6967 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
|
5223 |
echo "${ECHO_T}$STRIP" >&6; }
|
6968 |
$as_echo "$DSYMUTIL" >&6; }
|
5224 |
else
|
6969 |
else
|
5225 |
{ echo "$as_me:$LINENO: result: no" >&5
|
6970 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5226 |
echo "${ECHO_T}no" >&6; }
|
6971 |
$as_echo "no" >&6; }
|
5227 |
fi
|
6972 |
fi
|
5228 |
|
6973 |
|
5229 |
|
6974 |
|
5230 |
fi
|
6975 |
fi
|
5231 |
if test -z "$ac_cv_prog_STRIP"; then
|
6976 |
if test -z "$ac_cv_prog_DSYMUTIL"; then
|
5232 |
ac_ct_STRIP=$STRIP
|
6977 |
ac_ct_DSYMUTIL=$DSYMUTIL
|
5233 |
# Extract the first word of "strip", so it can be a program name with args.
|
6978 |
# Extract the first word of "dsymutil", so it can be a program name with args.
|
5234 |
set dummy strip; ac_word=$2
|
6979 |
set dummy dsymutil; ac_word=$2
|
5235 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
6980 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
5236 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
6981 |
$as_echo_n "checking for $ac_word... " >&6; }
|
5237 |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
|
6982 |
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
|
5238 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6983 |
$as_echo_n "(cached) " >&6
|
5239 |
else
|
6984 |
else
|
5240 |
if test -n "$ac_ct_STRIP"; then
|
6985 |
if test -n "$ac_ct_DSYMUTIL"; then
|
5241 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
6986 |
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
|
5242 |
else
|
6987 |
else
|
5243 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
6988 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5244 |
for as_dir in $PATH
|
6989 |
for as_dir in $PATH
|
5245 |
do
|
6990 |
do
|
5246 |
IFS=$as_save_IFS
|
6991 |
IFS=$as_save_IFS
|
5247 |
test -z "$as_dir" && as_dir=.
|
6992 |
test -z "$as_dir" && as_dir=.
|
5248 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6993 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5249 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
6994 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5250 |
ac_cv_prog_ac_ct_STRIP="strip"
|
6995 |
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
|
5251 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6996 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5252 |
break 2
|
6997 |
break 2
|
5253 |
fi
|
6998 |
fi
|
5254 |
done
|
6999 |
done
|
5255 |
done
|
7000 |
done
|
5256 |
IFS=$as_save_IFS
|
7001 |
IFS=$as_save_IFS
|
5257 |
|
7002 |
|
5258 |
fi
|
7003 |
fi
|
5259 |
fi
|
7004 |
fi
|
5260 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
7005 |
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
|
5261 |
if test -n "$ac_ct_STRIP"; then
|
7006 |
if test -n "$ac_ct_DSYMUTIL"; then
|
5262 |
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
|
7007 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
|
5263 |
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
|
7008 |
$as_echo "$ac_ct_DSYMUTIL" >&6; }
|
5264 |
else
|
7009 |
else
|
5265 |
{ echo "$as_me:$LINENO: result: no" >&5
|
7010 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5266 |
echo "${ECHO_T}no" >&6; }
|
7011 |
$as_echo "no" >&6; }
|
5267 |
fi
|
7012 |
fi
|
5268 |
|
7013 |
|
5269 |
if test "x$ac_ct_STRIP" = x; then
|
7014 |
if test "x$ac_ct_DSYMUTIL" = x; then
|
5270 |
STRIP=":"
|
7015 |
DSYMUTIL=":"
|
5271 |
else
|
7016 |
else
|
5272 |
case $cross_compiling:$ac_tool_warned in
|
7017 |
case $cross_compiling:$ac_tool_warned in
|
5273 |
yes:)
|
7018 |
yes:)
|
5274 |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
7019 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
5275 |
whose name does not start with the host triplet. If you think this
|
7020 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
5276 |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
|
|
5277 |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
|
|
5278 |
whose name does not start with the host triplet. If you think this
|
|
|
5279 |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
|
5280 |
ac_tool_warned=yes ;;
|
7021 |
ac_tool_warned=yes ;;
|
5281 |
esac
|
7022 |
esac
|
5282 |
STRIP=$ac_ct_STRIP
|
7023 |
DSYMUTIL=$ac_ct_DSYMUTIL
|
5283 |
fi
|
7024 |
fi
|
5284 |
else
|
7025 |
else
|
5285 |
STRIP="$ac_cv_prog_STRIP"
|
7026 |
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
|
5286 |
fi
|
7027 |
fi
|
5287 |
|
7028 |
|
5288 |
|
7029 |
if test -n "$ac_tool_prefix"; then
|
5289 |
enable_dlopen=no
|
7030 |
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
|
5290 |
enable_win32_dll=no
|
7031 |
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
|
5291 |
|
7032 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
5292 |
# Check whether --enable-libtool-lock was given.
|
7033 |
$as_echo_n "checking for $ac_word... " >&6; }
|
5293 |
if test "${enable_libtool_lock+set}" = set; then
|
7034 |
if ${ac_cv_prog_NMEDIT+:} false; then :
|
5294 |
enableval=$enable_libtool_lock;
|
7035 |
$as_echo_n "(cached) " >&6
|
5295 |
fi
|
7036 |
else
|
5296 |
|
7037 |
if test -n "$NMEDIT"; then
|
5297 |
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
|
7038 |
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
|
5298 |
|
7039 |
else
|
5299 |
# Some flags need to be propagated to the compiler or linker for good
|
7040 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5300 |
# libtool support.
|
7041 |
for as_dir in $PATH
|
5301 |
case $host in
|
7042 |
do
|
5302 |
*-*-irix6*)
|
7043 |
IFS=$as_save_IFS
|
5303 |
# Find out which ABI we are using.
|
7044 |
test -z "$as_dir" && as_dir=.
|
5304 |
echo '#line 5304 "configure"' > conftest.$ac_ext
|
7045 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5305 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
7046 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5306 |
(eval $ac_compile) 2>&5
|
7047 |
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
|
5307 |
ac_status=$?
|
7048 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5308 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7049 |
break 2
|
5309 |
(exit $ac_status); }; then
|
|
|
5310 |
case `/usr/bin/file conftest.$ac_objext` in
|
|
|
5311 |
*32-bit*)
|
|
|
5312 |
LD="${LD-ld} -32"
|
|
|
5313 |
;;
|
|
|
5314 |
*N32*)
|
|
|
5315 |
LD="${LD-ld} -n32"
|
|
|
5316 |
;;
|
|
|
5317 |
*64-bit*)
|
|
|
5318 |
LD="${LD-ld} -64"
|
|
|
5319 |
;;
|
|
|
5320 |
esac
|
|
|
5321 |
fi
|
7050 |
fi
|
5322 |
rm -rf conftest*
|
7051 |
done
|
5323 |
;;
|
7052 |
done
|
|
|
7053 |
IFS=$as_save_IFS
|
5324 |
|
7054 |
|
5325 |
*-*-sco3.2v5*)
|
7055 |
fi
|
5326 |
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
|
7056 |
fi
|
5327 |
SAVE_CFLAGS="$CFLAGS"
|
7057 |
NMEDIT=$ac_cv_prog_NMEDIT
|
5328 |
CFLAGS="$CFLAGS -belf"
|
7058 |
if test -n "$NMEDIT"; then
|
5329 |
{ echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
|
7059 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
|
5330 |
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
|
7060 |
$as_echo "$NMEDIT" >&6; }
|
5331 |
if test "${lt_cv_cc_needs_belf+set}" = set; then
|
7061 |
else
|
5332 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
7062 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
7063 |
$as_echo "no" >&6; }
|
|
|
7064 |
fi
|
|
|
7065 |
|
|
|
7066 |
|
|
|
7067 |
fi
|
|
|
7068 |
if test -z "$ac_cv_prog_NMEDIT"; then
|
|
|
7069 |
ac_ct_NMEDIT=$NMEDIT
|
|
|
7070 |
# Extract the first word of "nmedit", so it can be a program name with args.
|
|
|
7071 |
set dummy nmedit; ac_word=$2
|
|
|
7072 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
|
7073 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
|
7074 |
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
|
|
|
7075 |
$as_echo_n "(cached) " >&6
|
|
|
7076 |
else
|
|
|
7077 |
if test -n "$ac_ct_NMEDIT"; then
|
|
|
7078 |
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
|
|
|
7079 |
else
|
|
|
7080 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
|
7081 |
for as_dir in $PATH
|
|
|
7082 |
do
|
|
|
7083 |
IFS=$as_save_IFS
|
|
|
7084 |
test -z "$as_dir" && as_dir=.
|
|
|
7085 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
7086 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
7087 |
ac_cv_prog_ac_ct_NMEDIT="nmedit"
|
|
|
7088 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
7089 |
break 2
|
|
|
7090 |
fi
|
|
|
7091 |
done
|
|
|
7092 |
done
|
|
|
7093 |
IFS=$as_save_IFS
|
|
|
7094 |
|
|
|
7095 |
fi
|
|
|
7096 |
fi
|
|
|
7097 |
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
|
|
|
7098 |
if test -n "$ac_ct_NMEDIT"; then
|
|
|
7099 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
|
|
|
7100 |
$as_echo "$ac_ct_NMEDIT" >&6; }
|
|
|
7101 |
else
|
|
|
7102 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
7103 |
$as_echo "no" >&6; }
|
|
|
7104 |
fi
|
|
|
7105 |
|
|
|
7106 |
if test "x$ac_ct_NMEDIT" = x; then
|
|
|
7107 |
NMEDIT=":"
|
|
|
7108 |
else
|
|
|
7109 |
case $cross_compiling:$ac_tool_warned in
|
|
|
7110 |
yes:)
|
|
|
7111 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
|
7112 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
|
7113 |
ac_tool_warned=yes ;;
|
|
|
7114 |
esac
|
|
|
7115 |
NMEDIT=$ac_ct_NMEDIT
|
|
|
7116 |
fi
|
|
|
7117 |
else
|
|
|
7118 |
NMEDIT="$ac_cv_prog_NMEDIT"
|
|
|
7119 |
fi
|
|
|
7120 |
|
|
|
7121 |
if test -n "$ac_tool_prefix"; then
|
|
|
7122 |
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
|
|
|
7123 |
set dummy ${ac_tool_prefix}lipo; ac_word=$2
|
|
|
7124 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
|
7125 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
|
7126 |
if ${ac_cv_prog_LIPO+:} false; then :
|
|
|
7127 |
$as_echo_n "(cached) " >&6
|
|
|
7128 |
else
|
|
|
7129 |
if test -n "$LIPO"; then
|
|
|
7130 |
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
|
|
|
7131 |
else
|
|
|
7132 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
|
7133 |
for as_dir in $PATH
|
|
|
7134 |
do
|
|
|
7135 |
IFS=$as_save_IFS
|
|
|
7136 |
test -z "$as_dir" && as_dir=.
|
|
|
7137 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
7138 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
7139 |
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
|
|
|
7140 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
7141 |
break 2
|
|
|
7142 |
fi
|
|
|
7143 |
done
|
|
|
7144 |
done
|
|
|
7145 |
IFS=$as_save_IFS
|
|
|
7146 |
|
|
|
7147 |
fi
|
|
|
7148 |
fi
|
|
|
7149 |
LIPO=$ac_cv_prog_LIPO
|
|
|
7150 |
if test -n "$LIPO"; then
|
|
|
7151 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
|
|
|
7152 |
$as_echo "$LIPO" >&6; }
|
|
|
7153 |
else
|
|
|
7154 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
7155 |
$as_echo "no" >&6; }
|
|
|
7156 |
fi
|
|
|
7157 |
|
|
|
7158 |
|
|
|
7159 |
fi
|
|
|
7160 |
if test -z "$ac_cv_prog_LIPO"; then
|
|
|
7161 |
ac_ct_LIPO=$LIPO
|
|
|
7162 |
# Extract the first word of "lipo", so it can be a program name with args.
|
|
|
7163 |
set dummy lipo; ac_word=$2
|
|
|
7164 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
|
7165 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
|
7166 |
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
|
|
|
7167 |
$as_echo_n "(cached) " >&6
|
|
|
7168 |
else
|
|
|
7169 |
if test -n "$ac_ct_LIPO"; then
|
|
|
7170 |
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
|
|
|
7171 |
else
|
|
|
7172 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
|
7173 |
for as_dir in $PATH
|
|
|
7174 |
do
|
|
|
7175 |
IFS=$as_save_IFS
|
|
|
7176 |
test -z "$as_dir" && as_dir=.
|
|
|
7177 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
7178 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
7179 |
ac_cv_prog_ac_ct_LIPO="lipo"
|
|
|
7180 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
7181 |
break 2
|
|
|
7182 |
fi
|
|
|
7183 |
done
|
|
|
7184 |
done
|
|
|
7185 |
IFS=$as_save_IFS
|
|
|
7186 |
|
|
|
7187 |
fi
|
|
|
7188 |
fi
|
|
|
7189 |
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
|
|
|
7190 |
if test -n "$ac_ct_LIPO"; then
|
|
|
7191 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
|
|
|
7192 |
$as_echo "$ac_ct_LIPO" >&6; }
|
|
|
7193 |
else
|
|
|
7194 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
7195 |
$as_echo "no" >&6; }
|
|
|
7196 |
fi
|
|
|
7197 |
|
|
|
7198 |
if test "x$ac_ct_LIPO" = x; then
|
|
|
7199 |
LIPO=":"
|
|
|
7200 |
else
|
|
|
7201 |
case $cross_compiling:$ac_tool_warned in
|
|
|
7202 |
yes:)
|
|
|
7203 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
|
7204 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
|
7205 |
ac_tool_warned=yes ;;
|
|
|
7206 |
esac
|
|
|
7207 |
LIPO=$ac_ct_LIPO
|
|
|
7208 |
fi
|
|
|
7209 |
else
|
|
|
7210 |
LIPO="$ac_cv_prog_LIPO"
|
|
|
7211 |
fi
|
|
|
7212 |
|
|
|
7213 |
if test -n "$ac_tool_prefix"; then
|
|
|
7214 |
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
|
|
|
7215 |
set dummy ${ac_tool_prefix}otool; ac_word=$2
|
|
|
7216 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
|
7217 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
|
7218 |
if ${ac_cv_prog_OTOOL+:} false; then :
|
|
|
7219 |
$as_echo_n "(cached) " >&6
|
|
|
7220 |
else
|
|
|
7221 |
if test -n "$OTOOL"; then
|
|
|
7222 |
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
|
|
|
7223 |
else
|
|
|
7224 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
|
7225 |
for as_dir in $PATH
|
|
|
7226 |
do
|
|
|
7227 |
IFS=$as_save_IFS
|
|
|
7228 |
test -z "$as_dir" && as_dir=.
|
|
|
7229 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
7230 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
7231 |
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
|
|
|
7232 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
7233 |
break 2
|
|
|
7234 |
fi
|
|
|
7235 |
done
|
|
|
7236 |
done
|
|
|
7237 |
IFS=$as_save_IFS
|
|
|
7238 |
|
|
|
7239 |
fi
|
|
|
7240 |
fi
|
|
|
7241 |
OTOOL=$ac_cv_prog_OTOOL
|
|
|
7242 |
if test -n "$OTOOL"; then
|
|
|
7243 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
|
|
|
7244 |
$as_echo "$OTOOL" >&6; }
|
|
|
7245 |
else
|
|
|
7246 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
7247 |
$as_echo "no" >&6; }
|
|
|
7248 |
fi
|
|
|
7249 |
|
|
|
7250 |
|
|
|
7251 |
fi
|
|
|
7252 |
if test -z "$ac_cv_prog_OTOOL"; then
|
|
|
7253 |
ac_ct_OTOOL=$OTOOL
|
|
|
7254 |
# Extract the first word of "otool", so it can be a program name with args.
|
|
|
7255 |
set dummy otool; ac_word=$2
|
|
|
7256 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
|
7257 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
|
7258 |
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
|
|
|
7259 |
$as_echo_n "(cached) " >&6
|
|
|
7260 |
else
|
|
|
7261 |
if test -n "$ac_ct_OTOOL"; then
|
|
|
7262 |
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
|
|
|
7263 |
else
|
|
|
7264 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
|
7265 |
for as_dir in $PATH
|
|
|
7266 |
do
|
|
|
7267 |
IFS=$as_save_IFS
|
|
|
7268 |
test -z "$as_dir" && as_dir=.
|
|
|
7269 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
7270 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
7271 |
ac_cv_prog_ac_ct_OTOOL="otool"
|
|
|
7272 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
7273 |
break 2
|
|
|
7274 |
fi
|
|
|
7275 |
done
|
|
|
7276 |
done
|
|
|
7277 |
IFS=$as_save_IFS
|
|
|
7278 |
|
|
|
7279 |
fi
|
|
|
7280 |
fi
|
|
|
7281 |
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
|
|
|
7282 |
if test -n "$ac_ct_OTOOL"; then
|
|
|
7283 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
|
|
|
7284 |
$as_echo "$ac_ct_OTOOL" >&6; }
|
|
|
7285 |
else
|
|
|
7286 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
7287 |
$as_echo "no" >&6; }
|
|
|
7288 |
fi
|
|
|
7289 |
|
|
|
7290 |
if test "x$ac_ct_OTOOL" = x; then
|
|
|
7291 |
OTOOL=":"
|
|
|
7292 |
else
|
|
|
7293 |
case $cross_compiling:$ac_tool_warned in
|
|
|
7294 |
yes:)
|
|
|
7295 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
|
7296 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
|
7297 |
ac_tool_warned=yes ;;
|
|
|
7298 |
esac
|
|
|
7299 |
OTOOL=$ac_ct_OTOOL
|
|
|
7300 |
fi
|
|
|
7301 |
else
|
|
|
7302 |
OTOOL="$ac_cv_prog_OTOOL"
|
|
|
7303 |
fi
|
|
|
7304 |
|
|
|
7305 |
if test -n "$ac_tool_prefix"; then
|
|
|
7306 |
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
|
|
|
7307 |
set dummy ${ac_tool_prefix}otool64; ac_word=$2
|
|
|
7308 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
|
7309 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
|
7310 |
if ${ac_cv_prog_OTOOL64+:} false; then :
|
|
|
7311 |
$as_echo_n "(cached) " >&6
|
|
|
7312 |
else
|
|
|
7313 |
if test -n "$OTOOL64"; then
|
|
|
7314 |
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
|
|
|
7315 |
else
|
|
|
7316 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
|
7317 |
for as_dir in $PATH
|
|
|
7318 |
do
|
|
|
7319 |
IFS=$as_save_IFS
|
|
|
7320 |
test -z "$as_dir" && as_dir=.
|
|
|
7321 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
7322 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
7323 |
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
|
|
|
7324 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
7325 |
break 2
|
|
|
7326 |
fi
|
|
|
7327 |
done
|
|
|
7328 |
done
|
|
|
7329 |
IFS=$as_save_IFS
|
|
|
7330 |
|
|
|
7331 |
fi
|
|
|
7332 |
fi
|
|
|
7333 |
OTOOL64=$ac_cv_prog_OTOOL64
|
|
|
7334 |
if test -n "$OTOOL64"; then
|
|
|
7335 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
|
|
|
7336 |
$as_echo "$OTOOL64" >&6; }
|
|
|
7337 |
else
|
|
|
7338 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
7339 |
$as_echo "no" >&6; }
|
|
|
7340 |
fi
|
|
|
7341 |
|
|
|
7342 |
|
|
|
7343 |
fi
|
|
|
7344 |
if test -z "$ac_cv_prog_OTOOL64"; then
|
|
|
7345 |
ac_ct_OTOOL64=$OTOOL64
|
|
|
7346 |
# Extract the first word of "otool64", so it can be a program name with args.
|
|
|
7347 |
set dummy otool64; ac_word=$2
|
|
|
7348 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
|
7349 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
|
7350 |
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
|
|
|
7351 |
$as_echo_n "(cached) " >&6
|
|
|
7352 |
else
|
|
|
7353 |
if test -n "$ac_ct_OTOOL64"; then
|
|
|
7354 |
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
|
|
|
7355 |
else
|
|
|
7356 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
|
7357 |
for as_dir in $PATH
|
|
|
7358 |
do
|
|
|
7359 |
IFS=$as_save_IFS
|
|
|
7360 |
test -z "$as_dir" && as_dir=.
|
|
|
7361 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
7362 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
|
7363 |
ac_cv_prog_ac_ct_OTOOL64="otool64"
|
|
|
7364 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
|
7365 |
break 2
|
|
|
7366 |
fi
|
|
|
7367 |
done
|
|
|
7368 |
done
|
|
|
7369 |
IFS=$as_save_IFS
|
|
|
7370 |
|
|
|
7371 |
fi
|
|
|
7372 |
fi
|
|
|
7373 |
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
|
|
|
7374 |
if test -n "$ac_ct_OTOOL64"; then
|
|
|
7375 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
|
|
|
7376 |
$as_echo "$ac_ct_OTOOL64" >&6; }
|
|
|
7377 |
else
|
|
|
7378 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
7379 |
$as_echo "no" >&6; }
|
|
|
7380 |
fi
|
|
|
7381 |
|
|
|
7382 |
if test "x$ac_ct_OTOOL64" = x; then
|
|
|
7383 |
OTOOL64=":"
|
|
|
7384 |
else
|
|
|
7385 |
case $cross_compiling:$ac_tool_warned in
|
|
|
7386 |
yes:)
|
|
|
7387 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
|
7388 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
|
7389 |
ac_tool_warned=yes ;;
|
|
|
7390 |
esac
|
|
|
7391 |
OTOOL64=$ac_ct_OTOOL64
|
|
|
7392 |
fi
|
|
|
7393 |
else
|
|
|
7394 |
OTOOL64="$ac_cv_prog_OTOOL64"
|
|
|
7395 |
fi
|
|
|
7396 |
|
|
|
7397 |
|
|
|
7398 |
|
|
|
7399 |
|
|
|
7400 |
|
|
|
7401 |
|
|
|
7402 |
|
|
|
7403 |
|
|
|
7404 |
|
|
|
7405 |
|
|
|
7406 |
|
|
|
7407 |
|
|
|
7408 |
|
|
|
7409 |
|
|
|
7410 |
|
|
|
7411 |
|
|
|
7412 |
|
|
|
7413 |
|
|
|
7414 |
|
|
|
7415 |
|
|
|
7416 |
|
|
|
7417 |
|
|
|
7418 |
|
|
|
7419 |
|
|
|
7420 |
|
|
|
7421 |
|
|
|
7422 |
|
|
|
7423 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
|
|
|
7424 |
$as_echo_n "checking for -single_module linker flag... " >&6; }
|
|
|
7425 |
if ${lt_cv_apple_cc_single_mod+:} false; then :
|
|
|
7426 |
$as_echo_n "(cached) " >&6
|
|
|
7427 |
else
|
|
|
7428 |
lt_cv_apple_cc_single_mod=no
|
|
|
7429 |
if test -z "${LT_MULTI_MODULE}"; then
|
|
|
7430 |
# By default we will add the -single_module flag. You can override
|
|
|
7431 |
# by either setting the environment variable LT_MULTI_MODULE
|
|
|
7432 |
# non-empty at configure time, or by adding -multi_module to the
|
|
|
7433 |
# link flags.
|
|
|
7434 |
rm -rf libconftest.dylib*
|
|
|
7435 |
echo "int foo(void){return 1;}" > conftest.c
|
|
|
7436 |
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
|
|
|
7437 |
-dynamiclib -Wl,-single_module conftest.c" >&5
|
|
|
7438 |
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
|
|
|
7439 |
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
|
|
|
7440 |
_lt_result=$?
|
|
|
7441 |
# If there is a non-empty error log, and "single_module"
|
|
|
7442 |
# appears in it, assume the flag caused a linker warning
|
|
|
7443 |
if test -s conftest.err && $GREP single_module conftest.err; then
|
|
|
7444 |
cat conftest.err >&5
|
|
|
7445 |
# Otherwise, if the output was created with a 0 exit code from
|
|
|
7446 |
# the compiler, it worked.
|
|
|
7447 |
elif test -f libconftest.dylib && test $_lt_result -eq 0; then
|
|
|
7448 |
lt_cv_apple_cc_single_mod=yes
|
5333 |
else
|
7449 |
else
|
|
|
7450 |
cat conftest.err >&5
|
|
|
7451 |
fi
|
|
|
7452 |
rm -rf libconftest.dylib*
|
|
|
7453 |
rm -f conftest.*
|
|
|
7454 |
fi
|
|
|
7455 |
fi
|
|
|
7456 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
|
|
|
7457 |
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
|
5334 |
|
7458 |
|
5335 |
ac_ext=c
|
7459 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
|
5336 |
ac_cpp='$CPP $CPPFLAGS'
|
7460 |
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
|
5337 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
7461 |
if ${lt_cv_ld_exported_symbols_list+:} false; then :
|
5338 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
7462 |
$as_echo_n "(cached) " >&6
|
5339 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
7463 |
else
|
5340 |
|
7464 |
lt_cv_ld_exported_symbols_list=no
|
5341 |
cat >conftest.$ac_ext <<_ACEOF
|
7465 |
save_LDFLAGS=$LDFLAGS
|
5342 |
/* confdefs.h. */
|
7466 |
echo "_main" > conftest.sym
|
5343 |
_ACEOF
|
7467 |
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
|
5344 |
cat confdefs.h >>conftest.$ac_ext
|
7468 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5345 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
5346 |
/* end confdefs.h. */
|
7469 |
/* end confdefs.h. */
|
5347 |
|
7470 |
|
5348 |
int
|
7471 |
int
|
5349 |
main ()
|
7472 |
main ()
|
5350 |
{
|
7473 |
{
|
5351 |
|
7474 |
|
5352 |
;
|
7475 |
;
|
5353 |
return 0;
|
7476 |
return 0;
|
5354 |
}
|
7477 |
}
|
5355 |
_ACEOF
|
7478 |
_ACEOF
|
5356 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
7479 |
if ac_fn_c_try_link "$LINENO"; then :
|
5357 |
if { (ac_try="$ac_link"
|
7480 |
lt_cv_ld_exported_symbols_list=yes
|
5358 |
case "(($ac_try" in
|
|
|
5359 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
5360 |
*) ac_try_echo=$ac_try;;
|
|
|
5361 |
esac
|
|
|
5362 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
5363 |
(eval "$ac_link") 2>conftest.er1
|
|
|
5364 |
ac_status=$?
|
|
|
5365 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
5366 |
rm -f conftest.er1
|
|
|
5367 |
cat conftest.err >&5
|
|
|
5368 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
5369 |
(exit $ac_status); } && {
|
|
|
5370 |
test -z "$ac_c_werror_flag" ||
|
|
|
5371 |
test ! -s conftest.err
|
|
|
5372 |
} && test -s conftest$ac_exeext &&
|
|
|
5373 |
$as_test_x conftest$ac_exeext; then
|
|
|
5374 |
lt_cv_cc_needs_belf=yes
|
|
|
5375 |
else
|
7481 |
else
|
5376 |
echo "$as_me: failed program was:" >&5
|
7482 |
lt_cv_ld_exported_symbols_list=no
|
5377 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
5378 |
|
|
|
5379 |
lt_cv_cc_needs_belf=no
|
|
|
5380 |
fi
|
7483 |
fi
|
5381 |
|
|
|
5382 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
7484 |
rm -f core conftest.err conftest.$ac_objext \
|
5383 |
conftest$ac_exeext conftest.$ac_ext
|
7485 |
conftest$ac_exeext conftest.$ac_ext
|
5384 |
ac_ext=c
|
7486 |
LDFLAGS="$save_LDFLAGS"
|
5385 |
ac_cpp='$CPP $CPPFLAGS'
|
|
|
5386 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
|
5387 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
|
5388 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
5389 |
|
7487 |
|
|
|
7488 |
fi
|
|
|
7489 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
|
|
|
7490 |
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
|
|
|
7491 |
|
|
|
7492 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
|
|
|
7493 |
$as_echo_n "checking for -force_load linker flag... " >&6; }
|
|
|
7494 |
if ${lt_cv_ld_force_load+:} false; then :
|
|
|
7495 |
$as_echo_n "(cached) " >&6
|
|
|
7496 |
else
|
|
|
7497 |
lt_cv_ld_force_load=no
|
|
|
7498 |
cat > conftest.c << _LT_EOF
|
|
|
7499 |
int forced_loaded() { return 2;}
|
|
|
7500 |
_LT_EOF
|
|
|
7501 |
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
|
|
|
7502 |
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
|
|
|
7503 |
echo "$AR cru libconftest.a conftest.o" >&5
|
|
|
7504 |
$AR cru libconftest.a conftest.o 2>&5
|
|
|
7505 |
echo "$RANLIB libconftest.a" >&5
|
|
|
7506 |
$RANLIB libconftest.a 2>&5
|
|
|
7507 |
cat > conftest.c << _LT_EOF
|
|
|
7508 |
int main() { return 0;}
|
|
|
7509 |
_LT_EOF
|
|
|
7510 |
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
|
|
|
7511 |
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
|
|
|
7512 |
_lt_result=$?
|
|
|
7513 |
if test -s conftest.err && $GREP force_load conftest.err; then
|
|
|
7514 |
cat conftest.err >&5
|
|
|
7515 |
elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
|
|
|
7516 |
lt_cv_ld_force_load=yes
|
|
|
7517 |
else
|
|
|
7518 |
cat conftest.err >&5
|
|
|
7519 |
fi
|
|
|
7520 |
rm -f conftest.err libconftest.a conftest conftest.c
|
|
|
7521 |
rm -rf conftest.dSYM
|
|
|
7522 |
|
|
|
7523 |
fi
|
|
|
7524 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
|
|
|
7525 |
$as_echo "$lt_cv_ld_force_load" >&6; }
|
|
|
7526 |
case $host_os in
|
|
|
7527 |
rhapsody* | darwin1.[012])
|
|
|
7528 |
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
|
|
|
7529 |
darwin1.*)
|
|
|
7530 |
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
|
|
7531 |
darwin*) # darwin 5.x on
|
|
|
7532 |
# if running on 10.5 or later, the deployment target defaults
|
|
|
7533 |
# to the OS version, if on x86, and 10.4, the deployment
|
|
|
7534 |
# target defaults to 10.4. Don't you love it?
|
|
|
7535 |
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
|
|
|
7536 |
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
|
|
|
7537 |
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
|
|
7538 |
10.[012]*)
|
|
|
7539 |
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
|
|
7540 |
10.*)
|
|
|
7541 |
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
|
|
7542 |
esac
|
|
|
7543 |
;;
|
|
|
7544 |
esac
|
|
|
7545 |
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
|
|
|
7546 |
_lt_dar_single_mod='$single_module'
|
|
|
7547 |
fi
|
|
|
7548 |
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
|
|
|
7549 |
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
|
|
|
7550 |
else
|
|
|
7551 |
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
|
|
|
7552 |
fi
|
|
|
7553 |
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
|
|
|
7554 |
_lt_dsymutil='~$DSYMUTIL $lib || :'
|
|
|
7555 |
else
|
|
|
7556 |
_lt_dsymutil=
|
|
|
7557 |
fi
|
|
|
7558 |
;;
|
|
|
7559 |
esac
|
|
|
7560 |
|
|
|
7561 |
for ac_header in dlfcn.h
|
|
|
7562 |
do :
|
|
|
7563 |
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
|
|
|
7564 |
"
|
|
|
7565 |
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
|
|
|
7566 |
cat >>confdefs.h <<_ACEOF
|
|
|
7567 |
#define HAVE_DLFCN_H 1
|
|
|
7568 |
_ACEOF
|
|
|
7569 |
|
|
|
7570 |
fi
|
|
|
7571 |
|
|
|
7572 |
done
|
|
|
7573 |
|
|
|
7574 |
|
|
|
7575 |
|
|
|
7576 |
|
|
|
7577 |
|
|
|
7578 |
# Set options
|
|
|
7579 |
|
|
|
7580 |
|
|
|
7581 |
|
|
|
7582 |
enable_dlopen=no
|
|
|
7583 |
|
|
|
7584 |
|
|
|
7585 |
enable_win32_dll=no
|
|
|
7586 |
|
|
|
7587 |
|
|
|
7588 |
# Check whether --enable-shared was given.
|
|
|
7589 |
if test "${enable_shared+set}" = set; then :
|
|
|
7590 |
enableval=$enable_shared; p=${PACKAGE-default}
|
|
|
7591 |
case $enableval in
|
|
|
7592 |
yes) enable_shared=yes ;;
|
|
|
7593 |
no) enable_shared=no ;;
|
|
|
7594 |
*)
|
|
|
7595 |
enable_shared=no
|
|
|
7596 |
# Look at the argument we got. We use all the common list separators.
|
|
|
7597 |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
|
|
|
7598 |
for pkg in $enableval; do
|
|
|
7599 |
IFS="$lt_save_ifs"
|
|
|
7600 |
if test "X$pkg" = "X$p"; then
|
|
|
7601 |
enable_shared=yes
|
5390 |
fi
|
7602 |
fi
|
5391 |
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
|
7603 |
done
|
5392 |
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
|
7604 |
IFS="$lt_save_ifs"
|
5393 |
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
|
7605 |
;;
|
5394 |
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
|
7606 |
esac
|
5395 |
CFLAGS="$SAVE_CFLAGS"
|
7607 |
else
|
|
|
7608 |
enable_shared=yes
|
5396 |
fi
|
7609 |
fi
|
5397 |
;;
|
|
|
5398 |
|
7610 |
|
5399 |
|
7611 |
|
5400 |
esac
|
|
|
5401 |
|
7612 |
|
5402 |
# Sed substitution that helps us do robust quoting. It backslashifies
|
|
|
5403 |
# metacharacters that are still active within double-quoted strings.
|
|
|
5404 |
Xsed='sed -e s/^X//'
|
|
|
5405 |
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
|
|
|
5406 |
|
7613 |
|
5407 |
# Same as above, but do not quote variable references.
|
|
|
5408 |
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
|
|
|
5409 |
|
7614 |
|
5410 |
# Sed substitution to delay expansion of an escaped shell variable in a
|
|
|
5411 |
# double_quote_subst'ed string.
|
|
|
5412 |
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
|
|
|
5413 |
|
7615 |
|
5414 |
# Constants:
|
|
|
5415 |
rm="rm -f"
|
|
|
5416 |
|
7616 |
|
5417 |
# Global variables:
|
|
|
5418 |
default_ofile=libtool
|
|
|
5419 |
can_build_shared=yes
|
|
|
5420 |
|
7617 |
|
5421 |
# All known linkers require a `.a' archive for static linking (except M$VC,
|
|
|
5422 |
# which needs '.lib').
|
|
|
5423 |
libext=a
|
|
|
5424 |
ltmain="$ac_aux_dir/ltmain.sh"
|
|
|
5425 |
ofile="$default_ofile"
|
|
|
5426 |
with_gnu_ld="$lt_cv_prog_gnu_ld"
|
|
|
5427 |
need_locks="$enable_libtool_lock"
|
|
|
5428 |
|
7618 |
|
5429 |
old_CC="$CC"
|
7619 |
# Check whether --enable-static was given.
|
5430 |
old_CFLAGS="$CFLAGS"
|
7620 |
if test "${enable_static+set}" = set; then :
|
|
|
7621 |
enableval=$enable_static; p=${PACKAGE-default}
|
|
|
7622 |
case $enableval in
|
|
|
7623 |
yes) enable_static=yes ;;
|
|
|
7624 |
no) enable_static=no ;;
|
|
|
7625 |
*)
|
|
|
7626 |
enable_static=no
|
|
|
7627 |
# Look at the argument we got. We use all the common list separators.
|
|
|
7628 |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
|
|
|
7629 |
for pkg in $enableval; do
|
|
|
7630 |
IFS="$lt_save_ifs"
|
|
|
7631 |
if test "X$pkg" = "X$p"; then
|
|
|
7632 |
enable_static=yes
|
|
|
7633 |
fi
|
|
|
7634 |
done
|
|
|
7635 |
IFS="$lt_save_ifs"
|
|
|
7636 |
;;
|
|
|
7637 |
esac
|
|
|
7638 |
else
|
|
|
7639 |
enable_static=yes
|
|
|
7640 |
fi
|
5431 |
|
7641 |
|
5432 |
# Set sane defaults for various variables
|
7642 |
|
5433 |
test -z "$AR" && AR=ar
|
7643 |
|
5434 |
test -z "$AR_FLAGS" && AR_FLAGS=cru
|
7644 |
|
5435 |
test -z "$AS" && AS=as
|
7645 |
|
5436 |
test -z "$CC" && CC=cc
|
7646 |
|
5437 |
test -z "$DLLTOOL" && DLLTOOL=dlltool
|
7647 |
|
5438 |
test -z "$LD" && LD=ld
|
7648 |
|
|
|
7649 |
|
|
|
7650 |
|
|
|
7651 |
# Check whether --with-pic was given.
|
|
|
7652 |
if test "${with_pic+set}" = set; then :
|
|
|
7653 |
withval=$with_pic; lt_p=${PACKAGE-default}
|
|
|
7654 |
case $withval in
|
|
|
7655 |
yes|no) pic_mode=$withval ;;
|
|
|
7656 |
*)
|
|
|
7657 |
pic_mode=default
|
|
|
7658 |
# Look at the argument we got. We use all the common list separators.
|
|
|
7659 |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
|
|
|
7660 |
for lt_pkg in $withval; do
|
|
|
7661 |
IFS="$lt_save_ifs"
|
|
|
7662 |
if test "X$lt_pkg" = "X$lt_p"; then
|
|
|
7663 |
pic_mode=yes
|
|
|
7664 |
fi
|
|
|
7665 |
done
|
|
|
7666 |
IFS="$lt_save_ifs"
|
|
|
7667 |
;;
|
|
|
7668 |
esac
|
|
|
7669 |
else
|
|
|
7670 |
pic_mode=default
|
|
|
7671 |
fi
|
|
|
7672 |
|
|
|
7673 |
|
|
|
7674 |
test -z "$pic_mode" && pic_mode=default
|
|
|
7675 |
|
|
|
7676 |
|
|
|
7677 |
|
|
|
7678 |
|
|
|
7679 |
|
|
|
7680 |
|
|
|
7681 |
|
|
|
7682 |
# Check whether --enable-fast-install was given.
|
|
|
7683 |
if test "${enable_fast_install+set}" = set; then :
|
|
|
7684 |
enableval=$enable_fast_install; p=${PACKAGE-default}
|
|
|
7685 |
case $enableval in
|
|
|
7686 |
yes) enable_fast_install=yes ;;
|
|
|
7687 |
no) enable_fast_install=no ;;
|
|
|
7688 |
*)
|
|
|
7689 |
enable_fast_install=no
|
|
|
7690 |
# Look at the argument we got. We use all the common list separators.
|
|
|
7691 |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
|
|
|
7692 |
for pkg in $enableval; do
|
|
|
7693 |
IFS="$lt_save_ifs"
|
|
|
7694 |
if test "X$pkg" = "X$p"; then
|
|
|
7695 |
enable_fast_install=yes
|
|
|
7696 |
fi
|
|
|
7697 |
done
|
|
|
7698 |
IFS="$lt_save_ifs"
|
|
|
7699 |
;;
|
|
|
7700 |
esac
|
|
|
7701 |
else
|
|
|
7702 |
enable_fast_install=yes
|
|
|
7703 |
fi
|
|
|
7704 |
|
|
|
7705 |
|
|
|
7706 |
|
|
|
7707 |
|
|
|
7708 |
|
|
|
7709 |
|
|
|
7710 |
|
|
|
7711 |
|
|
|
7712 |
|
|
|
7713 |
|
|
|
7714 |
|
|
|
7715 |
# This can be used to rebuild libtool when needed
|
|
|
7716 |
LIBTOOL_DEPS="$ltmain"
|
|
|
7717 |
|
|
|
7718 |
# Always use our own libtool.
|
|
|
7719 |
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
|
|
|
7720 |
|
|
|
7721 |
|
|
|
7722 |
|
|
|
7723 |
|
|
|
7724 |
|
|
|
7725 |
|
|
|
7726 |
|
|
|
7727 |
|
|
|
7728 |
|
|
|
7729 |
|
|
|
7730 |
|
|
|
7731 |
|
|
|
7732 |
|
|
|
7733 |
|
|
|
7734 |
|
|
|
7735 |
|
|
|
7736 |
|
|
|
7737 |
|
|
|
7738 |
|
|
|
7739 |
|
|
|
7740 |
|
|
|
7741 |
|
|
|
7742 |
|
|
|
7743 |
|
|
|
7744 |
|
|
|
7745 |
|
|
|
7746 |
|
|
|
7747 |
|
|
|
7748 |
|
|
|
7749 |
|
5439 |
test -z "$LN_S" && LN_S="ln -s"
|
7750 |
test -z "$LN_S" && LN_S="ln -s"
|
5440 |
test -z "$MAGIC_CMD" && MAGIC_CMD=file
|
|
|
5441 |
test -z "$NM" && NM=nm
|
|
|
5442 |
test -z "$OBJDUMP" && OBJDUMP=objdump
|
|
|
5443 |
test -z "$RANLIB" && RANLIB=:
|
|
|
5444 |
test -z "$STRIP" && STRIP=:
|
|
|
5445 |
test -z "$ac_objext" && ac_objext=o
|
|
|
5446 |
|
7751 |
|
5447 |
if test x"$host" != x"$build"; then
|
|
|
5448 |
ac_tool_prefix=${host_alias}-
|
|
|
5449 |
else
|
|
|
5450 |
ac_tool_prefix=
|
|
|
5451 |
fi
|
|
|
5452 |
|
7752 |
|
5453 |
# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
|
7753 |
|
5454 |
case $host_os in
|
7754 |
|
5455 |
linux-gnu*) ;;
|
7755 |
|
5456 |
linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
|
7756 |
|
5457 |
esac
|
7757 |
|
|
|
7758 |
|
|
|
7759 |
|
|
|
7760 |
|
|
|
7761 |
|
|
|
7762 |
|
|
|
7763 |
|
|
|
7764 |
|
|
|
7765 |
if test -n "${ZSH_VERSION+set}" ; then
|
|
|
7766 |
setopt NO_GLOB_SUBST
|
|
|
7767 |
fi
|
|
|
7768 |
|
|
|
7769 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
|
|
|
7770 |
$as_echo_n "checking for objdir... " >&6; }
|
|
|
7771 |
if ${lt_cv_objdir+:} false; then :
|
|
|
7772 |
$as_echo_n "(cached) " >&6
|
|
|
7773 |
else
|
|
|
7774 |
rm -f .libs 2>/dev/null
|
|
|
7775 |
mkdir .libs 2>/dev/null
|
|
|
7776 |
if test -d .libs; then
|
|
|
7777 |
lt_cv_objdir=.libs
|
|
|
7778 |
else
|
|
|
7779 |
# MS-DOS does not allow filenames that begin with a dot.
|
|
|
7780 |
lt_cv_objdir=_libs
|
|
|
7781 |
fi
|
|
|
7782 |
rmdir .libs 2>/dev/null
|
|
|
7783 |
fi
|
|
|
7784 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
|
|
|
7785 |
$as_echo "$lt_cv_objdir" >&6; }
|
|
|
7786 |
objdir=$lt_cv_objdir
|
|
|
7787 |
|
|
|
7788 |
|
|
|
7789 |
|
|
|
7790 |
|
|
|
7791 |
|
|
|
7792 |
cat >>confdefs.h <<_ACEOF
|
|
|
7793 |
#define LT_OBJDIR "$lt_cv_objdir/"
|
|
|
7794 |
_ACEOF
|
|
|
7795 |
|
|
|
7796 |
|
|
|
7797 |
|
5458 |
|
7798 |
|
5459 |
case $host_os in
|
7799 |
case $host_os in
|
5460 |
aix3*)
|
7800 |
aix3*)
|
5461 |
# AIX sometimes has problems with the GCC collect2 program. For some
|
7801 |
# AIX sometimes has problems with the GCC collect2 program. For some
|
5462 |
# reason, if we set the COLLECT_NAMES environment variable, the problems
|
7802 |
# reason, if we set the COLLECT_NAMES environment variable, the problems
|
|
... |
|
... |
5466 |
export COLLECT_NAMES
|
7806 |
export COLLECT_NAMES
|
5467 |
fi
|
7807 |
fi
|
5468 |
;;
|
7808 |
;;
|
5469 |
esac
|
7809 |
esac
|
5470 |
|
7810 |
|
5471 |
# Determine commands to create old-style static archives.
|
7811 |
# Global variables:
|
5472 |
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
|
7812 |
ofile=libtool
|
5473 |
old_postinstall_cmds='chmod 644 $oldlib'
|
7813 |
can_build_shared=yes
|
5474 |
old_postuninstall_cmds=
|
|
|
5475 |
|
7814 |
|
5476 |
if test -n "$RANLIB"; then
|
7815 |
# All known linkers require a `.a' archive for static linking (except MSVC,
|
5477 |
case $host_os in
|
7816 |
# which needs '.lib').
|
5478 |
openbsd*)
|
7817 |
libext=a
|
5479 |
old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
|
7818 |
|
|
|
7819 |
with_gnu_ld="$lt_cv_prog_gnu_ld"
|
|
|
7820 |
|
|
|
7821 |
old_CC="$CC"
|
|
|
7822 |
old_CFLAGS="$CFLAGS"
|
|
|
7823 |
|
|
|
7824 |
# Set sane defaults for various variables
|
|
|
7825 |
test -z "$CC" && CC=cc
|
|
|
7826 |
test -z "$LTCC" && LTCC=$CC
|
|
|
7827 |
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
|
|
|
7828 |
test -z "$LD" && LD=ld
|
|
|
7829 |
test -z "$ac_objext" && ac_objext=o
|
|
|
7830 |
|
|
|
7831 |
for cc_temp in $compiler""; do
|
|
|
7832 |
case $cc_temp in
|
|
|
7833 |
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
|
|
|
7834 |
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
|
|
|
7835 |
\-*) ;;
|
|
|
7836 |
*) break;;
|
|
|
7837 |
esac
|
|
|
7838 |
done
|
|
|
7839 |
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
|
|
|
7840 |
|
|
|
7841 |
|
|
|
7842 |
# Only perform the check for file, if the check method requires it
|
|
|
7843 |
test -z "$MAGIC_CMD" && MAGIC_CMD=file
|
|
|
7844 |
case $deplibs_check_method in
|
|
|
7845 |
file_magic*)
|
|
|
7846 |
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
|
|
|
7847 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
|
|
|
7848 |
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
|
|
|
7849 |
if ${lt_cv_path_MAGIC_CMD+:} false; then :
|
|
|
7850 |
$as_echo_n "(cached) " >&6
|
|
|
7851 |
else
|
|
|
7852 |
case $MAGIC_CMD in
|
|
|
7853 |
[\\/*] | ?:[\\/]*)
|
|
|
7854 |
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
|
5480 |
;;
|
7855 |
;;
|
|
|
7856 |
*)
|
|
|
7857 |
lt_save_MAGIC_CMD="$MAGIC_CMD"
|
|
|
7858 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
|
|
|
7859 |
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
|
|
|
7860 |
for ac_dir in $ac_dummy; do
|
|
|
7861 |
IFS="$lt_save_ifs"
|
|
|
7862 |
test -z "$ac_dir" && ac_dir=.
|
|
|
7863 |
if test -f $ac_dir/${ac_tool_prefix}file; then
|
|
|
7864 |
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
|
|
|
7865 |
if test -n "$file_magic_test_file"; then
|
|
|
7866 |
case $deplibs_check_method in
|
|
|
7867 |
"file_magic "*)
|
|
|
7868 |
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
|
|
|
7869 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
|
|
|
7870 |
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
|
|
|
7871 |
$EGREP "$file_magic_regex" > /dev/null; then
|
|
|
7872 |
:
|
|
|
7873 |
else
|
|
|
7874 |
cat <<_LT_EOF 1>&2
|
|
|
7875 |
|
|
|
7876 |
*** Warning: the command libtool uses to detect shared libraries,
|
|
|
7877 |
*** $file_magic_cmd, produces output that libtool cannot recognize.
|
|
|
7878 |
*** The result is that libtool may fail to recognize shared libraries
|
|
|
7879 |
*** as such. This will affect the creation of libtool libraries that
|
|
|
7880 |
*** depend on shared libraries, but programs linked with such libtool
|
|
|
7881 |
*** libraries will work regardless of this problem. Nevertheless, you
|
|
|
7882 |
*** may want to report the problem to your system manager and/or to
|
|
|
7883 |
*** bug-libtool@gnu.org
|
|
|
7884 |
|
|
|
7885 |
_LT_EOF
|
|
|
7886 |
fi ;;
|
|
|
7887 |
esac
|
|
|
7888 |
fi
|
|
|
7889 |
break
|
|
|
7890 |
fi
|
|
|
7891 |
done
|
|
|
7892 |
IFS="$lt_save_ifs"
|
|
|
7893 |
MAGIC_CMD="$lt_save_MAGIC_CMD"
|
|
|
7894 |
;;
|
|
|
7895 |
esac
|
|
|
7896 |
fi
|
|
|
7897 |
|
|
|
7898 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
|
|
|
7899 |
if test -n "$MAGIC_CMD"; then
|
|
|
7900 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
|
|
|
7901 |
$as_echo "$MAGIC_CMD" >&6; }
|
|
|
7902 |
else
|
|
|
7903 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
7904 |
$as_echo "no" >&6; }
|
|
|
7905 |
fi
|
|
|
7906 |
|
|
|
7907 |
|
|
|
7908 |
|
|
|
7909 |
|
|
|
7910 |
|
|
|
7911 |
if test -z "$lt_cv_path_MAGIC_CMD"; then
|
|
|
7912 |
if test -n "$ac_tool_prefix"; then
|
|
|
7913 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
|
|
|
7914 |
$as_echo_n "checking for file... " >&6; }
|
|
|
7915 |
if ${lt_cv_path_MAGIC_CMD+:} false; then :
|
|
|
7916 |
$as_echo_n "(cached) " >&6
|
|
|
7917 |
else
|
|
|
7918 |
case $MAGIC_CMD in
|
|
|
7919 |
[\\/*] | ?:[\\/]*)
|
|
|
7920 |
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
|
|
|
7921 |
;;
|
|
|
7922 |
*)
|
|
|
7923 |
lt_save_MAGIC_CMD="$MAGIC_CMD"
|
|
|
7924 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
|
|
|
7925 |
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
|
|
|
7926 |
for ac_dir in $ac_dummy; do
|
|
|
7927 |
IFS="$lt_save_ifs"
|
|
|
7928 |
test -z "$ac_dir" && ac_dir=.
|
|
|
7929 |
if test -f $ac_dir/file; then
|
|
|
7930 |
lt_cv_path_MAGIC_CMD="$ac_dir/file"
|
|
|
7931 |
if test -n "$file_magic_test_file"; then
|
|
|
7932 |
case $deplibs_check_method in
|
|
|
7933 |
"file_magic "*)
|
|
|
7934 |
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
|
|
|
7935 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
|
|
|
7936 |
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
|
|
|
7937 |
$EGREP "$file_magic_regex" > /dev/null; then
|
|
|
7938 |
:
|
|
|
7939 |
else
|
|
|
7940 |
cat <<_LT_EOF 1>&2
|
|
|
7941 |
|
|
|
7942 |
*** Warning: the command libtool uses to detect shared libraries,
|
|
|
7943 |
*** $file_magic_cmd, produces output that libtool cannot recognize.
|
|
|
7944 |
*** The result is that libtool may fail to recognize shared libraries
|
|
|
7945 |
*** as such. This will affect the creation of libtool libraries that
|
|
|
7946 |
*** depend on shared libraries, but programs linked with such libtool
|
|
|
7947 |
*** libraries will work regardless of this problem. Nevertheless, you
|
|
|
7948 |
*** may want to report the problem to your system manager and/or to
|
|
|
7949 |
*** bug-libtool@gnu.org
|
|
|
7950 |
|
|
|
7951 |
_LT_EOF
|
|
|
7952 |
fi ;;
|
|
|
7953 |
esac
|
|
|
7954 |
fi
|
|
|
7955 |
break
|
|
|
7956 |
fi
|
|
|
7957 |
done
|
|
|
7958 |
IFS="$lt_save_ifs"
|
|
|
7959 |
MAGIC_CMD="$lt_save_MAGIC_CMD"
|
|
|
7960 |
;;
|
|
|
7961 |
esac
|
|
|
7962 |
fi
|
|
|
7963 |
|
|
|
7964 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
|
|
|
7965 |
if test -n "$MAGIC_CMD"; then
|
|
|
7966 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
|
|
|
7967 |
$as_echo "$MAGIC_CMD" >&6; }
|
|
|
7968 |
else
|
|
|
7969 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
7970 |
$as_echo "no" >&6; }
|
|
|
7971 |
fi
|
|
|
7972 |
|
|
|
7973 |
|
|
|
7974 |
else
|
|
|
7975 |
MAGIC_CMD=:
|
|
|
7976 |
fi
|
|
|
7977 |
fi
|
|
|
7978 |
|
|
|
7979 |
fi
|
|
|
7980 |
;;
|
|
|
7981 |
esac
|
|
|
7982 |
|
|
|
7983 |
# Use C for the default configuration in the libtool script
|
|
|
7984 |
|
|
|
7985 |
lt_save_CC="$CC"
|
|
|
7986 |
ac_ext=c
|
|
|
7987 |
ac_cpp='$CPP $CPPFLAGS'
|
|
|
7988 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
|
7989 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
|
7990 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
7991 |
|
|
|
7992 |
|
|
|
7993 |
# Source file extension for C test sources.
|
|
|
7994 |
ac_ext=c
|
|
|
7995 |
|
|
|
7996 |
# Object file extension for compiled C test sources.
|
|
|
7997 |
objext=o
|
|
|
7998 |
objext=$objext
|
|
|
7999 |
|
|
|
8000 |
# Code to be used in simple compile tests
|
|
|
8001 |
lt_simple_compile_test_code="int some_variable = 0;"
|
|
|
8002 |
|
|
|
8003 |
# Code to be used in simple link tests
|
|
|
8004 |
lt_simple_link_test_code='int main(){return(0);}'
|
|
|
8005 |
|
|
|
8006 |
|
|
|
8007 |
|
|
|
8008 |
|
|
|
8009 |
|
|
|
8010 |
|
|
|
8011 |
|
|
|
8012 |
# If no C compiler was specified, use CC.
|
|
|
8013 |
LTCC=${LTCC-"$CC"}
|
|
|
8014 |
|
|
|
8015 |
# If no C compiler flags were specified, use CFLAGS.
|
|
|
8016 |
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
|
|
|
8017 |
|
|
|
8018 |
# Allow CC to be a program name with arguments.
|
|
|
8019 |
compiler=$CC
|
|
|
8020 |
|
|
|
8021 |
# Save the default compiler, since it gets overwritten when the other
|
|
|
8022 |
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
|
|
|
8023 |
compiler_DEFAULT=$CC
|
|
|
8024 |
|
|
|
8025 |
# save warnings/boilerplate of simple test code
|
|
|
8026 |
ac_outfile=conftest.$ac_objext
|
|
|
8027 |
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
|
|
|
8028 |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
|
|
|
8029 |
_lt_compiler_boilerplate=`cat conftest.err`
|
|
|
8030 |
$RM conftest*
|
|
|
8031 |
|
|
|
8032 |
ac_outfile=conftest.$ac_objext
|
|
|
8033 |
echo "$lt_simple_link_test_code" >conftest.$ac_ext
|
|
|
8034 |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
|
|
|
8035 |
_lt_linker_boilerplate=`cat conftest.err`
|
|
|
8036 |
$RM -r conftest*
|
|
|
8037 |
|
|
|
8038 |
|
|
|
8039 |
if test -n "$compiler"; then
|
|
|
8040 |
|
|
|
8041 |
lt_prog_compiler_no_builtin_flag=
|
|
|
8042 |
|
|
|
8043 |
if test "$GCC" = yes; then
|
|
|
8044 |
case $cc_basename in
|
|
|
8045 |
nvcc*)
|
|
|
8046 |
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
|
5481 |
*)
|
8047 |
*)
|
5482 |
old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
|
8048 |
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
|
5483 |
;;
|
|
|
5484 |
esac
|
8049 |
esac
|
5485 |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
|
|
|
5486 |
fi
|
|
|
5487 |
|
8050 |
|
5488 |
# Allow CC to be a program name with arguments.
|
8051 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
|
5489 |
set dummy $CC
|
8052 |
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
|
5490 |
compiler="$2"
|
8053 |
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
|
5491 |
|
8054 |
$as_echo_n "(cached) " >&6
|
5492 |
{ echo "$as_me:$LINENO: checking for objdir" >&5
|
|
|
5493 |
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
|
|
|
5494 |
rm -f .libs 2>/dev/null
|
|
|
5495 |
mkdir .libs 2>/dev/null
|
|
|
5496 |
if test -d .libs; then
|
|
|
5497 |
objdir=.libs
|
|
|
5498 |
else
|
8055 |
else
|
5499 |
# MS-DOS does not allow filenames that begin with a dot.
|
8056 |
lt_cv_prog_compiler_rtti_exceptions=no
|
5500 |
objdir=_libs
|
8057 |
ac_outfile=conftest.$ac_objext
|
5501 |
fi
|
8058 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
5502 |
rmdir .libs 2>/dev/null
|
8059 |
lt_compiler_flag="-fno-rtti -fno-exceptions"
|
5503 |
{ echo "$as_me:$LINENO: result: $objdir" >&5
|
8060 |
# Insert the option either (1) after the last *FLAGS variable, or
|
5504 |
echo "${ECHO_T}$objdir" >&6; }
|
8061 |
# (2) before a word containing "conftest.", or (3) at the end.
|
|
|
8062 |
# Note that $ac_compile itself does not contain backslashes and begins
|
|
|
8063 |
# with a dollar sign (not a hyphen), so the echo should work correctly.
|
|
|
8064 |
# The option is referenced via a variable to avoid confusing sed.
|
|
|
8065 |
lt_compile=`echo "$ac_compile" | $SED \
|
|
|
8066 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
|
|
8067 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
|
|
8068 |
-e 's:$: $lt_compiler_flag:'`
|
|
|
8069 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
|
|
|
8070 |
(eval "$lt_compile" 2>conftest.err)
|
|
|
8071 |
ac_status=$?
|
|
|
8072 |
cat conftest.err >&5
|
|
|
8073 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
8074 |
if (exit $ac_status) && test -s "$ac_outfile"; then
|
|
|
8075 |
# The compiler can only warn and ignore the option if not recognized
|
|
|
8076 |
# So say no if there are warnings other than the usual output.
|
|
|
8077 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
|
|
|
8078 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
|
|
|
8079 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
|
|
|
8080 |
lt_cv_prog_compiler_rtti_exceptions=yes
|
|
|
8081 |
fi
|
|
|
8082 |
fi
|
|
|
8083 |
$RM conftest*
|
5505 |
|
8084 |
|
5506 |
|
|
|
5507 |
|
|
|
5508 |
# Check whether --with-pic was given.
|
|
|
5509 |
if test "${with_pic+set}" = set; then
|
|
|
5510 |
withval=$with_pic; pic_mode="$withval"
|
|
|
5511 |
else
|
|
|
5512 |
pic_mode=default
|
|
|
5513 |
fi
|
8085 |
fi
|
|
|
8086 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
|
|
|
8087 |
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
|
5514 |
|
8088 |
|
5515 |
test -z "$pic_mode" && pic_mode=default
|
8089 |
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
|
5516 |
|
8090 |
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
|
5517 |
# We assume here that the value for lt_cv_prog_cc_pic will not be cached
|
|
|
5518 |
# in isolation, and that seeing it set (from the cache) indicates that
|
|
|
5519 |
# the associated values are set (in the cache) correctly too.
|
|
|
5520 |
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
|
|
|
5521 |
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
|
|
|
5522 |
if test "${lt_cv_prog_cc_pic+set}" = set; then
|
|
|
5523 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
5524 |
else
|
8091 |
else
|
5525 |
lt_cv_prog_cc_pic=
|
8092 |
:
|
5526 |
lt_cv_prog_cc_shlib=
|
8093 |
fi
|
5527 |
lt_cv_prog_cc_wl=
|
8094 |
|
5528 |
lt_cv_prog_cc_static=
|
8095 |
fi
|
5529 |
lt_cv_prog_cc_no_builtin=
|
8096 |
|
5530 |
lt_cv_prog_cc_can_build_shared=$can_build_shared
|
8097 |
|
|
|
8098 |
|
|
|
8099 |
|
|
|
8100 |
|
|
|
8101 |
|
|
|
8102 |
lt_prog_compiler_wl=
|
|
|
8103 |
lt_prog_compiler_pic=
|
|
|
8104 |
lt_prog_compiler_static=
|
|
|
8105 |
|
5531 |
|
8106 |
|
5532 |
if test "$GCC" = yes; then
|
8107 |
if test "$GCC" = yes; then
|
5533 |
lt_cv_prog_cc_wl='-Wl,'
|
8108 |
lt_prog_compiler_wl='-Wl,'
|
5534 |
lt_cv_prog_cc_static='-static'
|
8109 |
lt_prog_compiler_static='-static'
|
5535 |
|
8110 |
|
5536 |
case $host_os in
|
8111 |
case $host_os in
|
5537 |
aix*)
|
8112 |
aix*)
|
5538 |
# Below there is a dirty hack to force normal static linking with -ldl
|
8113 |
# All AIX code is PIC.
|
5539 |
# The problem is because libdl dynamically linked with both libc and
|
8114 |
if test "$host_cpu" = ia64; then
|
5540 |
# libC (AIX C++ library), which obviously doesn't included in libraries
|
8115 |
# AIX 5 now supports IA64 processor
|
5541 |
# list by gcc. This cause undefined symbols with -static flags.
|
8116 |
lt_prog_compiler_static='-Bstatic'
|
5542 |
# This hack allows C programs to be linked with "-static -ldl", but
|
8117 |
fi
|
5543 |
# not sure about C++ programs.
|
|
|
5544 |
lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
|
|
|
5545 |
;;
|
8118 |
;;
|
|
|
8119 |
|
5546 |
amigaos*)
|
8120 |
amigaos*)
|
|
|
8121 |
case $host_cpu in
|
|
|
8122 |
powerpc)
|
|
|
8123 |
# see comment about AmigaOS4 .so support
|
|
|
8124 |
lt_prog_compiler_pic='-fPIC'
|
|
|
8125 |
;;
|
|
|
8126 |
m68k)
|
5547 |
# FIXME: we need at least 68020 code to build shared libraries, but
|
8127 |
# FIXME: we need at least 68020 code to build shared libraries, but
|
5548 |
# adding the `-m68020' flag to GCC prevents building anything better,
|
8128 |
# adding the `-m68020' flag to GCC prevents building anything better,
|
5549 |
# like `-m68040'.
|
8129 |
# like `-m68040'.
|
5550 |
lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
|
8130 |
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
|
|
|
8131 |
;;
|
|
|
8132 |
esac
|
5551 |
;;
|
8133 |
;;
|
|
|
8134 |
|
5552 |
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
8135 |
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
5553 |
# PIC is the default for these OSes.
|
8136 |
# PIC is the default for these OSes.
|
5554 |
;;
|
8137 |
;;
|
|
|
8138 |
|
|
|
8139 |
mingw* | cygwin* | pw32* | os2* | cegcc*)
|
|
|
8140 |
# This hack is so that the source file can tell whether it is being
|
|
|
8141 |
# built for inclusion in a dll (and should export symbols for example).
|
|
|
8142 |
# Although the cygwin gcc ignores -fPIC, still need this for old-style
|
|
|
8143 |
# (--disable-auto-import) libraries
|
|
|
8144 |
lt_prog_compiler_pic='-DDLL_EXPORT'
|
|
|
8145 |
;;
|
|
|
8146 |
|
5555 |
darwin* | rhapsody*)
|
8147 |
darwin* | rhapsody*)
|
5556 |
# PIC is the default on this platform
|
8148 |
# PIC is the default on this platform
|
5557 |
# Common symbols not allowed in MH_DYLIB files
|
8149 |
# Common symbols not allowed in MH_DYLIB files
|
5558 |
lt_cv_prog_cc_pic='-fno-common'
|
8150 |
lt_prog_compiler_pic='-fno-common'
|
5559 |
;;
|
8151 |
;;
|
5560 |
cygwin* | mingw* | pw32* | os2*)
|
8152 |
|
5561 |
# This hack is so that the source file can tell whether it is being
|
8153 |
haiku*)
|
5562 |
# built for inclusion in a dll (and should export symbols for example).
|
8154 |
# PIC is the default for Haiku.
|
5563 |
lt_cv_prog_cc_pic='-DDLL_EXPORT'
|
8155 |
# The "-static" flag exists, but is broken.
|
|
|
8156 |
lt_prog_compiler_static=
|
5564 |
;;
|
8157 |
;;
|
|
|
8158 |
|
|
|
8159 |
hpux*)
|
|
|
8160 |
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
|
|
|
8161 |
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
|
|
|
8162 |
# sets the default TLS model and affects inlining.
|
|
|
8163 |
case $host_cpu in
|
|
|
8164 |
hppa*64*)
|
|
|
8165 |
# +Z the default
|
|
|
8166 |
;;
|
|
|
8167 |
*)
|
|
|
8168 |
lt_prog_compiler_pic='-fPIC'
|
|
|
8169 |
;;
|
|
|
8170 |
esac
|
|
|
8171 |
;;
|
|
|
8172 |
|
|
|
8173 |
interix[3-9]*)
|
|
|
8174 |
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
|
|
|
8175 |
# Instead, we relocate shared libraries at runtime.
|
|
|
8176 |
;;
|
|
|
8177 |
|
|
|
8178 |
msdosdjgpp*)
|
|
|
8179 |
# Just because we use GCC doesn't mean we suddenly get shared libraries
|
|
|
8180 |
# on systems that don't support them.
|
|
|
8181 |
lt_prog_compiler_can_build_shared=no
|
|
|
8182 |
enable_shared=no
|
|
|
8183 |
;;
|
|
|
8184 |
|
|
|
8185 |
*nto* | *qnx*)
|
|
|
8186 |
# QNX uses GNU C++, but need to define -shared option too, otherwise
|
|
|
8187 |
# it will coredump.
|
|
|
8188 |
lt_prog_compiler_pic='-fPIC -shared'
|
|
|
8189 |
;;
|
|
|
8190 |
|
5565 |
sysv4*MP*)
|
8191 |
sysv4*MP*)
|
5566 |
if test -d /usr/nec; then
|
8192 |
if test -d /usr/nec; then
|
5567 |
lt_cv_prog_cc_pic=-Kconform_pic
|
8193 |
lt_prog_compiler_pic=-Kconform_pic
|
5568 |
fi
|
8194 |
fi
|
5569 |
;;
|
8195 |
;;
|
|
|
8196 |
|
5570 |
*)
|
8197 |
*)
|
5571 |
lt_cv_prog_cc_pic='-fPIC'
|
8198 |
lt_prog_compiler_pic='-fPIC'
|
|
|
8199 |
;;
|
|
|
8200 |
esac
|
|
|
8201 |
|
|
|
8202 |
case $cc_basename in
|
|
|
8203 |
nvcc*) # Cuda Compiler Driver 2.2
|
|
|
8204 |
lt_prog_compiler_wl='-Xlinker '
|
|
|
8205 |
if test -n "$lt_prog_compiler_pic"; then
|
|
|
8206 |
lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
|
|
|
8207 |
fi
|
5572 |
;;
|
8208 |
;;
|
5573 |
esac
|
8209 |
esac
|
5574 |
else
|
8210 |
else
|
5575 |
# PORTME Check for PIC flags for the system compiler.
|
8211 |
# PORTME Check for flag to pass linker flags through the system compiler.
|
5576 |
case $host_os in
|
8212 |
case $host_os in
|
5577 |
aix3* | aix4* | aix5*)
|
8213 |
aix*)
|
5578 |
lt_cv_prog_cc_wl='-Wl,'
|
8214 |
lt_prog_compiler_wl='-Wl,'
|
5579 |
# All AIX code is PIC.
|
|
|
5580 |
if test "$host_cpu" = ia64; then
|
8215 |
if test "$host_cpu" = ia64; then
|
5581 |
# AIX 5 now supports IA64 processor
|
8216 |
# AIX 5 now supports IA64 processor
|
5582 |
lt_cv_prog_cc_static='-Bstatic'
|
8217 |
lt_prog_compiler_static='-Bstatic'
|
5583 |
else
|
8218 |
else
|
5584 |
lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
|
8219 |
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
|
5585 |
fi
|
8220 |
fi
|
5586 |
;;
|
8221 |
;;
|
5587 |
|
8222 |
|
5588 |
hpux9* | hpux10* | hpux11*)
|
8223 |
mingw* | cygwin* | pw32* | os2* | cegcc*)
|
5589 |
# Is there a better lt_cv_prog_cc_static that works with the bundled CC?
|
|
|
5590 |
lt_cv_prog_cc_wl='-Wl,'
|
|
|
5591 |
lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
|
|
|
5592 |
lt_cv_prog_cc_pic='+Z'
|
|
|
5593 |
;;
|
|
|
5594 |
|
|
|
5595 |
irix5* | irix6* | nonstopux*)
|
|
|
5596 |
lt_cv_prog_cc_wl='-Wl,'
|
|
|
5597 |
lt_cv_prog_cc_static='-non_shared'
|
|
|
5598 |
# PIC (with -KPIC) is the default.
|
|
|
5599 |
;;
|
|
|
5600 |
|
|
|
5601 |
cygwin* | mingw* | pw32* | os2*)
|
|
|
5602 |
# This hack is so that the source file can tell whether it is being
|
8224 |
# This hack is so that the source file can tell whether it is being
|
5603 |
# built for inclusion in a dll (and should export symbols for example).
|
8225 |
# built for inclusion in a dll (and should export symbols for example).
|
5604 |
lt_cv_prog_cc_pic='-DDLL_EXPORT'
|
8226 |
lt_prog_compiler_pic='-DDLL_EXPORT'
|
5605 |
;;
|
8227 |
;;
|
5606 |
|
8228 |
|
|
|
8229 |
hpux9* | hpux10* | hpux11*)
|
|
|
8230 |
lt_prog_compiler_wl='-Wl,'
|
|
|
8231 |
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
|
|
|
8232 |
# not for PA HP-UX.
|
|
|
8233 |
case $host_cpu in
|
|
|
8234 |
hppa*64*|ia64*)
|
|
|
8235 |
# +Z the default
|
|
|
8236 |
;;
|
|
|
8237 |
*)
|
|
|
8238 |
lt_prog_compiler_pic='+Z'
|
|
|
8239 |
;;
|
|
|
8240 |
esac
|
|
|
8241 |
# Is there a better lt_prog_compiler_static that works with the bundled CC?
|
|
|
8242 |
lt_prog_compiler_static='${wl}-a ${wl}archive'
|
|
|
8243 |
;;
|
|
|
8244 |
|
|
|
8245 |
irix5* | irix6* | nonstopux*)
|
|
|
8246 |
lt_prog_compiler_wl='-Wl,'
|
|
|
8247 |
# PIC (with -KPIC) is the default.
|
|
|
8248 |
lt_prog_compiler_static='-non_shared'
|
|
|
8249 |
;;
|
|
|
8250 |
|
|
|
8251 |
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
|
|
8252 |
case $cc_basename in
|
|
|
8253 |
# old Intel for x86_64 which still supported -KPIC.
|
|
|
8254 |
ecc*)
|
|
|
8255 |
lt_prog_compiler_wl='-Wl,'
|
|
|
8256 |
lt_prog_compiler_pic='-KPIC'
|
|
|
8257 |
lt_prog_compiler_static='-static'
|
|
|
8258 |
;;
|
|
|
8259 |
# icc used to be incompatible with GCC.
|
|
|
8260 |
# ICC 10 doesn't accept -KPIC any more.
|
|
|
8261 |
icc* | ifort*)
|
|
|
8262 |
lt_prog_compiler_wl='-Wl,'
|
|
|
8263 |
lt_prog_compiler_pic='-fPIC'
|
|
|
8264 |
lt_prog_compiler_static='-static'
|
|
|
8265 |
;;
|
|
|
8266 |
# Lahey Fortran 8.1.
|
|
|
8267 |
lf95*)
|
|
|
8268 |
lt_prog_compiler_wl='-Wl,'
|
|
|
8269 |
lt_prog_compiler_pic='--shared'
|
|
|
8270 |
lt_prog_compiler_static='--static'
|
|
|
8271 |
;;
|
|
|
8272 |
nagfor*)
|
|
|
8273 |
# NAG Fortran compiler
|
|
|
8274 |
lt_prog_compiler_wl='-Wl,-Wl,,'
|
|
|
8275 |
lt_prog_compiler_pic='-PIC'
|
|
|
8276 |
lt_prog_compiler_static='-Bstatic'
|
|
|
8277 |
;;
|
|
|
8278 |
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
|
|
|
8279 |
# Portland Group compilers (*not* the Pentium gcc compiler,
|
|
|
8280 |
# which looks to be a dead project)
|
|
|
8281 |
lt_prog_compiler_wl='-Wl,'
|
|
|
8282 |
lt_prog_compiler_pic='-fpic'
|
|
|
8283 |
lt_prog_compiler_static='-Bstatic'
|
|
|
8284 |
;;
|
|
|
8285 |
ccc*)
|
|
|
8286 |
lt_prog_compiler_wl='-Wl,'
|
|
|
8287 |
# All Alpha code is PIC.
|
|
|
8288 |
lt_prog_compiler_static='-non_shared'
|
|
|
8289 |
;;
|
|
|
8290 |
xl* | bgxl* | bgf* | mpixl*)
|
|
|
8291 |
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
|
|
|
8292 |
lt_prog_compiler_wl='-Wl,'
|
|
|
8293 |
lt_prog_compiler_pic='-qpic'
|
|
|
8294 |
lt_prog_compiler_static='-qstaticlink'
|
|
|
8295 |
;;
|
|
|
8296 |
*)
|
|
|
8297 |
case `$CC -V 2>&1 | sed 5q` in
|
|
|
8298 |
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
|
|
|
8299 |
# Sun Fortran 8.3 passes all unrecognized flags to the linker
|
|
|
8300 |
lt_prog_compiler_pic='-KPIC'
|
|
|
8301 |
lt_prog_compiler_static='-Bstatic'
|
|
|
8302 |
lt_prog_compiler_wl=''
|
|
|
8303 |
;;
|
|
|
8304 |
*Sun\ F* | *Sun*Fortran*)
|
|
|
8305 |
lt_prog_compiler_pic='-KPIC'
|
|
|
8306 |
lt_prog_compiler_static='-Bstatic'
|
|
|
8307 |
lt_prog_compiler_wl='-Qoption ld '
|
|
|
8308 |
;;
|
|
|
8309 |
*Sun\ C*)
|
|
|
8310 |
# Sun C 5.9
|
|
|
8311 |
lt_prog_compiler_pic='-KPIC'
|
|
|
8312 |
lt_prog_compiler_static='-Bstatic'
|
|
|
8313 |
lt_prog_compiler_wl='-Wl,'
|
|
|
8314 |
;;
|
|
|
8315 |
*Intel*\ [CF]*Compiler*)
|
|
|
8316 |
lt_prog_compiler_wl='-Wl,'
|
|
|
8317 |
lt_prog_compiler_pic='-fPIC'
|
|
|
8318 |
lt_prog_compiler_static='-static'
|
|
|
8319 |
;;
|
|
|
8320 |
*Portland\ Group*)
|
|
|
8321 |
lt_prog_compiler_wl='-Wl,'
|
|
|
8322 |
lt_prog_compiler_pic='-fpic'
|
|
|
8323 |
lt_prog_compiler_static='-Bstatic'
|
|
|
8324 |
;;
|
|
|
8325 |
esac
|
|
|
8326 |
;;
|
|
|
8327 |
esac
|
|
|
8328 |
;;
|
|
|
8329 |
|
5607 |
newsos6)
|
8330 |
newsos6)
|
5608 |
lt_cv_prog_cc_pic='-KPIC'
|
8331 |
lt_prog_compiler_pic='-KPIC'
|
5609 |
lt_cv_prog_cc_static='-Bstatic'
|
8332 |
lt_prog_compiler_static='-Bstatic'
|
5610 |
;;
|
8333 |
;;
|
5611 |
|
8334 |
|
|
|
8335 |
*nto* | *qnx*)
|
|
|
8336 |
# QNX uses GNU C++, but need to define -shared option too, otherwise
|
|
|
8337 |
# it will coredump.
|
|
|
8338 |
lt_prog_compiler_pic='-fPIC -shared'
|
|
|
8339 |
;;
|
|
|
8340 |
|
5612 |
osf3* | osf4* | osf5*)
|
8341 |
osf3* | osf4* | osf5*)
|
|
|
8342 |
lt_prog_compiler_wl='-Wl,'
|
5613 |
# All OSF/1 code is PIC.
|
8343 |
# All OSF/1 code is PIC.
|
5614 |
lt_cv_prog_cc_wl='-Wl,'
|
|
|
5615 |
lt_cv_prog_cc_static='-non_shared'
|
8344 |
lt_prog_compiler_static='-non_shared'
|
5616 |
;;
|
8345 |
;;
|
5617 |
|
8346 |
|
5618 |
sco3.2v5*)
|
8347 |
rdos*)
|
5619 |
lt_cv_prog_cc_pic='-Kpic'
|
8348 |
lt_prog_compiler_static='-non_shared'
|
5620 |
lt_cv_prog_cc_static='-dn'
|
|
|
5621 |
lt_cv_prog_cc_shlib='-belf'
|
|
|
5622 |
;;
|
8349 |
;;
|
5623 |
|
8350 |
|
5624 |
solaris*)
|
8351 |
solaris*)
|
5625 |
lt_cv_prog_cc_pic='-KPIC'
|
8352 |
lt_prog_compiler_pic='-KPIC'
|
5626 |
lt_cv_prog_cc_static='-Bstatic'
|
8353 |
lt_prog_compiler_static='-Bstatic'
|
5627 |
lt_cv_prog_cc_wl='-Wl,'
|
8354 |
case $cc_basename in
|
|
|
8355 |
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
|
|
|
8356 |
lt_prog_compiler_wl='-Qoption ld ';;
|
|
|
8357 |
*)
|
|
|
8358 |
lt_prog_compiler_wl='-Wl,';;
|
|
|
8359 |
esac
|
5628 |
;;
|
8360 |
;;
|
5629 |
|
8361 |
|
5630 |
sunos4*)
|
8362 |
sunos4*)
|
5631 |
lt_cv_prog_cc_pic='-PIC'
|
|
|
5632 |
lt_cv_prog_cc_static='-Bstatic'
|
|
|
5633 |
lt_cv_prog_cc_wl='-Qoption ld '
|
8363 |
lt_prog_compiler_wl='-Qoption ld '
|
|
|
8364 |
lt_prog_compiler_pic='-PIC'
|
|
|
8365 |
lt_prog_compiler_static='-Bstatic'
|
5634 |
;;
|
8366 |
;;
|
5635 |
|
8367 |
|
5636 |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
|
8368 |
sysv4 | sysv4.2uw2* | sysv4.3*)
|
|
|
8369 |
lt_prog_compiler_wl='-Wl,'
|
5637 |
lt_cv_prog_cc_pic='-KPIC'
|
8370 |
lt_prog_compiler_pic='-KPIC'
|
5638 |
lt_cv_prog_cc_static='-Bstatic'
|
8371 |
lt_prog_compiler_static='-Bstatic'
|
5639 |
lt_cv_prog_cc_wl='-Wl,'
|
|
|
5640 |
;;
|
|
|
5641 |
|
|
|
5642 |
uts4*)
|
|
|
5643 |
lt_cv_prog_cc_pic='-pic'
|
|
|
5644 |
lt_cv_prog_cc_static='-Bstatic'
|
|
|
5645 |
;;
|
8372 |
;;
|
5646 |
|
8373 |
|
5647 |
sysv4*MP*)
|
8374 |
sysv4*MP*)
|
5648 |
if test -d /usr/nec ;then
|
8375 |
if test -d /usr/nec ;then
|
5649 |
lt_cv_prog_cc_pic='-Kconform_pic'
|
8376 |
lt_prog_compiler_pic='-Kconform_pic'
|
5650 |
lt_cv_prog_cc_static='-Bstatic'
|
8377 |
lt_prog_compiler_static='-Bstatic'
|
5651 |
fi
|
8378 |
fi
|
5652 |
;;
|
8379 |
;;
|
5653 |
|
8380 |
|
|
|
8381 |
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
|
|
|
8382 |
lt_prog_compiler_wl='-Wl,'
|
|
|
8383 |
lt_prog_compiler_pic='-KPIC'
|
|
|
8384 |
lt_prog_compiler_static='-Bstatic'
|
|
|
8385 |
;;
|
|
|
8386 |
|
|
|
8387 |
unicos*)
|
|
|
8388 |
lt_prog_compiler_wl='-Wl,'
|
|
|
8389 |
lt_prog_compiler_can_build_shared=no
|
|
|
8390 |
;;
|
|
|
8391 |
|
|
|
8392 |
uts4*)
|
|
|
8393 |
lt_prog_compiler_pic='-pic'
|
|
|
8394 |
lt_prog_compiler_static='-Bstatic'
|
|
|
8395 |
;;
|
|
|
8396 |
|
5654 |
*)
|
8397 |
*)
|
5655 |
lt_cv_prog_cc_can_build_shared=no
|
8398 |
lt_prog_compiler_can_build_shared=no
|
5656 |
;;
|
8399 |
;;
|
5657 |
esac
|
8400 |
esac
|
5658 |
fi
|
8401 |
fi
|
5659 |
|
8402 |
|
5660 |
fi
|
8403 |
case $host_os in
|
5661 |
|
8404 |
# For platforms which do not support PIC, -DPIC is meaningless:
|
5662 |
if test -z "$lt_cv_prog_cc_pic"; then
|
8405 |
*djgpp*)
|
5663 |
{ echo "$as_me:$LINENO: result: none" >&5
|
8406 |
lt_prog_compiler_pic=
|
5664 |
echo "${ECHO_T}none" >&6; }
|
8407 |
;;
|
5665 |
else
|
8408 |
*)
|
5666 |
{ echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5
|
8409 |
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
|
5667 |
echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6; }
|
8410 |
;;
|
5668 |
|
|
|
5669 |
# Check to make sure the pic_flag actually works.
|
|
|
5670 |
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
|
|
|
5671 |
echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6; }
|
|
|
5672 |
if test "${lt_cv_prog_cc_pic_works+set}" = set; then
|
|
|
5673 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
5674 |
else
|
|
|
5675 |
save_CFLAGS="$CFLAGS"
|
|
|
5676 |
CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
|
|
|
5677 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
5678 |
/* confdefs.h. */
|
|
|
5679 |
_ACEOF
|
|
|
5680 |
cat confdefs.h >>conftest.$ac_ext
|
|
|
5681 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
5682 |
/* end confdefs.h. */
|
|
|
5683 |
|
|
|
5684 |
int
|
|
|
5685 |
main ()
|
|
|
5686 |
{
|
|
|
5687 |
|
|
|
5688 |
;
|
|
|
5689 |
return 0;
|
|
|
5690 |
}
|
|
|
5691 |
_ACEOF
|
|
|
5692 |
rm -f conftest.$ac_objext
|
|
|
5693 |
if { (ac_try="$ac_compile"
|
|
|
5694 |
case "(($ac_try" in
|
|
|
5695 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
5696 |
*) ac_try_echo=$ac_try;;
|
|
|
5697 |
esac
|
8411 |
esac
|
|
|
8412 |
|
|
|
8413 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
|
|
|
8414 |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
|
|
|
8415 |
if ${lt_cv_prog_compiler_pic+:} false; then :
|
|
|
8416 |
$as_echo_n "(cached) " >&6
|
|
|
8417 |
else
|
|
|
8418 |
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
|
|
|
8419 |
fi
|
|
|
8420 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
|
|
|
8421 |
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
|
|
|
8422 |
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
|
|
|
8423 |
|
|
|
8424 |
#
|
|
|
8425 |
# Check to make sure the PIC flag actually works.
|
|
|
8426 |
#
|
|
|
8427 |
if test -n "$lt_prog_compiler_pic"; then
|
|
|
8428 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
|
|
|
8429 |
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
|
|
|
8430 |
if ${lt_cv_prog_compiler_pic_works+:} false; then :
|
|
|
8431 |
$as_echo_n "(cached) " >&6
|
|
|
8432 |
else
|
|
|
8433 |
lt_cv_prog_compiler_pic_works=no
|
|
|
8434 |
ac_outfile=conftest.$ac_objext
|
|
|
8435 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
|
|
8436 |
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
|
|
|
8437 |
# Insert the option either (1) after the last *FLAGS variable, or
|
|
|
8438 |
# (2) before a word containing "conftest.", or (3) at the end.
|
|
|
8439 |
# Note that $ac_compile itself does not contain backslashes and begins
|
|
|
8440 |
# with a dollar sign (not a hyphen), so the echo should work correctly.
|
|
|
8441 |
# The option is referenced via a variable to avoid confusing sed.
|
|
|
8442 |
lt_compile=`echo "$ac_compile" | $SED \
|
|
|
8443 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
|
|
8444 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
|
|
8445 |
-e 's:$: $lt_compiler_flag:'`
|
5698 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
8446 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
|
5699 |
(eval "$ac_compile") 2>conftest.er1
|
8447 |
(eval "$lt_compile" 2>conftest.err)
|
5700 |
ac_status=$?
|
8448 |
ac_status=$?
|
5701 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
5702 |
rm -f conftest.er1
|
|
|
5703 |
cat conftest.err >&5
|
8449 |
cat conftest.err >&5
|
5704 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
8450 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5705 |
(exit $ac_status); } && {
|
8451 |
if (exit $ac_status) && test -s "$ac_outfile"; then
|
5706 |
test -z "$ac_c_werror_flag" ||
|
|
|
5707 |
test ! -s conftest.err
|
|
|
5708 |
} && test -s conftest.$ac_objext; then
|
|
|
5709 |
case $host_os in
|
|
|
5710 |
hpux9* | hpux10* | hpux11*)
|
|
|
5711 |
# On HP-UX, both CC and GCC only warn that PIC is supported... then
|
|
|
5712 |
# they create non-PIC objects. So, if there were any warnings, we
|
|
|
5713 |
# assume that PIC is not supported.
|
|
|
5714 |
if test -s conftest.err; then
|
|
|
5715 |
lt_cv_prog_cc_pic_works=no
|
|
|
5716 |
else
|
|
|
5717 |
lt_cv_prog_cc_pic_works=yes
|
|
|
5718 |
fi
|
|
|
5719 |
;;
|
|
|
5720 |
*)
|
|
|
5721 |
lt_cv_prog_cc_pic_works=yes
|
|
|
5722 |
;;
|
|
|
5723 |
esac
|
|
|
5724 |
|
|
|
5725 |
else
|
|
|
5726 |
echo "$as_me: failed program was:" >&5
|
|
|
5727 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
5728 |
|
|
|
5729 |
lt_cv_prog_cc_pic_works=no
|
|
|
5730 |
|
|
|
5731 |
fi
|
|
|
5732 |
|
|
|
5733 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
5734 |
CFLAGS="$save_CFLAGS"
|
|
|
5735 |
|
|
|
5736 |
fi
|
|
|
5737 |
|
|
|
5738 |
|
|
|
5739 |
if test "X$lt_cv_prog_cc_pic_works" = Xno; then
|
|
|
5740 |
lt_cv_prog_cc_pic=
|
|
|
5741 |
lt_cv_prog_cc_can_build_shared=no
|
|
|
5742 |
else
|
|
|
5743 |
lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
|
|
|
5744 |
fi
|
|
|
5745 |
|
|
|
5746 |
{ echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5
|
|
|
5747 |
echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6; }
|
|
|
5748 |
fi
|
|
|
5749 |
|
|
|
5750 |
# Check for any special shared library compilation flags.
|
|
|
5751 |
if test -n "$lt_cv_prog_cc_shlib"; then
|
|
|
5752 |
{ echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
|
|
|
5753 |
echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
|
|
|
5754 |
if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then :
|
|
|
5755 |
else
|
|
|
5756 |
{ echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
|
|
|
5757 |
echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
|
|
|
5758 |
lt_cv_prog_cc_can_build_shared=no
|
|
|
5759 |
fi
|
|
|
5760 |
fi
|
|
|
5761 |
|
|
|
5762 |
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
|
|
|
5763 |
echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6; }
|
|
|
5764 |
if test "${lt_cv_prog_cc_static_works+set}" = set; then
|
|
|
5765 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
5766 |
else
|
|
|
5767 |
lt_cv_prog_cc_static_works=no
|
|
|
5768 |
save_LDFLAGS="$LDFLAGS"
|
|
|
5769 |
LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
|
|
|
5770 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
5771 |
/* confdefs.h. */
|
|
|
5772 |
_ACEOF
|
|
|
5773 |
cat confdefs.h >>conftest.$ac_ext
|
|
|
5774 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
5775 |
/* end confdefs.h. */
|
|
|
5776 |
|
|
|
5777 |
int
|
|
|
5778 |
main ()
|
|
|
5779 |
{
|
|
|
5780 |
|
|
|
5781 |
;
|
|
|
5782 |
return 0;
|
|
|
5783 |
}
|
|
|
5784 |
_ACEOF
|
|
|
5785 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
|
5786 |
if { (ac_try="$ac_link"
|
|
|
5787 |
case "(($ac_try" in
|
|
|
5788 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
5789 |
*) ac_try_echo=$ac_try;;
|
|
|
5790 |
esac
|
|
|
5791 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
5792 |
(eval "$ac_link") 2>conftest.er1
|
|
|
5793 |
ac_status=$?
|
|
|
5794 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
5795 |
rm -f conftest.er1
|
|
|
5796 |
cat conftest.err >&5
|
|
|
5797 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
5798 |
(exit $ac_status); } && {
|
|
|
5799 |
test -z "$ac_c_werror_flag" ||
|
|
|
5800 |
test ! -s conftest.err
|
|
|
5801 |
} && test -s conftest$ac_exeext &&
|
|
|
5802 |
$as_test_x conftest$ac_exeext; then
|
|
|
5803 |
lt_cv_prog_cc_static_works=yes
|
|
|
5804 |
else
|
|
|
5805 |
echo "$as_me: failed program was:" >&5
|
|
|
5806 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
5807 |
|
|
|
5808 |
|
|
|
5809 |
fi
|
|
|
5810 |
|
|
|
5811 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
|
5812 |
conftest$ac_exeext conftest.$ac_ext
|
|
|
5813 |
LDFLAGS="$save_LDFLAGS"
|
|
|
5814 |
|
|
|
5815 |
fi
|
|
|
5816 |
|
|
|
5817 |
|
|
|
5818 |
# Belt *and* braces to stop my trousers falling down:
|
|
|
5819 |
test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
|
|
|
5820 |
{ echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5
|
|
|
5821 |
echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6; }
|
|
|
5822 |
|
|
|
5823 |
pic_flag="$lt_cv_prog_cc_pic"
|
|
|
5824 |
special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
|
|
|
5825 |
wl="$lt_cv_prog_cc_wl"
|
|
|
5826 |
link_static_flag="$lt_cv_prog_cc_static"
|
|
|
5827 |
no_builtin_flag="$lt_cv_prog_cc_no_builtin"
|
|
|
5828 |
can_build_shared="$lt_cv_prog_cc_can_build_shared"
|
|
|
5829 |
|
|
|
5830 |
|
|
|
5831 |
# Check to see if options -o and -c are simultaneously supported by compiler
|
|
|
5832 |
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
|
|
|
5833 |
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
|
|
|
5834 |
if test "${lt_cv_compiler_c_o+set}" = set; then
|
|
|
5835 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
5836 |
else
|
|
|
5837 |
|
|
|
5838 |
$rm -r conftest 2>/dev/null
|
|
|
5839 |
mkdir conftest
|
|
|
5840 |
cd conftest
|
|
|
5841 |
echo "int some_variable = 0;" > conftest.$ac_ext
|
|
|
5842 |
mkdir out
|
|
|
5843 |
# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
|
|
|
5844 |
# that will create temporary files in the current directory regardless of
|
|
|
5845 |
# the output directory. Thus, making CWD read-only will cause this test
|
|
|
5846 |
# to fail, enabling locking or at least warning the user not to do parallel
|
|
|
5847 |
# builds.
|
|
|
5848 |
chmod -w .
|
|
|
5849 |
save_CFLAGS="$CFLAGS"
|
|
|
5850 |
CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
|
|
|
5851 |
compiler_c_o=no
|
|
|
5852 |
if { (eval echo configure:5852: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
|
|
|
5853 |
# The compiler can only warn and ignore the option if not recognized
|
|
|
5854 |
# So say no if there are warnings
|
|
|
5855 |
if test -s out/conftest.err; then
|
|
|
5856 |
lt_cv_compiler_c_o=no
|
|
|
5857 |
else
|
|
|
5858 |
lt_cv_compiler_c_o=yes
|
|
|
5859 |
fi
|
|
|
5860 |
else
|
|
|
5861 |
# Append any errors to the config.log.
|
|
|
5862 |
cat out/conftest.err 1>&5
|
|
|
5863 |
lt_cv_compiler_c_o=no
|
|
|
5864 |
fi
|
|
|
5865 |
CFLAGS="$save_CFLAGS"
|
|
|
5866 |
chmod u+w .
|
|
|
5867 |
$rm conftest* out/*
|
|
|
5868 |
rmdir out
|
|
|
5869 |
cd ..
|
|
|
5870 |
rmdir conftest
|
|
|
5871 |
$rm -r conftest 2>/dev/null
|
|
|
5872 |
|
|
|
5873 |
fi
|
|
|
5874 |
|
|
|
5875 |
compiler_c_o=$lt_cv_compiler_c_o
|
|
|
5876 |
{ echo "$as_me:$LINENO: result: $compiler_c_o" >&5
|
|
|
5877 |
echo "${ECHO_T}$compiler_c_o" >&6; }
|
|
|
5878 |
|
|
|
5879 |
if test x"$compiler_c_o" = x"yes"; then
|
|
|
5880 |
# Check to see if we can write to a .lo
|
|
|
5881 |
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5
|
|
|
5882 |
echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6; }
|
|
|
5883 |
if test "${lt_cv_compiler_o_lo+set}" = set; then
|
|
|
5884 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
5885 |
else
|
|
|
5886 |
|
|
|
5887 |
lt_cv_compiler_o_lo=no
|
|
|
5888 |
save_CFLAGS="$CFLAGS"
|
|
|
5889 |
CFLAGS="$CFLAGS -c -o conftest.lo"
|
|
|
5890 |
save_objext="$ac_objext"
|
|
|
5891 |
ac_objext=lo
|
|
|
5892 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
5893 |
/* confdefs.h. */
|
|
|
5894 |
_ACEOF
|
|
|
5895 |
cat confdefs.h >>conftest.$ac_ext
|
|
|
5896 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
5897 |
/* end confdefs.h. */
|
|
|
5898 |
|
|
|
5899 |
int
|
|
|
5900 |
main ()
|
|
|
5901 |
{
|
|
|
5902 |
int some_variable = 0;
|
|
|
5903 |
;
|
|
|
5904 |
return 0;
|
|
|
5905 |
}
|
|
|
5906 |
_ACEOF
|
|
|
5907 |
rm -f conftest.$ac_objext
|
|
|
5908 |
if { (ac_try="$ac_compile"
|
|
|
5909 |
case "(($ac_try" in
|
|
|
5910 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
5911 |
*) ac_try_echo=$ac_try;;
|
|
|
5912 |
esac
|
|
|
5913 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
5914 |
(eval "$ac_compile") 2>conftest.er1
|
|
|
5915 |
ac_status=$?
|
|
|
5916 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
5917 |
rm -f conftest.er1
|
|
|
5918 |
cat conftest.err >&5
|
|
|
5919 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
5920 |
(exit $ac_status); } && {
|
|
|
5921 |
test -z "$ac_c_werror_flag" ||
|
|
|
5922 |
test ! -s conftest.err
|
|
|
5923 |
} && test -s conftest.$ac_objext; then
|
|
|
5924 |
# The compiler can only warn and ignore the option if not recognized
|
8452 |
# The compiler can only warn and ignore the option if not recognized
|
|
|
8453 |
# So say no if there are warnings other than the usual output.
|
|
|
8454 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
|
|
|
8455 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
|
|
|
8456 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
|
|
|
8457 |
lt_cv_prog_compiler_pic_works=yes
|
|
|
8458 |
fi
|
|
|
8459 |
fi
|
|
|
8460 |
$RM conftest*
|
|
|
8461 |
|
|
|
8462 |
fi
|
|
|
8463 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
|
|
|
8464 |
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
|
|
|
8465 |
|
|
|
8466 |
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
|
|
|
8467 |
case $lt_prog_compiler_pic in
|
|
|
8468 |
"" | " "*) ;;
|
|
|
8469 |
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
|
|
|
8470 |
esac
|
|
|
8471 |
else
|
|
|
8472 |
lt_prog_compiler_pic=
|
|
|
8473 |
lt_prog_compiler_can_build_shared=no
|
|
|
8474 |
fi
|
|
|
8475 |
|
|
|
8476 |
fi
|
|
|
8477 |
|
|
|
8478 |
|
|
|
8479 |
|
|
|
8480 |
|
|
|
8481 |
|
|
|
8482 |
|
|
|
8483 |
|
|
|
8484 |
|
|
|
8485 |
|
|
|
8486 |
|
|
|
8487 |
|
|
|
8488 |
#
|
|
|
8489 |
# Check to make sure the static flag actually works.
|
|
|
8490 |
#
|
|
|
8491 |
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
|
|
|
8492 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
|
|
|
8493 |
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
|
|
|
8494 |
if ${lt_cv_prog_compiler_static_works+:} false; then :
|
|
|
8495 |
$as_echo_n "(cached) " >&6
|
|
|
8496 |
else
|
|
|
8497 |
lt_cv_prog_compiler_static_works=no
|
|
|
8498 |
save_LDFLAGS="$LDFLAGS"
|
|
|
8499 |
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
|
|
|
8500 |
echo "$lt_simple_link_test_code" > conftest.$ac_ext
|
|
|
8501 |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
|
|
|
8502 |
# The linker can only warn and ignore the option if not recognized
|
5925 |
# So say no if there are warnings
|
8503 |
# So say no if there are warnings
|
5926 |
if test -s conftest.err; then
|
8504 |
if test -s conftest.err; then
|
5927 |
lt_cv_compiler_o_lo=no
|
8505 |
# Append any errors to the config.log.
|
|
|
8506 |
cat conftest.err 1>&5
|
|
|
8507 |
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
|
|
|
8508 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
|
|
|
8509 |
if diff conftest.exp conftest.er2 >/dev/null; then
|
|
|
8510 |
lt_cv_prog_compiler_static_works=yes
|
|
|
8511 |
fi
|
5928 |
else
|
8512 |
else
|
5929 |
lt_cv_compiler_o_lo=yes
|
8513 |
lt_cv_prog_compiler_static_works=yes
|
5930 |
fi
|
8514 |
fi
|
5931 |
|
8515 |
fi
|
5932 |
else
|
8516 |
$RM -r conftest*
|
5933 |
echo "$as_me: failed program was:" >&5
|
|
|
5934 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
5935 |
|
|
|
5936 |
|
|
|
5937 |
fi
|
|
|
5938 |
|
|
|
5939 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
5940 |
ac_objext="$save_objext"
|
|
|
5941 |
CFLAGS="$save_CFLAGS"
|
8517 |
LDFLAGS="$save_LDFLAGS"
|
5942 |
|
8518 |
|
5943 |
fi
|
8519 |
fi
|
|
|
8520 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
|
|
|
8521 |
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
|
5944 |
|
8522 |
|
5945 |
compiler_o_lo=$lt_cv_compiler_o_lo
|
8523 |
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
|
|
|
8524 |
:
|
|
|
8525 |
else
|
|
|
8526 |
lt_prog_compiler_static=
|
|
|
8527 |
fi
|
|
|
8528 |
|
|
|
8529 |
|
|
|
8530 |
|
|
|
8531 |
|
|
|
8532 |
|
|
|
8533 |
|
|
|
8534 |
|
|
|
8535 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
|
|
8536 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
|
|
8537 |
if ${lt_cv_prog_compiler_c_o+:} false; then :
|
|
|
8538 |
$as_echo_n "(cached) " >&6
|
|
|
8539 |
else
|
|
|
8540 |
lt_cv_prog_compiler_c_o=no
|
|
|
8541 |
$RM -r conftest 2>/dev/null
|
|
|
8542 |
mkdir conftest
|
|
|
8543 |
cd conftest
|
|
|
8544 |
mkdir out
|
|
|
8545 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
|
|
8546 |
|
|
|
8547 |
lt_compiler_flag="-o out/conftest2.$ac_objext"
|
|
|
8548 |
# Insert the option either (1) after the last *FLAGS variable, or
|
|
|
8549 |
# (2) before a word containing "conftest.", or (3) at the end.
|
|
|
8550 |
# Note that $ac_compile itself does not contain backslashes and begins
|
|
|
8551 |
# with a dollar sign (not a hyphen), so the echo should work correctly.
|
|
|
8552 |
lt_compile=`echo "$ac_compile" | $SED \
|
|
|
8553 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
|
|
8554 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
|
|
8555 |
-e 's:$: $lt_compiler_flag:'`
|
|
|
8556 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
|
|
|
8557 |
(eval "$lt_compile" 2>out/conftest.err)
|
|
|
8558 |
ac_status=$?
|
|
|
8559 |
cat out/conftest.err >&5
|
|
|
8560 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
8561 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
|
|
8562 |
then
|
|
|
8563 |
# The compiler can only warn and ignore the option if not recognized
|
|
|
8564 |
# So say no if there are warnings
|
|
|
8565 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
|
|
|
8566 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
|
|
|
8567 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
|
|
|
8568 |
lt_cv_prog_compiler_c_o=yes
|
|
|
8569 |
fi
|
|
|
8570 |
fi
|
|
|
8571 |
chmod u+w . 2>&5
|
|
|
8572 |
$RM conftest*
|
|
|
8573 |
# SGI C++ compiler will create directory out/ii_files/ for
|
|
|
8574 |
# template instantiation
|
|
|
8575 |
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
|
|
|
8576 |
$RM out/* && rmdir out
|
|
|
8577 |
cd ..
|
|
|
8578 |
$RM -r conftest
|
|
|
8579 |
$RM conftest*
|
|
|
8580 |
|
|
|
8581 |
fi
|
5946 |
{ echo "$as_me:$LINENO: result: $compiler_o_lo" >&5
|
8582 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
|
5947 |
echo "${ECHO_T}$compiler_o_lo" >&6; }
|
8583 |
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
|
5948 |
else
|
|
|
5949 |
compiler_o_lo=no
|
|
|
5950 |
fi
|
|
|
5951 |
|
8584 |
|
5952 |
# Check to see if we can do hard links to lock some files if needed
|
8585 |
|
|
|
8586 |
|
|
|
8587 |
|
|
|
8588 |
|
|
|
8589 |
|
|
|
8590 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
|
|
8591 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
|
|
8592 |
if ${lt_cv_prog_compiler_c_o+:} false; then :
|
|
|
8593 |
$as_echo_n "(cached) " >&6
|
|
|
8594 |
else
|
|
|
8595 |
lt_cv_prog_compiler_c_o=no
|
|
|
8596 |
$RM -r conftest 2>/dev/null
|
|
|
8597 |
mkdir conftest
|
|
|
8598 |
cd conftest
|
|
|
8599 |
mkdir out
|
|
|
8600 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
|
|
8601 |
|
|
|
8602 |
lt_compiler_flag="-o out/conftest2.$ac_objext"
|
|
|
8603 |
# Insert the option either (1) after the last *FLAGS variable, or
|
|
|
8604 |
# (2) before a word containing "conftest.", or (3) at the end.
|
|
|
8605 |
# Note that $ac_compile itself does not contain backslashes and begins
|
|
|
8606 |
# with a dollar sign (not a hyphen), so the echo should work correctly.
|
|
|
8607 |
lt_compile=`echo "$ac_compile" | $SED \
|
|
|
8608 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
|
|
8609 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
|
|
8610 |
-e 's:$: $lt_compiler_flag:'`
|
|
|
8611 |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
|
|
|
8612 |
(eval "$lt_compile" 2>out/conftest.err)
|
|
|
8613 |
ac_status=$?
|
|
|
8614 |
cat out/conftest.err >&5
|
|
|
8615 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
8616 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
|
|
8617 |
then
|
|
|
8618 |
# The compiler can only warn and ignore the option if not recognized
|
|
|
8619 |
# So say no if there are warnings
|
|
|
8620 |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
|
|
|
8621 |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
|
|
|
8622 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
|
|
|
8623 |
lt_cv_prog_compiler_c_o=yes
|
|
|
8624 |
fi
|
|
|
8625 |
fi
|
|
|
8626 |
chmod u+w . 2>&5
|
|
|
8627 |
$RM conftest*
|
|
|
8628 |
# SGI C++ compiler will create directory out/ii_files/ for
|
|
|
8629 |
# template instantiation
|
|
|
8630 |
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
|
|
|
8631 |
$RM out/* && rmdir out
|
|
|
8632 |
cd ..
|
|
|
8633 |
$RM -r conftest
|
|
|
8634 |
$RM conftest*
|
|
|
8635 |
|
|
|
8636 |
fi
|
|
|
8637 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
|
|
|
8638 |
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
|
|
|
8639 |
|
|
|
8640 |
|
|
|
8641 |
|
|
|
8642 |
|
5953 |
hard_links="nottested"
|
8643 |
hard_links="nottested"
|
5954 |
if test "$compiler_c_o" = no && test "$need_locks" != no; then
|
8644 |
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
|
5955 |
# do not overwrite the value of need_locks provided by the user
|
8645 |
# do not overwrite the value of need_locks provided by the user
|
5956 |
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
|
8646 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
|
5957 |
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
|
8647 |
$as_echo_n "checking if we can lock with hard links... " >&6; }
|
5958 |
hard_links=yes
|
8648 |
hard_links=yes
|
5959 |
$rm conftest*
|
8649 |
$RM conftest*
|
5960 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no
|
8650 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no
|
5961 |
touch conftest.a
|
8651 |
touch conftest.a
|
5962 |
ln conftest.a conftest.b 2>&5 || hard_links=no
|
8652 |
ln conftest.a conftest.b 2>&5 || hard_links=no
|
5963 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no
|
8653 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no
|
5964 |
{ echo "$as_me:$LINENO: result: $hard_links" >&5
|
8654 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
|
5965 |
echo "${ECHO_T}$hard_links" >&6; }
|
8655 |
$as_echo "$hard_links" >&6; }
|
5966 |
if test "$hard_links" = no; then
|
8656 |
if test "$hard_links" = no; then
|
5967 |
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
|
8657 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
|
5968 |
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
|
8658 |
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
|
5969 |
need_locks=warn
|
8659 |
need_locks=warn
|
5970 |
fi
|
8660 |
fi
|
5971 |
else
|
8661 |
else
|
5972 |
need_locks=no
|
8662 |
need_locks=no
|
5973 |
fi
|
8663 |
fi
|
5974 |
|
8664 |
|
|
|
8665 |
|
|
|
8666 |
|
|
|
8667 |
|
|
|
8668 |
|
|
|
8669 |
|
|
|
8670 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
|
|
8671 |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
|
|
|
8672 |
|
|
|
8673 |
runpath_var=
|
|
|
8674 |
allow_undefined_flag=
|
|
|
8675 |
always_export_symbols=no
|
|
|
8676 |
archive_cmds=
|
|
|
8677 |
archive_expsym_cmds=
|
|
|
8678 |
compiler_needs_object=no
|
|
|
8679 |
enable_shared_with_static_runtimes=no
|
|
|
8680 |
export_dynamic_flag_spec=
|
|
|
8681 |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
|
|
|
8682 |
hardcode_automatic=no
|
|
|
8683 |
hardcode_direct=no
|
|
|
8684 |
hardcode_direct_absolute=no
|
|
|
8685 |
hardcode_libdir_flag_spec=
|
|
|
8686 |
hardcode_libdir_separator=
|
|
|
8687 |
hardcode_minus_L=no
|
|
|
8688 |
hardcode_shlibpath_var=unsupported
|
|
|
8689 |
inherit_rpath=no
|
|
|
8690 |
link_all_deplibs=unknown
|
|
|
8691 |
module_cmds=
|
|
|
8692 |
module_expsym_cmds=
|
|
|
8693 |
old_archive_from_new_cmds=
|
|
|
8694 |
old_archive_from_expsyms_cmds=
|
|
|
8695 |
thread_safe_flag_spec=
|
|
|
8696 |
whole_archive_flag_spec=
|
|
|
8697 |
# include_expsyms should be a list of space-separated symbols to be *always*
|
|
|
8698 |
# included in the symbol list
|
|
|
8699 |
include_expsyms=
|
|
|
8700 |
# exclude_expsyms can be an extended regexp of symbols to exclude
|
|
|
8701 |
# it will be wrapped by ` (' and `)$', so one must not match beginning or
|
|
|
8702 |
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
|
|
|
8703 |
# as well as any symbol that contains `d'.
|
|
|
8704 |
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
|
|
|
8705 |
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
|
|
|
8706 |
# platforms (ab)use it in PIC code, but their linkers get confused if
|
|
|
8707 |
# the symbol is explicitly referenced. Since portable code cannot
|
|
|
8708 |
# rely on this symbol name, it's probably fine to never include it in
|
|
|
8709 |
# preloaded symbol tables.
|
|
|
8710 |
# Exclude shared library initialization/finalization symbols.
|
|
|
8711 |
extract_expsyms_cmds=
|
|
|
8712 |
|
|
|
8713 |
case $host_os in
|
|
|
8714 |
cygwin* | mingw* | pw32* | cegcc*)
|
|
|
8715 |
# FIXME: the MSVC++ port hasn't been tested in a loooong time
|
|
|
8716 |
# When not using gcc, we currently assume that we are using
|
|
|
8717 |
# Microsoft Visual C++.
|
5975 |
if test "$GCC" = yes; then
|
8718 |
if test "$GCC" != yes; then
|
5976 |
# Check to see if options -fno-rtti -fno-exceptions are supported by compiler
|
8719 |
with_gnu_ld=no
|
5977 |
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
|
8720 |
fi
|
5978 |
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
|
8721 |
;;
|
5979 |
echo "int some_variable = 0;" > conftest.$ac_ext
|
8722 |
interix*)
|
5980 |
save_CFLAGS="$CFLAGS"
|
8723 |
# we just hope/assume this is gcc and not c89 (= MSVC++)
|
5981 |
CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
|
8724 |
with_gnu_ld=yes
|
5982 |
compiler_rtti_exceptions=no
|
8725 |
;;
|
5983 |
cat >conftest.$ac_ext <<_ACEOF
|
8726 |
openbsd*)
|
5984 |
/* confdefs.h. */
|
8727 |
with_gnu_ld=no
|
5985 |
_ACEOF
|
8728 |
;;
|
5986 |
cat confdefs.h >>conftest.$ac_ext
|
8729 |
esac
|
5987 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
5988 |
/* end confdefs.h. */
|
|
|
5989 |
|
8730 |
|
5990 |
int
|
8731 |
ld_shlibs=yes
|
5991 |
main ()
|
8732 |
|
5992 |
{
|
8733 |
# On some targets, GNU ld is compatible enough with the native linker
|
5993 |
int some_variable = 0;
|
8734 |
# that we're better off using the native interface for both.
|
5994 |
;
|
8735 |
lt_use_gnu_ld_interface=no
|
5995 |
return 0;
|
8736 |
if test "$with_gnu_ld" = yes; then
|
5996 |
}
|
8737 |
case $host_os in
|
5997 |
_ACEOF
|
8738 |
aix*)
|
5998 |
rm -f conftest.$ac_objext
|
8739 |
# The AIX port of GNU ld has always aspired to compatibility
|
5999 |
if { (ac_try="$ac_compile"
|
8740 |
# with the native linker. However, as the warning in the GNU ld
|
6000 |
case "(($ac_try" in
|
8741 |
# block says, versions before 2.19.5* couldn't really create working
|
6001 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
8742 |
# shared libraries, regardless of the interface used.
|
6002 |
*) ac_try_echo=$ac_try;;
|
8743 |
case `$LD -v 2>&1` in
|
|
|
8744 |
*\ \(GNU\ Binutils\)\ 2.19.5*) ;;
|
|
|
8745 |
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
|
|
|
8746 |
*\ \(GNU\ Binutils\)\ [3-9]*) ;;
|
|
|
8747 |
*)
|
|
|
8748 |
lt_use_gnu_ld_interface=yes
|
|
|
8749 |
;;
|
6003 |
esac
|
8750 |
esac
|
6004 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
8751 |
;;
|
6005 |
(eval "$ac_compile") 2>conftest.er1
|
8752 |
*)
|
6006 |
ac_status=$?
|
8753 |
lt_use_gnu_ld_interface=yes
|
6007 |
grep -v '^ *+' conftest.er1 >conftest.err
|
8754 |
;;
|
6008 |
rm -f conftest.er1
|
8755 |
esac
|
6009 |
cat conftest.err >&5
|
8756 |
fi
|
6010 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
8757 |
|
6011 |
(exit $ac_status); } && {
|
8758 |
if test "$lt_use_gnu_ld_interface" = yes; then
|
6012 |
test -z "$ac_c_werror_flag" ||
|
8759 |
# If archive_cmds runs LD, not CC, wlarc should be empty
|
6013 |
test ! -s conftest.err
|
8760 |
wlarc='${wl}'
|
6014 |
} && test -s conftest.$ac_objext; then
|
8761 |
|
6015 |
# The compiler can only warn and ignore the option if not recognized
|
8762 |
# Set some defaults for GNU ld with shared library support. These
|
6016 |
# So say no if there are warnings
|
8763 |
# are reset later if shared libraries are not supported. Putting them
|
6017 |
if test -s conftest.err; then
|
8764 |
# here allows them to be overridden if necessary.
|
6018 |
compiler_rtti_exceptions=no
|
8765 |
runpath_var=LD_RUN_PATH
|
|
|
8766 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
|
|
8767 |
export_dynamic_flag_spec='${wl}--export-dynamic'
|
|
|
8768 |
# ancient GNU ld didn't support --whole-archive et. al.
|
|
|
8769 |
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
|
|
|
8770 |
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
|
6019 |
else
|
8771 |
else
|
6020 |
compiler_rtti_exceptions=yes
|
8772 |
whole_archive_flag_spec=
|
6021 |
fi
|
8773 |
fi
|
|
|
8774 |
supports_anon_versioning=no
|
|
|
8775 |
case `$LD -v 2>&1` in
|
|
|
8776 |
*GNU\ gold*) supports_anon_versioning=yes ;;
|
|
|
8777 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
|
|
|
8778 |
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
|
|
|
8779 |
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
|
|
|
8780 |
*\ 2.11.*) ;; # other 2.11 versions
|
|
|
8781 |
*) supports_anon_versioning=yes ;;
|
|
|
8782 |
esac
|
6022 |
|
8783 |
|
6023 |
else
|
|
|
6024 |
echo "$as_me: failed program was:" >&5
|
|
|
6025 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
6026 |
|
|
|
6027 |
|
|
|
6028 |
fi
|
|
|
6029 |
|
|
|
6030 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
6031 |
CFLAGS="$save_CFLAGS"
|
|
|
6032 |
{ echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5
|
|
|
6033 |
echo "${ECHO_T}$compiler_rtti_exceptions" >&6; }
|
|
|
6034 |
|
|
|
6035 |
if test "$compiler_rtti_exceptions" = "yes"; then
|
|
|
6036 |
no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
|
|
|
6037 |
else
|
|
|
6038 |
no_builtin_flag=' -fno-builtin'
|
|
|
6039 |
fi
|
|
|
6040 |
fi
|
|
|
6041 |
|
|
|
6042 |
# See if the linker supports building shared libraries.
|
|
|
6043 |
{ echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5
|
|
|
6044 |
echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6; }
|
|
|
6045 |
|
|
|
6046 |
allow_undefined_flag=
|
|
|
6047 |
no_undefined_flag=
|
|
|
6048 |
need_lib_prefix=unknown
|
|
|
6049 |
need_version=unknown
|
|
|
6050 |
# when you set need_version to no, make sure it does not cause -set_version
|
|
|
6051 |
# flags to be left without arguments
|
|
|
6052 |
archive_cmds=
|
|
|
6053 |
archive_expsym_cmds=
|
|
|
6054 |
old_archive_from_new_cmds=
|
|
|
6055 |
old_archive_from_expsyms_cmds=
|
|
|
6056 |
export_dynamic_flag_spec=
|
|
|
6057 |
whole_archive_flag_spec=
|
|
|
6058 |
thread_safe_flag_spec=
|
|
|
6059 |
hardcode_into_libs=no
|
|
|
6060 |
hardcode_libdir_flag_spec=
|
|
|
6061 |
hardcode_libdir_separator=
|
|
|
6062 |
hardcode_direct=no
|
|
|
6063 |
hardcode_minus_L=no
|
|
|
6064 |
hardcode_shlibpath_var=unsupported
|
|
|
6065 |
runpath_var=
|
|
|
6066 |
link_all_deplibs=unknown
|
|
|
6067 |
always_export_symbols=no
|
|
|
6068 |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
|
|
|
6069 |
# include_expsyms should be a list of space-separated symbols to be *always*
|
|
|
6070 |
# included in the symbol list
|
|
|
6071 |
include_expsyms=
|
|
|
6072 |
# exclude_expsyms can be an egrep regular expression of symbols to exclude
|
|
|
6073 |
# it will be wrapped by ` (' and `)$', so one must not match beginning or
|
|
|
6074 |
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
|
|
|
6075 |
# as well as any symbol that contains `d'.
|
|
|
6076 |
exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
|
|
|
6077 |
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
|
|
|
6078 |
# platforms (ab)use it in PIC code, but their linkers get confused if
|
|
|
6079 |
# the symbol is explicitly referenced. Since portable code cannot
|
|
|
6080 |
# rely on this symbol name, it's probably fine to never include it in
|
|
|
6081 |
# preloaded symbol tables.
|
|
|
6082 |
extract_expsyms_cmds=
|
|
|
6083 |
|
|
|
6084 |
case $host_os in
|
|
|
6085 |
cygwin* | mingw* | pw32*)
|
|
|
6086 |
# FIXME: the MSVC++ port hasn't been tested in a loooong time
|
|
|
6087 |
# When not using gcc, we currently assume that we are using
|
|
|
6088 |
# Microsoft Visual C++.
|
|
|
6089 |
if test "$GCC" != yes; then
|
|
|
6090 |
with_gnu_ld=no
|
|
|
6091 |
fi
|
|
|
6092 |
;;
|
|
|
6093 |
openbsd*)
|
|
|
6094 |
with_gnu_ld=no
|
|
|
6095 |
;;
|
|
|
6096 |
esac
|
|
|
6097 |
|
|
|
6098 |
ld_shlibs=yes
|
|
|
6099 |
if test "$with_gnu_ld" = yes; then
|
|
|
6100 |
# If archive_cmds runs LD, not CC, wlarc should be empty
|
|
|
6101 |
wlarc='${wl}'
|
|
|
6102 |
|
|
|
6103 |
# See if GNU ld supports shared libraries.
|
8784 |
# See if GNU ld supports shared libraries.
|
6104 |
case $host_os in
|
8785 |
case $host_os in
|
6105 |
aix3* | aix4* | aix5*)
|
8786 |
aix[3-9]*)
|
6106 |
# On AIX, the GNU linker is very broken
|
8787 |
# On AIX/PPC, the GNU linker is very broken
|
6107 |
# Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
|
8788 |
if test "$host_cpu" != ia64; then
|
6108 |
ld_shlibs=no
|
8789 |
ld_shlibs=no
|
6109 |
cat <<EOF 1>&2
|
8790 |
cat <<_LT_EOF 1>&2
|
6110 |
|
8791 |
|
6111 |
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
|
8792 |
*** Warning: the GNU linker, at least up to release 2.19, is reported
|
6112 |
*** to be unable to reliably create shared libraries on AIX.
|
8793 |
*** to be unable to reliably create shared libraries on AIX.
|
6113 |
*** Therefore, libtool is disabling shared libraries support. If you
|
8794 |
*** Therefore, libtool is disabling shared libraries support. If you
|
6114 |
*** really care for shared libraries, you may want to modify your PATH
|
8795 |
*** really care for shared libraries, you may want to install binutils
|
6115 |
*** so that a non-GNU linker is found, and then restart.
|
8796 |
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
|
|
|
8797 |
*** You will then need to restart the configuration process.
|
6116 |
|
8798 |
|
6117 |
EOF
|
8799 |
_LT_EOF
|
|
|
8800 |
fi
|
6118 |
;;
|
8801 |
;;
|
6119 |
|
8802 |
|
6120 |
amigaos*)
|
8803 |
amigaos*)
|
6121 |
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)'
|
8804 |
case $host_cpu in
|
|
|
8805 |
powerpc)
|
|
|
8806 |
# see comment about AmigaOS4 .so support
|
|
|
8807 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
|
8808 |
archive_expsym_cmds=''
|
|
|
8809 |
;;
|
|
|
8810 |
m68k)
|
|
|
8811 |
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)'
|
|
|
8812 |
hardcode_libdir_flag_spec='-L$libdir'
|
|
|
8813 |
hardcode_minus_L=yes
|
|
|
8814 |
;;
|
|
|
8815 |
esac
|
|
|
8816 |
;;
|
|
|
8817 |
|
|
|
8818 |
beos*)
|
|
|
8819 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
|
|
|
8820 |
allow_undefined_flag=unsupported
|
|
|
8821 |
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
|
|
|
8822 |
# support --undefined. This deserves some investigation. FIXME
|
|
|
8823 |
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
|
8824 |
else
|
|
|
8825 |
ld_shlibs=no
|
|
|
8826 |
fi
|
|
|
8827 |
;;
|
|
|
8828 |
|
|
|
8829 |
cygwin* | mingw* | pw32* | cegcc*)
|
|
|
8830 |
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
|
|
|
8831 |
# as there is no search path for DLLs.
|
6122 |
hardcode_libdir_flag_spec='-L$libdir'
|
8832 |
hardcode_libdir_flag_spec='-L$libdir'
|
6123 |
hardcode_minus_L=yes
|
8833 |
export_dynamic_flag_spec='${wl}--export-all-symbols'
|
6124 |
|
|
|
6125 |
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
|
|
|
6126 |
# that the semantics of dynamic libraries on AmigaOS, at least up
|
|
|
6127 |
# to version 4, is to share data among multiple programs linked
|
|
|
6128 |
# with the same dynamic library. Since this doesn't match the
|
|
|
6129 |
# behavior of shared libraries on other platforms, we can use
|
|
|
6130 |
# them.
|
|
|
6131 |
ld_shlibs=no
|
|
|
6132 |
;;
|
|
|
6133 |
|
|
|
6134 |
beos*)
|
|
|
6135 |
if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
|
|
|
6136 |
allow_undefined_flag=unsupported
|
8834 |
allow_undefined_flag=unsupported
|
6137 |
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
|
8835 |
always_export_symbols=no
|
6138 |
# support --undefined. This deserves some investigation. FIXME
|
8836 |
enable_shared_with_static_runtimes=yes
|
6139 |
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
8837 |
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'
|
|
|
8838 |
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
|
|
|
8839 |
|
|
|
8840 |
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
|
|
|
8841 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
|
|
|
8842 |
# If the export-symbols file already is a .def file (1st line
|
|
|
8843 |
# is EXPORTS), use it as is; otherwise, prepend...
|
|
|
8844 |
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
|
|
|
8845 |
cp $export_symbols $output_objdir/$soname.def;
|
|
|
8846 |
else
|
|
|
8847 |
echo EXPORTS > $output_objdir/$soname.def;
|
|
|
8848 |
cat $export_symbols >> $output_objdir/$soname.def;
|
|
|
8849 |
fi~
|
|
|
8850 |
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
|
6140 |
else
|
8851 |
else
|
6141 |
ld_shlibs=no
|
8852 |
ld_shlibs=no
|
6142 |
fi
|
8853 |
fi
|
6143 |
;;
|
|
|
6144 |
|
|
|
6145 |
cygwin* | mingw* | pw32*)
|
|
|
6146 |
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
|
|
6147 |
# no search path for DLLs.
|
|
|
6148 |
hardcode_libdir_flag_spec='-L$libdir'
|
|
|
6149 |
allow_undefined_flag=unsupported
|
|
|
6150 |
always_export_symbols=yes
|
|
|
6151 |
|
|
|
6152 |
extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
|
|
|
6153 |
sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
|
|
|
6154 |
test -f $output_objdir/impgen.exe || (cd $output_objdir && \
|
|
|
6155 |
if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
|
|
|
6156 |
else $CC -o impgen impgen.c ; fi)~
|
|
|
6157 |
$output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
|
|
|
6158 |
|
|
|
6159 |
old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
|
|
|
6160 |
|
|
|
6161 |
# cygwin and mingw dlls have different entry points and sets of symbols
|
|
|
6162 |
# to exclude.
|
|
|
6163 |
# FIXME: what about values for MSVC?
|
|
|
6164 |
dll_entry=__cygwin_dll_entry@12
|
|
|
6165 |
dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
|
|
|
6166 |
case $host_os in
|
|
|
6167 |
mingw*)
|
|
|
6168 |
# mingw values
|
|
|
6169 |
dll_entry=_DllMainCRTStartup@12
|
|
|
6170 |
dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
|
|
|
6171 |
;;
|
8854 |
;;
|
6172 |
esac
|
|
|
6173 |
|
8855 |
|
6174 |
# mingw and cygwin differ, and it's simplest to just exclude the union
|
8856 |
haiku*)
|
6175 |
# of the two symbol sets.
|
8857 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
6176 |
dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
|
8858 |
link_all_deplibs=yes
|
|
|
8859 |
;;
|
6177 |
|
8860 |
|
6178 |
# recent cygwin and mingw systems supply a stub DllMain which the user
|
8861 |
interix[3-9]*)
|
6179 |
# can override, but on older systems we have to supply one (in ltdll.c)
|
8862 |
hardcode_direct=no
|
6180 |
if test "x$lt_cv_need_dllmain" = "xyes"; then
|
8863 |
hardcode_shlibpath_var=no
|
6181 |
ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
|
8864 |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
6182 |
ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
|
8865 |
export_dynamic_flag_spec='${wl}-E'
|
6183 |
test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
|
8866 |
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
|
6184 |
else
|
8867 |
# Instead, shared libraries are loaded at an image base (0x10000000 by
|
6185 |
ltdll_obj=
|
8868 |
# default) and relocated if they conflict, which is a slow very memory
|
6186 |
ltdll_cmds=
|
8869 |
# consuming and fragmenting process. To avoid this, we pick a random,
|
|
|
8870 |
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
|
|
|
8871 |
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
|
|
|
8872 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
|
|
8873 |
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'
|
|
|
8874 |
;;
|
|
|
8875 |
|
|
|
8876 |
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
|
|
|
8877 |
tmp_diet=no
|
|
|
8878 |
if test "$host_os" = linux-dietlibc; then
|
|
|
8879 |
case $cc_basename in
|
|
|
8880 |
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
|
|
|
8881 |
esac
|
6187 |
fi
|
8882 |
fi
|
|
|
8883 |
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
|
|
|
8884 |
&& test "$tmp_diet" = no
|
|
|
8885 |
then
|
|
|
8886 |
tmp_addflag=' $pic_flag'
|
|
|
8887 |
tmp_sharedflag='-shared'
|
|
|
8888 |
case $cc_basename,$host_cpu in
|
|
|
8889 |
pgcc*) # Portland Group C compiler
|
|
|
8890 |
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'
|
|
|
8891 |
tmp_addflag=' $pic_flag'
|
|
|
8892 |
;;
|
|
|
8893 |
pgf77* | pgf90* | pgf95* | pgfortran*)
|
|
|
8894 |
# Portland Group f77 and f90 compilers
|
|
|
8895 |
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'
|
|
|
8896 |
tmp_addflag=' $pic_flag -Mnomain' ;;
|
|
|
8897 |
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
|
|
|
8898 |
tmp_addflag=' -i_dynamic' ;;
|
|
|
8899 |
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
|
|
|
8900 |
tmp_addflag=' -i_dynamic -nofor_main' ;;
|
|
|
8901 |
ifc* | ifort*) # Intel Fortran compiler
|
|
|
8902 |
tmp_addflag=' -nofor_main' ;;
|
|
|
8903 |
lf95*) # Lahey Fortran 8.1
|
|
|
8904 |
whole_archive_flag_spec=
|
|
|
8905 |
tmp_sharedflag='--shared' ;;
|
|
|
8906 |
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
|
|
|
8907 |
tmp_sharedflag='-qmkshrobj'
|
|
|
8908 |
tmp_addflag= ;;
|
|
|
8909 |
nvcc*) # Cuda Compiler Driver 2.2
|
|
|
8910 |
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'
|
|
|
8911 |
compiler_needs_object=yes
|
|
|
8912 |
;;
|
|
|
8913 |
esac
|
|
|
8914 |
case `$CC -V 2>&1 | sed 5q` in
|
|
|
8915 |
*Sun\ C*) # Sun C 5.9
|
|
|
8916 |
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'
|
|
|
8917 |
compiler_needs_object=yes
|
|
|
8918 |
tmp_sharedflag='-G' ;;
|
|
|
8919 |
*Sun\ F*) # Sun Fortran 8.3
|
|
|
8920 |
tmp_sharedflag='-G' ;;
|
|
|
8921 |
esac
|
|
|
8922 |
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
6188 |
|
8923 |
|
6189 |
# Extract the symbol export list from an `--export-all' def file,
|
8924 |
if test "x$supports_anon_versioning" = xyes; then
|
6190 |
# then regenerate the def file from the symbol export list, so that
|
8925 |
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
|
6191 |
# the compiled dll only exports the symbol export list.
|
8926 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
6192 |
# Be careful not to strip the DATA tag left be newer dlltools.
|
8927 |
echo "local: *; };" >> $output_objdir/$libname.ver~
|
6193 |
export_symbols_cmds="$ltdll_cmds"'
|
8928 |
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
|
6194 |
$DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
|
8929 |
fi
|
6195 |
sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
|
|
|
6196 |
|
8930 |
|
6197 |
# If the export-symbols file already is a .def file (1st line
|
8931 |
case $cc_basename in
|
6198 |
# is EXPORTS), use it as is.
|
8932 |
xlf* | bgf* | bgxlf* | mpixlf*)
|
6199 |
# If DATA tags from a recent dlltool are present, honour them!
|
8933 |
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
|
6200 |
archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
|
8934 |
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
|
6201 |
cp $export_symbols $output_objdir/$soname-def;
|
8935 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
|
|
8936 |
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
|
|
|
8937 |
if test "x$supports_anon_versioning" = xyes; then
|
|
|
8938 |
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
|
|
|
8939 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
|
|
8940 |
echo "local: *; };" >> $output_objdir/$libname.ver~
|
|
|
8941 |
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
|
|
|
8942 |
fi
|
|
|
8943 |
;;
|
|
|
8944 |
esac
|
6202 |
else
|
8945 |
else
|
6203 |
echo EXPORTS > $output_objdir/$soname-def;
|
8946 |
ld_shlibs=no
|
6204 |
_lt_hint=1;
|
|
|
6205 |
cat $export_symbols | while read symbol; do
|
|
|
6206 |
set dummy \$symbol;
|
|
|
6207 |
case \$# in
|
|
|
6208 |
2) echo " \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
|
|
|
6209 |
4) echo " \$2 \$3 \$4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;;
|
|
|
6210 |
*) echo " \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
|
|
|
6211 |
esac;
|
|
|
6212 |
_lt_hint=`expr 1 + \$_lt_hint`;
|
|
|
6213 |
done;
|
|
|
6214 |
fi~
|
8947 |
fi
|
6215 |
'"$ltdll_cmds"'
|
|
|
6216 |
$CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
|
|
|
6217 |
$DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
|
|
|
6218 |
$CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
|
|
|
6219 |
$DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
|
|
|
6220 |
$CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
|
|
|
6221 |
;;
|
8948 |
;;
|
6222 |
|
8949 |
|
6223 |
netbsd*)
|
8950 |
netbsd*)
|
6224 |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
8951 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
6225 |
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
8952 |
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
6226 |
wlarc=
|
8953 |
wlarc=
|
6227 |
else
|
8954 |
else
|
6228 |
archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
8955 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
6229 |
archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
8956 |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
6230 |
fi
|
8957 |
fi
|
6231 |
;;
|
8958 |
;;
|
6232 |
|
8959 |
|
6233 |
solaris* | sysv5*)
|
8960 |
solaris*)
|
6234 |
if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
|
8961 |
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
|
6235 |
ld_shlibs=no
|
8962 |
ld_shlibs=no
|
6236 |
cat <<EOF 1>&2
|
8963 |
cat <<_LT_EOF 1>&2
|
6237 |
|
8964 |
|
6238 |
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
|
8965 |
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
|
6239 |
*** create shared libraries on Solaris systems. Therefore, libtool
|
8966 |
*** create shared libraries on Solaris systems. Therefore, libtool
|
6240 |
*** is disabling shared libraries support. We urge you to upgrade GNU
|
8967 |
*** is disabling shared libraries support. We urge you to upgrade GNU
|
6241 |
*** binutils to release 2.9.1 or newer. Another option is to modify
|
8968 |
*** binutils to release 2.9.1 or newer. Another option is to modify
|
6242 |
*** your PATH or compiler configuration so that the native linker is
|
8969 |
*** your PATH or compiler configuration so that the native linker is
|
6243 |
*** used, and then restart.
|
8970 |
*** used, and then restart.
|
6244 |
|
8971 |
|
6245 |
EOF
|
8972 |
_LT_EOF
|
6246 |
elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
|
8973 |
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
|
6247 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
8974 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
6248 |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
8975 |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
6249 |
else
|
8976 |
else
|
6250 |
ld_shlibs=no
|
8977 |
ld_shlibs=no
|
6251 |
fi
|
8978 |
fi
|
6252 |
;;
|
|
|
6253 |
|
|
|
6254 |
sunos4*)
|
|
|
6255 |
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
|
|
|
6256 |
wlarc=
|
|
|
6257 |
hardcode_direct=yes
|
|
|
6258 |
hardcode_shlibpath_var=no
|
|
|
6259 |
;;
|
|
|
6260 |
|
|
|
6261 |
*)
|
|
|
6262 |
if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
|
|
|
6263 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
|
6264 |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
|
6265 |
else
|
|
|
6266 |
ld_shlibs=no
|
|
|
6267 |
fi
|
|
|
6268 |
;;
|
|
|
6269 |
esac
|
|
|
6270 |
|
|
|
6271 |
if test "$ld_shlibs" = yes; then
|
|
|
6272 |
runpath_var=LD_RUN_PATH
|
|
|
6273 |
hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
|
|
|
6274 |
export_dynamic_flag_spec='${wl}--export-dynamic'
|
|
|
6275 |
case $host_os in
|
|
|
6276 |
cygwin* | mingw* | pw32*)
|
|
|
6277 |
# dlltool doesn't understand --whole-archive et. al.
|
|
|
6278 |
whole_archive_flag_spec=
|
|
|
6279 |
;;
|
8979 |
;;
|
|
|
8980 |
|
|
|
8981 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
|
|
|
8982 |
case `$LD -v 2>&1` in
|
|
|
8983 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
|
|
|
8984 |
ld_shlibs=no
|
|
|
8985 |
cat <<_LT_EOF 1>&2
|
|
|
8986 |
|
|
|
8987 |
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
|
|
|
8988 |
*** reliably create shared libraries on SCO systems. Therefore, libtool
|
|
|
8989 |
*** is disabling shared libraries support. We urge you to upgrade GNU
|
|
|
8990 |
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
|
|
|
8991 |
*** your PATH or compiler configuration so that the native linker is
|
|
|
8992 |
*** used, and then restart.
|
|
|
8993 |
|
|
|
8994 |
_LT_EOF
|
|
|
8995 |
;;
|
|
|
8996 |
*)
|
|
|
8997 |
# For security reasons, it is highly recommended that you always
|
|
|
8998 |
# use absolute paths for naming shared libraries, and exclude the
|
|
|
8999 |
# DT_RUNPATH tag from executables and libraries. But doing so
|
|
|
9000 |
# requires that you compile everything twice, which is a pain.
|
|
|
9001 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
|
|
|
9002 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
|
|
9003 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
|
9004 |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
|
|
9005 |
else
|
|
|
9006 |
ld_shlibs=no
|
|
|
9007 |
fi
|
|
|
9008 |
;;
|
|
|
9009 |
esac
|
|
|
9010 |
;;
|
|
|
9011 |
|
|
|
9012 |
sunos4*)
|
|
|
9013 |
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
|
|
|
9014 |
wlarc=
|
|
|
9015 |
hardcode_direct=yes
|
|
|
9016 |
hardcode_shlibpath_var=no
|
|
|
9017 |
;;
|
|
|
9018 |
|
6280 |
*)
|
9019 |
*)
|
6281 |
# ancient GNU ld didn't support --whole-archive et. al.
|
9020 |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
|
6282 |
if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
|
9021 |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
6283 |
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
|
9022 |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
6284 |
else
|
9023 |
else
|
6285 |
whole_archive_flag_spec=
|
9024 |
ld_shlibs=no
|
6286 |
fi
|
9025 |
fi
|
6287 |
;;
|
9026 |
;;
|
6288 |
esac
|
9027 |
esac
|
6289 |
fi
|
9028 |
|
6290 |
else
|
9029 |
if test "$ld_shlibs" = no; then
|
6291 |
# PORTME fill in a description of your system's linker (not GNU ld)
|
9030 |
runpath_var=
|
6292 |
case $host_os in
|
9031 |
hardcode_libdir_flag_spec=
|
6293 |
aix3*)
|
9032 |
export_dynamic_flag_spec=
|
6294 |
allow_undefined_flag=unsupported
|
9033 |
whole_archive_flag_spec=
|
6295 |
always_export_symbols=yes
|
|
|
6296 |
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'
|
|
|
6297 |
# Note: this linker hardcodes the directories in LIBPATH if there
|
|
|
6298 |
# are no directories specified by -L.
|
|
|
6299 |
hardcode_minus_L=yes
|
|
|
6300 |
if test "$GCC" = yes && test -z "$link_static_flag"; then
|
|
|
6301 |
# Neither direct hardcoding nor static linking is supported with a
|
|
|
6302 |
# broken collect2.
|
|
|
6303 |
hardcode_direct=unsupported
|
|
|
6304 |
fi
|
9034 |
fi
|
|
|
9035 |
else
|
|
|
9036 |
# PORTME fill in a description of your system's linker (not GNU ld)
|
|
|
9037 |
case $host_os in
|
|
|
9038 |
aix3*)
|
|
|
9039 |
allow_undefined_flag=unsupported
|
|
|
9040 |
always_export_symbols=yes
|
|
|
9041 |
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'
|
|
|
9042 |
# Note: this linker hardcodes the directories in LIBPATH if there
|
|
|
9043 |
# are no directories specified by -L.
|
|
|
9044 |
hardcode_minus_L=yes
|
|
|
9045 |
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
|
|
|
9046 |
# Neither direct hardcoding nor static linking is supported with a
|
|
|
9047 |
# broken collect2.
|
|
|
9048 |
hardcode_direct=unsupported
|
|
|
9049 |
fi
|
6305 |
;;
|
9050 |
;;
|
6306 |
|
9051 |
|
6307 |
aix4* | aix5*)
|
9052 |
aix[4-9]*)
|
6308 |
if test "$host_cpu" = ia64; then
|
9053 |
if test "$host_cpu" = ia64; then
|
6309 |
# On IA64, the linker does run time linking by default, so we don't
|
9054 |
# On IA64, the linker does run time linking by default, so we don't
|
6310 |
# have to do anything special.
|
9055 |
# have to do anything special.
|
6311 |
aix_use_runtimelinking=no
|
9056 |
aix_use_runtimelinking=no
|
6312 |
exp_sym_flag='-Bexport'
|
9057 |
exp_sym_flag='-Bexport'
|
6313 |
no_entry_flag=""
|
9058 |
no_entry_flag=""
|
6314 |
else
|
9059 |
else
|
|
|
9060 |
# If we're using GNU nm, then we don't want the "-C" option.
|
|
|
9061 |
# -C means demangle to AIX nm, but means don't demangle with GNU nm
|
|
|
9062 |
# Also, AIX nm treats weak defined symbols like other global
|
|
|
9063 |
# defined symbols, whereas GNU nm marks them as "W".
|
|
|
9064 |
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
|
|
|
9065 |
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
|
|
|
9066 |
else
|
|
|
9067 |
export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
|
|
|
9068 |
fi
|
6315 |
aix_use_runtimelinking=no
|
9069 |
aix_use_runtimelinking=no
|
6316 |
|
9070 |
|
6317 |
# Test if we are trying to use run time linking or normal
|
9071 |
# Test if we are trying to use run time linking or normal
|
6318 |
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
|
9072 |
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
|
6319 |
# need to do runtime linking.
|
9073 |
# need to do runtime linking.
|
6320 |
case $host_os in aix4.[23]|aix4.[23].*|aix5*)
|
9074 |
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
|
6321 |
for ld_flag in $LDFLAGS; do
|
9075 |
for ld_flag in $LDFLAGS; do
|
6322 |
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
|
9076 |
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
|
6323 |
aix_use_runtimelinking=yes
|
9077 |
aix_use_runtimelinking=yes
|
6324 |
break
|
9078 |
break
|
6325 |
fi
|
9079 |
fi
|
6326 |
done
|
9080 |
done
|
6327 |
esac
|
9081 |
;;
|
|
|
9082 |
esac
|
6328 |
|
9083 |
|
6329 |
exp_sym_flag='-bexport'
|
9084 |
exp_sym_flag='-bexport'
|
6330 |
no_entry_flag='-bnoentry'
|
9085 |
no_entry_flag='-bnoentry'
|
6331 |
fi
|
9086 |
fi
|
6332 |
|
9087 |
|
6333 |
# When large executables or shared objects are built, AIX ld can
|
9088 |
# When large executables or shared objects are built, AIX ld can
|
6334 |
# have problems creating the table of contents. If linking a library
|
9089 |
# have problems creating the table of contents. If linking a library
|
6335 |
# or program results in "error TOC overflow" add -mminimal-toc to
|
9090 |
# or program results in "error TOC overflow" add -mminimal-toc to
|
6336 |
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
|
9091 |
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
|
6337 |
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
|
9092 |
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
|
6338 |
|
9093 |
|
|
|
9094 |
archive_cmds=''
|
6339 |
hardcode_direct=yes
|
9095 |
hardcode_direct=yes
|
6340 |
archive_cmds=''
|
9096 |
hardcode_direct_absolute=yes
|
6341 |
hardcode_libdir_separator=':'
|
9097 |
hardcode_libdir_separator=':'
|
|
|
9098 |
link_all_deplibs=yes
|
|
|
9099 |
file_list_spec='${wl}-f,'
|
|
|
9100 |
|
6342 |
if test "$GCC" = yes; then
|
9101 |
if test "$GCC" = yes; then
|
6343 |
case $host_os in aix4.[012]|aix4.[012].*)
|
9102 |
case $host_os in aix4.[012]|aix4.[012].*)
|
|
|
9103 |
# We only want to do this on AIX 4.2 and lower, the check
|
|
|
9104 |
# below for broken collect2 doesn't work under 4.3+
|
6344 |
collect2name=`${CC} -print-prog-name=collect2`
|
9105 |
collect2name=`${CC} -print-prog-name=collect2`
|
6345 |
if test -f "$collect2name" && \
|
9106 |
if test -f "$collect2name" &&
|
6346 |
strings "$collect2name" | grep resolve_lib_name >/dev/null
|
9107 |
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
|
6347 |
then
|
9108 |
then
|
6348 |
# We have reworked collect2
|
9109 |
# We have reworked collect2
|
6349 |
hardcode_direct=yes
|
9110 |
:
|
6350 |
else
|
9111 |
else
|
6351 |
# We have old collect2
|
9112 |
# We have old collect2
|
6352 |
hardcode_direct=unsupported
|
9113 |
hardcode_direct=unsupported
|
6353 |
# It fails to find uninstalled libraries when the uninstalled
|
9114 |
# It fails to find uninstalled libraries when the uninstalled
|
6354 |
# path is not listed in the libpath. Setting hardcode_minus_L
|
9115 |
# path is not listed in the libpath. Setting hardcode_minus_L
|
6355 |
# to unsupported forces relinking
|
9116 |
# to unsupported forces relinking
|
6356 |
hardcode_minus_L=yes
|
9117 |
hardcode_minus_L=yes
|
6357 |
hardcode_libdir_flag_spec='-L$libdir'
|
9118 |
hardcode_libdir_flag_spec='-L$libdir'
|
6358 |
hardcode_libdir_separator=
|
9119 |
hardcode_libdir_separator=
|
|
|
9120 |
fi
|
|
|
9121 |
;;
|
|
|
9122 |
esac
|
|
|
9123 |
shared_flag='-shared'
|
|
|
9124 |
if test "$aix_use_runtimelinking" = yes; then
|
|
|
9125 |
shared_flag="$shared_flag "'${wl}-G'
|
6359 |
fi
|
9126 |
fi
|
6360 |
esac
|
|
|
6361 |
|
|
|
6362 |
shared_flag='-shared'
|
|
|
6363 |
else
|
|
|
6364 |
# not using gcc
|
|
|
6365 |
if test "$host_cpu" = ia64; then
|
|
|
6366 |
shared_flag='${wl}-G'
|
|
|
6367 |
else
|
9127 |
else
|
6368 |
if test "$aix_use_runtimelinking" = yes; then
|
9128 |
# not using gcc
|
|
|
9129 |
if test "$host_cpu" = ia64; then
|
|
|
9130 |
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
|
|
|
9131 |
# chokes on -Wl,-G. The following line is correct:
|
6369 |
shared_flag='${wl}-G'
|
9132 |
shared_flag='-G'
|
6370 |
else
|
9133 |
else
|
|
|
9134 |
if test "$aix_use_runtimelinking" = yes; then
|
|
|
9135 |
shared_flag='${wl}-G'
|
|
|
9136 |
else
|
6371 |
shared_flag='${wl}-bM:SRE'
|
9137 |
shared_flag='${wl}-bM:SRE'
|
|
|
9138 |
fi
|
6372 |
fi
|
9139 |
fi
|
6373 |
fi
|
9140 |
fi
|
6374 |
fi
|
|
|
6375 |
|
9141 |
|
6376 |
# It seems that -bexpall can do strange things, so it is better to
|
9142 |
export_dynamic_flag_spec='${wl}-bexpall'
|
6377 |
# generate a list of symbols to export.
|
9143 |
# It seems that -bexpall does not export symbols beginning with
|
|
|
9144 |
# underscore (_), so it is better to generate a list of symbols to export.
|
6378 |
always_export_symbols=yes
|
9145 |
always_export_symbols=yes
|
6379 |
if test "$aix_use_runtimelinking" = yes; then
|
9146 |
if test "$aix_use_runtimelinking" = yes; then
|
6380 |
# Warning - without using the other runtime loading flags (-brtl),
|
9147 |
# Warning - without using the other runtime loading flags (-brtl),
|
6381 |
# -berok will link without error, but may produce a broken library.
|
9148 |
# -berok will link without error, but may produce a broken library.
|
6382 |
allow_undefined_flag='-berok'
|
9149 |
allow_undefined_flag='-berok'
|
|
|
9150 |
# Determine the default libpath from the value encoded in an
|
|
|
9151 |
# empty executable.
|
|
|
9152 |
if test "${lt_cv_aix_libpath+set}" = set; then
|
|
|
9153 |
aix_libpath=$lt_cv_aix_libpath
|
|
|
9154 |
else
|
|
|
9155 |
if ${lt_cv_aix_libpath_+:} false; then :
|
|
|
9156 |
$as_echo_n "(cached) " >&6
|
|
|
9157 |
else
|
|
|
9158 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
9159 |
/* end confdefs.h. */
|
|
|
9160 |
|
|
|
9161 |
int
|
|
|
9162 |
main ()
|
|
|
9163 |
{
|
|
|
9164 |
|
|
|
9165 |
;
|
|
|
9166 |
return 0;
|
|
|
9167 |
}
|
|
|
9168 |
_ACEOF
|
|
|
9169 |
if ac_fn_c_try_link "$LINENO"; then :
|
|
|
9170 |
|
|
|
9171 |
lt_aix_libpath_sed='
|
|
|
9172 |
/Import File Strings/,/^$/ {
|
|
|
9173 |
/^0/ {
|
|
|
9174 |
s/^0 *\([^ ]*\) *$/\1/
|
|
|
9175 |
p
|
|
|
9176 |
}
|
|
|
9177 |
}'
|
|
|
9178 |
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
|
|
9179 |
# Check for a 64-bit object if we didn't find anything.
|
|
|
9180 |
if test -z "$lt_cv_aix_libpath_"; then
|
|
|
9181 |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
|
|
9182 |
fi
|
|
|
9183 |
fi
|
|
|
9184 |
rm -f core conftest.err conftest.$ac_objext \
|
|
|
9185 |
conftest$ac_exeext conftest.$ac_ext
|
|
|
9186 |
if test -z "$lt_cv_aix_libpath_"; then
|
|
|
9187 |
lt_cv_aix_libpath_="/usr/lib:/lib"
|
|
|
9188 |
fi
|
|
|
9189 |
|
|
|
9190 |
fi
|
|
|
9191 |
|
|
|
9192 |
aix_libpath=$lt_cv_aix_libpath_
|
|
|
9193 |
fi
|
|
|
9194 |
|
6383 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
|
9195 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
|
6384 |
archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
|
9196 |
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
|
6385 |
else
|
|
|
6386 |
if test "$host_cpu" = ia64; then
|
|
|
6387 |
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
|
|
|
6388 |
allow_undefined_flag="-z nodefs"
|
|
|
6389 |
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
|
|
|
6390 |
else
|
9197 |
else
|
|
|
9198 |
if test "$host_cpu" = ia64; then
|
6391 |
hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
|
9199 |
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
|
|
|
9200 |
allow_undefined_flag="-z nodefs"
|
|
|
9201 |
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"
|
|
|
9202 |
else
|
|
|
9203 |
# Determine the default libpath from the value encoded in an
|
|
|
9204 |
# empty executable.
|
|
|
9205 |
if test "${lt_cv_aix_libpath+set}" = set; then
|
|
|
9206 |
aix_libpath=$lt_cv_aix_libpath
|
|
|
9207 |
else
|
|
|
9208 |
if ${lt_cv_aix_libpath_+:} false; then :
|
|
|
9209 |
$as_echo_n "(cached) " >&6
|
|
|
9210 |
else
|
|
|
9211 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
9212 |
/* end confdefs.h. */
|
|
|
9213 |
|
|
|
9214 |
int
|
|
|
9215 |
main ()
|
|
|
9216 |
{
|
|
|
9217 |
|
|
|
9218 |
;
|
|
|
9219 |
return 0;
|
|
|
9220 |
}
|
|
|
9221 |
_ACEOF
|
|
|
9222 |
if ac_fn_c_try_link "$LINENO"; then :
|
|
|
9223 |
|
|
|
9224 |
lt_aix_libpath_sed='
|
|
|
9225 |
/Import File Strings/,/^$/ {
|
|
|
9226 |
/^0/ {
|
|
|
9227 |
s/^0 *\([^ ]*\) *$/\1/
|
|
|
9228 |
p
|
|
|
9229 |
}
|
|
|
9230 |
}'
|
|
|
9231 |
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
|
|
9232 |
# Check for a 64-bit object if we didn't find anything.
|
|
|
9233 |
if test -z "$lt_cv_aix_libpath_"; then
|
|
|
9234 |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
|
|
9235 |
fi
|
|
|
9236 |
fi
|
|
|
9237 |
rm -f core conftest.err conftest.$ac_objext \
|
|
|
9238 |
conftest$ac_exeext conftest.$ac_ext
|
|
|
9239 |
if test -z "$lt_cv_aix_libpath_"; then
|
|
|
9240 |
lt_cv_aix_libpath_="/usr/lib:/lib"
|
|
|
9241 |
fi
|
|
|
9242 |
|
|
|
9243 |
fi
|
|
|
9244 |
|
|
|
9245 |
aix_libpath=$lt_cv_aix_libpath_
|
|
|
9246 |
fi
|
|
|
9247 |
|
|
|
9248 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
|
6392 |
# Warning - without using the other run time loading flags,
|
9249 |
# Warning - without using the other run time loading flags,
|
6393 |
# -berok will link without error, but may produce a broken library.
|
9250 |
# -berok will link without error, but may produce a broken library.
|
|
|
9251 |
no_undefined_flag=' ${wl}-bernotok'
|
6394 |
allow_undefined_flag='${wl}-berok'
|
9252 |
allow_undefined_flag=' ${wl}-berok'
|
6395 |
# This is a bit strange, but is similar to how AIX traditionally builds
|
9253 |
if test "$with_gnu_ld" = yes; then
|
6396 |
# it's shared libraries.
|
9254 |
# We only use this code for GNU lds that support --whole-archive.
|
6397 |
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
|
9255 |
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
|
|
|
9256 |
else
|
|
|
9257 |
# Exported symbols can be pulled into shared objects from archives
|
|
|
9258 |
whole_archive_flag_spec='$convenience'
|
|
|
9259 |
fi
|
|
|
9260 |
archive_cmds_need_lc=yes
|
|
|
9261 |
# This is similar to how AIX traditionally builds its shared libraries.
|
|
|
9262 |
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
|
|
|
9263 |
fi
|
6398 |
fi
|
9264 |
fi
|
6399 |
fi
|
|
|
6400 |
;;
|
|
|
6401 |
|
|
|
6402 |
amigaos*)
|
|
|
6403 |
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)'
|
|
|
6404 |
hardcode_libdir_flag_spec='-L$libdir'
|
|
|
6405 |
hardcode_minus_L=yes
|
|
|
6406 |
# see comment about different semantics on the GNU ld section
|
|
|
6407 |
ld_shlibs=no
|
|
|
6408 |
;;
|
|
|
6409 |
|
|
|
6410 |
cygwin* | mingw* | pw32*)
|
|
|
6411 |
# When not using gcc, we currently assume that we are using
|
|
|
6412 |
# Microsoft Visual C++.
|
|
|
6413 |
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
|
|
6414 |
# no search path for DLLs.
|
|
|
6415 |
hardcode_libdir_flag_spec=' '
|
|
|
6416 |
allow_undefined_flag=unsupported
|
|
|
6417 |
# Tell ltmain to make .lib files, not .a files.
|
|
|
6418 |
libext=lib
|
|
|
6419 |
# FIXME: Setting linknames here is a bad hack.
|
|
|
6420 |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
|
|
|
6421 |
# The linker will automatically build a .lib file if we build a DLL.
|
|
|
6422 |
old_archive_from_new_cmds='true'
|
|
|
6423 |
# FIXME: Should let the user specify the lib program.
|
|
|
6424 |
old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
|
|
|
6425 |
fix_srcfile_path='`cygpath -w "$srcfile"`'
|
|
|
6426 |
;;
|
|
|
6427 |
|
|
|
6428 |
darwin* | rhapsody*)
|
|
|
6429 |
case "$host_os" in
|
|
|
6430 |
rhapsody* | darwin1.[012])
|
|
|
6431 |
allow_undefined_flag='-undefined suppress'
|
|
|
6432 |
;;
|
9265 |
;;
|
6433 |
*) # Darwin 1.3 on
|
9266 |
|
6434 |
allow_undefined_flag='-flat_namespace -undefined suppress'
|
9267 |
amigaos*)
|
|
|
9268 |
case $host_cpu in
|
|
|
9269 |
powerpc)
|
|
|
9270 |
# see comment about AmigaOS4 .so support
|
|
|
9271 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
|
9272 |
archive_expsym_cmds=''
|
|
|
9273 |
;;
|
|
|
9274 |
m68k)
|
|
|
9275 |
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)'
|
|
|
9276 |
hardcode_libdir_flag_spec='-L$libdir'
|
|
|
9277 |
hardcode_minus_L=yes
|
|
|
9278 |
;;
|
|
|
9279 |
esac
|
|
|
9280 |
;;
|
|
|
9281 |
|
|
|
9282 |
bsdi[45]*)
|
|
|
9283 |
export_dynamic_flag_spec=-rdynamic
|
|
|
9284 |
;;
|
|
|
9285 |
|
|
|
9286 |
cygwin* | mingw* | pw32* | cegcc*)
|
|
|
9287 |
# When not using gcc, we currently assume that we are using
|
|
|
9288 |
# Microsoft Visual C++.
|
|
|
9289 |
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
|
|
9290 |
# no search path for DLLs.
|
|
|
9291 |
case $cc_basename in
|
|
|
9292 |
cl*)
|
|
|
9293 |
# Native MSVC
|
|
|
9294 |
hardcode_libdir_flag_spec=' '
|
|
|
9295 |
allow_undefined_flag=unsupported
|
|
|
9296 |
always_export_symbols=yes
|
|
|
9297 |
file_list_spec='@'
|
|
|
9298 |
# Tell ltmain to make .lib files, not .a files.
|
|
|
9299 |
libext=lib
|
|
|
9300 |
# Tell ltmain to make .dll files, not .so files.
|
|
|
9301 |
shrext_cmds=".dll"
|
|
|
9302 |
# FIXME: Setting linknames here is a bad hack.
|
|
|
9303 |
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
|
|
|
9304 |
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
|
|
|
9305 |
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
|
|
|
9306 |
else
|
|
|
9307 |
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
|
|
|
9308 |
fi~
|
|
|
9309 |
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
|
|
|
9310 |
linknames='
|
|
|
9311 |
# The linker will not automatically build a static lib if we build a DLL.
|
|
|
9312 |
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
|
|
|
9313 |
enable_shared_with_static_runtimes=yes
|
|
|
9314 |
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
|
|
|
9315 |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
|
|
|
9316 |
# Don't use ranlib
|
|
|
9317 |
old_postinstall_cmds='chmod 644 $oldlib'
|
|
|
9318 |
postlink_cmds='lt_outputfile="@OUTPUT@"~
|
|
|
9319 |
lt_tool_outputfile="@TOOL_OUTPUT@"~
|
|
|
9320 |
case $lt_outputfile in
|
|
|
9321 |
*.exe|*.EXE) ;;
|
|
|
9322 |
*)
|
|
|
9323 |
lt_outputfile="$lt_outputfile.exe"
|
|
|
9324 |
lt_tool_outputfile="$lt_tool_outputfile.exe"
|
|
|
9325 |
;;
|
|
|
9326 |
esac~
|
|
|
9327 |
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
|
|
|
9328 |
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
|
|
|
9329 |
$RM "$lt_outputfile.manifest";
|
|
|
9330 |
fi'
|
|
|
9331 |
;;
|
|
|
9332 |
*)
|
|
|
9333 |
# Assume MSVC wrapper
|
|
|
9334 |
hardcode_libdir_flag_spec=' '
|
|
|
9335 |
allow_undefined_flag=unsupported
|
|
|
9336 |
# Tell ltmain to make .lib files, not .a files.
|
|
|
9337 |
libext=lib
|
|
|
9338 |
# Tell ltmain to make .dll files, not .so files.
|
|
|
9339 |
shrext_cmds=".dll"
|
|
|
9340 |
# FIXME: Setting linknames here is a bad hack.
|
|
|
9341 |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
|
|
|
9342 |
# The linker will automatically build a .lib file if we build a DLL.
|
|
|
9343 |
old_archive_from_new_cmds='true'
|
|
|
9344 |
# FIXME: Should let the user specify the lib program.
|
|
|
9345 |
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
|
|
|
9346 |
enable_shared_with_static_runtimes=yes
|
|
|
9347 |
;;
|
|
|
9348 |
esac
|
|
|
9349 |
;;
|
|
|
9350 |
|
|
|
9351 |
darwin* | rhapsody*)
|
|
|
9352 |
|
|
|
9353 |
|
|
|
9354 |
archive_cmds_need_lc=no
|
|
|
9355 |
hardcode_direct=no
|
|
|
9356 |
hardcode_automatic=yes
|
|
|
9357 |
hardcode_shlibpath_var=unsupported
|
|
|
9358 |
if test "$lt_cv_ld_force_load" = "yes"; then
|
|
|
9359 |
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\"`'
|
|
|
9360 |
|
|
|
9361 |
else
|
|
|
9362 |
whole_archive_flag_spec=''
|
|
|
9363 |
fi
|
|
|
9364 |
link_all_deplibs=yes
|
|
|
9365 |
allow_undefined_flag="$_lt_dar_allow_undefined"
|
|
|
9366 |
case $cc_basename in
|
|
|
9367 |
ifort*) _lt_dar_can_shared=yes ;;
|
|
|
9368 |
*) _lt_dar_can_shared=$GCC ;;
|
|
|
9369 |
esac
|
|
|
9370 |
if test "$_lt_dar_can_shared" = "yes"; then
|
|
|
9371 |
output_verbose_link_cmd=func_echo_all
|
|
|
9372 |
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
|
|
|
9373 |
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
|
|
|
9374 |
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}"
|
|
|
9375 |
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}"
|
|
|
9376 |
|
|
|
9377 |
else
|
|
|
9378 |
ld_shlibs=no
|
|
|
9379 |
fi
|
|
|
9380 |
|
|
|
9381 |
;;
|
|
|
9382 |
|
|
|
9383 |
dgux*)
|
|
|
9384 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
|
|
9385 |
hardcode_libdir_flag_spec='-L$libdir'
|
|
|
9386 |
hardcode_shlibpath_var=no
|
|
|
9387 |
;;
|
|
|
9388 |
|
|
|
9389 |
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
|
|
|
9390 |
# support. Future versions do this automatically, but an explicit c++rt0.o
|
|
|
9391 |
# does not break anything, and helps significantly (at the cost of a little
|
|
|
9392 |
# extra space).
|
|
|
9393 |
freebsd2.2*)
|
|
|
9394 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
|
|
|
9395 |
hardcode_libdir_flag_spec='-R$libdir'
|
|
|
9396 |
hardcode_direct=yes
|
|
|
9397 |
hardcode_shlibpath_var=no
|
|
|
9398 |
;;
|
|
|
9399 |
|
|
|
9400 |
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
|
|
|
9401 |
freebsd2.*)
|
|
|
9402 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
|
|
|
9403 |
hardcode_direct=yes
|
|
|
9404 |
hardcode_minus_L=yes
|
|
|
9405 |
hardcode_shlibpath_var=no
|
|
|
9406 |
;;
|
|
|
9407 |
|
|
|
9408 |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
|
|
|
9409 |
freebsd* | dragonfly*)
|
|
|
9410 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
|
|
9411 |
hardcode_libdir_flag_spec='-R$libdir'
|
|
|
9412 |
hardcode_direct=yes
|
|
|
9413 |
hardcode_shlibpath_var=no
|
|
|
9414 |
;;
|
|
|
9415 |
|
|
|
9416 |
hpux9*)
|
|
|
9417 |
if test "$GCC" = yes; then
|
|
|
9418 |
archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
|
|
|
9419 |
else
|
|
|
9420 |
archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
|
|
|
9421 |
fi
|
|
|
9422 |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
|
|
9423 |
hardcode_libdir_separator=:
|
|
|
9424 |
hardcode_direct=yes
|
|
|
9425 |
|
|
|
9426 |
# hardcode_minus_L: Not really in the search PATH,
|
|
|
9427 |
# but as the default location of the library.
|
|
|
9428 |
hardcode_minus_L=yes
|
|
|
9429 |
export_dynamic_flag_spec='${wl}-E'
|
|
|
9430 |
;;
|
|
|
9431 |
|
|
|
9432 |
hpux10*)
|
|
|
9433 |
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
|
|
|
9434 |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
|
|
|
9435 |
else
|
|
|
9436 |
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
|
|
|
9437 |
fi
|
|
|
9438 |
if test "$with_gnu_ld" = no; then
|
|
|
9439 |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
|
|
9440 |
hardcode_libdir_separator=:
|
|
|
9441 |
hardcode_direct=yes
|
|
|
9442 |
hardcode_direct_absolute=yes
|
|
|
9443 |
export_dynamic_flag_spec='${wl}-E'
|
|
|
9444 |
# hardcode_minus_L: Not really in the search PATH,
|
|
|
9445 |
# but as the default location of the library.
|
|
|
9446 |
hardcode_minus_L=yes
|
|
|
9447 |
fi
|
|
|
9448 |
;;
|
|
|
9449 |
|
|
|
9450 |
hpux11*)
|
|
|
9451 |
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
|
|
|
9452 |
case $host_cpu in
|
|
|
9453 |
hppa*64*)
|
|
|
9454 |
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
|
|
9455 |
;;
|
|
|
9456 |
ia64*)
|
|
|
9457 |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
|
|
9458 |
;;
|
|
|
9459 |
*)
|
|
|
9460 |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
|
|
|
9461 |
;;
|
|
|
9462 |
esac
|
|
|
9463 |
else
|
|
|
9464 |
case $host_cpu in
|
|
|
9465 |
hppa*64*)
|
|
|
9466 |
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
|
|
9467 |
;;
|
|
|
9468 |
ia64*)
|
|
|
9469 |
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
|
|
9470 |
;;
|
|
|
9471 |
*)
|
|
|
9472 |
|
|
|
9473 |
# Older versions of the 11.00 compiler do not understand -b yet
|
|
|
9474 |
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
|
|
|
9475 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
|
|
|
9476 |
$as_echo_n "checking if $CC understands -b... " >&6; }
|
|
|
9477 |
if ${lt_cv_prog_compiler__b+:} false; then :
|
|
|
9478 |
$as_echo_n "(cached) " >&6
|
|
|
9479 |
else
|
|
|
9480 |
lt_cv_prog_compiler__b=no
|
|
|
9481 |
save_LDFLAGS="$LDFLAGS"
|
|
|
9482 |
LDFLAGS="$LDFLAGS -b"
|
|
|
9483 |
echo "$lt_simple_link_test_code" > conftest.$ac_ext
|
|
|
9484 |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
|
|
|
9485 |
# The linker can only warn and ignore the option if not recognized
|
|
|
9486 |
# So say no if there are warnings
|
|
|
9487 |
if test -s conftest.err; then
|
|
|
9488 |
# Append any errors to the config.log.
|
|
|
9489 |
cat conftest.err 1>&5
|
|
|
9490 |
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
|
|
|
9491 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
|
|
|
9492 |
if diff conftest.exp conftest.er2 >/dev/null; then
|
|
|
9493 |
lt_cv_prog_compiler__b=yes
|
|
|
9494 |
fi
|
|
|
9495 |
else
|
|
|
9496 |
lt_cv_prog_compiler__b=yes
|
|
|
9497 |
fi
|
|
|
9498 |
fi
|
|
|
9499 |
$RM -r conftest*
|
|
|
9500 |
LDFLAGS="$save_LDFLAGS"
|
|
|
9501 |
|
|
|
9502 |
fi
|
|
|
9503 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
|
|
|
9504 |
$as_echo "$lt_cv_prog_compiler__b" >&6; }
|
|
|
9505 |
|
|
|
9506 |
if test x"$lt_cv_prog_compiler__b" = xyes; then
|
|
|
9507 |
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
|
|
|
9508 |
else
|
|
|
9509 |
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
|
|
|
9510 |
fi
|
|
|
9511 |
|
|
|
9512 |
;;
|
|
|
9513 |
esac
|
|
|
9514 |
fi
|
|
|
9515 |
if test "$with_gnu_ld" = no; then
|
|
|
9516 |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
|
|
9517 |
hardcode_libdir_separator=:
|
|
|
9518 |
|
|
|
9519 |
case $host_cpu in
|
|
|
9520 |
hppa*64*|ia64*)
|
|
|
9521 |
hardcode_direct=no
|
|
|
9522 |
hardcode_shlibpath_var=no
|
|
|
9523 |
;;
|
|
|
9524 |
*)
|
|
|
9525 |
hardcode_direct=yes
|
|
|
9526 |
hardcode_direct_absolute=yes
|
|
|
9527 |
export_dynamic_flag_spec='${wl}-E'
|
|
|
9528 |
|
|
|
9529 |
# hardcode_minus_L: Not really in the search PATH,
|
|
|
9530 |
# but as the default location of the library.
|
|
|
9531 |
hardcode_minus_L=yes
|
|
|
9532 |
;;
|
|
|
9533 |
esac
|
|
|
9534 |
fi
|
|
|
9535 |
;;
|
|
|
9536 |
|
|
|
9537 |
irix5* | irix6* | nonstopux*)
|
|
|
9538 |
if test "$GCC" = yes; then
|
|
|
9539 |
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'
|
|
|
9540 |
# Try to use the -exported_symbol ld option, if it does not
|
|
|
9541 |
# work, assume that -exports_file does not work either and
|
|
|
9542 |
# implicitly export all symbols.
|
|
|
9543 |
# This should be the same for all languages, so no per-tag cache variable.
|
|
|
9544 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
|
|
|
9545 |
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
|
|
|
9546 |
if ${lt_cv_irix_exported_symbol+:} false; then :
|
|
|
9547 |
$as_echo_n "(cached) " >&6
|
|
|
9548 |
else
|
|
|
9549 |
save_LDFLAGS="$LDFLAGS"
|
|
|
9550 |
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
|
|
|
9551 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
9552 |
/* end confdefs.h. */
|
|
|
9553 |
int foo (void) { return 0; }
|
|
|
9554 |
_ACEOF
|
|
|
9555 |
if ac_fn_c_try_link "$LINENO"; then :
|
|
|
9556 |
lt_cv_irix_exported_symbol=yes
|
|
|
9557 |
else
|
|
|
9558 |
lt_cv_irix_exported_symbol=no
|
|
|
9559 |
fi
|
|
|
9560 |
rm -f core conftest.err conftest.$ac_objext \
|
|
|
9561 |
conftest$ac_exeext conftest.$ac_ext
|
|
|
9562 |
LDFLAGS="$save_LDFLAGS"
|
|
|
9563 |
fi
|
|
|
9564 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
|
|
|
9565 |
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
|
|
|
9566 |
if test "$lt_cv_irix_exported_symbol" = yes; then
|
|
|
9567 |
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'
|
|
|
9568 |
fi
|
|
|
9569 |
else
|
|
|
9570 |
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'
|
|
|
9571 |
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'
|
|
|
9572 |
fi
|
|
|
9573 |
archive_cmds_need_lc='no'
|
|
|
9574 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
|
|
9575 |
hardcode_libdir_separator=:
|
|
|
9576 |
inherit_rpath=yes
|
|
|
9577 |
link_all_deplibs=yes
|
|
|
9578 |
;;
|
|
|
9579 |
|
|
|
9580 |
netbsd*)
|
|
|
9581 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
|
|
9582 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
|
|
|
9583 |
else
|
|
|
9584 |
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
|
|
|
9585 |
fi
|
|
|
9586 |
hardcode_libdir_flag_spec='-R$libdir'
|
|
|
9587 |
hardcode_direct=yes
|
|
|
9588 |
hardcode_shlibpath_var=no
|
|
|
9589 |
;;
|
|
|
9590 |
|
|
|
9591 |
newsos6)
|
|
|
9592 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
|
|
9593 |
hardcode_direct=yes
|
|
|
9594 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
|
|
9595 |
hardcode_libdir_separator=:
|
|
|
9596 |
hardcode_shlibpath_var=no
|
|
|
9597 |
;;
|
|
|
9598 |
|
|
|
9599 |
*nto* | *qnx*)
|
|
|
9600 |
;;
|
|
|
9601 |
|
|
|
9602 |
openbsd*)
|
|
|
9603 |
if test -f /usr/libexec/ld.so; then
|
|
|
9604 |
hardcode_direct=yes
|
|
|
9605 |
hardcode_shlibpath_var=no
|
|
|
9606 |
hardcode_direct_absolute=yes
|
|
|
9607 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
|
|
9608 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
|
|
9609 |
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
|
|
|
9610 |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
|
|
9611 |
export_dynamic_flag_spec='${wl}-E'
|
|
|
9612 |
else
|
|
|
9613 |
case $host_os in
|
|
|
9614 |
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
|
|
|
9615 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
|
|
|
9616 |
hardcode_libdir_flag_spec='-R$libdir'
|
|
|
9617 |
;;
|
|
|
9618 |
*)
|
|
|
9619 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
|
|
9620 |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
|
|
9621 |
;;
|
|
|
9622 |
esac
|
|
|
9623 |
fi
|
|
|
9624 |
else
|
|
|
9625 |
ld_shlibs=no
|
|
|
9626 |
fi
|
|
|
9627 |
;;
|
|
|
9628 |
|
|
|
9629 |
os2*)
|
|
|
9630 |
hardcode_libdir_flag_spec='-L$libdir'
|
|
|
9631 |
hardcode_minus_L=yes
|
|
|
9632 |
allow_undefined_flag=unsupported
|
|
|
9633 |
archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
|
|
|
9634 |
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
|
|
|
9635 |
;;
|
|
|
9636 |
|
|
|
9637 |
osf3*)
|
|
|
9638 |
if test "$GCC" = yes; then
|
|
|
9639 |
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
|
|
|
9640 |
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'
|
|
|
9641 |
else
|
|
|
9642 |
allow_undefined_flag=' -expect_unresolved \*'
|
|
|
9643 |
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'
|
|
|
9644 |
fi
|
|
|
9645 |
archive_cmds_need_lc='no'
|
|
|
9646 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
|
|
9647 |
hardcode_libdir_separator=:
|
|
|
9648 |
;;
|
|
|
9649 |
|
|
|
9650 |
osf4* | osf5*) # as osf3* with the addition of -msym flag
|
|
|
9651 |
if test "$GCC" = yes; then
|
|
|
9652 |
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
|
|
|
9653 |
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'
|
|
|
9654 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
|
|
9655 |
else
|
|
|
9656 |
allow_undefined_flag=' -expect_unresolved \*'
|
|
|
9657 |
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'
|
|
|
9658 |
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~
|
|
|
9659 |
$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'
|
|
|
9660 |
|
|
|
9661 |
# Both c and cxx compiler support -rpath directly
|
|
|
9662 |
hardcode_libdir_flag_spec='-rpath $libdir'
|
|
|
9663 |
fi
|
|
|
9664 |
archive_cmds_need_lc='no'
|
|
|
9665 |
hardcode_libdir_separator=:
|
|
|
9666 |
;;
|
|
|
9667 |
|
|
|
9668 |
solaris*)
|
|
|
9669 |
no_undefined_flag=' -z defs'
|
|
|
9670 |
if test "$GCC" = yes; then
|
|
|
9671 |
wlarc='${wl}'
|
|
|
9672 |
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
|
|
9673 |
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
|
|
|
9674 |
$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'
|
|
|
9675 |
else
|
|
|
9676 |
case `$CC -V 2>&1` in
|
|
|
9677 |
*"Compilers 5.0"*)
|
|
|
9678 |
wlarc=''
|
|
|
9679 |
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
|
|
9680 |
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
|
|
|
9681 |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
|
|
|
9682 |
;;
|
|
|
9683 |
*)
|
|
|
9684 |
wlarc='${wl}'
|
|
|
9685 |
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
|
|
|
9686 |
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
|
|
|
9687 |
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
|
|
|
9688 |
;;
|
|
|
9689 |
esac
|
|
|
9690 |
fi
|
|
|
9691 |
hardcode_libdir_flag_spec='-R$libdir'
|
|
|
9692 |
hardcode_shlibpath_var=no
|
|
|
9693 |
case $host_os in
|
|
|
9694 |
solaris2.[0-5] | solaris2.[0-5].*) ;;
|
|
|
9695 |
*)
|
|
|
9696 |
# The compiler driver will combine and reorder linker options,
|
|
|
9697 |
# but understands `-z linker_flag'. GCC discards it without `$wl',
|
|
|
9698 |
# but is careful enough not to reorder.
|
|
|
9699 |
# Supported since Solaris 2.6 (maybe 2.5.1?)
|
|
|
9700 |
if test "$GCC" = yes; then
|
|
|
9701 |
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
|
|
|
9702 |
else
|
|
|
9703 |
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
|
|
|
9704 |
fi
|
|
|
9705 |
;;
|
|
|
9706 |
esac
|
|
|
9707 |
link_all_deplibs=yes
|
|
|
9708 |
;;
|
|
|
9709 |
|
|
|
9710 |
sunos4*)
|
|
|
9711 |
if test "x$host_vendor" = xsequent; then
|
|
|
9712 |
# Use $CC to link under sequent, because it throws in some extra .o
|
|
|
9713 |
# files that make .init and .fini sections work.
|
|
|
9714 |
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
|
|
|
9715 |
else
|
|
|
9716 |
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
|
|
|
9717 |
fi
|
|
|
9718 |
hardcode_libdir_flag_spec='-L$libdir'
|
|
|
9719 |
hardcode_direct=yes
|
|
|
9720 |
hardcode_minus_L=yes
|
|
|
9721 |
hardcode_shlibpath_var=no
|
|
|
9722 |
;;
|
|
|
9723 |
|
|
|
9724 |
sysv4)
|
|
|
9725 |
case $host_vendor in
|
|
|
9726 |
sni)
|
|
|
9727 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
|
|
9728 |
hardcode_direct=yes # is this really true???
|
|
|
9729 |
;;
|
|
|
9730 |
siemens)
|
|
|
9731 |
## LD is ld it makes a PLAMLIB
|
|
|
9732 |
## CC just makes a GrossModule.
|
|
|
9733 |
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
|
|
|
9734 |
reload_cmds='$CC -r -o $output$reload_objs'
|
|
|
9735 |
hardcode_direct=no
|
|
|
9736 |
;;
|
|
|
9737 |
motorola)
|
|
|
9738 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
|
|
9739 |
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
|
|
|
9740 |
;;
|
|
|
9741 |
esac
|
|
|
9742 |
runpath_var='LD_RUN_PATH'
|
|
|
9743 |
hardcode_shlibpath_var=no
|
|
|
9744 |
;;
|
|
|
9745 |
|
|
|
9746 |
sysv4.3*)
|
|
|
9747 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
|
|
9748 |
hardcode_shlibpath_var=no
|
|
|
9749 |
export_dynamic_flag_spec='-Bexport'
|
|
|
9750 |
;;
|
|
|
9751 |
|
|
|
9752 |
sysv4*MP*)
|
|
|
9753 |
if test -d /usr/nec; then
|
|
|
9754 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
|
|
9755 |
hardcode_shlibpath_var=no
|
|
|
9756 |
runpath_var=LD_RUN_PATH
|
|
|
9757 |
hardcode_runpath_var=yes
|
|
|
9758 |
ld_shlibs=yes
|
|
|
9759 |
fi
|
|
|
9760 |
;;
|
|
|
9761 |
|
|
|
9762 |
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
|
|
|
9763 |
no_undefined_flag='${wl}-z,text'
|
|
|
9764 |
archive_cmds_need_lc=no
|
|
|
9765 |
hardcode_shlibpath_var=no
|
|
|
9766 |
runpath_var='LD_RUN_PATH'
|
|
|
9767 |
|
|
|
9768 |
if test "$GCC" = yes; then
|
|
|
9769 |
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
|
|
|
9770 |
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
|
|
|
9771 |
else
|
|
|
9772 |
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
|
|
|
9773 |
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
|
|
|
9774 |
fi
|
|
|
9775 |
;;
|
|
|
9776 |
|
|
|
9777 |
sysv5* | sco3.2v5* | sco5v6*)
|
|
|
9778 |
# Note: We can NOT use -z defs as we might desire, because we do not
|
|
|
9779 |
# link with -lc, and that would cause any symbols used from libc to
|
|
|
9780 |
# always be unresolved, which means just about no library would
|
|
|
9781 |
# ever link correctly. If we're not using GNU ld we use -z text
|
|
|
9782 |
# though, which does catch some bad symbols but isn't as heavy-handed
|
|
|
9783 |
# as -z defs.
|
|
|
9784 |
no_undefined_flag='${wl}-z,text'
|
|
|
9785 |
allow_undefined_flag='${wl}-z,nodefs'
|
|
|
9786 |
archive_cmds_need_lc=no
|
|
|
9787 |
hardcode_shlibpath_var=no
|
|
|
9788 |
hardcode_libdir_flag_spec='${wl}-R,$libdir'
|
|
|
9789 |
hardcode_libdir_separator=':'
|
|
|
9790 |
link_all_deplibs=yes
|
|
|
9791 |
export_dynamic_flag_spec='${wl}-Bexport'
|
|
|
9792 |
runpath_var='LD_RUN_PATH'
|
|
|
9793 |
|
|
|
9794 |
if test "$GCC" = yes; then
|
|
|
9795 |
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
|
|
|
9796 |
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
|
|
|
9797 |
else
|
|
|
9798 |
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
|
|
|
9799 |
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
|
|
|
9800 |
fi
|
|
|
9801 |
;;
|
|
|
9802 |
|
|
|
9803 |
uts4*)
|
|
|
9804 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
|
|
9805 |
hardcode_libdir_flag_spec='-L$libdir'
|
|
|
9806 |
hardcode_shlibpath_var=no
|
|
|
9807 |
;;
|
|
|
9808 |
|
|
|
9809 |
*)
|
|
|
9810 |
ld_shlibs=no
|
6435 |
;;
|
9811 |
;;
|
6436 |
esac
|
9812 |
esac
|
6437 |
# FIXME: Relying on posixy $() will cause problems for
|
|
|
6438 |
# cross-compilation, but unfortunately the echo tests do not
|
|
|
6439 |
# yet detect zsh echo's removal of \ escapes. Also zsh mangles
|
|
|
6440 |
# `"' quotes if we put them in here... so don't!
|
|
|
6441 |
archive_cmds='$nonopt $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
|
|
|
6442 |
# We need to add '_' to the symbols in $export_symbols first
|
|
|
6443 |
#archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
|
|
|
6444 |
hardcode_direct=yes
|
|
|
6445 |
hardcode_shlibpath_var=no
|
|
|
6446 |
whole_archive_flag_spec='-all_load $convenience'
|
|
|
6447 |
;;
|
|
|
6448 |
|
9813 |
|
6449 |
freebsd1*)
|
9814 |
if test x$host_vendor = xsni; then
|
6450 |
ld_shlibs=no
|
|
|
6451 |
;;
|
|
|
6452 |
|
|
|
6453 |
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
|
|
|
6454 |
# support. Future versions do this automatically, but an explicit c++rt0.o
|
|
|
6455 |
# does not break anything, and helps significantly (at the cost of a little
|
|
|
6456 |
# extra space).
|
|
|
6457 |
freebsd2.2*)
|
|
|
6458 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
|
|
|
6459 |
hardcode_libdir_flag_spec='-R$libdir'
|
|
|
6460 |
hardcode_direct=yes
|
|
|
6461 |
hardcode_shlibpath_var=no
|
|
|
6462 |
;;
|
|
|
6463 |
|
|
|
6464 |
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
|
|
|
6465 |
freebsd2*)
|
|
|
6466 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
|
|
|
6467 |
hardcode_direct=yes
|
|
|
6468 |
hardcode_minus_L=yes
|
|
|
6469 |
hardcode_shlibpath_var=no
|
|
|
6470 |
;;
|
|
|
6471 |
|
|
|
6472 |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
|
|
|
6473 |
freebsd*)
|
|
|
6474 |
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
|
|
|
6475 |
hardcode_libdir_flag_spec='-R$libdir'
|
|
|
6476 |
hardcode_direct=yes
|
|
|
6477 |
hardcode_shlibpath_var=no
|
|
|
6478 |
;;
|
|
|
6479 |
|
|
|
6480 |
hpux9* | hpux10* | hpux11*)
|
|
|
6481 |
case $host_os in
|
|
|
6482 |
hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
|
|
|
6483 |
*) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
|
|
|
6484 |
esac
|
|
|
6485 |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
|
|
6486 |
hardcode_libdir_separator=:
|
|
|
6487 |
hardcode_direct=yes
|
|
|
6488 |
hardcode_minus_L=yes # Not in the search PATH, but as the default
|
|
|
6489 |
# location of the library.
|
|
|
6490 |
export_dynamic_flag_spec='${wl}-E'
|
|
|
6491 |
;;
|
|
|
6492 |
|
|
|
6493 |
irix5* | irix6* | nonstopux*)
|
|
|
6494 |
if test "$GCC" = yes; then
|
|
|
6495 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
|
|
|
6496 |
else
|
|
|
6497 |
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
|
|
|
6498 |
fi
|
|
|
6499 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
|
|
6500 |
hardcode_libdir_separator=:
|
|
|
6501 |
link_all_deplibs=yes
|
|
|
6502 |
;;
|
|
|
6503 |
|
|
|
6504 |
netbsd*)
|
|
|
6505 |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
|
|
6506 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
|
|
|
6507 |
else
|
|
|
6508 |
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
|
|
|
6509 |
fi
|
|
|
6510 |
hardcode_libdir_flag_spec='-R$libdir'
|
|
|
6511 |
hardcode_direct=yes
|
|
|
6512 |
hardcode_shlibpath_var=no
|
|
|
6513 |
;;
|
|
|
6514 |
|
|
|
6515 |
newsos6)
|
|
|
6516 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
|
|
6517 |
hardcode_direct=yes
|
|
|
6518 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
|
|
6519 |
hardcode_libdir_separator=:
|
|
|
6520 |
hardcode_shlibpath_var=no
|
|
|
6521 |
;;
|
|
|
6522 |
|
|
|
6523 |
openbsd*)
|
|
|
6524 |
hardcode_direct=yes
|
|
|
6525 |
hardcode_shlibpath_var=no
|
|
|
6526 |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
|
|
6527 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
|
|
|
6528 |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
|
|
6529 |
export_dynamic_flag_spec='${wl}-E'
|
|
|
6530 |
else
|
|
|
6531 |
case "$host_os" in
|
9815 |
case $host in
|
6532 |
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
|
9816 |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
|
6533 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
|
|
|
6534 |
hardcode_libdir_flag_spec='-R$libdir'
|
|
|
6535 |
;;
|
|
|
6536 |
*)
|
|
|
6537 |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
|
|
|
6538 |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
|
|
6539 |
;;
|
|
|
6540 |
esac
|
|
|
6541 |
fi
|
|
|
6542 |
;;
|
|
|
6543 |
|
|
|
6544 |
os2*)
|
|
|
6545 |
hardcode_libdir_flag_spec='-L$libdir'
|
|
|
6546 |
hardcode_minus_L=yes
|
|
|
6547 |
allow_undefined_flag=unsupported
|
|
|
6548 |
archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
|
|
|
6549 |
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
|
|
|
6550 |
;;
|
|
|
6551 |
|
|
|
6552 |
osf3*)
|
|
|
6553 |
if test "$GCC" = yes; then
|
|
|
6554 |
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
|
|
|
6555 |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
|
|
|
6556 |
else
|
|
|
6557 |
allow_undefined_flag=' -expect_unresolved \*'
|
|
|
6558 |
archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
|
|
|
6559 |
fi
|
|
|
6560 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
|
|
6561 |
hardcode_libdir_separator=:
|
|
|
6562 |
;;
|
|
|
6563 |
|
|
|
6564 |
osf4* | osf5*) # as osf3* with the addition of -msym flag
|
|
|
6565 |
if test "$GCC" = yes; then
|
|
|
6566 |
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
|
|
|
6567 |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
|
|
|
6568 |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
|
|
6569 |
else
|
|
|
6570 |
allow_undefined_flag=' -expect_unresolved \*'
|
|
|
6571 |
archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
|
|
|
6572 |
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
|
|
|
6573 |
$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
|
|
|
6574 |
|
|
|
6575 |
#Both c and cxx compiler support -rpath directly
|
|
|
6576 |
hardcode_libdir_flag_spec='-rpath $libdir'
|
|
|
6577 |
fi
|
|
|
6578 |
hardcode_libdir_separator=:
|
|
|
6579 |
;;
|
|
|
6580 |
|
|
|
6581 |
sco3.2v5*)
|
|
|
6582 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
|
|
6583 |
hardcode_shlibpath_var=no
|
|
|
6584 |
runpath_var=LD_RUN_PATH
|
|
|
6585 |
hardcode_runpath_var=yes
|
|
|
6586 |
export_dynamic_flag_spec='${wl}-Bexport'
|
9817 |
export_dynamic_flag_spec='${wl}-Blargedynsym'
|
6587 |
;;
|
|
|
6588 |
|
|
|
6589 |
solaris*)
|
|
|
6590 |
# gcc --version < 3.0 without binutils cannot create self contained
|
|
|
6591 |
# shared libraries reliably, requiring libgcc.a to resolve some of
|
|
|
6592 |
# the object symbols generated in some cases. Libraries that use
|
|
|
6593 |
# assert need libgcc.a to resolve __eprintf, for example. Linking
|
|
|
6594 |
# a copy of libgcc.a into every shared library to guarantee resolving
|
|
|
6595 |
# such symbols causes other problems: According to Tim Van Holder
|
|
|
6596 |
# <tim.van.holder@pandora.be>, C++ libraries end up with a separate
|
|
|
6597 |
# (to the application) exception stack for one thing.
|
|
|
6598 |
no_undefined_flag=' -z defs'
|
|
|
6599 |
if test "$GCC" = yes; then
|
|
|
6600 |
case `$CC --version 2>/dev/null` in
|
|
|
6601 |
[12].*)
|
|
|
6602 |
cat <<EOF 1>&2
|
|
|
6603 |
|
|
|
6604 |
*** Warning: Releases of GCC earlier than version 3.0 cannot reliably
|
|
|
6605 |
*** create self contained shared libraries on Solaris systems, without
|
|
|
6606 |
*** introducing a dependency on libgcc.a. Therefore, libtool is disabling
|
|
|
6607 |
*** -no-undefined support, which will at least allow you to build shared
|
|
|
6608 |
*** libraries. However, you may find that when you link such libraries
|
|
|
6609 |
*** into an application without using GCC, you have to manually add
|
|
|
6610 |
*** \`gcc --print-libgcc-file-name\` to the link command. We urge you to
|
|
|
6611 |
*** upgrade to a newer version of GCC. Another option is to rebuild your
|
|
|
6612 |
*** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
|
|
|
6613 |
|
|
|
6614 |
EOF
|
|
|
6615 |
no_undefined_flag=
|
|
|
6616 |
;;
|
9818 |
;;
|
6617 |
esac
|
9819 |
esac
|
6618 |
fi
|
9820 |
fi
|
6619 |
# $CC -shared without GNU ld will not create a library from C++
|
9821 |
fi
|
6620 |
# object files and a static libstdc++, better avoid it by now
|
9822 |
|
6621 |
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
9823 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
|
6622 |
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
|
9824 |
$as_echo "$ld_shlibs" >&6; }
|
6623 |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
|
9825 |
test "$ld_shlibs" = no && can_build_shared=no
|
6624 |
hardcode_libdir_flag_spec='-R$libdir'
|
9826 |
|
6625 |
hardcode_shlibpath_var=no
|
9827 |
with_gnu_ld=$with_gnu_ld
|
6626 |
case $host_os in
|
9828 |
|
6627 |
solaris2.[0-5] | solaris2.[0-5].*) ;;
|
9829 |
|
6628 |
*) # Supported since Solaris 2.6 (maybe 2.5.1?)
|
9830 |
|
6629 |
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
|
9831 |
|
|
|
9832 |
|
|
|
9833 |
|
|
|
9834 |
|
|
|
9835 |
|
|
|
9836 |
|
|
|
9837 |
|
|
|
9838 |
|
|
|
9839 |
|
|
|
9840 |
|
|
|
9841 |
|
|
|
9842 |
|
|
|
9843 |
#
|
|
|
9844 |
# Do we need to explicitly link libc?
|
|
|
9845 |
#
|
|
|
9846 |
case "x$archive_cmds_need_lc" in
|
|
|
9847 |
x|xyes)
|
|
|
9848 |
# Assume -lc should be added
|
|
|
9849 |
archive_cmds_need_lc=yes
|
|
|
9850 |
|
|
|
9851 |
if test "$enable_shared" = yes && test "$GCC" = yes; then
|
|
|
9852 |
case $archive_cmds in
|
|
|
9853 |
*'~'*)
|
|
|
9854 |
# FIXME: we may have to deal with multi-command sequences.
|
|
|
9855 |
;;
|
|
|
9856 |
'$CC '*)
|
|
|
9857 |
# Test whether the compiler implicitly links with -lc since on some
|
|
|
9858 |
# systems, -lgcc has to come before -lc. If gcc already passes -lc
|
|
|
9859 |
# to ld, don't add -lc before -lgcc.
|
|
|
9860 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
|
|
|
9861 |
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
|
|
|
9862 |
if ${lt_cv_archive_cmds_need_lc+:} false; then :
|
|
|
9863 |
$as_echo_n "(cached) " >&6
|
|
|
9864 |
else
|
|
|
9865 |
$RM conftest*
|
|
|
9866 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
|
|
9867 |
|
|
|
9868 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
|
|
9869 |
(eval $ac_compile) 2>&5
|
|
|
9870 |
ac_status=$?
|
|
|
9871 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
|
9872 |
test $ac_status = 0; } 2>conftest.err; then
|
|
|
9873 |
soname=conftest
|
|
|
9874 |
lib=conftest
|
|
|
9875 |
libobjs=conftest.$ac_objext
|
|
|
9876 |
deplibs=
|
|
|
9877 |
wl=$lt_prog_compiler_wl
|
|
|
9878 |
pic_flag=$lt_prog_compiler_pic
|
|
|
9879 |
compiler_flags=-v
|
|
|
9880 |
linker_flags=-v
|
|
|
9881 |
verstring=
|
|
|
9882 |
output_objdir=.
|
|
|
9883 |
libname=conftest
|
|
|
9884 |
lt_save_allow_undefined_flag=$allow_undefined_flag
|
|
|
9885 |
allow_undefined_flag=
|
|
|
9886 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
|
|
|
9887 |
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
|
|
|
9888 |
ac_status=$?
|
|
|
9889 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
|
9890 |
test $ac_status = 0; }
|
|
|
9891 |
then
|
|
|
9892 |
lt_cv_archive_cmds_need_lc=no
|
|
|
9893 |
else
|
|
|
9894 |
lt_cv_archive_cmds_need_lc=yes
|
|
|
9895 |
fi
|
|
|
9896 |
allow_undefined_flag=$lt_save_allow_undefined_flag
|
|
|
9897 |
else
|
|
|
9898 |
cat conftest.err 1>&5
|
|
|
9899 |
fi
|
|
|
9900 |
$RM conftest*
|
|
|
9901 |
|
|
|
9902 |
fi
|
|
|
9903 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
|
|
|
9904 |
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
|
|
|
9905 |
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
|
|
|
9906 |
;;
|
6630 |
esac
|
9907 |
esac
|
6631 |
link_all_deplibs=yes
|
9908 |
fi
|
|
|
9909 |
;;
|
|
|
9910 |
esac
|
|
|
9911 |
|
|
|
9912 |
|
|
|
9913 |
|
|
|
9914 |
|
|
|
9915 |
|
|
|
9916 |
|
|
|
9917 |
|
|
|
9918 |
|
|
|
9919 |
|
|
|
9920 |
|
|
|
9921 |
|
|
|
9922 |
|
|
|
9923 |
|
|
|
9924 |
|
|
|
9925 |
|
|
|
9926 |
|
|
|
9927 |
|
|
|
9928 |
|
|
|
9929 |
|
|
|
9930 |
|
|
|
9931 |
|
|
|
9932 |
|
|
|
9933 |
|
|
|
9934 |
|
|
|
9935 |
|
|
|
9936 |
|
|
|
9937 |
|
|
|
9938 |
|
|
|
9939 |
|
|
|
9940 |
|
|
|
9941 |
|
|
|
9942 |
|
|
|
9943 |
|
|
|
9944 |
|
|
|
9945 |
|
|
|
9946 |
|
|
|
9947 |
|
|
|
9948 |
|
|
|
9949 |
|
|
|
9950 |
|
|
|
9951 |
|
|
|
9952 |
|
|
|
9953 |
|
|
|
9954 |
|
|
|
9955 |
|
|
|
9956 |
|
|
|
9957 |
|
|
|
9958 |
|
|
|
9959 |
|
|
|
9960 |
|
|
|
9961 |
|
|
|
9962 |
|
|
|
9963 |
|
|
|
9964 |
|
|
|
9965 |
|
|
|
9966 |
|
|
|
9967 |
|
|
|
9968 |
|
|
|
9969 |
|
|
|
9970 |
|
|
|
9971 |
|
|
|
9972 |
|
|
|
9973 |
|
|
|
9974 |
|
|
|
9975 |
|
|
|
9976 |
|
|
|
9977 |
|
|
|
9978 |
|
|
|
9979 |
|
|
|
9980 |
|
|
|
9981 |
|
|
|
9982 |
|
|
|
9983 |
|
|
|
9984 |
|
|
|
9985 |
|
|
|
9986 |
|
|
|
9987 |
|
|
|
9988 |
|
|
|
9989 |
|
|
|
9990 |
|
|
|
9991 |
|
|
|
9992 |
|
|
|
9993 |
|
|
|
9994 |
|
|
|
9995 |
|
|
|
9996 |
|
|
|
9997 |
|
|
|
9998 |
|
|
|
9999 |
|
|
|
10000 |
|
|
|
10001 |
|
|
|
10002 |
|
|
|
10003 |
|
|
|
10004 |
|
|
|
10005 |
|
|
|
10006 |
|
|
|
10007 |
|
|
|
10008 |
|
|
|
10009 |
|
|
|
10010 |
|
|
|
10011 |
|
|
|
10012 |
|
|
|
10013 |
|
|
|
10014 |
|
|
|
10015 |
|
|
|
10016 |
|
|
|
10017 |
|
|
|
10018 |
|
|
|
10019 |
|
|
|
10020 |
|
|
|
10021 |
|
|
|
10022 |
|
|
|
10023 |
|
|
|
10024 |
|
|
|
10025 |
|
|
|
10026 |
|
|
|
10027 |
|
|
|
10028 |
|
|
|
10029 |
|
|
|
10030 |
|
|
|
10031 |
|
|
|
10032 |
|
|
|
10033 |
|
|
|
10034 |
|
|
|
10035 |
|
|
|
10036 |
|
|
|
10037 |
|
|
|
10038 |
|
|
|
10039 |
|
|
|
10040 |
|
|
|
10041 |
|
|
|
10042 |
|
|
|
10043 |
|
|
|
10044 |
|
|
|
10045 |
|
|
|
10046 |
|
|
|
10047 |
|
|
|
10048 |
|
|
|
10049 |
|
|
|
10050 |
|
|
|
10051 |
|
|
|
10052 |
|
|
|
10053 |
|
|
|
10054 |
|
|
|
10055 |
|
|
|
10056 |
|
|
|
10057 |
|
|
|
10058 |
|
|
|
10059 |
|
|
|
10060 |
|
|
|
10061 |
|
|
|
10062 |
|
|
|
10063 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
|
|
|
10064 |
$as_echo_n "checking dynamic linker characteristics... " >&6; }
|
|
|
10065 |
|
|
|
10066 |
if test "$GCC" = yes; then
|
|
|
10067 |
case $host_os in
|
|
|
10068 |
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
|
|
|
10069 |
*) lt_awk_arg="/^libraries:/" ;;
|
|
|
10070 |
esac
|
|
|
10071 |
case $host_os in
|
|
|
10072 |
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
|
|
|
10073 |
*) lt_sed_strip_eq="s,=/,/,g" ;;
|
|
|
10074 |
esac
|
|
|
10075 |
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
|
|
|
10076 |
case $lt_search_path_spec in
|
|
|
10077 |
*\;*)
|
|
|
10078 |
# if the path contains ";" then we assume it to be the separator
|
|
|
10079 |
# otherwise default to the standard path separator (i.e. ":") - it is
|
|
|
10080 |
# assumed that no part of a normal pathname contains ";" but that should
|
|
|
10081 |
# okay in the real world where ";" in dirpaths is itself problematic.
|
|
|
10082 |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
|
6632 |
;;
|
10083 |
;;
|
6633 |
|
|
|
6634 |
sunos4*)
|
|
|
6635 |
if test "x$host_vendor" = xsequent; then
|
|
|
6636 |
# Use $CC to link under sequent, because it throws in some extra .o
|
|
|
6637 |
# files that make .init and .fini sections work.
|
|
|
6638 |
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
|
|
|
6639 |
else
|
|
|
6640 |
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
|
|
|
6641 |
fi
|
|
|
6642 |
hardcode_libdir_flag_spec='-L$libdir'
|
|
|
6643 |
hardcode_direct=yes
|
|
|
6644 |
hardcode_minus_L=yes
|
|
|
6645 |
hardcode_shlibpath_var=no
|
|
|
6646 |
;;
|
|
|
6647 |
|
|
|
6648 |
sysv4)
|
|
|
6649 |
case $host_vendor in
|
|
|
6650 |
sni)
|
|
|
6651 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
|
|
6652 |
hardcode_direct=yes # is this really true???
|
|
|
6653 |
;;
|
|
|
6654 |
siemens)
|
|
|
6655 |
## LD is ld it makes a PLAMLIB
|
|
|
6656 |
## CC just makes a GrossModule.
|
|
|
6657 |
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
|
|
|
6658 |
reload_cmds='$CC -r -o $output$reload_objs'
|
|
|
6659 |
hardcode_direct=no
|
|
|
6660 |
;;
|
|
|
6661 |
motorola)
|
|
|
6662 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
|
|
6663 |
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
|
|
|
6664 |
;;
|
|
|
6665 |
esac
|
|
|
6666 |
runpath_var='LD_RUN_PATH'
|
|
|
6667 |
hardcode_shlibpath_var=no
|
|
|
6668 |
;;
|
|
|
6669 |
|
|
|
6670 |
sysv4.3*)
|
|
|
6671 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
|
|
6672 |
hardcode_shlibpath_var=no
|
|
|
6673 |
export_dynamic_flag_spec='-Bexport'
|
|
|
6674 |
;;
|
|
|
6675 |
|
|
|
6676 |
sysv5*)
|
|
|
6677 |
no_undefined_flag=' -z text'
|
|
|
6678 |
# $CC -shared without GNU ld will not create a library from C++
|
|
|
6679 |
# object files and a static libstdc++, better avoid it by now
|
|
|
6680 |
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
|
|
6681 |
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
|
|
|
6682 |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
|
|
|
6683 |
hardcode_libdir_flag_spec=
|
|
|
6684 |
hardcode_shlibpath_var=no
|
|
|
6685 |
runpath_var='LD_RUN_PATH'
|
|
|
6686 |
;;
|
|
|
6687 |
|
|
|
6688 |
uts4*)
|
|
|
6689 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
|
|
6690 |
hardcode_libdir_flag_spec='-L$libdir'
|
|
|
6691 |
hardcode_shlibpath_var=no
|
|
|
6692 |
;;
|
|
|
6693 |
|
|
|
6694 |
dgux*)
|
|
|
6695 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
|
|
6696 |
hardcode_libdir_flag_spec='-L$libdir'
|
|
|
6697 |
hardcode_shlibpath_var=no
|
|
|
6698 |
;;
|
|
|
6699 |
|
|
|
6700 |
sysv4*MP*)
|
|
|
6701 |
if test -d /usr/nec; then
|
|
|
6702 |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
|
|
6703 |
hardcode_shlibpath_var=no
|
|
|
6704 |
runpath_var=LD_RUN_PATH
|
|
|
6705 |
hardcode_runpath_var=yes
|
|
|
6706 |
ld_shlibs=yes
|
|
|
6707 |
fi
|
|
|
6708 |
;;
|
|
|
6709 |
|
|
|
6710 |
sysv4.2uw2*)
|
|
|
6711 |
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
|
|
|
6712 |
hardcode_direct=yes
|
|
|
6713 |
hardcode_minus_L=no
|
|
|
6714 |
hardcode_shlibpath_var=no
|
|
|
6715 |
hardcode_runpath_var=yes
|
|
|
6716 |
runpath_var=LD_RUN_PATH
|
|
|
6717 |
;;
|
|
|
6718 |
|
|
|
6719 |
sysv5uw7* | unixware7*)
|
|
|
6720 |
no_undefined_flag='${wl}-z ${wl}text'
|
|
|
6721 |
if test "$GCC" = yes; then
|
|
|
6722 |
archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
|
|
6723 |
else
|
|
|
6724 |
archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
|
|
6725 |
fi
|
|
|
6726 |
runpath_var='LD_RUN_PATH'
|
|
|
6727 |
hardcode_shlibpath_var=no
|
|
|
6728 |
;;
|
|
|
6729 |
|
|
|
6730 |
*)
|
10084 |
*)
|
6731 |
ld_shlibs=no
|
10085 |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
|
6732 |
;;
|
10086 |
;;
|
6733 |
esac
|
10087 |
esac
|
6734 |
fi
|
10088 |
# Ok, now we have the path, separated by spaces, we can step through it
|
6735 |
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
|
10089 |
# and add multilib dir if necessary.
|
6736 |
echo "${ECHO_T}$ld_shlibs" >&6; }
|
10090 |
lt_tmp_lt_search_path_spec=
|
6737 |
test "$ld_shlibs" = no && can_build_shared=no
|
10091 |
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
|
6738 |
|
10092 |
for lt_sys_path in $lt_search_path_spec; do
|
6739 |
# Check hardcoding attributes.
|
10093 |
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
|
6740 |
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
|
10094 |
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
|
6741 |
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
|
|
|
6742 |
hardcode_action=
|
|
|
6743 |
if test -n "$hardcode_libdir_flag_spec" || \
|
|
|
6744 |
test -n "$runpath_var"; then
|
|
|
6745 |
|
|
|
6746 |
# We can hardcode non-existant directories.
|
|
|
6747 |
if test "$hardcode_direct" != no &&
|
|
|
6748 |
# If the only mechanism to avoid hardcoding is shlibpath_var, we
|
|
|
6749 |
# have to relink, otherwise we might link with an installed library
|
|
|
6750 |
# when we should be linking with a yet-to-be-installed one
|
|
|
6751 |
## test "$hardcode_shlibpath_var" != no &&
|
|
|
6752 |
test "$hardcode_minus_L" != no; then
|
|
|
6753 |
# Linking always hardcodes the temporary library directory.
|
|
|
6754 |
hardcode_action=relink
|
|
|
6755 |
else
|
10095 |
else
|
6756 |
# We can link without hardcoding, and we can hardcode nonexisting dirs.
|
10096 |
test -d "$lt_sys_path" && \
|
6757 |
hardcode_action=immediate
|
10097 |
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
|
6758 |
fi
|
10098 |
fi
|
|
|
10099 |
done
|
|
|
10100 |
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
|
|
|
10101 |
BEGIN {RS=" "; FS="/|\n";} {
|
|
|
10102 |
lt_foo="";
|
|
|
10103 |
lt_count=0;
|
|
|
10104 |
for (lt_i = NF; lt_i > 0; lt_i--) {
|
|
|
10105 |
if ($lt_i != "" && $lt_i != ".") {
|
|
|
10106 |
if ($lt_i == "..") {
|
|
|
10107 |
lt_count++;
|
|
|
10108 |
} else {
|
|
|
10109 |
if (lt_count == 0) {
|
|
|
10110 |
lt_foo="/" $lt_i lt_foo;
|
|
|
10111 |
} else {
|
|
|
10112 |
lt_count--;
|
|
|
10113 |
}
|
|
|
10114 |
}
|
|
|
10115 |
}
|
|
|
10116 |
}
|
|
|
10117 |
if (lt_foo != "") { lt_freq[lt_foo]++; }
|
|
|
10118 |
if (lt_freq[lt_foo] == 1) { print lt_foo; }
|
|
|
10119 |
}'`
|
|
|
10120 |
# AWK program above erroneously prepends '/' to C:/dos/paths
|
|
|
10121 |
# for these hosts.
|
|
|
10122 |
case $host_os in
|
|
|
10123 |
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
|
|
|
10124 |
$SED 's,/\([A-Za-z]:\),\1,g'` ;;
|
|
|
10125 |
esac
|
|
|
10126 |
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
|
6759 |
else
|
10127 |
else
|
6760 |
# We cannot hardcode anything, or else we can only hardcode existing
|
10128 |
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
|
6761 |
# directories.
|
|
|
6762 |
hardcode_action=unsupported
|
|
|
6763 |
fi
|
10129 |
fi
|
6764 |
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
|
|
|
6765 |
echo "${ECHO_T}$hardcode_action" >&6; }
|
|
|
6766 |
|
|
|
6767 |
striplib=
|
|
|
6768 |
old_striplib=
|
|
|
6769 |
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
|
|
|
6770 |
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
|
|
|
6771 |
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
|
|
|
6772 |
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
|
|
|
6773 |
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
|
|
|
6774 |
{ echo "$as_me:$LINENO: result: yes" >&5
|
|
|
6775 |
echo "${ECHO_T}yes" >&6; }
|
|
|
6776 |
else
|
|
|
6777 |
{ echo "$as_me:$LINENO: result: no" >&5
|
|
|
6778 |
echo "${ECHO_T}no" >&6; }
|
|
|
6779 |
fi
|
|
|
6780 |
|
|
|
6781 |
reload_cmds='$LD$reload_flag -o $output$reload_objs'
|
|
|
6782 |
test -z "$deplibs_check_method" && deplibs_check_method=unknown
|
|
|
6783 |
|
|
|
6784 |
# PORTME Fill in your ld.so characteristics
|
|
|
6785 |
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
|
|
|
6786 |
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
|
|
|
6787 |
library_names_spec=
|
10130 |
library_names_spec=
|
6788 |
libname_spec='lib$name'
|
10131 |
libname_spec='lib$name'
|
6789 |
soname_spec=
|
10132 |
soname_spec=
|
|
|
10133 |
shrext_cmds=".so"
|
6790 |
postinstall_cmds=
|
10134 |
postinstall_cmds=
|
6791 |
postuninstall_cmds=
|
10135 |
postuninstall_cmds=
|
6792 |
finish_cmds=
|
10136 |
finish_cmds=
|
6793 |
finish_eval=
|
10137 |
finish_eval=
|
6794 |
shlibpath_var=
|
10138 |
shlibpath_var=
|
6795 |
shlibpath_overrides_runpath=unknown
|
10139 |
shlibpath_overrides_runpath=unknown
|
6796 |
version_type=none
|
10140 |
version_type=none
|
6797 |
dynamic_linker="$host_os ld.so"
|
10141 |
dynamic_linker="$host_os ld.so"
|
6798 |
sys_lib_dlsearch_path_spec="/lib /usr/lib"
|
10142 |
sys_lib_dlsearch_path_spec="/lib /usr/lib"
|
6799 |
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
|
10143 |
need_lib_prefix=unknown
|
|
|
10144 |
hardcode_into_libs=no
|
|
|
10145 |
|
|
|
10146 |
# when you set need_version to no, make sure it does not cause -set_version
|
|
|
10147 |
# flags to be left without arguments
|
|
|
10148 |
need_version=unknown
|
6800 |
|
10149 |
|
6801 |
case $host_os in
|
10150 |
case $host_os in
|
6802 |
aix3*)
|
10151 |
aix3*)
|
6803 |
version_type=linux
|
10152 |
version_type=linux # correct to gnu/linux during the next big refactor
|
6804 |
library_names_spec='${libname}${release}.so$versuffix $libname.a'
|
10153 |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
|
6805 |
shlibpath_var=LIBPATH
|
10154 |
shlibpath_var=LIBPATH
|
6806 |
|
10155 |
|
6807 |
# AIX has no versioning support, so we append a major version to the name.
|
10156 |
# AIX 3 has no versioning support, so we append a major version to the name.
|
6808 |
soname_spec='${libname}${release}.so$major'
|
10157 |
soname_spec='${libname}${release}${shared_ext}$major'
|
6809 |
;;
|
10158 |
;;
|
6810 |
|
10159 |
|
6811 |
aix4* | aix5*)
|
10160 |
aix[4-9]*)
|
6812 |
version_type=linux
|
10161 |
version_type=linux # correct to gnu/linux during the next big refactor
|
|
|
10162 |
need_lib_prefix=no
|
|
|
10163 |
need_version=no
|
|
|
10164 |
hardcode_into_libs=yes
|
6813 |
if test "$host_cpu" = ia64; then
|
10165 |
if test "$host_cpu" = ia64; then
|
6814 |
# AIX 5 supports IA64
|
10166 |
# AIX 5 supports IA64
|
6815 |
library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
|
10167 |
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
|
6816 |
shlibpath_var=LD_LIBRARY_PATH
|
10168 |
shlibpath_var=LD_LIBRARY_PATH
|
6817 |
else
|
10169 |
else
|
6818 |
# With GCC up to 2.95.x, collect2 would create an import file
|
10170 |
# With GCC up to 2.95.x, collect2 would create an import file
|
6819 |
# for dependence libraries. The import file would start with
|
10171 |
# for dependence libraries. The import file would start with
|
6820 |
# the line `#! .'. This would cause the generated library to
|
10172 |
# the line `#! .'. This would cause the generated library to
|
6821 |
# depend on `.', always an invalid library. This was fixed in
|
10173 |
# depend on `.', always an invalid library. This was fixed in
|
6822 |
# development snapshots of GCC prior to 3.0.
|
10174 |
# development snapshots of GCC prior to 3.0.
|
6823 |
case $host_os in
|
10175 |
case $host_os in
|
6824 |
aix4 | aix4.[01] | aix4.[01].*)
|
10176 |
aix4 | aix4.[01] | aix4.[01].*)
|
6825 |
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
|
10177 |
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
|
6826 |
echo ' yes '
|
10178 |
echo ' yes '
|
6827 |
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
|
10179 |
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
|
6828 |
:
|
10180 |
:
|
6829 |
else
|
10181 |
else
|
6830 |
can_build_shared=no
|
10182 |
can_build_shared=no
|
6831 |
fi
|
10183 |
fi
|
6832 |
;;
|
10184 |
;;
|
6833 |
esac
|
10185 |
esac
|
6834 |
# AIX (on Power*) has no versioning support, so currently we can
|
10186 |
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
|
6835 |
# not hardcode correct soname into executable. Probably we can
|
10187 |
# soname into executable. Probably we can add versioning support to
|
6836 |
# add versioning support to collect2, so additional links can
|
10188 |
# collect2, so additional links can be useful in future.
|
6837 |
# be useful in future.
|
|
|
6838 |
if test "$aix_use_runtimelinking" = yes; then
|
10189 |
if test "$aix_use_runtimelinking" = yes; then
|
6839 |
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
|
10190 |
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
|
6840 |
# instead of lib<name>.a to let people know that these are not
|
10191 |
# instead of lib<name>.a to let people know that these are not
|
6841 |
# typical AIX shared libraries.
|
10192 |
# typical AIX shared libraries.
|
6842 |
library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
|
10193 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
6843 |
else
|
10194 |
else
|
6844 |
# We preserve .a as extension for shared libraries through AIX4.2
|
10195 |
# We preserve .a as extension for shared libraries through AIX4.2
|
6845 |
# and later when we are not doing run time linking.
|
10196 |
# and later when we are not doing run time linking.
|
6846 |
library_names_spec='${libname}${release}.a $libname.a'
|
10197 |
library_names_spec='${libname}${release}.a $libname.a'
|
6847 |
soname_spec='${libname}${release}.so$major'
|
10198 |
soname_spec='${libname}${release}${shared_ext}$major'
|
6848 |
fi
|
10199 |
fi
|
6849 |
shlibpath_var=LIBPATH
|
10200 |
shlibpath_var=LIBPATH
|
6850 |
fi
|
10201 |
fi
|
6851 |
;;
|
10202 |
;;
|
6852 |
|
10203 |
|
6853 |
amigaos*)
|
10204 |
amigaos*)
|
|
|
10205 |
case $host_cpu in
|
|
|
10206 |
powerpc)
|
|
|
10207 |
# Since July 2007 AmigaOS4 officially supports .so libraries.
|
|
|
10208 |
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
|
|
|
10209 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
|
|
10210 |
;;
|
|
|
10211 |
m68k)
|
6854 |
library_names_spec='$libname.ixlibrary $libname.a'
|
10212 |
library_names_spec='$libname.ixlibrary $libname.a'
|
6855 |
# Create ${libname}_ixlibrary.a entries in /sys/libs.
|
10213 |
# Create ${libname}_ixlibrary.a entries in /sys/libs.
|
6856 |
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
|
10214 |
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
|
|
|
10215 |
;;
|
|
|
10216 |
esac
|
6857 |
;;
|
10217 |
;;
|
6858 |
|
10218 |
|
6859 |
beos*)
|
10219 |
beos*)
|
6860 |
library_names_spec='${libname}.so'
|
10220 |
library_names_spec='${libname}${shared_ext}'
|
6861 |
dynamic_linker="$host_os ld.so"
|
10221 |
dynamic_linker="$host_os ld.so"
|
6862 |
shlibpath_var=LIBRARY_PATH
|
10222 |
shlibpath_var=LIBRARY_PATH
|
6863 |
;;
|
10223 |
;;
|
6864 |
|
10224 |
|
6865 |
bsdi4*)
|
10225 |
bsdi[45]*)
|
6866 |
version_type=linux
|
10226 |
version_type=linux # correct to gnu/linux during the next big refactor
|
6867 |
need_version=no
|
10227 |
need_version=no
|
6868 |
library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
|
10228 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
6869 |
soname_spec='${libname}${release}.so$major'
|
10229 |
soname_spec='${libname}${release}${shared_ext}$major'
|
6870 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
|
10230 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
|
6871 |
shlibpath_var=LD_LIBRARY_PATH
|
10231 |
shlibpath_var=LD_LIBRARY_PATH
|
6872 |
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
|
10232 |
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
|
6873 |
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
|
10233 |
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
|
6874 |
export_dynamic_flag_spec=-rdynamic
|
|
|
6875 |
# the default ld.so.conf also contains /usr/contrib/lib and
|
10234 |
# the default ld.so.conf also contains /usr/contrib/lib and
|
6876 |
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
|
10235 |
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
|
6877 |
# libtool to hard-code these into programs
|
10236 |
# libtool to hard-code these into programs
|
6878 |
;;
|
10237 |
;;
|
6879 |
|
10238 |
|
6880 |
cygwin* | mingw* | pw32*)
|
10239 |
cygwin* | mingw* | pw32* | cegcc*)
|
6881 |
version_type=windows
|
10240 |
version_type=windows
|
|
|
10241 |
shrext_cmds=".dll"
|
6882 |
need_version=no
|
10242 |
need_version=no
|
6883 |
need_lib_prefix=no
|
10243 |
need_lib_prefix=no
|
6884 |
case $GCC,$host_os in
|
10244 |
|
|
|
10245 |
case $GCC,$cc_basename in
|
6885 |
yes,cygwin*)
|
10246 |
yes,*)
|
|
|
10247 |
# gcc
|
6886 |
library_names_spec='$libname.dll.a'
|
10248 |
library_names_spec='$libname.dll.a'
|
6887 |
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
|
10249 |
# DLL is installed to $(libdir)/../bin by postinstall_cmds
|
6888 |
postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
|
10250 |
postinstall_cmds='base_file=`basename \${file}`~
|
|
|
10251 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
|
6889 |
dldir=$destdir/`dirname \$dlpath`~
|
10252 |
dldir=$destdir/`dirname \$dlpath`~
|
6890 |
test -d \$dldir || mkdir -p \$dldir~
|
10253 |
test -d \$dldir || mkdir -p \$dldir~
|
6891 |
$install_prog .libs/$dlname \$dldir/$dlname'
|
10254 |
$install_prog $dir/$dlname \$dldir/$dlname~
|
|
|
10255 |
chmod a+x \$dldir/$dlname~
|
|
|
10256 |
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
|
|
|
10257 |
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
|
|
|
10258 |
fi'
|
6892 |
postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
|
10259 |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
|
6893 |
dlpath=$dir/\$dldll~
|
10260 |
dlpath=$dir/\$dldll~
|
6894 |
$rm \$dlpath'
|
10261 |
$RM \$dlpath'
|
|
|
10262 |
shlibpath_overrides_runpath=yes
|
|
|
10263 |
|
|
|
10264 |
case $host_os in
|
|
|
10265 |
cygwin*)
|
|
|
10266 |
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
|
|
|
10267 |
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
|
|
|
10268 |
|
|
|
10269 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
|
|
|
10270 |
;;
|
|
|
10271 |
mingw* | cegcc*)
|
|
|
10272 |
# MinGW DLLs use traditional 'lib' prefix
|
|
|
10273 |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
|
|
|
10274 |
;;
|
|
|
10275 |
pw32*)
|
|
|
10276 |
# pw32 DLLs use 'pw' prefix rather than 'lib'
|
|
|
10277 |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
|
|
|
10278 |
;;
|
|
|
10279 |
esac
|
|
|
10280 |
dynamic_linker='Win32 ld.exe'
|
6895 |
;;
|
10281 |
;;
|
6896 |
yes,mingw*)
|
10282 |
|
|
|
10283 |
*,cl*)
|
|
|
10284 |
# Native MSVC
|
|
|
10285 |
libname_spec='$name'
|
6897 |
library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
|
10286 |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
|
6898 |
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"`
|
10287 |
library_names_spec='${libname}.dll.lib'
|
|
|
10288 |
|
|
|
10289 |
case $build_os in
|
|
|
10290 |
mingw*)
|
|
|
10291 |
sys_lib_search_path_spec=
|
|
|
10292 |
lt_save_ifs=$IFS
|
|
|
10293 |
IFS=';'
|
|
|
10294 |
for lt_path in $LIB
|
|
|
10295 |
do
|
|
|
10296 |
IFS=$lt_save_ifs
|
|
|
10297 |
# Let DOS variable expansion print the short 8.3 style file name.
|
|
|
10298 |
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
|
|
|
10299 |
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
|
|
|
10300 |
done
|
|
|
10301 |
IFS=$lt_save_ifs
|
|
|
10302 |
# Convert to MSYS style.
|
|
|
10303 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
|
|
|
10304 |
;;
|
|
|
10305 |
cygwin*)
|
|
|
10306 |
# Convert to unix form, then to dos form, then back to unix form
|
|
|
10307 |
# but this time dos style (no spaces!) so that the unix form looks
|
|
|
10308 |
# like /cygdrive/c/PROGRA~1:/cygdr...
|
|
|
10309 |
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
|
|
|
10310 |
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
|
|
|
10311 |
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
|
|
|
10312 |
;;
|
|
|
10313 |
*)
|
|
|
10314 |
sys_lib_search_path_spec="$LIB"
|
|
|
10315 |
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
|
|
|
10316 |
# It is most probably a Windows format PATH.
|
|
|
10317 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
|
|
|
10318 |
else
|
|
|
10319 |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
|
|
|
10320 |
fi
|
|
|
10321 |
# FIXME: find the short name or the path components, as spaces are
|
|
|
10322 |
# common. (e.g. "Program Files" -> "PROGRA~1")
|
|
|
10323 |
;;
|
|
|
10324 |
esac
|
|
|
10325 |
|
|
|
10326 |
# DLL is installed to $(libdir)/../bin by postinstall_cmds
|
|
|
10327 |
postinstall_cmds='base_file=`basename \${file}`~
|
|
|
10328 |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
|
|
|
10329 |
dldir=$destdir/`dirname \$dlpath`~
|
|
|
10330 |
test -d \$dldir || mkdir -p \$dldir~
|
|
|
10331 |
$install_prog $dir/$dlname \$dldir/$dlname'
|
|
|
10332 |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
|
|
|
10333 |
dlpath=$dir/\$dldll~
|
|
|
10334 |
$RM \$dlpath'
|
|
|
10335 |
shlibpath_overrides_runpath=yes
|
|
|
10336 |
dynamic_linker='Win32 link.exe'
|
6899 |
;;
|
10337 |
;;
|
6900 |
yes,pw32*)
|
10338 |
|
6901 |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
|
|
|
6902 |
;;
|
|
|
6903 |
*)
|
10339 |
*)
|
|
|
10340 |
# Assume MSVC wrapper
|
6904 |
library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
|
10341 |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
|
|
|
10342 |
dynamic_linker='Win32 ld.exe'
|
6905 |
;;
|
10343 |
;;
|
6906 |
esac
|
10344 |
esac
|
6907 |
dynamic_linker='Win32 ld.exe'
|
|
|
6908 |
# FIXME: first we should search . and the directory the executable is in
|
10345 |
# FIXME: first we should search . and the directory the executable is in
|
6909 |
shlibpath_var=PATH
|
10346 |
shlibpath_var=PATH
|
6910 |
;;
|
10347 |
;;
|
6911 |
|
10348 |
|
6912 |
darwin* | rhapsody*)
|
10349 |
darwin* | rhapsody*)
|
6913 |
dynamic_linker="$host_os dyld"
|
10350 |
dynamic_linker="$host_os dyld"
|
6914 |
version_type=darwin
|
10351 |
version_type=darwin
|
6915 |
need_lib_prefix=no
|
10352 |
need_lib_prefix=no
|
6916 |
need_version=no
|
10353 |
need_version=no
|
6917 |
# FIXME: Relying on posixy $() will cause problems for
|
10354 |
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
|
6918 |
# cross-compilation, but unfortunately the echo tests do not
|
10355 |
soname_spec='${libname}${release}${major}$shared_ext'
|
6919 |
# yet detect zsh echo's removal of \ escapes.
|
|
|
6920 |
library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
|
|
|
6921 |
soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
|
|
|
6922 |
shlibpath_overrides_runpath=yes
|
10356 |
shlibpath_overrides_runpath=yes
|
6923 |
shlibpath_var=DYLD_LIBRARY_PATH
|
10357 |
shlibpath_var=DYLD_LIBRARY_PATH
|
|
|
10358 |
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
|
|
|
10359 |
|
|
|
10360 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
|
|
|
10361 |
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
|
6924 |
;;
|
10362 |
;;
|
6925 |
|
10363 |
|
6926 |
freebsd1*)
|
10364 |
dgux*)
|
6927 |
dynamic_linker=no
|
10365 |
version_type=linux # correct to gnu/linux during the next big refactor
|
|
|
10366 |
need_lib_prefix=no
|
|
|
10367 |
need_version=no
|
|
|
10368 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
|
|
|
10369 |
soname_spec='${libname}${release}${shared_ext}$major'
|
|
|
10370 |
shlibpath_var=LD_LIBRARY_PATH
|
6928 |
;;
|
10371 |
;;
|
6929 |
|
10372 |
|
6930 |
freebsd*)
|
10373 |
freebsd* | dragonfly*)
|
6931 |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
|
10374 |
# DragonFly does not have aout. When/if they implement a new
|
|
|
10375 |
# versioning mechanism, adjust this.
|
|
|
10376 |
if test -x /usr/bin/objformat; then
|
|
|
10377 |
objformat=`/usr/bin/objformat`
|
|
|
10378 |
else
|
|
|
10379 |
case $host_os in
|
|
|
10380 |
freebsd[23].*) objformat=aout ;;
|
|
|
10381 |
*) objformat=elf ;;
|
|
|
10382 |
esac
|
|
|
10383 |
fi
|
6932 |
version_type=freebsd-$objformat
|
10384 |
version_type=freebsd-$objformat
|
6933 |
case $version_type in
|
10385 |
case $version_type in
|
6934 |
freebsd-elf*)
|
10386 |
freebsd-elf*)
|
6935 |
library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
|
10387 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
|
6936 |
need_version=no
|
10388 |
need_version=no
|
6937 |
need_lib_prefix=no
|
10389 |
need_lib_prefix=no
|
6938 |
;;
|
10390 |
;;
|
6939 |
freebsd-*)
|
10391 |
freebsd-*)
|
6940 |
library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
|
10392 |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
|
6941 |
need_version=yes
|
10393 |
need_version=yes
|
6942 |
;;
|
10394 |
;;
|
6943 |
esac
|
10395 |
esac
|
6944 |
shlibpath_var=LD_LIBRARY_PATH
|
10396 |
shlibpath_var=LD_LIBRARY_PATH
|
6945 |
case $host_os in
|
10397 |
case $host_os in
|
6946 |
freebsd2*)
|
10398 |
freebsd2.*)
|
6947 |
shlibpath_overrides_runpath=yes
|
10399 |
shlibpath_overrides_runpath=yes
|
6948 |
;;
|
10400 |
;;
|
6949 |
*)
|
10401 |
freebsd3.[01]* | freebsdelf3.[01]*)
|
|
|
10402 |
shlibpath_overrides_runpath=yes
|
|
|
10403 |
hardcode_into_libs=yes
|
|
|
10404 |
;;
|
|
|
10405 |
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
|
|
|
10406 |
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
|
6950 |
shlibpath_overrides_runpath=no
|
10407 |
shlibpath_overrides_runpath=no
|
|
|
10408 |
hardcode_into_libs=yes
|
|
|
10409 |
;;
|
|
|
10410 |
*) # from 4.6 on, and DragonFly
|
|
|
10411 |
shlibpath_overrides_runpath=yes
|
6951 |
hardcode_into_libs=yes
|
10412 |
hardcode_into_libs=yes
|
6952 |
;;
|
10413 |
;;
|
6953 |
esac
|
10414 |
esac
|
6954 |
;;
|
10415 |
;;
|
6955 |
|
10416 |
|
6956 |
gnu*)
|
10417 |
gnu*)
|
6957 |
version_type=linux
|
10418 |
version_type=linux # correct to gnu/linux during the next big refactor
|
6958 |
need_lib_prefix=no
|
10419 |
need_lib_prefix=no
|
6959 |
need_version=no
|
10420 |
need_version=no
|
6960 |
library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
|
10421 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
|
6961 |
soname_spec='${libname}${release}.so$major'
|
10422 |
soname_spec='${libname}${release}${shared_ext}$major'
|
6962 |
shlibpath_var=LD_LIBRARY_PATH
|
10423 |
shlibpath_var=LD_LIBRARY_PATH
|
|
|
10424 |
shlibpath_overrides_runpath=no
|
|
|
10425 |
hardcode_into_libs=yes
|
|
|
10426 |
;;
|
|
|
10427 |
|
|
|
10428 |
haiku*)
|
|
|
10429 |
version_type=linux # correct to gnu/linux during the next big refactor
|
|
|
10430 |
need_lib_prefix=no
|
|
|
10431 |
need_version=no
|
|
|
10432 |
dynamic_linker="$host_os runtime_loader"
|
|
|
10433 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
|
|
|
10434 |
soname_spec='${libname}${release}${shared_ext}$major'
|
|
|
10435 |
shlibpath_var=LIBRARY_PATH
|
|
|
10436 |
shlibpath_overrides_runpath=yes
|
|
|
10437 |
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
|
6963 |
hardcode_into_libs=yes
|
10438 |
hardcode_into_libs=yes
|
6964 |
;;
|
10439 |
;;
|
6965 |
|
10440 |
|
6966 |
hpux9* | hpux10* | hpux11*)
|
10441 |
hpux9* | hpux10* | hpux11*)
|
6967 |
# Give a soname corresponding to the major version so that dld.sl refuses to
|
10442 |
# Give a soname corresponding to the major version so that dld.sl refuses to
|
6968 |
# link against other versions.
|
10443 |
# link against other versions.
|
6969 |
dynamic_linker="$host_os dld.sl"
|
|
|
6970 |
version_type=sunos
|
10444 |
version_type=sunos
|
6971 |
need_lib_prefix=no
|
10445 |
need_lib_prefix=no
|
6972 |
need_version=no
|
10446 |
need_version=no
|
|
|
10447 |
case $host_cpu in
|
|
|
10448 |
ia64*)
|
|
|
10449 |
shrext_cmds='.so'
|
|
|
10450 |
hardcode_into_libs=yes
|
|
|
10451 |
dynamic_linker="$host_os dld.so"
|
|
|
10452 |
shlibpath_var=LD_LIBRARY_PATH
|
|
|
10453 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
|
|
|
10454 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
|
|
10455 |
soname_spec='${libname}${release}${shared_ext}$major'
|
|
|
10456 |
if test "X$HPUX_IA64_MODE" = X32; then
|
|
|
10457 |
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
|
|
|
10458 |
else
|
|
|
10459 |
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
|
|
|
10460 |
fi
|
|
|
10461 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
|
|
|
10462 |
;;
|
|
|
10463 |
hppa*64*)
|
|
|
10464 |
shrext_cmds='.sl'
|
|
|
10465 |
hardcode_into_libs=yes
|
|
|
10466 |
dynamic_linker="$host_os dld.sl"
|
|
|
10467 |
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
|
|
|
10468 |
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
|
|
|
10469 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
|
|
10470 |
soname_spec='${libname}${release}${shared_ext}$major'
|
|
|
10471 |
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
|
|
|
10472 |
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
|
|
|
10473 |
;;
|
|
|
10474 |
*)
|
|
|
10475 |
shrext_cmds='.sl'
|
|
|
10476 |
dynamic_linker="$host_os dld.sl"
|
6973 |
shlibpath_var=SHLIB_PATH
|
10477 |
shlibpath_var=SHLIB_PATH
|
6974 |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
|
10478 |
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
|
6975 |
library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
|
10479 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
6976 |
soname_spec='${libname}${release}.sl$major'
|
10480 |
soname_spec='${libname}${release}${shared_ext}$major'
|
|
|
10481 |
;;
|
|
|
10482 |
esac
|
6977 |
# HP-UX runs *really* slowly unless shared libraries are mode 555.
|
10483 |
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
|
6978 |
postinstall_cmds='chmod 555 $lib'
|
10484 |
postinstall_cmds='chmod 555 $lib'
|
|
|
10485 |
# or fails outright, so override atomically:
|
|
|
10486 |
install_override_mode=555
|
|
|
10487 |
;;
|
|
|
10488 |
|
|
|
10489 |
interix[3-9]*)
|
|
|
10490 |
version_type=linux # correct to gnu/linux during the next big refactor
|
|
|
10491 |
need_lib_prefix=no
|
|
|
10492 |
need_version=no
|
|
|
10493 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
|
10494 |
soname_spec='${libname}${release}${shared_ext}$major'
|
|
|
10495 |
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
|
|
|
10496 |
shlibpath_var=LD_LIBRARY_PATH
|
|
|
10497 |
shlibpath_overrides_runpath=no
|
|
|
10498 |
hardcode_into_libs=yes
|
6979 |
;;
|
10499 |
;;
|
6980 |
|
10500 |
|
6981 |
irix5* | irix6* | nonstopux*)
|
10501 |
irix5* | irix6* | nonstopux*)
|
6982 |
case $host_os in
|
10502 |
case $host_os in
|
6983 |
nonstopux*) version_type=nonstopux ;;
|
10503 |
nonstopux*) version_type=nonstopux ;;
|
6984 |
*) version_type=irix ;;
|
10504 |
*)
|
|
|
10505 |
if test "$lt_cv_prog_gnu_ld" = yes; then
|
|
|
10506 |
version_type=linux # correct to gnu/linux during the next big refactor
|
|
|
10507 |
else
|
|
|
10508 |
version_type=irix
|
|
|
10509 |
fi ;;
|
6985 |
esac
|
10510 |
esac
|
6986 |
need_lib_prefix=no
|
10511 |
need_lib_prefix=no
|
6987 |
need_version=no
|
10512 |
need_version=no
|
6988 |
soname_spec='${libname}${release}.so$major'
|
10513 |
soname_spec='${libname}${release}${shared_ext}$major'
|
6989 |
library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
|
10514 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
|
6990 |
case $host_os in
|
10515 |
case $host_os in
|
6991 |
irix5* | nonstopux*)
|
10516 |
irix5* | nonstopux*)
|
6992 |
libsuff= shlibsuff=
|
10517 |
libsuff= shlibsuff=
|
6993 |
;;
|
10518 |
;;
|
6994 |
*)
|
10519 |
*)
|
6995 |
case $LD in # libtool.m4 will add one of these switches to LD
|
10520 |
case $LD in # libtool.m4 will add one of these switches to LD
|
|
|
10521 |
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
|
6996 |
*-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
|
10522 |
libsuff= shlibsuff= libmagic=32-bit;;
|
|
|
10523 |
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
|
6997 |
*-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
|
10524 |
libsuff=32 shlibsuff=N32 libmagic=N32;;
|
|
|
10525 |
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
|
6998 |
*-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
|
10526 |
libsuff=64 shlibsuff=64 libmagic=64-bit;;
|
6999 |
*) libsuff= shlibsuff= libmagic=never-match;;
|
10527 |
*) libsuff= shlibsuff= libmagic=never-match;;
|
7000 |
esac
|
10528 |
esac
|
7001 |
;;
|
10529 |
;;
|
7002 |
esac
|
10530 |
esac
|
7003 |
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
|
10531 |
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
|
7004 |
shlibpath_overrides_runpath=no
|
10532 |
shlibpath_overrides_runpath=no
|
7005 |
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
|
10533 |
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
|
7006 |
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
|
10534 |
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
|
|
|
10535 |
hardcode_into_libs=yes
|
7007 |
;;
|
10536 |
;;
|
7008 |
|
10537 |
|
7009 |
# No shared lib support for Linux oldld, aout, or coff.
|
10538 |
# No shared lib support for Linux oldld, aout, or coff.
|
7010 |
linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
|
10539 |
linux*oldld* | linux*aout* | linux*coff*)
|
7011 |
dynamic_linker=no
|
10540 |
dynamic_linker=no
|
7012 |
;;
|
10541 |
;;
|
7013 |
|
10542 |
|
7014 |
# This must be Linux ELF.
|
10543 |
# This must be glibc/ELF.
|
7015 |
linux-gnu*)
|
10544 |
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
7016 |
version_type=linux
|
10545 |
version_type=linux # correct to gnu/linux during the next big refactor
|
7017 |
need_lib_prefix=no
|
10546 |
need_lib_prefix=no
|
7018 |
need_version=no
|
10547 |
need_version=no
|
7019 |
library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
|
10548 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
7020 |
soname_spec='${libname}${release}.so$major'
|
10549 |
soname_spec='${libname}${release}${shared_ext}$major'
|
7021 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
|
10550 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
|
7022 |
shlibpath_var=LD_LIBRARY_PATH
|
10551 |
shlibpath_var=LD_LIBRARY_PATH
|
7023 |
shlibpath_overrides_runpath=no
|
10552 |
shlibpath_overrides_runpath=no
|
|
|
10553 |
|
|
|
10554 |
# Some binutils ld are patched to set DT_RUNPATH
|
|
|
10555 |
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
|
|
|
10556 |
$as_echo_n "(cached) " >&6
|
|
|
10557 |
else
|
|
|
10558 |
lt_cv_shlibpath_overrides_runpath=no
|
|
|
10559 |
save_LDFLAGS=$LDFLAGS
|
|
|
10560 |
save_libdir=$libdir
|
|
|
10561 |
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
|
|
|
10562 |
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
|
|
|
10563 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
10564 |
/* end confdefs.h. */
|
|
|
10565 |
|
|
|
10566 |
int
|
|
|
10567 |
main ()
|
|
|
10568 |
{
|
|
|
10569 |
|
|
|
10570 |
;
|
|
|
10571 |
return 0;
|
|
|
10572 |
}
|
|
|
10573 |
_ACEOF
|
|
|
10574 |
if ac_fn_c_try_link "$LINENO"; then :
|
|
|
10575 |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
|
|
|
10576 |
lt_cv_shlibpath_overrides_runpath=yes
|
|
|
10577 |
fi
|
|
|
10578 |
fi
|
|
|
10579 |
rm -f core conftest.err conftest.$ac_objext \
|
|
|
10580 |
conftest$ac_exeext conftest.$ac_ext
|
|
|
10581 |
LDFLAGS=$save_LDFLAGS
|
|
|
10582 |
libdir=$save_libdir
|
|
|
10583 |
|
|
|
10584 |
fi
|
|
|
10585 |
|
|
|
10586 |
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
|
|
|
10587 |
|
7024 |
# This implies no fast_install, which is unacceptable.
|
10588 |
# This implies no fast_install, which is unacceptable.
|
7025 |
# Some rework will be needed to allow for fast_install
|
10589 |
# Some rework will be needed to allow for fast_install
|
7026 |
# before this can be enabled.
|
10590 |
# before this can be enabled.
|
7027 |
hardcode_into_libs=yes
|
10591 |
hardcode_into_libs=yes
|
|
|
10592 |
|
|
|
10593 |
# Append ld.so.conf contents to the search path
|
|
|
10594 |
if test -f /etc/ld.so.conf; then
|
|
|
10595 |
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' ' '`
|
|
|
10596 |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
|
|
10597 |
fi
|
7028 |
|
10598 |
|
7029 |
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
10599 |
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
7030 |
# powerpc, because MkLinux only supported shared libraries with the
|
10600 |
# powerpc, because MkLinux only supported shared libraries with the
|
7031 |
# GNU dynamic linker. Since this was broken with cross compilers,
|
10601 |
# GNU dynamic linker. Since this was broken with cross compilers,
|
7032 |
# most powerpc-linux boxes support dynamic linking these days and
|
10602 |
# most powerpc-linux boxes support dynamic linking these days and
|
|
... |
|
... |
7037 |
|
10607 |
|
7038 |
netbsd*)
|
10608 |
netbsd*)
|
7039 |
version_type=sunos
|
10609 |
version_type=sunos
|
7040 |
need_lib_prefix=no
|
10610 |
need_lib_prefix=no
|
7041 |
need_version=no
|
10611 |
need_version=no
|
7042 |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
10612 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
7043 |
library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
|
10613 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
7044 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
10614 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
7045 |
dynamic_linker='NetBSD (a.out) ld.so'
|
10615 |
dynamic_linker='NetBSD (a.out) ld.so'
|
7046 |
else
|
10616 |
else
|
7047 |
library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
|
10617 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
7048 |
soname_spec='${libname}${release}.so$major'
|
10618 |
soname_spec='${libname}${release}${shared_ext}$major'
|
7049 |
dynamic_linker='NetBSD ld.elf_so'
|
10619 |
dynamic_linker='NetBSD ld.elf_so'
|
7050 |
fi
|
10620 |
fi
|
7051 |
shlibpath_var=LD_LIBRARY_PATH
|
10621 |
shlibpath_var=LD_LIBRARY_PATH
|
7052 |
shlibpath_overrides_runpath=yes
|
10622 |
shlibpath_overrides_runpath=yes
|
7053 |
hardcode_into_libs=yes
|
10623 |
hardcode_into_libs=yes
|
7054 |
;;
|
10624 |
;;
|
7055 |
|
10625 |
|
7056 |
newsos6)
|
10626 |
newsos6)
|
7057 |
version_type=linux
|
10627 |
version_type=linux # correct to gnu/linux during the next big refactor
|
7058 |
library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
|
10628 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
7059 |
shlibpath_var=LD_LIBRARY_PATH
|
10629 |
shlibpath_var=LD_LIBRARY_PATH
|
7060 |
shlibpath_overrides_runpath=yes
|
10630 |
shlibpath_overrides_runpath=yes
|
7061 |
;;
|
10631 |
;;
|
7062 |
|
10632 |
|
|
|
10633 |
*nto* | *qnx*)
|
|
|
10634 |
version_type=qnx
|
|
|
10635 |
need_lib_prefix=no
|
|
|
10636 |
need_version=no
|
|
|
10637 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
|
|
10638 |
soname_spec='${libname}${release}${shared_ext}$major'
|
|
|
10639 |
shlibpath_var=LD_LIBRARY_PATH
|
|
|
10640 |
shlibpath_overrides_runpath=no
|
|
|
10641 |
hardcode_into_libs=yes
|
|
|
10642 |
dynamic_linker='ldqnx.so'
|
|
|
10643 |
;;
|
|
|
10644 |
|
7063 |
openbsd*)
|
10645 |
openbsd*)
|
7064 |
version_type=sunos
|
10646 |
version_type=sunos
|
|
|
10647 |
sys_lib_dlsearch_path_spec="/usr/lib"
|
7065 |
need_lib_prefix=no
|
10648 |
need_lib_prefix=no
|
|
|
10649 |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
|
|
|
10650 |
case $host_os in
|
|
|
10651 |
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
|
7066 |
need_version=no
|
10652 |
*) need_version=no ;;
|
|
|
10653 |
esac
|
|
|
10654 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
|
|
10655 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
|
10656 |
shlibpath_var=LD_LIBRARY_PATH
|
7067 |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
10657 |
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
7068 |
case "$host_os" in
|
10658 |
case $host_os in
|
7069 |
openbsd2.[89] | openbsd2.[89].*)
|
10659 |
openbsd2.[89] | openbsd2.[89].*)
|
7070 |
shlibpath_overrides_runpath=no
|
10660 |
shlibpath_overrides_runpath=no
|
7071 |
;;
|
10661 |
;;
|
7072 |
*)
|
10662 |
*)
|
7073 |
shlibpath_overrides_runpath=yes
|
10663 |
shlibpath_overrides_runpath=yes
|
7074 |
;;
|
10664 |
;;
|
7075 |
esac
|
10665 |
esac
|
7076 |
else
|
10666 |
else
|
7077 |
shlibpath_overrides_runpath=yes
|
10667 |
shlibpath_overrides_runpath=yes
|
7078 |
fi
|
10668 |
fi
|
7079 |
library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
|
|
|
7080 |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
|
|
7081 |
shlibpath_var=LD_LIBRARY_PATH
|
|
|
7082 |
;;
|
10669 |
;;
|
7083 |
|
10670 |
|
7084 |
os2*)
|
10671 |
os2*)
|
7085 |
libname_spec='$name'
|
10672 |
libname_spec='$name'
|
|
|
10673 |
shrext_cmds=".dll"
|
7086 |
need_lib_prefix=no
|
10674 |
need_lib_prefix=no
|
7087 |
library_names_spec='$libname.dll $libname.a'
|
10675 |
library_names_spec='$libname${shared_ext} $libname.a'
|
7088 |
dynamic_linker='OS/2 ld.exe'
|
10676 |
dynamic_linker='OS/2 ld.exe'
|
7089 |
shlibpath_var=LIBPATH
|
10677 |
shlibpath_var=LIBPATH
|
7090 |
;;
|
10678 |
;;
|
7091 |
|
10679 |
|
7092 |
osf3* | osf4* | osf5*)
|
10680 |
osf3* | osf4* | osf5*)
|
7093 |
version_type=osf
|
10681 |
version_type=osf
|
|
|
10682 |
need_lib_prefix=no
|
7094 |
need_version=no
|
10683 |
need_version=no
|
7095 |
soname_spec='${libname}${release}.so'
|
10684 |
soname_spec='${libname}${release}${shared_ext}$major'
|
7096 |
library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
|
10685 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
7097 |
shlibpath_var=LD_LIBRARY_PATH
|
10686 |
shlibpath_var=LD_LIBRARY_PATH
|
7098 |
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
|
10687 |
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
|
7099 |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
|
10688 |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
|
7100 |
;;
|
10689 |
;;
|
7101 |
|
10690 |
|
7102 |
sco3.2v5*)
|
10691 |
rdos*)
|
7103 |
version_type=osf
|
10692 |
dynamic_linker=no
|
7104 |
soname_spec='${libname}${release}.so$major'
|
|
|
7105 |
library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
|
|
|
7106 |
shlibpath_var=LD_LIBRARY_PATH
|
|
|
7107 |
;;
|
10693 |
;;
|
7108 |
|
10694 |
|
7109 |
solaris*)
|
10695 |
solaris*)
|
7110 |
version_type=linux
|
10696 |
version_type=linux # correct to gnu/linux during the next big refactor
|
7111 |
need_lib_prefix=no
|
10697 |
need_lib_prefix=no
|
7112 |
need_version=no
|
10698 |
need_version=no
|
7113 |
library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
|
10699 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
7114 |
soname_spec='${libname}${release}.so$major'
|
10700 |
soname_spec='${libname}${release}${shared_ext}$major'
|
7115 |
shlibpath_var=LD_LIBRARY_PATH
|
10701 |
shlibpath_var=LD_LIBRARY_PATH
|
7116 |
shlibpath_overrides_runpath=yes
|
10702 |
shlibpath_overrides_runpath=yes
|
7117 |
hardcode_into_libs=yes
|
10703 |
hardcode_into_libs=yes
|
7118 |
# ldd complains unless libraries are executable
|
10704 |
# ldd complains unless libraries are executable
|
7119 |
postinstall_cmds='chmod +x $lib'
|
10705 |
postinstall_cmds='chmod +x $lib'
|
7120 |
;;
|
10706 |
;;
|
7121 |
|
10707 |
|
7122 |
sunos4*)
|
10708 |
sunos4*)
|
7123 |
version_type=sunos
|
10709 |
version_type=sunos
|
7124 |
library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
|
10710 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
7125 |
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
|
10711 |
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
|
7126 |
shlibpath_var=LD_LIBRARY_PATH
|
10712 |
shlibpath_var=LD_LIBRARY_PATH
|
7127 |
shlibpath_overrides_runpath=yes
|
10713 |
shlibpath_overrides_runpath=yes
|
7128 |
if test "$with_gnu_ld" = yes; then
|
10714 |
if test "$with_gnu_ld" = yes; then
|
7129 |
need_lib_prefix=no
|
10715 |
need_lib_prefix=no
|
7130 |
fi
|
10716 |
fi
|
7131 |
need_version=yes
|
10717 |
need_version=yes
|
7132 |
;;
|
10718 |
;;
|
7133 |
|
10719 |
|
7134 |
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
|
10720 |
sysv4 | sysv4.3*)
|
7135 |
version_type=linux
|
10721 |
version_type=linux # correct to gnu/linux during the next big refactor
|
7136 |
library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
|
10722 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
7137 |
soname_spec='${libname}${release}.so$major'
|
10723 |
soname_spec='${libname}${release}${shared_ext}$major'
|
7138 |
shlibpath_var=LD_LIBRARY_PATH
|
10724 |
shlibpath_var=LD_LIBRARY_PATH
|
7139 |
case $host_vendor in
|
10725 |
case $host_vendor in
|
7140 |
sni)
|
10726 |
sni)
|
7141 |
shlibpath_overrides_runpath=no
|
10727 |
shlibpath_overrides_runpath=no
|
7142 |
need_lib_prefix=no
|
10728 |
need_lib_prefix=no
|
7143 |
export_dynamic_flag_spec='${wl}-Blargedynsym'
|
|
|
7144 |
runpath_var=LD_RUN_PATH
|
10729 |
runpath_var=LD_RUN_PATH
|
7145 |
;;
|
10730 |
;;
|
7146 |
siemens)
|
10731 |
siemens)
|
7147 |
need_lib_prefix=no
|
10732 |
need_lib_prefix=no
|
7148 |
;;
|
10733 |
;;
|
|
... |
|
... |
7153 |
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
|
10738 |
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
|
7154 |
;;
|
10739 |
;;
|
7155 |
esac
|
10740 |
esac
|
7156 |
;;
|
10741 |
;;
|
7157 |
|
10742 |
|
7158 |
uts4*)
|
10743 |
sysv4*MP*)
|
7159 |
version_type=linux
|
10744 |
if test -d /usr/nec ;then
|
7160 |
library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
|
10745 |
version_type=linux # correct to gnu/linux during the next big refactor
|
|
|
10746 |
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
|
7161 |
soname_spec='${libname}${release}.so$major'
|
10747 |
soname_spec='$libname${shared_ext}.$major'
|
7162 |
shlibpath_var=LD_LIBRARY_PATH
|
10748 |
shlibpath_var=LD_LIBRARY_PATH
|
|
|
10749 |
fi
|
7163 |
;;
|
10750 |
;;
|
7164 |
|
10751 |
|
7165 |
dgux*)
|
10752 |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
|
7166 |
version_type=linux
|
10753 |
version_type=freebsd-elf
|
7167 |
need_lib_prefix=no
|
10754 |
need_lib_prefix=no
|
7168 |
need_version=no
|
10755 |
need_version=no
|
7169 |
library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
|
10756 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
|
7170 |
soname_spec='${libname}${release}.so$major'
|
10757 |
soname_spec='${libname}${release}${shared_ext}$major'
|
7171 |
shlibpath_var=LD_LIBRARY_PATH
|
10758 |
shlibpath_var=LD_LIBRARY_PATH
|
|
|
10759 |
shlibpath_overrides_runpath=yes
|
|
|
10760 |
hardcode_into_libs=yes
|
|
|
10761 |
if test "$with_gnu_ld" = yes; then
|
|
|
10762 |
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
|
|
|
10763 |
else
|
|
|
10764 |
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
|
|
|
10765 |
case $host_os in
|
|
|
10766 |
sco3.2v5*)
|
|
|
10767 |
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
|
|
|
10768 |
;;
|
|
|
10769 |
esac
|
|
|
10770 |
fi
|
|
|
10771 |
sys_lib_dlsearch_path_spec='/usr/lib'
|
7172 |
;;
|
10772 |
;;
|
7173 |
|
10773 |
|
7174 |
sysv4*MP*)
|
10774 |
tpf*)
|
7175 |
if test -d /usr/nec ;then
|
10775 |
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
|
7176 |
version_type=linux
|
10776 |
version_type=linux # correct to gnu/linux during the next big refactor
|
7177 |
library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
|
10777 |
need_lib_prefix=no
|
7178 |
soname_spec='$libname.so.$major'
|
10778 |
need_version=no
|
|
|
10779 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
7179 |
shlibpath_var=LD_LIBRARY_PATH
|
10780 |
shlibpath_var=LD_LIBRARY_PATH
|
7180 |
fi
|
10781 |
shlibpath_overrides_runpath=no
|
|
|
10782 |
hardcode_into_libs=yes
|
|
|
10783 |
;;
|
|
|
10784 |
|
|
|
10785 |
uts4*)
|
|
|
10786 |
version_type=linux # correct to gnu/linux during the next big refactor
|
|
|
10787 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
|
|
10788 |
soname_spec='${libname}${release}${shared_ext}$major'
|
|
|
10789 |
shlibpath_var=LD_LIBRARY_PATH
|
7181 |
;;
|
10790 |
;;
|
7182 |
|
10791 |
|
7183 |
*)
|
10792 |
*)
|
7184 |
dynamic_linker=no
|
10793 |
dynamic_linker=no
|
7185 |
;;
|
10794 |
;;
|
7186 |
esac
|
10795 |
esac
|
7187 |
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
|
10796 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
|
7188 |
echo "${ECHO_T}$dynamic_linker" >&6; }
|
10797 |
$as_echo "$dynamic_linker" >&6; }
|
7189 |
test "$dynamic_linker" = no && can_build_shared=no
|
10798 |
test "$dynamic_linker" = no && can_build_shared=no
|
7190 |
|
10799 |
|
7191 |
# Report the final consequences.
|
10800 |
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
|
7192 |
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
|
10801 |
if test "$GCC" = yes; then
|
7193 |
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
|
10802 |
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
|
7194 |
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
|
10803 |
fi
|
7195 |
echo "${ECHO_T}$can_build_shared" >&6; }
|
|
|
7196 |
|
10804 |
|
7197 |
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
|
10805 |
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
|
7198 |
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
|
10806 |
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
|
7199 |
test "$can_build_shared" = "no" && enable_shared=no
|
10807 |
fi
|
|
|
10808 |
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
|
|
|
10809 |
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
|
|
|
10810 |
fi
|
7200 |
|
10811 |
|
7201 |
# On AIX, shared libraries and static libraries use the same namespace, and
|
10812 |
|
7202 |
# are all built from PIC.
|
10813 |
|
7203 |
case "$host_os" in
|
10814 |
|
7204 |
aix3*)
|
10815 |
|
7205 |
test "$enable_shared" = yes && enable_static=no
|
10816 |
|
7206 |
if test -n "$RANLIB"; then
|
10817 |
|
7207 |
archive_cmds="$archive_cmds~\$RANLIB \$lib"
|
10818 |
|
7208 |
postinstall_cmds='$RANLIB $lib'
|
10819 |
|
|
|
10820 |
|
|
|
10821 |
|
|
|
10822 |
|
|
|
10823 |
|
|
|
10824 |
|
|
|
10825 |
|
|
|
10826 |
|
|
|
10827 |
|
|
|
10828 |
|
|
|
10829 |
|
|
|
10830 |
|
|
|
10831 |
|
|
|
10832 |
|
|
|
10833 |
|
|
|
10834 |
|
|
|
10835 |
|
|
|
10836 |
|
|
|
10837 |
|
|
|
10838 |
|
|
|
10839 |
|
|
|
10840 |
|
|
|
10841 |
|
|
|
10842 |
|
|
|
10843 |
|
|
|
10844 |
|
|
|
10845 |
|
|
|
10846 |
|
|
|
10847 |
|
|
|
10848 |
|
|
|
10849 |
|
|
|
10850 |
|
|
|
10851 |
|
|
|
10852 |
|
|
|
10853 |
|
|
|
10854 |
|
|
|
10855 |
|
|
|
10856 |
|
|
|
10857 |
|
|
|
10858 |
|
|
|
10859 |
|
|
|
10860 |
|
|
|
10861 |
|
|
|
10862 |
|
|
|
10863 |
|
|
|
10864 |
|
|
|
10865 |
|
|
|
10866 |
|
|
|
10867 |
|
|
|
10868 |
|
|
|
10869 |
|
|
|
10870 |
|
|
|
10871 |
|
|
|
10872 |
|
|
|
10873 |
|
|
|
10874 |
|
|
|
10875 |
|
|
|
10876 |
|
|
|
10877 |
|
|
|
10878 |
|
|
|
10879 |
|
|
|
10880 |
|
|
|
10881 |
|
|
|
10882 |
|
|
|
10883 |
|
|
|
10884 |
|
|
|
10885 |
|
|
|
10886 |
|
|
|
10887 |
|
|
|
10888 |
|
|
|
10889 |
|
|
|
10890 |
|
|
|
10891 |
|
|
|
10892 |
|
|
|
10893 |
|
|
|
10894 |
|
|
|
10895 |
|
|
|
10896 |
|
|
|
10897 |
|
|
|
10898 |
|
|
|
10899 |
|
|
|
10900 |
|
|
|
10901 |
|
|
|
10902 |
|
|
|
10903 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
|
|
|
10904 |
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
|
|
|
10905 |
hardcode_action=
|
|
|
10906 |
if test -n "$hardcode_libdir_flag_spec" ||
|
|
|
10907 |
test -n "$runpath_var" ||
|
|
|
10908 |
test "X$hardcode_automatic" = "Xyes" ; then
|
|
|
10909 |
|
|
|
10910 |
# We can hardcode non-existent directories.
|
|
|
10911 |
if test "$hardcode_direct" != no &&
|
|
|
10912 |
# If the only mechanism to avoid hardcoding is shlibpath_var, we
|
|
|
10913 |
# have to relink, otherwise we might link with an installed library
|
|
|
10914 |
# when we should be linking with a yet-to-be-installed one
|
|
|
10915 |
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
|
|
|
10916 |
test "$hardcode_minus_L" != no; then
|
|
|
10917 |
# Linking always hardcodes the temporary library directory.
|
|
|
10918 |
hardcode_action=relink
|
|
|
10919 |
else
|
|
|
10920 |
# We can link without hardcoding, and we can hardcode nonexisting dirs.
|
|
|
10921 |
hardcode_action=immediate
|
7209 |
fi
|
10922 |
fi
|
7210 |
;;
|
10923 |
else
|
7211 |
|
10924 |
# We cannot hardcode anything, or else we can only hardcode existing
|
7212 |
aix4*)
|
10925 |
# directories.
|
7213 |
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
|
10926 |
hardcode_action=unsupported
|
7214 |
test "$enable_shared" = yes && enable_static=no
|
|
|
7215 |
fi
|
10927 |
fi
|
7216 |
;;
|
10928 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
|
7217 |
esac
|
10929 |
$as_echo "$hardcode_action" >&6; }
|
7218 |
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
|
|
|
7219 |
echo "${ECHO_T}$enable_shared" >&6; }
|
|
|
7220 |
|
10930 |
|
7221 |
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
|
|
|
7222 |
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
|
|
|
7223 |
# Make sure either enable_shared or enable_static is yes.
|
|
|
7224 |
test "$enable_shared" = yes || enable_static=yes
|
|
|
7225 |
{ echo "$as_me:$LINENO: result: $enable_static" >&5
|
|
|
7226 |
echo "${ECHO_T}$enable_static" >&6; }
|
|
|
7227 |
|
|
|
7228 |
if test "$hardcode_action" = relink; then
|
10931 |
if test "$hardcode_action" = relink ||
|
|
|
10932 |
test "$inherit_rpath" = yes; then
|
7229 |
# Fast installation is not supported
|
10933 |
# Fast installation is not supported
|
7230 |
enable_fast_install=no
|
10934 |
enable_fast_install=no
|
7231 |
elif test "$shlibpath_overrides_runpath" = yes ||
|
10935 |
elif test "$shlibpath_overrides_runpath" = yes ||
|
7232 |
test "$enable_shared" = no; then
|
10936 |
test "$enable_shared" = no; then
|
7233 |
# Fast installation is not necessary
|
10937 |
# Fast installation is not necessary
|
7234 |
enable_fast_install=needless
|
10938 |
enable_fast_install=needless
|
7235 |
fi
|
10939 |
fi
|
7236 |
|
10940 |
|
7237 |
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
|
|
|
7238 |
if test "$GCC" = yes; then
|
|
|
7239 |
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
|
|
|
7240 |
fi
|
|
|
7241 |
|
10941 |
|
|
|
10942 |
|
|
|
10943 |
|
|
|
10944 |
|
|
|
10945 |
|
7242 |
if test "x$enable_dlopen" != xyes; then
|
10946 |
if test "x$enable_dlopen" != xyes; then
|
7243 |
enable_dlopen=unknown
|
10947 |
enable_dlopen=unknown
|
7244 |
enable_dlopen_self=unknown
|
10948 |
enable_dlopen_self=unknown
|
7245 |
enable_dlopen_self_static=unknown
|
10949 |
enable_dlopen_self_static=unknown
|
7246 |
else
|
10950 |
else
|
7247 |
lt_cv_dlopen=no
|
10951 |
lt_cv_dlopen=no
|
|
... |
|
... |
7252 |
lt_cv_dlopen="load_add_on"
|
10956 |
lt_cv_dlopen="load_add_on"
|
7253 |
lt_cv_dlopen_libs=
|
10957 |
lt_cv_dlopen_libs=
|
7254 |
lt_cv_dlopen_self=yes
|
10958 |
lt_cv_dlopen_self=yes
|
7255 |
;;
|
10959 |
;;
|
7256 |
|
10960 |
|
7257 |
cygwin* | mingw* | pw32*)
|
10961 |
mingw* | pw32* | cegcc*)
|
7258 |
lt_cv_dlopen="LoadLibrary"
|
10962 |
lt_cv_dlopen="LoadLibrary"
|
7259 |
lt_cv_dlopen_libs=
|
10963 |
lt_cv_dlopen_libs=
|
7260 |
;;
|
10964 |
;;
|
7261 |
|
10965 |
|
7262 |
*)
|
10966 |
cygwin*)
|
|
|
10967 |
lt_cv_dlopen="dlopen"
|
|
|
10968 |
lt_cv_dlopen_libs=
|
|
|
10969 |
;;
|
|
|
10970 |
|
|
|
10971 |
darwin*)
|
|
|
10972 |
# if libdl is installed we need to link against it
|
7263 |
{ echo "$as_me:$LINENO: checking for shl_load" >&5
|
10973 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
|
7264 |
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
|
10974 |
$as_echo_n "checking for dlopen in -ldl... " >&6; }
|
7265 |
if test "${ac_cv_func_shl_load+set}" = set; then
|
10975 |
if ${ac_cv_lib_dl_dlopen+:} false; then :
|
7266 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
10976 |
$as_echo_n "(cached) " >&6
|
7267 |
else
|
10977 |
else
|
7268 |
cat >conftest.$ac_ext <<_ACEOF
|
10978 |
ac_check_lib_save_LIBS=$LIBS
|
7269 |
/* confdefs.h. */
|
10979 |
LIBS="-ldl $LIBS"
|
7270 |
_ACEOF
|
|
|
7271 |
cat confdefs.h >>conftest.$ac_ext
|
10980 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
7272 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
7273 |
/* end confdefs.h. */
|
10981 |
/* end confdefs.h. */
|
7274 |
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
|
|
|
7275 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
|
7276 |
#define shl_load innocuous_shl_load
|
|
|
7277 |
|
|
|
7278 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
7279 |
which can conflict with char shl_load (); below.
|
|
|
7280 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
|
7281 |
<limits.h> exists even on freestanding compilers. */
|
|
|
7282 |
|
|
|
7283 |
#ifdef __STDC__
|
|
|
7284 |
# include <limits.h>
|
|
|
7285 |
#else
|
|
|
7286 |
# include <assert.h>
|
|
|
7287 |
#endif
|
|
|
7288 |
|
|
|
7289 |
#undef shl_load
|
|
|
7290 |
|
10982 |
|
7291 |
/* Override any GCC internal prototype to avoid an error.
|
10983 |
/* Override any GCC internal prototype to avoid an error.
|
7292 |
Use char because int might match the return type of a GCC
|
10984 |
Use char because int might match the return type of a GCC
|
7293 |
builtin and then its argument prototype would still apply. */
|
10985 |
builtin and then its argument prototype would still apply. */
|
7294 |
#ifdef __cplusplus
|
10986 |
#ifdef __cplusplus
|
7295 |
extern "C"
|
10987 |
extern "C"
|
7296 |
#endif
|
10988 |
#endif
|
7297 |
char shl_load ();
|
10989 |
char dlopen ();
|
7298 |
/* The GNU C library defines this for functions which it implements
|
|
|
7299 |
to always fail with ENOSYS. Some functions are actually named
|
|
|
7300 |
something starting with __ and the normal name is an alias. */
|
|
|
7301 |
#if defined __stub_shl_load || defined __stub___shl_load
|
|
|
7302 |
choke me
|
|
|
7303 |
#endif
|
|
|
7304 |
|
|
|
7305 |
int
|
10990 |
int
|
7306 |
main ()
|
10991 |
main ()
|
7307 |
{
|
10992 |
{
|
7308 |
return shl_load ();
|
10993 |
return dlopen ();
|
7309 |
;
|
10994 |
;
|
7310 |
return 0;
|
10995 |
return 0;
|
7311 |
}
|
10996 |
}
|
7312 |
_ACEOF
|
10997 |
_ACEOF
|
7313 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
10998 |
if ac_fn_c_try_link "$LINENO"; then :
|
7314 |
if { (ac_try="$ac_link"
|
10999 |
ac_cv_lib_dl_dlopen=yes
|
7315 |
case "(($ac_try" in
|
|
|
7316 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
7317 |
*) ac_try_echo=$ac_try;;
|
|
|
7318 |
esac
|
|
|
7319 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
7320 |
(eval "$ac_link") 2>conftest.er1
|
|
|
7321 |
ac_status=$?
|
|
|
7322 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
7323 |
rm -f conftest.er1
|
|
|
7324 |
cat conftest.err >&5
|
|
|
7325 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
7326 |
(exit $ac_status); } && {
|
|
|
7327 |
test -z "$ac_c_werror_flag" ||
|
|
|
7328 |
test ! -s conftest.err
|
|
|
7329 |
} && test -s conftest$ac_exeext &&
|
|
|
7330 |
$as_test_x conftest$ac_exeext; then
|
|
|
7331 |
ac_cv_func_shl_load=yes
|
|
|
7332 |
else
|
11000 |
else
|
7333 |
echo "$as_me: failed program was:" >&5
|
11001 |
ac_cv_lib_dl_dlopen=no
|
7334 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
7335 |
|
|
|
7336 |
ac_cv_func_shl_load=no
|
|
|
7337 |
fi
|
11002 |
fi
|
7338 |
|
|
|
7339 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
11003 |
rm -f core conftest.err conftest.$ac_objext \
|
7340 |
conftest$ac_exeext conftest.$ac_ext
|
11004 |
conftest$ac_exeext conftest.$ac_ext
|
|
|
11005 |
LIBS=$ac_check_lib_save_LIBS
|
7341 |
fi
|
11006 |
fi
|
7342 |
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
|
11007 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
|
7343 |
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
|
11008 |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
|
|
|
11009 |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
|
|
|
11010 |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
|
|
|
11011 |
else
|
|
|
11012 |
|
|
|
11013 |
lt_cv_dlopen="dyld"
|
|
|
11014 |
lt_cv_dlopen_libs=
|
|
|
11015 |
lt_cv_dlopen_self=yes
|
|
|
11016 |
|
|
|
11017 |
fi
|
|
|
11018 |
|
|
|
11019 |
;;
|
|
|
11020 |
|
|
|
11021 |
*)
|
|
|
11022 |
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
|
7344 |
if test $ac_cv_func_shl_load = yes; then
|
11023 |
if test "x$ac_cv_func_shl_load" = xyes; then :
|
7345 |
lt_cv_dlopen="shl_load"
|
11024 |
lt_cv_dlopen="shl_load"
|
7346 |
else
|
11025 |
else
|
7347 |
{ echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
|
11026 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
|
7348 |
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
|
11027 |
$as_echo_n "checking for shl_load in -ldld... " >&6; }
|
7349 |
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
|
11028 |
if ${ac_cv_lib_dld_shl_load+:} false; then :
|
7350 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
11029 |
$as_echo_n "(cached) " >&6
|
7351 |
else
|
11030 |
else
|
7352 |
ac_check_lib_save_LIBS=$LIBS
|
11031 |
ac_check_lib_save_LIBS=$LIBS
|
7353 |
LIBS="-ldld $LIBS"
|
11032 |
LIBS="-ldld $LIBS"
|
7354 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
7355 |
/* confdefs.h. */
|
|
|
7356 |
_ACEOF
|
|
|
7357 |
cat confdefs.h >>conftest.$ac_ext
|
11033 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
7358 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
7359 |
/* end confdefs.h. */
|
11034 |
/* end confdefs.h. */
|
7360 |
|
11035 |
|
7361 |
/* Override any GCC internal prototype to avoid an error.
|
11036 |
/* Override any GCC internal prototype to avoid an error.
|
7362 |
Use char because int might match the return type of a GCC
|
11037 |
Use char because int might match the return type of a GCC
|
7363 |
builtin and then its argument prototype would still apply. */
|
11038 |
builtin and then its argument prototype would still apply. */
|
|
... |
|
... |
7371 |
return shl_load ();
|
11046 |
return shl_load ();
|
7372 |
;
|
11047 |
;
|
7373 |
return 0;
|
11048 |
return 0;
|
7374 |
}
|
11049 |
}
|
7375 |
_ACEOF
|
11050 |
_ACEOF
|
7376 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
11051 |
if ac_fn_c_try_link "$LINENO"; then :
|
7377 |
if { (ac_try="$ac_link"
|
|
|
7378 |
case "(($ac_try" in
|
|
|
7379 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
7380 |
*) ac_try_echo=$ac_try;;
|
|
|
7381 |
esac
|
|
|
7382 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
7383 |
(eval "$ac_link") 2>conftest.er1
|
|
|
7384 |
ac_status=$?
|
|
|
7385 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
7386 |
rm -f conftest.er1
|
|
|
7387 |
cat conftest.err >&5
|
|
|
7388 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
7389 |
(exit $ac_status); } && {
|
|
|
7390 |
test -z "$ac_c_werror_flag" ||
|
|
|
7391 |
test ! -s conftest.err
|
|
|
7392 |
} && test -s conftest$ac_exeext &&
|
|
|
7393 |
$as_test_x conftest$ac_exeext; then
|
|
|
7394 |
ac_cv_lib_dld_shl_load=yes
|
11052 |
ac_cv_lib_dld_shl_load=yes
|
7395 |
else
|
11053 |
else
|
7396 |
echo "$as_me: failed program was:" >&5
|
|
|
7397 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
7398 |
|
|
|
7399 |
ac_cv_lib_dld_shl_load=no
|
11054 |
ac_cv_lib_dld_shl_load=no
|
7400 |
fi
|
11055 |
fi
|
7401 |
|
|
|
7402 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
11056 |
rm -f core conftest.err conftest.$ac_objext \
|
7403 |
conftest$ac_exeext conftest.$ac_ext
|
11057 |
conftest$ac_exeext conftest.$ac_ext
|
7404 |
LIBS=$ac_check_lib_save_LIBS
|
11058 |
LIBS=$ac_check_lib_save_LIBS
|
7405 |
fi
|
11059 |
fi
|
7406 |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
|
11060 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
|
7407 |
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
|
11061 |
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
|
7408 |
if test $ac_cv_lib_dld_shl_load = yes; then
|
11062 |
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
|
7409 |
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
|
11063 |
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
|
7410 |
else
|
|
|
7411 |
{ echo "$as_me:$LINENO: checking for dlopen" >&5
|
|
|
7412 |
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
|
|
|
7413 |
if test "${ac_cv_func_dlopen+set}" = set; then
|
|
|
7414 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
7415 |
else
|
|
|
7416 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
7417 |
/* confdefs.h. */
|
|
|
7418 |
_ACEOF
|
|
|
7419 |
cat confdefs.h >>conftest.$ac_ext
|
|
|
7420 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
7421 |
/* end confdefs.h. */
|
|
|
7422 |
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
|
|
|
7423 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
|
7424 |
#define dlopen innocuous_dlopen
|
|
|
7425 |
|
|
|
7426 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
7427 |
which can conflict with char dlopen (); below.
|
|
|
7428 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
|
7429 |
<limits.h> exists even on freestanding compilers. */
|
|
|
7430 |
|
|
|
7431 |
#ifdef __STDC__
|
|
|
7432 |
# include <limits.h>
|
|
|
7433 |
#else
|
11064 |
else
|
7434 |
# include <assert.h>
|
11065 |
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
|
7435 |
#endif
|
|
|
7436 |
|
|
|
7437 |
#undef dlopen
|
|
|
7438 |
|
|
|
7439 |
/* Override any GCC internal prototype to avoid an error.
|
|
|
7440 |
Use char because int might match the return type of a GCC
|
|
|
7441 |
builtin and then its argument prototype would still apply. */
|
|
|
7442 |
#ifdef __cplusplus
|
|
|
7443 |
extern "C"
|
|
|
7444 |
#endif
|
|
|
7445 |
char dlopen ();
|
|
|
7446 |
/* The GNU C library defines this for functions which it implements
|
|
|
7447 |
to always fail with ENOSYS. Some functions are actually named
|
|
|
7448 |
something starting with __ and the normal name is an alias. */
|
|
|
7449 |
#if defined __stub_dlopen || defined __stub___dlopen
|
|
|
7450 |
choke me
|
|
|
7451 |
#endif
|
|
|
7452 |
|
|
|
7453 |
int
|
|
|
7454 |
main ()
|
|
|
7455 |
{
|
|
|
7456 |
return dlopen ();
|
|
|
7457 |
;
|
|
|
7458 |
return 0;
|
|
|
7459 |
}
|
|
|
7460 |
_ACEOF
|
|
|
7461 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
|
7462 |
if { (ac_try="$ac_link"
|
|
|
7463 |
case "(($ac_try" in
|
|
|
7464 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
7465 |
*) ac_try_echo=$ac_try;;
|
|
|
7466 |
esac
|
|
|
7467 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
7468 |
(eval "$ac_link") 2>conftest.er1
|
|
|
7469 |
ac_status=$?
|
|
|
7470 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
7471 |
rm -f conftest.er1
|
|
|
7472 |
cat conftest.err >&5
|
|
|
7473 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
7474 |
(exit $ac_status); } && {
|
|
|
7475 |
test -z "$ac_c_werror_flag" ||
|
|
|
7476 |
test ! -s conftest.err
|
|
|
7477 |
} && test -s conftest$ac_exeext &&
|
|
|
7478 |
$as_test_x conftest$ac_exeext; then
|
|
|
7479 |
ac_cv_func_dlopen=yes
|
|
|
7480 |
else
|
|
|
7481 |
echo "$as_me: failed program was:" >&5
|
|
|
7482 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
7483 |
|
|
|
7484 |
ac_cv_func_dlopen=no
|
|
|
7485 |
fi
|
|
|
7486 |
|
|
|
7487 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
|
7488 |
conftest$ac_exeext conftest.$ac_ext
|
|
|
7489 |
fi
|
|
|
7490 |
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
|
|
|
7491 |
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
|
|
|
7492 |
if test $ac_cv_func_dlopen = yes; then
|
11066 |
if test "x$ac_cv_func_dlopen" = xyes; then :
|
7493 |
lt_cv_dlopen="dlopen"
|
11067 |
lt_cv_dlopen="dlopen"
|
7494 |
else
|
11068 |
else
|
7495 |
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
|
11069 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
|
7496 |
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
|
11070 |
$as_echo_n "checking for dlopen in -ldl... " >&6; }
|
7497 |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
|
11071 |
if ${ac_cv_lib_dl_dlopen+:} false; then :
|
7498 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
11072 |
$as_echo_n "(cached) " >&6
|
7499 |
else
|
11073 |
else
|
7500 |
ac_check_lib_save_LIBS=$LIBS
|
11074 |
ac_check_lib_save_LIBS=$LIBS
|
7501 |
LIBS="-ldl $LIBS"
|
11075 |
LIBS="-ldl $LIBS"
|
7502 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
7503 |
/* confdefs.h. */
|
|
|
7504 |
_ACEOF
|
|
|
7505 |
cat confdefs.h >>conftest.$ac_ext
|
11076 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
7506 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
7507 |
/* end confdefs.h. */
|
11077 |
/* end confdefs.h. */
|
7508 |
|
11078 |
|
7509 |
/* Override any GCC internal prototype to avoid an error.
|
11079 |
/* Override any GCC internal prototype to avoid an error.
|
7510 |
Use char because int might match the return type of a GCC
|
11080 |
Use char because int might match the return type of a GCC
|
7511 |
builtin and then its argument prototype would still apply. */
|
11081 |
builtin and then its argument prototype would still apply. */
|
|
... |
|
... |
7519 |
return dlopen ();
|
11089 |
return dlopen ();
|
7520 |
;
|
11090 |
;
|
7521 |
return 0;
|
11091 |
return 0;
|
7522 |
}
|
11092 |
}
|
7523 |
_ACEOF
|
11093 |
_ACEOF
|
7524 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
11094 |
if ac_fn_c_try_link "$LINENO"; then :
|
7525 |
if { (ac_try="$ac_link"
|
|
|
7526 |
case "(($ac_try" in
|
|
|
7527 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
7528 |
*) ac_try_echo=$ac_try;;
|
|
|
7529 |
esac
|
|
|
7530 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
7531 |
(eval "$ac_link") 2>conftest.er1
|
|
|
7532 |
ac_status=$?
|
|
|
7533 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
7534 |
rm -f conftest.er1
|
|
|
7535 |
cat conftest.err >&5
|
|
|
7536 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
7537 |
(exit $ac_status); } && {
|
|
|
7538 |
test -z "$ac_c_werror_flag" ||
|
|
|
7539 |
test ! -s conftest.err
|
|
|
7540 |
} && test -s conftest$ac_exeext &&
|
|
|
7541 |
$as_test_x conftest$ac_exeext; then
|
|
|
7542 |
ac_cv_lib_dl_dlopen=yes
|
11095 |
ac_cv_lib_dl_dlopen=yes
|
7543 |
else
|
11096 |
else
|
7544 |
echo "$as_me: failed program was:" >&5
|
|
|
7545 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
7546 |
|
|
|
7547 |
ac_cv_lib_dl_dlopen=no
|
11097 |
ac_cv_lib_dl_dlopen=no
|
7548 |
fi
|
11098 |
fi
|
7549 |
|
|
|
7550 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
11099 |
rm -f core conftest.err conftest.$ac_objext \
|
7551 |
conftest$ac_exeext conftest.$ac_ext
|
11100 |
conftest$ac_exeext conftest.$ac_ext
|
7552 |
LIBS=$ac_check_lib_save_LIBS
|
11101 |
LIBS=$ac_check_lib_save_LIBS
|
7553 |
fi
|
11102 |
fi
|
7554 |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
|
11103 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
|
7555 |
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
|
11104 |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
|
7556 |
if test $ac_cv_lib_dl_dlopen = yes; then
|
11105 |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
|
7557 |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
|
11106 |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
|
7558 |
else
|
11107 |
else
|
7559 |
{ echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
|
11108 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
|
7560 |
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
|
11109 |
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
|
7561 |
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
|
11110 |
if ${ac_cv_lib_svld_dlopen+:} false; then :
|
7562 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
11111 |
$as_echo_n "(cached) " >&6
|
7563 |
else
|
11112 |
else
|
7564 |
ac_check_lib_save_LIBS=$LIBS
|
11113 |
ac_check_lib_save_LIBS=$LIBS
|
7565 |
LIBS="-lsvld $LIBS"
|
11114 |
LIBS="-lsvld $LIBS"
|
7566 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
7567 |
/* confdefs.h. */
|
|
|
7568 |
_ACEOF
|
|
|
7569 |
cat confdefs.h >>conftest.$ac_ext
|
11115 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
7570 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
7571 |
/* end confdefs.h. */
|
11116 |
/* end confdefs.h. */
|
7572 |
|
11117 |
|
7573 |
/* Override any GCC internal prototype to avoid an error.
|
11118 |
/* Override any GCC internal prototype to avoid an error.
|
7574 |
Use char because int might match the return type of a GCC
|
11119 |
Use char because int might match the return type of a GCC
|
7575 |
builtin and then its argument prototype would still apply. */
|
11120 |
builtin and then its argument prototype would still apply. */
|
|
... |
|
... |
7583 |
return dlopen ();
|
11128 |
return dlopen ();
|
7584 |
;
|
11129 |
;
|
7585 |
return 0;
|
11130 |
return 0;
|
7586 |
}
|
11131 |
}
|
7587 |
_ACEOF
|
11132 |
_ACEOF
|
7588 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
11133 |
if ac_fn_c_try_link "$LINENO"; then :
|
7589 |
if { (ac_try="$ac_link"
|
|
|
7590 |
case "(($ac_try" in
|
|
|
7591 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
7592 |
*) ac_try_echo=$ac_try;;
|
|
|
7593 |
esac
|
|
|
7594 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
7595 |
(eval "$ac_link") 2>conftest.er1
|
|
|
7596 |
ac_status=$?
|
|
|
7597 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
7598 |
rm -f conftest.er1
|
|
|
7599 |
cat conftest.err >&5
|
|
|
7600 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
7601 |
(exit $ac_status); } && {
|
|
|
7602 |
test -z "$ac_c_werror_flag" ||
|
|
|
7603 |
test ! -s conftest.err
|
|
|
7604 |
} && test -s conftest$ac_exeext &&
|
|
|
7605 |
$as_test_x conftest$ac_exeext; then
|
|
|
7606 |
ac_cv_lib_svld_dlopen=yes
|
11134 |
ac_cv_lib_svld_dlopen=yes
|
7607 |
else
|
11135 |
else
|
7608 |
echo "$as_me: failed program was:" >&5
|
|
|
7609 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
7610 |
|
|
|
7611 |
ac_cv_lib_svld_dlopen=no
|
11136 |
ac_cv_lib_svld_dlopen=no
|
7612 |
fi
|
11137 |
fi
|
7613 |
|
|
|
7614 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
11138 |
rm -f core conftest.err conftest.$ac_objext \
|
7615 |
conftest$ac_exeext conftest.$ac_ext
|
11139 |
conftest$ac_exeext conftest.$ac_ext
|
7616 |
LIBS=$ac_check_lib_save_LIBS
|
11140 |
LIBS=$ac_check_lib_save_LIBS
|
7617 |
fi
|
11141 |
fi
|
7618 |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
|
11142 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
|
7619 |
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
|
11143 |
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
|
7620 |
if test $ac_cv_lib_svld_dlopen = yes; then
|
11144 |
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
|
7621 |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
|
11145 |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
|
7622 |
else
|
11146 |
else
|
7623 |
{ echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
|
11147 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
|
7624 |
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
|
11148 |
$as_echo_n "checking for dld_link in -ldld... " >&6; }
|
7625 |
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
|
11149 |
if ${ac_cv_lib_dld_dld_link+:} false; then :
|
7626 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
11150 |
$as_echo_n "(cached) " >&6
|
7627 |
else
|
11151 |
else
|
7628 |
ac_check_lib_save_LIBS=$LIBS
|
11152 |
ac_check_lib_save_LIBS=$LIBS
|
7629 |
LIBS="-ldld $LIBS"
|
11153 |
LIBS="-ldld $LIBS"
|
7630 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
7631 |
/* confdefs.h. */
|
|
|
7632 |
_ACEOF
|
|
|
7633 |
cat confdefs.h >>conftest.$ac_ext
|
11154 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
7634 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
7635 |
/* end confdefs.h. */
|
11155 |
/* end confdefs.h. */
|
7636 |
|
11156 |
|
7637 |
/* Override any GCC internal prototype to avoid an error.
|
11157 |
/* Override any GCC internal prototype to avoid an error.
|
7638 |
Use char because int might match the return type of a GCC
|
11158 |
Use char because int might match the return type of a GCC
|
7639 |
builtin and then its argument prototype would still apply. */
|
11159 |
builtin and then its argument prototype would still apply. */
|
|
... |
|
... |
7647 |
return dld_link ();
|
11167 |
return dld_link ();
|
7648 |
;
|
11168 |
;
|
7649 |
return 0;
|
11169 |
return 0;
|
7650 |
}
|
11170 |
}
|
7651 |
_ACEOF
|
11171 |
_ACEOF
|
7652 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
11172 |
if ac_fn_c_try_link "$LINENO"; then :
|
7653 |
if { (ac_try="$ac_link"
|
|
|
7654 |
case "(($ac_try" in
|
|
|
7655 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
7656 |
*) ac_try_echo=$ac_try;;
|
|
|
7657 |
esac
|
|
|
7658 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
7659 |
(eval "$ac_link") 2>conftest.er1
|
|
|
7660 |
ac_status=$?
|
|
|
7661 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
7662 |
rm -f conftest.er1
|
|
|
7663 |
cat conftest.err >&5
|
|
|
7664 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
7665 |
(exit $ac_status); } && {
|
|
|
7666 |
test -z "$ac_c_werror_flag" ||
|
|
|
7667 |
test ! -s conftest.err
|
|
|
7668 |
} && test -s conftest$ac_exeext &&
|
|
|
7669 |
$as_test_x conftest$ac_exeext; then
|
|
|
7670 |
ac_cv_lib_dld_dld_link=yes
|
11173 |
ac_cv_lib_dld_dld_link=yes
|
7671 |
else
|
11174 |
else
|
7672 |
echo "$as_me: failed program was:" >&5
|
|
|
7673 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
7674 |
|
|
|
7675 |
ac_cv_lib_dld_dld_link=no
|
11175 |
ac_cv_lib_dld_dld_link=no
|
7676 |
fi
|
11176 |
fi
|
7677 |
|
|
|
7678 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
11177 |
rm -f core conftest.err conftest.$ac_objext \
|
7679 |
conftest$ac_exeext conftest.$ac_ext
|
11178 |
conftest$ac_exeext conftest.$ac_ext
|
7680 |
LIBS=$ac_check_lib_save_LIBS
|
11179 |
LIBS=$ac_check_lib_save_LIBS
|
7681 |
fi
|
11180 |
fi
|
7682 |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
|
11181 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
|
7683 |
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
|
11182 |
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
|
7684 |
if test $ac_cv_lib_dld_dld_link = yes; then
|
11183 |
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
|
7685 |
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
|
11184 |
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
|
7686 |
fi
|
11185 |
fi
|
7687 |
|
11186 |
|
7688 |
|
11187 |
|
7689 |
fi
|
11188 |
fi
|
7690 |
|
11189 |
|
|
... |
|
... |
7710 |
fi
|
11209 |
fi
|
7711 |
|
11210 |
|
7712 |
case $lt_cv_dlopen in
|
11211 |
case $lt_cv_dlopen in
|
7713 |
dlopen)
|
11212 |
dlopen)
|
7714 |
save_CPPFLAGS="$CPPFLAGS"
|
11213 |
save_CPPFLAGS="$CPPFLAGS"
|
7715 |
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
|
11214 |
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
|
7716 |
|
11215 |
|
7717 |
save_LDFLAGS="$LDFLAGS"
|
11216 |
save_LDFLAGS="$LDFLAGS"
|
7718 |
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
|
11217 |
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
|
7719 |
|
11218 |
|
7720 |
save_LIBS="$LIBS"
|
11219 |
save_LIBS="$LIBS"
|
7721 |
LIBS="$lt_cv_dlopen_libs $LIBS"
|
11220 |
LIBS="$lt_cv_dlopen_libs $LIBS"
|
7722 |
|
11221 |
|
7723 |
{ echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
|
11222 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
|
7724 |
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
|
11223 |
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
|
7725 |
if test "${lt_cv_dlopen_self+set}" = set; then
|
11224 |
if ${lt_cv_dlopen_self+:} false; then :
|
7726 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
11225 |
$as_echo_n "(cached) " >&6
|
7727 |
else
|
11226 |
else
|
7728 |
if test "$cross_compiling" = yes; then :
|
11227 |
if test "$cross_compiling" = yes; then :
|
7729 |
lt_cv_dlopen_self=cross
|
11228 |
lt_cv_dlopen_self=cross
|
7730 |
else
|
11229 |
else
|
7731 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
11230 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
7732 |
lt_status=$lt_dlunknown
|
11231 |
lt_status=$lt_dlunknown
|
7733 |
cat > conftest.$ac_ext <<EOF
|
11232 |
cat > conftest.$ac_ext <<_LT_EOF
|
7734 |
#line 7734 "configure"
|
11233 |
#line $LINENO "configure"
|
7735 |
#include "confdefs.h"
|
11234 |
#include "confdefs.h"
|
7736 |
|
11235 |
|
7737 |
#if HAVE_DLFCN_H
|
11236 |
#if HAVE_DLFCN_H
|
7738 |
#include <dlfcn.h>
|
11237 |
#include <dlfcn.h>
|
7739 |
#endif
|
11238 |
#endif
|
|
... |
|
... |
7770 |
# endif
|
11269 |
# endif
|
7771 |
# endif
|
11270 |
# endif
|
7772 |
# endif
|
11271 |
# endif
|
7773 |
#endif
|
11272 |
#endif
|
7774 |
|
11273 |
|
7775 |
#ifdef __cplusplus
|
11274 |
/* When -fvisbility=hidden is used, assume the code has been annotated
|
7776 |
extern "C" void exit (int);
|
11275 |
correspondingly for the symbols needed. */
|
|
|
11276 |
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
|
|
|
11277 |
int fnord () __attribute__((visibility("default")));
|
7777 |
#endif
|
11278 |
#endif
|
7778 |
|
11279 |
|
7779 |
void fnord() { int i=42;}
|
11280 |
int fnord () { return 42; }
|
7780 |
int main ()
|
11281 |
int main ()
|
7781 |
{
|
11282 |
{
|
7782 |
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
|
11283 |
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
|
7783 |
int status = $lt_dlunknown;
|
11284 |
int status = $lt_dlunknown;
|
7784 |
|
11285 |
|
7785 |
if (self)
|
11286 |
if (self)
|
7786 |
{
|
11287 |
{
|
7787 |
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
|
11288 |
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
|
|
|
11289 |
else
|
|
|
11290 |
{
|
7788 |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
|
11291 |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
|
|
|
11292 |
else puts (dlerror ());
|
|
|
11293 |
}
|
7789 |
/* dlclose (self); */
|
11294 |
/* dlclose (self); */
|
7790 |
}
|
11295 |
}
|
|
|
11296 |
else
|
|
|
11297 |
puts (dlerror ());
|
7791 |
|
11298 |
|
7792 |
exit (status);
|
11299 |
return status;
|
7793 |
}
|
11300 |
}
|
7794 |
EOF
|
11301 |
_LT_EOF
|
7795 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
11302 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
|
7796 |
(eval $ac_link) 2>&5
|
11303 |
(eval $ac_link) 2>&5
|
7797 |
ac_status=$?
|
11304 |
ac_status=$?
|
7798 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
11305 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
7799 |
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
|
11306 |
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
|
7800 |
(./conftest; exit; ) 2>/dev/null
|
11307 |
(./conftest; exit; ) >&5 2>/dev/null
|
7801 |
lt_status=$?
|
11308 |
lt_status=$?
|
7802 |
case x$lt_status in
|
11309 |
case x$lt_status in
|
7803 |
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
|
11310 |
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
|
7804 |
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
|
11311 |
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
|
7805 |
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
|
11312 |
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
|
7806 |
esac
|
11313 |
esac
|
7807 |
else :
|
11314 |
else :
|
7808 |
# compilation failed
|
11315 |
# compilation failed
|
7809 |
lt_cv_dlopen_self=no
|
11316 |
lt_cv_dlopen_self=no
|
7810 |
fi
|
11317 |
fi
|
7811 |
fi
|
11318 |
fi
|
7812 |
rm -fr conftest*
|
11319 |
rm -fr conftest*
|
7813 |
|
11320 |
|
7814 |
|
11321 |
|
7815 |
fi
|
11322 |
fi
|
7816 |
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
|
11323 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
|
7817 |
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
|
11324 |
$as_echo "$lt_cv_dlopen_self" >&6; }
|
7818 |
|
11325 |
|
7819 |
if test "x$lt_cv_dlopen_self" = xyes; then
|
11326 |
if test "x$lt_cv_dlopen_self" = xyes; then
|
7820 |
LDFLAGS="$LDFLAGS $link_static_flag"
|
11327 |
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
|
7821 |
{ echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
|
11328 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
|
7822 |
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
|
11329 |
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
|
7823 |
if test "${lt_cv_dlopen_self_static+set}" = set; then
|
11330 |
if ${lt_cv_dlopen_self_static+:} false; then :
|
7824 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
11331 |
$as_echo_n "(cached) " >&6
|
7825 |
else
|
11332 |
else
|
7826 |
if test "$cross_compiling" = yes; then :
|
11333 |
if test "$cross_compiling" = yes; then :
|
7827 |
lt_cv_dlopen_self_static=cross
|
11334 |
lt_cv_dlopen_self_static=cross
|
7828 |
else
|
11335 |
else
|
7829 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
11336 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
7830 |
lt_status=$lt_dlunknown
|
11337 |
lt_status=$lt_dlunknown
|
7831 |
cat > conftest.$ac_ext <<EOF
|
11338 |
cat > conftest.$ac_ext <<_LT_EOF
|
7832 |
#line 7832 "configure"
|
11339 |
#line $LINENO "configure"
|
7833 |
#include "confdefs.h"
|
11340 |
#include "confdefs.h"
|
7834 |
|
11341 |
|
7835 |
#if HAVE_DLFCN_H
|
11342 |
#if HAVE_DLFCN_H
|
7836 |
#include <dlfcn.h>
|
11343 |
#include <dlfcn.h>
|
7837 |
#endif
|
11344 |
#endif
|
|
... |
|
... |
7868 |
# endif
|
11375 |
# endif
|
7869 |
# endif
|
11376 |
# endif
|
7870 |
# endif
|
11377 |
# endif
|
7871 |
#endif
|
11378 |
#endif
|
7872 |
|
11379 |
|
7873 |
#ifdef __cplusplus
|
11380 |
/* When -fvisbility=hidden is used, assume the code has been annotated
|
7874 |
extern "C" void exit (int);
|
11381 |
correspondingly for the symbols needed. */
|
|
|
11382 |
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
|
|
|
11383 |
int fnord () __attribute__((visibility("default")));
|
7875 |
#endif
|
11384 |
#endif
|
7876 |
|
11385 |
|
7877 |
void fnord() { int i=42;}
|
11386 |
int fnord () { return 42; }
|
7878 |
int main ()
|
11387 |
int main ()
|
7879 |
{
|
11388 |
{
|
7880 |
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
|
11389 |
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
|
7881 |
int status = $lt_dlunknown;
|
11390 |
int status = $lt_dlunknown;
|
7882 |
|
11391 |
|
7883 |
if (self)
|
11392 |
if (self)
|
7884 |
{
|
11393 |
{
|
7885 |
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
|
11394 |
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
|
|
|
11395 |
else
|
|
|
11396 |
{
|
7886 |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
|
11397 |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
|
|
|
11398 |
else puts (dlerror ());
|
|
|
11399 |
}
|
7887 |
/* dlclose (self); */
|
11400 |
/* dlclose (self); */
|
7888 |
}
|
11401 |
}
|
|
|
11402 |
else
|
|
|
11403 |
puts (dlerror ());
|
7889 |
|
11404 |
|
7890 |
exit (status);
|
11405 |
return status;
|
7891 |
}
|
11406 |
}
|
7892 |
EOF
|
11407 |
_LT_EOF
|
7893 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
11408 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
|
7894 |
(eval $ac_link) 2>&5
|
11409 |
(eval $ac_link) 2>&5
|
7895 |
ac_status=$?
|
11410 |
ac_status=$?
|
7896 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
11411 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
7897 |
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
|
11412 |
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
|
7898 |
(./conftest; exit; ) 2>/dev/null
|
11413 |
(./conftest; exit; ) >&5 2>/dev/null
|
7899 |
lt_status=$?
|
11414 |
lt_status=$?
|
7900 |
case x$lt_status in
|
11415 |
case x$lt_status in
|
7901 |
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
|
11416 |
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
|
7902 |
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
|
11417 |
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
|
7903 |
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
|
11418 |
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
|
7904 |
esac
|
11419 |
esac
|
7905 |
else :
|
11420 |
else :
|
7906 |
# compilation failed
|
11421 |
# compilation failed
|
7907 |
lt_cv_dlopen_self_static=no
|
11422 |
lt_cv_dlopen_self_static=no
|
7908 |
fi
|
11423 |
fi
|
7909 |
fi
|
11424 |
fi
|
7910 |
rm -fr conftest*
|
11425 |
rm -fr conftest*
|
7911 |
|
11426 |
|
7912 |
|
11427 |
|
7913 |
fi
|
11428 |
fi
|
7914 |
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
|
11429 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
|
7915 |
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
|
11430 |
$as_echo "$lt_cv_dlopen_self_static" >&6; }
|
7916 |
fi
|
11431 |
fi
|
7917 |
|
11432 |
|
7918 |
CPPFLAGS="$save_CPPFLAGS"
|
11433 |
CPPFLAGS="$save_CPPFLAGS"
|
7919 |
LDFLAGS="$save_LDFLAGS"
|
11434 |
LDFLAGS="$save_LDFLAGS"
|
7920 |
LIBS="$save_LIBS"
|
11435 |
LIBS="$save_LIBS"
|
|
... |
|
... |
7931 |
*) enable_dlopen_self_static=unknown ;;
|
11446 |
*) enable_dlopen_self_static=unknown ;;
|
7932 |
esac
|
11447 |
esac
|
7933 |
fi
|
11448 |
fi
|
7934 |
|
11449 |
|
7935 |
|
11450 |
|
7936 |
if test "$enable_shared" = yes && test "$GCC" = yes; then
|
11451 |
|
7937 |
case $archive_cmds in
|
11452 |
|
7938 |
*'~'*)
|
11453 |
|
7939 |
# FIXME: we may have to deal with multi-command sequences.
|
11454 |
|
|
|
11455 |
|
|
|
11456 |
|
|
|
11457 |
|
|
|
11458 |
|
|
|
11459 |
|
|
|
11460 |
|
|
|
11461 |
|
|
|
11462 |
|
|
|
11463 |
|
|
|
11464 |
|
|
|
11465 |
|
|
|
11466 |
striplib=
|
|
|
11467 |
old_striplib=
|
|
|
11468 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
|
|
|
11469 |
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
|
|
|
11470 |
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
|
|
|
11471 |
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
|
|
|
11472 |
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
|
|
|
11473 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
|
11474 |
$as_echo "yes" >&6; }
|
|
|
11475 |
else
|
|
|
11476 |
# FIXME - insert some real tests, host_os isn't really good enough
|
|
|
11477 |
case $host_os in
|
|
|
11478 |
darwin*)
|
|
|
11479 |
if test -n "$STRIP" ; then
|
|
|
11480 |
striplib="$STRIP -x"
|
|
|
11481 |
old_striplib="$STRIP -S"
|
|
|
11482 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
|
11483 |
$as_echo "yes" >&6; }
|
|
|
11484 |
else
|
|
|
11485 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
11486 |
$as_echo "no" >&6; }
|
|
|
11487 |
fi
|
7940 |
;;
|
11488 |
;;
|
7941 |
'$CC '*)
|
11489 |
*)
|
7942 |
# Test whether the compiler implicitly links with -lc since on some
|
11490 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7943 |
# systems, -lgcc has to come before -lc. If gcc already passes -lc
|
11491 |
$as_echo "no" >&6; }
|
7944 |
# to ld, don't add -lc before -lgcc.
|
|
|
7945 |
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
|
|
|
7946 |
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
|
|
|
7947 |
if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
|
|
|
7948 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
7949 |
else
|
|
|
7950 |
$rm conftest*
|
|
|
7951 |
echo 'static int dummy;' > conftest.$ac_ext
|
|
|
7952 |
|
|
|
7953 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
7954 |
(eval $ac_compile) 2>&5
|
|
|
7955 |
ac_status=$?
|
|
|
7956 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
7957 |
(exit $ac_status); }; then
|
|
|
7958 |
soname=conftest
|
|
|
7959 |
lib=conftest
|
|
|
7960 |
libobjs=conftest.$ac_objext
|
|
|
7961 |
deplibs=
|
|
|
7962 |
wl=$lt_cv_prog_cc_wl
|
|
|
7963 |
compiler_flags=-v
|
|
|
7964 |
linker_flags=-v
|
|
|
7965 |
verstring=
|
|
|
7966 |
output_objdir=.
|
|
|
7967 |
libname=conftest
|
|
|
7968 |
save_allow_undefined_flag=$allow_undefined_flag
|
|
|
7969 |
allow_undefined_flag=
|
|
|
7970 |
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
|
|
|
7971 |
(eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
|
|
|
7972 |
ac_status=$?
|
|
|
7973 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
7974 |
(exit $ac_status); }
|
|
|
7975 |
then
|
|
|
7976 |
lt_cv_archive_cmds_need_lc=no
|
|
|
7977 |
else
|
|
|
7978 |
lt_cv_archive_cmds_need_lc=yes
|
|
|
7979 |
fi
|
|
|
7980 |
allow_undefined_flag=$save_allow_undefined_flag
|
|
|
7981 |
else
|
|
|
7982 |
cat conftest.err 1>&5
|
|
|
7983 |
fi
|
|
|
7984 |
fi
|
|
|
7985 |
|
|
|
7986 |
{ echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
|
|
|
7987 |
echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6; }
|
|
|
7988 |
;;
|
11492 |
;;
|
7989 |
esac
|
11493 |
esac
|
7990 |
fi
|
11494 |
fi
|
7991 |
need_lc=${lt_cv_archive_cmds_need_lc-yes}
|
|
|
7992 |
|
11495 |
|
7993 |
# The second clause should only fire when bootstrapping the
|
|
|
7994 |
# libtool distribution, otherwise you forgot to ship ltmain.sh
|
|
|
7995 |
# with your package, and you will get complaints that there are
|
|
|
7996 |
# no rules to generate ltmain.sh.
|
|
|
7997 |
if test -f "$ltmain"; then
|
|
|
7998 |
:
|
|
|
7999 |
else
|
|
|
8000 |
# If there is no Makefile yet, we rely on a make rule to execute
|
|
|
8001 |
# `config.status --recheck' to rerun these tests and create the
|
|
|
8002 |
# libtool script then.
|
|
|
8003 |
test -f Makefile && make "$ltmain"
|
|
|
8004 |
fi
|
|
|
8005 |
|
11496 |
|
8006 |
if test -f "$ltmain"; then
|
|
|
8007 |
trap "$rm \"${ofile}T\"; exit 1" 1 2 15
|
|
|
8008 |
$rm -f "${ofile}T"
|
|
|
8009 |
|
11497 |
|
8010 |
echo creating $ofile
|
|
|
8011 |
|
11498 |
|
8012 |
# Now quote all the things that may contain metacharacters while being
|
|
|
8013 |
# careful not to overquote the AC_SUBSTed values. We take copies of the
|
|
|
8014 |
# variables and quote the copies for generation of the libtool script.
|
|
|
8015 |
for var in echo old_CC old_CFLAGS SED \
|
|
|
8016 |
AR AR_FLAGS CC LD LN_S NM SHELL \
|
|
|
8017 |
reload_flag reload_cmds wl \
|
|
|
8018 |
pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
|
|
|
8019 |
thread_safe_flag_spec whole_archive_flag_spec libname_spec \
|
|
|
8020 |
library_names_spec soname_spec \
|
|
|
8021 |
RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
|
|
|
8022 |
old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
|
|
|
8023 |
postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
|
|
|
8024 |
old_striplib striplib file_magic_cmd export_symbols_cmds \
|
|
|
8025 |
deplibs_check_method allow_undefined_flag no_undefined_flag \
|
|
|
8026 |
finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
|
|
|
8027 |
global_symbol_to_c_name_address \
|
|
|
8028 |
hardcode_libdir_flag_spec hardcode_libdir_separator \
|
|
|
8029 |
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
|
|
|
8030 |
compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
|
|
|
8031 |
|
11499 |
|
8032 |
case $var in
|
|
|
8033 |
reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
|
|
|
8034 |
old_postinstall_cmds | old_postuninstall_cmds | \
|
|
|
8035 |
export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
|
|
|
8036 |
extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
|
|
|
8037 |
postinstall_cmds | postuninstall_cmds | \
|
|
|
8038 |
finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
|
|
|
8039 |
# Double-quote double-evaled strings.
|
|
|
8040 |
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
|
|
|
8041 |
;;
|
|
|
8042 |
*)
|
|
|
8043 |
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
|
|
|
8044 |
;;
|
|
|
8045 |
esac
|
|
|
8046 |
done
|
|
|
8047 |
|
11500 |
|
8048 |
cat <<__EOF__ > "${ofile}T"
|
|
|
8049 |
#! $SHELL
|
|
|
8050 |
|
11501 |
|
8051 |
# `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
|
|
|
8052 |
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
|
|
|
8053 |
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
|
|
|
8054 |
#
|
|
|
8055 |
# Copyright (C) 1996-2000 Free Software Foundation, Inc.
|
|
|
8056 |
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
|
|
|
8057 |
#
|
|
|
8058 |
# This program is free software; you can redistribute it and/or modify
|
|
|
8059 |
# it under the terms of the GNU General Public License as published by
|
|
|
8060 |
# the Free Software Foundation; either version 2 of the License, or
|
|
|
8061 |
# (at your option) any later version.
|
|
|
8062 |
#
|
|
|
8063 |
# This program is distributed in the hope that it will be useful, but
|
|
|
8064 |
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
8065 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
8066 |
# General Public License for more details.
|
|
|
8067 |
#
|
|
|
8068 |
# You should have received a copy of the GNU General Public License
|
|
|
8069 |
# along with this program; if not, write to the Free Software
|
|
|
8070 |
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
8071 |
#
|
|
|
8072 |
# As a special exception to the GNU General Public License, if you
|
|
|
8073 |
# distribute this file as part of a program that contains a
|
|
|
8074 |
# configuration script generated by Autoconf, you may include it under
|
|
|
8075 |
# the same distribution terms that you use for the rest of that program.
|
|
|
8076 |
|
11502 |
|
8077 |
# A sed that does not truncate output.
|
|
|
8078 |
SED=$lt_SED
|
|
|
8079 |
|
11503 |
|
8080 |
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
|
|
|
8081 |
Xsed="${SED} -e s/^X//"
|
|
|
8082 |
|
11504 |
|
8083 |
# The HP-UX ksh and POSIX shell print the target directory to stdout
|
|
|
8084 |
# if CDPATH is set.
|
|
|
8085 |
if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
|
|
|
8086 |
|
11505 |
|
8087 |
# ### BEGIN LIBTOOL CONFIG
|
|
|
8088 |
|
11506 |
|
8089 |
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
|
11507 |
# Report which library types will actually be built
|
|
|
11508 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
|
|
|
11509 |
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
|
|
|
11510 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
|
|
|
11511 |
$as_echo "$can_build_shared" >&6; }
|
8090 |
|
11512 |
|
8091 |
# Shell to use when invoking shell scripts.
|
11513 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
|
8092 |
SHELL=$lt_SHELL
|
11514 |
$as_echo_n "checking whether to build shared libraries... " >&6; }
|
|
|
11515 |
test "$can_build_shared" = "no" && enable_shared=no
|
8093 |
|
11516 |
|
8094 |
# Whether or not to build shared libraries.
|
11517 |
# On AIX, shared libraries and static libraries use the same namespace, and
|
8095 |
build_libtool_libs=$enable_shared
|
11518 |
# are all built from PIC.
|
8096 |
|
|
|
8097 |
# Whether or not to build static libraries.
|
|
|
8098 |
build_old_libs=$enable_static
|
|
|
8099 |
|
|
|
8100 |
# Whether or not to add -lc for building shared libraries.
|
|
|
8101 |
build_libtool_need_lc=$need_lc
|
|
|
8102 |
|
|
|
8103 |
# Whether or not to optimize for fast installation.
|
|
|
8104 |
fast_install=$enable_fast_install
|
|
|
8105 |
|
|
|
8106 |
# The host system.
|
|
|
8107 |
host_alias=$host_alias
|
|
|
8108 |
host=$host
|
|
|
8109 |
|
|
|
8110 |
# An echo program that does not interpret backslashes.
|
|
|
8111 |
echo=$lt_echo
|
|
|
8112 |
|
|
|
8113 |
# The archiver.
|
|
|
8114 |
AR=$lt_AR
|
|
|
8115 |
AR_FLAGS=$lt_AR_FLAGS
|
|
|
8116 |
|
|
|
8117 |
# The default C compiler.
|
|
|
8118 |
CC=$lt_CC
|
|
|
8119 |
|
|
|
8120 |
# Is the compiler the GNU C compiler?
|
|
|
8121 |
with_gcc=$GCC
|
|
|
8122 |
|
|
|
8123 |
# The linker used to build libraries.
|
|
|
8124 |
LD=$lt_LD
|
|
|
8125 |
|
|
|
8126 |
# Whether we need hard or soft links.
|
|
|
8127 |
LN_S=$lt_LN_S
|
|
|
8128 |
|
|
|
8129 |
# A BSD-compatible nm program.
|
|
|
8130 |
NM=$lt_NM
|
|
|
8131 |
|
|
|
8132 |
# A symbol stripping program
|
|
|
8133 |
STRIP=$STRIP
|
|
|
8134 |
|
|
|
8135 |
# Used to examine libraries when file_magic_cmd begins "file"
|
|
|
8136 |
MAGIC_CMD=$MAGIC_CMD
|
|
|
8137 |
|
|
|
8138 |
# Used on cygwin: DLL creation program.
|
|
|
8139 |
DLLTOOL="$DLLTOOL"
|
|
|
8140 |
|
|
|
8141 |
# Used on cygwin: object dumper.
|
|
|
8142 |
OBJDUMP="$OBJDUMP"
|
|
|
8143 |
|
|
|
8144 |
# Used on cygwin: assembler.
|
|
|
8145 |
AS="$AS"
|
|
|
8146 |
|
|
|
8147 |
# The name of the directory that contains temporary libtool files.
|
|
|
8148 |
objdir=$objdir
|
|
|
8149 |
|
|
|
8150 |
# How to create reloadable object files.
|
|
|
8151 |
reload_flag=$lt_reload_flag
|
|
|
8152 |
reload_cmds=$lt_reload_cmds
|
|
|
8153 |
|
|
|
8154 |
# How to pass a linker flag through the compiler.
|
|
|
8155 |
wl=$lt_wl
|
|
|
8156 |
|
|
|
8157 |
# Object file suffix (normally "o").
|
|
|
8158 |
objext="$ac_objext"
|
|
|
8159 |
|
|
|
8160 |
# Old archive suffix (normally "a").
|
|
|
8161 |
libext="$libext"
|
|
|
8162 |
|
|
|
8163 |
# Executable file suffix (normally "").
|
|
|
8164 |
exeext="$exeext"
|
|
|
8165 |
|
|
|
8166 |
# Additional compiler flags for building library objects.
|
|
|
8167 |
pic_flag=$lt_pic_flag
|
|
|
8168 |
pic_mode=$pic_mode
|
|
|
8169 |
|
|
|
8170 |
# Does compiler simultaneously support -c and -o options?
|
|
|
8171 |
compiler_c_o=$lt_compiler_c_o
|
|
|
8172 |
|
|
|
8173 |
# Can we write directly to a .lo ?
|
|
|
8174 |
compiler_o_lo=$lt_compiler_o_lo
|
|
|
8175 |
|
|
|
8176 |
# Must we lock files when doing compilation ?
|
|
|
8177 |
need_locks=$lt_need_locks
|
|
|
8178 |
|
|
|
8179 |
# Do we need the lib prefix for modules?
|
|
|
8180 |
need_lib_prefix=$need_lib_prefix
|
|
|
8181 |
|
|
|
8182 |
# Do we need a version for libraries?
|
|
|
8183 |
need_version=$need_version
|
|
|
8184 |
|
|
|
8185 |
# Whether dlopen is supported.
|
|
|
8186 |
dlopen_support=$enable_dlopen
|
|
|
8187 |
|
|
|
8188 |
# Whether dlopen of programs is supported.
|
|
|
8189 |
dlopen_self=$enable_dlopen_self
|
|
|
8190 |
|
|
|
8191 |
# Whether dlopen of statically linked programs is supported.
|
|
|
8192 |
dlopen_self_static=$enable_dlopen_self_static
|
|
|
8193 |
|
|
|
8194 |
# Compiler flag to prevent dynamic linking.
|
|
|
8195 |
link_static_flag=$lt_link_static_flag
|
|
|
8196 |
|
|
|
8197 |
# Compiler flag to turn off builtin functions.
|
|
|
8198 |
no_builtin_flag=$lt_no_builtin_flag
|
|
|
8199 |
|
|
|
8200 |
# Compiler flag to allow reflexive dlopens.
|
|
|
8201 |
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
|
|
|
8202 |
|
|
|
8203 |
# Compiler flag to generate shared objects directly from archives.
|
|
|
8204 |
whole_archive_flag_spec=$lt_whole_archive_flag_spec
|
|
|
8205 |
|
|
|
8206 |
# Compiler flag to generate thread-safe objects.
|
|
|
8207 |
thread_safe_flag_spec=$lt_thread_safe_flag_spec
|
|
|
8208 |
|
|
|
8209 |
# Library versioning type.
|
|
|
8210 |
version_type=$version_type
|
|
|
8211 |
|
|
|
8212 |
# Format of library name prefix.
|
|
|
8213 |
libname_spec=$lt_libname_spec
|
|
|
8214 |
|
|
|
8215 |
# List of archive names. First name is the real one, the rest are links.
|
|
|
8216 |
# The last name is the one that the linker finds with -lNAME.
|
|
|
8217 |
library_names_spec=$lt_library_names_spec
|
|
|
8218 |
|
|
|
8219 |
# The coded name of the library, if different from the real name.
|
|
|
8220 |
soname_spec=$lt_soname_spec
|
|
|
8221 |
|
|
|
8222 |
# Commands used to build and install an old-style archive.
|
|
|
8223 |
RANLIB=$lt_RANLIB
|
|
|
8224 |
old_archive_cmds=$lt_old_archive_cmds
|
|
|
8225 |
old_postinstall_cmds=$lt_old_postinstall_cmds
|
|
|
8226 |
old_postuninstall_cmds=$lt_old_postuninstall_cmds
|
|
|
8227 |
|
|
|
8228 |
# Create an old-style archive from a shared archive.
|
|
|
8229 |
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
|
|
|
8230 |
|
|
|
8231 |
# Create a temporary old-style archive to link instead of a shared archive.
|
|
|
8232 |
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
|
|
|
8233 |
|
|
|
8234 |
# Commands used to build and install a shared archive.
|
|
|
8235 |
archive_cmds=$lt_archive_cmds
|
|
|
8236 |
archive_expsym_cmds=$lt_archive_expsym_cmds
|
|
|
8237 |
postinstall_cmds=$lt_postinstall_cmds
|
|
|
8238 |
postuninstall_cmds=$lt_postuninstall_cmds
|
|
|
8239 |
|
|
|
8240 |
# Commands to strip libraries.
|
|
|
8241 |
old_striplib=$lt_old_striplib
|
|
|
8242 |
striplib=$lt_striplib
|
|
|
8243 |
|
|
|
8244 |
# Method to check whether dependent libraries are shared objects.
|
|
|
8245 |
deplibs_check_method=$lt_deplibs_check_method
|
|
|
8246 |
|
|
|
8247 |
# Command to use when deplibs_check_method == file_magic.
|
|
|
8248 |
file_magic_cmd=$lt_file_magic_cmd
|
|
|
8249 |
|
|
|
8250 |
# Flag that allows shared libraries with undefined symbols to be built.
|
|
|
8251 |
allow_undefined_flag=$lt_allow_undefined_flag
|
|
|
8252 |
|
|
|
8253 |
# Flag that forces no undefined symbols.
|
|
|
8254 |
no_undefined_flag=$lt_no_undefined_flag
|
|
|
8255 |
|
|
|
8256 |
# Commands used to finish a libtool library installation in a directory.
|
|
|
8257 |
finish_cmds=$lt_finish_cmds
|
|
|
8258 |
|
|
|
8259 |
# Same as above, but a single script fragment to be evaled but not shown.
|
|
|
8260 |
finish_eval=$lt_finish_eval
|
|
|
8261 |
|
|
|
8262 |
# Take the output of nm and produce a listing of raw symbols and C names.
|
|
|
8263 |
global_symbol_pipe=$lt_global_symbol_pipe
|
|
|
8264 |
|
|
|
8265 |
# Transform the output of nm in a proper C declaration
|
|
|
8266 |
global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
|
|
|
8267 |
|
|
|
8268 |
# Transform the output of nm in a C name address pair
|
|
|
8269 |
global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
|
|
|
8270 |
|
|
|
8271 |
# This is the shared library runtime path variable.
|
|
|
8272 |
runpath_var=$runpath_var
|
|
|
8273 |
|
|
|
8274 |
# This is the shared library path variable.
|
|
|
8275 |
shlibpath_var=$shlibpath_var
|
|
|
8276 |
|
|
|
8277 |
# Is shlibpath searched before the hard-coded library search path?
|
|
|
8278 |
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
|
|
|
8279 |
|
|
|
8280 |
# How to hardcode a shared library path into an executable.
|
|
|
8281 |
hardcode_action=$hardcode_action
|
|
|
8282 |
|
|
|
8283 |
# Whether we should hardcode library paths into libraries.
|
|
|
8284 |
hardcode_into_libs=$hardcode_into_libs
|
|
|
8285 |
|
|
|
8286 |
# Flag to hardcode \$libdir into a binary during linking.
|
|
|
8287 |
# This must work even if \$libdir does not exist.
|
|
|
8288 |
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
|
|
|
8289 |
|
|
|
8290 |
# Whether we need a single -rpath flag with a separated argument.
|
|
|
8291 |
hardcode_libdir_separator=$lt_hardcode_libdir_separator
|
|
|
8292 |
|
|
|
8293 |
# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
|
|
|
8294 |
# resulting binary.
|
|
|
8295 |
hardcode_direct=$hardcode_direct
|
|
|
8296 |
|
|
|
8297 |
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
|
|
|
8298 |
# resulting binary.
|
|
|
8299 |
hardcode_minus_L=$hardcode_minus_L
|
|
|
8300 |
|
|
|
8301 |
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
|
|
|
8302 |
# the resulting binary.
|
|
|
8303 |
hardcode_shlibpath_var=$hardcode_shlibpath_var
|
|
|
8304 |
|
|
|
8305 |
# Variables whose values should be saved in libtool wrapper scripts and
|
|
|
8306 |
# restored at relink time.
|
|
|
8307 |
variables_saved_for_relink="$variables_saved_for_relink"
|
|
|
8308 |
|
|
|
8309 |
# Whether libtool must link a program against all its dependency libraries.
|
|
|
8310 |
link_all_deplibs=$link_all_deplibs
|
|
|
8311 |
|
|
|
8312 |
# Compile-time system search path for libraries
|
|
|
8313 |
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
|
|
|
8314 |
|
|
|
8315 |
# Run-time system search path for libraries
|
|
|
8316 |
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
|
|
|
8317 |
|
|
|
8318 |
# Fix the shell variable \$srcfile for the compiler.
|
|
|
8319 |
fix_srcfile_path="$fix_srcfile_path"
|
|
|
8320 |
|
|
|
8321 |
# Set to yes if exported symbols are required.
|
|
|
8322 |
always_export_symbols=$always_export_symbols
|
|
|
8323 |
|
|
|
8324 |
# The commands to list exported symbols.
|
|
|
8325 |
export_symbols_cmds=$lt_export_symbols_cmds
|
|
|
8326 |
|
|
|
8327 |
# The commands to extract the exported symbol list from a shared archive.
|
|
|
8328 |
extract_expsyms_cmds=$lt_extract_expsyms_cmds
|
|
|
8329 |
|
|
|
8330 |
# Symbols that should not be listed in the preloaded symbols.
|
|
|
8331 |
exclude_expsyms=$lt_exclude_expsyms
|
|
|
8332 |
|
|
|
8333 |
# Symbols that must always be exported.
|
|
|
8334 |
include_expsyms=$lt_include_expsyms
|
|
|
8335 |
|
|
|
8336 |
# ### END LIBTOOL CONFIG
|
|
|
8337 |
|
|
|
8338 |
__EOF__
|
|
|
8339 |
|
|
|
8340 |
case $host_os in
|
11519 |
case $host_os in
|
8341 |
aix3*)
|
11520 |
aix3*)
|
8342 |
cat <<\EOF >> "${ofile}T"
|
11521 |
test "$enable_shared" = yes && enable_static=no
|
|
|
11522 |
if test -n "$RANLIB"; then
|
|
|
11523 |
archive_cmds="$archive_cmds~\$RANLIB \$lib"
|
|
|
11524 |
postinstall_cmds='$RANLIB $lib'
|
|
|
11525 |
fi
|
|
|
11526 |
;;
|
8343 |
|
11527 |
|
8344 |
# AIX sometimes has problems with the GCC collect2 program. For some
|
11528 |
aix[4-9]*)
|
8345 |
# reason, if we set the COLLECT_NAMES environment variable, the problems
|
11529 |
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
|
8346 |
# vanish in a puff of smoke.
|
11530 |
test "$enable_shared" = yes && enable_static=no
|
8347 |
if test "X${COLLECT_NAMES+set}" != Xset; then
|
11531 |
fi
|
8348 |
COLLECT_NAMES=
|
|
|
8349 |
export COLLECT_NAMES
|
|
|
8350 |
fi
|
|
|
8351 |
EOF
|
|
|
8352 |
;;
|
11532 |
;;
|
8353 |
esac
|
11533 |
esac
|
|
|
11534 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
|
|
|
11535 |
$as_echo "$enable_shared" >&6; }
|
8354 |
|
11536 |
|
8355 |
case $host_os in
|
11537 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
|
8356 |
cygwin* | mingw* | pw32* | os2*)
|
11538 |
$as_echo_n "checking whether to build static libraries... " >&6; }
|
8357 |
cat <<'EOF' >> "${ofile}T"
|
11539 |
# Make sure either enable_shared or enable_static is yes.
|
8358 |
# This is a source program that is used to create dlls on Windows
|
11540 |
test "$enable_shared" = yes || enable_static=yes
|
8359 |
# Don't remove nor modify the starting and closing comments
|
11541 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
|
8360 |
# /* ltdll.c starts here */
|
11542 |
$as_echo "$enable_static" >&6; }
|
8361 |
# #define WIN32_LEAN_AND_MEAN
|
|
|
8362 |
# #include <windows.h>
|
|
|
8363 |
# #undef WIN32_LEAN_AND_MEAN
|
|
|
8364 |
# #include <stdio.h>
|
|
|
8365 |
#
|
|
|
8366 |
# #ifndef __CYGWIN__
|
|
|
8367 |
# # ifdef __CYGWIN32__
|
|
|
8368 |
# # define __CYGWIN__ __CYGWIN32__
|
|
|
8369 |
# # endif
|
|
|
8370 |
# #endif
|
|
|
8371 |
#
|
|
|
8372 |
# #ifdef __cplusplus
|
|
|
8373 |
# extern "C" {
|
|
|
8374 |
# #endif
|
|
|
8375 |
# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
|
|
|
8376 |
# #ifdef __cplusplus
|
|
|
8377 |
# }
|
|
|
8378 |
# #endif
|
|
|
8379 |
#
|
|
|
8380 |
# #ifdef __CYGWIN__
|
|
|
8381 |
# #include <cygwin/cygwin_dll.h>
|
|
|
8382 |
# DECLARE_CYGWIN_DLL( DllMain );
|
|
|
8383 |
# #endif
|
|
|
8384 |
# HINSTANCE __hDllInstance_base;
|
|
|
8385 |
#
|
|
|
8386 |
# BOOL APIENTRY
|
|
|
8387 |
# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
|
|
|
8388 |
# {
|
|
|
8389 |
# __hDllInstance_base = hInst;
|
|
|
8390 |
# return TRUE;
|
|
|
8391 |
# }
|
|
|
8392 |
# /* ltdll.c ends here */
|
|
|
8393 |
# This is a source program that is used to create import libraries
|
|
|
8394 |
# on Windows for dlls which lack them. Don't remove nor modify the
|
|
|
8395 |
# starting and closing comments
|
|
|
8396 |
# /* impgen.c starts here */
|
|
|
8397 |
# /* Copyright (C) 1999-2000 Free Software Foundation, Inc.
|
|
|
8398 |
#
|
|
|
8399 |
# This file is part of GNU libtool.
|
|
|
8400 |
#
|
|
|
8401 |
# This program is free software; you can redistribute it and/or modify
|
|
|
8402 |
# it under the terms of the GNU General Public License as published by
|
|
|
8403 |
# the Free Software Foundation; either version 2 of the License, or
|
|
|
8404 |
# (at your option) any later version.
|
|
|
8405 |
#
|
|
|
8406 |
# This program is distributed in the hope that it will be useful,
|
|
|
8407 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
8408 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
8409 |
# GNU General Public License for more details.
|
|
|
8410 |
#
|
|
|
8411 |
# You should have received a copy of the GNU General Public License
|
|
|
8412 |
# along with this program; if not, write to the Free Software
|
|
|
8413 |
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
8414 |
# */
|
|
|
8415 |
#
|
|
|
8416 |
# #include <stdio.h> /* for printf() */
|
|
|
8417 |
# #include <unistd.h> /* for open(), lseek(), read() */
|
|
|
8418 |
# #include <fcntl.h> /* for O_RDONLY, O_BINARY */
|
|
|
8419 |
# #include <string.h> /* for strdup() */
|
|
|
8420 |
#
|
|
|
8421 |
# /* O_BINARY isn't required (or even defined sometimes) under Unix */
|
|
|
8422 |
# #ifndef O_BINARY
|
|
|
8423 |
# #define O_BINARY 0
|
|
|
8424 |
# #endif
|
|
|
8425 |
#
|
|
|
8426 |
# static unsigned int
|
|
|
8427 |
# pe_get16 (fd, offset)
|
|
|
8428 |
# int fd;
|
|
|
8429 |
# int offset;
|
|
|
8430 |
# {
|
|
|
8431 |
# unsigned char b[2];
|
|
|
8432 |
# lseek (fd, offset, SEEK_SET);
|
|
|
8433 |
# read (fd, b, 2);
|
|
|
8434 |
# return b[0] + (b[1]<<8);
|
|
|
8435 |
# }
|
|
|
8436 |
#
|
|
|
8437 |
# static unsigned int
|
|
|
8438 |
# pe_get32 (fd, offset)
|
|
|
8439 |
# int fd;
|
|
|
8440 |
# int offset;
|
|
|
8441 |
# {
|
|
|
8442 |
# unsigned char b[4];
|
|
|
8443 |
# lseek (fd, offset, SEEK_SET);
|
|
|
8444 |
# read (fd, b, 4);
|
|
|
8445 |
# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
|
|
|
8446 |
# }
|
|
|
8447 |
#
|
|
|
8448 |
# static unsigned int
|
|
|
8449 |
# pe_as32 (ptr)
|
|
|
8450 |
# void *ptr;
|
|
|
8451 |
# {
|
|
|
8452 |
# unsigned char *b = ptr;
|
|
|
8453 |
# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
|
|
|
8454 |
# }
|
|
|
8455 |
#
|
|
|
8456 |
# int
|
|
|
8457 |
# main (argc, argv)
|
|
|
8458 |
# int argc;
|
|
|
8459 |
# char *argv[];
|
|
|
8460 |
# {
|
|
|
8461 |
# int dll;
|
|
|
8462 |
# unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
|
|
|
8463 |
# unsigned long export_rva, export_size, nsections, secptr, expptr;
|
|
|
8464 |
# unsigned long name_rvas, nexp;
|
|
|
8465 |
# unsigned char *expdata, *erva;
|
|
|
8466 |
# char *filename, *dll_name;
|
|
|
8467 |
#
|
|
|
8468 |
# filename = argv[1];
|
|
|
8469 |
#
|
|
|
8470 |
# dll = open(filename, O_RDONLY|O_BINARY);
|
|
|
8471 |
# if (dll < 1)
|
|
|
8472 |
# return 1;
|
|
|
8473 |
#
|
|
|
8474 |
# dll_name = filename;
|
|
|
8475 |
#
|
|
|
8476 |
# for (i=0; filename[i]; i++)
|
|
|
8477 |
# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':')
|
|
|
8478 |
# dll_name = filename + i +1;
|
|
|
8479 |
#
|
|
|
8480 |
# pe_header_offset = pe_get32 (dll, 0x3c);
|
|
|
8481 |
# opthdr_ofs = pe_header_offset + 4 + 20;
|
|
|
8482 |
# num_entries = pe_get32 (dll, opthdr_ofs + 92);
|
|
|
8483 |
#
|
|
|
8484 |
# if (num_entries < 1) /* no exports */
|
|
|
8485 |
# return 1;
|
|
|
8486 |
#
|
|
|
8487 |
# export_rva = pe_get32 (dll, opthdr_ofs + 96);
|
|
|
8488 |
# export_size = pe_get32 (dll, opthdr_ofs + 100);
|
|
|
8489 |
# nsections = pe_get16 (dll, pe_header_offset + 4 +2);
|
|
|
8490 |
# secptr = (pe_header_offset + 4 + 20 +
|
|
|
8491 |
# pe_get16 (dll, pe_header_offset + 4 + 16));
|
|
|
8492 |
#
|
|
|
8493 |
# expptr = 0;
|
|
|
8494 |
# for (i = 0; i < nsections; i++)
|
|
|
8495 |
# {
|
|
|
8496 |
# char sname[8];
|
|
|
8497 |
# unsigned long secptr1 = secptr + 40 * i;
|
|
|
8498 |
# unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
|
|
|
8499 |
# unsigned long vsize = pe_get32 (dll, secptr1 + 16);
|
|
|
8500 |
# unsigned long fptr = pe_get32 (dll, secptr1 + 20);
|
|
|
8501 |
# lseek(dll, secptr1, SEEK_SET);
|
|
|
8502 |
# read(dll, sname, 8);
|
|
|
8503 |
# if (vaddr <= export_rva && vaddr+vsize > export_rva)
|
|
|
8504 |
# {
|
|
|
8505 |
# expptr = fptr + (export_rva - vaddr);
|
|
|
8506 |
# if (export_rva + export_size > vaddr + vsize)
|
|
|
8507 |
# export_size = vsize - (export_rva - vaddr);
|
|
|
8508 |
# break;
|
|
|
8509 |
# }
|
|
|
8510 |
# }
|
|
|
8511 |
#
|
|
|
8512 |
# expdata = (unsigned char*)malloc(export_size);
|
|
|
8513 |
# lseek (dll, expptr, SEEK_SET);
|
|
|
8514 |
# read (dll, expdata, export_size);
|
|
|
8515 |
# erva = expdata - export_rva;
|
|
|
8516 |
#
|
|
|
8517 |
# nexp = pe_as32 (expdata+24);
|
|
|
8518 |
# name_rvas = pe_as32 (expdata+32);
|
|
|
8519 |
#
|
|
|
8520 |
# printf ("EXPORTS\n");
|
|
|
8521 |
# for (i = 0; i<nexp; i++)
|
|
|
8522 |
# {
|
|
|
8523 |
# unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
|
|
|
8524 |
# printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
|
|
|
8525 |
# }
|
|
|
8526 |
#
|
|
|
8527 |
# return 0;
|
|
|
8528 |
# }
|
|
|
8529 |
# /* impgen.c ends here */
|
|
|
8530 |
|
11543 |
|
8531 |
EOF
|
|
|
8532 |
;;
|
|
|
8533 |
esac
|
|
|
8534 |
|
11544 |
|
8535 |
# We use sed instead of cat because bash on DJGPP gets confused if
|
|
|
8536 |
# if finds mixed CR/LF and LF-only lines. Since sed operates in
|
|
|
8537 |
# text mode, it properly converts lines to CR/LF. This bash problem
|
|
|
8538 |
# is reportedly fixed, but why not run on old versions too?
|
|
|
8539 |
sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
|
|
|
8540 |
|
11545 |
|
8541 |
mv -f "${ofile}T" "$ofile" || \
|
|
|
8542 |
(rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
|
|
|
8543 |
chmod +x "$ofile"
|
|
|
8544 |
fi
|
|
|
8545 |
|
11546 |
|
|
|
11547 |
fi
|
|
|
11548 |
ac_ext=c
|
|
|
11549 |
ac_cpp='$CPP $CPPFLAGS'
|
|
|
11550 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
|
11551 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
|
11552 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
8546 |
|
11553 |
|
|
|
11554 |
CC="$lt_save_CC"
|
8547 |
|
11555 |
|
8548 |
|
11556 |
|
8549 |
|
11557 |
|
8550 |
# This can be used to rebuild libtool when needed
|
|
|
8551 |
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
|
|
|
8552 |
|
11558 |
|
8553 |
# Always use our own libtool.
|
|
|
8554 |
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
|
|
|
8555 |
|
11559 |
|
8556 |
# Prevent multiple expansion
|
11560 |
|
|
|
11561 |
|
|
|
11562 |
|
|
|
11563 |
|
|
|
11564 |
|
|
|
11565 |
|
|
|
11566 |
|
|
|
11567 |
|
|
|
11568 |
|
|
|
11569 |
|
|
|
11570 |
ac_config_commands="$ac_config_commands libtool"
|
|
|
11571 |
|
|
|
11572 |
|
|
|
11573 |
|
|
|
11574 |
|
|
|
11575 |
# Only expand once:
|
8557 |
|
11576 |
|
8558 |
|
11577 |
|
8559 |
|
11578 |
|
8560 |
# Extract the first word of "perl", so it can be a program name with args.
|
11579 |
# Extract the first word of "perl", so it can be a program name with args.
|
8561 |
set dummy perl; ac_word=$2
|
11580 |
set dummy perl; ac_word=$2
|
8562 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
11581 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
8563 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
11582 |
$as_echo_n "checking for $ac_word... " >&6; }
|
8564 |
if test "${ac_cv_path_PERL+set}" = set; then
|
11583 |
if ${ac_cv_path_PERL+:} false; then :
|
8565 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
11584 |
$as_echo_n "(cached) " >&6
|
8566 |
else
|
11585 |
else
|
8567 |
case $PERL in
|
11586 |
case $PERL in
|
8568 |
[\\/]* | ?:[\\/]*)
|
11587 |
[\\/]* | ?:[\\/]*)
|
8569 |
ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
|
11588 |
ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
|
8570 |
;;
|
11589 |
;;
|
|
... |
|
... |
8572 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
11591 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
8573 |
for as_dir in $PATH
|
11592 |
for as_dir in $PATH
|
8574 |
do
|
11593 |
do
|
8575 |
IFS=$as_save_IFS
|
11594 |
IFS=$as_save_IFS
|
8576 |
test -z "$as_dir" && as_dir=.
|
11595 |
test -z "$as_dir" && as_dir=.
|
8577 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
11596 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
8578 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
11597 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
8579 |
ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
|
11598 |
ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
|
8580 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
11599 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
8581 |
break 2
|
11600 |
break 2
|
8582 |
fi
|
11601 |
fi
|
8583 |
done
|
11602 |
done
|
8584 |
done
|
11603 |
done
|
8585 |
IFS=$as_save_IFS
|
11604 |
IFS=$as_save_IFS
|
8586 |
|
11605 |
|
8587 |
test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="/usr/bin/perl"
|
11606 |
test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="/usr/bin/perl"
|
8588 |
;;
|
11607 |
;;
|
8589 |
esac
|
11608 |
esac
|
8590 |
fi
|
11609 |
fi
|
8591 |
PERL=$ac_cv_path_PERL
|
11610 |
PERL=$ac_cv_path_PERL
|
8592 |
if test -n "$PERL"; then
|
11611 |
if test -n "$PERL"; then
|
8593 |
{ echo "$as_me:$LINENO: result: $PERL" >&5
|
11612 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
|
8594 |
echo "${ECHO_T}$PERL" >&6; }
|
11613 |
$as_echo "$PERL" >&6; }
|
8595 |
else
|
11614 |
else
|
8596 |
{ echo "$as_me:$LINENO: result: no" >&5
|
11615 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
8597 |
echo "${ECHO_T}no" >&6; }
|
11616 |
$as_echo "no" >&6; }
|
8598 |
fi
|
11617 |
fi
|
8599 |
|
11618 |
|
8600 |
|
11619 |
|
8601 |
# Extract the first word of "sh", so it can be a program name with args.
|
11620 |
# Extract the first word of "sh", so it can be a program name with args.
|
8602 |
set dummy sh; ac_word=$2
|
11621 |
set dummy sh; ac_word=$2
|
8603 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
11622 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
8604 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
11623 |
$as_echo_n "checking for $ac_word... " >&6; }
|
8605 |
if test "${ac_cv_path_SH+set}" = set; then
|
11624 |
if ${ac_cv_path_SH+:} false; then :
|
8606 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
11625 |
$as_echo_n "(cached) " >&6
|
8607 |
else
|
11626 |
else
|
8608 |
case $SH in
|
11627 |
case $SH in
|
8609 |
[\\/]* | ?:[\\/]*)
|
11628 |
[\\/]* | ?:[\\/]*)
|
8610 |
ac_cv_path_SH="$SH" # Let the user override the test with a path.
|
11629 |
ac_cv_path_SH="$SH" # Let the user override the test with a path.
|
8611 |
;;
|
11630 |
;;
|
|
... |
|
... |
8613 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
11632 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
8614 |
for as_dir in $PATH
|
11633 |
for as_dir in $PATH
|
8615 |
do
|
11634 |
do
|
8616 |
IFS=$as_save_IFS
|
11635 |
IFS=$as_save_IFS
|
8617 |
test -z "$as_dir" && as_dir=.
|
11636 |
test -z "$as_dir" && as_dir=.
|
8618 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
11637 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
8619 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
11638 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
8620 |
ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext"
|
11639 |
ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext"
|
8621 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
11640 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
8622 |
break 2
|
11641 |
break 2
|
8623 |
fi
|
11642 |
fi
|
8624 |
done
|
11643 |
done
|
8625 |
done
|
11644 |
done
|
8626 |
IFS=$as_save_IFS
|
11645 |
IFS=$as_save_IFS
|
8627 |
|
11646 |
|
8628 |
test -z "$ac_cv_path_SH" && ac_cv_path_SH="/bin/sh"
|
11647 |
test -z "$ac_cv_path_SH" && ac_cv_path_SH="/bin/sh"
|
8629 |
;;
|
11648 |
;;
|
8630 |
esac
|
11649 |
esac
|
8631 |
fi
|
11650 |
fi
|
8632 |
SH=$ac_cv_path_SH
|
11651 |
SH=$ac_cv_path_SH
|
8633 |
if test -n "$SH"; then
|
11652 |
if test -n "$SH"; then
|
8634 |
{ echo "$as_me:$LINENO: result: $SH" >&5
|
11653 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SH" >&5
|
8635 |
echo "${ECHO_T}$SH" >&6; }
|
11654 |
$as_echo "$SH" >&6; }
|
8636 |
else
|
11655 |
else
|
8637 |
{ echo "$as_me:$LINENO: result: no" >&5
|
11656 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
8638 |
echo "${ECHO_T}no" >&6; }
|
11657 |
$as_echo "no" >&6; }
|
8639 |
fi
|
11658 |
fi
|
8640 |
|
11659 |
|
8641 |
|
11660 |
|
8642 |
|
11661 |
|
|
|
11662 |
|
8643 |
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
11663 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
8644 |
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
|
11664 |
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
|
8645 |
# Check whether --enable-maintainer-mode was given.
|
11665 |
# Check whether --enable-maintainer-mode was given.
|
8646 |
if test "${enable_maintainer_mode+set}" = set; then
|
11666 |
if test "${enable_maintainer_mode+set}" = set; then :
|
8647 |
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
|
11667 |
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
|
8648 |
else
|
11668 |
else
|
8649 |
USE_MAINTAINER_MODE=no
|
11669 |
USE_MAINTAINER_MODE=no
|
8650 |
fi
|
11670 |
fi
|
8651 |
|
11671 |
|
8652 |
{ echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
|
11672 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
|
8653 |
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
|
11673 |
$as_echo "$USE_MAINTAINER_MODE" >&6; }
|
8654 |
|
|
|
8655 |
|
|
|
8656 |
if test $USE_MAINTAINER_MODE = yes; then
|
11674 |
if test $USE_MAINTAINER_MODE = yes; then
|
8657 |
MAINTAINER_MODE_TRUE=
|
11675 |
MAINTAINER_MODE_TRUE=
|
8658 |
MAINTAINER_MODE_FALSE='#'
|
11676 |
MAINTAINER_MODE_FALSE='#'
|
8659 |
else
|
11677 |
else
|
8660 |
MAINTAINER_MODE_TRUE='#'
|
11678 |
MAINTAINER_MODE_TRUE='#'
|
8661 |
MAINTAINER_MODE_FALSE=
|
11679 |
MAINTAINER_MODE_FALSE=
|
8662 |
fi
|
11680 |
fi
|
|
|
11681 |
|
8663 |
MAINT=$MAINTAINER_MODE_TRUE
|
11682 |
MAINT=$MAINTAINER_MODE_TRUE
|
8664 |
|
11683 |
|
8665 |
|
11684 |
|
8666 |
|
11685 |
|
8667 |
|
11686 |
|
|
... |
|
... |
8679 |
prefix="$acl_final_prefix"
|
11698 |
prefix="$acl_final_prefix"
|
8680 |
eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
|
11699 |
eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
|
8681 |
prefix="$acl_save_prefix"
|
11700 |
prefix="$acl_save_prefix"
|
8682 |
|
11701 |
|
8683 |
|
11702 |
|
|
|
11703 |
|
8684 |
# Check whether --with-gnu-ld was given.
|
11704 |
# Check whether --with-gnu-ld was given.
|
8685 |
if test "${with_gnu_ld+set}" = set; then
|
11705 |
if test "${with_gnu_ld+set}" = set; then :
|
8686 |
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
|
11706 |
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
|
8687 |
else
|
11707 |
else
|
8688 |
with_gnu_ld=no
|
11708 |
with_gnu_ld=no
|
|
|
11709 |
fi
|
|
|
11710 |
|
|
|
11711 |
# Prepare PATH_SEPARATOR.
|
|
|
11712 |
# The user is always right.
|
|
|
11713 |
if test "${PATH_SEPARATOR+set}" != set; then
|
|
|
11714 |
# Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
|
|
|
11715 |
# contains only /bin. Note that ksh looks also at the FPATH variable,
|
|
|
11716 |
# so we have to set that as well for the test.
|
|
|
11717 |
PATH_SEPARATOR=:
|
|
|
11718 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
|
|
|
11719 |
&& { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
|
|
|
11720 |
|| PATH_SEPARATOR=';'
|
|
|
11721 |
}
|
8689 |
fi
|
11722 |
fi
|
8690 |
|
11723 |
|
8691 |
ac_prog=ld
|
11724 |
ac_prog=ld
|
8692 |
if test "$GCC" = yes; then
|
11725 |
if test "$GCC" = yes; then
|
8693 |
# Check if gcc -print-prog-name=ld gives a path.
|
11726 |
# Check if gcc -print-prog-name=ld gives a path.
|
8694 |
{ echo "$as_me:$LINENO: checking for ld used by GCC" >&5
|
11727 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
|
8695 |
echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
|
11728 |
$as_echo_n "checking for ld used by $CC... " >&6; }
|
8696 |
case $host in
|
11729 |
case $host in
|
8697 |
*-*-mingw*)
|
11730 |
*-*-mingw*)
|
8698 |
# gcc leaves a trailing carriage return which upsets mingw
|
11731 |
# gcc leaves a trailing carriage return which upsets mingw
|
8699 |
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
|
11732 |
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
|
8700 |
*)
|
11733 |
*)
|
8701 |
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
|
11734 |
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
|
8702 |
esac
|
11735 |
esac
|
8703 |
case $ac_prog in
|
11736 |
case $ac_prog in
|
8704 |
# Accept absolute paths.
|
11737 |
# Accept absolute paths.
|
8705 |
[\\/]* | [A-Za-z]:[\\/]*)
|
11738 |
[\\/]* | ?:[\\/]*)
|
8706 |
re_direlt='/[^/][^/]*/\.\./'
|
11739 |
re_direlt='/[^/][^/]*/\.\./'
|
8707 |
# Canonicalize the path of ld
|
11740 |
# Canonicalize the pathname of ld
|
8708 |
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
|
11741 |
ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
|
8709 |
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
|
11742 |
while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
|
8710 |
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
|
11743 |
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
|
8711 |
done
|
11744 |
done
|
8712 |
test -z "$LD" && LD="$ac_prog"
|
11745 |
test -z "$LD" && LD="$ac_prog"
|
8713 |
;;
|
11746 |
;;
|
8714 |
"")
|
11747 |
"")
|
8715 |
# If it fails, then pretend we aren't using GCC.
|
11748 |
# If it fails, then pretend we aren't using GCC.
|
|
... |
|
... |
8719 |
# If it is relative, then search for the first ld in PATH.
|
11752 |
# If it is relative, then search for the first ld in PATH.
|
8720 |
with_gnu_ld=unknown
|
11753 |
with_gnu_ld=unknown
|
8721 |
;;
|
11754 |
;;
|
8722 |
esac
|
11755 |
esac
|
8723 |
elif test "$with_gnu_ld" = yes; then
|
11756 |
elif test "$with_gnu_ld" = yes; then
|
8724 |
{ echo "$as_me:$LINENO: checking for GNU ld" >&5
|
11757 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
|
8725 |
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
|
11758 |
$as_echo_n "checking for GNU ld... " >&6; }
|
8726 |
else
|
11759 |
else
|
8727 |
{ echo "$as_me:$LINENO: checking for non-GNU ld" >&5
|
11760 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
|
8728 |
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
|
11761 |
$as_echo_n "checking for non-GNU ld... " >&6; }
|
8729 |
fi
|
11762 |
fi
|
8730 |
if test "${acl_cv_path_LD+set}" = set; then
|
11763 |
if ${acl_cv_path_LD+:} false; then :
|
8731 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
11764 |
$as_echo_n "(cached) " >&6
|
8732 |
else
|
11765 |
else
|
8733 |
if test -z "$LD"; then
|
11766 |
if test -z "$LD"; then
|
8734 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
|
11767 |
acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
|
8735 |
for ac_dir in $PATH; do
|
11768 |
for ac_dir in $PATH; do
|
|
|
11769 |
IFS="$acl_save_ifs"
|
8736 |
test -z "$ac_dir" && ac_dir=.
|
11770 |
test -z "$ac_dir" && ac_dir=.
|
8737 |
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
|
11771 |
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
|
8738 |
acl_cv_path_LD="$ac_dir/$ac_prog"
|
11772 |
acl_cv_path_LD="$ac_dir/$ac_prog"
|
8739 |
# Check to see if the program is GNU ld. I'd rather use --version,
|
11773 |
# Check to see if the program is GNU ld. I'd rather use --version,
|
8740 |
# but apparently some GNU ld's only accept -v.
|
11774 |
# but apparently some variants of GNU ld only accept -v.
|
8741 |
# Break only if it was the GNU/non-GNU ld that we prefer.
|
11775 |
# Break only if it was the GNU/non-GNU ld that we prefer.
|
8742 |
if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
|
11776 |
case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
|
|
|
11777 |
*GNU* | *'with BFD'*)
|
8743 |
test "$with_gnu_ld" != no && break
|
11778 |
test "$with_gnu_ld" != no && break
|
8744 |
else
|
11779 |
;;
|
|
|
11780 |
*)
|
8745 |
test "$with_gnu_ld" != yes && break
|
11781 |
test "$with_gnu_ld" != yes && break
|
8746 |
fi
|
11782 |
;;
|
|
|
11783 |
esac
|
8747 |
fi
|
11784 |
fi
|
8748 |
done
|
11785 |
done
|
8749 |
IFS="$ac_save_ifs"
|
11786 |
IFS="$acl_save_ifs"
|
8750 |
else
|
11787 |
else
|
8751 |
acl_cv_path_LD="$LD" # Let the user override the test with a path.
|
11788 |
acl_cv_path_LD="$LD" # Let the user override the test with a path.
|
8752 |
fi
|
11789 |
fi
|
8753 |
fi
|
11790 |
fi
|
8754 |
|
11791 |
|
8755 |
LD="$acl_cv_path_LD"
|
11792 |
LD="$acl_cv_path_LD"
|
8756 |
if test -n "$LD"; then
|
11793 |
if test -n "$LD"; then
|
8757 |
{ echo "$as_me:$LINENO: result: $LD" >&5
|
11794 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
|
8758 |
echo "${ECHO_T}$LD" >&6; }
|
11795 |
$as_echo "$LD" >&6; }
|
8759 |
else
|
11796 |
else
|
8760 |
{ echo "$as_me:$LINENO: result: no" >&5
|
11797 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
8761 |
echo "${ECHO_T}no" >&6; }
|
11798 |
$as_echo "no" >&6; }
|
8762 |
fi
|
11799 |
fi
|
8763 |
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
|
11800 |
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
|
8764 |
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
|
|
|
8765 |
{ (exit 1); exit 1; }; }
|
|
|
8766 |
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
|
11801 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
|
8767 |
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
|
11802 |
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
|
8768 |
if test "${acl_cv_prog_gnu_ld+set}" = set; then
|
11803 |
if ${acl_cv_prog_gnu_ld+:} false; then :
|
8769 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
11804 |
$as_echo_n "(cached) " >&6
|
8770 |
else
|
11805 |
else
|
8771 |
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
|
11806 |
# I'd rather use --version here, but apparently some GNU lds only accept -v.
|
8772 |
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
|
11807 |
case `$LD -v 2>&1 </dev/null` in
|
|
|
11808 |
*GNU* | *'with BFD'*)
|
8773 |
acl_cv_prog_gnu_ld=yes
|
11809 |
acl_cv_prog_gnu_ld=yes
|
8774 |
else
|
11810 |
;;
|
|
|
11811 |
*)
|
8775 |
acl_cv_prog_gnu_ld=no
|
11812 |
acl_cv_prog_gnu_ld=no
|
|
|
11813 |
;;
|
|
|
11814 |
esac
|
8776 |
fi
|
11815 |
fi
|
8777 |
fi
|
|
|
8778 |
{ echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
|
11816 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
|
8779 |
echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; }
|
11817 |
$as_echo "$acl_cv_prog_gnu_ld" >&6; }
|
8780 |
with_gnu_ld=$acl_cv_prog_gnu_ld
|
11818 |
with_gnu_ld=$acl_cv_prog_gnu_ld
|
8781 |
|
11819 |
|
8782 |
|
11820 |
|
8783 |
|
11821 |
|
|
|
11822 |
|
8784 |
{ echo "$as_me:$LINENO: checking for shared library run path origin" >&5
|
11823 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
|
8785 |
echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; }
|
11824 |
$as_echo_n "checking for shared library run path origin... " >&6; }
|
8786 |
if test "${acl_cv_rpath+set}" = set; then
|
11825 |
if ${acl_cv_rpath+:} false; then :
|
8787 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
11826 |
$as_echo_n "(cached) " >&6
|
8788 |
else
|
11827 |
else
|
8789 |
|
11828 |
|
8790 |
CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
|
11829 |
CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
|
8791 |
${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
|
11830 |
${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
|
8792 |
. ./conftest.sh
|
11831 |
. ./conftest.sh
|
8793 |
rm -f ./conftest.sh
|
11832 |
rm -f ./conftest.sh
|
8794 |
acl_cv_rpath=done
|
11833 |
acl_cv_rpath=done
|
8795 |
|
11834 |
|
8796 |
fi
|
11835 |
fi
|
8797 |
{ echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
|
11836 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
|
8798 |
echo "${ECHO_T}$acl_cv_rpath" >&6; }
|
11837 |
$as_echo "$acl_cv_rpath" >&6; }
|
8799 |
wl="$acl_cv_wl"
|
11838 |
wl="$acl_cv_wl"
|
8800 |
libext="$acl_cv_libext"
|
11839 |
acl_libext="$acl_cv_libext"
|
8801 |
shlibext="$acl_cv_shlibext"
|
11840 |
acl_shlibext="$acl_cv_shlibext"
|
|
|
11841 |
acl_libname_spec="$acl_cv_libname_spec"
|
|
|
11842 |
acl_library_names_spec="$acl_cv_library_names_spec"
|
8802 |
hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
|
11843 |
acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
|
8803 |
hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
|
11844 |
acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
|
8804 |
hardcode_direct="$acl_cv_hardcode_direct"
|
11845 |
acl_hardcode_direct="$acl_cv_hardcode_direct"
|
8805 |
hardcode_minus_L="$acl_cv_hardcode_minus_L"
|
11846 |
acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
|
8806 |
sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec"
|
|
|
8807 |
sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec"
|
|
|
8808 |
# Check whether --enable-rpath was given.
|
11847 |
# Check whether --enable-rpath was given.
|
8809 |
if test "${enable_rpath+set}" = set; then
|
11848 |
if test "${enable_rpath+set}" = set; then :
|
8810 |
enableval=$enable_rpath; :
|
11849 |
enableval=$enable_rpath; :
|
8811 |
else
|
11850 |
else
|
8812 |
enable_rpath=yes
|
11851 |
enable_rpath=yes
|
8813 |
fi
|
11852 |
fi
|
|
|
11853 |
|
|
|
11854 |
|
|
|
11855 |
|
|
|
11856 |
|
|
|
11857 |
acl_libdirstem=lib
|
|
|
11858 |
acl_libdirstem2=
|
|
|
11859 |
case "$host_os" in
|
|
|
11860 |
solaris*)
|
|
|
11861 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
|
|
|
11862 |
$as_echo_n "checking for 64-bit host... " >&6; }
|
|
|
11863 |
if ${gl_cv_solaris_64bit+:} false; then :
|
|
|
11864 |
$as_echo_n "(cached) " >&6
|
|
|
11865 |
else
|
|
|
11866 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
11867 |
/* end confdefs.h. */
|
|
|
11868 |
|
|
|
11869 |
#ifdef _LP64
|
|
|
11870 |
sixtyfour bits
|
|
|
11871 |
#endif
|
|
|
11872 |
|
|
|
11873 |
_ACEOF
|
|
|
11874 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
|
11875 |
$EGREP "sixtyfour bits" >/dev/null 2>&1; then :
|
|
|
11876 |
gl_cv_solaris_64bit=yes
|
|
|
11877 |
else
|
|
|
11878 |
gl_cv_solaris_64bit=no
|
|
|
11879 |
fi
|
|
|
11880 |
rm -f conftest*
|
|
|
11881 |
|
|
|
11882 |
|
|
|
11883 |
fi
|
|
|
11884 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
|
|
|
11885 |
$as_echo "$gl_cv_solaris_64bit" >&6; }
|
|
|
11886 |
if test $gl_cv_solaris_64bit = yes; then
|
|
|
11887 |
acl_libdirstem=lib/64
|
|
|
11888 |
case "$host_cpu" in
|
|
|
11889 |
sparc*) acl_libdirstem2=lib/sparcv9 ;;
|
|
|
11890 |
i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
|
|
|
11891 |
esac
|
|
|
11892 |
fi
|
|
|
11893 |
;;
|
|
|
11894 |
*)
|
|
|
11895 |
searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
|
|
|
11896 |
if test -n "$searchpath"; then
|
|
|
11897 |
acl_save_IFS="${IFS= }"; IFS=":"
|
|
|
11898 |
for searchdir in $searchpath; do
|
|
|
11899 |
if test -d "$searchdir"; then
|
|
|
11900 |
case "$searchdir" in
|
|
|
11901 |
*/lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
|
|
|
11902 |
*/../ | */.. )
|
|
|
11903 |
# Better ignore directories of this form. They are misleading.
|
|
|
11904 |
;;
|
|
|
11905 |
*) searchdir=`cd "$searchdir" && pwd`
|
|
|
11906 |
case "$searchdir" in
|
|
|
11907 |
*/lib64 ) acl_libdirstem=lib64 ;;
|
|
|
11908 |
esac ;;
|
|
|
11909 |
esac
|
|
|
11910 |
fi
|
|
|
11911 |
done
|
|
|
11912 |
IFS="$acl_save_IFS"
|
|
|
11913 |
fi
|
|
|
11914 |
;;
|
|
|
11915 |
esac
|
|
|
11916 |
test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
|
|
|
11917 |
|
|
|
11918 |
|
|
|
11919 |
|
|
|
11920 |
|
8814 |
|
11921 |
|
8815 |
|
11922 |
|
8816 |
|
11923 |
|
8817 |
|
11924 |
|
8818 |
|
11925 |
|
|
... |
|
... |
8832 |
exec_prefix="$acl_save_exec_prefix"
|
11939 |
exec_prefix="$acl_save_exec_prefix"
|
8833 |
prefix="$acl_save_prefix"
|
11940 |
prefix="$acl_save_prefix"
|
8834 |
|
11941 |
|
8835 |
|
11942 |
|
8836 |
# Check whether --with-libiconv-prefix was given.
|
11943 |
# Check whether --with-libiconv-prefix was given.
|
8837 |
if test "${with_libiconv_prefix+set}" = set; then
|
11944 |
if test "${with_libiconv_prefix+set}" = set; then :
|
8838 |
withval=$with_libiconv_prefix;
|
11945 |
withval=$with_libiconv_prefix;
|
8839 |
if test "X$withval" = "Xno"; then
|
11946 |
if test "X$withval" = "Xno"; then
|
8840 |
use_additional=no
|
11947 |
use_additional=no
|
8841 |
else
|
11948 |
else
|
8842 |
if test "X$withval" = "X"; then
|
11949 |
if test "X$withval" = "X"; then
|
|
... |
|
... |
8852 |
exec_prefix="$acl_save_exec_prefix"
|
11959 |
exec_prefix="$acl_save_exec_prefix"
|
8853 |
prefix="$acl_save_prefix"
|
11960 |
prefix="$acl_save_prefix"
|
8854 |
|
11961 |
|
8855 |
else
|
11962 |
else
|
8856 |
additional_includedir="$withval/include"
|
11963 |
additional_includedir="$withval/include"
|
8857 |
additional_libdir="$withval/lib"
|
11964 |
additional_libdir="$withval/$acl_libdirstem"
|
|
|
11965 |
if test "$acl_libdirstem2" != "$acl_libdirstem" \
|
|
|
11966 |
&& ! test -d "$withval/$acl_libdirstem"; then
|
|
|
11967 |
additional_libdir="$withval/$acl_libdirstem2"
|
|
|
11968 |
fi
|
8858 |
fi
|
11969 |
fi
|
8859 |
fi
|
11970 |
fi
|
8860 |
|
11971 |
|
8861 |
fi
|
11972 |
fi
|
8862 |
|
11973 |
|
8863 |
LIBICONV=
|
11974 |
LIBICONV=
|
8864 |
LTLIBICONV=
|
11975 |
LTLIBICONV=
|
8865 |
INCICONV=
|
11976 |
INCICONV=
|
|
|
11977 |
LIBICONV_PREFIX=
|
|
|
11978 |
HAVE_LIBICONV=
|
8866 |
rpathdirs=
|
11979 |
rpathdirs=
|
8867 |
ltrpathdirs=
|
11980 |
ltrpathdirs=
|
8868 |
names_already_handled=
|
11981 |
names_already_handled=
|
8869 |
names_next_round='iconv '
|
11982 |
names_next_round='iconv '
|
8870 |
while test -n "$names_next_round"; do
|
11983 |
while test -n "$names_next_round"; do
|
|
... |
|
... |
8878 |
break
|
11991 |
break
|
8879 |
fi
|
11992 |
fi
|
8880 |
done
|
11993 |
done
|
8881 |
if test -z "$already_handled"; then
|
11994 |
if test -z "$already_handled"; then
|
8882 |
names_already_handled="$names_already_handled $name"
|
11995 |
names_already_handled="$names_already_handled $name"
|
8883 |
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
|
11996 |
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
|
8884 |
eval value=\"\$HAVE_LIB$uppername\"
|
11997 |
eval value=\"\$HAVE_LIB$uppername\"
|
8885 |
if test -n "$value"; then
|
11998 |
if test -n "$value"; then
|
8886 |
if test "$value" = yes; then
|
11999 |
if test "$value" = yes; then
|
8887 |
eval value=\"\$LIB$uppername\"
|
12000 |
eval value=\"\$LIB$uppername\"
|
8888 |
test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
|
12001 |
test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
|
|
... |
|
... |
8894 |
else
|
12007 |
else
|
8895 |
found_dir=
|
12008 |
found_dir=
|
8896 |
found_la=
|
12009 |
found_la=
|
8897 |
found_so=
|
12010 |
found_so=
|
8898 |
found_a=
|
12011 |
found_a=
|
|
|
12012 |
eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
|
|
|
12013 |
if test -n "$acl_shlibext"; then
|
|
|
12014 |
shrext=".$acl_shlibext" # typically: shrext=.so
|
|
|
12015 |
else
|
|
|
12016 |
shrext=
|
|
|
12017 |
fi
|
8899 |
if test $use_additional = yes; then
|
12018 |
if test $use_additional = yes; then
|
8900 |
if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
|
|
|
8901 |
found_dir="$additional_libdir"
|
12019 |
dir="$additional_libdir"
|
|
|
12020 |
if test -n "$acl_shlibext"; then
|
|
|
12021 |
if test -f "$dir/$libname$shrext"; then
|
|
|
12022 |
found_dir="$dir"
|
8902 |
found_so="$additional_libdir/lib$name.$shlibext"
|
12023 |
found_so="$dir/$libname$shrext"
|
8903 |
if test -f "$additional_libdir/lib$name.la"; then
|
12024 |
else
|
8904 |
found_la="$additional_libdir/lib$name.la"
|
12025 |
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
|
|
|
12026 |
ver=`(cd "$dir" && \
|
|
|
12027 |
for f in "$libname$shrext".*; do echo "$f"; done \
|
|
|
12028 |
| sed -e "s,^$libname$shrext\\\\.,," \
|
|
|
12029 |
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
|
|
|
12030 |
| sed 1q ) 2>/dev/null`
|
|
|
12031 |
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
|
|
|
12032 |
found_dir="$dir"
|
|
|
12033 |
found_so="$dir/$libname$shrext.$ver"
|
|
|
12034 |
fi
|
|
|
12035 |
else
|
|
|
12036 |
eval library_names=\"$acl_library_names_spec\"
|
|
|
12037 |
for f in $library_names; do
|
|
|
12038 |
if test -f "$dir/$f"; then
|
|
|
12039 |
found_dir="$dir"
|
|
|
12040 |
found_so="$dir/$f"
|
|
|
12041 |
break
|
|
|
12042 |
fi
|
|
|
12043 |
done
|
|
|
12044 |
fi
|
8905 |
fi
|
12045 |
fi
|
8906 |
else
|
12046 |
fi
|
|
|
12047 |
if test "X$found_dir" = "X"; then
|
8907 |
if test -f "$additional_libdir/lib$name.$libext"; then
|
12048 |
if test -f "$dir/$libname.$acl_libext"; then
|
8908 |
found_dir="$additional_libdir"
|
12049 |
found_dir="$dir"
|
8909 |
found_a="$additional_libdir/lib$name.$libext"
|
12050 |
found_a="$dir/$libname.$acl_libext"
|
8910 |
if test -f "$additional_libdir/lib$name.la"; then
|
|
|
8911 |
found_la="$additional_libdir/lib$name.la"
|
|
|
8912 |
fi
|
12051 |
fi
|
|
|
12052 |
fi
|
|
|
12053 |
if test "X$found_dir" != "X"; then
|
|
|
12054 |
if test -f "$dir/$libname.la"; then
|
|
|
12055 |
found_la="$dir/$libname.la"
|
8913 |
fi
|
12056 |
fi
|
8914 |
fi
|
12057 |
fi
|
8915 |
fi
|
12058 |
fi
|
8916 |
if test "X$found_dir" = "X"; then
|
12059 |
if test "X$found_dir" = "X"; then
|
8917 |
for x in $LDFLAGS $LTLIBICONV; do
|
12060 |
for x in $LDFLAGS $LTLIBICONV; do
|
|
... |
|
... |
8925 |
prefix="$acl_save_prefix"
|
12068 |
prefix="$acl_save_prefix"
|
8926 |
|
12069 |
|
8927 |
case "$x" in
|
12070 |
case "$x" in
|
8928 |
-L*)
|
12071 |
-L*)
|
8929 |
dir=`echo "X$x" | sed -e 's/^X-L//'`
|
12072 |
dir=`echo "X$x" | sed -e 's/^X-L//'`
|
|
|
12073 |
if test -n "$acl_shlibext"; then
|
8930 |
if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
|
12074 |
if test -f "$dir/$libname$shrext"; then
|
8931 |
found_dir="$dir"
|
12075 |
found_dir="$dir"
|
8932 |
found_so="$dir/lib$name.$shlibext"
|
12076 |
found_so="$dir/$libname$shrext"
|
|
|
12077 |
else
|
|
|
12078 |
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
|
|
|
12079 |
ver=`(cd "$dir" && \
|
|
|
12080 |
for f in "$libname$shrext".*; do echo "$f"; done \
|
|
|
12081 |
| sed -e "s,^$libname$shrext\\\\.,," \
|
|
|
12082 |
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
|
|
|
12083 |
| sed 1q ) 2>/dev/null`
|
|
|
12084 |
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
|
|
|
12085 |
found_dir="$dir"
|
|
|
12086 |
found_so="$dir/$libname$shrext.$ver"
|
|
|
12087 |
fi
|
|
|
12088 |
else
|
|
|
12089 |
eval library_names=\"$acl_library_names_spec\"
|
|
|
12090 |
for f in $library_names; do
|
8933 |
if test -f "$dir/lib$name.la"; then
|
12091 |
if test -f "$dir/$f"; then
|
|
|
12092 |
found_dir="$dir"
|
8934 |
found_la="$dir/lib$name.la"
|
12093 |
found_so="$dir/$f"
|
|
|
12094 |
break
|
|
|
12095 |
fi
|
|
|
12096 |
done
|
|
|
12097 |
fi
|
8935 |
fi
|
12098 |
fi
|
8936 |
else
|
12099 |
fi
|
|
|
12100 |
if test "X$found_dir" = "X"; then
|
8937 |
if test -f "$dir/lib$name.$libext"; then
|
12101 |
if test -f "$dir/$libname.$acl_libext"; then
|
8938 |
found_dir="$dir"
|
12102 |
found_dir="$dir"
|
8939 |
found_a="$dir/lib$name.$libext"
|
12103 |
found_a="$dir/$libname.$acl_libext"
|
|
|
12104 |
fi
|
|
|
12105 |
fi
|
|
|
12106 |
if test "X$found_dir" != "X"; then
|
8940 |
if test -f "$dir/lib$name.la"; then
|
12107 |
if test -f "$dir/$libname.la"; then
|
8941 |
found_la="$dir/lib$name.la"
|
12108 |
found_la="$dir/$libname.la"
|
8942 |
fi
|
|
|
8943 |
fi
|
12109 |
fi
|
8944 |
fi
|
12110 |
fi
|
8945 |
;;
|
12111 |
;;
|
8946 |
esac
|
12112 |
esac
|
8947 |
if test "X$found_dir" != "X"; then
|
12113 |
if test "X$found_dir" != "X"; then
|
|
... |
|
... |
8950 |
done
|
12116 |
done
|
8951 |
fi
|
12117 |
fi
|
8952 |
if test "X$found_dir" != "X"; then
|
12118 |
if test "X$found_dir" != "X"; then
|
8953 |
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
|
12119 |
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
|
8954 |
if test "X$found_so" != "X"; then
|
12120 |
if test "X$found_so" != "X"; then
|
8955 |
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
|
12121 |
if test "$enable_rpath" = no \
|
|
|
12122 |
|| test "X$found_dir" = "X/usr/$acl_libdirstem" \
|
|
|
12123 |
|| test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
|
8956 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
|
12124 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
|
8957 |
else
|
12125 |
else
|
8958 |
haveit=
|
12126 |
haveit=
|
8959 |
for x in $ltrpathdirs; do
|
12127 |
for x in $ltrpathdirs; do
|
8960 |
if test "X$x" = "X$found_dir"; then
|
12128 |
if test "X$x" = "X$found_dir"; then
|
|
... |
|
... |
8963 |
fi
|
12131 |
fi
|
8964 |
done
|
12132 |
done
|
8965 |
if test -z "$haveit"; then
|
12133 |
if test -z "$haveit"; then
|
8966 |
ltrpathdirs="$ltrpathdirs $found_dir"
|
12134 |
ltrpathdirs="$ltrpathdirs $found_dir"
|
8967 |
fi
|
12135 |
fi
|
8968 |
if test "$hardcode_direct" = yes; then
|
12136 |
if test "$acl_hardcode_direct" = yes; then
|
8969 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
|
12137 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
|
8970 |
else
|
12138 |
else
|
8971 |
if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
|
12139 |
if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
|
8972 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
|
12140 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
|
8973 |
haveit=
|
12141 |
haveit=
|
8974 |
for x in $rpathdirs; do
|
12142 |
for x in $rpathdirs; do
|
8975 |
if test "X$x" = "X$found_dir"; then
|
12143 |
if test "X$x" = "X$found_dir"; then
|
8976 |
haveit=yes
|
12144 |
haveit=yes
|
|
... |
|
... |
8998 |
fi
|
12166 |
fi
|
8999 |
done
|
12167 |
done
|
9000 |
if test -z "$haveit"; then
|
12168 |
if test -z "$haveit"; then
|
9001 |
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
|
12169 |
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
|
9002 |
fi
|
12170 |
fi
|
9003 |
if test "$hardcode_minus_L" != no; then
|
12171 |
if test "$acl_hardcode_minus_L" != no; then
|
9004 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
|
12172 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
|
9005 |
else
|
12173 |
else
|
9006 |
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
|
12174 |
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
|
9007 |
fi
|
12175 |
fi
|
9008 |
fi
|
12176 |
fi
|
|
... |
|
... |
9015 |
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
|
12183 |
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
|
9016 |
fi
|
12184 |
fi
|
9017 |
fi
|
12185 |
fi
|
9018 |
additional_includedir=
|
12186 |
additional_includedir=
|
9019 |
case "$found_dir" in
|
12187 |
case "$found_dir" in
|
9020 |
*/lib | */lib/)
|
12188 |
*/$acl_libdirstem | */$acl_libdirstem/)
|
9021 |
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
|
12189 |
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
|
|
|
12190 |
if test "$name" = 'iconv'; then
|
|
|
12191 |
LIBICONV_PREFIX="$basedir"
|
|
|
12192 |
fi
|
|
|
12193 |
additional_includedir="$basedir/include"
|
|
|
12194 |
;;
|
|
|
12195 |
*/$acl_libdirstem2 | */$acl_libdirstem2/)
|
|
|
12196 |
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
|
|
|
12197 |
if test "$name" = 'iconv'; then
|
|
|
12198 |
LIBICONV_PREFIX="$basedir"
|
|
|
12199 |
fi
|
9022 |
additional_includedir="$basedir/include"
|
12200 |
additional_includedir="$basedir/include"
|
9023 |
;;
|
12201 |
;;
|
9024 |
esac
|
12202 |
esac
|
9025 |
if test "X$additional_includedir" != "X"; then
|
12203 |
if test "X$additional_includedir" != "X"; then
|
9026 |
if test "X$additional_includedir" != "X/usr/include"; then
|
12204 |
if test "X$additional_includedir" != "X/usr/include"; then
|
9027 |
haveit=
|
12205 |
haveit=
|
9028 |
if test "X$additional_includedir" = "X/usr/local/include"; then
|
12206 |
if test "X$additional_includedir" = "X/usr/local/include"; then
|
9029 |
if test -n "$GCC"; then
|
12207 |
if test -n "$GCC"; then
|
9030 |
case $host_os in
|
12208 |
case $host_os in
|
9031 |
linux*) haveit=yes;;
|
12209 |
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
|
9032 |
esac
|
12210 |
esac
|
9033 |
fi
|
12211 |
fi
|
9034 |
fi
|
12212 |
fi
|
9035 |
if test -z "$haveit"; then
|
12213 |
if test -z "$haveit"; then
|
9036 |
for x in $CPPFLAGS $INCICONV; do
|
12214 |
for x in $CPPFLAGS $INCICONV; do
|
|
... |
|
... |
9065 |
libdir="$save_libdir"
|
12243 |
libdir="$save_libdir"
|
9066 |
for dep in $dependency_libs; do
|
12244 |
for dep in $dependency_libs; do
|
9067 |
case "$dep" in
|
12245 |
case "$dep" in
|
9068 |
-L*)
|
12246 |
-L*)
|
9069 |
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
|
12247 |
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
|
9070 |
if test "X$additional_libdir" != "X/usr/lib"; then
|
12248 |
if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
|
|
|
12249 |
&& test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
|
9071 |
haveit=
|
12250 |
haveit=
|
|
|
12251 |
if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
|
9072 |
if test "X$additional_libdir" = "X/usr/local/lib"; then
|
12252 |
|| test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
|
9073 |
if test -n "$GCC"; then
|
12253 |
if test -n "$GCC"; then
|
9074 |
case $host_os in
|
12254 |
case $host_os in
|
9075 |
linux*) haveit=yes;;
|
12255 |
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
|
9076 |
esac
|
12256 |
esac
|
9077 |
fi
|
12257 |
fi
|
9078 |
fi
|
12258 |
fi
|
9079 |
if test -z "$haveit"; then
|
12259 |
if test -z "$haveit"; then
|
9080 |
haveit=
|
12260 |
haveit=
|
|
... |
|
... |
9167 |
fi
|
12347 |
fi
|
9168 |
fi
|
12348 |
fi
|
9169 |
done
|
12349 |
done
|
9170 |
done
|
12350 |
done
|
9171 |
if test "X$rpathdirs" != "X"; then
|
12351 |
if test "X$rpathdirs" != "X"; then
|
9172 |
if test -n "$hardcode_libdir_separator"; then
|
12352 |
if test -n "$acl_hardcode_libdir_separator"; then
|
9173 |
alldirs=
|
12353 |
alldirs=
|
9174 |
for found_dir in $rpathdirs; do
|
12354 |
for found_dir in $rpathdirs; do
|
9175 |
alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
|
12355 |
alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
|
9176 |
done
|
12356 |
done
|
9177 |
acl_save_libdir="$libdir"
|
12357 |
acl_save_libdir="$libdir"
|
9178 |
libdir="$alldirs"
|
12358 |
libdir="$alldirs"
|
9179 |
eval flag=\"$hardcode_libdir_flag_spec\"
|
12359 |
eval flag=\"$acl_hardcode_libdir_flag_spec\"
|
9180 |
libdir="$acl_save_libdir"
|
12360 |
libdir="$acl_save_libdir"
|
9181 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
|
12361 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
|
9182 |
else
|
12362 |
else
|
9183 |
for found_dir in $rpathdirs; do
|
12363 |
for found_dir in $rpathdirs; do
|
9184 |
acl_save_libdir="$libdir"
|
12364 |
acl_save_libdir="$libdir"
|
9185 |
libdir="$found_dir"
|
12365 |
libdir="$found_dir"
|
9186 |
eval flag=\"$hardcode_libdir_flag_spec\"
|
12366 |
eval flag=\"$acl_hardcode_libdir_flag_spec\"
|
9187 |
libdir="$acl_save_libdir"
|
12367 |
libdir="$acl_save_libdir"
|
9188 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
|
12368 |
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
|
9189 |
done
|
12369 |
done
|
9190 |
fi
|
12370 |
fi
|
9191 |
fi
|
12371 |
fi
|
|
... |
|
... |
9199 |
|
12379 |
|
9200 |
|
12380 |
|
9201 |
|
12381 |
|
9202 |
|
12382 |
|
9203 |
|
12383 |
|
|
|
12384 |
|
|
|
12385 |
|
|
|
12386 |
|
|
|
12387 |
|
|
|
12388 |
|
9204 |
am_save_CPPFLAGS="$CPPFLAGS"
|
12389 |
am_save_CPPFLAGS="$CPPFLAGS"
|
9205 |
|
12390 |
|
9206 |
for element in $INCICONV; do
|
12391 |
for element in $INCICONV; do
|
9207 |
haveit=
|
12392 |
haveit=
|
9208 |
for x in $CPPFLAGS; do
|
12393 |
for x in $CPPFLAGS; do
|
|
... |
|
... |
9224 |
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
|
12409 |
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
|
9225 |
fi
|
12410 |
fi
|
9226 |
done
|
12411 |
done
|
9227 |
|
12412 |
|
9228 |
|
12413 |
|
9229 |
{ echo "$as_me:$LINENO: checking for iconv" >&5
|
12414 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
|
9230 |
echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
|
12415 |
$as_echo_n "checking for iconv... " >&6; }
|
9231 |
if test "${am_cv_func_iconv+set}" = set; then
|
12416 |
if ${am_cv_func_iconv+:} false; then :
|
9232 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
12417 |
$as_echo_n "(cached) " >&6
|
9233 |
else
|
12418 |
else
|
9234 |
|
12419 |
|
9235 |
am_cv_func_iconv="no, consider installing GNU libiconv"
|
12420 |
am_cv_func_iconv="no, consider installing GNU libiconv"
|
9236 |
am_cv_lib_iconv=no
|
12421 |
am_cv_lib_iconv=no
|
9237 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
9238 |
/* confdefs.h. */
|
|
|
9239 |
_ACEOF
|
|
|
9240 |
cat confdefs.h >>conftest.$ac_ext
|
12422 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
9241 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
9242 |
/* end confdefs.h. */
|
12423 |
/* end confdefs.h. */
|
|
|
12424 |
|
9243 |
#include <stdlib.h>
|
12425 |
#include <stdlib.h>
|
9244 |
#include <iconv.h>
|
12426 |
#include <iconv.h>
|
|
|
12427 |
|
9245 |
int
|
12428 |
int
|
9246 |
main ()
|
12429 |
main ()
|
9247 |
{
|
12430 |
{
|
9248 |
iconv_t cd = iconv_open("","");
|
12431 |
iconv_t cd = iconv_open("","");
|
9249 |
iconv(cd,NULL,NULL,NULL,NULL);
|
12432 |
iconv(cd,NULL,NULL,NULL,NULL);
|
9250 |
iconv_close(cd);
|
12433 |
iconv_close(cd);
|
9251 |
;
|
12434 |
;
|
9252 |
return 0;
|
12435 |
return 0;
|
9253 |
}
|
12436 |
}
|
9254 |
_ACEOF
|
12437 |
_ACEOF
|
9255 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
12438 |
if ac_fn_c_try_link "$LINENO"; then :
|
9256 |
if { (ac_try="$ac_link"
|
|
|
9257 |
case "(($ac_try" in
|
|
|
9258 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
9259 |
*) ac_try_echo=$ac_try;;
|
|
|
9260 |
esac
|
|
|
9261 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
9262 |
(eval "$ac_link") 2>conftest.er1
|
|
|
9263 |
ac_status=$?
|
|
|
9264 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
9265 |
rm -f conftest.er1
|
|
|
9266 |
cat conftest.err >&5
|
|
|
9267 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
9268 |
(exit $ac_status); } && {
|
|
|
9269 |
test -z "$ac_c_werror_flag" ||
|
|
|
9270 |
test ! -s conftest.err
|
|
|
9271 |
} && test -s conftest$ac_exeext &&
|
|
|
9272 |
$as_test_x conftest$ac_exeext; then
|
|
|
9273 |
am_cv_func_iconv=yes
|
12439 |
am_cv_func_iconv=yes
|
9274 |
else
|
|
|
9275 |
echo "$as_me: failed program was:" >&5
|
|
|
9276 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
9277 |
|
|
|
9278 |
|
|
|
9279 |
fi
|
12440 |
fi
|
9280 |
|
|
|
9281 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
12441 |
rm -f core conftest.err conftest.$ac_objext \
|
9282 |
conftest$ac_exeext conftest.$ac_ext
|
12442 |
conftest$ac_exeext conftest.$ac_ext
|
9283 |
if test "$am_cv_func_iconv" != yes; then
|
12443 |
if test "$am_cv_func_iconv" != yes; then
|
9284 |
am_save_LIBS="$LIBS"
|
12444 |
am_save_LIBS="$LIBS"
|
9285 |
LIBS="$LIBS $LIBICONV"
|
12445 |
LIBS="$LIBS $LIBICONV"
|
9286 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
9287 |
/* confdefs.h. */
|
|
|
9288 |
_ACEOF
|
|
|
9289 |
cat confdefs.h >>conftest.$ac_ext
|
12446 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
9290 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
9291 |
/* end confdefs.h. */
|
12447 |
/* end confdefs.h. */
|
|
|
12448 |
|
9292 |
#include <stdlib.h>
|
12449 |
#include <stdlib.h>
|
9293 |
#include <iconv.h>
|
12450 |
#include <iconv.h>
|
|
|
12451 |
|
9294 |
int
|
12452 |
int
|
9295 |
main ()
|
12453 |
main ()
|
9296 |
{
|
12454 |
{
|
9297 |
iconv_t cd = iconv_open("","");
|
12455 |
iconv_t cd = iconv_open("","");
|
9298 |
iconv(cd,NULL,NULL,NULL,NULL);
|
12456 |
iconv(cd,NULL,NULL,NULL,NULL);
|
9299 |
iconv_close(cd);
|
12457 |
iconv_close(cd);
|
9300 |
;
|
12458 |
;
|
9301 |
return 0;
|
12459 |
return 0;
|
9302 |
}
|
12460 |
}
|
9303 |
_ACEOF
|
12461 |
_ACEOF
|
9304 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
12462 |
if ac_fn_c_try_link "$LINENO"; then :
|
9305 |
if { (ac_try="$ac_link"
|
|
|
9306 |
case "(($ac_try" in
|
|
|
9307 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
9308 |
*) ac_try_echo=$ac_try;;
|
|
|
9309 |
esac
|
|
|
9310 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
9311 |
(eval "$ac_link") 2>conftest.er1
|
|
|
9312 |
ac_status=$?
|
|
|
9313 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
9314 |
rm -f conftest.er1
|
|
|
9315 |
cat conftest.err >&5
|
|
|
9316 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
9317 |
(exit $ac_status); } && {
|
|
|
9318 |
test -z "$ac_c_werror_flag" ||
|
|
|
9319 |
test ! -s conftest.err
|
|
|
9320 |
} && test -s conftest$ac_exeext &&
|
|
|
9321 |
$as_test_x conftest$ac_exeext; then
|
|
|
9322 |
am_cv_lib_iconv=yes
|
12463 |
am_cv_lib_iconv=yes
|
9323 |
am_cv_func_iconv=yes
|
12464 |
am_cv_func_iconv=yes
|
9324 |
else
|
|
|
9325 |
echo "$as_me: failed program was:" >&5
|
|
|
9326 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
9327 |
|
|
|
9328 |
|
|
|
9329 |
fi
|
12465 |
fi
|
9330 |
|
|
|
9331 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
12466 |
rm -f core conftest.err conftest.$ac_objext \
|
9332 |
conftest$ac_exeext conftest.$ac_ext
|
12467 |
conftest$ac_exeext conftest.$ac_ext
|
9333 |
LIBS="$am_save_LIBS"
|
12468 |
LIBS="$am_save_LIBS"
|
9334 |
fi
|
12469 |
fi
|
9335 |
|
12470 |
|
9336 |
fi
|
12471 |
fi
|
9337 |
{ echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
|
12472 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
|
9338 |
echo "${ECHO_T}$am_cv_func_iconv" >&6; }
|
12473 |
$as_echo "$am_cv_func_iconv" >&6; }
|
9339 |
if test "$am_cv_func_iconv" = yes; then
|
12474 |
if test "$am_cv_func_iconv" = yes; then
|
|
|
12475 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
|
|
|
12476 |
$as_echo_n "checking for working iconv... " >&6; }
|
|
|
12477 |
if ${am_cv_func_iconv_works+:} false; then :
|
|
|
12478 |
$as_echo_n "(cached) " >&6
|
|
|
12479 |
else
|
9340 |
|
12480 |
|
9341 |
cat >>confdefs.h <<\_ACEOF
|
12481 |
am_save_LIBS="$LIBS"
|
9342 |
#define HAVE_ICONV 1
|
12482 |
if test $am_cv_lib_iconv = yes; then
|
|
|
12483 |
LIBS="$LIBS $LIBICONV"
|
|
|
12484 |
fi
|
|
|
12485 |
if test "$cross_compiling" = yes; then :
|
|
|
12486 |
|
|
|
12487 |
case "$host_os" in
|
|
|
12488 |
aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
|
|
|
12489 |
*) am_cv_func_iconv_works="guessing yes" ;;
|
|
|
12490 |
esac
|
|
|
12491 |
|
|
|
12492 |
else
|
|
|
12493 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
12494 |
/* end confdefs.h. */
|
|
|
12495 |
|
|
|
12496 |
#include <iconv.h>
|
|
|
12497 |
#include <string.h>
|
|
|
12498 |
int main ()
|
|
|
12499 |
{
|
|
|
12500 |
int result = 0;
|
|
|
12501 |
/* Test against AIX 5.1 bug: Failures are not distinguishable from successful
|
|
|
12502 |
returns. */
|
|
|
12503 |
{
|
|
|
12504 |
iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
|
|
|
12505 |
if (cd_utf8_to_88591 != (iconv_t)(-1))
|
|
|
12506 |
{
|
|
|
12507 |
static const char input[] = "\342\202\254"; /* EURO SIGN */
|
|
|
12508 |
char buf[10];
|
|
|
12509 |
const char *inptr = input;
|
|
|
12510 |
size_t inbytesleft = strlen (input);
|
|
|
12511 |
char *outptr = buf;
|
|
|
12512 |
size_t outbytesleft = sizeof (buf);
|
|
|
12513 |
size_t res = iconv (cd_utf8_to_88591,
|
|
|
12514 |
(char **) &inptr, &inbytesleft,
|
|
|
12515 |
&outptr, &outbytesleft);
|
|
|
12516 |
if (res == 0)
|
|
|
12517 |
result |= 1;
|
|
|
12518 |
iconv_close (cd_utf8_to_88591);
|
|
|
12519 |
}
|
|
|
12520 |
}
|
|
|
12521 |
/* Test against Solaris 10 bug: Failures are not distinguishable from
|
|
|
12522 |
successful returns. */
|
|
|
12523 |
{
|
|
|
12524 |
iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
|
|
|
12525 |
if (cd_ascii_to_88591 != (iconv_t)(-1))
|
|
|
12526 |
{
|
|
|
12527 |
static const char input[] = "\263";
|
|
|
12528 |
char buf[10];
|
|
|
12529 |
const char *inptr = input;
|
|
|
12530 |
size_t inbytesleft = strlen (input);
|
|
|
12531 |
char *outptr = buf;
|
|
|
12532 |
size_t outbytesleft = sizeof (buf);
|
|
|
12533 |
size_t res = iconv (cd_ascii_to_88591,
|
|
|
12534 |
(char **) &inptr, &inbytesleft,
|
|
|
12535 |
&outptr, &outbytesleft);
|
|
|
12536 |
if (res == 0)
|
|
|
12537 |
result |= 2;
|
|
|
12538 |
iconv_close (cd_ascii_to_88591);
|
|
|
12539 |
}
|
|
|
12540 |
}
|
|
|
12541 |
/* Test against AIX 6.1..7.1 bug: Buffer overrun. */
|
|
|
12542 |
{
|
|
|
12543 |
iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
|
|
|
12544 |
if (cd_88591_to_utf8 != (iconv_t)(-1))
|
|
|
12545 |
{
|
|
|
12546 |
static const char input[] = "\304";
|
|
|
12547 |
static char buf[2] = { (char)0xDE, (char)0xAD };
|
|
|
12548 |
const char *inptr = input;
|
|
|
12549 |
size_t inbytesleft = 1;
|
|
|
12550 |
char *outptr = buf;
|
|
|
12551 |
size_t outbytesleft = 1;
|
|
|
12552 |
size_t res = iconv (cd_88591_to_utf8,
|
|
|
12553 |
(char **) &inptr, &inbytesleft,
|
|
|
12554 |
&outptr, &outbytesleft);
|
|
|
12555 |
if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
|
|
|
12556 |
result |= 4;
|
|
|
12557 |
iconv_close (cd_88591_to_utf8);
|
|
|
12558 |
}
|
|
|
12559 |
}
|
|
|
12560 |
#if 0 /* This bug could be worked around by the caller. */
|
|
|
12561 |
/* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
|
|
|
12562 |
{
|
|
|
12563 |
iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
|
|
|
12564 |
if (cd_88591_to_utf8 != (iconv_t)(-1))
|
|
|
12565 |
{
|
|
|
12566 |
static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
|
|
|
12567 |
char buf[50];
|
|
|
12568 |
const char *inptr = input;
|
|
|
12569 |
size_t inbytesleft = strlen (input);
|
|
|
12570 |
char *outptr = buf;
|
|
|
12571 |
size_t outbytesleft = sizeof (buf);
|
|
|
12572 |
size_t res = iconv (cd_88591_to_utf8,
|
|
|
12573 |
(char **) &inptr, &inbytesleft,
|
|
|
12574 |
&outptr, &outbytesleft);
|
|
|
12575 |
if ((int)res > 0)
|
|
|
12576 |
result |= 8;
|
|
|
12577 |
iconv_close (cd_88591_to_utf8);
|
|
|
12578 |
}
|
|
|
12579 |
}
|
|
|
12580 |
#endif
|
|
|
12581 |
/* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
|
|
|
12582 |
provided. */
|
|
|
12583 |
if (/* Try standardized names. */
|
|
|
12584 |
iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
|
|
|
12585 |
/* Try IRIX, OSF/1 names. */
|
|
|
12586 |
&& iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
|
|
|
12587 |
/* Try AIX names. */
|
|
|
12588 |
&& iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
|
|
|
12589 |
/* Try HP-UX names. */
|
|
|
12590 |
&& iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
|
|
|
12591 |
result |= 16;
|
|
|
12592 |
return result;
|
|
|
12593 |
}
|
9343 |
_ACEOF
|
12594 |
_ACEOF
|
|
|
12595 |
if ac_fn_c_try_run "$LINENO"; then :
|
|
|
12596 |
am_cv_func_iconv_works=yes
|
|
|
12597 |
else
|
|
|
12598 |
am_cv_func_iconv_works=no
|
|
|
12599 |
fi
|
|
|
12600 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
|
12601 |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
|
12602 |
fi
|
|
|
12603 |
|
|
|
12604 |
LIBS="$am_save_LIBS"
|
|
|
12605 |
|
|
|
12606 |
fi
|
|
|
12607 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
|
|
|
12608 |
$as_echo "$am_cv_func_iconv_works" >&6; }
|
|
|
12609 |
case "$am_cv_func_iconv_works" in
|
|
|
12610 |
*no) am_func_iconv=no am_cv_lib_iconv=no ;;
|
|
|
12611 |
*) am_func_iconv=yes ;;
|
|
|
12612 |
esac
|
|
|
12613 |
else
|
|
|
12614 |
am_func_iconv=no am_cv_lib_iconv=no
|
|
|
12615 |
fi
|
|
|
12616 |
if test "$am_func_iconv" = yes; then
|
|
|
12617 |
|
|
|
12618 |
$as_echo "#define HAVE_ICONV 1" >>confdefs.h
|
9344 |
|
12619 |
|
9345 |
fi
|
12620 |
fi
|
9346 |
if test "$am_cv_lib_iconv" = yes; then
|
12621 |
if test "$am_cv_lib_iconv" = yes; then
|
9347 |
{ echo "$as_me:$LINENO: checking how to link with libiconv" >&5
|
12622 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
|
9348 |
echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; }
|
12623 |
$as_echo_n "checking how to link with libiconv... " >&6; }
|
9349 |
{ echo "$as_me:$LINENO: result: $LIBICONV" >&5
|
12624 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
|
9350 |
echo "${ECHO_T}$LIBICONV" >&6; }
|
12625 |
$as_echo "$LIBICONV" >&6; }
|
9351 |
else
|
12626 |
else
|
9352 |
CPPFLAGS="$am_save_CPPFLAGS"
|
12627 |
CPPFLAGS="$am_save_CPPFLAGS"
|
9353 |
LIBICONV=
|
12628 |
LIBICONV=
|
9354 |
LTLIBICONV=
|
12629 |
LTLIBICONV=
|
9355 |
fi
|
12630 |
fi
|
9356 |
|
12631 |
|
9357 |
|
12632 |
|
9358 |
|
12633 |
|
9359 |
if test "$am_cv_func_iconv" = yes; then
|
12634 |
if test "$am_cv_func_iconv" = yes; then
|
9360 |
{ echo "$as_me:$LINENO: checking for iconv declaration" >&5
|
12635 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
|
9361 |
echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6; }
|
12636 |
$as_echo_n "checking for iconv declaration... " >&6; }
|
9362 |
if test "${am_cv_proto_iconv+set}" = set; then
|
12637 |
if ${am_cv_proto_iconv+:} false; then :
|
9363 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
12638 |
$as_echo_n "(cached) " >&6
|
9364 |
else
|
12639 |
else
|
9365 |
|
12640 |
|
9366 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
9367 |
/* confdefs.h. */
|
|
|
9368 |
_ACEOF
|
|
|
9369 |
cat confdefs.h >>conftest.$ac_ext
|
12641 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
9370 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
9371 |
/* end confdefs.h. */
|
12642 |
/* end confdefs.h. */
|
9372 |
|
12643 |
|
9373 |
#include <stdlib.h>
|
12644 |
#include <stdlib.h>
|
9374 |
#include <iconv.h>
|
12645 |
#include <iconv.h>
|
9375 |
extern
|
12646 |
extern
|
9376 |
#ifdef __cplusplus
|
12647 |
#ifdef __cplusplus
|
9377 |
"C"
|
12648 |
"C"
|
9378 |
#endif
|
12649 |
#endif
|
9379 |
#if defined(__STDC__) || defined(__cplusplus)
|
12650 |
#if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus)
|
9380 |
size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
|
12651 |
size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
|
9381 |
#else
|
12652 |
#else
|
9382 |
size_t iconv();
|
12653 |
size_t iconv();
|
9383 |
#endif
|
12654 |
#endif
|
9384 |
|
12655 |
|
|
... |
|
... |
9388 |
|
12659 |
|
9389 |
;
|
12660 |
;
|
9390 |
return 0;
|
12661 |
return 0;
|
9391 |
}
|
12662 |
}
|
9392 |
_ACEOF
|
12663 |
_ACEOF
|
9393 |
rm -f conftest.$ac_objext
|
12664 |
if ac_fn_c_try_compile "$LINENO"; then :
|
9394 |
if { (ac_try="$ac_compile"
|
|
|
9395 |
case "(($ac_try" in
|
|
|
9396 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
9397 |
*) ac_try_echo=$ac_try;;
|
|
|
9398 |
esac
|
|
|
9399 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
9400 |
(eval "$ac_compile") 2>conftest.er1
|
|
|
9401 |
ac_status=$?
|
|
|
9402 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
9403 |
rm -f conftest.er1
|
|
|
9404 |
cat conftest.err >&5
|
|
|
9405 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
9406 |
(exit $ac_status); } && {
|
|
|
9407 |
test -z "$ac_c_werror_flag" ||
|
|
|
9408 |
test ! -s conftest.err
|
|
|
9409 |
} && test -s conftest.$ac_objext; then
|
|
|
9410 |
am_cv_proto_iconv_arg1=""
|
12665 |
am_cv_proto_iconv_arg1=""
|
9411 |
else
|
12666 |
else
|
9412 |
echo "$as_me: failed program was:" >&5
|
|
|
9413 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
9414 |
|
|
|
9415 |
am_cv_proto_iconv_arg1="const"
|
12667 |
am_cv_proto_iconv_arg1="const"
|
9416 |
fi
|
12668 |
fi
|
9417 |
|
|
|
9418 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
12669 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
9419 |
am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
|
12670 |
am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
|
9420 |
fi
|
12671 |
fi
|
9421 |
|
12672 |
|
9422 |
am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
|
12673 |
am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
|
9423 |
{ echo "$as_me:$LINENO: result: ${ac_t:-
|
12674 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result:
|
9424 |
}$am_cv_proto_iconv" >&5
|
12675 |
$am_cv_proto_iconv" >&5
|
9425 |
echo "${ECHO_T}${ac_t:-
|
12676 |
$as_echo "
|
9426 |
}$am_cv_proto_iconv" >&6; }
|
12677 |
$am_cv_proto_iconv" >&6; }
|
9427 |
|
12678 |
|
9428 |
cat >>confdefs.h <<_ACEOF
|
12679 |
cat >>confdefs.h <<_ACEOF
|
9429 |
#define ICONV_CONST $am_cv_proto_iconv_arg1
|
12680 |
#define ICONV_CONST $am_cv_proto_iconv_arg1
|
9430 |
_ACEOF
|
12681 |
_ACEOF
|
9431 |
|
12682 |
|
|
|
12683 |
|
9432 |
fi
|
12684 |
fi
|
9433 |
|
12685 |
|
9434 |
|
12686 |
|
|
|
12687 |
#AC_CHECK_FUNCS(iconv_open,,AC_MSG_ERROR([
|
|
|
12688 |
#iconv_open not found try to install replacement from
|
|
|
12689 |
#http://www.gnu.org/software/libiconv/
|
|
|
12690 |
#ftp://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.8.tar.gz]))
|
9435 |
|
12691 |
|
9436 |
for ac_func in iconv_open
|
12692 |
for ac_func in vsnprintf
|
9437 |
do
|
12693 |
do :
|
9438 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
12694 |
ac_fn_c_check_func "$LINENO" "vsnprintf" "ac_cv_func_vsnprintf"
|
9439 |
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
|
12695 |
if test "x$ac_cv_func_vsnprintf" = xyes; then :
|
9440 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
|
|
|
9441 |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
|
9442 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
9443 |
else
|
|
|
9444 |
cat >conftest.$ac_ext <<_ACEOF
|
12696 |
cat >>confdefs.h <<_ACEOF
|
9445 |
/* confdefs.h. */
|
12697 |
#define HAVE_VSNPRINTF 1
|
9446 |
_ACEOF
|
12698 |
_ACEOF
|
9447 |
cat confdefs.h >>conftest.$ac_ext
|
|
|
9448 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
9449 |
/* end confdefs.h. */
|
|
|
9450 |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
|
|
9451 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
|
9452 |
#define $ac_func innocuous_$ac_func
|
|
|
9453 |
|
12699 |
|
9454 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
9455 |
which can conflict with char $ac_func (); below.
|
|
|
9456 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
|
9457 |
<limits.h> exists even on freestanding compilers. */
|
|
|
9458 |
|
|
|
9459 |
#ifdef __STDC__
|
|
|
9460 |
# include <limits.h>
|
|
|
9461 |
#else
|
|
|
9462 |
# include <assert.h>
|
|
|
9463 |
#endif
|
|
|
9464 |
|
|
|
9465 |
#undef $ac_func
|
|
|
9466 |
|
|
|
9467 |
/* Override any GCC internal prototype to avoid an error.
|
|
|
9468 |
Use char because int might match the return type of a GCC
|
|
|
9469 |
builtin and then its argument prototype would still apply. */
|
|
|
9470 |
#ifdef __cplusplus
|
|
|
9471 |
extern "C"
|
|
|
9472 |
#endif
|
|
|
9473 |
char $ac_func ();
|
|
|
9474 |
/* The GNU C library defines this for functions which it implements
|
|
|
9475 |
to always fail with ENOSYS. Some functions are actually named
|
|
|
9476 |
something starting with __ and the normal name is an alias. */
|
|
|
9477 |
#if defined __stub_$ac_func || defined __stub___$ac_func
|
|
|
9478 |
choke me
|
|
|
9479 |
#endif
|
|
|
9480 |
|
|
|
9481 |
int
|
|
|
9482 |
main ()
|
|
|
9483 |
{
|
|
|
9484 |
return $ac_func ();
|
|
|
9485 |
;
|
|
|
9486 |
return 0;
|
|
|
9487 |
}
|
|
|
9488 |
_ACEOF
|
|
|
9489 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
|
9490 |
if { (ac_try="$ac_link"
|
|
|
9491 |
case "(($ac_try" in
|
|
|
9492 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
9493 |
*) ac_try_echo=$ac_try;;
|
|
|
9494 |
esac
|
|
|
9495 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
9496 |
(eval "$ac_link") 2>conftest.er1
|
|
|
9497 |
ac_status=$?
|
|
|
9498 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
9499 |
rm -f conftest.er1
|
|
|
9500 |
cat conftest.err >&5
|
|
|
9501 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
9502 |
(exit $ac_status); } && {
|
|
|
9503 |
test -z "$ac_c_werror_flag" ||
|
|
|
9504 |
test ! -s conftest.err
|
|
|
9505 |
} && test -s conftest$ac_exeext &&
|
|
|
9506 |
$as_test_x conftest$ac_exeext; then
|
|
|
9507 |
eval "$as_ac_var=yes"
|
|
|
9508 |
else
|
|
|
9509 |
echo "$as_me: failed program was:" >&5
|
|
|
9510 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
9511 |
|
|
|
9512 |
eval "$as_ac_var=no"
|
|
|
9513 |
fi
|
12700 |
fi
|
|
|
12701 |
done
|
9514 |
|
12702 |
|
9515 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
12703 |
|
9516 |
conftest$ac_exeext conftest.$ac_ext
|
12704 |
|
9517 |
fi
|
12705 |
for ac_func in getopt_long
|
9518 |
ac_res=`eval echo '${'$as_ac_var'}'`
|
12706 |
do :
|
9519 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
12707 |
ac_fn_c_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long"
|
9520 |
echo "${ECHO_T}$ac_res" >&6; }
|
12708 |
if test "x$ac_cv_func_getopt_long" = xyes; then :
|
9521 |
if test `eval echo '${'$as_ac_var'}'` = yes; then
|
|
|
9522 |
cat >>confdefs.h <<_ACEOF
|
12709 |
cat >>confdefs.h <<_ACEOF
|
9523 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
12710 |
#define HAVE_GETOPT_LONG 1
|
9524 |
_ACEOF
|
|
|
9525 |
|
|
|
9526 |
else
|
|
|
9527 |
{ { echo "$as_me:$LINENO: error:
|
|
|
9528 |
iconv_open not found try to install replacement from
|
|
|
9529 |
http://www.gnu.org/software/libiconv/
|
|
|
9530 |
ftp://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.8.tar.gz" >&5
|
|
|
9531 |
echo "$as_me: error:
|
|
|
9532 |
iconv_open not found try to install replacement from
|
|
|
9533 |
http://www.gnu.org/software/libiconv/
|
|
|
9534 |
ftp://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.8.tar.gz" >&2;}
|
|
|
9535 |
{ (exit 1); exit 1; }; }
|
|
|
9536 |
fi
|
|
|
9537 |
done
|
|
|
9538 |
|
|
|
9539 |
|
|
|
9540 |
|
|
|
9541 |
for ac_func in vsnprintf
|
|
|
9542 |
do
|
|
|
9543 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
|
9544 |
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
|
|
|
9545 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
|
|
|
9546 |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
|
9547 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
9548 |
else
|
|
|
9549 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
9550 |
/* confdefs.h. */
|
|
|
9551 |
_ACEOF
|
|
|
9552 |
cat confdefs.h >>conftest.$ac_ext
|
|
|
9553 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
9554 |
/* end confdefs.h. */
|
|
|
9555 |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
|
|
9556 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
|
9557 |
#define $ac_func innocuous_$ac_func
|
|
|
9558 |
|
|
|
9559 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
9560 |
which can conflict with char $ac_func (); below.
|
|
|
9561 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
|
9562 |
<limits.h> exists even on freestanding compilers. */
|
|
|
9563 |
|
|
|
9564 |
#ifdef __STDC__
|
|
|
9565 |
# include <limits.h>
|
|
|
9566 |
#else
|
|
|
9567 |
# include <assert.h>
|
|
|
9568 |
#endif
|
|
|
9569 |
|
|
|
9570 |
#undef $ac_func
|
|
|
9571 |
|
|
|
9572 |
/* Override any GCC internal prototype to avoid an error.
|
|
|
9573 |
Use char because int might match the return type of a GCC
|
|
|
9574 |
builtin and then its argument prototype would still apply. */
|
|
|
9575 |
#ifdef __cplusplus
|
|
|
9576 |
extern "C"
|
|
|
9577 |
#endif
|
|
|
9578 |
char $ac_func ();
|
|
|
9579 |
/* The GNU C library defines this for functions which it implements
|
|
|
9580 |
to always fail with ENOSYS. Some functions are actually named
|
|
|
9581 |
something starting with __ and the normal name is an alias. */
|
|
|
9582 |
#if defined __stub_$ac_func || defined __stub___$ac_func
|
|
|
9583 |
choke me
|
|
|
9584 |
#endif
|
|
|
9585 |
|
|
|
9586 |
int
|
|
|
9587 |
main ()
|
|
|
9588 |
{
|
|
|
9589 |
return $ac_func ();
|
|
|
9590 |
;
|
|
|
9591 |
return 0;
|
|
|
9592 |
}
|
|
|
9593 |
_ACEOF
|
|
|
9594 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
|
9595 |
if { (ac_try="$ac_link"
|
|
|
9596 |
case "(($ac_try" in
|
|
|
9597 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
9598 |
*) ac_try_echo=$ac_try;;
|
|
|
9599 |
esac
|
|
|
9600 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
9601 |
(eval "$ac_link") 2>conftest.er1
|
|
|
9602 |
ac_status=$?
|
|
|
9603 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
9604 |
rm -f conftest.er1
|
|
|
9605 |
cat conftest.err >&5
|
|
|
9606 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
9607 |
(exit $ac_status); } && {
|
|
|
9608 |
test -z "$ac_c_werror_flag" ||
|
|
|
9609 |
test ! -s conftest.err
|
|
|
9610 |
} && test -s conftest$ac_exeext &&
|
|
|
9611 |
$as_test_x conftest$ac_exeext; then
|
|
|
9612 |
eval "$as_ac_var=yes"
|
|
|
9613 |
else
|
|
|
9614 |
echo "$as_me: failed program was:" >&5
|
|
|
9615 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
9616 |
|
|
|
9617 |
eval "$as_ac_var=no"
|
|
|
9618 |
fi
|
|
|
9619 |
|
|
|
9620 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
|
9621 |
conftest$ac_exeext conftest.$ac_ext
|
|
|
9622 |
fi
|
|
|
9623 |
ac_res=`eval echo '${'$as_ac_var'}'`
|
|
|
9624 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
|
9625 |
echo "${ECHO_T}$ac_res" >&6; }
|
|
|
9626 |
if test `eval echo '${'$as_ac_var'}'` = yes; then
|
|
|
9627 |
cat >>confdefs.h <<_ACEOF
|
|
|
9628 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
|
9629 |
_ACEOF
|
|
|
9630 |
|
|
|
9631 |
fi
|
|
|
9632 |
done
|
|
|
9633 |
|
|
|
9634 |
|
|
|
9635 |
|
|
|
9636 |
|
|
|
9637 |
for ac_func in getopt_long
|
|
|
9638 |
do
|
|
|
9639 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
|
9640 |
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
|
|
|
9641 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
|
|
|
9642 |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
|
9643 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
9644 |
else
|
|
|
9645 |
cat >conftest.$ac_ext <<_ACEOF
|
|
|
9646 |
/* confdefs.h. */
|
|
|
9647 |
_ACEOF
|
|
|
9648 |
cat confdefs.h >>conftest.$ac_ext
|
|
|
9649 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
9650 |
/* end confdefs.h. */
|
|
|
9651 |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
|
|
9652 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
|
9653 |
#define $ac_func innocuous_$ac_func
|
|
|
9654 |
|
|
|
9655 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
9656 |
which can conflict with char $ac_func (); below.
|
|
|
9657 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
|
9658 |
<limits.h> exists even on freestanding compilers. */
|
|
|
9659 |
|
|
|
9660 |
#ifdef __STDC__
|
|
|
9661 |
# include <limits.h>
|
|
|
9662 |
#else
|
|
|
9663 |
# include <assert.h>
|
|
|
9664 |
#endif
|
|
|
9665 |
|
|
|
9666 |
#undef $ac_func
|
|
|
9667 |
|
|
|
9668 |
/* Override any GCC internal prototype to avoid an error.
|
|
|
9669 |
Use char because int might match the return type of a GCC
|
|
|
9670 |
builtin and then its argument prototype would still apply. */
|
|
|
9671 |
#ifdef __cplusplus
|
|
|
9672 |
extern "C"
|
|
|
9673 |
#endif
|
|
|
9674 |
char $ac_func ();
|
|
|
9675 |
/* The GNU C library defines this for functions which it implements
|
|
|
9676 |
to always fail with ENOSYS. Some functions are actually named
|
|
|
9677 |
something starting with __ and the normal name is an alias. */
|
|
|
9678 |
#if defined __stub_$ac_func || defined __stub___$ac_func
|
|
|
9679 |
choke me
|
|
|
9680 |
#endif
|
|
|
9681 |
|
|
|
9682 |
int
|
|
|
9683 |
main ()
|
|
|
9684 |
{
|
|
|
9685 |
return $ac_func ();
|
|
|
9686 |
;
|
|
|
9687 |
return 0;
|
|
|
9688 |
}
|
|
|
9689 |
_ACEOF
|
|
|
9690 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
|
9691 |
if { (ac_try="$ac_link"
|
|
|
9692 |
case "(($ac_try" in
|
|
|
9693 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
9694 |
*) ac_try_echo=$ac_try;;
|
|
|
9695 |
esac
|
|
|
9696 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
|
9697 |
(eval "$ac_link") 2>conftest.er1
|
|
|
9698 |
ac_status=$?
|
|
|
9699 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
9700 |
rm -f conftest.er1
|
|
|
9701 |
cat conftest.err >&5
|
|
|
9702 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
9703 |
(exit $ac_status); } && {
|
|
|
9704 |
test -z "$ac_c_werror_flag" ||
|
|
|
9705 |
test ! -s conftest.err
|
|
|
9706 |
} && test -s conftest$ac_exeext &&
|
|
|
9707 |
$as_test_x conftest$ac_exeext; then
|
|
|
9708 |
eval "$as_ac_var=yes"
|
|
|
9709 |
else
|
|
|
9710 |
echo "$as_me: failed program was:" >&5
|
|
|
9711 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
9712 |
|
|
|
9713 |
eval "$as_ac_var=no"
|
|
|
9714 |
fi
|
|
|
9715 |
|
|
|
9716 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
|
9717 |
conftest$ac_exeext conftest.$ac_ext
|
|
|
9718 |
fi
|
|
|
9719 |
ac_res=`eval echo '${'$as_ac_var'}'`
|
|
|
9720 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
|
9721 |
echo "${ECHO_T}$ac_res" >&6; }
|
|
|
9722 |
if test `eval echo '${'$as_ac_var'}'` = yes; then
|
|
|
9723 |
cat >>confdefs.h <<_ACEOF
|
|
|
9724 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
|
9725 |
_ACEOF
|
12711 |
_ACEOF
|
9726 |
|
12712 |
|
9727 |
else
|
12713 |
else
|
9728 |
case " $LIBOBJS " in
|
12714 |
case " $LIBOBJS " in
|
9729 |
*" getopt.$ac_objext "* ) ;;
|
12715 |
*" getopt.$ac_objext "* ) ;;
|
|
... |
|
... |
9764 |
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
|
12750 |
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
|
9765 |
eval ac_val=\$$ac_var
|
12751 |
eval ac_val=\$$ac_var
|
9766 |
case $ac_val in #(
|
12752 |
case $ac_val in #(
|
9767 |
*${as_nl}*)
|
12753 |
*${as_nl}*)
|
9768 |
case $ac_var in #(
|
12754 |
case $ac_var in #(
|
9769 |
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
|
12755 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
9770 |
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
|
12756 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
9771 |
esac
|
12757 |
esac
|
9772 |
case $ac_var in #(
|
12758 |
case $ac_var in #(
|
9773 |
_ | IFS | as_nl) ;; #(
|
12759 |
_ | IFS | as_nl) ;; #(
|
9774 |
*) $as_unset $ac_var ;;
|
12760 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
|
|
12761 |
*) { eval $ac_var=; unset $ac_var;} ;;
|
9775 |
esac ;;
|
12762 |
esac ;;
|
9776 |
esac
|
12763 |
esac
|
9777 |
done
|
12764 |
done
|
9778 |
|
12765 |
|
9779 |
(set) 2>&1 |
|
12766 |
(set) 2>&1 |
|
9780 |
case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
12767 |
case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
9781 |
*${as_nl}ac_space=\ *)
|
12768 |
*${as_nl}ac_space=\ *)
|
9782 |
# `set' does not quote correctly, so add quotes (double-quote
|
12769 |
# `set' does not quote correctly, so add quotes: double-quote
|
9783 |
# substitution turns \\\\ into \\, and sed turns \\ into \).
|
12770 |
# substitution turns \\\\ into \\, and sed turns \\ into \.
|
9784 |
sed -n \
|
12771 |
sed -n \
|
9785 |
"s/'/'\\\\''/g;
|
12772 |
"s/'/'\\\\''/g;
|
9786 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
12773 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
9787 |
;; #(
|
12774 |
;; #(
|
9788 |
*)
|
12775 |
*)
|
|
... |
|
... |
9800 |
t end
|
12787 |
t end
|
9801 |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
12788 |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
9802 |
:end' >>confcache
|
12789 |
:end' >>confcache
|
9803 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
12790 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
9804 |
if test -w "$cache_file"; then
|
12791 |
if test -w "$cache_file"; then
|
9805 |
test "x$cache_file" != "x/dev/null" &&
|
12792 |
if test "x$cache_file" != "x/dev/null"; then
|
9806 |
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
|
12793 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
9807 |
echo "$as_me: updating cache $cache_file" >&6;}
|
12794 |
$as_echo "$as_me: updating cache $cache_file" >&6;}
|
|
|
12795 |
if test ! -f "$cache_file" || test -h "$cache_file"; then
|
9808 |
cat confcache >$cache_file
|
12796 |
cat confcache >"$cache_file"
|
|
|
12797 |
else
|
|
|
12798 |
case $cache_file in #(
|
|
|
12799 |
*/* | ?:*)
|
|
|
12800 |
mv -f confcache "$cache_file"$$ &&
|
|
|
12801 |
mv -f "$cache_file"$$ "$cache_file" ;; #(
|
|
|
12802 |
*)
|
|
|
12803 |
mv -f confcache "$cache_file" ;;
|
|
|
12804 |
esac
|
|
|
12805 |
fi
|
|
|
12806 |
fi
|
9809 |
else
|
12807 |
else
|
9810 |
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
|
12808 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
9811 |
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
12809 |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
9812 |
fi
|
12810 |
fi
|
9813 |
fi
|
12811 |
fi
|
9814 |
rm -f confcache
|
12812 |
rm -f confcache
|
9815 |
|
12813 |
|
9816 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
12814 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
|
... |
|
... |
9822 |
ac_libobjs=
|
12820 |
ac_libobjs=
|
9823 |
ac_ltlibobjs=
|
12821 |
ac_ltlibobjs=
|
9824 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
12822 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
9825 |
# 1. Remove the extension, and $U if already installed.
|
12823 |
# 1. Remove the extension, and $U if already installed.
|
9826 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
12824 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
9827 |
ac_i=`echo "$ac_i" | sed "$ac_script"`
|
12825 |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
9828 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
12826 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
9829 |
# will be set to the directory where LIBOBJS objects are built.
|
12827 |
# will be set to the directory where LIBOBJS objects are built.
|
9830 |
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
12828 |
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
9831 |
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
|
12829 |
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
|
9832 |
done
|
12830 |
done
|
9833 |
LIBOBJS=$ac_libobjs
|
12831 |
LIBOBJS=$ac_libobjs
|
9834 |
|
12832 |
|
9835 |
LTLIBOBJS=$ac_ltlibobjs
|
12833 |
LTLIBOBJS=$ac_ltlibobjs
|
9836 |
|
12834 |
|
9837 |
|
12835 |
|
|
|
12836 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
|
|
|
12837 |
$as_echo_n "checking that generated files are newer than configure... " >&6; }
|
|
|
12838 |
if test -n "$am_sleep_pid"; then
|
|
|
12839 |
# Hide warnings about reused PIDs.
|
|
|
12840 |
wait $am_sleep_pid 2>/dev/null
|
|
|
12841 |
fi
|
|
|
12842 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
|
|
|
12843 |
$as_echo "done" >&6; }
|
|
|
12844 |
if test -n "$EXEEXT"; then
|
|
|
12845 |
am__EXEEXT_TRUE=
|
|
|
12846 |
am__EXEEXT_FALSE='#'
|
|
|
12847 |
else
|
|
|
12848 |
am__EXEEXT_TRUE='#'
|
|
|
12849 |
am__EXEEXT_FALSE=
|
|
|
12850 |
fi
|
9838 |
|
12851 |
|
|
|
12852 |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
|
|
|
12853 |
as_fn_error $? "conditional \"AMDEP\" was never defined.
|
|
|
12854 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
|
|
12855 |
fi
|
|
|
12856 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
|
|
|
12857 |
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
|
|
|
12858 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
|
|
12859 |
fi
|
|
|
12860 |
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
|
|
|
12861 |
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
|
|
|
12862 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
|
|
12863 |
fi
|
|
|
12864 |
|
9839 |
: ${CONFIG_STATUS=./config.status}
|
12865 |
: "${CONFIG_STATUS=./config.status}"
|
|
|
12866 |
ac_write_fail=0
|
9840 |
ac_clean_files_save=$ac_clean_files
|
12867 |
ac_clean_files_save=$ac_clean_files
|
9841 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
12868 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
9842 |
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
|
12869 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
9843 |
echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
12870 |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
9844 |
cat >$CONFIG_STATUS <<_ACEOF
|
12871 |
as_write_fail=0
|
|
|
12872 |
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
|
9845 |
#! $SHELL
|
12873 |
#! $SHELL
|
9846 |
# Generated by $as_me.
|
12874 |
# Generated by $as_me.
|
9847 |
# Run this file to recreate the current configuration.
|
12875 |
# Run this file to recreate the current configuration.
|
9848 |
# Compiler output produced by configure, useful for debugging
|
12876 |
# Compiler output produced by configure, useful for debugging
|
9849 |
# configure, is in config.log if it exists.
|
12877 |
# configure, is in config.log if it exists.
|
9850 |
|
12878 |
|
9851 |
debug=false
|
12879 |
debug=false
|
9852 |
ac_cs_recheck=false
|
12880 |
ac_cs_recheck=false
|
9853 |
ac_cs_silent=false
|
12881 |
ac_cs_silent=false
|
|
|
12882 |
|
9854 |
SHELL=\${CONFIG_SHELL-$SHELL}
|
12883 |
SHELL=\${CONFIG_SHELL-$SHELL}
|
|
|
12884 |
export SHELL
|
9855 |
_ACEOF
|
12885 |
_ASEOF
|
9856 |
|
12886 |
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
|
9857 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
|
9858 |
## --------------------- ##
|
12887 |
## -------------------- ##
|
9859 |
## M4sh Initialization. ##
|
12888 |
## M4sh Initialization. ##
|
9860 |
## --------------------- ##
|
12889 |
## -------------------- ##
|
9861 |
|
12890 |
|
9862 |
# Be more Bourne compatible
|
12891 |
# Be more Bourne compatible
|
9863 |
DUALCASE=1; export DUALCASE # for MKS sh
|
12892 |
DUALCASE=1; export DUALCASE # for MKS sh
|
9864 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
12893 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
9865 |
emulate sh
|
12894 |
emulate sh
|
9866 |
NULLCMD=:
|
12895 |
NULLCMD=:
|
9867 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
12896 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
9868 |
# is contrary to our usage. Disable this feature.
|
12897 |
# is contrary to our usage. Disable this feature.
|
9869 |
alias -g '${1+"$@"}'='"$@"'
|
12898 |
alias -g '${1+"$@"}'='"$@"'
|
9870 |
setopt NO_GLOB_SUBST
|
12899 |
setopt NO_GLOB_SUBST
|
9871 |
else
|
12900 |
else
|
9872 |
case `(set -o) 2>/dev/null` in
|
12901 |
case `(set -o) 2>/dev/null` in #(
|
9873 |
*posix*) set -o posix ;;
|
12902 |
*posix*) :
|
|
|
12903 |
set -o posix ;; #(
|
|
|
12904 |
*) :
|
|
|
12905 |
;;
|
9874 |
esac
|
12906 |
esac
|
|
|
12907 |
fi
|
9875 |
|
12908 |
|
|
|
12909 |
|
|
|
12910 |
as_nl='
|
|
|
12911 |
'
|
|
|
12912 |
export as_nl
|
|
|
12913 |
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
|
|
12914 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
|
|
12915 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
|
|
12916 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
|
|
12917 |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
|
|
12918 |
# but without wasting forks for bash or zsh.
|
|
|
12919 |
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
|
|
12920 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
|
12921 |
as_echo='print -r --'
|
|
|
12922 |
as_echo_n='print -rn --'
|
|
|
12923 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
|
12924 |
as_echo='printf %s\n'
|
|
|
12925 |
as_echo_n='printf %s'
|
|
|
12926 |
else
|
|
|
12927 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
|
|
12928 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
|
|
12929 |
as_echo_n='/usr/ucb/echo -n'
|
|
|
12930 |
else
|
|
|
12931 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
|
|
12932 |
as_echo_n_body='eval
|
|
|
12933 |
arg=$1;
|
|
|
12934 |
case $arg in #(
|
|
|
12935 |
*"$as_nl"*)
|
|
|
12936 |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
|
|
12937 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
|
|
12938 |
esac;
|
|
|
12939 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
|
|
12940 |
'
|
|
|
12941 |
export as_echo_n_body
|
|
|
12942 |
as_echo_n='sh -c $as_echo_n_body as_echo'
|
9876 |
fi
|
12943 |
fi
|
9877 |
|
12944 |
export as_echo_body
|
9878 |
|
12945 |
as_echo='sh -c $as_echo_body as_echo'
|
9879 |
|
12946 |
fi
|
9880 |
|
|
|
9881 |
# PATH needs CR
|
|
|
9882 |
# Avoid depending upon Character Ranges.
|
|
|
9883 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|
|
9884 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
9885 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|
|
9886 |
as_cr_digits='0123456789'
|
|
|
9887 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
|
9888 |
|
12947 |
|
9889 |
# The user is always right.
|
12948 |
# The user is always right.
|
9890 |
if test "${PATH_SEPARATOR+set}" != set; then
|
12949 |
if test "${PATH_SEPARATOR+set}" != set; then
|
9891 |
echo "#! /bin/sh" >conf$$.sh
|
12950 |
PATH_SEPARATOR=:
|
9892 |
echo "exit 0" >>conf$$.sh
|
12951 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
9893 |
chmod +x conf$$.sh
|
12952 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
9894 |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
|
|
9895 |
PATH_SEPARATOR=';'
|
12953 |
PATH_SEPARATOR=';'
|
9896 |
else
|
12954 |
}
|
9897 |
PATH_SEPARATOR=:
|
|
|
9898 |
fi
|
|
|
9899 |
rm -f conf$$.sh
|
|
|
9900 |
fi
|
|
|
9901 |
|
|
|
9902 |
# Support unset when possible.
|
|
|
9903 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
|
|
9904 |
as_unset=unset
|
|
|
9905 |
else
|
|
|
9906 |
as_unset=false
|
|
|
9907 |
fi
|
12955 |
fi
|
9908 |
|
12956 |
|
9909 |
|
12957 |
|
9910 |
# IFS
|
12958 |
# IFS
|
9911 |
# We need space, tab and new line, in precisely that order. Quoting is
|
12959 |
# We need space, tab and new line, in precisely that order. Quoting is
|
9912 |
# there to prevent editors from complaining about space-tab.
|
12960 |
# there to prevent editors from complaining about space-tab.
|
9913 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
12961 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
9914 |
# splitting by setting IFS to empty value.)
|
12962 |
# splitting by setting IFS to empty value.)
|
9915 |
as_nl='
|
|
|
9916 |
'
|
|
|
9917 |
IFS=" "" $as_nl"
|
12963 |
IFS=" "" $as_nl"
|
9918 |
|
12964 |
|
9919 |
# Find who we are. Look in the path if we contain no directory separator.
|
12965 |
# Find who we are. Look in the path if we contain no directory separator.
|
|
|
12966 |
as_myself=
|
9920 |
case $0 in
|
12967 |
case $0 in #((
|
9921 |
*[\\/]* ) as_myself=$0 ;;
|
12968 |
*[\\/]* ) as_myself=$0 ;;
|
9922 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
12969 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
9923 |
for as_dir in $PATH
|
12970 |
for as_dir in $PATH
|
9924 |
do
|
12971 |
do
|
9925 |
IFS=$as_save_IFS
|
12972 |
IFS=$as_save_IFS
|
9926 |
test -z "$as_dir" && as_dir=.
|
12973 |
test -z "$as_dir" && as_dir=.
|
9927 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
12974 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
9928 |
done
|
12975 |
done
|
9929 |
IFS=$as_save_IFS
|
12976 |
IFS=$as_save_IFS
|
9930 |
|
12977 |
|
9931 |
;;
|
12978 |
;;
|
9932 |
esac
|
12979 |
esac
|
9933 |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
12980 |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
9934 |
# in which case we are not to be found in the path.
|
12981 |
# in which case we are not to be found in the path.
|
9935 |
if test "x$as_myself" = x; then
|
12982 |
if test "x$as_myself" = x; then
|
9936 |
as_myself=$0
|
12983 |
as_myself=$0
|
9937 |
fi
|
12984 |
fi
|
9938 |
if test ! -f "$as_myself"; then
|
12985 |
if test ! -f "$as_myself"; then
|
9939 |
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
12986 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
9940 |
{ (exit 1); exit 1; }
|
12987 |
exit 1
|
9941 |
fi
|
12988 |
fi
|
9942 |
|
12989 |
|
9943 |
# Work around bugs in pre-3.0 UWIN ksh.
|
12990 |
# Unset variables that we do not need and which cause bugs (e.g. in
|
|
|
12991 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
|
|
12992 |
# suppresses any "Segmentation fault" message there. '((' could
|
|
|
12993 |
# trigger a bug in pdksh 5.2.14.
|
9944 |
for as_var in ENV MAIL MAILPATH
|
12994 |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
|
|
12995 |
do eval test x\${$as_var+set} = xset \
|
9945 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
12996 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
9946 |
done
|
12997 |
done
|
9947 |
PS1='$ '
|
12998 |
PS1='$ '
|
9948 |
PS2='> '
|
12999 |
PS2='> '
|
9949 |
PS4='+ '
|
13000 |
PS4='+ '
|
9950 |
|
13001 |
|
9951 |
# NLS nuisances.
|
13002 |
# NLS nuisances.
|
9952 |
for as_var in \
|
13003 |
LC_ALL=C
|
9953 |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
13004 |
export LC_ALL
|
9954 |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
13005 |
LANGUAGE=C
|
9955 |
LC_TELEPHONE LC_TIME
|
13006 |
export LANGUAGE
|
9956 |
do
|
13007 |
|
9957 |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
13008 |
# CDPATH.
|
9958 |
eval $as_var=C; export $as_var
|
13009 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
9959 |
else
|
13010 |
|
9960 |
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
13011 |
|
|
|
13012 |
# as_fn_error STATUS ERROR [LINENO LOG_FD]
|
|
|
13013 |
# ----------------------------------------
|
|
|
13014 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
|
|
13015 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
|
|
13016 |
# script with STATUS, using 1 if that was 0.
|
|
|
13017 |
as_fn_error ()
|
|
|
13018 |
{
|
|
|
13019 |
as_status=$1; test $as_status -eq 0 && as_status=1
|
|
|
13020 |
if test "$4"; then
|
|
|
13021 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
|
13022 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
9961 |
fi
|
13023 |
fi
|
9962 |
done
|
13024 |
$as_echo "$as_me: error: $2" >&2
|
|
|
13025 |
as_fn_exit $as_status
|
|
|
13026 |
} # as_fn_error
|
9963 |
|
13027 |
|
9964 |
# Required to use basename.
|
13028 |
|
|
|
13029 |
# as_fn_set_status STATUS
|
|
|
13030 |
# -----------------------
|
|
|
13031 |
# Set $? to STATUS, without forking.
|
|
|
13032 |
as_fn_set_status ()
|
|
|
13033 |
{
|
|
|
13034 |
return $1
|
|
|
13035 |
} # as_fn_set_status
|
|
|
13036 |
|
|
|
13037 |
# as_fn_exit STATUS
|
|
|
13038 |
# -----------------
|
|
|
13039 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
|
|
13040 |
as_fn_exit ()
|
|
|
13041 |
{
|
|
|
13042 |
set +e
|
|
|
13043 |
as_fn_set_status $1
|
|
|
13044 |
exit $1
|
|
|
13045 |
} # as_fn_exit
|
|
|
13046 |
|
|
|
13047 |
# as_fn_unset VAR
|
|
|
13048 |
# ---------------
|
|
|
13049 |
# Portably unset VAR.
|
|
|
13050 |
as_fn_unset ()
|
|
|
13051 |
{
|
|
|
13052 |
{ eval $1=; unset $1;}
|
|
|
13053 |
}
|
|
|
13054 |
as_unset=as_fn_unset
|
|
|
13055 |
# as_fn_append VAR VALUE
|
|
|
13056 |
# ----------------------
|
|
|
13057 |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
|
|
13058 |
# advantage of any shell optimizations that allow amortized linear growth over
|
|
|
13059 |
# repeated appends, instead of the typical quadratic growth present in naive
|
|
|
13060 |
# implementations.
|
|
|
13061 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
|
|
13062 |
eval 'as_fn_append ()
|
|
|
13063 |
{
|
|
|
13064 |
eval $1+=\$2
|
|
|
13065 |
}'
|
|
|
13066 |
else
|
|
|
13067 |
as_fn_append ()
|
|
|
13068 |
{
|
|
|
13069 |
eval $1=\$$1\$2
|
|
|
13070 |
}
|
|
|
13071 |
fi # as_fn_append
|
|
|
13072 |
|
|
|
13073 |
# as_fn_arith ARG...
|
|
|
13074 |
# ------------------
|
|
|
13075 |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
|
|
13076 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
|
|
13077 |
# must be portable across $(()) and expr.
|
|
|
13078 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
|
|
13079 |
eval 'as_fn_arith ()
|
|
|
13080 |
{
|
|
|
13081 |
as_val=$(( $* ))
|
|
|
13082 |
}'
|
|
|
13083 |
else
|
|
|
13084 |
as_fn_arith ()
|
|
|
13085 |
{
|
|
|
13086 |
as_val=`expr "$@" || test $? -eq 1`
|
|
|
13087 |
}
|
|
|
13088 |
fi # as_fn_arith
|
|
|
13089 |
|
|
|
13090 |
|
9965 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
13091 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
9966 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
13092 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
9967 |
as_expr=expr
|
13093 |
as_expr=expr
|
9968 |
else
|
13094 |
else
|
9969 |
as_expr=false
|
13095 |
as_expr=false
|
|
... |
|
... |
9973 |
as_basename=basename
|
13099 |
as_basename=basename
|
9974 |
else
|
13100 |
else
|
9975 |
as_basename=false
|
13101 |
as_basename=false
|
9976 |
fi
|
13102 |
fi
|
9977 |
|
13103 |
|
|
|
13104 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
|
13105 |
as_dirname=dirname
|
|
|
13106 |
else
|
|
|
13107 |
as_dirname=false
|
|
|
13108 |
fi
|
9978 |
|
13109 |
|
9979 |
# Name of the executable.
|
|
|
9980 |
as_me=`$as_basename -- "$0" ||
|
13110 |
as_me=`$as_basename -- "$0" ||
|
9981 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
13111 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
9982 |
X"$0" : 'X\(//\)$' \| \
|
13112 |
X"$0" : 'X\(//\)$' \| \
|
9983 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
13113 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
9984 |
echo X/"$0" |
|
13114 |
$as_echo X/"$0" |
|
9985 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
13115 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
9986 |
s//\1/
|
13116 |
s//\1/
|
9987 |
q
|
13117 |
q
|
9988 |
}
|
13118 |
}
|
9989 |
/^X\/\(\/\/\)$/{
|
13119 |
/^X\/\(\/\/\)$/{
|
|
... |
|
... |
9994 |
s//\1/
|
13124 |
s//\1/
|
9995 |
q
|
13125 |
q
|
9996 |
}
|
13126 |
}
|
9997 |
s/.*/./; q'`
|
13127 |
s/.*/./; q'`
|
9998 |
|
13128 |
|
9999 |
# CDPATH.
|
13129 |
# Avoid depending upon Character Ranges.
|
10000 |
$as_unset CDPATH
|
13130 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
10001 |
|
13131 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
10002 |
|
13132 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
10003 |
|
13133 |
as_cr_digits='0123456789'
|
10004 |
as_lineno_1=$LINENO
|
13134 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
10005 |
as_lineno_2=$LINENO
|
|
|
10006 |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
|
|
10007 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
|
|
10008 |
|
|
|
10009 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
|
|
10010 |
# uniformly replaced by the line number. The first 'sed' inserts a
|
|
|
10011 |
# line-number line after each line using $LINENO; the second 'sed'
|
|
|
10012 |
# does the real work. The second script uses 'N' to pair each
|
|
|
10013 |
# line-number line with the line containing $LINENO, and appends
|
|
|
10014 |
# trailing '-' during substitution so that $LINENO is not a special
|
|
|
10015 |
# case at line end.
|
|
|
10016 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
|
|
10017 |
# scripts with optimization help from Paolo Bonzini. Blame Lee
|
|
|
10018 |
# E. McMahon (1931-1989) for sed's syntax. :-)
|
|
|
10019 |
sed -n '
|
|
|
10020 |
p
|
|
|
10021 |
/[$]LINENO/=
|
|
|
10022 |
' <$as_myself |
|
|
|
10023 |
sed '
|
|
|
10024 |
s/[$]LINENO.*/&-/
|
|
|
10025 |
t lineno
|
|
|
10026 |
b
|
|
|
10027 |
:lineno
|
|
|
10028 |
N
|
|
|
10029 |
:loop
|
|
|
10030 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
|
|
10031 |
t loop
|
|
|
10032 |
s/-\n.*//
|
|
|
10033 |
' >$as_me.lineno &&
|
|
|
10034 |
chmod +x "$as_me.lineno" ||
|
|
|
10035 |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
|
|
10036 |
{ (exit 1); exit 1; }; }
|
|
|
10037 |
|
|
|
10038 |
# Don't try to exec as it changes $[0], causing all sort of problems
|
|
|
10039 |
# (the dirname of $[0] is not the place where we might find the
|
|
|
10040 |
# original and so on. Autoconf is especially sensitive to this).
|
|
|
10041 |
. "./$as_me.lineno"
|
|
|
10042 |
# Exit status is that of the last command.
|
|
|
10043 |
exit
|
|
|
10044 |
}
|
|
|
10045 |
|
|
|
10046 |
|
|
|
10047 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
|
10048 |
as_dirname=dirname
|
|
|
10049 |
else
|
|
|
10050 |
as_dirname=false
|
|
|
10051 |
fi
|
|
|
10052 |
|
13135 |
|
10053 |
ECHO_C= ECHO_N= ECHO_T=
|
13136 |
ECHO_C= ECHO_N= ECHO_T=
|
10054 |
case `echo -n x` in
|
13137 |
case `echo -n x` in #(((((
|
10055 |
-n*)
|
13138 |
-n*)
|
10056 |
case `echo 'x\c'` in
|
13139 |
case `echo 'xy\c'` in
|
10057 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
13140 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
10058 |
*) ECHO_C='\c';;
|
13141 |
xy) ECHO_C='\c';;
|
|
|
13142 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
|
|
13143 |
ECHO_T=' ';;
|
10059 |
esac;;
|
13144 |
esac;;
|
10060 |
*)
|
13145 |
*)
|
10061 |
ECHO_N='-n';;
|
13146 |
ECHO_N='-n';;
|
10062 |
esac
|
13147 |
esac
|
10063 |
|
13148 |
|
10064 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
|
|
10065 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
|
|
10066 |
as_expr=expr
|
|
|
10067 |
else
|
|
|
10068 |
as_expr=false
|
|
|
10069 |
fi
|
|
|
10070 |
|
|
|
10071 |
rm -f conf$$ conf$$.exe conf$$.file
|
13149 |
rm -f conf$$ conf$$.exe conf$$.file
|
10072 |
if test -d conf$$.dir; then
|
13150 |
if test -d conf$$.dir; then
|
10073 |
rm -f conf$$.dir/conf$$.file
|
13151 |
rm -f conf$$.dir/conf$$.file
|
10074 |
else
|
13152 |
else
|
10075 |
rm -f conf$$.dir
|
13153 |
rm -f conf$$.dir
|
10076 |
mkdir conf$$.dir
|
13154 |
mkdir conf$$.dir 2>/dev/null
|
10077 |
fi
|
13155 |
fi
|
10078 |
echo >conf$$.file
|
13156 |
if (echo >conf$$.file) 2>/dev/null; then
|
10079 |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
13157 |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
10080 |
as_ln_s='ln -s'
|
13158 |
as_ln_s='ln -s'
|
10081 |
# ... but there are two gotchas:
|
13159 |
# ... but there are two gotchas:
|
10082 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
13160 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
10083 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
13161 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
10084 |
# In both cases, we have to default to `cp -p'.
|
13162 |
# In both cases, we have to default to `cp -pR'.
|
10085 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
13163 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
10086 |
as_ln_s='cp -p'
|
13164 |
as_ln_s='cp -pR'
|
10087 |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
13165 |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
10088 |
as_ln_s=ln
|
13166 |
as_ln_s=ln
|
10089 |
else
|
13167 |
else
|
|
|
13168 |
as_ln_s='cp -pR'
|
|
|
13169 |
fi
|
|
|
13170 |
else
|
10090 |
as_ln_s='cp -p'
|
13171 |
as_ln_s='cp -pR'
|
10091 |
fi
|
13172 |
fi
|
10092 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
13173 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
10093 |
rmdir conf$$.dir 2>/dev/null
|
13174 |
rmdir conf$$.dir 2>/dev/null
|
10094 |
|
13175 |
|
10095 |
if mkdir -p . 2>/dev/null; then
|
13176 |
|
10096 |
as_mkdir_p=:
|
13177 |
# as_fn_mkdir_p
|
10097 |
else
|
13178 |
# -------------
|
10098 |
test -d ./-p && rmdir ./-p
|
13179 |
# Create "$as_dir" as a directory, including parents if necessary.
|
10099 |
as_mkdir_p=false
|
13180 |
as_fn_mkdir_p ()
|
10100 |
fi
|
|
|
10101 |
|
|
|
10102 |
if test -x / >/dev/null 2>&1; then
|
|
|
10103 |
as_test_x='test -x'
|
|
|
10104 |
else
|
|
|
10105 |
if ls -dL / >/dev/null 2>&1; then
|
|
|
10106 |
as_ls_L_option=L
|
|
|
10107 |
else
|
|
|
10108 |
as_ls_L_option=
|
|
|
10109 |
fi
|
|
|
10110 |
as_test_x='
|
|
|
10111 |
eval sh -c '\''
|
|
|
10112 |
if test -d "$1"; then
|
|
|
10113 |
test -d "$1/.";
|
|
|
10114 |
else
|
|
|
10115 |
case $1 in
|
|
|
10116 |
-*)set "./$1";;
|
|
|
10117 |
esac;
|
|
|
10118 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
|
|
10119 |
???[sx]*):;;*)false;;esac;fi
|
|
|
10120 |
'\'' sh
|
|
|
10121 |
'
|
|
|
10122 |
fi
|
|
|
10123 |
as_executable_p=$as_test_x
|
|
|
10124 |
|
|
|
10125 |
# Sed expression to map a string onto a valid CPP name.
|
|
|
10126 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
|
|
10127 |
|
|
|
10128 |
# Sed expression to map a string onto a valid variable name.
|
|
|
10129 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
|
|
10130 |
|
|
|
10131 |
|
|
|
10132 |
exec 6>&1
|
|
|
10133 |
|
|
|
10134 |
# Save the log message, to keep $[0] and so on meaningful, and to
|
|
|
10135 |
# report actual input values of CONFIG_FILES etc. instead of their
|
|
|
10136 |
# values after options handling.
|
|
|
10137 |
ac_log="
|
|
|
10138 |
This file was extended by $as_me, which was
|
|
|
10139 |
generated by GNU Autoconf 2.61. Invocation command line was
|
|
|
10140 |
|
|
|
10141 |
CONFIG_FILES = $CONFIG_FILES
|
|
|
10142 |
CONFIG_HEADERS = $CONFIG_HEADERS
|
|
|
10143 |
CONFIG_LINKS = $CONFIG_LINKS
|
|
|
10144 |
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
|
|
10145 |
$ $0 $@
|
|
|
10146 |
|
|
|
10147 |
on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
|
|
10148 |
"
|
|
|
10149 |
|
|
|
10150 |
_ACEOF
|
|
|
10151 |
|
|
|
10152 |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
|
10153 |
# Files that config.status was made for.
|
|
|
10154 |
config_files="$ac_config_files"
|
|
|
10155 |
config_headers="$ac_config_headers"
|
|
|
10156 |
config_commands="$ac_config_commands"
|
|
|
10157 |
|
|
|
10158 |
_ACEOF
|
|
|
10159 |
|
|
|
10160 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
|
10161 |
ac_cs_usage="\
|
|
|
10162 |
\`$as_me' instantiates files from templates according to the
|
|
|
10163 |
current configuration.
|
|
|
10164 |
|
|
|
10165 |
Usage: $0 [OPTIONS] [FILE]...
|
|
|
10166 |
|
|
|
10167 |
-h, --help print this help, then exit
|
|
|
10168 |
-V, --version print version number and configuration settings, then exit
|
|
|
10169 |
-q, --quiet do not print progress messages
|
|
|
10170 |
-d, --debug don't remove temporary files
|
|
|
10171 |
--recheck update $as_me by reconfiguring in the same conditions
|
|
|
10172 |
--file=FILE[:TEMPLATE]
|
|
|
10173 |
instantiate the configuration file FILE
|
|
|
10174 |
--header=FILE[:TEMPLATE]
|
|
|
10175 |
instantiate the configuration header FILE
|
|
|
10176 |
|
|
|
10177 |
Configuration files:
|
|
|
10178 |
$config_files
|
|
|
10179 |
|
|
|
10180 |
Configuration headers:
|
|
|
10181 |
$config_headers
|
|
|
10182 |
|
|
|
10183 |
Configuration commands:
|
|
|
10184 |
$config_commands
|
|
|
10185 |
|
|
|
10186 |
Report bugs to <bug-autoconf@gnu.org>."
|
|
|
10187 |
|
|
|
10188 |
_ACEOF
|
|
|
10189 |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
|
10190 |
ac_cs_version="\\
|
|
|
10191 |
config.status
|
|
|
10192 |
configured by $0, generated by GNU Autoconf 2.61,
|
|
|
10193 |
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
|
|
|
10194 |
|
|
|
10195 |
Copyright (C) 2006 Free Software Foundation, Inc.
|
|
|
10196 |
This config.status script is free software; the Free Software Foundation
|
|
|
10197 |
gives unlimited permission to copy, distribute and modify it."
|
|
|
10198 |
|
|
|
10199 |
ac_pwd='$ac_pwd'
|
|
|
10200 |
srcdir='$srcdir'
|
|
|
10201 |
INSTALL='$INSTALL'
|
|
|
10202 |
_ACEOF
|
|
|
10203 |
|
|
|
10204 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
|
10205 |
# If no file are specified by the user, then we need to provide default
|
|
|
10206 |
# value. By we need to know if files were specified by the user.
|
|
|
10207 |
ac_need_defaults=:
|
|
|
10208 |
while test $# != 0
|
|
|
10209 |
do
|
|
|
10210 |
case $1 in
|
|
|
10211 |
--*=*)
|
|
|
10212 |
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
|
|
10213 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
|
|
10214 |
ac_shift=:
|
|
|
10215 |
;;
|
|
|
10216 |
*)
|
|
|
10217 |
ac_option=$1
|
|
|
10218 |
ac_optarg=$2
|
|
|
10219 |
ac_shift=shift
|
|
|
10220 |
;;
|
|
|
10221 |
esac
|
|
|
10222 |
|
|
|
10223 |
case $ac_option in
|
|
|
10224 |
# Handling of the options.
|
|
|
10225 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
|
|
10226 |
ac_cs_recheck=: ;;
|
|
|
10227 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
|
|
10228 |
echo "$ac_cs_version"; exit ;;
|
|
|
10229 |
--debug | --debu | --deb | --de | --d | -d )
|
|
|
10230 |
debug=: ;;
|
|
|
10231 |
--file | --fil | --fi | --f )
|
|
|
10232 |
$ac_shift
|
|
|
10233 |
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
|
|
|
10234 |
ac_need_defaults=false;;
|
|
|
10235 |
--header | --heade | --head | --hea )
|
|
|
10236 |
$ac_shift
|
|
|
10237 |
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
|
|
|
10238 |
ac_need_defaults=false;;
|
|
|
10239 |
--he | --h)
|
|
|
10240 |
# Conflict between --help and --header
|
|
|
10241 |
{ echo "$as_me: error: ambiguous option: $1
|
|
|
10242 |
Try \`$0 --help' for more information." >&2
|
|
|
10243 |
{ (exit 1); exit 1; }; };;
|
|
|
10244 |
--help | --hel | -h )
|
|
|
10245 |
echo "$ac_cs_usage"; exit ;;
|
|
|
10246 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
|
|
10247 |
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
|
|
10248 |
ac_cs_silent=: ;;
|
|
|
10249 |
|
|
|
10250 |
# This is an error.
|
|
|
10251 |
-*) { echo "$as_me: error: unrecognized option: $1
|
|
|
10252 |
Try \`$0 --help' for more information." >&2
|
|
|
10253 |
{ (exit 1); exit 1; }; } ;;
|
|
|
10254 |
|
|
|
10255 |
*) ac_config_targets="$ac_config_targets $1"
|
|
|
10256 |
ac_need_defaults=false ;;
|
|
|
10257 |
|
|
|
10258 |
esac
|
|
|
10259 |
shift
|
|
|
10260 |
done
|
|
|
10261 |
|
|
|
10262 |
ac_configure_extra_args=
|
|
|
10263 |
|
|
|
10264 |
if $ac_cs_silent; then
|
|
|
10265 |
exec 6>/dev/null
|
|
|
10266 |
ac_configure_extra_args="$ac_configure_extra_args --silent"
|
|
|
10267 |
fi
|
|
|
10268 |
|
|
|
10269 |
_ACEOF
|
|
|
10270 |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
|
10271 |
if \$ac_cs_recheck; then
|
|
|
10272 |
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
|
|
|
10273 |
CONFIG_SHELL=$SHELL
|
|
|
10274 |
export CONFIG_SHELL
|
|
|
10275 |
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
|
|
10276 |
fi
|
|
|
10277 |
|
|
|
10278 |
_ACEOF
|
|
|
10279 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
|
10280 |
exec 5>>config.log
|
|
|
10281 |
{
|
13181 |
{
|
10282 |
echo
|
|
|
10283 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
|
|
10284 |
## Running $as_me. ##
|
|
|
10285 |
_ASBOX
|
|
|
10286 |
echo "$ac_log"
|
|
|
10287 |
} >&5
|
|
|
10288 |
|
13182 |
|
10289 |
_ACEOF
|
|
|
10290 |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
|
10291 |
#
|
|
|
10292 |
# INIT-COMMANDS
|
|
|
10293 |
#
|
|
|
10294 |
AMDEP_TRUE="$AMDEP_TRUE"
|
|
|
10295 |
ac_aux_dir="$ac_aux_dir"
|
|
|
10296 |
|
|
|
10297 |
_ACEOF
|
|
|
10298 |
|
|
|
10299 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
|
10300 |
|
|
|
10301 |
# Handling of arguments.
|
|
|
10302 |
for ac_config_target in $ac_config_targets
|
|
|
10303 |
do
|
|
|
10304 |
case $ac_config_target in
|
|
|
10305 |
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
|
|
10306 |
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
|
|
|
10307 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
|
|
10308 |
"unac.pc") CONFIG_FILES="$CONFIG_FILES unac.pc" ;;
|
|
|
10309 |
"unac.spec") CONFIG_FILES="$CONFIG_FILES unac.spec" ;;
|
|
|
10310 |
"t_unac") CONFIG_FILES="$CONFIG_FILES t_unac" ;;
|
|
|
10311 |
"builder") CONFIG_FILES="$CONFIG_FILES builder" ;;
|
|
|
10312 |
"default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
|
|
|
10313 |
|
|
|
10314 |
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
|
|
10315 |
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
|
|
10316 |
{ (exit 1); exit 1; }; };;
|
|
|
10317 |
esac
|
|
|
10318 |
done
|
|
|
10319 |
|
|
|
10320 |
|
|
|
10321 |
# If the user did not use the arguments to specify the items to instantiate,
|
|
|
10322 |
# then the envvar interface is used. Set only those that are not.
|
|
|
10323 |
# We use the long form for the default assignment because of an extremely
|
|
|
10324 |
# bizarre bug on SunOS 4.1.3.
|
|
|
10325 |
if $ac_need_defaults; then
|
|
|
10326 |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
|
|
10327 |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
|
|
10328 |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
|
|
10329 |
fi
|
|
|
10330 |
|
|
|
10331 |
# Have a temporary directory for convenience. Make it in the build tree
|
|
|
10332 |
# simply because there is no reason against having it here, and in addition,
|
|
|
10333 |
# creating and moving files from /tmp can sometimes cause problems.
|
|
|
10334 |
# Hook for its removal unless debugging.
|
|
|
10335 |
# Note that there is a small window in which the directory will not be cleaned:
|
|
|
10336 |
# after its creation but before its name has been assigned to `$tmp'.
|
|
|
10337 |
$debug ||
|
|
|
10338 |
{
|
|
|
10339 |
tmp=
|
|
|
10340 |
trap 'exit_status=$?
|
|
|
10341 |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
|
|
10342 |
' 0
|
|
|
10343 |
trap '{ (exit 1); exit 1; }' 1 2 13 15
|
|
|
10344 |
}
|
|
|
10345 |
# Create a (secure) tmp directory for tmp files.
|
|
|
10346 |
|
|
|
10347 |
{
|
|
|
10348 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
|
|
10349 |
test -n "$tmp" && test -d "$tmp"
|
|
|
10350 |
} ||
|
|
|
10351 |
{
|
|
|
10352 |
tmp=./conf$$-$RANDOM
|
|
|
10353 |
(umask 077 && mkdir "$tmp")
|
|
|
10354 |
} ||
|
|
|
10355 |
{
|
|
|
10356 |
echo "$me: cannot create a temporary directory in ." >&2
|
|
|
10357 |
{ (exit 1); exit 1; }
|
|
|
10358 |
}
|
|
|
10359 |
|
|
|
10360 |
#
|
|
|
10361 |
# Set up the sed scripts for CONFIG_FILES section.
|
|
|
10362 |
#
|
|
|
10363 |
|
|
|
10364 |
# No need to generate the scripts if there are no CONFIG_FILES.
|
|
|
10365 |
# This happens for instance when ./config.status config.h
|
|
|
10366 |
if test -n "$CONFIG_FILES"; then
|
|
|
10367 |
|
|
|
10368 |
_ACEOF
|
|
|
10369 |
|
|
|
10370 |
|
|
|
10371 |
|
|
|
10372 |
ac_delim='%!_!# '
|
|
|
10373 |
for ac_last_try in false false false false false :; do
|
|
|
10374 |
cat >conf$$subs.sed <<_ACEOF
|
|
|
10375 |
SHELL!$SHELL$ac_delim
|
|
|
10376 |
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
|
|
|
10377 |
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
|
|
|
10378 |
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
|
|
|
10379 |
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
|
|
|
10380 |
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
|
|
|
10381 |
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
|
|
|
10382 |
exec_prefix!$exec_prefix$ac_delim
|
|
|
10383 |
prefix!$prefix$ac_delim
|
|
|
10384 |
program_transform_name!$program_transform_name$ac_delim
|
|
|
10385 |
bindir!$bindir$ac_delim
|
|
|
10386 |
sbindir!$sbindir$ac_delim
|
|
|
10387 |
libexecdir!$libexecdir$ac_delim
|
|
|
10388 |
datarootdir!$datarootdir$ac_delim
|
|
|
10389 |
datadir!$datadir$ac_delim
|
|
|
10390 |
sysconfdir!$sysconfdir$ac_delim
|
|
|
10391 |
sharedstatedir!$sharedstatedir$ac_delim
|
|
|
10392 |
localstatedir!$localstatedir$ac_delim
|
|
|
10393 |
includedir!$includedir$ac_delim
|
|
|
10394 |
oldincludedir!$oldincludedir$ac_delim
|
|
|
10395 |
docdir!$docdir$ac_delim
|
|
|
10396 |
infodir!$infodir$ac_delim
|
|
|
10397 |
htmldir!$htmldir$ac_delim
|
|
|
10398 |
dvidir!$dvidir$ac_delim
|
|
|
10399 |
pdfdir!$pdfdir$ac_delim
|
|
|
10400 |
psdir!$psdir$ac_delim
|
|
|
10401 |
libdir!$libdir$ac_delim
|
|
|
10402 |
localedir!$localedir$ac_delim
|
|
|
10403 |
mandir!$mandir$ac_delim
|
|
|
10404 |
DEFS!$DEFS$ac_delim
|
|
|
10405 |
ECHO_C!$ECHO_C$ac_delim
|
|
|
10406 |
ECHO_N!$ECHO_N$ac_delim
|
|
|
10407 |
ECHO_T!$ECHO_T$ac_delim
|
|
|
10408 |
LIBS!$LIBS$ac_delim
|
|
|
10409 |
build_alias!$build_alias$ac_delim
|
|
|
10410 |
host_alias!$host_alias$ac_delim
|
|
|
10411 |
target_alias!$target_alias$ac_delim
|
|
|
10412 |
MAJOR_VERSION!$MAJOR_VERSION$ac_delim
|
|
|
10413 |
MINOR_VERSION!$MINOR_VERSION$ac_delim
|
|
|
10414 |
MICRO_VERSION!$MICRO_VERSION$ac_delim
|
|
|
10415 |
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
|
|
|
10416 |
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
|
|
|
10417 |
INSTALL_DATA!$INSTALL_DATA$ac_delim
|
|
|
10418 |
PACKAGE!$PACKAGE$ac_delim
|
|
|
10419 |
VERSION!$VERSION$ac_delim
|
|
|
10420 |
EXEEXT!$EXEEXT$ac_delim
|
|
|
10421 |
OBJEXT!$OBJEXT$ac_delim
|
|
|
10422 |
ACLOCAL!$ACLOCAL$ac_delim
|
|
|
10423 |
AUTOCONF!$AUTOCONF$ac_delim
|
|
|
10424 |
AUTOMAKE!$AUTOMAKE$ac_delim
|
|
|
10425 |
AUTOHEADER!$AUTOHEADER$ac_delim
|
|
|
10426 |
MAKEINFO!$MAKEINFO$ac_delim
|
|
|
10427 |
AMTAR!$AMTAR$ac_delim
|
|
|
10428 |
install_sh!$install_sh$ac_delim
|
|
|
10429 |
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
|
|
|
10430 |
AWK!$AWK$ac_delim
|
|
|
10431 |
SET_MAKE!$SET_MAKE$ac_delim
|
|
|
10432 |
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
|
|
|
10433 |
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
|
|
|
10434 |
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
|
|
|
10435 |
DEPDIR!$DEPDIR$ac_delim
|
|
|
10436 |
UNICODE_VERSION!$UNICODE_VERSION$ac_delim
|
|
|
10437 |
CC!$CC$ac_delim
|
|
|
10438 |
CFLAGS!$CFLAGS$ac_delim
|
|
|
10439 |
LDFLAGS!$LDFLAGS$ac_delim
|
|
|
10440 |
CPPFLAGS!$CPPFLAGS$ac_delim
|
|
|
10441 |
ac_ct_CC!$ac_ct_CC$ac_delim
|
|
|
10442 |
am__include!$am__include$ac_delim
|
|
|
10443 |
am__quote!$am__quote$ac_delim
|
|
|
10444 |
CCDEPMODE!$CCDEPMODE$ac_delim
|
|
|
10445 |
CPP!$CPP$ac_delim
|
|
|
10446 |
GREP!$GREP$ac_delim
|
|
|
10447 |
EGREP!$EGREP$ac_delim
|
|
|
10448 |
build!$build$ac_delim
|
|
|
10449 |
build_cpu!$build_cpu$ac_delim
|
|
|
10450 |
build_vendor!$build_vendor$ac_delim
|
|
|
10451 |
build_os!$build_os$ac_delim
|
|
|
10452 |
host!$host$ac_delim
|
|
|
10453 |
host_cpu!$host_cpu$ac_delim
|
|
|
10454 |
host_vendor!$host_vendor$ac_delim
|
|
|
10455 |
host_os!$host_os$ac_delim
|
|
|
10456 |
LN_S!$LN_S$ac_delim
|
|
|
10457 |
ECHO!$ECHO$ac_delim
|
|
|
10458 |
RANLIB!$RANLIB$ac_delim
|
|
|
10459 |
STRIP!$STRIP$ac_delim
|
|
|
10460 |
LIBTOOL!$LIBTOOL$ac_delim
|
|
|
10461 |
PERL!$PERL$ac_delim
|
|
|
10462 |
SH!$SH$ac_delim
|
|
|
10463 |
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
|
|
|
10464 |
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
|
|
|
10465 |
MAINT!$MAINT$ac_delim
|
|
|
10466 |
LIBICONV!$LIBICONV$ac_delim
|
|
|
10467 |
LTLIBICONV!$LTLIBICONV$ac_delim
|
|
|
10468 |
LIBOBJS!$LIBOBJS$ac_delim
|
|
|
10469 |
LTLIBOBJS!$LTLIBOBJS$ac_delim
|
|
|
10470 |
_ACEOF
|
|
|
10471 |
|
|
|
10472 |
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 95; then
|
|
|
10473 |
break
|
|
|
10474 |
elif $ac_last_try; then
|
|
|
10475 |
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
|
|
10476 |
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
|
|
10477 |
{ (exit 1); exit 1; }; }
|
|
|
10478 |
else
|
|
|
10479 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
|
|
10480 |
fi
|
|
|
10481 |
done
|
|
|
10482 |
|
|
|
10483 |
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
|
|
|
10484 |
if test -n "$ac_eof"; then
|
|
|
10485 |
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
|
|
|
10486 |
ac_eof=`expr $ac_eof + 1`
|
|
|
10487 |
fi
|
|
|
10488 |
|
|
|
10489 |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
|
10490 |
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
|
|
|
10491 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
|
|
|
10492 |
_ACEOF
|
|
|
10493 |
sed '
|
|
|
10494 |
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
|
|
|
10495 |
s/^/s,@/; s/!/@,|#_!!_#|/
|
|
|
10496 |
:n
|
|
|
10497 |
t n
|
|
|
10498 |
s/'"$ac_delim"'$/,g/; t
|
|
|
10499 |
s/$/\\/; p
|
|
|
10500 |
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
|
|
|
10501 |
' >>$CONFIG_STATUS <conf$$subs.sed
|
|
|
10502 |
rm -f conf$$subs.sed
|
|
|
10503 |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
|
10504 |
:end
|
|
|
10505 |
s/|#_!!_#|//g
|
|
|
10506 |
CEOF$ac_eof
|
|
|
10507 |
_ACEOF
|
|
|
10508 |
|
|
|
10509 |
|
|
|
10510 |
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
|
|
10511 |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
|
|
10512 |
# trailing colons and then remove the whole line if VPATH becomes empty
|
|
|
10513 |
# (actually we leave an empty line to preserve line numbers).
|
|
|
10514 |
if test "x$srcdir" = x.; then
|
|
|
10515 |
ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
|
|
10516 |
s/:*\$(srcdir):*/:/
|
|
|
10517 |
s/:*\${srcdir}:*/:/
|
|
|
10518 |
s/:*@srcdir@:*/:/
|
|
|
10519 |
s/^\([^=]*=[ ]*\):*/\1/
|
|
|
10520 |
s/:*$//
|
|
|
10521 |
s/^[^=]*=[ ]*$//
|
|
|
10522 |
}'
|
|
|
10523 |
fi
|
|
|
10524 |
|
|
|
10525 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
|
10526 |
fi # test -n "$CONFIG_FILES"
|
|
|
10527 |
|
|
|
10528 |
|
|
|
10529 |
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
|
|
|
10530 |
do
|
|
|
10531 |
case $ac_tag in
|
|
|
10532 |
:[FHLC]) ac_mode=$ac_tag; continue;;
|
|
|
10533 |
esac
|
|
|
10534 |
case $ac_mode$ac_tag in
|
|
|
10535 |
:[FHL]*:*);;
|
|
|
10536 |
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
|
|
|
10537 |
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
|
|
|
10538 |
{ (exit 1); exit 1; }; };;
|
|
|
10539 |
:[FH]-) ac_tag=-:-;;
|
|
|
10540 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
|
|
10541 |
esac
|
|
|
10542 |
ac_save_IFS=$IFS
|
|
|
10543 |
IFS=:
|
|
|
10544 |
set x $ac_tag
|
|
|
10545 |
IFS=$ac_save_IFS
|
|
|
10546 |
shift
|
|
|
10547 |
ac_file=$1
|
|
|
10548 |
shift
|
|
|
10549 |
|
|
|
10550 |
case $ac_mode in
|
|
|
10551 |
:L) ac_source=$1;;
|
|
|
10552 |
:[FH])
|
|
|
10553 |
ac_file_inputs=
|
|
|
10554 |
for ac_f
|
|
|
10555 |
do
|
|
|
10556 |
case $ac_f in
|
|
|
10557 |
-) ac_f="$tmp/stdin";;
|
|
|
10558 |
*) # Look for the file first in the build tree, then in the source tree
|
|
|
10559 |
# (if the path is not absolute). The absolute path cannot be DOS-style,
|
|
|
10560 |
# because $ac_f cannot contain `:'.
|
|
|
10561 |
test -f "$ac_f" ||
|
|
|
10562 |
case $ac_f in
|
|
|
10563 |
[\\/$]*) false;;
|
|
|
10564 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
|
|
10565 |
esac ||
|
|
|
10566 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
|
|
|
10567 |
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
|
|
|
10568 |
{ (exit 1); exit 1; }; };;
|
|
|
10569 |
esac
|
|
|
10570 |
ac_file_inputs="$ac_file_inputs $ac_f"
|
|
|
10571 |
done
|
|
|
10572 |
|
|
|
10573 |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
|
|
10574 |
# use $as_me), people would be surprised to read:
|
|
|
10575 |
# /* config.h. Generated by config.status. */
|
|
|
10576 |
configure_input="Generated from "`IFS=:
|
|
|
10577 |
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
|
|
|
10578 |
if test x"$ac_file" != x-; then
|
|
|
10579 |
configure_input="$ac_file. $configure_input"
|
|
|
10580 |
{ echo "$as_me:$LINENO: creating $ac_file" >&5
|
|
|
10581 |
echo "$as_me: creating $ac_file" >&6;}
|
|
|
10582 |
fi
|
|
|
10583 |
|
|
|
10584 |
case $ac_tag in
|
|
|
10585 |
*:-:* | *:-) cat >"$tmp/stdin";;
|
|
|
10586 |
esac
|
|
|
10587 |
;;
|
|
|
10588 |
esac
|
|
|
10589 |
|
|
|
10590 |
ac_dir=`$as_dirname -- "$ac_file" ||
|
|
|
10591 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
|
10592 |
X"$ac_file" : 'X\(//\)[^/]' \| \
|
|
|
10593 |
X"$ac_file" : 'X\(//\)$' \| \
|
|
|
10594 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
|
|
10595 |
echo X"$ac_file" |
|
|
|
10596 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
|
10597 |
s//\1/
|
|
|
10598 |
q
|
|
|
10599 |
}
|
|
|
10600 |
/^X\(\/\/\)[^/].*/{
|
|
|
10601 |
s//\1/
|
|
|
10602 |
q
|
|
|
10603 |
}
|
|
|
10604 |
/^X\(\/\/\)$/{
|
|
|
10605 |
s//\1/
|
|
|
10606 |
q
|
|
|
10607 |
}
|
|
|
10608 |
/^X\(\/\).*/{
|
|
|
10609 |
s//\1/
|
|
|
10610 |
q
|
|
|
10611 |
}
|
|
|
10612 |
s/.*/./; q'`
|
|
|
10613 |
{ as_dir="$ac_dir"
|
|
|
10614 |
case $as_dir in #(
|
13183 |
case $as_dir in #(
|
10615 |
-*) as_dir=./$as_dir;;
|
13184 |
-*) as_dir=./$as_dir;;
|
10616 |
esac
|
13185 |
esac
|
10617 |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
13186 |
test -d "$as_dir" || eval $as_mkdir_p || {
|
10618 |
as_dirs=
|
13187 |
as_dirs=
|
10619 |
while :; do
|
13188 |
while :; do
|
10620 |
case $as_dir in #(
|
13189 |
case $as_dir in #(
|
10621 |
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
|
13190 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
10622 |
*) as_qdir=$as_dir;;
|
13191 |
*) as_qdir=$as_dir;;
|
10623 |
esac
|
13192 |
esac
|
10624 |
as_dirs="'$as_qdir' $as_dirs"
|
13193 |
as_dirs="'$as_qdir' $as_dirs"
|
10625 |
as_dir=`$as_dirname -- "$as_dir" ||
|
13194 |
as_dir=`$as_dirname -- "$as_dir" ||
|
10626 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
13195 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
10627 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
13196 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
10628 |
X"$as_dir" : 'X\(//\)$' \| \
|
13197 |
X"$as_dir" : 'X\(//\)$' \| \
|
10629 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
13198 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
10630 |
echo X"$as_dir" |
|
13199 |
$as_echo X"$as_dir" |
|
10631 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
13200 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
10632 |
s//\1/
|
13201 |
s//\1/
|
10633 |
q
|
13202 |
q
|
10634 |
}
|
13203 |
}
|
10635 |
/^X\(\/\/\)[^/].*/{
|
13204 |
/^X\(\/\/\)[^/].*/{
|
|
... |
|
... |
10646 |
}
|
13215 |
}
|
10647 |
s/.*/./; q'`
|
13216 |
s/.*/./; q'`
|
10648 |
test -d "$as_dir" && break
|
13217 |
test -d "$as_dir" && break
|
10649 |
done
|
13218 |
done
|
10650 |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
13219 |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
10651 |
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
13220 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
10652 |
echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
13221 |
|
10653 |
{ (exit 1); exit 1; }; }; }
|
13222 |
|
|
|
13223 |
} # as_fn_mkdir_p
|
|
|
13224 |
if mkdir -p . 2>/dev/null; then
|
|
|
13225 |
as_mkdir_p='mkdir -p "$as_dir"'
|
|
|
13226 |
else
|
|
|
13227 |
test -d ./-p && rmdir ./-p
|
|
|
13228 |
as_mkdir_p=false
|
|
|
13229 |
fi
|
|
|
13230 |
|
|
|
13231 |
|
|
|
13232 |
# as_fn_executable_p FILE
|
|
|
13233 |
# -----------------------
|
|
|
13234 |
# Test if FILE is an executable regular file.
|
|
|
13235 |
as_fn_executable_p ()
|
|
|
13236 |
{
|
|
|
13237 |
test -f "$1" && test -x "$1"
|
|
|
13238 |
} # as_fn_executable_p
|
|
|
13239 |
as_test_x='test -x'
|
|
|
13240 |
as_executable_p=as_fn_executable_p
|
|
|
13241 |
|
|
|
13242 |
# Sed expression to map a string onto a valid CPP name.
|
|
|
13243 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
|
|
13244 |
|
|
|
13245 |
# Sed expression to map a string onto a valid variable name.
|
|
|
13246 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
|
|
13247 |
|
|
|
13248 |
|
|
|
13249 |
exec 6>&1
|
|
|
13250 |
## ----------------------------------- ##
|
|
|
13251 |
## Main body of $CONFIG_STATUS script. ##
|
|
|
13252 |
## ----------------------------------- ##
|
|
|
13253 |
_ASEOF
|
|
|
13254 |
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
|
|
|
13255 |
|
|
|
13256 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
|
13257 |
# Save the log message, to keep $0 and so on meaningful, and to
|
|
|
13258 |
# report actual input values of CONFIG_FILES etc. instead of their
|
|
|
13259 |
# values after options handling.
|
|
|
13260 |
ac_log="
|
|
|
13261 |
This file was extended by unac $as_me 1.7.0, which was
|
|
|
13262 |
generated by GNU Autoconf 2.69. Invocation command line was
|
|
|
13263 |
|
|
|
13264 |
CONFIG_FILES = $CONFIG_FILES
|
|
|
13265 |
CONFIG_HEADERS = $CONFIG_HEADERS
|
|
|
13266 |
CONFIG_LINKS = $CONFIG_LINKS
|
|
|
13267 |
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
|
|
13268 |
$ $0 $@
|
|
|
13269 |
|
|
|
13270 |
on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
|
|
13271 |
"
|
|
|
13272 |
|
|
|
13273 |
_ACEOF
|
|
|
13274 |
|
|
|
13275 |
case $ac_config_files in *"
|
|
|
13276 |
"*) set x $ac_config_files; shift; ac_config_files=$*;;
|
|
|
13277 |
esac
|
|
|
13278 |
|
|
|
13279 |
case $ac_config_headers in *"
|
|
|
13280 |
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
|
|
|
13281 |
esac
|
|
|
13282 |
|
|
|
13283 |
|
|
|
13284 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
|
13285 |
# Files that config.status was made for.
|
|
|
13286 |
config_files="$ac_config_files"
|
|
|
13287 |
config_headers="$ac_config_headers"
|
|
|
13288 |
config_commands="$ac_config_commands"
|
|
|
13289 |
|
|
|
13290 |
_ACEOF
|
|
|
13291 |
|
|
|
13292 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
|
13293 |
ac_cs_usage="\
|
|
|
13294 |
\`$as_me' instantiates files and other configuration actions
|
|
|
13295 |
from templates according to the current configuration. Unless the files
|
|
|
13296 |
and actions are specified as TAGs, all are instantiated by default.
|
|
|
13297 |
|
|
|
13298 |
Usage: $0 [OPTION]... [TAG]...
|
|
|
13299 |
|
|
|
13300 |
-h, --help print this help, then exit
|
|
|
13301 |
-V, --version print version number and configuration settings, then exit
|
|
|
13302 |
--config print configuration, then exit
|
|
|
13303 |
-q, --quiet, --silent
|
|
|
13304 |
do not print progress messages
|
|
|
13305 |
-d, --debug don't remove temporary files
|
|
|
13306 |
--recheck update $as_me by reconfiguring in the same conditions
|
|
|
13307 |
--file=FILE[:TEMPLATE]
|
|
|
13308 |
instantiate the configuration file FILE
|
|
|
13309 |
--header=FILE[:TEMPLATE]
|
|
|
13310 |
instantiate the configuration header FILE
|
|
|
13311 |
|
|
|
13312 |
Configuration files:
|
|
|
13313 |
$config_files
|
|
|
13314 |
|
|
|
13315 |
Configuration headers:
|
|
|
13316 |
$config_headers
|
|
|
13317 |
|
|
|
13318 |
Configuration commands:
|
|
|
13319 |
$config_commands
|
|
|
13320 |
|
|
|
13321 |
Report bugs to the package provider."
|
|
|
13322 |
|
|
|
13323 |
_ACEOF
|
|
|
13324 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
|
13325 |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
|
|
13326 |
ac_cs_version="\\
|
|
|
13327 |
unac config.status 1.7.0
|
|
|
13328 |
configured by $0, generated by GNU Autoconf 2.69,
|
|
|
13329 |
with options \\"\$ac_cs_config\\"
|
|
|
13330 |
|
|
|
13331 |
Copyright (C) 2012 Free Software Foundation, Inc.
|
|
|
13332 |
This config.status script is free software; the Free Software Foundation
|
|
|
13333 |
gives unlimited permission to copy, distribute and modify it."
|
|
|
13334 |
|
|
|
13335 |
ac_pwd='$ac_pwd'
|
|
|
13336 |
srcdir='$srcdir'
|
|
|
13337 |
INSTALL='$INSTALL'
|
|
|
13338 |
MKDIR_P='$MKDIR_P'
|
|
|
13339 |
AWK='$AWK'
|
|
|
13340 |
test -n "\$AWK" || AWK=awk
|
|
|
13341 |
_ACEOF
|
|
|
13342 |
|
|
|
13343 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
|
13344 |
# The default lists apply if the user does not specify any file.
|
|
|
13345 |
ac_need_defaults=:
|
|
|
13346 |
while test $# != 0
|
|
|
13347 |
do
|
|
|
13348 |
case $1 in
|
|
|
13349 |
--*=?*)
|
|
|
13350 |
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
|
|
13351 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
|
|
13352 |
ac_shift=:
|
|
|
13353 |
;;
|
|
|
13354 |
--*=)
|
|
|
13355 |
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
|
|
13356 |
ac_optarg=
|
|
|
13357 |
ac_shift=:
|
|
|
13358 |
;;
|
|
|
13359 |
*)
|
|
|
13360 |
ac_option=$1
|
|
|
13361 |
ac_optarg=$2
|
|
|
13362 |
ac_shift=shift
|
|
|
13363 |
;;
|
|
|
13364 |
esac
|
|
|
13365 |
|
|
|
13366 |
case $ac_option in
|
|
|
13367 |
# Handling of the options.
|
|
|
13368 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
|
|
13369 |
ac_cs_recheck=: ;;
|
|
|
13370 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
|
|
13371 |
$as_echo "$ac_cs_version"; exit ;;
|
|
|
13372 |
--config | --confi | --conf | --con | --co | --c )
|
|
|
13373 |
$as_echo "$ac_cs_config"; exit ;;
|
|
|
13374 |
--debug | --debu | --deb | --de | --d | -d )
|
|
|
13375 |
debug=: ;;
|
|
|
13376 |
--file | --fil | --fi | --f )
|
|
|
13377 |
$ac_shift
|
|
|
13378 |
case $ac_optarg in
|
|
|
13379 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
|
13380 |
'') as_fn_error $? "missing file argument" ;;
|
|
|
13381 |
esac
|
|
|
13382 |
as_fn_append CONFIG_FILES " '$ac_optarg'"
|
|
|
13383 |
ac_need_defaults=false;;
|
|
|
13384 |
--header | --heade | --head | --hea )
|
|
|
13385 |
$ac_shift
|
|
|
13386 |
case $ac_optarg in
|
|
|
13387 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
|
13388 |
esac
|
|
|
13389 |
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
|
|
|
13390 |
ac_need_defaults=false;;
|
|
|
13391 |
--he | --h)
|
|
|
13392 |
# Conflict between --help and --header
|
|
|
13393 |
as_fn_error $? "ambiguous option: \`$1'
|
|
|
13394 |
Try \`$0 --help' for more information.";;
|
|
|
13395 |
--help | --hel | -h )
|
|
|
13396 |
$as_echo "$ac_cs_usage"; exit ;;
|
|
|
13397 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
|
|
13398 |
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
|
|
13399 |
ac_cs_silent=: ;;
|
|
|
13400 |
|
|
|
13401 |
# This is an error.
|
|
|
13402 |
-*) as_fn_error $? "unrecognized option: \`$1'
|
|
|
13403 |
Try \`$0 --help' for more information." ;;
|
|
|
13404 |
|
|
|
13405 |
*) as_fn_append ac_config_targets " $1"
|
|
|
13406 |
ac_need_defaults=false ;;
|
|
|
13407 |
|
|
|
13408 |
esac
|
|
|
13409 |
shift
|
|
|
13410 |
done
|
|
|
13411 |
|
|
|
13412 |
ac_configure_extra_args=
|
|
|
13413 |
|
|
|
13414 |
if $ac_cs_silent; then
|
|
|
13415 |
exec 6>/dev/null
|
|
|
13416 |
ac_configure_extra_args="$ac_configure_extra_args --silent"
|
|
|
13417 |
fi
|
|
|
13418 |
|
|
|
13419 |
_ACEOF
|
|
|
13420 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
|
13421 |
if \$ac_cs_recheck; then
|
|
|
13422 |
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
|
|
13423 |
shift
|
|
|
13424 |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
|
|
13425 |
CONFIG_SHELL='$SHELL'
|
|
|
13426 |
export CONFIG_SHELL
|
|
|
13427 |
exec "\$@"
|
|
|
13428 |
fi
|
|
|
13429 |
|
|
|
13430 |
_ACEOF
|
|
|
13431 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
|
13432 |
exec 5>>config.log
|
|
|
13433 |
{
|
|
|
13434 |
echo
|
|
|
13435 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
|
|
13436 |
## Running $as_me. ##
|
|
|
13437 |
_ASBOX
|
|
|
13438 |
$as_echo "$ac_log"
|
|
|
13439 |
} >&5
|
|
|
13440 |
|
|
|
13441 |
_ACEOF
|
|
|
13442 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
|
13443 |
#
|
|
|
13444 |
# INIT-COMMANDS
|
|
|
13445 |
#
|
|
|
13446 |
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
|
|
13447 |
|
|
|
13448 |
|
|
|
13449 |
# The HP-UX ksh and POSIX shell print the target directory to stdout
|
|
|
13450 |
# if CDPATH is set.
|
|
|
13451 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
|
|
13452 |
|
|
|
13453 |
sed_quote_subst='$sed_quote_subst'
|
|
|
13454 |
double_quote_subst='$double_quote_subst'
|
|
|
13455 |
delay_variable_subst='$delay_variable_subst'
|
|
|
13456 |
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
|
|
|
13457 |
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
|
|
|
13458 |
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
|
|
|
13459 |
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
|
|
|
13460 |
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
|
|
|
13461 |
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
|
|
|
13462 |
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
|
|
|
13463 |
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
|
|
|
13464 |
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
|
|
|
13465 |
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
|
|
|
13466 |
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
|
|
|
13467 |
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
|
|
|
13468 |
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
|
|
|
13469 |
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
|
|
|
13470 |
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
|
|
|
13471 |
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
|
|
|
13472 |
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
|
|
|
13473 |
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
|
|
|
13474 |
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
|
|
|
13475 |
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
|
|
|
13476 |
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
|
|
|
13477 |
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
|
|
|
13478 |
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
|
|
|
13479 |
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
|
|
|
13480 |
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
|
|
|
13481 |
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
|
|
|
13482 |
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
|
|
|
13483 |
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
|
|
|
13484 |
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
|
|
|
13485 |
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
|
|
|
13486 |
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
|
|
|
13487 |
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
|
|
|
13488 |
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
|
|
|
13489 |
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
|
|
|
13490 |
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
|
|
|
13491 |
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
|
|
|
13492 |
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
|
|
|
13493 |
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
|
|
|
13494 |
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
|
|
|
13495 |
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
|
|
|
13496 |
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
|
|
|
13497 |
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
|
|
|
13498 |
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
|
|
|
13499 |
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
|
|
|
13500 |
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
|
|
|
13501 |
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
|
|
|
13502 |
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
|
|
|
13503 |
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
|
|
|
13504 |
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
|
|
|
13505 |
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
|
|
|
13506 |
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
|
|
|
13507 |
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
|
|
|
13508 |
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
|
|
|
13509 |
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
|
|
|
13510 |
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
|
|
|
13511 |
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
|
|
|
13512 |
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"`'
|
|
|
13513 |
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
|
|
|
13514 |
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
|
|
|
13515 |
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
|
|
|
13516 |
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
|
|
|
13517 |
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
|
|
|
13518 |
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
|
|
|
13519 |
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
|
|
|
13520 |
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
|
|
|
13521 |
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
|
|
|
13522 |
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
|
|
|
13523 |
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
|
|
|
13524 |
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
|
|
|
13525 |
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
|
|
|
13526 |
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
|
|
|
13527 |
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
|
|
|
13528 |
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
|
|
|
13529 |
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
|
|
|
13530 |
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
|
|
|
13531 |
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
|
|
|
13532 |
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
|
|
|
13533 |
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
|
|
|
13534 |
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
|
|
|
13535 |
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
|
|
|
13536 |
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
|
|
|
13537 |
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
|
|
|
13538 |
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
|
|
|
13539 |
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
|
|
|
13540 |
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
|
|
|
13541 |
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
|
|
|
13542 |
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
|
|
|
13543 |
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
|
|
|
13544 |
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
|
|
|
13545 |
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
|
|
|
13546 |
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
|
|
|
13547 |
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
|
|
|
13548 |
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
|
|
|
13549 |
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
|
|
|
13550 |
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
|
|
|
13551 |
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
|
|
|
13552 |
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
|
|
|
13553 |
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
|
|
|
13554 |
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
|
|
|
13555 |
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
|
|
|
13556 |
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
|
|
|
13557 |
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
|
|
|
13558 |
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
|
|
|
13559 |
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
|
|
|
13560 |
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
|
|
|
13561 |
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
|
|
|
13562 |
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
|
|
|
13563 |
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
|
|
|
13564 |
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
|
|
|
13565 |
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
|
|
|
13566 |
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
|
|
|
13567 |
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
|
|
|
13568 |
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
|
|
|
13569 |
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
|
|
|
13570 |
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
|
|
|
13571 |
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
|
|
|
13572 |
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
|
|
|
13573 |
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
|
|
|
13574 |
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
|
|
|
13575 |
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
|
|
|
13576 |
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
|
|
|
13577 |
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
|
|
|
13578 |
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
|
|
|
13579 |
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
|
|
|
13580 |
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
|
|
|
13581 |
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
|
|
|
13582 |
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
|
|
|
13583 |
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
|
|
|
13584 |
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
|
|
|
13585 |
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
|
|
|
13586 |
|
|
|
13587 |
LTCC='$LTCC'
|
|
|
13588 |
LTCFLAGS='$LTCFLAGS'
|
|
|
13589 |
compiler='$compiler_DEFAULT'
|
|
|
13590 |
|
|
|
13591 |
# A function that is used when there is no print builtin or printf.
|
|
|
13592 |
func_fallback_echo ()
|
|
|
13593 |
{
|
|
|
13594 |
eval 'cat <<_LTECHO_EOF
|
|
|
13595 |
\$1
|
|
|
13596 |
_LTECHO_EOF'
|
|
|
13597 |
}
|
|
|
13598 |
|
|
|
13599 |
# Quote evaled strings.
|
|
|
13600 |
for var in SHELL \
|
|
|
13601 |
ECHO \
|
|
|
13602 |
PATH_SEPARATOR \
|
|
|
13603 |
SED \
|
|
|
13604 |
GREP \
|
|
|
13605 |
EGREP \
|
|
|
13606 |
FGREP \
|
|
|
13607 |
LD \
|
|
|
13608 |
NM \
|
|
|
13609 |
LN_S \
|
|
|
13610 |
lt_SP2NL \
|
|
|
13611 |
lt_NL2SP \
|
|
|
13612 |
reload_flag \
|
|
|
13613 |
OBJDUMP \
|
|
|
13614 |
deplibs_check_method \
|
|
|
13615 |
file_magic_cmd \
|
|
|
13616 |
file_magic_glob \
|
|
|
13617 |
want_nocaseglob \
|
|
|
13618 |
DLLTOOL \
|
|
|
13619 |
sharedlib_from_linklib_cmd \
|
|
|
13620 |
AR \
|
|
|
13621 |
AR_FLAGS \
|
|
|
13622 |
archiver_list_spec \
|
|
|
13623 |
STRIP \
|
|
|
13624 |
RANLIB \
|
|
|
13625 |
CC \
|
|
|
13626 |
CFLAGS \
|
|
|
13627 |
compiler \
|
|
|
13628 |
lt_cv_sys_global_symbol_pipe \
|
|
|
13629 |
lt_cv_sys_global_symbol_to_cdecl \
|
|
|
13630 |
lt_cv_sys_global_symbol_to_c_name_address \
|
|
|
13631 |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
|
|
|
13632 |
nm_file_list_spec \
|
|
|
13633 |
lt_prog_compiler_no_builtin_flag \
|
|
|
13634 |
lt_prog_compiler_pic \
|
|
|
13635 |
lt_prog_compiler_wl \
|
|
|
13636 |
lt_prog_compiler_static \
|
|
|
13637 |
lt_cv_prog_compiler_c_o \
|
|
|
13638 |
need_locks \
|
|
|
13639 |
MANIFEST_TOOL \
|
|
|
13640 |
DSYMUTIL \
|
|
|
13641 |
NMEDIT \
|
|
|
13642 |
LIPO \
|
|
|
13643 |
OTOOL \
|
|
|
13644 |
OTOOL64 \
|
|
|
13645 |
shrext_cmds \
|
|
|
13646 |
export_dynamic_flag_spec \
|
|
|
13647 |
whole_archive_flag_spec \
|
|
|
13648 |
compiler_needs_object \
|
|
|
13649 |
with_gnu_ld \
|
|
|
13650 |
allow_undefined_flag \
|
|
|
13651 |
no_undefined_flag \
|
|
|
13652 |
hardcode_libdir_flag_spec \
|
|
|
13653 |
hardcode_libdir_separator \
|
|
|
13654 |
exclude_expsyms \
|
|
|
13655 |
include_expsyms \
|
|
|
13656 |
file_list_spec \
|
|
|
13657 |
variables_saved_for_relink \
|
|
|
13658 |
libname_spec \
|
|
|
13659 |
library_names_spec \
|
|
|
13660 |
soname_spec \
|
|
|
13661 |
install_override_mode \
|
|
|
13662 |
finish_eval \
|
|
|
13663 |
old_striplib \
|
|
|
13664 |
striplib; do
|
|
|
13665 |
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
|
|
|
13666 |
*[\\\\\\\`\\"\\\$]*)
|
|
|
13667 |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
|
|
|
13668 |
;;
|
|
|
13669 |
*)
|
|
|
13670 |
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
|
|
|
13671 |
;;
|
|
|
13672 |
esac
|
|
|
13673 |
done
|
|
|
13674 |
|
|
|
13675 |
# Double-quote double-evaled strings.
|
|
|
13676 |
for var in reload_cmds \
|
|
|
13677 |
old_postinstall_cmds \
|
|
|
13678 |
old_postuninstall_cmds \
|
|
|
13679 |
old_archive_cmds \
|
|
|
13680 |
extract_expsyms_cmds \
|
|
|
13681 |
old_archive_from_new_cmds \
|
|
|
13682 |
old_archive_from_expsyms_cmds \
|
|
|
13683 |
archive_cmds \
|
|
|
13684 |
archive_expsym_cmds \
|
|
|
13685 |
module_cmds \
|
|
|
13686 |
module_expsym_cmds \
|
|
|
13687 |
export_symbols_cmds \
|
|
|
13688 |
prelink_cmds \
|
|
|
13689 |
postlink_cmds \
|
|
|
13690 |
postinstall_cmds \
|
|
|
13691 |
postuninstall_cmds \
|
|
|
13692 |
finish_cmds \
|
|
|
13693 |
sys_lib_search_path_spec \
|
|
|
13694 |
sys_lib_dlsearch_path_spec; do
|
|
|
13695 |
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
|
|
|
13696 |
*[\\\\\\\`\\"\\\$]*)
|
|
|
13697 |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
|
|
|
13698 |
;;
|
|
|
13699 |
*)
|
|
|
13700 |
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
|
|
|
13701 |
;;
|
|
|
13702 |
esac
|
|
|
13703 |
done
|
|
|
13704 |
|
|
|
13705 |
ac_aux_dir='$ac_aux_dir'
|
|
|
13706 |
xsi_shell='$xsi_shell'
|
|
|
13707 |
lt_shell_append='$lt_shell_append'
|
|
|
13708 |
|
|
|
13709 |
# See if we are running on zsh, and set the options which allow our
|
|
|
13710 |
# commands through without removal of \ escapes INIT.
|
|
|
13711 |
if test -n "\${ZSH_VERSION+set}" ; then
|
|
|
13712 |
setopt NO_GLOB_SUBST
|
|
|
13713 |
fi
|
|
|
13714 |
|
|
|
13715 |
|
|
|
13716 |
PACKAGE='$PACKAGE'
|
|
|
13717 |
VERSION='$VERSION'
|
|
|
13718 |
TIMESTAMP='$TIMESTAMP'
|
|
|
13719 |
RM='$RM'
|
|
|
13720 |
ofile='$ofile'
|
|
|
13721 |
|
|
|
13722 |
|
|
|
13723 |
|
|
|
13724 |
|
|
|
13725 |
_ACEOF
|
|
|
13726 |
|
|
|
13727 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
|
13728 |
|
|
|
13729 |
# Handling of arguments.
|
|
|
13730 |
for ac_config_target in $ac_config_targets
|
|
|
13731 |
do
|
|
|
13732 |
case $ac_config_target in
|
|
|
13733 |
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
|
|
13734 |
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
|
|
13735 |
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
|
|
|
13736 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
|
|
13737 |
"unac.pc") CONFIG_FILES="$CONFIG_FILES unac.pc" ;;
|
|
|
13738 |
"unac.spec") CONFIG_FILES="$CONFIG_FILES unac.spec" ;;
|
|
|
13739 |
"t_unac") CONFIG_FILES="$CONFIG_FILES t_unac" ;;
|
|
|
13740 |
"builder") CONFIG_FILES="$CONFIG_FILES builder" ;;
|
|
|
13741 |
"default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
|
|
|
13742 |
|
|
|
13743 |
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
|
|
13744 |
esac
|
|
|
13745 |
done
|
|
|
13746 |
|
|
|
13747 |
|
|
|
13748 |
# If the user did not use the arguments to specify the items to instantiate,
|
|
|
13749 |
# then the envvar interface is used. Set only those that are not.
|
|
|
13750 |
# We use the long form for the default assignment because of an extremely
|
|
|
13751 |
# bizarre bug on SunOS 4.1.3.
|
|
|
13752 |
if $ac_need_defaults; then
|
|
|
13753 |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
|
|
13754 |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
|
|
13755 |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
|
|
13756 |
fi
|
|
|
13757 |
|
|
|
13758 |
# Have a temporary directory for convenience. Make it in the build tree
|
|
|
13759 |
# simply because there is no reason against having it here, and in addition,
|
|
|
13760 |
# creating and moving files from /tmp can sometimes cause problems.
|
|
|
13761 |
# Hook for its removal unless debugging.
|
|
|
13762 |
# Note that there is a small window in which the directory will not be cleaned:
|
|
|
13763 |
# after its creation but before its name has been assigned to `$tmp'.
|
|
|
13764 |
$debug ||
|
|
|
13765 |
{
|
|
|
13766 |
tmp= ac_tmp=
|
|
|
13767 |
trap 'exit_status=$?
|
|
|
13768 |
: "${ac_tmp:=$tmp}"
|
|
|
13769 |
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
|
|
|
13770 |
' 0
|
|
|
13771 |
trap 'as_fn_exit 1' 1 2 13 15
|
|
|
13772 |
}
|
|
|
13773 |
# Create a (secure) tmp directory for tmp files.
|
|
|
13774 |
|
|
|
13775 |
{
|
|
|
13776 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
|
|
13777 |
test -d "$tmp"
|
|
|
13778 |
} ||
|
|
|
13779 |
{
|
|
|
13780 |
tmp=./conf$$-$RANDOM
|
|
|
13781 |
(umask 077 && mkdir "$tmp")
|
|
|
13782 |
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
|
|
|
13783 |
ac_tmp=$tmp
|
|
|
13784 |
|
|
|
13785 |
# Set up the scripts for CONFIG_FILES section.
|
|
|
13786 |
# No need to generate them if there are no CONFIG_FILES.
|
|
|
13787 |
# This happens for instance with `./config.status config.h'.
|
|
|
13788 |
if test -n "$CONFIG_FILES"; then
|
|
|
13789 |
|
|
|
13790 |
|
|
|
13791 |
ac_cr=`echo X | tr X '\015'`
|
|
|
13792 |
# On cygwin, bash can eat \r inside `` if the user requested igncr.
|
|
|
13793 |
# But we know of no other shell where ac_cr would be empty at this
|
|
|
13794 |
# point, so we can use a bashism as a fallback.
|
|
|
13795 |
if test "x$ac_cr" = x; then
|
|
|
13796 |
eval ac_cr=\$\'\\r\'
|
|
|
13797 |
fi
|
|
|
13798 |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
|
|
13799 |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
|
|
13800 |
ac_cs_awk_cr='\\r'
|
|
|
13801 |
else
|
|
|
13802 |
ac_cs_awk_cr=$ac_cr
|
|
|
13803 |
fi
|
|
|
13804 |
|
|
|
13805 |
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
|
|
|
13806 |
_ACEOF
|
|
|
13807 |
|
|
|
13808 |
|
|
|
13809 |
{
|
|
|
13810 |
echo "cat >conf$$subs.awk <<_ACEOF" &&
|
|
|
13811 |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
|
|
13812 |
echo "_ACEOF"
|
|
|
13813 |
} >conf$$subs.sh ||
|
|
|
13814 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
|
|
13815 |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
|
|
|
13816 |
ac_delim='%!_!# '
|
|
|
13817 |
for ac_last_try in false false false false false :; do
|
|
|
13818 |
. ./conf$$subs.sh ||
|
|
|
13819 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
|
|
13820 |
|
|
|
13821 |
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
|
|
|
13822 |
if test $ac_delim_n = $ac_delim_num; then
|
|
|
13823 |
break
|
|
|
13824 |
elif $ac_last_try; then
|
|
|
13825 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
|
|
13826 |
else
|
|
|
13827 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
|
|
13828 |
fi
|
|
|
13829 |
done
|
|
|
13830 |
rm -f conf$$subs.sh
|
|
|
13831 |
|
|
|
13832 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
|
13833 |
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
|
|
|
13834 |
_ACEOF
|
|
|
13835 |
sed -n '
|
|
|
13836 |
h
|
|
|
13837 |
s/^/S["/; s/!.*/"]=/
|
|
|
13838 |
p
|
|
|
13839 |
g
|
|
|
13840 |
s/^[^!]*!//
|
|
|
13841 |
:repl
|
|
|
13842 |
t repl
|
|
|
13843 |
s/'"$ac_delim"'$//
|
|
|
13844 |
t delim
|
|
|
13845 |
:nl
|
|
|
13846 |
h
|
|
|
13847 |
s/\(.\{148\}\)..*/\1/
|
|
|
13848 |
t more1
|
|
|
13849 |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
|
|
13850 |
p
|
|
|
13851 |
n
|
|
|
13852 |
b repl
|
|
|
13853 |
:more1
|
|
|
13854 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
|
|
13855 |
p
|
|
|
13856 |
g
|
|
|
13857 |
s/.\{148\}//
|
|
|
13858 |
t nl
|
|
|
13859 |
:delim
|
|
|
13860 |
h
|
|
|
13861 |
s/\(.\{148\}\)..*/\1/
|
|
|
13862 |
t more2
|
|
|
13863 |
s/["\\]/\\&/g; s/^/"/; s/$/"/
|
|
|
13864 |
p
|
|
|
13865 |
b
|
|
|
13866 |
:more2
|
|
|
13867 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
|
|
13868 |
p
|
|
|
13869 |
g
|
|
|
13870 |
s/.\{148\}//
|
|
|
13871 |
t delim
|
|
|
13872 |
' <conf$$subs.awk | sed '
|
|
|
13873 |
/^[^""]/{
|
|
|
13874 |
N
|
|
|
13875 |
s/\n//
|
|
|
13876 |
}
|
|
|
13877 |
' >>$CONFIG_STATUS || ac_write_fail=1
|
|
|
13878 |
rm -f conf$$subs.awk
|
|
|
13879 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
|
13880 |
_ACAWK
|
|
|
13881 |
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
|
|
|
13882 |
for (key in S) S_is_set[key] = 1
|
|
|
13883 |
FS = ""
|
|
|
13884 |
|
|
|
13885 |
}
|
|
|
13886 |
{
|
|
|
13887 |
line = $ 0
|
|
|
13888 |
nfields = split(line, field, "@")
|
|
|
13889 |
substed = 0
|
|
|
13890 |
len = length(field[1])
|
|
|
13891 |
for (i = 2; i < nfields; i++) {
|
|
|
13892 |
key = field[i]
|
|
|
13893 |
keylen = length(key)
|
|
|
13894 |
if (S_is_set[key]) {
|
|
|
13895 |
value = S[key]
|
|
|
13896 |
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
|
|
13897 |
len += length(value) + length(field[++i])
|
|
|
13898 |
substed = 1
|
|
|
13899 |
} else
|
|
|
13900 |
len += 1 + keylen
|
|
|
13901 |
}
|
|
|
13902 |
|
|
|
13903 |
print line
|
|
|
13904 |
}
|
|
|
13905 |
|
|
|
13906 |
_ACAWK
|
|
|
13907 |
_ACEOF
|
|
|
13908 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
|
13909 |
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
|
|
13910 |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
|
|
13911 |
else
|
|
|
13912 |
cat
|
|
|
13913 |
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
|
|
|
13914 |
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
|
|
|
13915 |
_ACEOF
|
|
|
13916 |
|
|
|
13917 |
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
|
|
|
13918 |
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
|
|
|
13919 |
# trailing colons and then remove the whole line if VPATH becomes empty
|
|
|
13920 |
# (actually we leave an empty line to preserve line numbers).
|
|
|
13921 |
if test "x$srcdir" = x.; then
|
|
|
13922 |
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
|
|
|
13923 |
h
|
|
|
13924 |
s///
|
|
|
13925 |
s/^/:/
|
|
|
13926 |
s/[ ]*$/:/
|
|
|
13927 |
s/:\$(srcdir):/:/g
|
|
|
13928 |
s/:\${srcdir}:/:/g
|
|
|
13929 |
s/:@srcdir@:/:/g
|
|
|
13930 |
s/^:*//
|
|
|
13931 |
s/:*$//
|
|
|
13932 |
x
|
|
|
13933 |
s/\(=[ ]*\).*/\1/
|
|
|
13934 |
G
|
|
|
13935 |
s/\n//
|
|
|
13936 |
s/^[^=]*=[ ]*$//
|
|
|
13937 |
}'
|
|
|
13938 |
fi
|
|
|
13939 |
|
|
|
13940 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
|
13941 |
fi # test -n "$CONFIG_FILES"
|
|
|
13942 |
|
|
|
13943 |
# Set up the scripts for CONFIG_HEADERS section.
|
|
|
13944 |
# No need to generate them if there are no CONFIG_HEADERS.
|
|
|
13945 |
# This happens for instance with `./config.status Makefile'.
|
|
|
13946 |
if test -n "$CONFIG_HEADERS"; then
|
|
|
13947 |
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
|
|
|
13948 |
BEGIN {
|
|
|
13949 |
_ACEOF
|
|
|
13950 |
|
|
|
13951 |
# Transform confdefs.h into an awk script `defines.awk', embedded as
|
|
|
13952 |
# here-document in config.status, that substitutes the proper values into
|
|
|
13953 |
# config.h.in to produce config.h.
|
|
|
13954 |
|
|
|
13955 |
# Create a delimiter string that does not exist in confdefs.h, to ease
|
|
|
13956 |
# handling of long lines.
|
|
|
13957 |
ac_delim='%!_!# '
|
|
|
13958 |
for ac_last_try in false false :; do
|
|
|
13959 |
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
|
|
|
13960 |
if test -z "$ac_tt"; then
|
|
|
13961 |
break
|
|
|
13962 |
elif $ac_last_try; then
|
|
|
13963 |
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
|
|
|
13964 |
else
|
|
|
13965 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
|
|
13966 |
fi
|
|
|
13967 |
done
|
|
|
13968 |
|
|
|
13969 |
# For the awk script, D is an array of macro values keyed by name,
|
|
|
13970 |
# likewise P contains macro parameters if any. Preserve backslash
|
|
|
13971 |
# newline sequences.
|
|
|
13972 |
|
|
|
13973 |
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
|
|
|
13974 |
sed -n '
|
|
|
13975 |
s/.\{148\}/&'"$ac_delim"'/g
|
|
|
13976 |
t rset
|
|
|
13977 |
:rset
|
|
|
13978 |
s/^[ ]*#[ ]*define[ ][ ]*/ /
|
|
|
13979 |
t def
|
|
|
13980 |
d
|
|
|
13981 |
:def
|
|
|
13982 |
s/\\$//
|
|
|
13983 |
t bsnl
|
|
|
13984 |
s/["\\]/\\&/g
|
|
|
13985 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
|
|
13986 |
D["\1"]=" \3"/p
|
|
|
13987 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
|
|
|
13988 |
d
|
|
|
13989 |
:bsnl
|
|
|
13990 |
s/["\\]/\\&/g
|
|
|
13991 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
|
|
13992 |
D["\1"]=" \3\\\\\\n"\\/p
|
|
|
13993 |
t cont
|
|
|
13994 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
|
|
|
13995 |
t cont
|
|
|
13996 |
d
|
|
|
13997 |
:cont
|
|
|
13998 |
n
|
|
|
13999 |
s/.\{148\}/&'"$ac_delim"'/g
|
|
|
14000 |
t clear
|
|
|
14001 |
:clear
|
|
|
14002 |
s/\\$//
|
|
|
14003 |
t bsnlc
|
|
|
14004 |
s/["\\]/\\&/g; s/^/"/; s/$/"/p
|
|
|
14005 |
d
|
|
|
14006 |
:bsnlc
|
|
|
14007 |
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
|
|
|
14008 |
b cont
|
|
|
14009 |
' <confdefs.h | sed '
|
|
|
14010 |
s/'"$ac_delim"'/"\\\
|
|
|
14011 |
"/g' >>$CONFIG_STATUS || ac_write_fail=1
|
|
|
14012 |
|
|
|
14013 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
|
14014 |
for (key in D) D_is_set[key] = 1
|
|
|
14015 |
FS = ""
|
|
|
14016 |
}
|
|
|
14017 |
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
|
|
|
14018 |
line = \$ 0
|
|
|
14019 |
split(line, arg, " ")
|
|
|
14020 |
if (arg[1] == "#") {
|
|
|
14021 |
defundef = arg[2]
|
|
|
14022 |
mac1 = arg[3]
|
|
|
14023 |
} else {
|
|
|
14024 |
defundef = substr(arg[1], 2)
|
|
|
14025 |
mac1 = arg[2]
|
|
|
14026 |
}
|
|
|
14027 |
split(mac1, mac2, "(") #)
|
|
|
14028 |
macro = mac2[1]
|
|
|
14029 |
prefix = substr(line, 1, index(line, defundef) - 1)
|
|
|
14030 |
if (D_is_set[macro]) {
|
|
|
14031 |
# Preserve the white space surrounding the "#".
|
|
|
14032 |
print prefix "define", macro P[macro] D[macro]
|
|
|
14033 |
next
|
|
|
14034 |
} else {
|
|
|
14035 |
# Replace #undef with comments. This is necessary, for example,
|
|
|
14036 |
# in the case of _POSIX_SOURCE, which is predefined and required
|
|
|
14037 |
# on some systems where configure will not decide to define it.
|
|
|
14038 |
if (defundef == "undef") {
|
|
|
14039 |
print "/*", prefix defundef, macro, "*/"
|
|
|
14040 |
next
|
|
|
14041 |
}
|
|
|
14042 |
}
|
|
|
14043 |
}
|
|
|
14044 |
{ print }
|
|
|
14045 |
_ACAWK
|
|
|
14046 |
_ACEOF
|
|
|
14047 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
|
14048 |
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
|
|
|
14049 |
fi # test -n "$CONFIG_HEADERS"
|
|
|
14050 |
|
|
|
14051 |
|
|
|
14052 |
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
|
|
|
14053 |
shift
|
|
|
14054 |
for ac_tag
|
|
|
14055 |
do
|
|
|
14056 |
case $ac_tag in
|
|
|
14057 |
:[FHLC]) ac_mode=$ac_tag; continue;;
|
|
|
14058 |
esac
|
|
|
14059 |
case $ac_mode$ac_tag in
|
|
|
14060 |
:[FHL]*:*);;
|
|
|
14061 |
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
|
|
|
14062 |
:[FH]-) ac_tag=-:-;;
|
|
|
14063 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
|
|
14064 |
esac
|
|
|
14065 |
ac_save_IFS=$IFS
|
|
|
14066 |
IFS=:
|
|
|
14067 |
set x $ac_tag
|
|
|
14068 |
IFS=$ac_save_IFS
|
|
|
14069 |
shift
|
|
|
14070 |
ac_file=$1
|
|
|
14071 |
shift
|
|
|
14072 |
|
|
|
14073 |
case $ac_mode in
|
|
|
14074 |
:L) ac_source=$1;;
|
|
|
14075 |
:[FH])
|
|
|
14076 |
ac_file_inputs=
|
|
|
14077 |
for ac_f
|
|
|
14078 |
do
|
|
|
14079 |
case $ac_f in
|
|
|
14080 |
-) ac_f="$ac_tmp/stdin";;
|
|
|
14081 |
*) # Look for the file first in the build tree, then in the source tree
|
|
|
14082 |
# (if the path is not absolute). The absolute path cannot be DOS-style,
|
|
|
14083 |
# because $ac_f cannot contain `:'.
|
|
|
14084 |
test -f "$ac_f" ||
|
|
|
14085 |
case $ac_f in
|
|
|
14086 |
[\\/$]*) false;;
|
|
|
14087 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
|
|
14088 |
esac ||
|
|
|
14089 |
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
|
|
14090 |
esac
|
|
|
14091 |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
|
|
14092 |
as_fn_append ac_file_inputs " '$ac_f'"
|
|
|
14093 |
done
|
|
|
14094 |
|
|
|
14095 |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
|
|
14096 |
# use $as_me), people would be surprised to read:
|
|
|
14097 |
# /* config.h. Generated by config.status. */
|
|
|
14098 |
configure_input='Generated from '`
|
|
|
14099 |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
|
|
14100 |
`' by configure.'
|
|
|
14101 |
if test x"$ac_file" != x-; then
|
|
|
14102 |
configure_input="$ac_file. $configure_input"
|
|
|
14103 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
|
|
14104 |
$as_echo "$as_me: creating $ac_file" >&6;}
|
|
|
14105 |
fi
|
|
|
14106 |
# Neutralize special characters interpreted by sed in replacement strings.
|
|
|
14107 |
case $configure_input in #(
|
|
|
14108 |
*\&* | *\|* | *\\* )
|
|
|
14109 |
ac_sed_conf_input=`$as_echo "$configure_input" |
|
|
|
14110 |
sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
|
|
14111 |
*) ac_sed_conf_input=$configure_input;;
|
|
|
14112 |
esac
|
|
|
14113 |
|
|
|
14114 |
case $ac_tag in
|
|
|
14115 |
*:-:* | *:-) cat >"$ac_tmp/stdin" \
|
|
|
14116 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
|
|
|
14117 |
esac
|
|
|
14118 |
;;
|
|
|
14119 |
esac
|
|
|
14120 |
|
|
|
14121 |
ac_dir=`$as_dirname -- "$ac_file" ||
|
|
|
14122 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
|
14123 |
X"$ac_file" : 'X\(//\)[^/]' \| \
|
|
|
14124 |
X"$ac_file" : 'X\(//\)$' \| \
|
|
|
14125 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
|
|
14126 |
$as_echo X"$ac_file" |
|
|
|
14127 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
|
14128 |
s//\1/
|
|
|
14129 |
q
|
|
|
14130 |
}
|
|
|
14131 |
/^X\(\/\/\)[^/].*/{
|
|
|
14132 |
s//\1/
|
|
|
14133 |
q
|
|
|
14134 |
}
|
|
|
14135 |
/^X\(\/\/\)$/{
|
|
|
14136 |
s//\1/
|
|
|
14137 |
q
|
|
|
14138 |
}
|
|
|
14139 |
/^X\(\/\).*/{
|
|
|
14140 |
s//\1/
|
|
|
14141 |
q
|
|
|
14142 |
}
|
|
|
14143 |
s/.*/./; q'`
|
|
|
14144 |
as_dir="$ac_dir"; as_fn_mkdir_p
|
10654 |
ac_builddir=.
|
14145 |
ac_builddir=.
|
10655 |
|
14146 |
|
10656 |
case "$ac_dir" in
|
14147 |
case "$ac_dir" in
|
10657 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
14148 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
10658 |
*)
|
14149 |
*)
|
10659 |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
14150 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
10660 |
# A ".." for each directory in $ac_dir_suffix.
|
14151 |
# A ".." for each directory in $ac_dir_suffix.
|
10661 |
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
|
14152 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
10662 |
case $ac_top_builddir_sub in
|
14153 |
case $ac_top_builddir_sub in
|
10663 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
14154 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
10664 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
14155 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
10665 |
esac ;;
|
14156 |
esac ;;
|
10666 |
esac
|
14157 |
esac
|
|
... |
|
... |
10694 |
|
14185 |
|
10695 |
case $INSTALL in
|
14186 |
case $INSTALL in
|
10696 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
14187 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
10697 |
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
14188 |
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
10698 |
esac
|
14189 |
esac
|
|
|
14190 |
ac_MKDIR_P=$MKDIR_P
|
|
|
14191 |
case $MKDIR_P in
|
|
|
14192 |
[\\/$]* | ?:[\\/]* ) ;;
|
|
|
14193 |
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
|
|
|
14194 |
esac
|
10699 |
_ACEOF
|
14195 |
_ACEOF
|
10700 |
|
14196 |
|
10701 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
14197 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
10702 |
# If the template does not know about datarootdir, expand it.
|
14198 |
# If the template does not know about datarootdir, expand it.
|
10703 |
# FIXME: This hack should be removed a few years after 2.60.
|
14199 |
# FIXME: This hack should be removed a few years after 2.60.
|
10704 |
ac_datarootdir_hack=; ac_datarootdir_seen=
|
14200 |
ac_datarootdir_hack=; ac_datarootdir_seen=
|
10705 |
|
14201 |
ac_sed_dataroot='
|
10706 |
case `sed -n '/datarootdir/ {
|
14202 |
/datarootdir/ {
|
10707 |
p
|
14203 |
p
|
10708 |
q
|
14204 |
q
|
10709 |
}
|
14205 |
}
|
10710 |
/@datadir@/p
|
14206 |
/@datadir@/p
|
10711 |
/@docdir@/p
|
14207 |
/@docdir@/p
|
10712 |
/@infodir@/p
|
14208 |
/@infodir@/p
|
10713 |
/@localedir@/p
|
14209 |
/@localedir@/p
|
10714 |
/@mandir@/p
|
14210 |
/@mandir@/p'
|
10715 |
' $ac_file_inputs` in
|
14211 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
10716 |
*datarootdir*) ac_datarootdir_seen=yes;;
|
14212 |
*datarootdir*) ac_datarootdir_seen=yes;;
|
10717 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
14213 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
10718 |
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
14214 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
10719 |
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
14215 |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
10720 |
_ACEOF
|
14216 |
_ACEOF
|
10721 |
cat >>$CONFIG_STATUS <<_ACEOF
|
14217 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
10722 |
ac_datarootdir_hack='
|
14218 |
ac_datarootdir_hack='
|
10723 |
s&@datadir@&$datadir&g
|
14219 |
s&@datadir@&$datadir&g
|
10724 |
s&@docdir@&$docdir&g
|
14220 |
s&@docdir@&$docdir&g
|
10725 |
s&@infodir@&$infodir&g
|
14221 |
s&@infodir@&$infodir&g
|
10726 |
s&@localedir@&$localedir&g
|
14222 |
s&@localedir@&$localedir&g
|
10727 |
s&@mandir@&$mandir&g
|
14223 |
s&@mandir@&$mandir&g
|
10728 |
s&\\\${datarootdir}&$datarootdir&g' ;;
|
14224 |
s&\\\${datarootdir}&$datarootdir&g' ;;
|
10729 |
esac
|
14225 |
esac
|
10730 |
_ACEOF
|
14226 |
_ACEOF
|
10731 |
|
14227 |
|
10732 |
# Neutralize VPATH when `$srcdir' = `.'.
|
14228 |
# Neutralize VPATH when `$srcdir' = `.'.
|
10733 |
# Shell code in configure.ac might set extrasub.
|
14229 |
# Shell code in configure.ac might set extrasub.
|
10734 |
# FIXME: do we really want to maintain this feature?
|
14230 |
# FIXME: do we really want to maintain this feature?
|
10735 |
cat >>$CONFIG_STATUS <<_ACEOF
|
14231 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
10736 |
sed "$ac_vpsub
|
14232 |
ac_sed_extra="$ac_vpsub
|
10737 |
$extrasub
|
14233 |
$extrasub
|
10738 |
_ACEOF
|
14234 |
_ACEOF
|
10739 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
14235 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
10740 |
:t
|
14236 |
:t
|
10741 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
14237 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
10742 |
s&@configure_input@&$configure_input&;t t
|
14238 |
s|@configure_input@|$ac_sed_conf_input|;t t
|
10743 |
s&@top_builddir@&$ac_top_builddir_sub&;t t
|
14239 |
s&@top_builddir@&$ac_top_builddir_sub&;t t
|
|
|
14240 |
s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
10744 |
s&@srcdir@&$ac_srcdir&;t t
|
14241 |
s&@srcdir@&$ac_srcdir&;t t
|
10745 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
14242 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
10746 |
s&@top_srcdir@&$ac_top_srcdir&;t t
|
14243 |
s&@top_srcdir@&$ac_top_srcdir&;t t
|
10747 |
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
14244 |
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
10748 |
s&@builddir@&$ac_builddir&;t t
|
14245 |
s&@builddir@&$ac_builddir&;t t
|
10749 |
s&@abs_builddir@&$ac_abs_builddir&;t t
|
14246 |
s&@abs_builddir@&$ac_abs_builddir&;t t
|
10750 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
14247 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
10751 |
s&@INSTALL@&$ac_INSTALL&;t t
|
14248 |
s&@INSTALL@&$ac_INSTALL&;t t
|
|
|
14249 |
s&@MKDIR_P@&$ac_MKDIR_P&;t t
|
10752 |
$ac_datarootdir_hack
|
14250 |
$ac_datarootdir_hack
|
10753 |
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
|
14251 |
"
|
|
|
14252 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
|
|
|
14253 |
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
10754 |
|
14254 |
|
10755 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
14255 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
10756 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
|
14256 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
|
10757 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
|
14257 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
|
|
|
14258 |
"$ac_tmp/out"`; test -z "$ac_out"; } &&
|
10758 |
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
14259 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
10759 |
which seems to be undefined. Please make sure it is defined." >&5
|
14260 |
which seems to be undefined. Please make sure it is defined" >&5
|
10760 |
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
14261 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
10761 |
which seems to be undefined. Please make sure it is defined." >&2;}
|
14262 |
which seems to be undefined. Please make sure it is defined" >&2;}
|
10762 |
|
14263 |
|
10763 |
rm -f "$tmp/stdin"
|
14264 |
rm -f "$ac_tmp/stdin"
|
10764 |
case $ac_file in
|
14265 |
case $ac_file in
|
10765 |
-) cat "$tmp/out"; rm -f "$tmp/out";;
|
14266 |
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
|
10766 |
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
|
14267 |
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
|
10767 |
esac
|
14268 |
esac \
|
|
|
14269 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
10768 |
;;
|
14270 |
;;
|
10769 |
:H)
|
14271 |
:H)
|
10770 |
#
|
14272 |
#
|
10771 |
# CONFIG_HEADER
|
14273 |
# CONFIG_HEADER
|
10772 |
#
|
14274 |
#
|
10773 |
_ACEOF
|
|
|
10774 |
|
|
|
10775 |
# Transform confdefs.h into a sed script `conftest.defines', that
|
|
|
10776 |
# substitutes the proper values into config.h.in to produce config.h.
|
|
|
10777 |
rm -f conftest.defines conftest.tail
|
|
|
10778 |
# First, append a space to every undef/define line, to ease matching.
|
|
|
10779 |
echo 's/$/ /' >conftest.defines
|
|
|
10780 |
# Then, protect against being on the right side of a sed subst, or in
|
|
|
10781 |
# an unquoted here document, in config.status. If some macros were
|
|
|
10782 |
# called several times there might be several #defines for the same
|
|
|
10783 |
# symbol, which is useless. But do not sort them, since the last
|
|
|
10784 |
# AC_DEFINE must be honored.
|
|
|
10785 |
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
|
|
|
10786 |
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
|
|
|
10787 |
# NAME is the cpp macro being defined, VALUE is the value it is being given.
|
|
|
10788 |
# PARAMS is the parameter list in the macro definition--in most cases, it's
|
|
|
10789 |
# just an empty string.
|
|
|
10790 |
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
|
|
|
10791 |
ac_dB='\\)[ (].*,\\1define\\2'
|
|
|
10792 |
ac_dC=' '
|
|
|
10793 |
ac_dD=' ,'
|
|
|
10794 |
|
|
|
10795 |
uniq confdefs.h |
|
|
|
10796 |
sed -n '
|
|
|
10797 |
t rset
|
|
|
10798 |
:rset
|
|
|
10799 |
s/^[ ]*#[ ]*define[ ][ ]*//
|
|
|
10800 |
t ok
|
|
|
10801 |
d
|
|
|
10802 |
:ok
|
|
|
10803 |
s/[\\&,]/\\&/g
|
|
|
10804 |
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
|
|
|
10805 |
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
|
|
|
10806 |
' >>conftest.defines
|
|
|
10807 |
|
|
|
10808 |
# Remove the space that was appended to ease matching.
|
|
|
10809 |
# Then replace #undef with comments. This is necessary, for
|
|
|
10810 |
# example, in the case of _POSIX_SOURCE, which is predefined and required
|
|
|
10811 |
# on some systems where configure will not decide to define it.
|
|
|
10812 |
# (The regexp can be short, since the line contains either #define or #undef.)
|
|
|
10813 |
echo 's/ $//
|
|
|
10814 |
s,^[ #]*u.*,/* & */,' >>conftest.defines
|
|
|
10815 |
|
|
|
10816 |
# Break up conftest.defines:
|
|
|
10817 |
ac_max_sed_lines=50
|
|
|
10818 |
|
|
|
10819 |
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
|
|
|
10820 |
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
|
|
|
10821 |
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
|
|
|
10822 |
# et cetera.
|
|
|
10823 |
ac_in='$ac_file_inputs'
|
|
|
10824 |
ac_out='"$tmp/out1"'
|
|
|
10825 |
ac_nxt='"$tmp/out2"'
|
|
|
10826 |
|
|
|
10827 |
while :
|
|
|
10828 |
do
|
|
|
10829 |
# Write a here document:
|
|
|
10830 |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
|
10831 |
# First, check the format of the line:
|
|
|
10832 |
cat >"\$tmp/defines.sed" <<\\CEOF
|
|
|
10833 |
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
|
|
|
10834 |
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
|
|
|
10835 |
b
|
|
|
10836 |
:def
|
|
|
10837 |
_ACEOF
|
|
|
10838 |
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
|
|
|
10839 |
echo 'CEOF
|
|
|
10840 |
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
|
|
|
10841 |
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
|
|
|
10842 |
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
|
|
|
10843 |
grep . conftest.tail >/dev/null || break
|
|
|
10844 |
rm -f conftest.defines
|
|
|
10845 |
mv conftest.tail conftest.defines
|
|
|
10846 |
done
|
|
|
10847 |
rm -f conftest.defines conftest.tail
|
|
|
10848 |
|
|
|
10849 |
echo "ac_result=$ac_in" >>$CONFIG_STATUS
|
|
|
10850 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
|
10851 |
if test x"$ac_file" != x-; then
|
14275 |
if test x"$ac_file" != x-; then
|
|
|
14276 |
{
|
10852 |
echo "/* $configure_input */" >"$tmp/config.h"
|
14277 |
$as_echo "/* $configure_input */" \
|
10853 |
cat "$ac_result" >>"$tmp/config.h"
|
14278 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
|
|
|
14279 |
} >"$ac_tmp/config.h" \
|
|
|
14280 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
10854 |
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
|
14281 |
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
|
10855 |
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
14282 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
10856 |
echo "$as_me: $ac_file is unchanged" >&6;}
|
14283 |
$as_echo "$as_me: $ac_file is unchanged" >&6;}
|
10857 |
else
|
14284 |
else
|
10858 |
rm -f $ac_file
|
14285 |
rm -f "$ac_file"
|
10859 |
mv "$tmp/config.h" $ac_file
|
14286 |
mv "$ac_tmp/config.h" "$ac_file" \
|
|
|
14287 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
10860 |
fi
|
14288 |
fi
|
10861 |
else
|
14289 |
else
|
10862 |
echo "/* $configure_input */"
|
14290 |
$as_echo "/* $configure_input */" \
|
10863 |
cat "$ac_result"
|
14291 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
|
|
|
14292 |
|| as_fn_error $? "could not create -" "$LINENO" 5
|
10864 |
fi
|
14293 |
fi
|
10865 |
rm -f "$tmp/out12"
|
14294 |
# Compute "$ac_file"'s index in $config_headers.
|
|
|
14295 |
_am_arg="$ac_file"
|
|
|
14296 |
_am_stamp_count=1
|
|
|
14297 |
for _am_header in $config_headers :; do
|
|
|
14298 |
case $_am_header in
|
|
|
14299 |
$_am_arg | $_am_arg:* )
|
|
|
14300 |
break ;;
|
|
|
14301 |
* )
|
|
|
14302 |
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
|
|
|
14303 |
esac
|
|
|
14304 |
done
|
|
|
14305 |
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
|
|
|
14306 |
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
|
14307 |
X"$_am_arg" : 'X\(//\)[^/]' \| \
|
|
|
14308 |
X"$_am_arg" : 'X\(//\)$' \| \
|
|
|
14309 |
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
|
|
|
14310 |
$as_echo X"$_am_arg" |
|
|
|
14311 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
|
14312 |
s//\1/
|
|
|
14313 |
q
|
|
|
14314 |
}
|
|
|
14315 |
/^X\(\/\/\)[^/].*/{
|
|
|
14316 |
s//\1/
|
|
|
14317 |
q
|
|
|
14318 |
}
|
|
|
14319 |
/^X\(\/\/\)$/{
|
|
|
14320 |
s//\1/
|
|
|
14321 |
q
|
|
|
14322 |
}
|
|
|
14323 |
/^X\(\/\).*/{
|
|
|
14324 |
s//\1/
|
|
|
14325 |
q
|
|
|
14326 |
}
|
|
|
14327 |
s/.*/./; q'`/stamp-h$_am_stamp_count
|
10866 |
;;
|
14328 |
;;
|
10867 |
|
14329 |
|
10868 |
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
|
14330 |
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
|
10869 |
echo "$as_me: executing $ac_file commands" >&6;}
|
14331 |
$as_echo "$as_me: executing $ac_file commands" >&6;}
|
10870 |
;;
|
14332 |
;;
|
10871 |
esac
|
14333 |
esac
|
10872 |
|
14334 |
|
10873 |
|
14335 |
|
10874 |
case $ac_file$ac_mode in
|
14336 |
case $ac_file$ac_mode in
|
10875 |
"config.h":H) # update the timestamp
|
14337 |
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
|
10876 |
echo timestamp >"./stamp-h1"
|
14338 |
# Older Autoconf quotes --file arguments for eval, but not when files
|
|
|
14339 |
# are listed without --file. Let's play safe and only enable the eval
|
|
|
14340 |
# if we detect the quoting.
|
|
|
14341 |
case $CONFIG_FILES in
|
|
|
14342 |
*\'*) eval set x "$CONFIG_FILES" ;;
|
|
|
14343 |
*) set x $CONFIG_FILES ;;
|
|
|
14344 |
esac
|
|
|
14345 |
shift
|
|
|
14346 |
for mf
|
|
|
14347 |
do
|
|
|
14348 |
# Strip MF so we end up with the name of the file.
|
|
|
14349 |
mf=`echo "$mf" | sed -e 's/:.*$//'`
|
|
|
14350 |
# Check whether this is an Automake generated Makefile or not.
|
|
|
14351 |
# We used to match only the files named 'Makefile.in', but
|
|
|
14352 |
# some people rename them; so instead we look at the file content.
|
|
|
14353 |
# Grep'ing the first line is not enough: some people post-process
|
|
|
14354 |
# each Makefile.in and add a new line on top of each file to say so.
|
|
|
14355 |
# Grep'ing the whole file is not good either: AIX grep has a line
|
|
|
14356 |
# limit of 2048, but all sed's we know have understand at least 4000.
|
|
|
14357 |
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
|
|
|
14358 |
dirpart=`$as_dirname -- "$mf" ||
|
|
|
14359 |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
|
14360 |
X"$mf" : 'X\(//\)[^/]' \| \
|
|
|
14361 |
X"$mf" : 'X\(//\)$' \| \
|
|
|
14362 |
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
|
|
|
14363 |
$as_echo X"$mf" |
|
|
|
14364 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
|
14365 |
s//\1/
|
|
|
14366 |
q
|
|
|
14367 |
}
|
|
|
14368 |
/^X\(\/\/\)[^/].*/{
|
|
|
14369 |
s//\1/
|
|
|
14370 |
q
|
|
|
14371 |
}
|
|
|
14372 |
/^X\(\/\/\)$/{
|
|
|
14373 |
s//\1/
|
|
|
14374 |
q
|
|
|
14375 |
}
|
|
|
14376 |
/^X\(\/\).*/{
|
|
|
14377 |
s//\1/
|
|
|
14378 |
q
|
|
|
14379 |
}
|
|
|
14380 |
s/.*/./; q'`
|
|
|
14381 |
else
|
|
|
14382 |
continue
|
|
|
14383 |
fi
|
|
|
14384 |
# Extract the definition of DEPDIR, am__include, and am__quote
|
|
|
14385 |
# from the Makefile without running 'make'.
|
|
|
14386 |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
|
|
14387 |
test -z "$DEPDIR" && continue
|
|
|
14388 |
am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
|
|
14389 |
test -z "$am__include" && continue
|
|
|
14390 |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
|
|
14391 |
# Find all dependency output files, they are included files with
|
|
|
14392 |
# $(DEPDIR) in their names. We invoke sed twice because it is the
|
|
|
14393 |
# simplest approach to changing $(DEPDIR) to its actual value in the
|
|
|
14394 |
# expansion.
|
|
|
14395 |
for file in `sed -n "
|
|
|
14396 |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
|
|
14397 |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
|
|
|
14398 |
# Make sure the directory exists.
|
|
|
14399 |
test -f "$dirpart/$file" && continue
|
|
|
14400 |
fdir=`$as_dirname -- "$file" ||
|
|
|
14401 |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
|
14402 |
X"$file" : 'X\(//\)[^/]' \| \
|
|
|
14403 |
X"$file" : 'X\(//\)$' \| \
|
|
|
14404 |
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
|
|
|
14405 |
$as_echo X"$file" |
|
|
|
14406 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
|
14407 |
s//\1/
|
|
|
14408 |
q
|
|
|
14409 |
}
|
|
|
14410 |
/^X\(\/\/\)[^/].*/{
|
|
|
14411 |
s//\1/
|
|
|
14412 |
q
|
|
|
14413 |
}
|
|
|
14414 |
/^X\(\/\/\)$/{
|
|
|
14415 |
s//\1/
|
|
|
14416 |
q
|
|
|
14417 |
}
|
|
|
14418 |
/^X\(\/\).*/{
|
|
|
14419 |
s//\1/
|
|
|
14420 |
q
|
|
|
14421 |
}
|
|
|
14422 |
s/.*/./; q'`
|
|
|
14423 |
as_dir=$dirpart/$fdir; as_fn_mkdir_p
|
|
|
14424 |
# echo "creating $dirpart/$file"
|
|
|
14425 |
echo '# dummy' > "$dirpart/$file"
|
|
|
14426 |
done
|
|
|
14427 |
done
|
|
|
14428 |
}
|
10877 |
;;
|
14429 |
;;
|
10878 |
"default-1":C)
|
14430 |
"libtool":C)
|
10879 |
test x"$AMDEP_TRUE" != x"" ||
|
14431 |
|
10880 |
for mf in $CONFIG_FILES; do
|
14432 |
# See if we are running on zsh, and set the options which allow our
|
10881 |
case "$mf" in
|
14433 |
# commands through without removal of \ escapes.
|
10882 |
Makefile) dirpart=.;;
|
14434 |
if test -n "${ZSH_VERSION+set}" ; then
|
10883 |
*/Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
|
14435 |
setopt NO_GLOB_SUBST
|
10884 |
*) continue;;
|
14436 |
fi
|
|
|
14437 |
|
|
|
14438 |
cfgfile="${ofile}T"
|
|
|
14439 |
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
|
|
|
14440 |
$RM "$cfgfile"
|
|
|
14441 |
|
|
|
14442 |
cat <<_LT_EOF >> "$cfgfile"
|
|
|
14443 |
#! $SHELL
|
|
|
14444 |
|
|
|
14445 |
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
|
|
|
14446 |
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
|
|
|
14447 |
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
|
|
|
14448 |
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
|
|
|
14449 |
#
|
|
|
14450 |
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
|
|
|
14451 |
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
|
|
|
14452 |
# Foundation, Inc.
|
|
|
14453 |
# Written by Gordon Matzigkeit, 1996
|
|
|
14454 |
#
|
|
|
14455 |
# This file is part of GNU Libtool.
|
|
|
14456 |
#
|
|
|
14457 |
# GNU Libtool is free software; you can redistribute it and/or
|
|
|
14458 |
# modify it under the terms of the GNU General Public License as
|
|
|
14459 |
# published by the Free Software Foundation; either version 2 of
|
|
|
14460 |
# the License, or (at your option) any later version.
|
|
|
14461 |
#
|
|
|
14462 |
# As a special exception to the GNU General Public License,
|
|
|
14463 |
# if you distribute this file as part of a program or library that
|
|
|
14464 |
# is built using GNU Libtool, you may include this file under the
|
|
|
14465 |
# same distribution terms that you use for the rest of that program.
|
|
|
14466 |
#
|
|
|
14467 |
# GNU Libtool is distributed in the hope that it will be useful,
|
|
|
14468 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
14469 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
14470 |
# GNU General Public License for more details.
|
|
|
14471 |
#
|
|
|
14472 |
# You should have received a copy of the GNU General Public License
|
|
|
14473 |
# along with GNU Libtool; see the file COPYING. If not, a copy
|
|
|
14474 |
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
|
|
|
14475 |
# obtained by writing to the Free Software Foundation, Inc.,
|
|
|
14476 |
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
14477 |
|
|
|
14478 |
|
|
|
14479 |
# The names of the tagged configurations supported by this script.
|
|
|
14480 |
available_tags=""
|
|
|
14481 |
|
|
|
14482 |
# ### BEGIN LIBTOOL CONFIG
|
|
|
14483 |
|
|
|
14484 |
# Which release of libtool.m4 was used?
|
|
|
14485 |
macro_version=$macro_version
|
|
|
14486 |
macro_revision=$macro_revision
|
|
|
14487 |
|
|
|
14488 |
# Whether or not to build shared libraries.
|
|
|
14489 |
build_libtool_libs=$enable_shared
|
|
|
14490 |
|
|
|
14491 |
# Whether or not to build static libraries.
|
|
|
14492 |
build_old_libs=$enable_static
|
|
|
14493 |
|
|
|
14494 |
# What type of objects to build.
|
|
|
14495 |
pic_mode=$pic_mode
|
|
|
14496 |
|
|
|
14497 |
# Whether or not to optimize for fast installation.
|
|
|
14498 |
fast_install=$enable_fast_install
|
|
|
14499 |
|
|
|
14500 |
# Shell to use when invoking shell scripts.
|
|
|
14501 |
SHELL=$lt_SHELL
|
|
|
14502 |
|
|
|
14503 |
# An echo program that protects backslashes.
|
|
|
14504 |
ECHO=$lt_ECHO
|
|
|
14505 |
|
|
|
14506 |
# The PATH separator for the build system.
|
|
|
14507 |
PATH_SEPARATOR=$lt_PATH_SEPARATOR
|
|
|
14508 |
|
|
|
14509 |
# The host system.
|
|
|
14510 |
host_alias=$host_alias
|
|
|
14511 |
host=$host
|
|
|
14512 |
host_os=$host_os
|
|
|
14513 |
|
|
|
14514 |
# The build system.
|
|
|
14515 |
build_alias=$build_alias
|
|
|
14516 |
build=$build
|
|
|
14517 |
build_os=$build_os
|
|
|
14518 |
|
|
|
14519 |
# A sed program that does not truncate output.
|
|
|
14520 |
SED=$lt_SED
|
|
|
14521 |
|
|
|
14522 |
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
|
|
|
14523 |
Xsed="\$SED -e 1s/^X//"
|
|
|
14524 |
|
|
|
14525 |
# A grep program that handles long lines.
|
|
|
14526 |
GREP=$lt_GREP
|
|
|
14527 |
|
|
|
14528 |
# An ERE matcher.
|
|
|
14529 |
EGREP=$lt_EGREP
|
|
|
14530 |
|
|
|
14531 |
# A literal string matcher.
|
|
|
14532 |
FGREP=$lt_FGREP
|
|
|
14533 |
|
|
|
14534 |
# A BSD- or MS-compatible name lister.
|
|
|
14535 |
NM=$lt_NM
|
|
|
14536 |
|
|
|
14537 |
# Whether we need soft or hard links.
|
|
|
14538 |
LN_S=$lt_LN_S
|
|
|
14539 |
|
|
|
14540 |
# What is the maximum length of a command?
|
|
|
14541 |
max_cmd_len=$max_cmd_len
|
|
|
14542 |
|
|
|
14543 |
# Object file suffix (normally "o").
|
|
|
14544 |
objext=$ac_objext
|
|
|
14545 |
|
|
|
14546 |
# Executable file suffix (normally "").
|
|
|
14547 |
exeext=$exeext
|
|
|
14548 |
|
|
|
14549 |
# whether the shell understands "unset".
|
|
|
14550 |
lt_unset=$lt_unset
|
|
|
14551 |
|
|
|
14552 |
# turn spaces into newlines.
|
|
|
14553 |
SP2NL=$lt_lt_SP2NL
|
|
|
14554 |
|
|
|
14555 |
# turn newlines into spaces.
|
|
|
14556 |
NL2SP=$lt_lt_NL2SP
|
|
|
14557 |
|
|
|
14558 |
# convert \$build file names to \$host format.
|
|
|
14559 |
to_host_file_cmd=$lt_cv_to_host_file_cmd
|
|
|
14560 |
|
|
|
14561 |
# convert \$build files to toolchain format.
|
|
|
14562 |
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
|
|
|
14563 |
|
|
|
14564 |
# An object symbol dumper.
|
|
|
14565 |
OBJDUMP=$lt_OBJDUMP
|
|
|
14566 |
|
|
|
14567 |
# Method to check whether dependent libraries are shared objects.
|
|
|
14568 |
deplibs_check_method=$lt_deplibs_check_method
|
|
|
14569 |
|
|
|
14570 |
# Command to use when deplibs_check_method = "file_magic".
|
|
|
14571 |
file_magic_cmd=$lt_file_magic_cmd
|
|
|
14572 |
|
|
|
14573 |
# How to find potential files when deplibs_check_method = "file_magic".
|
|
|
14574 |
file_magic_glob=$lt_file_magic_glob
|
|
|
14575 |
|
|
|
14576 |
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
|
|
|
14577 |
want_nocaseglob=$lt_want_nocaseglob
|
|
|
14578 |
|
|
|
14579 |
# DLL creation program.
|
|
|
14580 |
DLLTOOL=$lt_DLLTOOL
|
|
|
14581 |
|
|
|
14582 |
# Command to associate shared and link libraries.
|
|
|
14583 |
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
|
|
|
14584 |
|
|
|
14585 |
# The archiver.
|
|
|
14586 |
AR=$lt_AR
|
|
|
14587 |
|
|
|
14588 |
# Flags to create an archive.
|
|
|
14589 |
AR_FLAGS=$lt_AR_FLAGS
|
|
|
14590 |
|
|
|
14591 |
# How to feed a file listing to the archiver.
|
|
|
14592 |
archiver_list_spec=$lt_archiver_list_spec
|
|
|
14593 |
|
|
|
14594 |
# A symbol stripping program.
|
|
|
14595 |
STRIP=$lt_STRIP
|
|
|
14596 |
|
|
|
14597 |
# Commands used to install an old-style archive.
|
|
|
14598 |
RANLIB=$lt_RANLIB
|
|
|
14599 |
old_postinstall_cmds=$lt_old_postinstall_cmds
|
|
|
14600 |
old_postuninstall_cmds=$lt_old_postuninstall_cmds
|
|
|
14601 |
|
|
|
14602 |
# Whether to use a lock for old archive extraction.
|
|
|
14603 |
lock_old_archive_extraction=$lock_old_archive_extraction
|
|
|
14604 |
|
|
|
14605 |
# A C compiler.
|
|
|
14606 |
LTCC=$lt_CC
|
|
|
14607 |
|
|
|
14608 |
# LTCC compiler flags.
|
|
|
14609 |
LTCFLAGS=$lt_CFLAGS
|
|
|
14610 |
|
|
|
14611 |
# Take the output of nm and produce a listing of raw symbols and C names.
|
|
|
14612 |
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
|
|
|
14613 |
|
|
|
14614 |
# Transform the output of nm in a proper C declaration.
|
|
|
14615 |
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
|
|
|
14616 |
|
|
|
14617 |
# Transform the output of nm in a C name address pair.
|
|
|
14618 |
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
|
|
|
14619 |
|
|
|
14620 |
# Transform the output of nm in a C name address pair when lib prefix is needed.
|
|
|
14621 |
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
|
|
|
14622 |
|
|
|
14623 |
# Specify filename containing input files for \$NM.
|
|
|
14624 |
nm_file_list_spec=$lt_nm_file_list_spec
|
|
|
14625 |
|
|
|
14626 |
# The root where to search for dependent libraries,and in which our libraries should be installed.
|
|
|
14627 |
lt_sysroot=$lt_sysroot
|
|
|
14628 |
|
|
|
14629 |
# The name of the directory that contains temporary libtool files.
|
|
|
14630 |
objdir=$objdir
|
|
|
14631 |
|
|
|
14632 |
# Used to examine libraries when file_magic_cmd begins with "file".
|
|
|
14633 |
MAGIC_CMD=$MAGIC_CMD
|
|
|
14634 |
|
|
|
14635 |
# Must we lock files when doing compilation?
|
|
|
14636 |
need_locks=$lt_need_locks
|
|
|
14637 |
|
|
|
14638 |
# Manifest tool.
|
|
|
14639 |
MANIFEST_TOOL=$lt_MANIFEST_TOOL
|
|
|
14640 |
|
|
|
14641 |
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
|
|
|
14642 |
DSYMUTIL=$lt_DSYMUTIL
|
|
|
14643 |
|
|
|
14644 |
# Tool to change global to local symbols on Mac OS X.
|
|
|
14645 |
NMEDIT=$lt_NMEDIT
|
|
|
14646 |
|
|
|
14647 |
# Tool to manipulate fat objects and archives on Mac OS X.
|
|
|
14648 |
LIPO=$lt_LIPO
|
|
|
14649 |
|
|
|
14650 |
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
|
|
|
14651 |
OTOOL=$lt_OTOOL
|
|
|
14652 |
|
|
|
14653 |
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
|
|
|
14654 |
OTOOL64=$lt_OTOOL64
|
|
|
14655 |
|
|
|
14656 |
# Old archive suffix (normally "a").
|
|
|
14657 |
libext=$libext
|
|
|
14658 |
|
|
|
14659 |
# Shared library suffix (normally ".so").
|
|
|
14660 |
shrext_cmds=$lt_shrext_cmds
|
|
|
14661 |
|
|
|
14662 |
# The commands to extract the exported symbol list from a shared archive.
|
|
|
14663 |
extract_expsyms_cmds=$lt_extract_expsyms_cmds
|
|
|
14664 |
|
|
|
14665 |
# Variables whose values should be saved in libtool wrapper scripts and
|
|
|
14666 |
# restored at link time.
|
|
|
14667 |
variables_saved_for_relink=$lt_variables_saved_for_relink
|
|
|
14668 |
|
|
|
14669 |
# Do we need the "lib" prefix for modules?
|
|
|
14670 |
need_lib_prefix=$need_lib_prefix
|
|
|
14671 |
|
|
|
14672 |
# Do we need a version for libraries?
|
|
|
14673 |
need_version=$need_version
|
|
|
14674 |
|
|
|
14675 |
# Library versioning type.
|
|
|
14676 |
version_type=$version_type
|
|
|
14677 |
|
|
|
14678 |
# Shared library runtime path variable.
|
|
|
14679 |
runpath_var=$runpath_var
|
|
|
14680 |
|
|
|
14681 |
# Shared library path variable.
|
|
|
14682 |
shlibpath_var=$shlibpath_var
|
|
|
14683 |
|
|
|
14684 |
# Is shlibpath searched before the hard-coded library search path?
|
|
|
14685 |
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
|
|
|
14686 |
|
|
|
14687 |
# Format of library name prefix.
|
|
|
14688 |
libname_spec=$lt_libname_spec
|
|
|
14689 |
|
|
|
14690 |
# List of archive names. First name is the real one, the rest are links.
|
|
|
14691 |
# The last name is the one that the linker finds with -lNAME
|
|
|
14692 |
library_names_spec=$lt_library_names_spec
|
|
|
14693 |
|
|
|
14694 |
# The coded name of the library, if different from the real name.
|
|
|
14695 |
soname_spec=$lt_soname_spec
|
|
|
14696 |
|
|
|
14697 |
# Permission mode override for installation of shared libraries.
|
|
|
14698 |
install_override_mode=$lt_install_override_mode
|
|
|
14699 |
|
|
|
14700 |
# Command to use after installation of a shared archive.
|
|
|
14701 |
postinstall_cmds=$lt_postinstall_cmds
|
|
|
14702 |
|
|
|
14703 |
# Command to use after uninstallation of a shared archive.
|
|
|
14704 |
postuninstall_cmds=$lt_postuninstall_cmds
|
|
|
14705 |
|
|
|
14706 |
# Commands used to finish a libtool library installation in a directory.
|
|
|
14707 |
finish_cmds=$lt_finish_cmds
|
|
|
14708 |
|
|
|
14709 |
# As "finish_cmds", except a single script fragment to be evaled but
|
|
|
14710 |
# not shown.
|
|
|
14711 |
finish_eval=$lt_finish_eval
|
|
|
14712 |
|
|
|
14713 |
# Whether we should hardcode library paths into libraries.
|
|
|
14714 |
hardcode_into_libs=$hardcode_into_libs
|
|
|
14715 |
|
|
|
14716 |
# Compile-time system search path for libraries.
|
|
|
14717 |
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
|
|
|
14718 |
|
|
|
14719 |
# Run-time system search path for libraries.
|
|
|
14720 |
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
|
|
|
14721 |
|
|
|
14722 |
# Whether dlopen is supported.
|
|
|
14723 |
dlopen_support=$enable_dlopen
|
|
|
14724 |
|
|
|
14725 |
# Whether dlopen of programs is supported.
|
|
|
14726 |
dlopen_self=$enable_dlopen_self
|
|
|
14727 |
|
|
|
14728 |
# Whether dlopen of statically linked programs is supported.
|
|
|
14729 |
dlopen_self_static=$enable_dlopen_self_static
|
|
|
14730 |
|
|
|
14731 |
# Commands to strip libraries.
|
|
|
14732 |
old_striplib=$lt_old_striplib
|
|
|
14733 |
striplib=$lt_striplib
|
|
|
14734 |
|
|
|
14735 |
|
|
|
14736 |
# The linker used to build libraries.
|
|
|
14737 |
LD=$lt_LD
|
|
|
14738 |
|
|
|
14739 |
# How to create reloadable object files.
|
|
|
14740 |
reload_flag=$lt_reload_flag
|
|
|
14741 |
reload_cmds=$lt_reload_cmds
|
|
|
14742 |
|
|
|
14743 |
# Commands used to build an old-style archive.
|
|
|
14744 |
old_archive_cmds=$lt_old_archive_cmds
|
|
|
14745 |
|
|
|
14746 |
# A language specific compiler.
|
|
|
14747 |
CC=$lt_compiler
|
|
|
14748 |
|
|
|
14749 |
# Is the compiler the GNU compiler?
|
|
|
14750 |
with_gcc=$GCC
|
|
|
14751 |
|
|
|
14752 |
# Compiler flag to turn off builtin functions.
|
|
|
14753 |
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
|
|
|
14754 |
|
|
|
14755 |
# Additional compiler flags for building library objects.
|
|
|
14756 |
pic_flag=$lt_lt_prog_compiler_pic
|
|
|
14757 |
|
|
|
14758 |
# How to pass a linker flag through the compiler.
|
|
|
14759 |
wl=$lt_lt_prog_compiler_wl
|
|
|
14760 |
|
|
|
14761 |
# Compiler flag to prevent dynamic linking.
|
|
|
14762 |
link_static_flag=$lt_lt_prog_compiler_static
|
|
|
14763 |
|
|
|
14764 |
# Does compiler simultaneously support -c and -o options?
|
|
|
14765 |
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
|
|
|
14766 |
|
|
|
14767 |
# Whether or not to add -lc for building shared libraries.
|
|
|
14768 |
build_libtool_need_lc=$archive_cmds_need_lc
|
|
|
14769 |
|
|
|
14770 |
# Whether or not to disallow shared libs when runtime libs are static.
|
|
|
14771 |
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
|
|
|
14772 |
|
|
|
14773 |
# Compiler flag to allow reflexive dlopens.
|
|
|
14774 |
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
|
|
|
14775 |
|
|
|
14776 |
# Compiler flag to generate shared objects directly from archives.
|
|
|
14777 |
whole_archive_flag_spec=$lt_whole_archive_flag_spec
|
|
|
14778 |
|
|
|
14779 |
# Whether the compiler copes with passing no objects directly.
|
|
|
14780 |
compiler_needs_object=$lt_compiler_needs_object
|
|
|
14781 |
|
|
|
14782 |
# Create an old-style archive from a shared archive.
|
|
|
14783 |
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
|
|
|
14784 |
|
|
|
14785 |
# Create a temporary old-style archive to link instead of a shared archive.
|
|
|
14786 |
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
|
|
|
14787 |
|
|
|
14788 |
# Commands used to build a shared archive.
|
|
|
14789 |
archive_cmds=$lt_archive_cmds
|
|
|
14790 |
archive_expsym_cmds=$lt_archive_expsym_cmds
|
|
|
14791 |
|
|
|
14792 |
# Commands used to build a loadable module if different from building
|
|
|
14793 |
# a shared archive.
|
|
|
14794 |
module_cmds=$lt_module_cmds
|
|
|
14795 |
module_expsym_cmds=$lt_module_expsym_cmds
|
|
|
14796 |
|
|
|
14797 |
# Whether we are building with GNU ld or not.
|
|
|
14798 |
with_gnu_ld=$lt_with_gnu_ld
|
|
|
14799 |
|
|
|
14800 |
# Flag that allows shared libraries with undefined symbols to be built.
|
|
|
14801 |
allow_undefined_flag=$lt_allow_undefined_flag
|
|
|
14802 |
|
|
|
14803 |
# Flag that enforces no undefined symbols.
|
|
|
14804 |
no_undefined_flag=$lt_no_undefined_flag
|
|
|
14805 |
|
|
|
14806 |
# Flag to hardcode \$libdir into a binary during linking.
|
|
|
14807 |
# This must work even if \$libdir does not exist
|
|
|
14808 |
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
|
|
|
14809 |
|
|
|
14810 |
# Whether we need a single "-rpath" flag with a separated argument.
|
|
|
14811 |
hardcode_libdir_separator=$lt_hardcode_libdir_separator
|
|
|
14812 |
|
|
|
14813 |
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
|
|
|
14814 |
# DIR into the resulting binary.
|
|
|
14815 |
hardcode_direct=$hardcode_direct
|
|
|
14816 |
|
|
|
14817 |
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
|
|
|
14818 |
# DIR into the resulting binary and the resulting library dependency is
|
|
|
14819 |
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
|
|
|
14820 |
# library is relocated.
|
|
|
14821 |
hardcode_direct_absolute=$hardcode_direct_absolute
|
|
|
14822 |
|
|
|
14823 |
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
|
|
|
14824 |
# into the resulting binary.
|
|
|
14825 |
hardcode_minus_L=$hardcode_minus_L
|
|
|
14826 |
|
|
|
14827 |
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
|
|
|
14828 |
# into the resulting binary.
|
|
|
14829 |
hardcode_shlibpath_var=$hardcode_shlibpath_var
|
|
|
14830 |
|
|
|
14831 |
# Set to "yes" if building a shared library automatically hardcodes DIR
|
|
|
14832 |
# into the library and all subsequent libraries and executables linked
|
|
|
14833 |
# against it.
|
|
|
14834 |
hardcode_automatic=$hardcode_automatic
|
|
|
14835 |
|
|
|
14836 |
# Set to yes if linker adds runtime paths of dependent libraries
|
|
|
14837 |
# to runtime path list.
|
|
|
14838 |
inherit_rpath=$inherit_rpath
|
|
|
14839 |
|
|
|
14840 |
# Whether libtool must link a program against all its dependency libraries.
|
|
|
14841 |
link_all_deplibs=$link_all_deplibs
|
|
|
14842 |
|
|
|
14843 |
# Set to "yes" if exported symbols are required.
|
|
|
14844 |
always_export_symbols=$always_export_symbols
|
|
|
14845 |
|
|
|
14846 |
# The commands to list exported symbols.
|
|
|
14847 |
export_symbols_cmds=$lt_export_symbols_cmds
|
|
|
14848 |
|
|
|
14849 |
# Symbols that should not be listed in the preloaded symbols.
|
|
|
14850 |
exclude_expsyms=$lt_exclude_expsyms
|
|
|
14851 |
|
|
|
14852 |
# Symbols that must always be exported.
|
|
|
14853 |
include_expsyms=$lt_include_expsyms
|
|
|
14854 |
|
|
|
14855 |
# Commands necessary for linking programs (against libraries) with templates.
|
|
|
14856 |
prelink_cmds=$lt_prelink_cmds
|
|
|
14857 |
|
|
|
14858 |
# Commands necessary for finishing linking programs.
|
|
|
14859 |
postlink_cmds=$lt_postlink_cmds
|
|
|
14860 |
|
|
|
14861 |
# Specify filename containing input files.
|
|
|
14862 |
file_list_spec=$lt_file_list_spec
|
|
|
14863 |
|
|
|
14864 |
# How to hardcode a shared library path into an executable.
|
|
|
14865 |
hardcode_action=$hardcode_action
|
|
|
14866 |
|
|
|
14867 |
# ### END LIBTOOL CONFIG
|
|
|
14868 |
|
|
|
14869 |
_LT_EOF
|
|
|
14870 |
|
|
|
14871 |
case $host_os in
|
|
|
14872 |
aix3*)
|
|
|
14873 |
cat <<\_LT_EOF >> "$cfgfile"
|
|
|
14874 |
# AIX sometimes has problems with the GCC collect2 program. For some
|
|
|
14875 |
# reason, if we set the COLLECT_NAMES environment variable, the problems
|
|
|
14876 |
# vanish in a puff of smoke.
|
|
|
14877 |
if test "X${COLLECT_NAMES+set}" != Xset; then
|
|
|
14878 |
COLLECT_NAMES=
|
|
|
14879 |
export COLLECT_NAMES
|
|
|
14880 |
fi
|
|
|
14881 |
_LT_EOF
|
|
|
14882 |
;;
|
10885 |
esac
|
14883 |
esac
|
10886 |
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
|
14884 |
|
10887 |
# Extract the definition of DEP_FILES from the Makefile without
|
14885 |
|
10888 |
# running `make'.
|
14886 |
ltmain="$ac_aux_dir/ltmain.sh"
|
10889 |
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
|
14887 |
|
10890 |
test -z "$DEPDIR" && continue
|
14888 |
|
10891 |
# When using ansi2knr, U may be empty or an underscore; expand it
|
14889 |
# We use sed instead of cat because bash on DJGPP gets confused if
|
10892 |
U=`sed -n -e '/^U = / s///p' < "$mf"`
|
14890 |
# if finds mixed CR/LF and LF-only lines. Since sed operates in
|
10893 |
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
|
14891 |
# text mode, it properly converts lines to CR/LF. This bash problem
|
10894 |
# We invoke sed twice because it is the simplest approach to
|
14892 |
# is reportedly fixed, but why not run on old versions too?
|
10895 |
# changing $(DEPDIR) to its actual value in the expansion.
|
14893 |
sed '$q' "$ltmain" >> "$cfgfile" \
|
10896 |
for file in `sed -n -e '
|
14894 |
|| (rm -f "$cfgfile"; exit 1)
|
10897 |
/^DEP_FILES = .*\\\\$/ {
|
14895 |
|
10898 |
s/^DEP_FILES = //
|
14896 |
if test x"$xsi_shell" = xyes; then
|
10899 |
:loop
|
14897 |
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
|
10900 |
s/\\\\$//
|
14898 |
func_dirname ()\
|
10901 |
p
|
14899 |
{\
|
10902 |
n
|
14900 |
\ case ${1} in\
|
10903 |
/\\\\$/ b loop
|
14901 |
\ */*) func_dirname_result="${1%/*}${2}" ;;\
|
10904 |
p
|
14902 |
\ * ) func_dirname_result="${3}" ;;\
|
10905 |
}
|
14903 |
\ esac\
|
10906 |
/^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
|
14904 |
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
|
10907 |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
14905 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|
10908 |
# Make sure the directory exists.
|
14906 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
10909 |
test -f "$dirpart/$file" && continue
|
14907 |
test 0 -eq $? || _lt_function_replace_fail=:
|
10910 |
fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
|
14908 |
|
10911 |
$ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
|
14909 |
|
10912 |
# echo "creating $dirpart/$file"
|
14910 |
sed -e '/^func_basename ()$/,/^} # func_basename /c\
|
10913 |
echo '# dummy' > "$dirpart/$file"
|
14911 |
func_basename ()\
|
10914 |
done
|
14912 |
{\
|
10915 |
done
|
14913 |
\ func_basename_result="${1##*/}"\
|
|
|
14914 |
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
|
|
|
14915 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|
|
|
14916 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
|
|
14917 |
test 0 -eq $? || _lt_function_replace_fail=:
|
|
|
14918 |
|
|
|
14919 |
|
|
|
14920 |
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
|
|
|
14921 |
func_dirname_and_basename ()\
|
|
|
14922 |
{\
|
|
|
14923 |
\ case ${1} in\
|
|
|
14924 |
\ */*) func_dirname_result="${1%/*}${2}" ;;\
|
|
|
14925 |
\ * ) func_dirname_result="${3}" ;;\
|
|
|
14926 |
\ esac\
|
|
|
14927 |
\ func_basename_result="${1##*/}"\
|
|
|
14928 |
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
|
|
|
14929 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|
|
|
14930 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
|
|
14931 |
test 0 -eq $? || _lt_function_replace_fail=:
|
|
|
14932 |
|
|
|
14933 |
|
|
|
14934 |
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
|
|
|
14935 |
func_stripname ()\
|
|
|
14936 |
{\
|
|
|
14937 |
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
|
|
|
14938 |
\ # positional parameters, so assign one to ordinary parameter first.\
|
|
|
14939 |
\ func_stripname_result=${3}\
|
|
|
14940 |
\ func_stripname_result=${func_stripname_result#"${1}"}\
|
|
|
14941 |
\ func_stripname_result=${func_stripname_result%"${2}"}\
|
|
|
14942 |
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
|
|
|
14943 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|
|
|
14944 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
|
|
14945 |
test 0 -eq $? || _lt_function_replace_fail=:
|
|
|
14946 |
|
|
|
14947 |
|
|
|
14948 |
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
|
|
|
14949 |
func_split_long_opt ()\
|
|
|
14950 |
{\
|
|
|
14951 |
\ func_split_long_opt_name=${1%%=*}\
|
|
|
14952 |
\ func_split_long_opt_arg=${1#*=}\
|
|
|
14953 |
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
|
|
|
14954 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|
|
|
14955 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
|
|
14956 |
test 0 -eq $? || _lt_function_replace_fail=:
|
|
|
14957 |
|
|
|
14958 |
|
|
|
14959 |
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
|
|
|
14960 |
func_split_short_opt ()\
|
|
|
14961 |
{\
|
|
|
14962 |
\ func_split_short_opt_arg=${1#??}\
|
|
|
14963 |
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
|
|
|
14964 |
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
|
|
|
14965 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|
|
|
14966 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
|
|
14967 |
test 0 -eq $? || _lt_function_replace_fail=:
|
|
|
14968 |
|
|
|
14969 |
|
|
|
14970 |
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
|
|
|
14971 |
func_lo2o ()\
|
|
|
14972 |
{\
|
|
|
14973 |
\ case ${1} in\
|
|
|
14974 |
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
|
|
|
14975 |
\ *) func_lo2o_result=${1} ;;\
|
|
|
14976 |
\ esac\
|
|
|
14977 |
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
|
|
|
14978 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|
|
|
14979 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
|
|
14980 |
test 0 -eq $? || _lt_function_replace_fail=:
|
|
|
14981 |
|
|
|
14982 |
|
|
|
14983 |
sed -e '/^func_xform ()$/,/^} # func_xform /c\
|
|
|
14984 |
func_xform ()\
|
|
|
14985 |
{\
|
|
|
14986 |
func_xform_result=${1%.*}.lo\
|
|
|
14987 |
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
|
|
|
14988 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|
|
|
14989 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
|
|
14990 |
test 0 -eq $? || _lt_function_replace_fail=:
|
|
|
14991 |
|
|
|
14992 |
|
|
|
14993 |
sed -e '/^func_arith ()$/,/^} # func_arith /c\
|
|
|
14994 |
func_arith ()\
|
|
|
14995 |
{\
|
|
|
14996 |
func_arith_result=$(( $* ))\
|
|
|
14997 |
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
|
|
|
14998 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|
|
|
14999 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
|
|
15000 |
test 0 -eq $? || _lt_function_replace_fail=:
|
|
|
15001 |
|
|
|
15002 |
|
|
|
15003 |
sed -e '/^func_len ()$/,/^} # func_len /c\
|
|
|
15004 |
func_len ()\
|
|
|
15005 |
{\
|
|
|
15006 |
func_len_result=${#1}\
|
|
|
15007 |
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
|
|
|
15008 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|
|
|
15009 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
|
|
15010 |
test 0 -eq $? || _lt_function_replace_fail=:
|
|
|
15011 |
|
|
|
15012 |
fi
|
|
|
15013 |
|
|
|
15014 |
if test x"$lt_shell_append" = xyes; then
|
|
|
15015 |
sed -e '/^func_append ()$/,/^} # func_append /c\
|
|
|
15016 |
func_append ()\
|
|
|
15017 |
{\
|
|
|
15018 |
eval "${1}+=\\${2}"\
|
|
|
15019 |
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
|
|
|
15020 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|
|
|
15021 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
|
|
15022 |
test 0 -eq $? || _lt_function_replace_fail=:
|
|
|
15023 |
|
|
|
15024 |
|
|
|
15025 |
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
|
|
|
15026 |
func_append_quoted ()\
|
|
|
15027 |
{\
|
|
|
15028 |
\ func_quote_for_eval "${2}"\
|
|
|
15029 |
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
|
|
|
15030 |
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
|
|
|
15031 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|
|
|
15032 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
|
|
15033 |
test 0 -eq $? || _lt_function_replace_fail=:
|
|
|
15034 |
|
|
|
15035 |
|
|
|
15036 |
# Save a `func_append' function call where possible by direct use of '+='
|
|
|
15037 |
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
|
|
|
15038 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|
|
|
15039 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
|
|
15040 |
test 0 -eq $? || _lt_function_replace_fail=:
|
|
|
15041 |
else
|
|
|
15042 |
# Save a `func_append' function call even when '+=' is not available
|
|
|
15043 |
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
|
|
|
15044 |
&& mv -f "$cfgfile.tmp" "$cfgfile" \
|
|
|
15045 |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
|
|
15046 |
test 0 -eq $? || _lt_function_replace_fail=:
|
|
|
15047 |
fi
|
|
|
15048 |
|
|
|
15049 |
if test x"$_lt_function_replace_fail" = x":"; then
|
|
|
15050 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
|
|
|
15051 |
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
|
|
|
15052 |
fi
|
|
|
15053 |
|
|
|
15054 |
|
|
|
15055 |
mv -f "$cfgfile" "$ofile" ||
|
|
|
15056 |
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
|
|
|
15057 |
chmod +x "$ofile"
|
|
|
15058 |
|
10916 |
;;
|
15059 |
;;
|
10917 |
"default":C) chmod +x t_unac ;;
|
15060 |
"default":C) chmod +x t_unac ;;
|
10918 |
|
15061 |
|
10919 |
esac
|
15062 |
esac
|
10920 |
done # for ac_tag
|
15063 |
done # for ac_tag
|
10921 |
|
15064 |
|
10922 |
|
15065 |
|
10923 |
{ (exit 0); exit 0; }
|
15066 |
as_fn_exit 0
|
10924 |
_ACEOF
|
15067 |
_ACEOF
|
10925 |
chmod +x $CONFIG_STATUS
|
|
|
10926 |
ac_clean_files=$ac_clean_files_save
|
15068 |
ac_clean_files=$ac_clean_files_save
|
|
|
15069 |
|
|
|
15070 |
test $ac_write_fail = 0 ||
|
|
|
15071 |
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
|
10927 |
|
15072 |
|
10928 |
|
15073 |
|
10929 |
# configure is writing to config.log, and then calls config.status.
|
15074 |
# configure is writing to config.log, and then calls config.status.
|
10930 |
# config.status does its own redirection, appending to config.log.
|
15075 |
# config.status does its own redirection, appending to config.log.
|
10931 |
# Unfortunately, on DOS this fails, as config.log is still kept open
|
15076 |
# Unfortunately, on DOS this fails, as config.log is still kept open
|
|
... |
|
... |
10942 |
exec 5>/dev/null
|
15087 |
exec 5>/dev/null
|
10943 |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
15088 |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
10944 |
exec 5>>config.log
|
15089 |
exec 5>>config.log
|
10945 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
15090 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
10946 |
# would make configure fail if this is the last instruction.
|
15091 |
# would make configure fail if this is the last instruction.
|
10947 |
$ac_cs_success || { (exit 1); exit 1; }
|
15092 |
$ac_cs_success || as_fn_exit 1
|
10948 |
fi
|
15093 |
fi
|
|
|
15094 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
|
|
15095 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
|
|
15096 |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
|
|
15097 |
fi
|
10949 |
|
15098 |
|