adam@0
|
1 #! /bin/sh
|
adam@0
|
2 # Guess values for system-dependent variables and create Makefiles.
|
adam@12
|
3 # Generated by GNU Autoconf 2.68 for urweb_feed 1.0.
|
adam@0
|
4 #
|
adam@0
|
5 #
|
adam@0
|
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
adam@0
|
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
|
adam@0
|
8 # Foundation, Inc.
|
adam@0
|
9 #
|
adam@0
|
10 #
|
adam@0
|
11 # This configure script is free software; the Free Software Foundation
|
adam@0
|
12 # gives unlimited permission to copy, distribute and modify it.
|
adam@0
|
13 ## -------------------- ##
|
adam@0
|
14 ## M4sh Initialization. ##
|
adam@0
|
15 ## -------------------- ##
|
adam@0
|
16
|
adam@0
|
17 # Be more Bourne compatible
|
adam@0
|
18 DUALCASE=1; export DUALCASE # for MKS sh
|
adam@0
|
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
adam@0
|
20 emulate sh
|
adam@0
|
21 NULLCMD=:
|
adam@0
|
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
adam@0
|
23 # is contrary to our usage. Disable this feature.
|
adam@0
|
24 alias -g '${1+"$@"}'='"$@"'
|
adam@0
|
25 setopt NO_GLOB_SUBST
|
adam@0
|
26 else
|
adam@0
|
27 case `(set -o) 2>/dev/null` in #(
|
adam@0
|
28 *posix*) :
|
adam@0
|
29 set -o posix ;; #(
|
adam@0
|
30 *) :
|
adam@0
|
31 ;;
|
adam@0
|
32 esac
|
adam@0
|
33 fi
|
adam@0
|
34
|
adam@0
|
35
|
adam@0
|
36 as_nl='
|
adam@0
|
37 '
|
adam@0
|
38 export as_nl
|
adam@0
|
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
|
adam@0
|
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
adam@0
|
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
adam@0
|
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
adam@0
|
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
|
adam@0
|
44 # but without wasting forks for bash or zsh.
|
adam@0
|
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
|
adam@0
|
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
adam@0
|
47 as_echo='print -r --'
|
adam@0
|
48 as_echo_n='print -rn --'
|
adam@0
|
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
adam@0
|
50 as_echo='printf %s\n'
|
adam@0
|
51 as_echo_n='printf %s'
|
adam@0
|
52 else
|
adam@0
|
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
adam@0
|
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
adam@0
|
55 as_echo_n='/usr/ucb/echo -n'
|
adam@0
|
56 else
|
adam@0
|
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
adam@0
|
58 as_echo_n_body='eval
|
adam@0
|
59 arg=$1;
|
adam@0
|
60 case $arg in #(
|
adam@0
|
61 *"$as_nl"*)
|
adam@0
|
62 expr "X$arg" : "X\\(.*\\)$as_nl";
|
adam@0
|
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
adam@0
|
64 esac;
|
adam@0
|
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
adam@0
|
66 '
|
adam@0
|
67 export as_echo_n_body
|
adam@0
|
68 as_echo_n='sh -c $as_echo_n_body as_echo'
|
adam@0
|
69 fi
|
adam@0
|
70 export as_echo_body
|
adam@0
|
71 as_echo='sh -c $as_echo_body as_echo'
|
adam@0
|
72 fi
|
adam@0
|
73
|
adam@0
|
74 # The user is always right.
|
adam@0
|
75 if test "${PATH_SEPARATOR+set}" != set; then
|
adam@0
|
76 PATH_SEPARATOR=:
|
adam@0
|
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
adam@0
|
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
adam@0
|
79 PATH_SEPARATOR=';'
|
adam@0
|
80 }
|
adam@0
|
81 fi
|
adam@0
|
82
|
adam@0
|
83
|
adam@0
|
84 # IFS
|
adam@0
|
85 # We need space, tab and new line, in precisely that order. Quoting is
|
adam@0
|
86 # there to prevent editors from complaining about space-tab.
|
adam@0
|
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
adam@0
|
88 # splitting by setting IFS to empty value.)
|
adam@0
|
89 IFS=" "" $as_nl"
|
adam@0
|
90
|
adam@0
|
91 # Find who we are. Look in the path if we contain no directory separator.
|
adam@12
|
92 as_myself=
|
adam@0
|
93 case $0 in #((
|
adam@0
|
94 *[\\/]* ) as_myself=$0 ;;
|
adam@0
|
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
96 for as_dir in $PATH
|
adam@0
|
97 do
|
adam@0
|
98 IFS=$as_save_IFS
|
adam@0
|
99 test -z "$as_dir" && as_dir=.
|
adam@0
|
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
adam@0
|
101 done
|
adam@0
|
102 IFS=$as_save_IFS
|
adam@0
|
103
|
adam@0
|
104 ;;
|
adam@0
|
105 esac
|
adam@0
|
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
|
adam@0
|
107 # in which case we are not to be found in the path.
|
adam@0
|
108 if test "x$as_myself" = x; then
|
adam@0
|
109 as_myself=$0
|
adam@0
|
110 fi
|
adam@0
|
111 if test ! -f "$as_myself"; then
|
adam@0
|
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
adam@0
|
113 exit 1
|
adam@0
|
114 fi
|
adam@0
|
115
|
adam@0
|
116 # Unset variables that we do not need and which cause bugs (e.g. in
|
adam@0
|
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
adam@0
|
118 # suppresses any "Segmentation fault" message there. '((' could
|
adam@0
|
119 # trigger a bug in pdksh 5.2.14.
|
adam@0
|
120 for as_var in BASH_ENV ENV MAIL MAILPATH
|
adam@0
|
121 do eval test x\${$as_var+set} = xset \
|
adam@0
|
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
adam@0
|
123 done
|
adam@0
|
124 PS1='$ '
|
adam@0
|
125 PS2='> '
|
adam@0
|
126 PS4='+ '
|
adam@0
|
127
|
adam@0
|
128 # NLS nuisances.
|
adam@0
|
129 LC_ALL=C
|
adam@0
|
130 export LC_ALL
|
adam@0
|
131 LANGUAGE=C
|
adam@0
|
132 export LANGUAGE
|
adam@0
|
133
|
adam@0
|
134 # CDPATH.
|
adam@0
|
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
adam@0
|
136
|
adam@0
|
137 if test "x$CONFIG_SHELL" = x; then
|
adam@0
|
138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
|
adam@0
|
139 emulate sh
|
adam@0
|
140 NULLCMD=:
|
adam@0
|
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
|
adam@0
|
142 # is contrary to our usage. Disable this feature.
|
adam@0
|
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
|
adam@0
|
144 setopt NO_GLOB_SUBST
|
adam@0
|
145 else
|
adam@0
|
146 case \`(set -o) 2>/dev/null\` in #(
|
adam@0
|
147 *posix*) :
|
adam@0
|
148 set -o posix ;; #(
|
adam@0
|
149 *) :
|
adam@0
|
150 ;;
|
adam@0
|
151 esac
|
adam@0
|
152 fi
|
adam@0
|
153 "
|
adam@0
|
154 as_required="as_fn_return () { (exit \$1); }
|
adam@0
|
155 as_fn_success () { as_fn_return 0; }
|
adam@0
|
156 as_fn_failure () { as_fn_return 1; }
|
adam@0
|
157 as_fn_ret_success () { return 0; }
|
adam@0
|
158 as_fn_ret_failure () { return 1; }
|
adam@0
|
159
|
adam@0
|
160 exitcode=0
|
adam@0
|
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
|
adam@0
|
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
|
adam@0
|
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
|
adam@0
|
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
|
adam@0
|
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
|
adam@0
|
166
|
adam@0
|
167 else
|
adam@0
|
168 exitcode=1; echo positional parameters were not saved.
|
adam@0
|
169 fi
|
adam@0
|
170 test x\$exitcode = x0 || exit 1"
|
adam@0
|
171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
|
adam@0
|
172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
|
adam@0
|
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
|
adam@0
|
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
|
adam@12
|
175 test \$(( 1 + 1 )) = 2 || exit 1
|
adam@12
|
176
|
adam@12
|
177 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
|
adam@12
|
178 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
adam@12
|
179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
|
adam@12
|
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
|
adam@12
|
181 PATH=/empty FPATH=/empty; export PATH FPATH
|
adam@12
|
182 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
|
adam@12
|
183 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
|
adam@0
|
184 if (eval "$as_required") 2>/dev/null; then :
|
adam@0
|
185 as_have_required=yes
|
adam@0
|
186 else
|
adam@0
|
187 as_have_required=no
|
adam@0
|
188 fi
|
adam@0
|
189 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
|
adam@0
|
190
|
adam@0
|
191 else
|
adam@0
|
192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
193 as_found=false
|
adam@0
|
194 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
adam@0
|
195 do
|
adam@0
|
196 IFS=$as_save_IFS
|
adam@0
|
197 test -z "$as_dir" && as_dir=.
|
adam@0
|
198 as_found=:
|
adam@0
|
199 case $as_dir in #(
|
adam@0
|
200 /*)
|
adam@0
|
201 for as_base in sh bash ksh sh5; do
|
adam@0
|
202 # Try only shells that exist, to save several forks.
|
adam@0
|
203 as_shell=$as_dir/$as_base
|
adam@0
|
204 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
adam@0
|
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
adam@0
|
206 CONFIG_SHELL=$as_shell as_have_required=yes
|
adam@0
|
207 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
adam@0
|
208 break 2
|
adam@0
|
209 fi
|
adam@0
|
210 fi
|
adam@0
|
211 done;;
|
adam@0
|
212 esac
|
adam@0
|
213 as_found=false
|
adam@0
|
214 done
|
adam@0
|
215 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
|
adam@0
|
216 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
|
adam@0
|
217 CONFIG_SHELL=$SHELL as_have_required=yes
|
adam@0
|
218 fi; }
|
adam@0
|
219 IFS=$as_save_IFS
|
adam@0
|
220
|
adam@0
|
221
|
adam@0
|
222 if test "x$CONFIG_SHELL" != x; then :
|
adam@0
|
223 # We cannot yet assume a decent shell, so we have to provide a
|
adam@0
|
224 # neutralization value for shells without unset; and this also
|
adam@0
|
225 # works around shells that cannot unset nonexistent variables.
|
adam@12
|
226 # Preserve -v and -x to the replacement shell.
|
adam@0
|
227 BASH_ENV=/dev/null
|
adam@0
|
228 ENV=/dev/null
|
adam@0
|
229 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
adam@0
|
230 export CONFIG_SHELL
|
adam@12
|
231 case $- in # ((((
|
adam@12
|
232 *v*x* | *x*v* ) as_opts=-vx ;;
|
adam@12
|
233 *v* ) as_opts=-v ;;
|
adam@12
|
234 *x* ) as_opts=-x ;;
|
adam@12
|
235 * ) as_opts= ;;
|
adam@12
|
236 esac
|
adam@12
|
237 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
|
adam@0
|
238 fi
|
adam@0
|
239
|
adam@0
|
240 if test x$as_have_required = xno; then :
|
adam@0
|
241 $as_echo "$0: This script requires a shell more modern than all"
|
adam@0
|
242 $as_echo "$0: the shells that I found on your system."
|
adam@0
|
243 if test x${ZSH_VERSION+set} = xset ; then
|
adam@0
|
244 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
|
adam@0
|
245 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
|
adam@0
|
246 else
|
adam@0
|
247 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
|
adam@0
|
248 $0: including any error possibly output before this
|
adam@0
|
249 $0: message. Then install a modern shell, or manually run
|
adam@0
|
250 $0: the script under such a shell if you do have one."
|
adam@0
|
251 fi
|
adam@0
|
252 exit 1
|
adam@0
|
253 fi
|
adam@0
|
254 fi
|
adam@0
|
255 fi
|
adam@0
|
256 SHELL=${CONFIG_SHELL-/bin/sh}
|
adam@0
|
257 export SHELL
|
adam@0
|
258 # Unset more variables known to interfere with behavior of common tools.
|
adam@0
|
259 CLICOLOR_FORCE= GREP_OPTIONS=
|
adam@0
|
260 unset CLICOLOR_FORCE GREP_OPTIONS
|
adam@0
|
261
|
adam@0
|
262 ## --------------------- ##
|
adam@0
|
263 ## M4sh Shell Functions. ##
|
adam@0
|
264 ## --------------------- ##
|
adam@0
|
265 # as_fn_unset VAR
|
adam@0
|
266 # ---------------
|
adam@0
|
267 # Portably unset VAR.
|
adam@0
|
268 as_fn_unset ()
|
adam@0
|
269 {
|
adam@0
|
270 { eval $1=; unset $1;}
|
adam@0
|
271 }
|
adam@0
|
272 as_unset=as_fn_unset
|
adam@0
|
273
|
adam@0
|
274 # as_fn_set_status STATUS
|
adam@0
|
275 # -----------------------
|
adam@0
|
276 # Set $? to STATUS, without forking.
|
adam@0
|
277 as_fn_set_status ()
|
adam@0
|
278 {
|
adam@0
|
279 return $1
|
adam@0
|
280 } # as_fn_set_status
|
adam@0
|
281
|
adam@0
|
282 # as_fn_exit STATUS
|
adam@0
|
283 # -----------------
|
adam@0
|
284 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
adam@0
|
285 as_fn_exit ()
|
adam@0
|
286 {
|
adam@0
|
287 set +e
|
adam@0
|
288 as_fn_set_status $1
|
adam@0
|
289 exit $1
|
adam@0
|
290 } # as_fn_exit
|
adam@0
|
291
|
adam@0
|
292 # as_fn_mkdir_p
|
adam@0
|
293 # -------------
|
adam@0
|
294 # Create "$as_dir" as a directory, including parents if necessary.
|
adam@0
|
295 as_fn_mkdir_p ()
|
adam@0
|
296 {
|
adam@0
|
297
|
adam@0
|
298 case $as_dir in #(
|
adam@0
|
299 -*) as_dir=./$as_dir;;
|
adam@0
|
300 esac
|
adam@0
|
301 test -d "$as_dir" || eval $as_mkdir_p || {
|
adam@0
|
302 as_dirs=
|
adam@0
|
303 while :; do
|
adam@0
|
304 case $as_dir in #(
|
adam@0
|
305 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
adam@0
|
306 *) as_qdir=$as_dir;;
|
adam@0
|
307 esac
|
adam@0
|
308 as_dirs="'$as_qdir' $as_dirs"
|
adam@0
|
309 as_dir=`$as_dirname -- "$as_dir" ||
|
adam@0
|
310 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
adam@0
|
311 X"$as_dir" : 'X\(//\)[^/]' \| \
|
adam@0
|
312 X"$as_dir" : 'X\(//\)$' \| \
|
adam@0
|
313 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
adam@0
|
314 $as_echo X"$as_dir" |
|
adam@0
|
315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
adam@0
|
316 s//\1/
|
adam@0
|
317 q
|
adam@0
|
318 }
|
adam@0
|
319 /^X\(\/\/\)[^/].*/{
|
adam@0
|
320 s//\1/
|
adam@0
|
321 q
|
adam@0
|
322 }
|
adam@0
|
323 /^X\(\/\/\)$/{
|
adam@0
|
324 s//\1/
|
adam@0
|
325 q
|
adam@0
|
326 }
|
adam@0
|
327 /^X\(\/\).*/{
|
adam@0
|
328 s//\1/
|
adam@0
|
329 q
|
adam@0
|
330 }
|
adam@0
|
331 s/.*/./; q'`
|
adam@0
|
332 test -d "$as_dir" && break
|
adam@0
|
333 done
|
adam@0
|
334 test -z "$as_dirs" || eval "mkdir $as_dirs"
|
adam@0
|
335 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
adam@0
|
336
|
adam@0
|
337
|
adam@0
|
338 } # as_fn_mkdir_p
|
adam@0
|
339 # as_fn_append VAR VALUE
|
adam@0
|
340 # ----------------------
|
adam@0
|
341 # Append the text in VALUE to the end of the definition contained in VAR. Take
|
adam@0
|
342 # advantage of any shell optimizations that allow amortized linear growth over
|
adam@0
|
343 # repeated appends, instead of the typical quadratic growth present in naive
|
adam@0
|
344 # implementations.
|
adam@0
|
345 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
adam@0
|
346 eval 'as_fn_append ()
|
adam@0
|
347 {
|
adam@0
|
348 eval $1+=\$2
|
adam@0
|
349 }'
|
adam@0
|
350 else
|
adam@0
|
351 as_fn_append ()
|
adam@0
|
352 {
|
adam@0
|
353 eval $1=\$$1\$2
|
adam@0
|
354 }
|
adam@0
|
355 fi # as_fn_append
|
adam@0
|
356
|
adam@0
|
357 # as_fn_arith ARG...
|
adam@0
|
358 # ------------------
|
adam@0
|
359 # Perform arithmetic evaluation on the ARGs, and store the result in the
|
adam@0
|
360 # global $as_val. Take advantage of shells that can avoid forks. The arguments
|
adam@0
|
361 # must be portable across $(()) and expr.
|
adam@0
|
362 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
adam@0
|
363 eval 'as_fn_arith ()
|
adam@0
|
364 {
|
adam@0
|
365 as_val=$(( $* ))
|
adam@0
|
366 }'
|
adam@0
|
367 else
|
adam@0
|
368 as_fn_arith ()
|
adam@0
|
369 {
|
adam@0
|
370 as_val=`expr "$@" || test $? -eq 1`
|
adam@0
|
371 }
|
adam@0
|
372 fi # as_fn_arith
|
adam@0
|
373
|
adam@0
|
374
|
adam@0
|
375 # as_fn_error STATUS ERROR [LINENO LOG_FD]
|
adam@0
|
376 # ----------------------------------------
|
adam@0
|
377 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
adam@0
|
378 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
adam@0
|
379 # script with STATUS, using 1 if that was 0.
|
adam@0
|
380 as_fn_error ()
|
adam@0
|
381 {
|
adam@0
|
382 as_status=$1; test $as_status -eq 0 && as_status=1
|
adam@0
|
383 if test "$4"; then
|
adam@0
|
384 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
adam@0
|
385 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
adam@0
|
386 fi
|
adam@0
|
387 $as_echo "$as_me: error: $2" >&2
|
adam@0
|
388 as_fn_exit $as_status
|
adam@0
|
389 } # as_fn_error
|
adam@0
|
390
|
adam@0
|
391 if expr a : '\(a\)' >/dev/null 2>&1 &&
|
adam@0
|
392 test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
adam@0
|
393 as_expr=expr
|
adam@0
|
394 else
|
adam@0
|
395 as_expr=false
|
adam@0
|
396 fi
|
adam@0
|
397
|
adam@0
|
398 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
adam@0
|
399 as_basename=basename
|
adam@0
|
400 else
|
adam@0
|
401 as_basename=false
|
adam@0
|
402 fi
|
adam@0
|
403
|
adam@0
|
404 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
adam@0
|
405 as_dirname=dirname
|
adam@0
|
406 else
|
adam@0
|
407 as_dirname=false
|
adam@0
|
408 fi
|
adam@0
|
409
|
adam@0
|
410 as_me=`$as_basename -- "$0" ||
|
adam@0
|
411 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
adam@0
|
412 X"$0" : 'X\(//\)$' \| \
|
adam@0
|
413 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
adam@0
|
414 $as_echo X/"$0" |
|
adam@0
|
415 sed '/^.*\/\([^/][^/]*\)\/*$/{
|
adam@0
|
416 s//\1/
|
adam@0
|
417 q
|
adam@0
|
418 }
|
adam@0
|
419 /^X\/\(\/\/\)$/{
|
adam@0
|
420 s//\1/
|
adam@0
|
421 q
|
adam@0
|
422 }
|
adam@0
|
423 /^X\/\(\/\).*/{
|
adam@0
|
424 s//\1/
|
adam@0
|
425 q
|
adam@0
|
426 }
|
adam@0
|
427 s/.*/./; q'`
|
adam@0
|
428
|
adam@0
|
429 # Avoid depending upon Character Ranges.
|
adam@0
|
430 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
adam@0
|
431 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
adam@0
|
432 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
adam@0
|
433 as_cr_digits='0123456789'
|
adam@0
|
434 as_cr_alnum=$as_cr_Letters$as_cr_digits
|
adam@0
|
435
|
adam@0
|
436
|
adam@0
|
437 as_lineno_1=$LINENO as_lineno_1a=$LINENO
|
adam@0
|
438 as_lineno_2=$LINENO as_lineno_2a=$LINENO
|
adam@0
|
439 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
|
adam@0
|
440 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
|
adam@0
|
441 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
|
adam@0
|
442 sed -n '
|
adam@0
|
443 p
|
adam@0
|
444 /[$]LINENO/=
|
adam@0
|
445 ' <$as_myself |
|
adam@0
|
446 sed '
|
adam@0
|
447 s/[$]LINENO.*/&-/
|
adam@0
|
448 t lineno
|
adam@0
|
449 b
|
adam@0
|
450 :lineno
|
adam@0
|
451 N
|
adam@0
|
452 :loop
|
adam@0
|
453 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
adam@0
|
454 t loop
|
adam@0
|
455 s/-\n.*//
|
adam@0
|
456 ' >$as_me.lineno &&
|
adam@0
|
457 chmod +x "$as_me.lineno" ||
|
adam@0
|
458 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
|
adam@0
|
459
|
adam@0
|
460 # Don't try to exec as it changes $[0], causing all sort of problems
|
adam@0
|
461 # (the dirname of $[0] is not the place where we might find the
|
adam@0
|
462 # original and so on. Autoconf is especially sensitive to this).
|
adam@0
|
463 . "./$as_me.lineno"
|
adam@0
|
464 # Exit status is that of the last command.
|
adam@0
|
465 exit
|
adam@0
|
466 }
|
adam@0
|
467
|
adam@0
|
468 ECHO_C= ECHO_N= ECHO_T=
|
adam@0
|
469 case `echo -n x` in #(((((
|
adam@0
|
470 -n*)
|
adam@0
|
471 case `echo 'xy\c'` in
|
adam@0
|
472 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
adam@0
|
473 xy) ECHO_C='\c';;
|
adam@0
|
474 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
adam@0
|
475 ECHO_T=' ';;
|
adam@0
|
476 esac;;
|
adam@0
|
477 *)
|
adam@0
|
478 ECHO_N='-n';;
|
adam@0
|
479 esac
|
adam@0
|
480
|
adam@0
|
481 rm -f conf$$ conf$$.exe conf$$.file
|
adam@0
|
482 if test -d conf$$.dir; then
|
adam@0
|
483 rm -f conf$$.dir/conf$$.file
|
adam@0
|
484 else
|
adam@0
|
485 rm -f conf$$.dir
|
adam@0
|
486 mkdir conf$$.dir 2>/dev/null
|
adam@0
|
487 fi
|
adam@0
|
488 if (echo >conf$$.file) 2>/dev/null; then
|
adam@0
|
489 if ln -s conf$$.file conf$$ 2>/dev/null; then
|
adam@0
|
490 as_ln_s='ln -s'
|
adam@0
|
491 # ... but there are two gotchas:
|
adam@0
|
492 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
adam@0
|
493 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
adam@0
|
494 # In both cases, we have to default to `cp -p'.
|
adam@0
|
495 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
adam@0
|
496 as_ln_s='cp -p'
|
adam@0
|
497 elif ln conf$$.file conf$$ 2>/dev/null; then
|
adam@0
|
498 as_ln_s=ln
|
adam@0
|
499 else
|
adam@0
|
500 as_ln_s='cp -p'
|
adam@0
|
501 fi
|
adam@0
|
502 else
|
adam@0
|
503 as_ln_s='cp -p'
|
adam@0
|
504 fi
|
adam@0
|
505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
adam@0
|
506 rmdir conf$$.dir 2>/dev/null
|
adam@0
|
507
|
adam@0
|
508 if mkdir -p . 2>/dev/null; then
|
adam@0
|
509 as_mkdir_p='mkdir -p "$as_dir"'
|
adam@0
|
510 else
|
adam@0
|
511 test -d ./-p && rmdir ./-p
|
adam@0
|
512 as_mkdir_p=false
|
adam@0
|
513 fi
|
adam@0
|
514
|
adam@0
|
515 if test -x / >/dev/null 2>&1; then
|
adam@0
|
516 as_test_x='test -x'
|
adam@0
|
517 else
|
adam@0
|
518 if ls -dL / >/dev/null 2>&1; then
|
adam@0
|
519 as_ls_L_option=L
|
adam@0
|
520 else
|
adam@0
|
521 as_ls_L_option=
|
adam@0
|
522 fi
|
adam@0
|
523 as_test_x='
|
adam@0
|
524 eval sh -c '\''
|
adam@0
|
525 if test -d "$1"; then
|
adam@0
|
526 test -d "$1/.";
|
adam@0
|
527 else
|
adam@0
|
528 case $1 in #(
|
adam@0
|
529 -*)set "./$1";;
|
adam@0
|
530 esac;
|
adam@0
|
531 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
adam@0
|
532 ???[sx]*):;;*)false;;esac;fi
|
adam@0
|
533 '\'' sh
|
adam@0
|
534 '
|
adam@0
|
535 fi
|
adam@0
|
536 as_executable_p=$as_test_x
|
adam@0
|
537
|
adam@0
|
538 # Sed expression to map a string onto a valid CPP name.
|
adam@0
|
539 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
adam@0
|
540
|
adam@0
|
541 # Sed expression to map a string onto a valid variable name.
|
adam@0
|
542 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
adam@0
|
543
|
adam@0
|
544 SHELL=${CONFIG_SHELL-/bin/sh}
|
adam@0
|
545
|
adam@0
|
546
|
adam@0
|
547 test -n "$DJDIR" || exec 7<&0 </dev/null
|
adam@0
|
548 exec 6>&1
|
adam@0
|
549
|
adam@0
|
550 # Name of the host.
|
adam@0
|
551 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
|
adam@0
|
552 # so uname gets run too.
|
adam@0
|
553 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
adam@0
|
554
|
adam@0
|
555 #
|
adam@0
|
556 # Initializations.
|
adam@0
|
557 #
|
adam@0
|
558 ac_default_prefix=/usr/local
|
adam@0
|
559 ac_clean_files=
|
adam@0
|
560 ac_config_libobj_dir=.
|
adam@0
|
561 LIBOBJS=
|
adam@0
|
562 cross_compiling=no
|
adam@0
|
563 subdirs=
|
adam@0
|
564 MFLAGS=
|
adam@0
|
565 MAKEFLAGS=
|
adam@0
|
566
|
adam@0
|
567 # Identity of this package.
|
adam@0
|
568 PACKAGE_NAME='urweb_feed'
|
adam@0
|
569 PACKAGE_TARNAME='urweb_feed'
|
adam@0
|
570 PACKAGE_VERSION='1.0'
|
adam@0
|
571 PACKAGE_STRING='urweb_feed 1.0'
|
adam@0
|
572 PACKAGE_BUGREPORT=''
|
adam@0
|
573 PACKAGE_URL=''
|
adam@0
|
574
|
adam@0
|
575 # Factoring default headers for most tests.
|
adam@0
|
576 ac_includes_default="\
|
adam@0
|
577 #include <stdio.h>
|
adam@0
|
578 #ifdef HAVE_SYS_TYPES_H
|
adam@0
|
579 # include <sys/types.h>
|
adam@0
|
580 #endif
|
adam@0
|
581 #ifdef HAVE_SYS_STAT_H
|
adam@0
|
582 # include <sys/stat.h>
|
adam@0
|
583 #endif
|
adam@0
|
584 #ifdef STDC_HEADERS
|
adam@0
|
585 # include <stdlib.h>
|
adam@0
|
586 # include <stddef.h>
|
adam@0
|
587 #else
|
adam@0
|
588 # ifdef HAVE_STDLIB_H
|
adam@0
|
589 # include <stdlib.h>
|
adam@0
|
590 # endif
|
adam@0
|
591 #endif
|
adam@0
|
592 #ifdef HAVE_STRING_H
|
adam@0
|
593 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
|
adam@0
|
594 # include <memory.h>
|
adam@0
|
595 # endif
|
adam@0
|
596 # include <string.h>
|
adam@0
|
597 #endif
|
adam@0
|
598 #ifdef HAVE_STRINGS_H
|
adam@0
|
599 # include <strings.h>
|
adam@0
|
600 #endif
|
adam@0
|
601 #ifdef HAVE_INTTYPES_H
|
adam@0
|
602 # include <inttypes.h>
|
adam@0
|
603 #endif
|
adam@0
|
604 #ifdef HAVE_STDINT_H
|
adam@0
|
605 # include <stdint.h>
|
adam@0
|
606 #endif
|
adam@0
|
607 #ifdef HAVE_UNISTD_H
|
adam@0
|
608 # include <unistd.h>
|
adam@0
|
609 #endif"
|
adam@0
|
610
|
adam@0
|
611 ac_subst_vars='am__EXEEXT_FALSE
|
adam@0
|
612 am__EXEEXT_TRUE
|
adam@0
|
613 LTLIBOBJS
|
adam@0
|
614 LIBOBJS
|
adam@0
|
615 INCLUDE
|
adam@0
|
616 LIB
|
adam@0
|
617 LIBCURL
|
adam@0
|
618 LIBCURL_CPPFLAGS
|
adam@0
|
619 _libcurl_config
|
adam@0
|
620 OTOOL64
|
adam@0
|
621 OTOOL
|
adam@0
|
622 LIPO
|
adam@0
|
623 NMEDIT
|
adam@0
|
624 DSYMUTIL
|
adam@12
|
625 MANIFEST_TOOL
|
adam@0
|
626 RANLIB
|
adam@12
|
627 ac_ct_AR
|
adam@0
|
628 AR
|
adam@12
|
629 DLLTOOL
|
adam@0
|
630 OBJDUMP
|
adam@0
|
631 LN_S
|
adam@0
|
632 NM
|
adam@0
|
633 ac_ct_DUMPBIN
|
adam@0
|
634 DUMPBIN
|
adam@0
|
635 LD
|
adam@0
|
636 FGREP
|
adam@0
|
637 SED
|
adam@0
|
638 host_os
|
adam@0
|
639 host_vendor
|
adam@0
|
640 host_cpu
|
adam@0
|
641 host
|
adam@0
|
642 build_os
|
adam@0
|
643 build_vendor
|
adam@0
|
644 build_cpu
|
adam@0
|
645 build
|
adam@0
|
646 LIBTOOL
|
adam@0
|
647 am__fastdepCC_FALSE
|
adam@0
|
648 am__fastdepCC_TRUE
|
adam@0
|
649 CCDEPMODE
|
adam@0
|
650 AMDEPBACKSLASH
|
adam@0
|
651 AMDEP_FALSE
|
adam@0
|
652 AMDEP_TRUE
|
adam@0
|
653 am__quote
|
adam@0
|
654 am__include
|
adam@0
|
655 DEPDIR
|
adam@0
|
656 am__untar
|
adam@0
|
657 am__tar
|
adam@0
|
658 AMTAR
|
adam@0
|
659 am__leading_dot
|
adam@0
|
660 SET_MAKE
|
adam@0
|
661 AWK
|
adam@0
|
662 mkdir_p
|
adam@0
|
663 MKDIR_P
|
adam@0
|
664 INSTALL_STRIP_PROGRAM
|
adam@0
|
665 STRIP
|
adam@0
|
666 install_sh
|
adam@0
|
667 MAKEINFO
|
adam@0
|
668 AUTOHEADER
|
adam@0
|
669 AUTOMAKE
|
adam@0
|
670 AUTOCONF
|
adam@0
|
671 ACLOCAL
|
adam@0
|
672 VERSION
|
adam@0
|
673 PACKAGE
|
adam@0
|
674 CYGPATH_W
|
adam@0
|
675 am__isrc
|
adam@0
|
676 INSTALL_DATA
|
adam@0
|
677 INSTALL_SCRIPT
|
adam@0
|
678 INSTALL_PROGRAM
|
adam@0
|
679 EGREP
|
adam@0
|
680 GREP
|
adam@0
|
681 CPP
|
adam@0
|
682 OBJEXT
|
adam@0
|
683 EXEEXT
|
adam@0
|
684 ac_ct_CC
|
adam@0
|
685 CPPFLAGS
|
adam@0
|
686 LDFLAGS
|
adam@0
|
687 CFLAGS
|
adam@0
|
688 CC
|
adam@0
|
689 target_alias
|
adam@0
|
690 host_alias
|
adam@0
|
691 build_alias
|
adam@0
|
692 LIBS
|
adam@0
|
693 ECHO_T
|
adam@0
|
694 ECHO_N
|
adam@0
|
695 ECHO_C
|
adam@0
|
696 DEFS
|
adam@0
|
697 mandir
|
adam@0
|
698 localedir
|
adam@0
|
699 libdir
|
adam@0
|
700 psdir
|
adam@0
|
701 pdfdir
|
adam@0
|
702 dvidir
|
adam@0
|
703 htmldir
|
adam@0
|
704 infodir
|
adam@0
|
705 docdir
|
adam@0
|
706 oldincludedir
|
adam@0
|
707 includedir
|
adam@0
|
708 localstatedir
|
adam@0
|
709 sharedstatedir
|
adam@0
|
710 sysconfdir
|
adam@0
|
711 datadir
|
adam@0
|
712 datarootdir
|
adam@0
|
713 libexecdir
|
adam@0
|
714 sbindir
|
adam@0
|
715 bindir
|
adam@0
|
716 program_transform_name
|
adam@0
|
717 prefix
|
adam@0
|
718 exec_prefix
|
adam@0
|
719 PACKAGE_URL
|
adam@0
|
720 PACKAGE_BUGREPORT
|
adam@0
|
721 PACKAGE_STRING
|
adam@0
|
722 PACKAGE_VERSION
|
adam@0
|
723 PACKAGE_TARNAME
|
adam@0
|
724 PACKAGE_NAME
|
adam@0
|
725 PATH_SEPARATOR
|
adam@0
|
726 SHELL'
|
adam@0
|
727 ac_subst_files=''
|
adam@0
|
728 ac_user_opts='
|
adam@0
|
729 enable_option_checking
|
adam@0
|
730 enable_dependency_tracking
|
adam@0
|
731 enable_shared
|
adam@0
|
732 enable_static
|
adam@0
|
733 with_pic
|
adam@0
|
734 enable_fast_install
|
adam@0
|
735 with_gnu_ld
|
adam@12
|
736 with_sysroot
|
adam@0
|
737 enable_libtool_lock
|
adam@0
|
738 with_libcurl
|
adam@0
|
739 '
|
adam@0
|
740 ac_precious_vars='build_alias
|
adam@0
|
741 host_alias
|
adam@0
|
742 target_alias
|
adam@0
|
743 CC
|
adam@0
|
744 CFLAGS
|
adam@0
|
745 LDFLAGS
|
adam@0
|
746 LIBS
|
adam@0
|
747 CPPFLAGS
|
adam@0
|
748 CPP'
|
adam@0
|
749
|
adam@0
|
750
|
adam@0
|
751 # Initialize some variables set by options.
|
adam@0
|
752 ac_init_help=
|
adam@0
|
753 ac_init_version=false
|
adam@0
|
754 ac_unrecognized_opts=
|
adam@0
|
755 ac_unrecognized_sep=
|
adam@0
|
756 # The variables have the same names as the options, with
|
adam@0
|
757 # dashes changed to underlines.
|
adam@0
|
758 cache_file=/dev/null
|
adam@0
|
759 exec_prefix=NONE
|
adam@0
|
760 no_create=
|
adam@0
|
761 no_recursion=
|
adam@0
|
762 prefix=NONE
|
adam@0
|
763 program_prefix=NONE
|
adam@0
|
764 program_suffix=NONE
|
adam@0
|
765 program_transform_name=s,x,x,
|
adam@0
|
766 silent=
|
adam@0
|
767 site=
|
adam@0
|
768 srcdir=
|
adam@0
|
769 verbose=
|
adam@0
|
770 x_includes=NONE
|
adam@0
|
771 x_libraries=NONE
|
adam@0
|
772
|
adam@0
|
773 # Installation directory options.
|
adam@0
|
774 # These are left unexpanded so users can "make install exec_prefix=/foo"
|
adam@0
|
775 # and all the variables that are supposed to be based on exec_prefix
|
adam@0
|
776 # by default will actually change.
|
adam@0
|
777 # Use braces instead of parens because sh, perl, etc. also accept them.
|
adam@0
|
778 # (The list follows the same order as the GNU Coding Standards.)
|
adam@0
|
779 bindir='${exec_prefix}/bin'
|
adam@0
|
780 sbindir='${exec_prefix}/sbin'
|
adam@0
|
781 libexecdir='${exec_prefix}/libexec'
|
adam@0
|
782 datarootdir='${prefix}/share'
|
adam@0
|
783 datadir='${datarootdir}'
|
adam@0
|
784 sysconfdir='${prefix}/etc'
|
adam@0
|
785 sharedstatedir='${prefix}/com'
|
adam@0
|
786 localstatedir='${prefix}/var'
|
adam@0
|
787 includedir='${prefix}/include'
|
adam@0
|
788 oldincludedir='/usr/include'
|
adam@0
|
789 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
|
adam@0
|
790 infodir='${datarootdir}/info'
|
adam@0
|
791 htmldir='${docdir}'
|
adam@0
|
792 dvidir='${docdir}'
|
adam@0
|
793 pdfdir='${docdir}'
|
adam@0
|
794 psdir='${docdir}'
|
adam@0
|
795 libdir='${exec_prefix}/lib'
|
adam@0
|
796 localedir='${datarootdir}/locale'
|
adam@0
|
797 mandir='${datarootdir}/man'
|
adam@0
|
798
|
adam@0
|
799 ac_prev=
|
adam@0
|
800 ac_dashdash=
|
adam@0
|
801 for ac_option
|
adam@0
|
802 do
|
adam@0
|
803 # If the previous option needs an argument, assign it.
|
adam@0
|
804 if test -n "$ac_prev"; then
|
adam@0
|
805 eval $ac_prev=\$ac_option
|
adam@0
|
806 ac_prev=
|
adam@0
|
807 continue
|
adam@0
|
808 fi
|
adam@0
|
809
|
adam@0
|
810 case $ac_option in
|
adam@0
|
811 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
adam@0
|
812 *=) ac_optarg= ;;
|
adam@0
|
813 *) ac_optarg=yes ;;
|
adam@0
|
814 esac
|
adam@0
|
815
|
adam@0
|
816 # Accept the important Cygnus configure options, so we can diagnose typos.
|
adam@0
|
817
|
adam@0
|
818 case $ac_dashdash$ac_option in
|
adam@0
|
819 --)
|
adam@0
|
820 ac_dashdash=yes ;;
|
adam@0
|
821
|
adam@0
|
822 -bindir | --bindir | --bindi | --bind | --bin | --bi)
|
adam@0
|
823 ac_prev=bindir ;;
|
adam@0
|
824 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
adam@0
|
825 bindir=$ac_optarg ;;
|
adam@0
|
826
|
adam@0
|
827 -build | --build | --buil | --bui | --bu)
|
adam@0
|
828 ac_prev=build_alias ;;
|
adam@0
|
829 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
adam@0
|
830 build_alias=$ac_optarg ;;
|
adam@0
|
831
|
adam@0
|
832 -cache-file | --cache-file | --cache-fil | --cache-fi \
|
adam@0
|
833 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
adam@0
|
834 ac_prev=cache_file ;;
|
adam@0
|
835 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
adam@0
|
836 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
adam@0
|
837 cache_file=$ac_optarg ;;
|
adam@0
|
838
|
adam@0
|
839 --config-cache | -C)
|
adam@0
|
840 cache_file=config.cache ;;
|
adam@0
|
841
|
adam@0
|
842 -datadir | --datadir | --datadi | --datad)
|
adam@0
|
843 ac_prev=datadir ;;
|
adam@0
|
844 -datadir=* | --datadir=* | --datadi=* | --datad=*)
|
adam@0
|
845 datadir=$ac_optarg ;;
|
adam@0
|
846
|
adam@0
|
847 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
|
adam@0
|
848 | --dataroo | --dataro | --datar)
|
adam@0
|
849 ac_prev=datarootdir ;;
|
adam@0
|
850 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
|
adam@0
|
851 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
|
adam@0
|
852 datarootdir=$ac_optarg ;;
|
adam@0
|
853
|
adam@0
|
854 -disable-* | --disable-*)
|
adam@0
|
855 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
adam@0
|
856 # Reject names that are not valid shell variable names.
|
adam@0
|
857 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
adam@0
|
858 as_fn_error $? "invalid feature name: $ac_useropt"
|
adam@0
|
859 ac_useropt_orig=$ac_useropt
|
adam@0
|
860 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
adam@0
|
861 case $ac_user_opts in
|
adam@0
|
862 *"
|
adam@0
|
863 "enable_$ac_useropt"
|
adam@0
|
864 "*) ;;
|
adam@0
|
865 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
|
adam@0
|
866 ac_unrecognized_sep=', ';;
|
adam@0
|
867 esac
|
adam@0
|
868 eval enable_$ac_useropt=no ;;
|
adam@0
|
869
|
adam@0
|
870 -docdir | --docdir | --docdi | --doc | --do)
|
adam@0
|
871 ac_prev=docdir ;;
|
adam@0
|
872 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
|
adam@0
|
873 docdir=$ac_optarg ;;
|
adam@0
|
874
|
adam@0
|
875 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
|
adam@0
|
876 ac_prev=dvidir ;;
|
adam@0
|
877 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
|
adam@0
|
878 dvidir=$ac_optarg ;;
|
adam@0
|
879
|
adam@0
|
880 -enable-* | --enable-*)
|
adam@0
|
881 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
adam@0
|
882 # Reject names that are not valid shell variable names.
|
adam@0
|
883 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
adam@0
|
884 as_fn_error $? "invalid feature name: $ac_useropt"
|
adam@0
|
885 ac_useropt_orig=$ac_useropt
|
adam@0
|
886 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
adam@0
|
887 case $ac_user_opts in
|
adam@0
|
888 *"
|
adam@0
|
889 "enable_$ac_useropt"
|
adam@0
|
890 "*) ;;
|
adam@0
|
891 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
|
adam@0
|
892 ac_unrecognized_sep=', ';;
|
adam@0
|
893 esac
|
adam@0
|
894 eval enable_$ac_useropt=\$ac_optarg ;;
|
adam@0
|
895
|
adam@0
|
896 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
adam@0
|
897 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
adam@0
|
898 | --exec | --exe | --ex)
|
adam@0
|
899 ac_prev=exec_prefix ;;
|
adam@0
|
900 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
adam@0
|
901 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
adam@0
|
902 | --exec=* | --exe=* | --ex=*)
|
adam@0
|
903 exec_prefix=$ac_optarg ;;
|
adam@0
|
904
|
adam@0
|
905 -gas | --gas | --ga | --g)
|
adam@0
|
906 # Obsolete; use --with-gas.
|
adam@0
|
907 with_gas=yes ;;
|
adam@0
|
908
|
adam@0
|
909 -help | --help | --hel | --he | -h)
|
adam@0
|
910 ac_init_help=long ;;
|
adam@0
|
911 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
adam@0
|
912 ac_init_help=recursive ;;
|
adam@0
|
913 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
adam@0
|
914 ac_init_help=short ;;
|
adam@0
|
915
|
adam@0
|
916 -host | --host | --hos | --ho)
|
adam@0
|
917 ac_prev=host_alias ;;
|
adam@0
|
918 -host=* | --host=* | --hos=* | --ho=*)
|
adam@0
|
919 host_alias=$ac_optarg ;;
|
adam@0
|
920
|
adam@0
|
921 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
|
adam@0
|
922 ac_prev=htmldir ;;
|
adam@0
|
923 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
|
adam@0
|
924 | --ht=*)
|
adam@0
|
925 htmldir=$ac_optarg ;;
|
adam@0
|
926
|
adam@0
|
927 -includedir | --includedir | --includedi | --included | --include \
|
adam@0
|
928 | --includ | --inclu | --incl | --inc)
|
adam@0
|
929 ac_prev=includedir ;;
|
adam@0
|
930 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
adam@0
|
931 | --includ=* | --inclu=* | --incl=* | --inc=*)
|
adam@0
|
932 includedir=$ac_optarg ;;
|
adam@0
|
933
|
adam@0
|
934 -infodir | --infodir | --infodi | --infod | --info | --inf)
|
adam@0
|
935 ac_prev=infodir ;;
|
adam@0
|
936 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
adam@0
|
937 infodir=$ac_optarg ;;
|
adam@0
|
938
|
adam@0
|
939 -libdir | --libdir | --libdi | --libd)
|
adam@0
|
940 ac_prev=libdir ;;
|
adam@0
|
941 -libdir=* | --libdir=* | --libdi=* | --libd=*)
|
adam@0
|
942 libdir=$ac_optarg ;;
|
adam@0
|
943
|
adam@0
|
944 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
adam@0
|
945 | --libexe | --libex | --libe)
|
adam@0
|
946 ac_prev=libexecdir ;;
|
adam@0
|
947 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
adam@0
|
948 | --libexe=* | --libex=* | --libe=*)
|
adam@0
|
949 libexecdir=$ac_optarg ;;
|
adam@0
|
950
|
adam@0
|
951 -localedir | --localedir | --localedi | --localed | --locale)
|
adam@0
|
952 ac_prev=localedir ;;
|
adam@0
|
953 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
|
adam@0
|
954 localedir=$ac_optarg ;;
|
adam@0
|
955
|
adam@0
|
956 -localstatedir | --localstatedir | --localstatedi | --localstated \
|
adam@0
|
957 | --localstate | --localstat | --localsta | --localst | --locals)
|
adam@0
|
958 ac_prev=localstatedir ;;
|
adam@0
|
959 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
adam@0
|
960 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
|
adam@0
|
961 localstatedir=$ac_optarg ;;
|
adam@0
|
962
|
adam@0
|
963 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
adam@0
|
964 ac_prev=mandir ;;
|
adam@0
|
965 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
adam@0
|
966 mandir=$ac_optarg ;;
|
adam@0
|
967
|
adam@0
|
968 -nfp | --nfp | --nf)
|
adam@0
|
969 # Obsolete; use --without-fp.
|
adam@0
|
970 with_fp=no ;;
|
adam@0
|
971
|
adam@0
|
972 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
adam@0
|
973 | --no-cr | --no-c | -n)
|
adam@0
|
974 no_create=yes ;;
|
adam@0
|
975
|
adam@0
|
976 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
adam@0
|
977 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
adam@0
|
978 no_recursion=yes ;;
|
adam@0
|
979
|
adam@0
|
980 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
adam@0
|
981 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
adam@0
|
982 | --oldin | --oldi | --old | --ol | --o)
|
adam@0
|
983 ac_prev=oldincludedir ;;
|
adam@0
|
984 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
adam@0
|
985 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
adam@0
|
986 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
adam@0
|
987 oldincludedir=$ac_optarg ;;
|
adam@0
|
988
|
adam@0
|
989 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
adam@0
|
990 ac_prev=prefix ;;
|
adam@0
|
991 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
adam@0
|
992 prefix=$ac_optarg ;;
|
adam@0
|
993
|
adam@0
|
994 -program-prefix | --program-prefix | --program-prefi | --program-pref \
|
adam@0
|
995 | --program-pre | --program-pr | --program-p)
|
adam@0
|
996 ac_prev=program_prefix ;;
|
adam@0
|
997 -program-prefix=* | --program-prefix=* | --program-prefi=* \
|
adam@0
|
998 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
adam@0
|
999 program_prefix=$ac_optarg ;;
|
adam@0
|
1000
|
adam@0
|
1001 -program-suffix | --program-suffix | --program-suffi | --program-suff \
|
adam@0
|
1002 | --program-suf | --program-su | --program-s)
|
adam@0
|
1003 ac_prev=program_suffix ;;
|
adam@0
|
1004 -program-suffix=* | --program-suffix=* | --program-suffi=* \
|
adam@0
|
1005 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
adam@0
|
1006 program_suffix=$ac_optarg ;;
|
adam@0
|
1007
|
adam@0
|
1008 -program-transform-name | --program-transform-name \
|
adam@0
|
1009 | --program-transform-nam | --program-transform-na \
|
adam@0
|
1010 | --program-transform-n | --program-transform- \
|
adam@0
|
1011 | --program-transform | --program-transfor \
|
adam@0
|
1012 | --program-transfo | --program-transf \
|
adam@0
|
1013 | --program-trans | --program-tran \
|
adam@0
|
1014 | --progr-tra | --program-tr | --program-t)
|
adam@0
|
1015 ac_prev=program_transform_name ;;
|
adam@0
|
1016 -program-transform-name=* | --program-transform-name=* \
|
adam@0
|
1017 | --program-transform-nam=* | --program-transform-na=* \
|
adam@0
|
1018 | --program-transform-n=* | --program-transform-=* \
|
adam@0
|
1019 | --program-transform=* | --program-transfor=* \
|
adam@0
|
1020 | --program-transfo=* | --program-transf=* \
|
adam@0
|
1021 | --program-trans=* | --program-tran=* \
|
adam@0
|
1022 | --progr-tra=* | --program-tr=* | --program-t=*)
|
adam@0
|
1023 program_transform_name=$ac_optarg ;;
|
adam@0
|
1024
|
adam@0
|
1025 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
|
adam@0
|
1026 ac_prev=pdfdir ;;
|
adam@0
|
1027 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
|
adam@0
|
1028 pdfdir=$ac_optarg ;;
|
adam@0
|
1029
|
adam@0
|
1030 -psdir | --psdir | --psdi | --psd | --ps)
|
adam@0
|
1031 ac_prev=psdir ;;
|
adam@0
|
1032 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
|
adam@0
|
1033 psdir=$ac_optarg ;;
|
adam@0
|
1034
|
adam@0
|
1035 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
adam@0
|
1036 | -silent | --silent | --silen | --sile | --sil)
|
adam@0
|
1037 silent=yes ;;
|
adam@0
|
1038
|
adam@0
|
1039 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
adam@0
|
1040 ac_prev=sbindir ;;
|
adam@0
|
1041 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
adam@0
|
1042 | --sbi=* | --sb=*)
|
adam@0
|
1043 sbindir=$ac_optarg ;;
|
adam@0
|
1044
|
adam@0
|
1045 -sharedstatedir | --sharedstatedir | --sharedstatedi \
|
adam@0
|
1046 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
adam@0
|
1047 | --sharedst | --shareds | --shared | --share | --shar \
|
adam@0
|
1048 | --sha | --sh)
|
adam@0
|
1049 ac_prev=sharedstatedir ;;
|
adam@0
|
1050 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
adam@0
|
1051 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
adam@0
|
1052 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
adam@0
|
1053 | --sha=* | --sh=*)
|
adam@0
|
1054 sharedstatedir=$ac_optarg ;;
|
adam@0
|
1055
|
adam@0
|
1056 -site | --site | --sit)
|
adam@0
|
1057 ac_prev=site ;;
|
adam@0
|
1058 -site=* | --site=* | --sit=*)
|
adam@0
|
1059 site=$ac_optarg ;;
|
adam@0
|
1060
|
adam@0
|
1061 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
adam@0
|
1062 ac_prev=srcdir ;;
|
adam@0
|
1063 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
adam@0
|
1064 srcdir=$ac_optarg ;;
|
adam@0
|
1065
|
adam@0
|
1066 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
adam@0
|
1067 | --syscon | --sysco | --sysc | --sys | --sy)
|
adam@0
|
1068 ac_prev=sysconfdir ;;
|
adam@0
|
1069 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
adam@0
|
1070 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
adam@0
|
1071 sysconfdir=$ac_optarg ;;
|
adam@0
|
1072
|
adam@0
|
1073 -target | --target | --targe | --targ | --tar | --ta | --t)
|
adam@0
|
1074 ac_prev=target_alias ;;
|
adam@0
|
1075 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
adam@0
|
1076 target_alias=$ac_optarg ;;
|
adam@0
|
1077
|
adam@0
|
1078 -v | -verbose | --verbose | --verbos | --verbo | --verb)
|
adam@0
|
1079 verbose=yes ;;
|
adam@0
|
1080
|
adam@0
|
1081 -version | --version | --versio | --versi | --vers | -V)
|
adam@0
|
1082 ac_init_version=: ;;
|
adam@0
|
1083
|
adam@0
|
1084 -with-* | --with-*)
|
adam@0
|
1085 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
adam@0
|
1086 # Reject names that are not valid shell variable names.
|
adam@0
|
1087 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
adam@0
|
1088 as_fn_error $? "invalid package name: $ac_useropt"
|
adam@0
|
1089 ac_useropt_orig=$ac_useropt
|
adam@0
|
1090 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
adam@0
|
1091 case $ac_user_opts in
|
adam@0
|
1092 *"
|
adam@0
|
1093 "with_$ac_useropt"
|
adam@0
|
1094 "*) ;;
|
adam@0
|
1095 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
|
adam@0
|
1096 ac_unrecognized_sep=', ';;
|
adam@0
|
1097 esac
|
adam@0
|
1098 eval with_$ac_useropt=\$ac_optarg ;;
|
adam@0
|
1099
|
adam@0
|
1100 -without-* | --without-*)
|
adam@0
|
1101 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
adam@0
|
1102 # Reject names that are not valid shell variable names.
|
adam@0
|
1103 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
adam@0
|
1104 as_fn_error $? "invalid package name: $ac_useropt"
|
adam@0
|
1105 ac_useropt_orig=$ac_useropt
|
adam@0
|
1106 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
adam@0
|
1107 case $ac_user_opts in
|
adam@0
|
1108 *"
|
adam@0
|
1109 "with_$ac_useropt"
|
adam@0
|
1110 "*) ;;
|
adam@0
|
1111 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
|
adam@0
|
1112 ac_unrecognized_sep=', ';;
|
adam@0
|
1113 esac
|
adam@0
|
1114 eval with_$ac_useropt=no ;;
|
adam@0
|
1115
|
adam@0
|
1116 --x)
|
adam@0
|
1117 # Obsolete; use --with-x.
|
adam@0
|
1118 with_x=yes ;;
|
adam@0
|
1119
|
adam@0
|
1120 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
adam@0
|
1121 | --x-incl | --x-inc | --x-in | --x-i)
|
adam@0
|
1122 ac_prev=x_includes ;;
|
adam@0
|
1123 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
adam@0
|
1124 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
adam@0
|
1125 x_includes=$ac_optarg ;;
|
adam@0
|
1126
|
adam@0
|
1127 -x-libraries | --x-libraries | --x-librarie | --x-librari \
|
adam@0
|
1128 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
adam@0
|
1129 ac_prev=x_libraries ;;
|
adam@0
|
1130 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
adam@0
|
1131 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
adam@0
|
1132 x_libraries=$ac_optarg ;;
|
adam@0
|
1133
|
adam@0
|
1134 -*) as_fn_error $? "unrecognized option: \`$ac_option'
|
adam@0
|
1135 Try \`$0 --help' for more information"
|
adam@0
|
1136 ;;
|
adam@0
|
1137
|
adam@0
|
1138 *=*)
|
adam@0
|
1139 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
adam@0
|
1140 # Reject names that are not valid shell variable names.
|
adam@0
|
1141 case $ac_envvar in #(
|
adam@0
|
1142 '' | [0-9]* | *[!_$as_cr_alnum]* )
|
adam@0
|
1143 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
|
adam@0
|
1144 esac
|
adam@0
|
1145 eval $ac_envvar=\$ac_optarg
|
adam@0
|
1146 export $ac_envvar ;;
|
adam@0
|
1147
|
adam@0
|
1148 *)
|
adam@0
|
1149 # FIXME: should be removed in autoconf 3.0.
|
adam@0
|
1150 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
adam@0
|
1151 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
adam@0
|
1152 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
adam@12
|
1153 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
|
adam@0
|
1154 ;;
|
adam@0
|
1155
|
adam@0
|
1156 esac
|
adam@0
|
1157 done
|
adam@0
|
1158
|
adam@0
|
1159 if test -n "$ac_prev"; then
|
adam@0
|
1160 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
adam@0
|
1161 as_fn_error $? "missing argument to $ac_option"
|
adam@0
|
1162 fi
|
adam@0
|
1163
|
adam@0
|
1164 if test -n "$ac_unrecognized_opts"; then
|
adam@0
|
1165 case $enable_option_checking in
|
adam@0
|
1166 no) ;;
|
adam@0
|
1167 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
|
adam@0
|
1168 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
adam@0
|
1169 esac
|
adam@0
|
1170 fi
|
adam@0
|
1171
|
adam@0
|
1172 # Check all directory arguments for consistency.
|
adam@0
|
1173 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
adam@0
|
1174 datadir sysconfdir sharedstatedir localstatedir includedir \
|
adam@0
|
1175 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
adam@0
|
1176 libdir localedir mandir
|
adam@0
|
1177 do
|
adam@0
|
1178 eval ac_val=\$$ac_var
|
adam@0
|
1179 # Remove trailing slashes.
|
adam@0
|
1180 case $ac_val in
|
adam@0
|
1181 */ )
|
adam@0
|
1182 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
|
adam@0
|
1183 eval $ac_var=\$ac_val;;
|
adam@0
|
1184 esac
|
adam@0
|
1185 # Be sure to have absolute directory names.
|
adam@0
|
1186 case $ac_val in
|
adam@0
|
1187 [\\/$]* | ?:[\\/]* ) continue;;
|
adam@0
|
1188 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
adam@0
|
1189 esac
|
adam@0
|
1190 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
|
adam@0
|
1191 done
|
adam@0
|
1192
|
adam@0
|
1193 # There might be people who depend on the old broken behavior: `$host'
|
adam@0
|
1194 # used to hold the argument of --host etc.
|
adam@0
|
1195 # FIXME: To remove some day.
|
adam@0
|
1196 build=$build_alias
|
adam@0
|
1197 host=$host_alias
|
adam@0
|
1198 target=$target_alias
|
adam@0
|
1199
|
adam@0
|
1200 # FIXME: To remove some day.
|
adam@0
|
1201 if test "x$host_alias" != x; then
|
adam@0
|
1202 if test "x$build_alias" = x; then
|
adam@0
|
1203 cross_compiling=maybe
|
adam@0
|
1204 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
|
adam@0
|
1205 If a cross compiler is detected then cross compile mode will be used" >&2
|
adam@0
|
1206 elif test "x$build_alias" != "x$host_alias"; then
|
adam@0
|
1207 cross_compiling=yes
|
adam@0
|
1208 fi
|
adam@0
|
1209 fi
|
adam@0
|
1210
|
adam@0
|
1211 ac_tool_prefix=
|
adam@0
|
1212 test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
adam@0
|
1213
|
adam@0
|
1214 test "$silent" = yes && exec 6>/dev/null
|
adam@0
|
1215
|
adam@0
|
1216
|
adam@0
|
1217 ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
adam@0
|
1218 ac_ls_di=`ls -di .` &&
|
adam@0
|
1219 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
adam@0
|
1220 as_fn_error $? "working directory cannot be determined"
|
adam@0
|
1221 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
adam@0
|
1222 as_fn_error $? "pwd does not report name of working directory"
|
adam@0
|
1223
|
adam@0
|
1224
|
adam@0
|
1225 # Find the source files, if location was not specified.
|
adam@0
|
1226 if test -z "$srcdir"; then
|
adam@0
|
1227 ac_srcdir_defaulted=yes
|
adam@0
|
1228 # Try the directory containing this script, then the parent directory.
|
adam@0
|
1229 ac_confdir=`$as_dirname -- "$as_myself" ||
|
adam@0
|
1230 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
adam@0
|
1231 X"$as_myself" : 'X\(//\)[^/]' \| \
|
adam@0
|
1232 X"$as_myself" : 'X\(//\)$' \| \
|
adam@0
|
1233 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
|
adam@0
|
1234 $as_echo X"$as_myself" |
|
adam@0
|
1235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
adam@0
|
1236 s//\1/
|
adam@0
|
1237 q
|
adam@0
|
1238 }
|
adam@0
|
1239 /^X\(\/\/\)[^/].*/{
|
adam@0
|
1240 s//\1/
|
adam@0
|
1241 q
|
adam@0
|
1242 }
|
adam@0
|
1243 /^X\(\/\/\)$/{
|
adam@0
|
1244 s//\1/
|
adam@0
|
1245 q
|
adam@0
|
1246 }
|
adam@0
|
1247 /^X\(\/\).*/{
|
adam@0
|
1248 s//\1/
|
adam@0
|
1249 q
|
adam@0
|
1250 }
|
adam@0
|
1251 s/.*/./; q'`
|
adam@0
|
1252 srcdir=$ac_confdir
|
adam@0
|
1253 if test ! -r "$srcdir/$ac_unique_file"; then
|
adam@0
|
1254 srcdir=..
|
adam@0
|
1255 fi
|
adam@0
|
1256 else
|
adam@0
|
1257 ac_srcdir_defaulted=no
|
adam@0
|
1258 fi
|
adam@0
|
1259 if test ! -r "$srcdir/$ac_unique_file"; then
|
adam@0
|
1260 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
adam@0
|
1261 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
|
adam@0
|
1262 fi
|
adam@0
|
1263 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
adam@0
|
1264 ac_abs_confdir=`(
|
adam@0
|
1265 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
|
adam@0
|
1266 pwd)`
|
adam@0
|
1267 # When building in place, set srcdir=.
|
adam@0
|
1268 if test "$ac_abs_confdir" = "$ac_pwd"; then
|
adam@0
|
1269 srcdir=.
|
adam@0
|
1270 fi
|
adam@0
|
1271 # Remove unnecessary trailing slashes from srcdir.
|
adam@0
|
1272 # Double slashes in file names in object file debugging info
|
adam@0
|
1273 # mess up M-x gdb in Emacs.
|
adam@0
|
1274 case $srcdir in
|
adam@0
|
1275 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
|
adam@0
|
1276 esac
|
adam@0
|
1277 for ac_var in $ac_precious_vars; do
|
adam@0
|
1278 eval ac_env_${ac_var}_set=\${${ac_var}+set}
|
adam@0
|
1279 eval ac_env_${ac_var}_value=\$${ac_var}
|
adam@0
|
1280 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
|
adam@0
|
1281 eval ac_cv_env_${ac_var}_value=\$${ac_var}
|
adam@0
|
1282 done
|
adam@0
|
1283
|
adam@0
|
1284 #
|
adam@0
|
1285 # Report the --help message.
|
adam@0
|
1286 #
|
adam@0
|
1287 if test "$ac_init_help" = "long"; then
|
adam@0
|
1288 # Omit some internal or obsolete options to make the list less imposing.
|
adam@0
|
1289 # This message is too long to be a string in the A/UX 3.1 sh.
|
adam@0
|
1290 cat <<_ACEOF
|
adam@0
|
1291 \`configure' configures urweb_feed 1.0 to adapt to many kinds of systems.
|
adam@0
|
1292
|
adam@0
|
1293 Usage: $0 [OPTION]... [VAR=VALUE]...
|
adam@0
|
1294
|
adam@0
|
1295 To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
adam@0
|
1296 VAR=VALUE. See below for descriptions of some of the useful variables.
|
adam@0
|
1297
|
adam@0
|
1298 Defaults for the options are specified in brackets.
|
adam@0
|
1299
|
adam@0
|
1300 Configuration:
|
adam@0
|
1301 -h, --help display this help and exit
|
adam@0
|
1302 --help=short display options specific to this package
|
adam@0
|
1303 --help=recursive display the short help of all the included packages
|
adam@0
|
1304 -V, --version display version information and exit
|
adam@0
|
1305 -q, --quiet, --silent do not print \`checking ...' messages
|
adam@0
|
1306 --cache-file=FILE cache test results in FILE [disabled]
|
adam@0
|
1307 -C, --config-cache alias for \`--cache-file=config.cache'
|
adam@0
|
1308 -n, --no-create do not create output files
|
adam@0
|
1309 --srcdir=DIR find the sources in DIR [configure dir or \`..']
|
adam@0
|
1310
|
adam@0
|
1311 Installation directories:
|
adam@0
|
1312 --prefix=PREFIX install architecture-independent files in PREFIX
|
adam@0
|
1313 [$ac_default_prefix]
|
adam@0
|
1314 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
adam@0
|
1315 [PREFIX]
|
adam@0
|
1316
|
adam@0
|
1317 By default, \`make install' will install all the files in
|
adam@0
|
1318 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
adam@0
|
1319 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
adam@0
|
1320 for instance \`--prefix=\$HOME'.
|
adam@0
|
1321
|
adam@0
|
1322 For better control, use the options below.
|
adam@0
|
1323
|
adam@0
|
1324 Fine tuning of the installation directories:
|
adam@0
|
1325 --bindir=DIR user executables [EPREFIX/bin]
|
adam@0
|
1326 --sbindir=DIR system admin executables [EPREFIX/sbin]
|
adam@0
|
1327 --libexecdir=DIR program executables [EPREFIX/libexec]
|
adam@0
|
1328 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
adam@0
|
1329 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
adam@0
|
1330 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
adam@0
|
1331 --libdir=DIR object code libraries [EPREFIX/lib]
|
adam@0
|
1332 --includedir=DIR C header files [PREFIX/include]
|
adam@0
|
1333 --oldincludedir=DIR C header files for non-gcc [/usr/include]
|
adam@0
|
1334 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
adam@0
|
1335 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
adam@0
|
1336 --infodir=DIR info documentation [DATAROOTDIR/info]
|
adam@0
|
1337 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
adam@0
|
1338 --mandir=DIR man documentation [DATAROOTDIR/man]
|
adam@0
|
1339 --docdir=DIR documentation root [DATAROOTDIR/doc/urweb_feed]
|
adam@0
|
1340 --htmldir=DIR html documentation [DOCDIR]
|
adam@0
|
1341 --dvidir=DIR dvi documentation [DOCDIR]
|
adam@0
|
1342 --pdfdir=DIR pdf documentation [DOCDIR]
|
adam@0
|
1343 --psdir=DIR ps documentation [DOCDIR]
|
adam@0
|
1344 _ACEOF
|
adam@0
|
1345
|
adam@0
|
1346 cat <<\_ACEOF
|
adam@0
|
1347
|
adam@0
|
1348 Program names:
|
adam@0
|
1349 --program-prefix=PREFIX prepend PREFIX to installed program names
|
adam@0
|
1350 --program-suffix=SUFFIX append SUFFIX to installed program names
|
adam@0
|
1351 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
|
adam@0
|
1352
|
adam@0
|
1353 System types:
|
adam@0
|
1354 --build=BUILD configure for building on BUILD [guessed]
|
adam@0
|
1355 --host=HOST cross-compile to build programs to run on HOST [BUILD]
|
adam@0
|
1356 _ACEOF
|
adam@0
|
1357 fi
|
adam@0
|
1358
|
adam@0
|
1359 if test -n "$ac_init_help"; then
|
adam@0
|
1360 case $ac_init_help in
|
adam@0
|
1361 short | recursive ) echo "Configuration of urweb_feed 1.0:";;
|
adam@0
|
1362 esac
|
adam@0
|
1363 cat <<\_ACEOF
|
adam@0
|
1364
|
adam@0
|
1365 Optional Features:
|
adam@0
|
1366 --disable-option-checking ignore unrecognized --enable/--with options
|
adam@0
|
1367 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
adam@0
|
1368 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
adam@0
|
1369 --disable-dependency-tracking speeds up one-time build
|
adam@0
|
1370 --enable-dependency-tracking do not reject slow dependency extractors
|
adam@0
|
1371 --enable-shared[=PKGS] build shared libraries [default=yes]
|
adam@0
|
1372 --enable-static[=PKGS] build static libraries [default=yes]
|
adam@0
|
1373 --enable-fast-install[=PKGS]
|
adam@0
|
1374 optimize for fast installation [default=yes]
|
adam@0
|
1375 --disable-libtool-lock avoid locking (might break parallel builds)
|
adam@0
|
1376
|
adam@0
|
1377 Optional Packages:
|
adam@0
|
1378 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
adam@0
|
1379 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
adam@0
|
1380 --with-pic try to use only PIC/non-PIC objects [default=use
|
adam@0
|
1381 both]
|
adam@0
|
1382 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
|
adam@12
|
1383 --with-sysroot=DIR Search for dependent libraries within DIR
|
adam@12
|
1384 (or the compiler's sysroot if not specified).
|
adam@0
|
1385 --with-libcurl=DIR look for the curl library in DIR
|
adam@0
|
1386
|
adam@0
|
1387 Some influential environment variables:
|
adam@0
|
1388 CC C compiler command
|
adam@0
|
1389 CFLAGS C compiler flags
|
adam@0
|
1390 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
adam@0
|
1391 nonstandard directory <lib dir>
|
adam@0
|
1392 LIBS libraries to pass to the linker, e.g. -l<library>
|
adam@0
|
1393 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
adam@0
|
1394 you have headers in a nonstandard directory <include dir>
|
adam@0
|
1395 CPP C preprocessor
|
adam@0
|
1396
|
adam@0
|
1397 Use these variables to override the choices made by `configure' or to help
|
adam@0
|
1398 it to find libraries and programs with nonstandard names/locations.
|
adam@0
|
1399
|
adam@0
|
1400 Report bugs to the package provider.
|
adam@0
|
1401 _ACEOF
|
adam@0
|
1402 ac_status=$?
|
adam@0
|
1403 fi
|
adam@0
|
1404
|
adam@0
|
1405 if test "$ac_init_help" = "recursive"; then
|
adam@0
|
1406 # If there are subdirs, report their specific --help.
|
adam@0
|
1407 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
adam@0
|
1408 test -d "$ac_dir" ||
|
adam@0
|
1409 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
|
adam@0
|
1410 continue
|
adam@0
|
1411 ac_builddir=.
|
adam@0
|
1412
|
adam@0
|
1413 case "$ac_dir" in
|
adam@0
|
1414 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
adam@0
|
1415 *)
|
adam@0
|
1416 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
adam@0
|
1417 # A ".." for each directory in $ac_dir_suffix.
|
adam@0
|
1418 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
adam@0
|
1419 case $ac_top_builddir_sub in
|
adam@0
|
1420 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
adam@0
|
1421 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
adam@0
|
1422 esac ;;
|
adam@0
|
1423 esac
|
adam@0
|
1424 ac_abs_top_builddir=$ac_pwd
|
adam@0
|
1425 ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
adam@0
|
1426 # for backward compatibility:
|
adam@0
|
1427 ac_top_builddir=$ac_top_build_prefix
|
adam@0
|
1428
|
adam@0
|
1429 case $srcdir in
|
adam@0
|
1430 .) # We are building in place.
|
adam@0
|
1431 ac_srcdir=.
|
adam@0
|
1432 ac_top_srcdir=$ac_top_builddir_sub
|
adam@0
|
1433 ac_abs_top_srcdir=$ac_pwd ;;
|
adam@0
|
1434 [\\/]* | ?:[\\/]* ) # Absolute name.
|
adam@0
|
1435 ac_srcdir=$srcdir$ac_dir_suffix;
|
adam@0
|
1436 ac_top_srcdir=$srcdir
|
adam@0
|
1437 ac_abs_top_srcdir=$srcdir ;;
|
adam@0
|
1438 *) # Relative name.
|
adam@0
|
1439 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
adam@0
|
1440 ac_top_srcdir=$ac_top_build_prefix$srcdir
|
adam@0
|
1441 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
adam@0
|
1442 esac
|
adam@0
|
1443 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
adam@0
|
1444
|
adam@0
|
1445 cd "$ac_dir" || { ac_status=$?; continue; }
|
adam@0
|
1446 # Check for guested configure.
|
adam@0
|
1447 if test -f "$ac_srcdir/configure.gnu"; then
|
adam@0
|
1448 echo &&
|
adam@0
|
1449 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
|
adam@0
|
1450 elif test -f "$ac_srcdir/configure"; then
|
adam@0
|
1451 echo &&
|
adam@0
|
1452 $SHELL "$ac_srcdir/configure" --help=recursive
|
adam@0
|
1453 else
|
adam@0
|
1454 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
adam@0
|
1455 fi || ac_status=$?
|
adam@0
|
1456 cd "$ac_pwd" || { ac_status=$?; break; }
|
adam@0
|
1457 done
|
adam@0
|
1458 fi
|
adam@0
|
1459
|
adam@0
|
1460 test -n "$ac_init_help" && exit $ac_status
|
adam@0
|
1461 if $ac_init_version; then
|
adam@0
|
1462 cat <<\_ACEOF
|
adam@0
|
1463 urweb_feed configure 1.0
|
adam@12
|
1464 generated by GNU Autoconf 2.68
|
adam@0
|
1465
|
adam@0
|
1466 Copyright (C) 2010 Free Software Foundation, Inc.
|
adam@0
|
1467 This configure script is free software; the Free Software Foundation
|
adam@0
|
1468 gives unlimited permission to copy, distribute and modify it.
|
adam@0
|
1469 _ACEOF
|
adam@0
|
1470 exit
|
adam@0
|
1471 fi
|
adam@0
|
1472
|
adam@0
|
1473 ## ------------------------ ##
|
adam@0
|
1474 ## Autoconf initialization. ##
|
adam@0
|
1475 ## ------------------------ ##
|
adam@0
|
1476
|
adam@0
|
1477 # ac_fn_c_try_compile LINENO
|
adam@0
|
1478 # --------------------------
|
adam@0
|
1479 # Try to compile conftest.$ac_ext, and return whether this succeeded.
|
adam@0
|
1480 ac_fn_c_try_compile ()
|
adam@0
|
1481 {
|
adam@0
|
1482 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
adam@0
|
1483 rm -f conftest.$ac_objext
|
adam@0
|
1484 if { { ac_try="$ac_compile"
|
adam@0
|
1485 case "(($ac_try" in
|
adam@0
|
1486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
adam@0
|
1487 *) ac_try_echo=$ac_try;;
|
adam@0
|
1488 esac
|
adam@0
|
1489 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
adam@0
|
1490 $as_echo "$ac_try_echo"; } >&5
|
adam@0
|
1491 (eval "$ac_compile") 2>conftest.err
|
adam@0
|
1492 ac_status=$?
|
adam@0
|
1493 if test -s conftest.err; then
|
adam@0
|
1494 grep -v '^ *+' conftest.err >conftest.er1
|
adam@0
|
1495 cat conftest.er1 >&5
|
adam@0
|
1496 mv -f conftest.er1 conftest.err
|
adam@0
|
1497 fi
|
adam@0
|
1498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
1499 test $ac_status = 0; } && {
|
adam@0
|
1500 test -z "$ac_c_werror_flag" ||
|
adam@0
|
1501 test ! -s conftest.err
|
adam@0
|
1502 } && test -s conftest.$ac_objext; then :
|
adam@0
|
1503 ac_retval=0
|
adam@0
|
1504 else
|
adam@0
|
1505 $as_echo "$as_me: failed program was:" >&5
|
adam@0
|
1506 sed 's/^/| /' conftest.$ac_ext >&5
|
adam@0
|
1507
|
adam@0
|
1508 ac_retval=1
|
adam@0
|
1509 fi
|
adam@12
|
1510 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
adam@0
|
1511 as_fn_set_status $ac_retval
|
adam@0
|
1512
|
adam@0
|
1513 } # ac_fn_c_try_compile
|
adam@0
|
1514
|
adam@0
|
1515 # ac_fn_c_try_cpp LINENO
|
adam@0
|
1516 # ----------------------
|
adam@0
|
1517 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
adam@0
|
1518 ac_fn_c_try_cpp ()
|
adam@0
|
1519 {
|
adam@0
|
1520 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
adam@0
|
1521 if { { ac_try="$ac_cpp conftest.$ac_ext"
|
adam@0
|
1522 case "(($ac_try" in
|
adam@0
|
1523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
adam@0
|
1524 *) ac_try_echo=$ac_try;;
|
adam@0
|
1525 esac
|
adam@0
|
1526 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
adam@0
|
1527 $as_echo "$ac_try_echo"; } >&5
|
adam@0
|
1528 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
adam@0
|
1529 ac_status=$?
|
adam@0
|
1530 if test -s conftest.err; then
|
adam@0
|
1531 grep -v '^ *+' conftest.err >conftest.er1
|
adam@0
|
1532 cat conftest.er1 >&5
|
adam@0
|
1533 mv -f conftest.er1 conftest.err
|
adam@0
|
1534 fi
|
adam@0
|
1535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
1536 test $ac_status = 0; } > conftest.i && {
|
adam@0
|
1537 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
adam@0
|
1538 test ! -s conftest.err
|
adam@0
|
1539 }; then :
|
adam@0
|
1540 ac_retval=0
|
adam@0
|
1541 else
|
adam@0
|
1542 $as_echo "$as_me: failed program was:" >&5
|
adam@0
|
1543 sed 's/^/| /' conftest.$ac_ext >&5
|
adam@0
|
1544
|
adam@0
|
1545 ac_retval=1
|
adam@0
|
1546 fi
|
adam@12
|
1547 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
adam@0
|
1548 as_fn_set_status $ac_retval
|
adam@0
|
1549
|
adam@0
|
1550 } # ac_fn_c_try_cpp
|
adam@0
|
1551
|
adam@0
|
1552 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
|
adam@0
|
1553 # -------------------------------------------------------
|
adam@0
|
1554 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
adam@0
|
1555 # the include files in INCLUDES and setting the cache variable VAR
|
adam@0
|
1556 # accordingly.
|
adam@0
|
1557 ac_fn_c_check_header_mongrel ()
|
adam@0
|
1558 {
|
adam@0
|
1559 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
adam@12
|
1560 if eval \${$3+:} false; then :
|
adam@0
|
1561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
adam@0
|
1562 $as_echo_n "checking for $2... " >&6; }
|
adam@12
|
1563 if eval \${$3+:} false; then :
|
adam@0
|
1564 $as_echo_n "(cached) " >&6
|
adam@0
|
1565 fi
|
adam@0
|
1566 eval ac_res=\$$3
|
adam@0
|
1567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
adam@0
|
1568 $as_echo "$ac_res" >&6; }
|
adam@0
|
1569 else
|
adam@0
|
1570 # Is the header compilable?
|
adam@0
|
1571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
|
adam@0
|
1572 $as_echo_n "checking $2 usability... " >&6; }
|
adam@0
|
1573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
1574 /* end confdefs.h. */
|
adam@0
|
1575 $4
|
adam@0
|
1576 #include <$2>
|
adam@0
|
1577 _ACEOF
|
adam@0
|
1578 if ac_fn_c_try_compile "$LINENO"; then :
|
adam@0
|
1579 ac_header_compiler=yes
|
adam@0
|
1580 else
|
adam@0
|
1581 ac_header_compiler=no
|
adam@0
|
1582 fi
|
adam@0
|
1583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
adam@0
|
1584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
|
adam@0
|
1585 $as_echo "$ac_header_compiler" >&6; }
|
adam@0
|
1586
|
adam@0
|
1587 # Is the header present?
|
adam@0
|
1588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
|
adam@0
|
1589 $as_echo_n "checking $2 presence... " >&6; }
|
adam@0
|
1590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
1591 /* end confdefs.h. */
|
adam@0
|
1592 #include <$2>
|
adam@0
|
1593 _ACEOF
|
adam@0
|
1594 if ac_fn_c_try_cpp "$LINENO"; then :
|
adam@0
|
1595 ac_header_preproc=yes
|
adam@0
|
1596 else
|
adam@0
|
1597 ac_header_preproc=no
|
adam@0
|
1598 fi
|
adam@0
|
1599 rm -f conftest.err conftest.i conftest.$ac_ext
|
adam@0
|
1600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
|
adam@0
|
1601 $as_echo "$ac_header_preproc" >&6; }
|
adam@0
|
1602
|
adam@0
|
1603 # So? What about this header?
|
adam@0
|
1604 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
|
adam@0
|
1605 yes:no: )
|
adam@0
|
1606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
|
adam@0
|
1607 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
adam@0
|
1608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
adam@0
|
1609 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
adam@0
|
1610 ;;
|
adam@0
|
1611 no:yes:* )
|
adam@0
|
1612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
|
adam@0
|
1613 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
|
adam@0
|
1614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
|
adam@0
|
1615 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
|
adam@0
|
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
|
adam@0
|
1617 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
|
adam@0
|
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
|
adam@0
|
1619 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
|
adam@0
|
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
adam@0
|
1621 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
adam@0
|
1622 ;;
|
adam@0
|
1623 esac
|
adam@0
|
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
adam@0
|
1625 $as_echo_n "checking for $2... " >&6; }
|
adam@12
|
1626 if eval \${$3+:} false; then :
|
adam@0
|
1627 $as_echo_n "(cached) " >&6
|
adam@0
|
1628 else
|
adam@0
|
1629 eval "$3=\$ac_header_compiler"
|
adam@0
|
1630 fi
|
adam@0
|
1631 eval ac_res=\$$3
|
adam@0
|
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
adam@0
|
1633 $as_echo "$ac_res" >&6; }
|
adam@0
|
1634 fi
|
adam@12
|
1635 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
adam@0
|
1636
|
adam@0
|
1637 } # ac_fn_c_check_header_mongrel
|
adam@0
|
1638
|
adam@0
|
1639 # ac_fn_c_try_run LINENO
|
adam@0
|
1640 # ----------------------
|
adam@0
|
1641 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
adam@0
|
1642 # that executables *can* be run.
|
adam@0
|
1643 ac_fn_c_try_run ()
|
adam@0
|
1644 {
|
adam@0
|
1645 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
adam@0
|
1646 if { { ac_try="$ac_link"
|
adam@0
|
1647 case "(($ac_try" in
|
adam@0
|
1648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
adam@0
|
1649 *) ac_try_echo=$ac_try;;
|
adam@0
|
1650 esac
|
adam@0
|
1651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
adam@0
|
1652 $as_echo "$ac_try_echo"; } >&5
|
adam@0
|
1653 (eval "$ac_link") 2>&5
|
adam@0
|
1654 ac_status=$?
|
adam@0
|
1655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
1656 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
adam@0
|
1657 { { case "(($ac_try" in
|
adam@0
|
1658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
adam@0
|
1659 *) ac_try_echo=$ac_try;;
|
adam@0
|
1660 esac
|
adam@0
|
1661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
adam@0
|
1662 $as_echo "$ac_try_echo"; } >&5
|
adam@0
|
1663 (eval "$ac_try") 2>&5
|
adam@0
|
1664 ac_status=$?
|
adam@0
|
1665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
1666 test $ac_status = 0; }; }; then :
|
adam@0
|
1667 ac_retval=0
|
adam@0
|
1668 else
|
adam@0
|
1669 $as_echo "$as_me: program exited with status $ac_status" >&5
|
adam@0
|
1670 $as_echo "$as_me: failed program was:" >&5
|
adam@0
|
1671 sed 's/^/| /' conftest.$ac_ext >&5
|
adam@0
|
1672
|
adam@0
|
1673 ac_retval=$ac_status
|
adam@0
|
1674 fi
|
adam@0
|
1675 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
adam@12
|
1676 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
adam@0
|
1677 as_fn_set_status $ac_retval
|
adam@0
|
1678
|
adam@0
|
1679 } # ac_fn_c_try_run
|
adam@0
|
1680
|
adam@0
|
1681 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
|
adam@0
|
1682 # -------------------------------------------------------
|
adam@0
|
1683 # Tests whether HEADER exists and can be compiled using the include files in
|
adam@0
|
1684 # INCLUDES, setting the cache variable VAR accordingly.
|
adam@0
|
1685 ac_fn_c_check_header_compile ()
|
adam@0
|
1686 {
|
adam@0
|
1687 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
adam@0
|
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
adam@0
|
1689 $as_echo_n "checking for $2... " >&6; }
|
adam@12
|
1690 if eval \${$3+:} false; then :
|
adam@0
|
1691 $as_echo_n "(cached) " >&6
|
adam@0
|
1692 else
|
adam@0
|
1693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
1694 /* end confdefs.h. */
|
adam@0
|
1695 $4
|
adam@0
|
1696 #include <$2>
|
adam@0
|
1697 _ACEOF
|
adam@0
|
1698 if ac_fn_c_try_compile "$LINENO"; then :
|
adam@0
|
1699 eval "$3=yes"
|
adam@0
|
1700 else
|
adam@0
|
1701 eval "$3=no"
|
adam@0
|
1702 fi
|
adam@0
|
1703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
adam@0
|
1704 fi
|
adam@0
|
1705 eval ac_res=\$$3
|
adam@0
|
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
adam@0
|
1707 $as_echo "$ac_res" >&6; }
|
adam@12
|
1708 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
adam@0
|
1709
|
adam@0
|
1710 } # ac_fn_c_check_header_compile
|
adam@0
|
1711
|
adam@0
|
1712 # ac_fn_c_try_link LINENO
|
adam@0
|
1713 # -----------------------
|
adam@0
|
1714 # Try to link conftest.$ac_ext, and return whether this succeeded.
|
adam@0
|
1715 ac_fn_c_try_link ()
|
adam@0
|
1716 {
|
adam@0
|
1717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
adam@0
|
1718 rm -f conftest.$ac_objext conftest$ac_exeext
|
adam@0
|
1719 if { { ac_try="$ac_link"
|
adam@0
|
1720 case "(($ac_try" in
|
adam@0
|
1721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
adam@0
|
1722 *) ac_try_echo=$ac_try;;
|
adam@0
|
1723 esac
|
adam@0
|
1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
adam@0
|
1725 $as_echo "$ac_try_echo"; } >&5
|
adam@0
|
1726 (eval "$ac_link") 2>conftest.err
|
adam@0
|
1727 ac_status=$?
|
adam@0
|
1728 if test -s conftest.err; then
|
adam@0
|
1729 grep -v '^ *+' conftest.err >conftest.er1
|
adam@0
|
1730 cat conftest.er1 >&5
|
adam@0
|
1731 mv -f conftest.er1 conftest.err
|
adam@0
|
1732 fi
|
adam@0
|
1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
1734 test $ac_status = 0; } && {
|
adam@0
|
1735 test -z "$ac_c_werror_flag" ||
|
adam@0
|
1736 test ! -s conftest.err
|
adam@0
|
1737 } && test -s conftest$ac_exeext && {
|
adam@0
|
1738 test "$cross_compiling" = yes ||
|
adam@0
|
1739 $as_test_x conftest$ac_exeext
|
adam@0
|
1740 }; then :
|
adam@0
|
1741 ac_retval=0
|
adam@0
|
1742 else
|
adam@0
|
1743 $as_echo "$as_me: failed program was:" >&5
|
adam@0
|
1744 sed 's/^/| /' conftest.$ac_ext >&5
|
adam@0
|
1745
|
adam@0
|
1746 ac_retval=1
|
adam@0
|
1747 fi
|
adam@0
|
1748 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
adam@0
|
1749 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
adam@0
|
1750 # interfere with the next link command; also delete a directory that is
|
adam@0
|
1751 # left behind by Apple's compiler. We do this before executing the actions.
|
adam@0
|
1752 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
adam@12
|
1753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
adam@0
|
1754 as_fn_set_status $ac_retval
|
adam@0
|
1755
|
adam@0
|
1756 } # ac_fn_c_try_link
|
adam@0
|
1757
|
adam@0
|
1758 # ac_fn_c_check_func LINENO FUNC VAR
|
adam@0
|
1759 # ----------------------------------
|
adam@0
|
1760 # Tests whether FUNC exists, setting the cache variable VAR accordingly
|
adam@0
|
1761 ac_fn_c_check_func ()
|
adam@0
|
1762 {
|
adam@0
|
1763 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
adam@0
|
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
adam@0
|
1765 $as_echo_n "checking for $2... " >&6; }
|
adam@12
|
1766 if eval \${$3+:} false; then :
|
adam@0
|
1767 $as_echo_n "(cached) " >&6
|
adam@0
|
1768 else
|
adam@0
|
1769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
1770 /* end confdefs.h. */
|
adam@0
|
1771 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
|
adam@0
|
1772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
adam@0
|
1773 #define $2 innocuous_$2
|
adam@0
|
1774
|
adam@0
|
1775 /* System header to define __stub macros and hopefully few prototypes,
|
adam@0
|
1776 which can conflict with char $2 (); below.
|
adam@0
|
1777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
adam@0
|
1778 <limits.h> exists even on freestanding compilers. */
|
adam@0
|
1779
|
adam@0
|
1780 #ifdef __STDC__
|
adam@0
|
1781 # include <limits.h>
|
adam@0
|
1782 #else
|
adam@0
|
1783 # include <assert.h>
|
adam@0
|
1784 #endif
|
adam@0
|
1785
|
adam@0
|
1786 #undef $2
|
adam@0
|
1787
|
adam@0
|
1788 /* Override any GCC internal prototype to avoid an error.
|
adam@0
|
1789 Use char because int might match the return type of a GCC
|
adam@0
|
1790 builtin and then its argument prototype would still apply. */
|
adam@0
|
1791 #ifdef __cplusplus
|
adam@0
|
1792 extern "C"
|
adam@0
|
1793 #endif
|
adam@0
|
1794 char $2 ();
|
adam@0
|
1795 /* The GNU C library defines this for functions which it implements
|
adam@0
|
1796 to always fail with ENOSYS. Some functions are actually named
|
adam@0
|
1797 something starting with __ and the normal name is an alias. */
|
adam@0
|
1798 #if defined __stub_$2 || defined __stub___$2
|
adam@0
|
1799 choke me
|
adam@0
|
1800 #endif
|
adam@0
|
1801
|
adam@0
|
1802 int
|
adam@0
|
1803 main ()
|
adam@0
|
1804 {
|
adam@0
|
1805 return $2 ();
|
adam@0
|
1806 ;
|
adam@0
|
1807 return 0;
|
adam@0
|
1808 }
|
adam@0
|
1809 _ACEOF
|
adam@0
|
1810 if ac_fn_c_try_link "$LINENO"; then :
|
adam@0
|
1811 eval "$3=yes"
|
adam@0
|
1812 else
|
adam@0
|
1813 eval "$3=no"
|
adam@0
|
1814 fi
|
adam@0
|
1815 rm -f core conftest.err conftest.$ac_objext \
|
adam@0
|
1816 conftest$ac_exeext conftest.$ac_ext
|
adam@0
|
1817 fi
|
adam@0
|
1818 eval ac_res=\$$3
|
adam@0
|
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
adam@0
|
1820 $as_echo "$ac_res" >&6; }
|
adam@12
|
1821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
adam@0
|
1822
|
adam@0
|
1823 } # ac_fn_c_check_func
|
adam@0
|
1824 cat >config.log <<_ACEOF
|
adam@0
|
1825 This file contains any messages produced by compilers while
|
adam@0
|
1826 running configure, to aid debugging if configure makes a mistake.
|
adam@0
|
1827
|
adam@0
|
1828 It was created by urweb_feed $as_me 1.0, which was
|
adam@12
|
1829 generated by GNU Autoconf 2.68. Invocation command line was
|
adam@0
|
1830
|
adam@0
|
1831 $ $0 $@
|
adam@0
|
1832
|
adam@0
|
1833 _ACEOF
|
adam@0
|
1834 exec 5>>config.log
|
adam@0
|
1835 {
|
adam@0
|
1836 cat <<_ASUNAME
|
adam@0
|
1837 ## --------- ##
|
adam@0
|
1838 ## Platform. ##
|
adam@0
|
1839 ## --------- ##
|
adam@0
|
1840
|
adam@0
|
1841 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
adam@0
|
1842 uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
adam@0
|
1843 uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
adam@0
|
1844 uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
adam@0
|
1845 uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
adam@0
|
1846
|
adam@0
|
1847 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
adam@0
|
1848 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
adam@0
|
1849
|
adam@0
|
1850 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
adam@0
|
1851 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
adam@0
|
1852 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
adam@0
|
1853 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
|
adam@0
|
1854 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
adam@0
|
1855 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
adam@0
|
1856 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
adam@0
|
1857
|
adam@0
|
1858 _ASUNAME
|
adam@0
|
1859
|
adam@0
|
1860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
1861 for as_dir in $PATH
|
adam@0
|
1862 do
|
adam@0
|
1863 IFS=$as_save_IFS
|
adam@0
|
1864 test -z "$as_dir" && as_dir=.
|
adam@0
|
1865 $as_echo "PATH: $as_dir"
|
adam@0
|
1866 done
|
adam@0
|
1867 IFS=$as_save_IFS
|
adam@0
|
1868
|
adam@0
|
1869 } >&5
|
adam@0
|
1870
|
adam@0
|
1871 cat >&5 <<_ACEOF
|
adam@0
|
1872
|
adam@0
|
1873
|
adam@0
|
1874 ## ----------- ##
|
adam@0
|
1875 ## Core tests. ##
|
adam@0
|
1876 ## ----------- ##
|
adam@0
|
1877
|
adam@0
|
1878 _ACEOF
|
adam@0
|
1879
|
adam@0
|
1880
|
adam@0
|
1881 # Keep a trace of the command line.
|
adam@0
|
1882 # Strip out --no-create and --no-recursion so they do not pile up.
|
adam@0
|
1883 # Strip out --silent because we don't want to record it for future runs.
|
adam@0
|
1884 # Also quote any args containing shell meta-characters.
|
adam@0
|
1885 # Make two passes to allow for proper duplicate-argument suppression.
|
adam@0
|
1886 ac_configure_args=
|
adam@0
|
1887 ac_configure_args0=
|
adam@0
|
1888 ac_configure_args1=
|
adam@0
|
1889 ac_must_keep_next=false
|
adam@0
|
1890 for ac_pass in 1 2
|
adam@0
|
1891 do
|
adam@0
|
1892 for ac_arg
|
adam@0
|
1893 do
|
adam@0
|
1894 case $ac_arg in
|
adam@0
|
1895 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
|
adam@0
|
1896 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
adam@0
|
1897 | -silent | --silent | --silen | --sile | --sil)
|
adam@0
|
1898 continue ;;
|
adam@0
|
1899 *\'*)
|
adam@0
|
1900 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
adam@0
|
1901 esac
|
adam@0
|
1902 case $ac_pass in
|
adam@0
|
1903 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
|
adam@0
|
1904 2)
|
adam@0
|
1905 as_fn_append ac_configure_args1 " '$ac_arg'"
|
adam@0
|
1906 if test $ac_must_keep_next = true; then
|
adam@0
|
1907 ac_must_keep_next=false # Got value, back to normal.
|
adam@0
|
1908 else
|
adam@0
|
1909 case $ac_arg in
|
adam@0
|
1910 *=* | --config-cache | -C | -disable-* | --disable-* \
|
adam@0
|
1911 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
adam@0
|
1912 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
adam@0
|
1913 | -with-* | --with-* | -without-* | --without-* | --x)
|
adam@0
|
1914 case "$ac_configure_args0 " in
|
adam@0
|
1915 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
adam@0
|
1916 esac
|
adam@0
|
1917 ;;
|
adam@0
|
1918 -* ) ac_must_keep_next=true ;;
|
adam@0
|
1919 esac
|
adam@0
|
1920 fi
|
adam@0
|
1921 as_fn_append ac_configure_args " '$ac_arg'"
|
adam@0
|
1922 ;;
|
adam@0
|
1923 esac
|
adam@0
|
1924 done
|
adam@0
|
1925 done
|
adam@0
|
1926 { ac_configure_args0=; unset ac_configure_args0;}
|
adam@0
|
1927 { ac_configure_args1=; unset ac_configure_args1;}
|
adam@0
|
1928
|
adam@0
|
1929 # When interrupted or exit'd, cleanup temporary files, and complete
|
adam@0
|
1930 # config.log. We remove comments because anyway the quotes in there
|
adam@0
|
1931 # would cause problems or look ugly.
|
adam@0
|
1932 # WARNING: Use '\'' to represent an apostrophe within the trap.
|
adam@0
|
1933 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
|
adam@0
|
1934 trap 'exit_status=$?
|
adam@0
|
1935 # Save into config.log some information that might help in debugging.
|
adam@0
|
1936 {
|
adam@0
|
1937 echo
|
adam@0
|
1938
|
adam@0
|
1939 $as_echo "## ---------------- ##
|
adam@0
|
1940 ## Cache variables. ##
|
adam@0
|
1941 ## ---------------- ##"
|
adam@0
|
1942 echo
|
adam@0
|
1943 # The following way of writing the cache mishandles newlines in values,
|
adam@0
|
1944 (
|
adam@0
|
1945 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
|
adam@0
|
1946 eval ac_val=\$$ac_var
|
adam@0
|
1947 case $ac_val in #(
|
adam@0
|
1948 *${as_nl}*)
|
adam@0
|
1949 case $ac_var in #(
|
adam@0
|
1950 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
adam@0
|
1951 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
adam@0
|
1952 esac
|
adam@0
|
1953 case $ac_var in #(
|
adam@0
|
1954 _ | IFS | as_nl) ;; #(
|
adam@0
|
1955 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
adam@0
|
1956 *) { eval $ac_var=; unset $ac_var;} ;;
|
adam@0
|
1957 esac ;;
|
adam@0
|
1958 esac
|
adam@0
|
1959 done
|
adam@0
|
1960 (set) 2>&1 |
|
adam@0
|
1961 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
|
adam@0
|
1962 *${as_nl}ac_space=\ *)
|
adam@0
|
1963 sed -n \
|
adam@0
|
1964 "s/'\''/'\''\\\\'\'''\''/g;
|
adam@0
|
1965 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
|
adam@0
|
1966 ;; #(
|
adam@0
|
1967 *)
|
adam@0
|
1968 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
adam@0
|
1969 ;;
|
adam@0
|
1970 esac |
|
adam@0
|
1971 sort
|
adam@0
|
1972 )
|
adam@0
|
1973 echo
|
adam@0
|
1974
|
adam@0
|
1975 $as_echo "## ----------------- ##
|
adam@0
|
1976 ## Output variables. ##
|
adam@0
|
1977 ## ----------------- ##"
|
adam@0
|
1978 echo
|
adam@0
|
1979 for ac_var in $ac_subst_vars
|
adam@0
|
1980 do
|
adam@0
|
1981 eval ac_val=\$$ac_var
|
adam@0
|
1982 case $ac_val in
|
adam@0
|
1983 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
adam@0
|
1984 esac
|
adam@0
|
1985 $as_echo "$ac_var='\''$ac_val'\''"
|
adam@0
|
1986 done | sort
|
adam@0
|
1987 echo
|
adam@0
|
1988
|
adam@0
|
1989 if test -n "$ac_subst_files"; then
|
adam@0
|
1990 $as_echo "## ------------------- ##
|
adam@0
|
1991 ## File substitutions. ##
|
adam@0
|
1992 ## ------------------- ##"
|
adam@0
|
1993 echo
|
adam@0
|
1994 for ac_var in $ac_subst_files
|
adam@0
|
1995 do
|
adam@0
|
1996 eval ac_val=\$$ac_var
|
adam@0
|
1997 case $ac_val in
|
adam@0
|
1998 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
adam@0
|
1999 esac
|
adam@0
|
2000 $as_echo "$ac_var='\''$ac_val'\''"
|
adam@0
|
2001 done | sort
|
adam@0
|
2002 echo
|
adam@0
|
2003 fi
|
adam@0
|
2004
|
adam@0
|
2005 if test -s confdefs.h; then
|
adam@0
|
2006 $as_echo "## ----------- ##
|
adam@0
|
2007 ## confdefs.h. ##
|
adam@0
|
2008 ## ----------- ##"
|
adam@0
|
2009 echo
|
adam@0
|
2010 cat confdefs.h
|
adam@0
|
2011 echo
|
adam@0
|
2012 fi
|
adam@0
|
2013 test "$ac_signal" != 0 &&
|
adam@0
|
2014 $as_echo "$as_me: caught signal $ac_signal"
|
adam@0
|
2015 $as_echo "$as_me: exit $exit_status"
|
adam@0
|
2016 } >&5
|
adam@0
|
2017 rm -f core *.core core.conftest.* &&
|
adam@0
|
2018 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
adam@0
|
2019 exit $exit_status
|
adam@0
|
2020 ' 0
|
adam@0
|
2021 for ac_signal in 1 2 13 15; do
|
adam@0
|
2022 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
|
adam@0
|
2023 done
|
adam@0
|
2024 ac_signal=0
|
adam@0
|
2025
|
adam@0
|
2026 # confdefs.h avoids OS command line length limits that DEFS can exceed.
|
adam@0
|
2027 rm -f -r conftest* confdefs.h
|
adam@0
|
2028
|
adam@0
|
2029 $as_echo "/* confdefs.h */" > confdefs.h
|
adam@0
|
2030
|
adam@0
|
2031 # Predefined preprocessor variables.
|
adam@0
|
2032
|
adam@0
|
2033 cat >>confdefs.h <<_ACEOF
|
adam@0
|
2034 #define PACKAGE_NAME "$PACKAGE_NAME"
|
adam@0
|
2035 _ACEOF
|
adam@0
|
2036
|
adam@0
|
2037 cat >>confdefs.h <<_ACEOF
|
adam@0
|
2038 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
adam@0
|
2039 _ACEOF
|
adam@0
|
2040
|
adam@0
|
2041 cat >>confdefs.h <<_ACEOF
|
adam@0
|
2042 #define PACKAGE_VERSION "$PACKAGE_VERSION"
|
adam@0
|
2043 _ACEOF
|
adam@0
|
2044
|
adam@0
|
2045 cat >>confdefs.h <<_ACEOF
|
adam@0
|
2046 #define PACKAGE_STRING "$PACKAGE_STRING"
|
adam@0
|
2047 _ACEOF
|
adam@0
|
2048
|
adam@0
|
2049 cat >>confdefs.h <<_ACEOF
|
adam@0
|
2050 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
adam@0
|
2051 _ACEOF
|
adam@0
|
2052
|
adam@0
|
2053 cat >>confdefs.h <<_ACEOF
|
adam@0
|
2054 #define PACKAGE_URL "$PACKAGE_URL"
|
adam@0
|
2055 _ACEOF
|
adam@0
|
2056
|
adam@0
|
2057
|
adam@0
|
2058 # Let the site file select an alternate cache file if it wants to.
|
adam@0
|
2059 # Prefer an explicitly selected file to automatically selected ones.
|
adam@0
|
2060 ac_site_file1=NONE
|
adam@0
|
2061 ac_site_file2=NONE
|
adam@0
|
2062 if test -n "$CONFIG_SITE"; then
|
adam@0
|
2063 # We do not want a PATH search for config.site.
|
adam@0
|
2064 case $CONFIG_SITE in #((
|
adam@0
|
2065 -*) ac_site_file1=./$CONFIG_SITE;;
|
adam@0
|
2066 */*) ac_site_file1=$CONFIG_SITE;;
|
adam@0
|
2067 *) ac_site_file1=./$CONFIG_SITE;;
|
adam@0
|
2068 esac
|
adam@0
|
2069 elif test "x$prefix" != xNONE; then
|
adam@0
|
2070 ac_site_file1=$prefix/share/config.site
|
adam@0
|
2071 ac_site_file2=$prefix/etc/config.site
|
adam@0
|
2072 else
|
adam@0
|
2073 ac_site_file1=$ac_default_prefix/share/config.site
|
adam@0
|
2074 ac_site_file2=$ac_default_prefix/etc/config.site
|
adam@0
|
2075 fi
|
adam@0
|
2076 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
adam@0
|
2077 do
|
adam@0
|
2078 test "x$ac_site_file" = xNONE && continue
|
adam@0
|
2079 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
|
adam@0
|
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
adam@0
|
2081 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
adam@0
|
2082 sed 's/^/| /' "$ac_site_file" >&5
|
adam@0
|
2083 . "$ac_site_file" \
|
adam@0
|
2084 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
adam@0
|
2085 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
adam@0
|
2086 as_fn_error $? "failed to load site script $ac_site_file
|
adam@12
|
2087 See \`config.log' for more details" "$LINENO" 5; }
|
adam@0
|
2088 fi
|
adam@0
|
2089 done
|
adam@0
|
2090
|
adam@0
|
2091 if test -r "$cache_file"; then
|
adam@0
|
2092 # Some versions of bash will fail to source /dev/null (special files
|
adam@0
|
2093 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
|
adam@0
|
2094 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
|
adam@0
|
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
adam@0
|
2096 $as_echo "$as_me: loading cache $cache_file" >&6;}
|
adam@0
|
2097 case $cache_file in
|
adam@0
|
2098 [\\/]* | ?:[\\/]* ) . "$cache_file";;
|
adam@0
|
2099 *) . "./$cache_file";;
|
adam@0
|
2100 esac
|
adam@0
|
2101 fi
|
adam@0
|
2102 else
|
adam@0
|
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
adam@0
|
2104 $as_echo "$as_me: creating cache $cache_file" >&6;}
|
adam@0
|
2105 >$cache_file
|
adam@0
|
2106 fi
|
adam@0
|
2107
|
adam@0
|
2108 # Check that the precious variables saved in the cache have kept the same
|
adam@0
|
2109 # value.
|
adam@0
|
2110 ac_cache_corrupted=false
|
adam@0
|
2111 for ac_var in $ac_precious_vars; do
|
adam@0
|
2112 eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
adam@0
|
2113 eval ac_new_set=\$ac_env_${ac_var}_set
|
adam@0
|
2114 eval ac_old_val=\$ac_cv_env_${ac_var}_value
|
adam@0
|
2115 eval ac_new_val=\$ac_env_${ac_var}_value
|
adam@0
|
2116 case $ac_old_set,$ac_new_set in
|
adam@0
|
2117 set,)
|
adam@0
|
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
adam@0
|
2119 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
adam@0
|
2120 ac_cache_corrupted=: ;;
|
adam@0
|
2121 ,set)
|
adam@0
|
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
adam@0
|
2123 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
adam@0
|
2124 ac_cache_corrupted=: ;;
|
adam@0
|
2125 ,);;
|
adam@0
|
2126 *)
|
adam@0
|
2127 if test "x$ac_old_val" != "x$ac_new_val"; then
|
adam@0
|
2128 # differences in whitespace do not lead to failure.
|
adam@0
|
2129 ac_old_val_w=`echo x $ac_old_val`
|
adam@0
|
2130 ac_new_val_w=`echo x $ac_new_val`
|
adam@0
|
2131 if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
adam@0
|
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
adam@0
|
2133 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
adam@0
|
2134 ac_cache_corrupted=:
|
adam@0
|
2135 else
|
adam@0
|
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
adam@0
|
2137 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
adam@0
|
2138 eval $ac_var=\$ac_old_val
|
adam@0
|
2139 fi
|
adam@0
|
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
adam@0
|
2141 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
adam@0
|
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
adam@0
|
2143 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
adam@0
|
2144 fi;;
|
adam@0
|
2145 esac
|
adam@0
|
2146 # Pass precious variables to config.status.
|
adam@0
|
2147 if test "$ac_new_set" = set; then
|
adam@0
|
2148 case $ac_new_val in
|
adam@0
|
2149 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
adam@0
|
2150 *) ac_arg=$ac_var=$ac_new_val ;;
|
adam@0
|
2151 esac
|
adam@0
|
2152 case " $ac_configure_args " in
|
adam@0
|
2153 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
adam@0
|
2154 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
|
adam@0
|
2155 esac
|
adam@0
|
2156 fi
|
adam@0
|
2157 done
|
adam@0
|
2158 if $ac_cache_corrupted; then
|
adam@0
|
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
adam@0
|
2160 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
adam@0
|
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
adam@0
|
2162 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
adam@0
|
2163 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
adam@0
|
2164 fi
|
adam@0
|
2165 ## -------------------- ##
|
adam@0
|
2166 ## Main body of script. ##
|
adam@0
|
2167 ## -------------------- ##
|
adam@0
|
2168
|
adam@0
|
2169 ac_ext=c
|
adam@0
|
2170 ac_cpp='$CPP $CPPFLAGS'
|
adam@0
|
2171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
adam@0
|
2172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
adam@0
|
2173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
adam@0
|
2174
|
adam@0
|
2175
|
adam@0
|
2176 ac_ext=c
|
adam@0
|
2177 ac_cpp='$CPP $CPPFLAGS'
|
adam@0
|
2178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
adam@0
|
2179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
adam@0
|
2180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
adam@0
|
2181 if test -n "$ac_tool_prefix"; then
|
adam@0
|
2182 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
adam@0
|
2183 set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
adam@0
|
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
2185 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
2186 if ${ac_cv_prog_CC+:} false; then :
|
adam@0
|
2187 $as_echo_n "(cached) " >&6
|
adam@0
|
2188 else
|
adam@0
|
2189 if test -n "$CC"; then
|
adam@0
|
2190 ac_cv_prog_CC="$CC" # Let the user override the test.
|
adam@0
|
2191 else
|
adam@0
|
2192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
2193 for as_dir in $PATH
|
adam@0
|
2194 do
|
adam@0
|
2195 IFS=$as_save_IFS
|
adam@0
|
2196 test -z "$as_dir" && as_dir=.
|
adam@0
|
2197 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
2198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
2199 ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
adam@0
|
2200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
2201 break 2
|
adam@0
|
2202 fi
|
adam@0
|
2203 done
|
adam@0
|
2204 done
|
adam@0
|
2205 IFS=$as_save_IFS
|
adam@0
|
2206
|
adam@0
|
2207 fi
|
adam@0
|
2208 fi
|
adam@0
|
2209 CC=$ac_cv_prog_CC
|
adam@0
|
2210 if test -n "$CC"; then
|
adam@0
|
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
adam@0
|
2212 $as_echo "$CC" >&6; }
|
adam@0
|
2213 else
|
adam@0
|
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
2215 $as_echo "no" >&6; }
|
adam@0
|
2216 fi
|
adam@0
|
2217
|
adam@0
|
2218
|
adam@0
|
2219 fi
|
adam@0
|
2220 if test -z "$ac_cv_prog_CC"; then
|
adam@0
|
2221 ac_ct_CC=$CC
|
adam@0
|
2222 # Extract the first word of "gcc", so it can be a program name with args.
|
adam@0
|
2223 set dummy gcc; ac_word=$2
|
adam@0
|
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
2225 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
2226 if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
adam@0
|
2227 $as_echo_n "(cached) " >&6
|
adam@0
|
2228 else
|
adam@0
|
2229 if test -n "$ac_ct_CC"; then
|
adam@0
|
2230 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
adam@0
|
2231 else
|
adam@0
|
2232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
2233 for as_dir in $PATH
|
adam@0
|
2234 do
|
adam@0
|
2235 IFS=$as_save_IFS
|
adam@0
|
2236 test -z "$as_dir" && as_dir=.
|
adam@0
|
2237 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
2238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
2239 ac_cv_prog_ac_ct_CC="gcc"
|
adam@0
|
2240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
2241 break 2
|
adam@0
|
2242 fi
|
adam@0
|
2243 done
|
adam@0
|
2244 done
|
adam@0
|
2245 IFS=$as_save_IFS
|
adam@0
|
2246
|
adam@0
|
2247 fi
|
adam@0
|
2248 fi
|
adam@0
|
2249 ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
adam@0
|
2250 if test -n "$ac_ct_CC"; then
|
adam@0
|
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
adam@0
|
2252 $as_echo "$ac_ct_CC" >&6; }
|
adam@0
|
2253 else
|
adam@0
|
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
2255 $as_echo "no" >&6; }
|
adam@0
|
2256 fi
|
adam@0
|
2257
|
adam@0
|
2258 if test "x$ac_ct_CC" = x; then
|
adam@0
|
2259 CC=""
|
adam@0
|
2260 else
|
adam@0
|
2261 case $cross_compiling:$ac_tool_warned in
|
adam@0
|
2262 yes:)
|
adam@0
|
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
adam@0
|
2264 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
adam@0
|
2265 ac_tool_warned=yes ;;
|
adam@0
|
2266 esac
|
adam@0
|
2267 CC=$ac_ct_CC
|
adam@0
|
2268 fi
|
adam@0
|
2269 else
|
adam@0
|
2270 CC="$ac_cv_prog_CC"
|
adam@0
|
2271 fi
|
adam@0
|
2272
|
adam@0
|
2273 if test -z "$CC"; then
|
adam@0
|
2274 if test -n "$ac_tool_prefix"; then
|
adam@0
|
2275 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
adam@0
|
2276 set dummy ${ac_tool_prefix}cc; ac_word=$2
|
adam@0
|
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
2278 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
2279 if ${ac_cv_prog_CC+:} false; then :
|
adam@0
|
2280 $as_echo_n "(cached) " >&6
|
adam@0
|
2281 else
|
adam@0
|
2282 if test -n "$CC"; then
|
adam@0
|
2283 ac_cv_prog_CC="$CC" # Let the user override the test.
|
adam@0
|
2284 else
|
adam@0
|
2285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
2286 for as_dir in $PATH
|
adam@0
|
2287 do
|
adam@0
|
2288 IFS=$as_save_IFS
|
adam@0
|
2289 test -z "$as_dir" && as_dir=.
|
adam@0
|
2290 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
2291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
2292 ac_cv_prog_CC="${ac_tool_prefix}cc"
|
adam@0
|
2293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
2294 break 2
|
adam@0
|
2295 fi
|
adam@0
|
2296 done
|
adam@0
|
2297 done
|
adam@0
|
2298 IFS=$as_save_IFS
|
adam@0
|
2299
|
adam@0
|
2300 fi
|
adam@0
|
2301 fi
|
adam@0
|
2302 CC=$ac_cv_prog_CC
|
adam@0
|
2303 if test -n "$CC"; then
|
adam@0
|
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
adam@0
|
2305 $as_echo "$CC" >&6; }
|
adam@0
|
2306 else
|
adam@0
|
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
2308 $as_echo "no" >&6; }
|
adam@0
|
2309 fi
|
adam@0
|
2310
|
adam@0
|
2311
|
adam@0
|
2312 fi
|
adam@0
|
2313 fi
|
adam@0
|
2314 if test -z "$CC"; then
|
adam@0
|
2315 # Extract the first word of "cc", so it can be a program name with args.
|
adam@0
|
2316 set dummy cc; ac_word=$2
|
adam@0
|
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
2318 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
2319 if ${ac_cv_prog_CC+:} false; then :
|
adam@0
|
2320 $as_echo_n "(cached) " >&6
|
adam@0
|
2321 else
|
adam@0
|
2322 if test -n "$CC"; then
|
adam@0
|
2323 ac_cv_prog_CC="$CC" # Let the user override the test.
|
adam@0
|
2324 else
|
adam@0
|
2325 ac_prog_rejected=no
|
adam@0
|
2326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
2327 for as_dir in $PATH
|
adam@0
|
2328 do
|
adam@0
|
2329 IFS=$as_save_IFS
|
adam@0
|
2330 test -z "$as_dir" && as_dir=.
|
adam@0
|
2331 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
2332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
2333 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
adam@0
|
2334 ac_prog_rejected=yes
|
adam@0
|
2335 continue
|
adam@0
|
2336 fi
|
adam@0
|
2337 ac_cv_prog_CC="cc"
|
adam@0
|
2338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
2339 break 2
|
adam@0
|
2340 fi
|
adam@0
|
2341 done
|
adam@0
|
2342 done
|
adam@0
|
2343 IFS=$as_save_IFS
|
adam@0
|
2344
|
adam@0
|
2345 if test $ac_prog_rejected = yes; then
|
adam@0
|
2346 # We found a bogon in the path, so make sure we never use it.
|
adam@0
|
2347 set dummy $ac_cv_prog_CC
|
adam@0
|
2348 shift
|
adam@0
|
2349 if test $# != 0; then
|
adam@0
|
2350 # We chose a different compiler from the bogus one.
|
adam@0
|
2351 # However, it has the same basename, so the bogon will be chosen
|
adam@0
|
2352 # first if we set CC to just the basename; use the full file name.
|
adam@0
|
2353 shift
|
adam@0
|
2354 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
adam@0
|
2355 fi
|
adam@0
|
2356 fi
|
adam@0
|
2357 fi
|
adam@0
|
2358 fi
|
adam@0
|
2359 CC=$ac_cv_prog_CC
|
adam@0
|
2360 if test -n "$CC"; then
|
adam@0
|
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
adam@0
|
2362 $as_echo "$CC" >&6; }
|
adam@0
|
2363 else
|
adam@0
|
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
2365 $as_echo "no" >&6; }
|
adam@0
|
2366 fi
|
adam@0
|
2367
|
adam@0
|
2368
|
adam@0
|
2369 fi
|
adam@0
|
2370 if test -z "$CC"; then
|
adam@0
|
2371 if test -n "$ac_tool_prefix"; then
|
adam@0
|
2372 for ac_prog in cl.exe
|
adam@0
|
2373 do
|
adam@0
|
2374 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
adam@0
|
2375 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
adam@0
|
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
2377 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
2378 if ${ac_cv_prog_CC+:} false; then :
|
adam@0
|
2379 $as_echo_n "(cached) " >&6
|
adam@0
|
2380 else
|
adam@0
|
2381 if test -n "$CC"; then
|
adam@0
|
2382 ac_cv_prog_CC="$CC" # Let the user override the test.
|
adam@0
|
2383 else
|
adam@0
|
2384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
2385 for as_dir in $PATH
|
adam@0
|
2386 do
|
adam@0
|
2387 IFS=$as_save_IFS
|
adam@0
|
2388 test -z "$as_dir" && as_dir=.
|
adam@0
|
2389 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
2390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
2391 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
adam@0
|
2392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
2393 break 2
|
adam@0
|
2394 fi
|
adam@0
|
2395 done
|
adam@0
|
2396 done
|
adam@0
|
2397 IFS=$as_save_IFS
|
adam@0
|
2398
|
adam@0
|
2399 fi
|
adam@0
|
2400 fi
|
adam@0
|
2401 CC=$ac_cv_prog_CC
|
adam@0
|
2402 if test -n "$CC"; then
|
adam@0
|
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
adam@0
|
2404 $as_echo "$CC" >&6; }
|
adam@0
|
2405 else
|
adam@0
|
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
2407 $as_echo "no" >&6; }
|
adam@0
|
2408 fi
|
adam@0
|
2409
|
adam@0
|
2410
|
adam@0
|
2411 test -n "$CC" && break
|
adam@0
|
2412 done
|
adam@0
|
2413 fi
|
adam@0
|
2414 if test -z "$CC"; then
|
adam@0
|
2415 ac_ct_CC=$CC
|
adam@0
|
2416 for ac_prog in cl.exe
|
adam@0
|
2417 do
|
adam@0
|
2418 # Extract the first word of "$ac_prog", so it can be a program name with args.
|
adam@0
|
2419 set dummy $ac_prog; ac_word=$2
|
adam@0
|
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
2421 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
2422 if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
adam@0
|
2423 $as_echo_n "(cached) " >&6
|
adam@0
|
2424 else
|
adam@0
|
2425 if test -n "$ac_ct_CC"; then
|
adam@0
|
2426 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
adam@0
|
2427 else
|
adam@0
|
2428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
2429 for as_dir in $PATH
|
adam@0
|
2430 do
|
adam@0
|
2431 IFS=$as_save_IFS
|
adam@0
|
2432 test -z "$as_dir" && as_dir=.
|
adam@0
|
2433 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
2434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
2435 ac_cv_prog_ac_ct_CC="$ac_prog"
|
adam@0
|
2436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
2437 break 2
|
adam@0
|
2438 fi
|
adam@0
|
2439 done
|
adam@0
|
2440 done
|
adam@0
|
2441 IFS=$as_save_IFS
|
adam@0
|
2442
|
adam@0
|
2443 fi
|
adam@0
|
2444 fi
|
adam@0
|
2445 ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
adam@0
|
2446 if test -n "$ac_ct_CC"; then
|
adam@0
|
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
adam@0
|
2448 $as_echo "$ac_ct_CC" >&6; }
|
adam@0
|
2449 else
|
adam@0
|
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
2451 $as_echo "no" >&6; }
|
adam@0
|
2452 fi
|
adam@0
|
2453
|
adam@0
|
2454
|
adam@0
|
2455 test -n "$ac_ct_CC" && break
|
adam@0
|
2456 done
|
adam@0
|
2457
|
adam@0
|
2458 if test "x$ac_ct_CC" = x; then
|
adam@0
|
2459 CC=""
|
adam@0
|
2460 else
|
adam@0
|
2461 case $cross_compiling:$ac_tool_warned in
|
adam@0
|
2462 yes:)
|
adam@0
|
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
adam@0
|
2464 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
adam@0
|
2465 ac_tool_warned=yes ;;
|
adam@0
|
2466 esac
|
adam@0
|
2467 CC=$ac_ct_CC
|
adam@0
|
2468 fi
|
adam@0
|
2469 fi
|
adam@0
|
2470
|
adam@0
|
2471 fi
|
adam@0
|
2472
|
adam@0
|
2473
|
adam@0
|
2474 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
adam@0
|
2475 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
adam@0
|
2476 as_fn_error $? "no acceptable C compiler found in \$PATH
|
adam@12
|
2477 See \`config.log' for more details" "$LINENO" 5; }
|
adam@0
|
2478
|
adam@0
|
2479 # Provide some information about the compiler.
|
adam@0
|
2480 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
adam@0
|
2481 set X $ac_compile
|
adam@0
|
2482 ac_compiler=$2
|
adam@0
|
2483 for ac_option in --version -v -V -qversion; do
|
adam@0
|
2484 { { ac_try="$ac_compiler $ac_option >&5"
|
adam@0
|
2485 case "(($ac_try" in
|
adam@0
|
2486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
adam@0
|
2487 *) ac_try_echo=$ac_try;;
|
adam@0
|
2488 esac
|
adam@0
|
2489 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
adam@0
|
2490 $as_echo "$ac_try_echo"; } >&5
|
adam@0
|
2491 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
adam@0
|
2492 ac_status=$?
|
adam@0
|
2493 if test -s conftest.err; then
|
adam@0
|
2494 sed '10a\
|
adam@0
|
2495 ... rest of stderr output deleted ...
|
adam@0
|
2496 10q' conftest.err >conftest.er1
|
adam@0
|
2497 cat conftest.er1 >&5
|
adam@0
|
2498 fi
|
adam@0
|
2499 rm -f conftest.er1 conftest.err
|
adam@0
|
2500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
2501 test $ac_status = 0; }
|
adam@0
|
2502 done
|
adam@0
|
2503
|
adam@0
|
2504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
2505 /* end confdefs.h. */
|
adam@0
|
2506
|
adam@0
|
2507 int
|
adam@0
|
2508 main ()
|
adam@0
|
2509 {
|
adam@0
|
2510
|
adam@0
|
2511 ;
|
adam@0
|
2512 return 0;
|
adam@0
|
2513 }
|
adam@0
|
2514 _ACEOF
|
adam@0
|
2515 ac_clean_files_save=$ac_clean_files
|
adam@0
|
2516 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
|
adam@0
|
2517 # Try to create an executable without -o first, disregard a.out.
|
adam@0
|
2518 # It will help us diagnose broken compilers, and finding out an intuition
|
adam@0
|
2519 # of exeext.
|
adam@0
|
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
|
adam@0
|
2521 $as_echo_n "checking whether the C compiler works... " >&6; }
|
adam@0
|
2522 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
adam@0
|
2523
|
adam@0
|
2524 # The possible output files:
|
adam@0
|
2525 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
|
adam@0
|
2526
|
adam@0
|
2527 ac_rmfiles=
|
adam@0
|
2528 for ac_file in $ac_files
|
adam@0
|
2529 do
|
adam@0
|
2530 case $ac_file in
|
adam@0
|
2531 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
adam@0
|
2532 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
|
adam@0
|
2533 esac
|
adam@0
|
2534 done
|
adam@0
|
2535 rm -f $ac_rmfiles
|
adam@0
|
2536
|
adam@0
|
2537 if { { ac_try="$ac_link_default"
|
adam@0
|
2538 case "(($ac_try" in
|
adam@0
|
2539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
adam@0
|
2540 *) ac_try_echo=$ac_try;;
|
adam@0
|
2541 esac
|
adam@0
|
2542 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
adam@0
|
2543 $as_echo "$ac_try_echo"; } >&5
|
adam@0
|
2544 (eval "$ac_link_default") 2>&5
|
adam@0
|
2545 ac_status=$?
|
adam@0
|
2546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
2547 test $ac_status = 0; }; then :
|
adam@0
|
2548 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
adam@0
|
2549 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
adam@0
|
2550 # in a Makefile. We should not override ac_cv_exeext if it was cached,
|
adam@0
|
2551 # so that the user can short-circuit this test for compilers unknown to
|
adam@0
|
2552 # Autoconf.
|
adam@0
|
2553 for ac_file in $ac_files ''
|
adam@0
|
2554 do
|
adam@0
|
2555 test -f "$ac_file" || continue
|
adam@0
|
2556 case $ac_file in
|
adam@0
|
2557 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
|
adam@0
|
2558 ;;
|
adam@0
|
2559 [ab].out )
|
adam@0
|
2560 # We found the default executable, but exeext='' is most
|
adam@0
|
2561 # certainly right.
|
adam@0
|
2562 break;;
|
adam@0
|
2563 *.* )
|
adam@0
|
2564 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
adam@0
|
2565 then :; else
|
adam@0
|
2566 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
adam@0
|
2567 fi
|
adam@0
|
2568 # We set ac_cv_exeext here because the later test for it is not
|
adam@0
|
2569 # safe: cross compilers may not add the suffix if given an `-o'
|
adam@0
|
2570 # argument, so we may need to know it at that point already.
|
adam@0
|
2571 # Even if this section looks crufty: it has the advantage of
|
adam@0
|
2572 # actually working.
|
adam@0
|
2573 break;;
|
adam@0
|
2574 * )
|
adam@0
|
2575 break;;
|
adam@0
|
2576 esac
|
adam@0
|
2577 done
|
adam@0
|
2578 test "$ac_cv_exeext" = no && ac_cv_exeext=
|
adam@0
|
2579
|
adam@0
|
2580 else
|
adam@0
|
2581 ac_file=''
|
adam@0
|
2582 fi
|
adam@0
|
2583 if test -z "$ac_file"; then :
|
adam@0
|
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
2585 $as_echo "no" >&6; }
|
adam@0
|
2586 $as_echo "$as_me: failed program was:" >&5
|
adam@0
|
2587 sed 's/^/| /' conftest.$ac_ext >&5
|
adam@0
|
2588
|
adam@0
|
2589 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
adam@0
|
2590 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
adam@0
|
2591 as_fn_error 77 "C compiler cannot create executables
|
adam@12
|
2592 See \`config.log' for more details" "$LINENO" 5; }
|
adam@0
|
2593 else
|
adam@0
|
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
adam@0
|
2595 $as_echo "yes" >&6; }
|
adam@0
|
2596 fi
|
adam@0
|
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
|
adam@0
|
2598 $as_echo_n "checking for C compiler default output file name... " >&6; }
|
adam@0
|
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
adam@0
|
2600 $as_echo "$ac_file" >&6; }
|
adam@0
|
2601 ac_exeext=$ac_cv_exeext
|
adam@0
|
2602
|
adam@0
|
2603 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
adam@0
|
2604 ac_clean_files=$ac_clean_files_save
|
adam@0
|
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
adam@0
|
2606 $as_echo_n "checking for suffix of executables... " >&6; }
|
adam@0
|
2607 if { { ac_try="$ac_link"
|
adam@0
|
2608 case "(($ac_try" in
|
adam@0
|
2609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
adam@0
|
2610 *) ac_try_echo=$ac_try;;
|
adam@0
|
2611 esac
|
adam@0
|
2612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
adam@0
|
2613 $as_echo "$ac_try_echo"; } >&5
|
adam@0
|
2614 (eval "$ac_link") 2>&5
|
adam@0
|
2615 ac_status=$?
|
adam@0
|
2616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
2617 test $ac_status = 0; }; then :
|
adam@0
|
2618 # If both `conftest.exe' and `conftest' are `present' (well, observable)
|
adam@0
|
2619 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
adam@0
|
2620 # work properly (i.e., refer to `conftest.exe'), while it won't with
|
adam@0
|
2621 # `rm'.
|
adam@0
|
2622 for ac_file in conftest.exe conftest conftest.*; do
|
adam@0
|
2623 test -f "$ac_file" || continue
|
adam@0
|
2624 case $ac_file in
|
adam@0
|
2625 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
adam@0
|
2626 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
adam@0
|
2627 break;;
|
adam@0
|
2628 * ) break;;
|
adam@0
|
2629 esac
|
adam@0
|
2630 done
|
adam@0
|
2631 else
|
adam@0
|
2632 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
adam@0
|
2633 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
adam@0
|
2634 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
|
adam@12
|
2635 See \`config.log' for more details" "$LINENO" 5; }
|
adam@0
|
2636 fi
|
adam@0
|
2637 rm -f conftest conftest$ac_cv_exeext
|
adam@0
|
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
adam@0
|
2639 $as_echo "$ac_cv_exeext" >&6; }
|
adam@0
|
2640
|
adam@0
|
2641 rm -f conftest.$ac_ext
|
adam@0
|
2642 EXEEXT=$ac_cv_exeext
|
adam@0
|
2643 ac_exeext=$EXEEXT
|
adam@0
|
2644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
2645 /* end confdefs.h. */
|
adam@0
|
2646 #include <stdio.h>
|
adam@0
|
2647 int
|
adam@0
|
2648 main ()
|
adam@0
|
2649 {
|
adam@0
|
2650 FILE *f = fopen ("conftest.out", "w");
|
adam@0
|
2651 return ferror (f) || fclose (f) != 0;
|
adam@0
|
2652
|
adam@0
|
2653 ;
|
adam@0
|
2654 return 0;
|
adam@0
|
2655 }
|
adam@0
|
2656 _ACEOF
|
adam@0
|
2657 ac_clean_files="$ac_clean_files conftest.out"
|
adam@0
|
2658 # Check that the compiler produces executables we can run. If not, either
|
adam@0
|
2659 # the compiler is broken, or we cross compile.
|
adam@0
|
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
adam@0
|
2661 $as_echo_n "checking whether we are cross compiling... " >&6; }
|
adam@0
|
2662 if test "$cross_compiling" != yes; then
|
adam@0
|
2663 { { ac_try="$ac_link"
|
adam@0
|
2664 case "(($ac_try" in
|
adam@0
|
2665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
adam@0
|
2666 *) ac_try_echo=$ac_try;;
|
adam@0
|
2667 esac
|
adam@0
|
2668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
adam@0
|
2669 $as_echo "$ac_try_echo"; } >&5
|
adam@0
|
2670 (eval "$ac_link") 2>&5
|
adam@0
|
2671 ac_status=$?
|
adam@0
|
2672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
2673 test $ac_status = 0; }
|
adam@0
|
2674 if { ac_try='./conftest$ac_cv_exeext'
|
adam@0
|
2675 { { case "(($ac_try" in
|
adam@0
|
2676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
adam@0
|
2677 *) ac_try_echo=$ac_try;;
|
adam@0
|
2678 esac
|
adam@0
|
2679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
adam@0
|
2680 $as_echo "$ac_try_echo"; } >&5
|
adam@0
|
2681 (eval "$ac_try") 2>&5
|
adam@0
|
2682 ac_status=$?
|
adam@0
|
2683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
2684 test $ac_status = 0; }; }; then
|
adam@0
|
2685 cross_compiling=no
|
adam@0
|
2686 else
|
adam@0
|
2687 if test "$cross_compiling" = maybe; then
|
adam@0
|
2688 cross_compiling=yes
|
adam@0
|
2689 else
|
adam@0
|
2690 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
adam@0
|
2691 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
adam@0
|
2692 as_fn_error $? "cannot run C compiled programs.
|
adam@0
|
2693 If you meant to cross compile, use \`--host'.
|
adam@12
|
2694 See \`config.log' for more details" "$LINENO" 5; }
|
adam@0
|
2695 fi
|
adam@0
|
2696 fi
|
adam@0
|
2697 fi
|
adam@0
|
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
adam@0
|
2699 $as_echo "$cross_compiling" >&6; }
|
adam@0
|
2700
|
adam@0
|
2701 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
|
adam@0
|
2702 ac_clean_files=$ac_clean_files_save
|
adam@0
|
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
adam@0
|
2704 $as_echo_n "checking for suffix of object files... " >&6; }
|
adam@12
|
2705 if ${ac_cv_objext+:} false; then :
|
adam@0
|
2706 $as_echo_n "(cached) " >&6
|
adam@0
|
2707 else
|
adam@0
|
2708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
2709 /* end confdefs.h. */
|
adam@0
|
2710
|
adam@0
|
2711 int
|
adam@0
|
2712 main ()
|
adam@0
|
2713 {
|
adam@0
|
2714
|
adam@0
|
2715 ;
|
adam@0
|
2716 return 0;
|
adam@0
|
2717 }
|
adam@0
|
2718 _ACEOF
|
adam@0
|
2719 rm -f conftest.o conftest.obj
|
adam@0
|
2720 if { { ac_try="$ac_compile"
|
adam@0
|
2721 case "(($ac_try" in
|
adam@0
|
2722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
adam@0
|
2723 *) ac_try_echo=$ac_try;;
|
adam@0
|
2724 esac
|
adam@0
|
2725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
adam@0
|
2726 $as_echo "$ac_try_echo"; } >&5
|
adam@0
|
2727 (eval "$ac_compile") 2>&5
|
adam@0
|
2728 ac_status=$?
|
adam@0
|
2729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
2730 test $ac_status = 0; }; then :
|
adam@0
|
2731 for ac_file in conftest.o conftest.obj conftest.*; do
|
adam@0
|
2732 test -f "$ac_file" || continue;
|
adam@0
|
2733 case $ac_file in
|
adam@0
|
2734 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
|
adam@0
|
2735 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
adam@0
|
2736 break;;
|
adam@0
|
2737 esac
|
adam@0
|
2738 done
|
adam@0
|
2739 else
|
adam@0
|
2740 $as_echo "$as_me: failed program was:" >&5
|
adam@0
|
2741 sed 's/^/| /' conftest.$ac_ext >&5
|
adam@0
|
2742
|
adam@0
|
2743 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
adam@0
|
2744 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
adam@0
|
2745 as_fn_error $? "cannot compute suffix of object files: cannot compile
|
adam@12
|
2746 See \`config.log' for more details" "$LINENO" 5; }
|
adam@0
|
2747 fi
|
adam@0
|
2748 rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
adam@0
|
2749 fi
|
adam@0
|
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
adam@0
|
2751 $as_echo "$ac_cv_objext" >&6; }
|
adam@0
|
2752 OBJEXT=$ac_cv_objext
|
adam@0
|
2753 ac_objext=$OBJEXT
|
adam@0
|
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
adam@0
|
2755 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
adam@12
|
2756 if ${ac_cv_c_compiler_gnu+:} false; then :
|
adam@0
|
2757 $as_echo_n "(cached) " >&6
|
adam@0
|
2758 else
|
adam@0
|
2759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
2760 /* end confdefs.h. */
|
adam@0
|
2761
|
adam@0
|
2762 int
|
adam@0
|
2763 main ()
|
adam@0
|
2764 {
|
adam@0
|
2765 #ifndef __GNUC__
|
adam@0
|
2766 choke me
|
adam@0
|
2767 #endif
|
adam@0
|
2768
|
adam@0
|
2769 ;
|
adam@0
|
2770 return 0;
|
adam@0
|
2771 }
|
adam@0
|
2772 _ACEOF
|
adam@0
|
2773 if ac_fn_c_try_compile "$LINENO"; then :
|
adam@0
|
2774 ac_compiler_gnu=yes
|
adam@0
|
2775 else
|
adam@0
|
2776 ac_compiler_gnu=no
|
adam@0
|
2777 fi
|
adam@0
|
2778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
adam@0
|
2779 ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
adam@0
|
2780
|
adam@0
|
2781 fi
|
adam@0
|
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
adam@0
|
2783 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
adam@0
|
2784 if test $ac_compiler_gnu = yes; then
|
adam@0
|
2785 GCC=yes
|
adam@0
|
2786 else
|
adam@0
|
2787 GCC=
|
adam@0
|
2788 fi
|
adam@0
|
2789 ac_test_CFLAGS=${CFLAGS+set}
|
adam@0
|
2790 ac_save_CFLAGS=$CFLAGS
|
adam@0
|
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
adam@0
|
2792 $as_echo_n "checking whether $CC accepts -g... " >&6; }
|
adam@12
|
2793 if ${ac_cv_prog_cc_g+:} false; then :
|
adam@0
|
2794 $as_echo_n "(cached) " >&6
|
adam@0
|
2795 else
|
adam@0
|
2796 ac_save_c_werror_flag=$ac_c_werror_flag
|
adam@0
|
2797 ac_c_werror_flag=yes
|
adam@0
|
2798 ac_cv_prog_cc_g=no
|
adam@0
|
2799 CFLAGS="-g"
|
adam@0
|
2800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
2801 /* end confdefs.h. */
|
adam@0
|
2802
|
adam@0
|
2803 int
|
adam@0
|
2804 main ()
|
adam@0
|
2805 {
|
adam@0
|
2806
|
adam@0
|
2807 ;
|
adam@0
|
2808 return 0;
|
adam@0
|
2809 }
|
adam@0
|
2810 _ACEOF
|
adam@0
|
2811 if ac_fn_c_try_compile "$LINENO"; then :
|
adam@0
|
2812 ac_cv_prog_cc_g=yes
|
adam@0
|
2813 else
|
adam@0
|
2814 CFLAGS=""
|
adam@0
|
2815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
2816 /* end confdefs.h. */
|
adam@0
|
2817
|
adam@0
|
2818 int
|
adam@0
|
2819 main ()
|
adam@0
|
2820 {
|
adam@0
|
2821
|
adam@0
|
2822 ;
|
adam@0
|
2823 return 0;
|
adam@0
|
2824 }
|
adam@0
|
2825 _ACEOF
|
adam@0
|
2826 if ac_fn_c_try_compile "$LINENO"; then :
|
adam@0
|
2827
|
adam@0
|
2828 else
|
adam@0
|
2829 ac_c_werror_flag=$ac_save_c_werror_flag
|
adam@0
|
2830 CFLAGS="-g"
|
adam@0
|
2831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
2832 /* end confdefs.h. */
|
adam@0
|
2833
|
adam@0
|
2834 int
|
adam@0
|
2835 main ()
|
adam@0
|
2836 {
|
adam@0
|
2837
|
adam@0
|
2838 ;
|
adam@0
|
2839 return 0;
|
adam@0
|
2840 }
|
adam@0
|
2841 _ACEOF
|
adam@0
|
2842 if ac_fn_c_try_compile "$LINENO"; then :
|
adam@0
|
2843 ac_cv_prog_cc_g=yes
|
adam@0
|
2844 fi
|
adam@0
|
2845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
adam@0
|
2846 fi
|
adam@0
|
2847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
adam@0
|
2848 fi
|
adam@0
|
2849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
adam@0
|
2850 ac_c_werror_flag=$ac_save_c_werror_flag
|
adam@0
|
2851 fi
|
adam@0
|
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
adam@0
|
2853 $as_echo "$ac_cv_prog_cc_g" >&6; }
|
adam@0
|
2854 if test "$ac_test_CFLAGS" = set; then
|
adam@0
|
2855 CFLAGS=$ac_save_CFLAGS
|
adam@0
|
2856 elif test $ac_cv_prog_cc_g = yes; then
|
adam@0
|
2857 if test "$GCC" = yes; then
|
adam@0
|
2858 CFLAGS="-g -O2"
|
adam@0
|
2859 else
|
adam@0
|
2860 CFLAGS="-g"
|
adam@0
|
2861 fi
|
adam@0
|
2862 else
|
adam@0
|
2863 if test "$GCC" = yes; then
|
adam@0
|
2864 CFLAGS="-O2"
|
adam@0
|
2865 else
|
adam@0
|
2866 CFLAGS=
|
adam@0
|
2867 fi
|
adam@0
|
2868 fi
|
adam@0
|
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
adam@0
|
2870 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
adam@12
|
2871 if ${ac_cv_prog_cc_c89+:} false; then :
|
adam@0
|
2872 $as_echo_n "(cached) " >&6
|
adam@0
|
2873 else
|
adam@0
|
2874 ac_cv_prog_cc_c89=no
|
adam@0
|
2875 ac_save_CC=$CC
|
adam@0
|
2876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
2877 /* end confdefs.h. */
|
adam@0
|
2878 #include <stdarg.h>
|
adam@0
|
2879 #include <stdio.h>
|
adam@0
|
2880 #include <sys/types.h>
|
adam@0
|
2881 #include <sys/stat.h>
|
adam@0
|
2882 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
adam@0
|
2883 struct buf { int x; };
|
adam@0
|
2884 FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
adam@0
|
2885 static char *e (p, i)
|
adam@0
|
2886 char **p;
|
adam@0
|
2887 int i;
|
adam@0
|
2888 {
|
adam@0
|
2889 return p[i];
|
adam@0
|
2890 }
|
adam@0
|
2891 static char *f (char * (*g) (char **, int), char **p, ...)
|
adam@0
|
2892 {
|
adam@0
|
2893 char *s;
|
adam@0
|
2894 va_list v;
|
adam@0
|
2895 va_start (v,p);
|
adam@0
|
2896 s = g (p, va_arg (v,int));
|
adam@0
|
2897 va_end (v);
|
adam@0
|
2898 return s;
|
adam@0
|
2899 }
|
adam@0
|
2900
|
adam@0
|
2901 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
adam@0
|
2902 function prototypes and stuff, but not '\xHH' hex character constants.
|
adam@0
|
2903 These don't provoke an error unfortunately, instead are silently treated
|
adam@0
|
2904 as 'x'. The following induces an error, until -std is added to get
|
adam@0
|
2905 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
adam@0
|
2906 array size at least. It's necessary to write '\x00'==0 to get something
|
adam@0
|
2907 that's true only with -std. */
|
adam@0
|
2908 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
adam@0
|
2909
|
adam@0
|
2910 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
adam@0
|
2911 inside strings and character constants. */
|
adam@0
|
2912 #define FOO(x) 'x'
|
adam@0
|
2913 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
adam@0
|
2914
|
adam@0
|
2915 int test (int i, double x);
|
adam@0
|
2916 struct s1 {int (*f) (int a);};
|
adam@0
|
2917 struct s2 {int (*f) (double a);};
|
adam@0
|
2918 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
adam@0
|
2919 int argc;
|
adam@0
|
2920 char **argv;
|
adam@0
|
2921 int
|
adam@0
|
2922 main ()
|
adam@0
|
2923 {
|
adam@0
|
2924 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
adam@0
|
2925 ;
|
adam@0
|
2926 return 0;
|
adam@0
|
2927 }
|
adam@0
|
2928 _ACEOF
|
adam@0
|
2929 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
adam@0
|
2930 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
adam@0
|
2931 do
|
adam@0
|
2932 CC="$ac_save_CC $ac_arg"
|
adam@0
|
2933 if ac_fn_c_try_compile "$LINENO"; then :
|
adam@0
|
2934 ac_cv_prog_cc_c89=$ac_arg
|
adam@0
|
2935 fi
|
adam@0
|
2936 rm -f core conftest.err conftest.$ac_objext
|
adam@0
|
2937 test "x$ac_cv_prog_cc_c89" != "xno" && break
|
adam@0
|
2938 done
|
adam@0
|
2939 rm -f conftest.$ac_ext
|
adam@0
|
2940 CC=$ac_save_CC
|
adam@0
|
2941
|
adam@0
|
2942 fi
|
adam@0
|
2943 # AC_CACHE_VAL
|
adam@0
|
2944 case "x$ac_cv_prog_cc_c89" in
|
adam@0
|
2945 x)
|
adam@0
|
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
adam@0
|
2947 $as_echo "none needed" >&6; } ;;
|
adam@0
|
2948 xno)
|
adam@0
|
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
adam@0
|
2950 $as_echo "unsupported" >&6; } ;;
|
adam@0
|
2951 *)
|
adam@0
|
2952 CC="$CC $ac_cv_prog_cc_c89"
|
adam@0
|
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
adam@0
|
2954 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
adam@0
|
2955 esac
|
adam@0
|
2956 if test "x$ac_cv_prog_cc_c89" != xno; then :
|
adam@0
|
2957
|
adam@0
|
2958 fi
|
adam@0
|
2959
|
adam@0
|
2960 ac_ext=c
|
adam@0
|
2961 ac_cpp='$CPP $CPPFLAGS'
|
adam@0
|
2962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
adam@0
|
2963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
adam@0
|
2964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
adam@0
|
2965
|
adam@0
|
2966
|
adam@0
|
2967 ac_ext=c
|
adam@0
|
2968 ac_cpp='$CPP $CPPFLAGS'
|
adam@0
|
2969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
adam@0
|
2970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
adam@0
|
2971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
adam@0
|
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
|
adam@0
|
2973 $as_echo_n "checking how to run the C preprocessor... " >&6; }
|
adam@0
|
2974 # On Suns, sometimes $CPP names a directory.
|
adam@0
|
2975 if test -n "$CPP" && test -d "$CPP"; then
|
adam@0
|
2976 CPP=
|
adam@0
|
2977 fi
|
adam@0
|
2978 if test -z "$CPP"; then
|
adam@12
|
2979 if ${ac_cv_prog_CPP+:} false; then :
|
adam@0
|
2980 $as_echo_n "(cached) " >&6
|
adam@0
|
2981 else
|
adam@0
|
2982 # Double quotes because CPP needs to be expanded
|
adam@0
|
2983 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
adam@0
|
2984 do
|
adam@0
|
2985 ac_preproc_ok=false
|
adam@0
|
2986 for ac_c_preproc_warn_flag in '' yes
|
adam@0
|
2987 do
|
adam@0
|
2988 # Use a header file that comes with gcc, so configuring glibc
|
adam@0
|
2989 # with a fresh cross-compiler works.
|
adam@0
|
2990 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
adam@0
|
2991 # <limits.h> exists even on freestanding compilers.
|
adam@0
|
2992 # On the NeXT, cc -E runs the code through the compiler's parser,
|
adam@0
|
2993 # not just through cpp. "Syntax error" is here to catch this case.
|
adam@0
|
2994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
2995 /* end confdefs.h. */
|
adam@0
|
2996 #ifdef __STDC__
|
adam@0
|
2997 # include <limits.h>
|
adam@0
|
2998 #else
|
adam@0
|
2999 # include <assert.h>
|
adam@0
|
3000 #endif
|
adam@0
|
3001 Syntax error
|
adam@0
|
3002 _ACEOF
|
adam@0
|
3003 if ac_fn_c_try_cpp "$LINENO"; then :
|
adam@0
|
3004
|
adam@0
|
3005 else
|
adam@0
|
3006 # Broken: fails on valid input.
|
adam@0
|
3007 continue
|
adam@0
|
3008 fi
|
adam@0
|
3009 rm -f conftest.err conftest.i conftest.$ac_ext
|
adam@0
|
3010
|
adam@0
|
3011 # OK, works on sane cases. Now check whether nonexistent headers
|
adam@0
|
3012 # can be detected and how.
|
adam@0
|
3013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
3014 /* end confdefs.h. */
|
adam@0
|
3015 #include <ac_nonexistent.h>
|
adam@0
|
3016 _ACEOF
|
adam@0
|
3017 if ac_fn_c_try_cpp "$LINENO"; then :
|
adam@0
|
3018 # Broken: success on invalid input.
|
adam@0
|
3019 continue
|
adam@0
|
3020 else
|
adam@0
|
3021 # Passes both tests.
|
adam@0
|
3022 ac_preproc_ok=:
|
adam@0
|
3023 break
|
adam@0
|
3024 fi
|
adam@0
|
3025 rm -f conftest.err conftest.i conftest.$ac_ext
|
adam@0
|
3026
|
adam@0
|
3027 done
|
adam@0
|
3028 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
adam@0
|
3029 rm -f conftest.i conftest.err conftest.$ac_ext
|
adam@0
|
3030 if $ac_preproc_ok; then :
|
adam@0
|
3031 break
|
adam@0
|
3032 fi
|
adam@0
|
3033
|
adam@0
|
3034 done
|
adam@0
|
3035 ac_cv_prog_CPP=$CPP
|
adam@0
|
3036
|
adam@0
|
3037 fi
|
adam@0
|
3038 CPP=$ac_cv_prog_CPP
|
adam@0
|
3039 else
|
adam@0
|
3040 ac_cv_prog_CPP=$CPP
|
adam@0
|
3041 fi
|
adam@0
|
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
|
adam@0
|
3043 $as_echo "$CPP" >&6; }
|
adam@0
|
3044 ac_preproc_ok=false
|
adam@0
|
3045 for ac_c_preproc_warn_flag in '' yes
|
adam@0
|
3046 do
|
adam@0
|
3047 # Use a header file that comes with gcc, so configuring glibc
|
adam@0
|
3048 # with a fresh cross-compiler works.
|
adam@0
|
3049 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
adam@0
|
3050 # <limits.h> exists even on freestanding compilers.
|
adam@0
|
3051 # On the NeXT, cc -E runs the code through the compiler's parser,
|
adam@0
|
3052 # not just through cpp. "Syntax error" is here to catch this case.
|
adam@0
|
3053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
3054 /* end confdefs.h. */
|
adam@0
|
3055 #ifdef __STDC__
|
adam@0
|
3056 # include <limits.h>
|
adam@0
|
3057 #else
|
adam@0
|
3058 # include <assert.h>
|
adam@0
|
3059 #endif
|
adam@0
|
3060 Syntax error
|
adam@0
|
3061 _ACEOF
|
adam@0
|
3062 if ac_fn_c_try_cpp "$LINENO"; then :
|
adam@0
|
3063
|
adam@0
|
3064 else
|
adam@0
|
3065 # Broken: fails on valid input.
|
adam@0
|
3066 continue
|
adam@0
|
3067 fi
|
adam@0
|
3068 rm -f conftest.err conftest.i conftest.$ac_ext
|
adam@0
|
3069
|
adam@0
|
3070 # OK, works on sane cases. Now check whether nonexistent headers
|
adam@0
|
3071 # can be detected and how.
|
adam@0
|
3072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
3073 /* end confdefs.h. */
|
adam@0
|
3074 #include <ac_nonexistent.h>
|
adam@0
|
3075 _ACEOF
|
adam@0
|
3076 if ac_fn_c_try_cpp "$LINENO"; then :
|
adam@0
|
3077 # Broken: success on invalid input.
|
adam@0
|
3078 continue
|
adam@0
|
3079 else
|
adam@0
|
3080 # Passes both tests.
|
adam@0
|
3081 ac_preproc_ok=:
|
adam@0
|
3082 break
|
adam@0
|
3083 fi
|
adam@0
|
3084 rm -f conftest.err conftest.i conftest.$ac_ext
|
adam@0
|
3085
|
adam@0
|
3086 done
|
adam@0
|
3087 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
adam@0
|
3088 rm -f conftest.i conftest.err conftest.$ac_ext
|
adam@0
|
3089 if $ac_preproc_ok; then :
|
adam@0
|
3090
|
adam@0
|
3091 else
|
adam@0
|
3092 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
adam@0
|
3093 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
adam@0
|
3094 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
|
adam@12
|
3095 See \`config.log' for more details" "$LINENO" 5; }
|
adam@0
|
3096 fi
|
adam@0
|
3097
|
adam@0
|
3098 ac_ext=c
|
adam@0
|
3099 ac_cpp='$CPP $CPPFLAGS'
|
adam@0
|
3100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
adam@0
|
3101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
adam@0
|
3102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
adam@0
|
3103
|
adam@0
|
3104
|
adam@0
|
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
|
adam@0
|
3106 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
|
adam@12
|
3107 if ${ac_cv_path_GREP+:} false; then :
|
adam@0
|
3108 $as_echo_n "(cached) " >&6
|
adam@0
|
3109 else
|
adam@0
|
3110 if test -z "$GREP"; then
|
adam@0
|
3111 ac_path_GREP_found=false
|
adam@0
|
3112 # Loop through the user's path and test for each of PROGNAME-LIST
|
adam@0
|
3113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
3114 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
adam@0
|
3115 do
|
adam@0
|
3116 IFS=$as_save_IFS
|
adam@0
|
3117 test -z "$as_dir" && as_dir=.
|
adam@0
|
3118 for ac_prog in grep ggrep; do
|
adam@0
|
3119 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
3120 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
adam@0
|
3121 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
adam@0
|
3122 # Check for GNU ac_path_GREP and select it if it is found.
|
adam@0
|
3123 # Check for GNU $ac_path_GREP
|
adam@0
|
3124 case `"$ac_path_GREP" --version 2>&1` in
|
adam@0
|
3125 *GNU*)
|
adam@0
|
3126 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
adam@0
|
3127 *)
|
adam@0
|
3128 ac_count=0
|
adam@0
|
3129 $as_echo_n 0123456789 >"conftest.in"
|
adam@0
|
3130 while :
|
adam@0
|
3131 do
|
adam@0
|
3132 cat "conftest.in" "conftest.in" >"conftest.tmp"
|
adam@0
|
3133 mv "conftest.tmp" "conftest.in"
|
adam@0
|
3134 cp "conftest.in" "conftest.nl"
|
adam@0
|
3135 $as_echo 'GREP' >> "conftest.nl"
|
adam@0
|
3136 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
adam@0
|
3137 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
adam@0
|
3138 as_fn_arith $ac_count + 1 && ac_count=$as_val
|
adam@0
|
3139 if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
adam@0
|
3140 # Best one so far, save it but keep looking for a better one
|
adam@0
|
3141 ac_cv_path_GREP="$ac_path_GREP"
|
adam@0
|
3142 ac_path_GREP_max=$ac_count
|
adam@0
|
3143 fi
|
adam@0
|
3144 # 10*(2^10) chars as input seems more than enough
|
adam@0
|
3145 test $ac_count -gt 10 && break
|
adam@0
|
3146 done
|
adam@0
|
3147 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
adam@0
|
3148 esac
|
adam@0
|
3149
|
adam@0
|
3150 $ac_path_GREP_found && break 3
|
adam@0
|
3151 done
|
adam@0
|
3152 done
|
adam@0
|
3153 done
|
adam@0
|
3154 IFS=$as_save_IFS
|
adam@0
|
3155 if test -z "$ac_cv_path_GREP"; then
|
adam@0
|
3156 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
adam@0
|
3157 fi
|
adam@0
|
3158 else
|
adam@0
|
3159 ac_cv_path_GREP=$GREP
|
adam@0
|
3160 fi
|
adam@0
|
3161
|
adam@0
|
3162 fi
|
adam@0
|
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
|
adam@0
|
3164 $as_echo "$ac_cv_path_GREP" >&6; }
|
adam@0
|
3165 GREP="$ac_cv_path_GREP"
|
adam@0
|
3166
|
adam@0
|
3167
|
adam@0
|
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
|
adam@0
|
3169 $as_echo_n "checking for egrep... " >&6; }
|
adam@12
|
3170 if ${ac_cv_path_EGREP+:} false; then :
|
adam@0
|
3171 $as_echo_n "(cached) " >&6
|
adam@0
|
3172 else
|
adam@0
|
3173 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
adam@0
|
3174 then ac_cv_path_EGREP="$GREP -E"
|
adam@0
|
3175 else
|
adam@0
|
3176 if test -z "$EGREP"; then
|
adam@0
|
3177 ac_path_EGREP_found=false
|
adam@0
|
3178 # Loop through the user's path and test for each of PROGNAME-LIST
|
adam@0
|
3179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
3180 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
adam@0
|
3181 do
|
adam@0
|
3182 IFS=$as_save_IFS
|
adam@0
|
3183 test -z "$as_dir" && as_dir=.
|
adam@0
|
3184 for ac_prog in egrep; do
|
adam@0
|
3185 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
3186 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
adam@0
|
3187 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
adam@0
|
3188 # Check for GNU ac_path_EGREP and select it if it is found.
|
adam@0
|
3189 # Check for GNU $ac_path_EGREP
|
adam@0
|
3190 case `"$ac_path_EGREP" --version 2>&1` in
|
adam@0
|
3191 *GNU*)
|
adam@0
|
3192 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
adam@0
|
3193 *)
|
adam@0
|
3194 ac_count=0
|
adam@0
|
3195 $as_echo_n 0123456789 >"conftest.in"
|
adam@0
|
3196 while :
|
adam@0
|
3197 do
|
adam@0
|
3198 cat "conftest.in" "conftest.in" >"conftest.tmp"
|
adam@0
|
3199 mv "conftest.tmp" "conftest.in"
|
adam@0
|
3200 cp "conftest.in" "conftest.nl"
|
adam@0
|
3201 $as_echo 'EGREP' >> "conftest.nl"
|
adam@0
|
3202 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
adam@0
|
3203 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
adam@0
|
3204 as_fn_arith $ac_count + 1 && ac_count=$as_val
|
adam@0
|
3205 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
adam@0
|
3206 # Best one so far, save it but keep looking for a better one
|
adam@0
|
3207 ac_cv_path_EGREP="$ac_path_EGREP"
|
adam@0
|
3208 ac_path_EGREP_max=$ac_count
|
adam@0
|
3209 fi
|
adam@0
|
3210 # 10*(2^10) chars as input seems more than enough
|
adam@0
|
3211 test $ac_count -gt 10 && break
|
adam@0
|
3212 done
|
adam@0
|
3213 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
adam@0
|
3214 esac
|
adam@0
|
3215
|
adam@0
|
3216 $ac_path_EGREP_found && break 3
|
adam@0
|
3217 done
|
adam@0
|
3218 done
|
adam@0
|
3219 done
|
adam@0
|
3220 IFS=$as_save_IFS
|
adam@0
|
3221 if test -z "$ac_cv_path_EGREP"; then
|
adam@0
|
3222 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
adam@0
|
3223 fi
|
adam@0
|
3224 else
|
adam@0
|
3225 ac_cv_path_EGREP=$EGREP
|
adam@0
|
3226 fi
|
adam@0
|
3227
|
adam@0
|
3228 fi
|
adam@0
|
3229 fi
|
adam@0
|
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
|
adam@0
|
3231 $as_echo "$ac_cv_path_EGREP" >&6; }
|
adam@0
|
3232 EGREP="$ac_cv_path_EGREP"
|
adam@0
|
3233
|
adam@0
|
3234
|
adam@0
|
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
adam@0
|
3236 $as_echo_n "checking for ANSI C header files... " >&6; }
|
adam@12
|
3237 if ${ac_cv_header_stdc+:} false; then :
|
adam@0
|
3238 $as_echo_n "(cached) " >&6
|
adam@0
|
3239 else
|
adam@0
|
3240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
3241 /* end confdefs.h. */
|
adam@0
|
3242 #include <stdlib.h>
|
adam@0
|
3243 #include <stdarg.h>
|
adam@0
|
3244 #include <string.h>
|
adam@0
|
3245 #include <float.h>
|
adam@0
|
3246
|
adam@0
|
3247 int
|
adam@0
|
3248 main ()
|
adam@0
|
3249 {
|
adam@0
|
3250
|
adam@0
|
3251 ;
|
adam@0
|
3252 return 0;
|
adam@0
|
3253 }
|
adam@0
|
3254 _ACEOF
|
adam@0
|
3255 if ac_fn_c_try_compile "$LINENO"; then :
|
adam@0
|
3256 ac_cv_header_stdc=yes
|
adam@0
|
3257 else
|
adam@0
|
3258 ac_cv_header_stdc=no
|
adam@0
|
3259 fi
|
adam@0
|
3260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
adam@0
|
3261
|
adam@0
|
3262 if test $ac_cv_header_stdc = yes; then
|
adam@0
|
3263 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
adam@0
|
3264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
3265 /* end confdefs.h. */
|
adam@0
|
3266 #include <string.h>
|
adam@0
|
3267
|
adam@0
|
3268 _ACEOF
|
adam@0
|
3269 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
adam@0
|
3270 $EGREP "memchr" >/dev/null 2>&1; then :
|
adam@0
|
3271
|
adam@0
|
3272 else
|
adam@0
|
3273 ac_cv_header_stdc=no
|
adam@0
|
3274 fi
|
adam@0
|
3275 rm -f conftest*
|
adam@0
|
3276
|
adam@0
|
3277 fi
|
adam@0
|
3278
|
adam@0
|
3279 if test $ac_cv_header_stdc = yes; then
|
adam@0
|
3280 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
adam@0
|
3281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
3282 /* end confdefs.h. */
|
adam@0
|
3283 #include <stdlib.h>
|
adam@0
|
3284
|
adam@0
|
3285 _ACEOF
|
adam@0
|
3286 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
adam@0
|
3287 $EGREP "free" >/dev/null 2>&1; then :
|
adam@0
|
3288
|
adam@0
|
3289 else
|
adam@0
|
3290 ac_cv_header_stdc=no
|
adam@0
|
3291 fi
|
adam@0
|
3292 rm -f conftest*
|
adam@0
|
3293
|
adam@0
|
3294 fi
|
adam@0
|
3295
|
adam@0
|
3296 if test $ac_cv_header_stdc = yes; then
|
adam@0
|
3297 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
adam@0
|
3298 if test "$cross_compiling" = yes; then :
|
adam@0
|
3299 :
|
adam@0
|
3300 else
|
adam@0
|
3301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
3302 /* end confdefs.h. */
|
adam@0
|
3303 #include <ctype.h>
|
adam@0
|
3304 #include <stdlib.h>
|
adam@0
|
3305 #if ((' ' & 0x0FF) == 0x020)
|
adam@0
|
3306 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
adam@0
|
3307 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
adam@0
|
3308 #else
|
adam@0
|
3309 # define ISLOWER(c) \
|
adam@0
|
3310 (('a' <= (c) && (c) <= 'i') \
|
adam@0
|
3311 || ('j' <= (c) && (c) <= 'r') \
|
adam@0
|
3312 || ('s' <= (c) && (c) <= 'z'))
|
adam@0
|
3313 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
adam@0
|
3314 #endif
|
adam@0
|
3315
|
adam@0
|
3316 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
adam@0
|
3317 int
|
adam@0
|
3318 main ()
|
adam@0
|
3319 {
|
adam@0
|
3320 int i;
|
adam@0
|
3321 for (i = 0; i < 256; i++)
|
adam@0
|
3322 if (XOR (islower (i), ISLOWER (i))
|
adam@0
|
3323 || toupper (i) != TOUPPER (i))
|
adam@0
|
3324 return 2;
|
adam@0
|
3325 return 0;
|
adam@0
|
3326 }
|
adam@0
|
3327 _ACEOF
|
adam@0
|
3328 if ac_fn_c_try_run "$LINENO"; then :
|
adam@0
|
3329
|
adam@0
|
3330 else
|
adam@0
|
3331 ac_cv_header_stdc=no
|
adam@0
|
3332 fi
|
adam@0
|
3333 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
adam@0
|
3334 conftest.$ac_objext conftest.beam conftest.$ac_ext
|
adam@0
|
3335 fi
|
adam@0
|
3336
|
adam@0
|
3337 fi
|
adam@0
|
3338 fi
|
adam@0
|
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
adam@0
|
3340 $as_echo "$ac_cv_header_stdc" >&6; }
|
adam@0
|
3341 if test $ac_cv_header_stdc = yes; then
|
adam@0
|
3342
|
adam@0
|
3343 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
adam@0
|
3344
|
adam@0
|
3345 fi
|
adam@0
|
3346
|
adam@0
|
3347 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
adam@0
|
3348 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
adam@0
|
3349 inttypes.h stdint.h unistd.h
|
adam@0
|
3350 do :
|
adam@0
|
3351 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
adam@0
|
3352 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
|
adam@0
|
3353 "
|
adam@0
|
3354 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
adam@0
|
3355 cat >>confdefs.h <<_ACEOF
|
adam@0
|
3356 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
adam@0
|
3357 _ACEOF
|
adam@0
|
3358
|
adam@0
|
3359 fi
|
adam@0
|
3360
|
adam@0
|
3361 done
|
adam@0
|
3362
|
adam@0
|
3363
|
adam@0
|
3364
|
adam@0
|
3365 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
|
adam@12
|
3366 if test "x$ac_cv_header_minix_config_h" = xyes; then :
|
adam@0
|
3367 MINIX=yes
|
adam@0
|
3368 else
|
adam@0
|
3369 MINIX=
|
adam@0
|
3370 fi
|
adam@0
|
3371
|
adam@0
|
3372
|
adam@0
|
3373 if test "$MINIX" = yes; then
|
adam@0
|
3374
|
adam@0
|
3375 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
|
adam@0
|
3376
|
adam@0
|
3377
|
adam@0
|
3378 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
|
adam@0
|
3379
|
adam@0
|
3380
|
adam@0
|
3381 $as_echo "#define _MINIX 1" >>confdefs.h
|
adam@0
|
3382
|
adam@0
|
3383 fi
|
adam@0
|
3384
|
adam@0
|
3385
|
adam@0
|
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
|
adam@0
|
3387 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
|
adam@12
|
3388 if ${ac_cv_safe_to_define___extensions__+:} false; then :
|
adam@0
|
3389 $as_echo_n "(cached) " >&6
|
adam@0
|
3390 else
|
adam@0
|
3391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
3392 /* end confdefs.h. */
|
adam@0
|
3393
|
adam@0
|
3394 # define __EXTENSIONS__ 1
|
adam@0
|
3395 $ac_includes_default
|
adam@0
|
3396 int
|
adam@0
|
3397 main ()
|
adam@0
|
3398 {
|
adam@0
|
3399
|
adam@0
|
3400 ;
|
adam@0
|
3401 return 0;
|
adam@0
|
3402 }
|
adam@0
|
3403 _ACEOF
|
adam@0
|
3404 if ac_fn_c_try_compile "$LINENO"; then :
|
adam@0
|
3405 ac_cv_safe_to_define___extensions__=yes
|
adam@0
|
3406 else
|
adam@0
|
3407 ac_cv_safe_to_define___extensions__=no
|
adam@0
|
3408 fi
|
adam@0
|
3409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
adam@0
|
3410 fi
|
adam@0
|
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
|
adam@0
|
3412 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
|
adam@0
|
3413 test $ac_cv_safe_to_define___extensions__ = yes &&
|
adam@0
|
3414 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
|
adam@0
|
3415
|
adam@0
|
3416 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
|
adam@0
|
3417
|
adam@0
|
3418 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
|
adam@0
|
3419
|
adam@0
|
3420 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
|
adam@0
|
3421
|
adam@0
|
3422 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
|
adam@0
|
3423
|
adam@0
|
3424
|
adam@0
|
3425 am__api_version='1.11'
|
adam@0
|
3426
|
adam@0
|
3427 ac_aux_dir=
|
adam@0
|
3428 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
adam@0
|
3429 if test -f "$ac_dir/install-sh"; then
|
adam@0
|
3430 ac_aux_dir=$ac_dir
|
adam@0
|
3431 ac_install_sh="$ac_aux_dir/install-sh -c"
|
adam@0
|
3432 break
|
adam@0
|
3433 elif test -f "$ac_dir/install.sh"; then
|
adam@0
|
3434 ac_aux_dir=$ac_dir
|
adam@0
|
3435 ac_install_sh="$ac_aux_dir/install.sh -c"
|
adam@0
|
3436 break
|
adam@0
|
3437 elif test -f "$ac_dir/shtool"; then
|
adam@0
|
3438 ac_aux_dir=$ac_dir
|
adam@0
|
3439 ac_install_sh="$ac_aux_dir/shtool install -c"
|
adam@0
|
3440 break
|
adam@0
|
3441 fi
|
adam@0
|
3442 done
|
adam@0
|
3443 if test -z "$ac_aux_dir"; then
|
adam@0
|
3444 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
adam@0
|
3445 fi
|
adam@0
|
3446
|
adam@0
|
3447 # These three variables are undocumented and unsupported,
|
adam@0
|
3448 # and are intended to be withdrawn in a future Autoconf release.
|
adam@0
|
3449 # They can cause serious problems if a builder's source tree is in a directory
|
adam@0
|
3450 # whose full name contains unusual characters.
|
adam@0
|
3451 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
|
adam@0
|
3452 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
|
adam@0
|
3453 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
adam@0
|
3454
|
adam@0
|
3455
|
adam@0
|
3456 # Find a good install program. We prefer a C program (faster),
|
adam@0
|
3457 # so one script is as good as another. But avoid the broken or
|
adam@0
|
3458 # incompatible versions:
|
adam@0
|
3459 # SysV /etc/install, /usr/sbin/install
|
adam@0
|
3460 # SunOS /usr/etc/install
|
adam@0
|
3461 # IRIX /sbin/install
|
adam@0
|
3462 # AIX /bin/install
|
adam@0
|
3463 # AmigaOS /C/install, which installs bootblocks on floppy discs
|
adam@0
|
3464 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
adam@0
|
3465 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
adam@0
|
3466 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
adam@0
|
3467 # OS/2's system install, which has a completely different semantic
|
adam@0
|
3468 # ./install, which can be erroneously created by make from ./install.sh.
|
adam@0
|
3469 # Reject install programs that cannot install multiple files.
|
adam@0
|
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
adam@0
|
3471 $as_echo_n "checking for a BSD-compatible install... " >&6; }
|
adam@0
|
3472 if test -z "$INSTALL"; then
|
adam@12
|
3473 if ${ac_cv_path_install+:} false; then :
|
adam@0
|
3474 $as_echo_n "(cached) " >&6
|
adam@0
|
3475 else
|
adam@0
|
3476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
3477 for as_dir in $PATH
|
adam@0
|
3478 do
|
adam@0
|
3479 IFS=$as_save_IFS
|
adam@0
|
3480 test -z "$as_dir" && as_dir=.
|
adam@0
|
3481 # Account for people who put trailing slashes in PATH elements.
|
adam@0
|
3482 case $as_dir/ in #((
|
adam@0
|
3483 ./ | .// | /[cC]/* | \
|
adam@0
|
3484 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
adam@0
|
3485 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
|
adam@0
|
3486 /usr/ucb/* ) ;;
|
adam@0
|
3487 *)
|
adam@0
|
3488 # OSF1 and SCO ODT 3.0 have their own names for install.
|
adam@0
|
3489 # Don't use installbsd from OSF since it installs stuff as root
|
adam@0
|
3490 # by default.
|
adam@0
|
3491 for ac_prog in ginstall scoinst install; do
|
adam@0
|
3492 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
3493 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
|
adam@0
|
3494 if test $ac_prog = install &&
|
adam@0
|
3495 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
adam@0
|
3496 # AIX install. It has an incompatible calling convention.
|
adam@0
|
3497 :
|
adam@0
|
3498 elif test $ac_prog = install &&
|
adam@0
|
3499 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
adam@0
|
3500 # program-specific install script used by HP pwplus--don't use.
|
adam@0
|
3501 :
|
adam@0
|
3502 else
|
adam@0
|
3503 rm -rf conftest.one conftest.two conftest.dir
|
adam@0
|
3504 echo one > conftest.one
|
adam@0
|
3505 echo two > conftest.two
|
adam@0
|
3506 mkdir conftest.dir
|
adam@0
|
3507 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
|
adam@0
|
3508 test -s conftest.one && test -s conftest.two &&
|
adam@0
|
3509 test -s conftest.dir/conftest.one &&
|
adam@0
|
3510 test -s conftest.dir/conftest.two
|
adam@0
|
3511 then
|
adam@0
|
3512 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
adam@0
|
3513 break 3
|
adam@0
|
3514 fi
|
adam@0
|
3515 fi
|
adam@0
|
3516 fi
|
adam@0
|
3517 done
|
adam@0
|
3518 done
|
adam@0
|
3519 ;;
|
adam@0
|
3520 esac
|
adam@0
|
3521
|
adam@0
|
3522 done
|
adam@0
|
3523 IFS=$as_save_IFS
|
adam@0
|
3524
|
adam@0
|
3525 rm -rf conftest.one conftest.two conftest.dir
|
adam@0
|
3526
|
adam@0
|
3527 fi
|
adam@0
|
3528 if test "${ac_cv_path_install+set}" = set; then
|
adam@0
|
3529 INSTALL=$ac_cv_path_install
|
adam@0
|
3530 else
|
adam@0
|
3531 # As a last resort, use the slow shell script. Don't cache a
|
adam@0
|
3532 # value for INSTALL within a source directory, because that will
|
adam@0
|
3533 # break other packages using the cache if that directory is
|
adam@0
|
3534 # removed, or if the value is a relative name.
|
adam@0
|
3535 INSTALL=$ac_install_sh
|
adam@0
|
3536 fi
|
adam@0
|
3537 fi
|
adam@0
|
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
adam@0
|
3539 $as_echo "$INSTALL" >&6; }
|
adam@0
|
3540
|
adam@0
|
3541 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
adam@0
|
3542 # It thinks the first close brace ends the variable substitution.
|
adam@0
|
3543 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
adam@0
|
3544
|
adam@0
|
3545 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
adam@0
|
3546
|
adam@0
|
3547 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
adam@0
|
3548
|
adam@0
|
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
|
adam@0
|
3550 $as_echo_n "checking whether build environment is sane... " >&6; }
|
adam@0
|
3551 # Just in case
|
adam@0
|
3552 sleep 1
|
adam@0
|
3553 echo timestamp > conftest.file
|
adam@0
|
3554 # Reject unsafe characters in $srcdir or the absolute working directory
|
adam@0
|
3555 # name. Accept space and tab only in the latter.
|
adam@0
|
3556 am_lf='
|
adam@0
|
3557 '
|
adam@0
|
3558 case `pwd` in
|
adam@0
|
3559 *[\\\"\#\$\&\'\`$am_lf]*)
|
adam@12
|
3560 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
|
adam@0
|
3561 esac
|
adam@0
|
3562 case $srcdir in
|
adam@0
|
3563 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
|
adam@12
|
3564 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
|
adam@0
|
3565 esac
|
adam@0
|
3566
|
adam@0
|
3567 # Do `set' in a subshell so we don't clobber the current shell's
|
adam@0
|
3568 # arguments. Must try -L first in case configure is actually a
|
adam@0
|
3569 # symlink; some systems play weird games with the mod time of symlinks
|
adam@0
|
3570 # (eg FreeBSD returns the mod time of the symlink's containing
|
adam@0
|
3571 # directory).
|
adam@0
|
3572 if (
|
adam@0
|
3573 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
|
adam@0
|
3574 if test "$*" = "X"; then
|
adam@0
|
3575 # -L didn't work.
|
adam@0
|
3576 set X `ls -t "$srcdir/configure" conftest.file`
|
adam@0
|
3577 fi
|
adam@0
|
3578 rm -f conftest.file
|
adam@0
|
3579 if test "$*" != "X $srcdir/configure conftest.file" \
|
adam@0
|
3580 && test "$*" != "X conftest.file $srcdir/configure"; then
|
adam@0
|
3581
|
adam@0
|
3582 # If neither matched, then we have a broken ls. This can happen
|
adam@0
|
3583 # if, for instance, CONFIG_SHELL is bash and it inherits a
|
adam@0
|
3584 # broken ls alias from the environment. This has actually
|
adam@0
|
3585 # happened. Such a system could not be considered "sane".
|
adam@0
|
3586 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
|
adam@0
|
3587 alias in your environment" "$LINENO" 5
|
adam@0
|
3588 fi
|
adam@0
|
3589
|
adam@0
|
3590 test "$2" = conftest.file
|
adam@0
|
3591 )
|
adam@0
|
3592 then
|
adam@0
|
3593 # Ok.
|
adam@0
|
3594 :
|
adam@0
|
3595 else
|
adam@0
|
3596 as_fn_error $? "newly created file is older than distributed files!
|
adam@0
|
3597 Check your system clock" "$LINENO" 5
|
adam@0
|
3598 fi
|
adam@0
|
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
adam@0
|
3600 $as_echo "yes" >&6; }
|
adam@0
|
3601 test "$program_prefix" != NONE &&
|
adam@0
|
3602 program_transform_name="s&^&$program_prefix&;$program_transform_name"
|
adam@0
|
3603 # Use a double $ so make ignores it.
|
adam@0
|
3604 test "$program_suffix" != NONE &&
|
adam@0
|
3605 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
|
adam@0
|
3606 # Double any \ or $.
|
adam@0
|
3607 # By default was `s,x,x', remove it if useless.
|
adam@0
|
3608 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
|
adam@0
|
3609 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
|
adam@0
|
3610
|
adam@0
|
3611 # expand $ac_aux_dir to an absolute path
|
adam@0
|
3612 am_aux_dir=`cd $ac_aux_dir && pwd`
|
adam@0
|
3613
|
adam@0
|
3614 if test x"${MISSING+set}" != xset; then
|
adam@0
|
3615 case $am_aux_dir in
|
adam@0
|
3616 *\ * | *\ *)
|
adam@0
|
3617 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
|
adam@0
|
3618 *)
|
adam@0
|
3619 MISSING="\${SHELL} $am_aux_dir/missing" ;;
|
adam@0
|
3620 esac
|
adam@0
|
3621 fi
|
adam@0
|
3622 # Use eval to expand $SHELL
|
adam@0
|
3623 if eval "$MISSING --run true"; then
|
adam@0
|
3624 am_missing_run="$MISSING --run "
|
adam@0
|
3625 else
|
adam@0
|
3626 am_missing_run=
|
adam@0
|
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
|
adam@0
|
3628 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
adam@0
|
3629 fi
|
adam@0
|
3630
|
adam@0
|
3631 if test x"${install_sh}" != xset; then
|
adam@0
|
3632 case $am_aux_dir in
|
adam@0
|
3633 *\ * | *\ *)
|
adam@0
|
3634 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
|
adam@0
|
3635 *)
|
adam@0
|
3636 install_sh="\${SHELL} $am_aux_dir/install-sh"
|
adam@0
|
3637 esac
|
adam@0
|
3638 fi
|
adam@0
|
3639
|
adam@0
|
3640 # Installed binaries are usually stripped using `strip' when the user
|
adam@0
|
3641 # run `make install-strip'. However `strip' might not be the right
|
adam@0
|
3642 # tool to use in cross-compilation environments, therefore Automake
|
adam@0
|
3643 # will honor the `STRIP' environment variable to overrule this program.
|
adam@0
|
3644 if test "$cross_compiling" != no; then
|
adam@0
|
3645 if test -n "$ac_tool_prefix"; then
|
adam@0
|
3646 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
adam@0
|
3647 set dummy ${ac_tool_prefix}strip; ac_word=$2
|
adam@0
|
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
3649 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
3650 if ${ac_cv_prog_STRIP+:} false; then :
|
adam@0
|
3651 $as_echo_n "(cached) " >&6
|
adam@0
|
3652 else
|
adam@0
|
3653 if test -n "$STRIP"; then
|
adam@0
|
3654 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
adam@0
|
3655 else
|
adam@0
|
3656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
3657 for as_dir in $PATH
|
adam@0
|
3658 do
|
adam@0
|
3659 IFS=$as_save_IFS
|
adam@0
|
3660 test -z "$as_dir" && as_dir=.
|
adam@0
|
3661 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
3662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
3663 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
adam@0
|
3664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
3665 break 2
|
adam@0
|
3666 fi
|
adam@0
|
3667 done
|
adam@0
|
3668 done
|
adam@0
|
3669 IFS=$as_save_IFS
|
adam@0
|
3670
|
adam@0
|
3671 fi
|
adam@0
|
3672 fi
|
adam@0
|
3673 STRIP=$ac_cv_prog_STRIP
|
adam@0
|
3674 if test -n "$STRIP"; then
|
adam@0
|
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
adam@0
|
3676 $as_echo "$STRIP" >&6; }
|
adam@0
|
3677 else
|
adam@0
|
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
3679 $as_echo "no" >&6; }
|
adam@0
|
3680 fi
|
adam@0
|
3681
|
adam@0
|
3682
|
adam@0
|
3683 fi
|
adam@0
|
3684 if test -z "$ac_cv_prog_STRIP"; then
|
adam@0
|
3685 ac_ct_STRIP=$STRIP
|
adam@0
|
3686 # Extract the first word of "strip", so it can be a program name with args.
|
adam@0
|
3687 set dummy strip; ac_word=$2
|
adam@0
|
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
3689 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
3690 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
|
adam@0
|
3691 $as_echo_n "(cached) " >&6
|
adam@0
|
3692 else
|
adam@0
|
3693 if test -n "$ac_ct_STRIP"; then
|
adam@0
|
3694 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
adam@0
|
3695 else
|
adam@0
|
3696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
3697 for as_dir in $PATH
|
adam@0
|
3698 do
|
adam@0
|
3699 IFS=$as_save_IFS
|
adam@0
|
3700 test -z "$as_dir" && as_dir=.
|
adam@0
|
3701 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
3702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
3703 ac_cv_prog_ac_ct_STRIP="strip"
|
adam@0
|
3704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
3705 break 2
|
adam@0
|
3706 fi
|
adam@0
|
3707 done
|
adam@0
|
3708 done
|
adam@0
|
3709 IFS=$as_save_IFS
|
adam@0
|
3710
|
adam@0
|
3711 fi
|
adam@0
|
3712 fi
|
adam@0
|
3713 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
adam@0
|
3714 if test -n "$ac_ct_STRIP"; then
|
adam@0
|
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
adam@0
|
3716 $as_echo "$ac_ct_STRIP" >&6; }
|
adam@0
|
3717 else
|
adam@0
|
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
3719 $as_echo "no" >&6; }
|
adam@0
|
3720 fi
|
adam@0
|
3721
|
adam@0
|
3722 if test "x$ac_ct_STRIP" = x; then
|
adam@0
|
3723 STRIP=":"
|
adam@0
|
3724 else
|
adam@0
|
3725 case $cross_compiling:$ac_tool_warned in
|
adam@0
|
3726 yes:)
|
adam@0
|
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
adam@0
|
3728 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
adam@0
|
3729 ac_tool_warned=yes ;;
|
adam@0
|
3730 esac
|
adam@0
|
3731 STRIP=$ac_ct_STRIP
|
adam@0
|
3732 fi
|
adam@0
|
3733 else
|
adam@0
|
3734 STRIP="$ac_cv_prog_STRIP"
|
adam@0
|
3735 fi
|
adam@0
|
3736
|
adam@0
|
3737 fi
|
adam@0
|
3738 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
adam@0
|
3739
|
adam@0
|
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
|
adam@0
|
3741 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
|
adam@0
|
3742 if test -z "$MKDIR_P"; then
|
adam@12
|
3743 if ${ac_cv_path_mkdir+:} false; then :
|
adam@0
|
3744 $as_echo_n "(cached) " >&6
|
adam@0
|
3745 else
|
adam@0
|
3746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
3747 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
|
adam@0
|
3748 do
|
adam@0
|
3749 IFS=$as_save_IFS
|
adam@0
|
3750 test -z "$as_dir" && as_dir=.
|
adam@0
|
3751 for ac_prog in mkdir gmkdir; do
|
adam@0
|
3752 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
3753 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
|
adam@0
|
3754 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
|
adam@0
|
3755 'mkdir (GNU coreutils) '* | \
|
adam@0
|
3756 'mkdir (coreutils) '* | \
|
adam@0
|
3757 'mkdir (fileutils) '4.1*)
|
adam@0
|
3758 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
|
adam@0
|
3759 break 3;;
|
adam@0
|
3760 esac
|
adam@0
|
3761 done
|
adam@0
|
3762 done
|
adam@0
|
3763 done
|
adam@0
|
3764 IFS=$as_save_IFS
|
adam@0
|
3765
|
adam@0
|
3766 fi
|
adam@0
|
3767
|
adam@0
|
3768 test -d ./--version && rmdir ./--version
|
adam@0
|
3769 if test "${ac_cv_path_mkdir+set}" = set; then
|
adam@0
|
3770 MKDIR_P="$ac_cv_path_mkdir -p"
|
adam@0
|
3771 else
|
adam@0
|
3772 # As a last resort, use the slow shell script. Don't cache a
|
adam@0
|
3773 # value for MKDIR_P within a source directory, because that will
|
adam@0
|
3774 # break other packages using the cache if that directory is
|
adam@0
|
3775 # removed, or if the value is a relative name.
|
adam@0
|
3776 MKDIR_P="$ac_install_sh -d"
|
adam@0
|
3777 fi
|
adam@0
|
3778 fi
|
adam@0
|
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
|
adam@0
|
3780 $as_echo "$MKDIR_P" >&6; }
|
adam@0
|
3781
|
adam@0
|
3782 mkdir_p="$MKDIR_P"
|
adam@0
|
3783 case $mkdir_p in
|
adam@0
|
3784 [\\/$]* | ?:[\\/]*) ;;
|
adam@0
|
3785 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
|
adam@0
|
3786 esac
|
adam@0
|
3787
|
adam@0
|
3788 for ac_prog in gawk mawk nawk awk
|
adam@0
|
3789 do
|
adam@0
|
3790 # Extract the first word of "$ac_prog", so it can be a program name with args.
|
adam@0
|
3791 set dummy $ac_prog; ac_word=$2
|
adam@0
|
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
3793 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
3794 if ${ac_cv_prog_AWK+:} false; then :
|
adam@0
|
3795 $as_echo_n "(cached) " >&6
|
adam@0
|
3796 else
|
adam@0
|
3797 if test -n "$AWK"; then
|
adam@0
|
3798 ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
adam@0
|
3799 else
|
adam@0
|
3800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
3801 for as_dir in $PATH
|
adam@0
|
3802 do
|
adam@0
|
3803 IFS=$as_save_IFS
|
adam@0
|
3804 test -z "$as_dir" && as_dir=.
|
adam@0
|
3805 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
3806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
3807 ac_cv_prog_AWK="$ac_prog"
|
adam@0
|
3808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
3809 break 2
|
adam@0
|
3810 fi
|
adam@0
|
3811 done
|
adam@0
|
3812 done
|
adam@0
|
3813 IFS=$as_save_IFS
|
adam@0
|
3814
|
adam@0
|
3815 fi
|
adam@0
|
3816 fi
|
adam@0
|
3817 AWK=$ac_cv_prog_AWK
|
adam@0
|
3818 if test -n "$AWK"; then
|
adam@0
|
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
adam@0
|
3820 $as_echo "$AWK" >&6; }
|
adam@0
|
3821 else
|
adam@0
|
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
3823 $as_echo "no" >&6; }
|
adam@0
|
3824 fi
|
adam@0
|
3825
|
adam@0
|
3826
|
adam@0
|
3827 test -n "$AWK" && break
|
adam@0
|
3828 done
|
adam@0
|
3829
|
adam@0
|
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
adam@0
|
3831 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
adam@0
|
3832 set x ${MAKE-make}
|
adam@0
|
3833 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
adam@12
|
3834 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
|
adam@0
|
3835 $as_echo_n "(cached) " >&6
|
adam@0
|
3836 else
|
adam@0
|
3837 cat >conftest.make <<\_ACEOF
|
adam@0
|
3838 SHELL = /bin/sh
|
adam@0
|
3839 all:
|
adam@0
|
3840 @echo '@@@%%%=$(MAKE)=@@@%%%'
|
adam@0
|
3841 _ACEOF
|
adam@0
|
3842 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
|
adam@0
|
3843 case `${MAKE-make} -f conftest.make 2>/dev/null` in
|
adam@0
|
3844 *@@@%%%=?*=@@@%%%*)
|
adam@0
|
3845 eval ac_cv_prog_make_${ac_make}_set=yes;;
|
adam@0
|
3846 *)
|
adam@0
|
3847 eval ac_cv_prog_make_${ac_make}_set=no;;
|
adam@0
|
3848 esac
|
adam@0
|
3849 rm -f conftest.make
|
adam@0
|
3850 fi
|
adam@0
|
3851 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
adam@0
|
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
adam@0
|
3853 $as_echo "yes" >&6; }
|
adam@0
|
3854 SET_MAKE=
|
adam@0
|
3855 else
|
adam@0
|
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
3857 $as_echo "no" >&6; }
|
adam@0
|
3858 SET_MAKE="MAKE=${MAKE-make}"
|
adam@0
|
3859 fi
|
adam@0
|
3860
|
adam@0
|
3861 rm -rf .tst 2>/dev/null
|
adam@0
|
3862 mkdir .tst 2>/dev/null
|
adam@0
|
3863 if test -d .tst; then
|
adam@0
|
3864 am__leading_dot=.
|
adam@0
|
3865 else
|
adam@0
|
3866 am__leading_dot=_
|
adam@0
|
3867 fi
|
adam@0
|
3868 rmdir .tst 2>/dev/null
|
adam@0
|
3869
|
adam@0
|
3870 DEPDIR="${am__leading_dot}deps"
|
adam@0
|
3871
|
adam@0
|
3872 ac_config_commands="$ac_config_commands depfiles"
|
adam@0
|
3873
|
adam@0
|
3874
|
adam@0
|
3875 am_make=${MAKE-make}
|
adam@0
|
3876 cat > confinc << 'END'
|
adam@0
|
3877 am__doit:
|
adam@0
|
3878 @echo this is the am__doit target
|
adam@0
|
3879 .PHONY: am__doit
|
adam@0
|
3880 END
|
adam@0
|
3881 # If we don't find an include directive, just comment out the code.
|
adam@0
|
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
|
adam@0
|
3883 $as_echo_n "checking for style of include used by $am_make... " >&6; }
|
adam@0
|
3884 am__include="#"
|
adam@0
|
3885 am__quote=
|
adam@0
|
3886 _am_result=none
|
adam@0
|
3887 # First try GNU make style include.
|
adam@0
|
3888 echo "include confinc" > confmf
|
adam@0
|
3889 # Ignore all kinds of additional output from `make'.
|
adam@0
|
3890 case `$am_make -s -f confmf 2> /dev/null` in #(
|
adam@0
|
3891 *the\ am__doit\ target*)
|
adam@0
|
3892 am__include=include
|
adam@0
|
3893 am__quote=
|
adam@0
|
3894 _am_result=GNU
|
adam@0
|
3895 ;;
|
adam@0
|
3896 esac
|
adam@0
|
3897 # Now try BSD make style include.
|
adam@0
|
3898 if test "$am__include" = "#"; then
|
adam@0
|
3899 echo '.include "confinc"' > confmf
|
adam@0
|
3900 case `$am_make -s -f confmf 2> /dev/null` in #(
|
adam@0
|
3901 *the\ am__doit\ target*)
|
adam@0
|
3902 am__include=.include
|
adam@0
|
3903 am__quote="\""
|
adam@0
|
3904 _am_result=BSD
|
adam@0
|
3905 ;;
|
adam@0
|
3906 esac
|
adam@0
|
3907 fi
|
adam@0
|
3908
|
adam@0
|
3909
|
adam@0
|
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
|
adam@0
|
3911 $as_echo "$_am_result" >&6; }
|
adam@0
|
3912 rm -f confinc confmf
|
adam@0
|
3913
|
adam@0
|
3914 # Check whether --enable-dependency-tracking was given.
|
adam@0
|
3915 if test "${enable_dependency_tracking+set}" = set; then :
|
adam@0
|
3916 enableval=$enable_dependency_tracking;
|
adam@0
|
3917 fi
|
adam@0
|
3918
|
adam@0
|
3919 if test "x$enable_dependency_tracking" != xno; then
|
adam@0
|
3920 am_depcomp="$ac_aux_dir/depcomp"
|
adam@0
|
3921 AMDEPBACKSLASH='\'
|
adam@0
|
3922 fi
|
adam@0
|
3923 if test "x$enable_dependency_tracking" != xno; then
|
adam@0
|
3924 AMDEP_TRUE=
|
adam@0
|
3925 AMDEP_FALSE='#'
|
adam@0
|
3926 else
|
adam@0
|
3927 AMDEP_TRUE='#'
|
adam@0
|
3928 AMDEP_FALSE=
|
adam@0
|
3929 fi
|
adam@0
|
3930
|
adam@0
|
3931
|
adam@0
|
3932 if test "`cd $srcdir && pwd`" != "`pwd`"; then
|
adam@0
|
3933 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
|
adam@0
|
3934 # is not polluted with repeated "-I."
|
adam@0
|
3935 am__isrc=' -I$(srcdir)'
|
adam@0
|
3936 # test to see if srcdir already configured
|
adam@0
|
3937 if test -f $srcdir/config.status; then
|
adam@0
|
3938 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
|
adam@0
|
3939 fi
|
adam@0
|
3940 fi
|
adam@0
|
3941
|
adam@0
|
3942 # test whether we have cygpath
|
adam@0
|
3943 if test -z "$CYGPATH_W"; then
|
adam@0
|
3944 if (cygpath --version) >/dev/null 2>/dev/null; then
|
adam@0
|
3945 CYGPATH_W='cygpath -w'
|
adam@0
|
3946 else
|
adam@0
|
3947 CYGPATH_W=echo
|
adam@0
|
3948 fi
|
adam@0
|
3949 fi
|
adam@0
|
3950
|
adam@0
|
3951
|
adam@0
|
3952 # Define the identity of the package.
|
adam@0
|
3953 PACKAGE='urweb_feed'
|
adam@0
|
3954 VERSION='1.0'
|
adam@0
|
3955
|
adam@0
|
3956
|
adam@0
|
3957 # Some tools Automake needs.
|
adam@0
|
3958
|
adam@0
|
3959 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
|
adam@0
|
3960
|
adam@0
|
3961
|
adam@0
|
3962 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
|
adam@0
|
3963
|
adam@0
|
3964
|
adam@0
|
3965 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
|
adam@0
|
3966
|
adam@0
|
3967
|
adam@0
|
3968 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
|
adam@0
|
3969
|
adam@0
|
3970
|
adam@0
|
3971 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
adam@0
|
3972
|
adam@0
|
3973 # We need awk for the "check" target. The system "awk" is bad on
|
adam@0
|
3974 # some platforms.
|
adam@0
|
3975 # Always define AMTAR for backward compatibility.
|
adam@0
|
3976
|
adam@0
|
3977 AMTAR=${AMTAR-"${am_missing_run}tar"}
|
adam@0
|
3978
|
adam@0
|
3979 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
|
adam@0
|
3980
|
adam@0
|
3981
|
adam@0
|
3982
|
adam@0
|
3983
|
adam@0
|
3984 depcc="$CC" am_compiler_list=
|
adam@0
|
3985
|
adam@0
|
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
adam@0
|
3987 $as_echo_n "checking dependency style of $depcc... " >&6; }
|
adam@12
|
3988 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
|
adam@0
|
3989 $as_echo_n "(cached) " >&6
|
adam@0
|
3990 else
|
adam@0
|
3991 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
adam@0
|
3992 # We make a subdir and do the tests there. Otherwise we can end up
|
adam@0
|
3993 # making bogus files that we don't know about and never remove. For
|
adam@0
|
3994 # instance it was reported that on HP-UX the gcc test will end up
|
adam@0
|
3995 # making a dummy file named `D' -- because `-MD' means `put the output
|
adam@0
|
3996 # in D'.
|
adam@0
|
3997 mkdir conftest.dir
|
adam@0
|
3998 # Copy depcomp to subdir because otherwise we won't find it if we're
|
adam@0
|
3999 # using a relative directory.
|
adam@0
|
4000 cp "$am_depcomp" conftest.dir
|
adam@0
|
4001 cd conftest.dir
|
adam@0
|
4002 # We will build objects and dependencies in a subdirectory because
|
adam@0
|
4003 # it helps to detect inapplicable dependency modes. For instance
|
adam@0
|
4004 # both Tru64's cc and ICC support -MD to output dependencies as a
|
adam@0
|
4005 # side effect of compilation, but ICC will put the dependencies in
|
adam@0
|
4006 # the current directory while Tru64 will put them in the object
|
adam@0
|
4007 # directory.
|
adam@0
|
4008 mkdir sub
|
adam@0
|
4009
|
adam@0
|
4010 am_cv_CC_dependencies_compiler_type=none
|
adam@0
|
4011 if test "$am_compiler_list" = ""; then
|
adam@0
|
4012 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
adam@0
|
4013 fi
|
adam@0
|
4014 am__universal=false
|
adam@0
|
4015 case " $depcc " in #(
|
adam@0
|
4016 *\ -arch\ *\ -arch\ *) am__universal=true ;;
|
adam@0
|
4017 esac
|
adam@0
|
4018
|
adam@0
|
4019 for depmode in $am_compiler_list; do
|
adam@0
|
4020 # Setup a source with many dependencies, because some compilers
|
adam@0
|
4021 # like to wrap large dependency lists on column 80 (with \), and
|
adam@0
|
4022 # we should not choose a depcomp mode which is confused by this.
|
adam@0
|
4023 #
|
adam@0
|
4024 # We need to recreate these files for each test, as the compiler may
|
adam@0
|
4025 # overwrite some of them when testing with obscure command lines.
|
adam@0
|
4026 # This happens at least with the AIX C compiler.
|
adam@0
|
4027 : > sub/conftest.c
|
adam@0
|
4028 for i in 1 2 3 4 5 6; do
|
adam@0
|
4029 echo '#include "conftst'$i'.h"' >> sub/conftest.c
|
adam@0
|
4030 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
|
adam@0
|
4031 # Solaris 8's {/usr,}/bin/sh.
|
adam@0
|
4032 touch sub/conftst$i.h
|
adam@0
|
4033 done
|
adam@0
|
4034 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
adam@0
|
4035
|
adam@0
|
4036 # We check with `-c' and `-o' for the sake of the "dashmstdout"
|
adam@0
|
4037 # mode. It turns out that the SunPro C++ compiler does not properly
|
adam@0
|
4038 # handle `-M -o', and we need to detect this. Also, some Intel
|
adam@0
|
4039 # versions had trouble with output in subdirs
|
adam@0
|
4040 am__obj=sub/conftest.${OBJEXT-o}
|
adam@0
|
4041 am__minus_obj="-o $am__obj"
|
adam@0
|
4042 case $depmode in
|
adam@0
|
4043 gcc)
|
adam@0
|
4044 # This depmode causes a compiler race in universal mode.
|
adam@0
|
4045 test "$am__universal" = false || continue
|
adam@0
|
4046 ;;
|
adam@0
|
4047 nosideeffect)
|
adam@0
|
4048 # after this tag, mechanisms are not by side-effect, so they'll
|
adam@0
|
4049 # only be used when explicitly requested
|
adam@0
|
4050 if test "x$enable_dependency_tracking" = xyes; then
|
adam@0
|
4051 continue
|
adam@0
|
4052 else
|
adam@0
|
4053 break
|
adam@0
|
4054 fi
|
adam@0
|
4055 ;;
|
adam@0
|
4056 msvisualcpp | msvcmsys)
|
adam@0
|
4057 # This compiler won't grok `-c -o', but also, the minuso test has
|
adam@0
|
4058 # not run yet. These depmodes are late enough in the game, and
|
adam@0
|
4059 # so weak that their functioning should not be impacted.
|
adam@0
|
4060 am__obj=conftest.${OBJEXT-o}
|
adam@0
|
4061 am__minus_obj=
|
adam@0
|
4062 ;;
|
adam@0
|
4063 none) break ;;
|
adam@0
|
4064 esac
|
adam@0
|
4065 if depmode=$depmode \
|
adam@0
|
4066 source=sub/conftest.c object=$am__obj \
|
adam@0
|
4067 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
adam@0
|
4068 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
|
adam@0
|
4069 >/dev/null 2>conftest.err &&
|
adam@0
|
4070 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
adam@0
|
4071 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
adam@0
|
4072 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
|
adam@0
|
4073 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
adam@0
|
4074 # icc doesn't choke on unknown options, it will just issue warnings
|
adam@0
|
4075 # or remarks (even with -Werror). So we grep stderr for any message
|
adam@0
|
4076 # that says an option was ignored or not supported.
|
adam@0
|
4077 # When given -MP, icc 7.0 and 7.1 complain thusly:
|
adam@0
|
4078 # icc: Command line warning: ignoring option '-M'; no argument required
|
adam@0
|
4079 # The diagnosis changed in icc 8.0:
|
adam@0
|
4080 # icc: Command line remark: option '-MP' not supported
|
adam@0
|
4081 if (grep 'ignoring option' conftest.err ||
|
adam@0
|
4082 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
|
adam@0
|
4083 am_cv_CC_dependencies_compiler_type=$depmode
|
adam@0
|
4084 break
|
adam@0
|
4085 fi
|
adam@0
|
4086 fi
|
adam@0
|
4087 done
|
adam@0
|
4088
|
adam@0
|
4089 cd ..
|
adam@0
|
4090 rm -rf conftest.dir
|
adam@0
|
4091 else
|
adam@0
|
4092 am_cv_CC_dependencies_compiler_type=none
|
adam@0
|
4093 fi
|
adam@0
|
4094
|
adam@0
|
4095 fi
|
adam@0
|
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
|
adam@0
|
4097 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
|
adam@0
|
4098 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
adam@0
|
4099
|
adam@0
|
4100 if
|
adam@0
|
4101 test "x$enable_dependency_tracking" != xno \
|
adam@0
|
4102 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
|
adam@0
|
4103 am__fastdepCC_TRUE=
|
adam@0
|
4104 am__fastdepCC_FALSE='#'
|
adam@0
|
4105 else
|
adam@0
|
4106 am__fastdepCC_TRUE='#'
|
adam@0
|
4107 am__fastdepCC_FALSE=
|
adam@0
|
4108 fi
|
adam@0
|
4109
|
adam@0
|
4110
|
adam@0
|
4111
|
adam@0
|
4112 ac_ext=c
|
adam@0
|
4113 ac_cpp='$CPP $CPPFLAGS'
|
adam@0
|
4114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
adam@0
|
4115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
adam@0
|
4116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
adam@0
|
4117 if test -n "$ac_tool_prefix"; then
|
adam@0
|
4118 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
adam@0
|
4119 set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
adam@0
|
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
4121 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
4122 if ${ac_cv_prog_CC+:} false; then :
|
adam@0
|
4123 $as_echo_n "(cached) " >&6
|
adam@0
|
4124 else
|
adam@0
|
4125 if test -n "$CC"; then
|
adam@0
|
4126 ac_cv_prog_CC="$CC" # Let the user override the test.
|
adam@0
|
4127 else
|
adam@0
|
4128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
4129 for as_dir in $PATH
|
adam@0
|
4130 do
|
adam@0
|
4131 IFS=$as_save_IFS
|
adam@0
|
4132 test -z "$as_dir" && as_dir=.
|
adam@0
|
4133 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
4134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
4135 ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
adam@0
|
4136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
4137 break 2
|
adam@0
|
4138 fi
|
adam@0
|
4139 done
|
adam@0
|
4140 done
|
adam@0
|
4141 IFS=$as_save_IFS
|
adam@0
|
4142
|
adam@0
|
4143 fi
|
adam@0
|
4144 fi
|
adam@0
|
4145 CC=$ac_cv_prog_CC
|
adam@0
|
4146 if test -n "$CC"; then
|
adam@0
|
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
adam@0
|
4148 $as_echo "$CC" >&6; }
|
adam@0
|
4149 else
|
adam@0
|
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
4151 $as_echo "no" >&6; }
|
adam@0
|
4152 fi
|
adam@0
|
4153
|
adam@0
|
4154
|
adam@0
|
4155 fi
|
adam@0
|
4156 if test -z "$ac_cv_prog_CC"; then
|
adam@0
|
4157 ac_ct_CC=$CC
|
adam@0
|
4158 # Extract the first word of "gcc", so it can be a program name with args.
|
adam@0
|
4159 set dummy gcc; ac_word=$2
|
adam@0
|
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
4161 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
4162 if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
adam@0
|
4163 $as_echo_n "(cached) " >&6
|
adam@0
|
4164 else
|
adam@0
|
4165 if test -n "$ac_ct_CC"; then
|
adam@0
|
4166 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
adam@0
|
4167 else
|
adam@0
|
4168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
4169 for as_dir in $PATH
|
adam@0
|
4170 do
|
adam@0
|
4171 IFS=$as_save_IFS
|
adam@0
|
4172 test -z "$as_dir" && as_dir=.
|
adam@0
|
4173 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
4174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
4175 ac_cv_prog_ac_ct_CC="gcc"
|
adam@0
|
4176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
4177 break 2
|
adam@0
|
4178 fi
|
adam@0
|
4179 done
|
adam@0
|
4180 done
|
adam@0
|
4181 IFS=$as_save_IFS
|
adam@0
|
4182
|
adam@0
|
4183 fi
|
adam@0
|
4184 fi
|
adam@0
|
4185 ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
adam@0
|
4186 if test -n "$ac_ct_CC"; then
|
adam@0
|
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
adam@0
|
4188 $as_echo "$ac_ct_CC" >&6; }
|
adam@0
|
4189 else
|
adam@0
|
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
4191 $as_echo "no" >&6; }
|
adam@0
|
4192 fi
|
adam@0
|
4193
|
adam@0
|
4194 if test "x$ac_ct_CC" = x; then
|
adam@0
|
4195 CC=""
|
adam@0
|
4196 else
|
adam@0
|
4197 case $cross_compiling:$ac_tool_warned in
|
adam@0
|
4198 yes:)
|
adam@0
|
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
adam@0
|
4200 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
adam@0
|
4201 ac_tool_warned=yes ;;
|
adam@0
|
4202 esac
|
adam@0
|
4203 CC=$ac_ct_CC
|
adam@0
|
4204 fi
|
adam@0
|
4205 else
|
adam@0
|
4206 CC="$ac_cv_prog_CC"
|
adam@0
|
4207 fi
|
adam@0
|
4208
|
adam@0
|
4209 if test -z "$CC"; then
|
adam@0
|
4210 if test -n "$ac_tool_prefix"; then
|
adam@0
|
4211 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
adam@0
|
4212 set dummy ${ac_tool_prefix}cc; ac_word=$2
|
adam@0
|
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
4214 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
4215 if ${ac_cv_prog_CC+:} false; then :
|
adam@0
|
4216 $as_echo_n "(cached) " >&6
|
adam@0
|
4217 else
|
adam@0
|
4218 if test -n "$CC"; then
|
adam@0
|
4219 ac_cv_prog_CC="$CC" # Let the user override the test.
|
adam@0
|
4220 else
|
adam@0
|
4221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
4222 for as_dir in $PATH
|
adam@0
|
4223 do
|
adam@0
|
4224 IFS=$as_save_IFS
|
adam@0
|
4225 test -z "$as_dir" && as_dir=.
|
adam@0
|
4226 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
4227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
4228 ac_cv_prog_CC="${ac_tool_prefix}cc"
|
adam@0
|
4229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
4230 break 2
|
adam@0
|
4231 fi
|
adam@0
|
4232 done
|
adam@0
|
4233 done
|
adam@0
|
4234 IFS=$as_save_IFS
|
adam@0
|
4235
|
adam@0
|
4236 fi
|
adam@0
|
4237 fi
|
adam@0
|
4238 CC=$ac_cv_prog_CC
|
adam@0
|
4239 if test -n "$CC"; then
|
adam@0
|
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
adam@0
|
4241 $as_echo "$CC" >&6; }
|
adam@0
|
4242 else
|
adam@0
|
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
4244 $as_echo "no" >&6; }
|
adam@0
|
4245 fi
|
adam@0
|
4246
|
adam@0
|
4247
|
adam@0
|
4248 fi
|
adam@0
|
4249 fi
|
adam@0
|
4250 if test -z "$CC"; then
|
adam@0
|
4251 # Extract the first word of "cc", so it can be a program name with args.
|
adam@0
|
4252 set dummy cc; ac_word=$2
|
adam@0
|
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
4254 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
4255 if ${ac_cv_prog_CC+:} false; then :
|
adam@0
|
4256 $as_echo_n "(cached) " >&6
|
adam@0
|
4257 else
|
adam@0
|
4258 if test -n "$CC"; then
|
adam@0
|
4259 ac_cv_prog_CC="$CC" # Let the user override the test.
|
adam@0
|
4260 else
|
adam@0
|
4261 ac_prog_rejected=no
|
adam@0
|
4262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
4263 for as_dir in $PATH
|
adam@0
|
4264 do
|
adam@0
|
4265 IFS=$as_save_IFS
|
adam@0
|
4266 test -z "$as_dir" && as_dir=.
|
adam@0
|
4267 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
4268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
4269 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
adam@0
|
4270 ac_prog_rejected=yes
|
adam@0
|
4271 continue
|
adam@0
|
4272 fi
|
adam@0
|
4273 ac_cv_prog_CC="cc"
|
adam@0
|
4274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
4275 break 2
|
adam@0
|
4276 fi
|
adam@0
|
4277 done
|
adam@0
|
4278 done
|
adam@0
|
4279 IFS=$as_save_IFS
|
adam@0
|
4280
|
adam@0
|
4281 if test $ac_prog_rejected = yes; then
|
adam@0
|
4282 # We found a bogon in the path, so make sure we never use it.
|
adam@0
|
4283 set dummy $ac_cv_prog_CC
|
adam@0
|
4284 shift
|
adam@0
|
4285 if test $# != 0; then
|
adam@0
|
4286 # We chose a different compiler from the bogus one.
|
adam@0
|
4287 # However, it has the same basename, so the bogon will be chosen
|
adam@0
|
4288 # first if we set CC to just the basename; use the full file name.
|
adam@0
|
4289 shift
|
adam@0
|
4290 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
adam@0
|
4291 fi
|
adam@0
|
4292 fi
|
adam@0
|
4293 fi
|
adam@0
|
4294 fi
|
adam@0
|
4295 CC=$ac_cv_prog_CC
|
adam@0
|
4296 if test -n "$CC"; then
|
adam@0
|
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
adam@0
|
4298 $as_echo "$CC" >&6; }
|
adam@0
|
4299 else
|
adam@0
|
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
4301 $as_echo "no" >&6; }
|
adam@0
|
4302 fi
|
adam@0
|
4303
|
adam@0
|
4304
|
adam@0
|
4305 fi
|
adam@0
|
4306 if test -z "$CC"; then
|
adam@0
|
4307 if test -n "$ac_tool_prefix"; then
|
adam@0
|
4308 for ac_prog in cl.exe
|
adam@0
|
4309 do
|
adam@0
|
4310 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
adam@0
|
4311 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
adam@0
|
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
4313 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
4314 if ${ac_cv_prog_CC+:} false; then :
|
adam@0
|
4315 $as_echo_n "(cached) " >&6
|
adam@0
|
4316 else
|
adam@0
|
4317 if test -n "$CC"; then
|
adam@0
|
4318 ac_cv_prog_CC="$CC" # Let the user override the test.
|
adam@0
|
4319 else
|
adam@0
|
4320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
4321 for as_dir in $PATH
|
adam@0
|
4322 do
|
adam@0
|
4323 IFS=$as_save_IFS
|
adam@0
|
4324 test -z "$as_dir" && as_dir=.
|
adam@0
|
4325 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
4326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
4327 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
adam@0
|
4328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
4329 break 2
|
adam@0
|
4330 fi
|
adam@0
|
4331 done
|
adam@0
|
4332 done
|
adam@0
|
4333 IFS=$as_save_IFS
|
adam@0
|
4334
|
adam@0
|
4335 fi
|
adam@0
|
4336 fi
|
adam@0
|
4337 CC=$ac_cv_prog_CC
|
adam@0
|
4338 if test -n "$CC"; then
|
adam@0
|
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
adam@0
|
4340 $as_echo "$CC" >&6; }
|
adam@0
|
4341 else
|
adam@0
|
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
4343 $as_echo "no" >&6; }
|
adam@0
|
4344 fi
|
adam@0
|
4345
|
adam@0
|
4346
|
adam@0
|
4347 test -n "$CC" && break
|
adam@0
|
4348 done
|
adam@0
|
4349 fi
|
adam@0
|
4350 if test -z "$CC"; then
|
adam@0
|
4351 ac_ct_CC=$CC
|
adam@0
|
4352 for ac_prog in cl.exe
|
adam@0
|
4353 do
|
adam@0
|
4354 # Extract the first word of "$ac_prog", so it can be a program name with args.
|
adam@0
|
4355 set dummy $ac_prog; ac_word=$2
|
adam@0
|
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
4357 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
4358 if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
adam@0
|
4359 $as_echo_n "(cached) " >&6
|
adam@0
|
4360 else
|
adam@0
|
4361 if test -n "$ac_ct_CC"; then
|
adam@0
|
4362 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
adam@0
|
4363 else
|
adam@0
|
4364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
4365 for as_dir in $PATH
|
adam@0
|
4366 do
|
adam@0
|
4367 IFS=$as_save_IFS
|
adam@0
|
4368 test -z "$as_dir" && as_dir=.
|
adam@0
|
4369 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
4370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
4371 ac_cv_prog_ac_ct_CC="$ac_prog"
|
adam@0
|
4372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
4373 break 2
|
adam@0
|
4374 fi
|
adam@0
|
4375 done
|
adam@0
|
4376 done
|
adam@0
|
4377 IFS=$as_save_IFS
|
adam@0
|
4378
|
adam@0
|
4379 fi
|
adam@0
|
4380 fi
|
adam@0
|
4381 ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
adam@0
|
4382 if test -n "$ac_ct_CC"; then
|
adam@0
|
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
adam@0
|
4384 $as_echo "$ac_ct_CC" >&6; }
|
adam@0
|
4385 else
|
adam@0
|
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
4387 $as_echo "no" >&6; }
|
adam@0
|
4388 fi
|
adam@0
|
4389
|
adam@0
|
4390
|
adam@0
|
4391 test -n "$ac_ct_CC" && break
|
adam@0
|
4392 done
|
adam@0
|
4393
|
adam@0
|
4394 if test "x$ac_ct_CC" = x; then
|
adam@0
|
4395 CC=""
|
adam@0
|
4396 else
|
adam@0
|
4397 case $cross_compiling:$ac_tool_warned in
|
adam@0
|
4398 yes:)
|
adam@0
|
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
adam@0
|
4400 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
adam@0
|
4401 ac_tool_warned=yes ;;
|
adam@0
|
4402 esac
|
adam@0
|
4403 CC=$ac_ct_CC
|
adam@0
|
4404 fi
|
adam@0
|
4405 fi
|
adam@0
|
4406
|
adam@0
|
4407 fi
|
adam@0
|
4408
|
adam@0
|
4409
|
adam@0
|
4410 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
adam@0
|
4411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
adam@0
|
4412 as_fn_error $? "no acceptable C compiler found in \$PATH
|
adam@12
|
4413 See \`config.log' for more details" "$LINENO" 5; }
|
adam@0
|
4414
|
adam@0
|
4415 # Provide some information about the compiler.
|
adam@0
|
4416 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
adam@0
|
4417 set X $ac_compile
|
adam@0
|
4418 ac_compiler=$2
|
adam@0
|
4419 for ac_option in --version -v -V -qversion; do
|
adam@0
|
4420 { { ac_try="$ac_compiler $ac_option >&5"
|
adam@0
|
4421 case "(($ac_try" in
|
adam@0
|
4422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
adam@0
|
4423 *) ac_try_echo=$ac_try;;
|
adam@0
|
4424 esac
|
adam@0
|
4425 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
adam@0
|
4426 $as_echo "$ac_try_echo"; } >&5
|
adam@0
|
4427 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
adam@0
|
4428 ac_status=$?
|
adam@0
|
4429 if test -s conftest.err; then
|
adam@0
|
4430 sed '10a\
|
adam@0
|
4431 ... rest of stderr output deleted ...
|
adam@0
|
4432 10q' conftest.err >conftest.er1
|
adam@0
|
4433 cat conftest.er1 >&5
|
adam@0
|
4434 fi
|
adam@0
|
4435 rm -f conftest.er1 conftest.err
|
adam@0
|
4436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
4437 test $ac_status = 0; }
|
adam@0
|
4438 done
|
adam@0
|
4439
|
adam@0
|
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
adam@0
|
4441 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
adam@12
|
4442 if ${ac_cv_c_compiler_gnu+:} false; then :
|
adam@0
|
4443 $as_echo_n "(cached) " >&6
|
adam@0
|
4444 else
|
adam@0
|
4445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
4446 /* end confdefs.h. */
|
adam@0
|
4447
|
adam@0
|
4448 int
|
adam@0
|
4449 main ()
|
adam@0
|
4450 {
|
adam@0
|
4451 #ifndef __GNUC__
|
adam@0
|
4452 choke me
|
adam@0
|
4453 #endif
|
adam@0
|
4454
|
adam@0
|
4455 ;
|
adam@0
|
4456 return 0;
|
adam@0
|
4457 }
|
adam@0
|
4458 _ACEOF
|
adam@0
|
4459 if ac_fn_c_try_compile "$LINENO"; then :
|
adam@0
|
4460 ac_compiler_gnu=yes
|
adam@0
|
4461 else
|
adam@0
|
4462 ac_compiler_gnu=no
|
adam@0
|
4463 fi
|
adam@0
|
4464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
adam@0
|
4465 ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
adam@0
|
4466
|
adam@0
|
4467 fi
|
adam@0
|
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
adam@0
|
4469 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
adam@0
|
4470 if test $ac_compiler_gnu = yes; then
|
adam@0
|
4471 GCC=yes
|
adam@0
|
4472 else
|
adam@0
|
4473 GCC=
|
adam@0
|
4474 fi
|
adam@0
|
4475 ac_test_CFLAGS=${CFLAGS+set}
|
adam@0
|
4476 ac_save_CFLAGS=$CFLAGS
|
adam@0
|
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
adam@0
|
4478 $as_echo_n "checking whether $CC accepts -g... " >&6; }
|
adam@12
|
4479 if ${ac_cv_prog_cc_g+:} false; then :
|
adam@0
|
4480 $as_echo_n "(cached) " >&6
|
adam@0
|
4481 else
|
adam@0
|
4482 ac_save_c_werror_flag=$ac_c_werror_flag
|
adam@0
|
4483 ac_c_werror_flag=yes
|
adam@0
|
4484 ac_cv_prog_cc_g=no
|
adam@0
|
4485 CFLAGS="-g"
|
adam@0
|
4486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
4487 /* end confdefs.h. */
|
adam@0
|
4488
|
adam@0
|
4489 int
|
adam@0
|
4490 main ()
|
adam@0
|
4491 {
|
adam@0
|
4492
|
adam@0
|
4493 ;
|
adam@0
|
4494 return 0;
|
adam@0
|
4495 }
|
adam@0
|
4496 _ACEOF
|
adam@0
|
4497 if ac_fn_c_try_compile "$LINENO"; then :
|
adam@0
|
4498 ac_cv_prog_cc_g=yes
|
adam@0
|
4499 else
|
adam@0
|
4500 CFLAGS=""
|
adam@0
|
4501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
4502 /* end confdefs.h. */
|
adam@0
|
4503
|
adam@0
|
4504 int
|
adam@0
|
4505 main ()
|
adam@0
|
4506 {
|
adam@0
|
4507
|
adam@0
|
4508 ;
|
adam@0
|
4509 return 0;
|
adam@0
|
4510 }
|
adam@0
|
4511 _ACEOF
|
adam@0
|
4512 if ac_fn_c_try_compile "$LINENO"; then :
|
adam@0
|
4513
|
adam@0
|
4514 else
|
adam@0
|
4515 ac_c_werror_flag=$ac_save_c_werror_flag
|
adam@0
|
4516 CFLAGS="-g"
|
adam@0
|
4517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
4518 /* end confdefs.h. */
|
adam@0
|
4519
|
adam@0
|
4520 int
|
adam@0
|
4521 main ()
|
adam@0
|
4522 {
|
adam@0
|
4523
|
adam@0
|
4524 ;
|
adam@0
|
4525 return 0;
|
adam@0
|
4526 }
|
adam@0
|
4527 _ACEOF
|
adam@0
|
4528 if ac_fn_c_try_compile "$LINENO"; then :
|
adam@0
|
4529 ac_cv_prog_cc_g=yes
|
adam@0
|
4530 fi
|
adam@0
|
4531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
adam@0
|
4532 fi
|
adam@0
|
4533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
adam@0
|
4534 fi
|
adam@0
|
4535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
adam@0
|
4536 ac_c_werror_flag=$ac_save_c_werror_flag
|
adam@0
|
4537 fi
|
adam@0
|
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
adam@0
|
4539 $as_echo "$ac_cv_prog_cc_g" >&6; }
|
adam@0
|
4540 if test "$ac_test_CFLAGS" = set; then
|
adam@0
|
4541 CFLAGS=$ac_save_CFLAGS
|
adam@0
|
4542 elif test $ac_cv_prog_cc_g = yes; then
|
adam@0
|
4543 if test "$GCC" = yes; then
|
adam@0
|
4544 CFLAGS="-g -O2"
|
adam@0
|
4545 else
|
adam@0
|
4546 CFLAGS="-g"
|
adam@0
|
4547 fi
|
adam@0
|
4548 else
|
adam@0
|
4549 if test "$GCC" = yes; then
|
adam@0
|
4550 CFLAGS="-O2"
|
adam@0
|
4551 else
|
adam@0
|
4552 CFLAGS=
|
adam@0
|
4553 fi
|
adam@0
|
4554 fi
|
adam@0
|
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
adam@0
|
4556 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
adam@12
|
4557 if ${ac_cv_prog_cc_c89+:} false; then :
|
adam@0
|
4558 $as_echo_n "(cached) " >&6
|
adam@0
|
4559 else
|
adam@0
|
4560 ac_cv_prog_cc_c89=no
|
adam@0
|
4561 ac_save_CC=$CC
|
adam@0
|
4562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
4563 /* end confdefs.h. */
|
adam@0
|
4564 #include <stdarg.h>
|
adam@0
|
4565 #include <stdio.h>
|
adam@0
|
4566 #include <sys/types.h>
|
adam@0
|
4567 #include <sys/stat.h>
|
adam@0
|
4568 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
adam@0
|
4569 struct buf { int x; };
|
adam@0
|
4570 FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
adam@0
|
4571 static char *e (p, i)
|
adam@0
|
4572 char **p;
|
adam@0
|
4573 int i;
|
adam@0
|
4574 {
|
adam@0
|
4575 return p[i];
|
adam@0
|
4576 }
|
adam@0
|
4577 static char *f (char * (*g) (char **, int), char **p, ...)
|
adam@0
|
4578 {
|
adam@0
|
4579 char *s;
|
adam@0
|
4580 va_list v;
|
adam@0
|
4581 va_start (v,p);
|
adam@0
|
4582 s = g (p, va_arg (v,int));
|
adam@0
|
4583 va_end (v);
|
adam@0
|
4584 return s;
|
adam@0
|
4585 }
|
adam@0
|
4586
|
adam@0
|
4587 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
adam@0
|
4588 function prototypes and stuff, but not '\xHH' hex character constants.
|
adam@0
|
4589 These don't provoke an error unfortunately, instead are silently treated
|
adam@0
|
4590 as 'x'. The following induces an error, until -std is added to get
|
adam@0
|
4591 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
adam@0
|
4592 array size at least. It's necessary to write '\x00'==0 to get something
|
adam@0
|
4593 that's true only with -std. */
|
adam@0
|
4594 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
adam@0
|
4595
|
adam@0
|
4596 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
adam@0
|
4597 inside strings and character constants. */
|
adam@0
|
4598 #define FOO(x) 'x'
|
adam@0
|
4599 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
adam@0
|
4600
|
adam@0
|
4601 int test (int i, double x);
|
adam@0
|
4602 struct s1 {int (*f) (int a);};
|
adam@0
|
4603 struct s2 {int (*f) (double a);};
|
adam@0
|
4604 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
adam@0
|
4605 int argc;
|
adam@0
|
4606 char **argv;
|
adam@0
|
4607 int
|
adam@0
|
4608 main ()
|
adam@0
|
4609 {
|
adam@0
|
4610 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
adam@0
|
4611 ;
|
adam@0
|
4612 return 0;
|
adam@0
|
4613 }
|
adam@0
|
4614 _ACEOF
|
adam@0
|
4615 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
adam@0
|
4616 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
adam@0
|
4617 do
|
adam@0
|
4618 CC="$ac_save_CC $ac_arg"
|
adam@0
|
4619 if ac_fn_c_try_compile "$LINENO"; then :
|
adam@0
|
4620 ac_cv_prog_cc_c89=$ac_arg
|
adam@0
|
4621 fi
|
adam@0
|
4622 rm -f core conftest.err conftest.$ac_objext
|
adam@0
|
4623 test "x$ac_cv_prog_cc_c89" != "xno" && break
|
adam@0
|
4624 done
|
adam@0
|
4625 rm -f conftest.$ac_ext
|
adam@0
|
4626 CC=$ac_save_CC
|
adam@0
|
4627
|
adam@0
|
4628 fi
|
adam@0
|
4629 # AC_CACHE_VAL
|
adam@0
|
4630 case "x$ac_cv_prog_cc_c89" in
|
adam@0
|
4631 x)
|
adam@0
|
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
adam@0
|
4633 $as_echo "none needed" >&6; } ;;
|
adam@0
|
4634 xno)
|
adam@0
|
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
adam@0
|
4636 $as_echo "unsupported" >&6; } ;;
|
adam@0
|
4637 *)
|
adam@0
|
4638 CC="$CC $ac_cv_prog_cc_c89"
|
adam@0
|
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
adam@0
|
4640 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
adam@0
|
4641 esac
|
adam@0
|
4642 if test "x$ac_cv_prog_cc_c89" != xno; then :
|
adam@0
|
4643
|
adam@0
|
4644 fi
|
adam@0
|
4645
|
adam@0
|
4646 ac_ext=c
|
adam@0
|
4647 ac_cpp='$CPP $CPPFLAGS'
|
adam@0
|
4648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
adam@0
|
4649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
adam@0
|
4650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
adam@0
|
4651
|
adam@0
|
4652 case `pwd` in
|
adam@0
|
4653 *\ * | *\ *)
|
adam@0
|
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
|
adam@0
|
4655 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
|
adam@0
|
4656 esac
|
adam@0
|
4657
|
adam@0
|
4658
|
adam@0
|
4659
|
adam@12
|
4660 macro_version='2.4'
|
adam@12
|
4661 macro_revision='1.3293'
|
adam@0
|
4662
|
adam@0
|
4663
|
adam@0
|
4664
|
adam@0
|
4665
|
adam@0
|
4666
|
adam@0
|
4667
|
adam@0
|
4668
|
adam@0
|
4669
|
adam@0
|
4670
|
adam@0
|
4671
|
adam@0
|
4672
|
adam@0
|
4673
|
adam@0
|
4674
|
adam@0
|
4675 ltmain="$ac_aux_dir/ltmain.sh"
|
adam@0
|
4676
|
adam@0
|
4677 # Make sure we can run config.sub.
|
adam@0
|
4678 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
|
adam@0
|
4679 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
|
adam@0
|
4680
|
adam@0
|
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
|
adam@0
|
4682 $as_echo_n "checking build system type... " >&6; }
|
adam@12
|
4683 if ${ac_cv_build+:} false; then :
|
adam@0
|
4684 $as_echo_n "(cached) " >&6
|
adam@0
|
4685 else
|
adam@0
|
4686 ac_build_alias=$build_alias
|
adam@0
|
4687 test "x$ac_build_alias" = x &&
|
adam@0
|
4688 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
|
adam@0
|
4689 test "x$ac_build_alias" = x &&
|
adam@0
|
4690 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
|
adam@0
|
4691 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
|
adam@0
|
4692 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
|
adam@0
|
4693
|
adam@0
|
4694 fi
|
adam@0
|
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
|
adam@0
|
4696 $as_echo "$ac_cv_build" >&6; }
|
adam@0
|
4697 case $ac_cv_build in
|
adam@0
|
4698 *-*-*) ;;
|
adam@12
|
4699 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
|
adam@0
|
4700 esac
|
adam@0
|
4701 build=$ac_cv_build
|
adam@0
|
4702 ac_save_IFS=$IFS; IFS='-'
|
adam@0
|
4703 set x $ac_cv_build
|
adam@0
|
4704 shift
|
adam@0
|
4705 build_cpu=$1
|
adam@0
|
4706 build_vendor=$2
|
adam@0
|
4707 shift; shift
|
adam@0
|
4708 # Remember, the first character of IFS is used to create $*,
|
adam@0
|
4709 # except with old shells:
|
adam@0
|
4710 build_os=$*
|
adam@0
|
4711 IFS=$ac_save_IFS
|
adam@0
|
4712 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
|
adam@0
|
4713
|
adam@0
|
4714
|
adam@0
|
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
|
adam@0
|
4716 $as_echo_n "checking host system type... " >&6; }
|
adam@12
|
4717 if ${ac_cv_host+:} false; then :
|
adam@0
|
4718 $as_echo_n "(cached) " >&6
|
adam@0
|
4719 else
|
adam@0
|
4720 if test "x$host_alias" = x; then
|
adam@0
|
4721 ac_cv_host=$ac_cv_build
|
adam@0
|
4722 else
|
adam@0
|
4723 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
|
adam@0
|
4724 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
|
adam@0
|
4725 fi
|
adam@0
|
4726
|
adam@0
|
4727 fi
|
adam@0
|
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
|
adam@0
|
4729 $as_echo "$ac_cv_host" >&6; }
|
adam@0
|
4730 case $ac_cv_host in
|
adam@0
|
4731 *-*-*) ;;
|
adam@12
|
4732 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
|
adam@0
|
4733 esac
|
adam@0
|
4734 host=$ac_cv_host
|
adam@0
|
4735 ac_save_IFS=$IFS; IFS='-'
|
adam@0
|
4736 set x $ac_cv_host
|
adam@0
|
4737 shift
|
adam@0
|
4738 host_cpu=$1
|
adam@0
|
4739 host_vendor=$2
|
adam@0
|
4740 shift; shift
|
adam@0
|
4741 # Remember, the first character of IFS is used to create $*,
|
adam@0
|
4742 # except with old shells:
|
adam@0
|
4743 host_os=$*
|
adam@0
|
4744 IFS=$ac_save_IFS
|
adam@0
|
4745 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
adam@0
|
4746
|
adam@0
|
4747
|
adam@12
|
4748 # Backslashify metacharacters that are still active within
|
adam@12
|
4749 # double-quoted strings.
|
adam@12
|
4750 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
|
adam@12
|
4751
|
adam@12
|
4752 # Same as above, but do not quote variable references.
|
adam@12
|
4753 double_quote_subst='s/\(["`\\]\)/\\\1/g'
|
adam@12
|
4754
|
adam@12
|
4755 # Sed substitution to delay expansion of an escaped shell variable in a
|
adam@12
|
4756 # double_quote_subst'ed string.
|
adam@12
|
4757 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
|
adam@12
|
4758
|
adam@12
|
4759 # Sed substitution to delay expansion of an escaped single quote.
|
adam@12
|
4760 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
|
adam@12
|
4761
|
adam@12
|
4762 # Sed substitution to avoid accidental globbing in evaled expressions
|
adam@12
|
4763 no_glob_subst='s/\*/\\\*/g'
|
adam@12
|
4764
|
adam@12
|
4765 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
adam@12
|
4766 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
|
adam@12
|
4767 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
|
adam@12
|
4768
|
adam@12
|
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
|
adam@12
|
4770 $as_echo_n "checking how to print strings... " >&6; }
|
adam@12
|
4771 # Test print first, because it will be a builtin if present.
|
adam@12
|
4772 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
|
adam@12
|
4773 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
|
adam@12
|
4774 ECHO='print -r --'
|
adam@12
|
4775 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
|
adam@12
|
4776 ECHO='printf %s\n'
|
adam@12
|
4777 else
|
adam@12
|
4778 # Use this function as a fallback that always works.
|
adam@12
|
4779 func_fallback_echo ()
|
adam@12
|
4780 {
|
adam@12
|
4781 eval 'cat <<_LTECHO_EOF
|
adam@12
|
4782 $1
|
adam@12
|
4783 _LTECHO_EOF'
|
adam@12
|
4784 }
|
adam@12
|
4785 ECHO='func_fallback_echo'
|
adam@12
|
4786 fi
|
adam@12
|
4787
|
adam@12
|
4788 # func_echo_all arg...
|
adam@12
|
4789 # Invoke $ECHO with all args, space-separated.
|
adam@12
|
4790 func_echo_all ()
|
adam@12
|
4791 {
|
adam@12
|
4792 $ECHO ""
|
adam@12
|
4793 }
|
adam@12
|
4794
|
adam@12
|
4795 case "$ECHO" in
|
adam@12
|
4796 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
|
adam@12
|
4797 $as_echo "printf" >&6; } ;;
|
adam@12
|
4798 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
|
adam@12
|
4799 $as_echo "print -r" >&6; } ;;
|
adam@12
|
4800 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
|
adam@12
|
4801 $as_echo "cat" >&6; } ;;
|
adam@12
|
4802 esac
|
adam@12
|
4803
|
adam@12
|
4804
|
adam@12
|
4805
|
adam@12
|
4806
|
adam@12
|
4807
|
adam@12
|
4808
|
adam@12
|
4809
|
adam@12
|
4810
|
adam@12
|
4811
|
adam@12
|
4812
|
adam@12
|
4813
|
adam@12
|
4814
|
adam@12
|
4815
|
adam@12
|
4816
|
adam@0
|
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
|
adam@0
|
4818 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
|
adam@12
|
4819 if ${ac_cv_path_SED+:} false; then :
|
adam@0
|
4820 $as_echo_n "(cached) " >&6
|
adam@0
|
4821 else
|
adam@0
|
4822 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
|
adam@0
|
4823 for ac_i in 1 2 3 4 5 6 7; do
|
adam@0
|
4824 ac_script="$ac_script$as_nl$ac_script"
|
adam@0
|
4825 done
|
adam@0
|
4826 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
|
adam@0
|
4827 { ac_script=; unset ac_script;}
|
adam@0
|
4828 if test -z "$SED"; then
|
adam@0
|
4829 ac_path_SED_found=false
|
adam@0
|
4830 # Loop through the user's path and test for each of PROGNAME-LIST
|
adam@0
|
4831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
4832 for as_dir in $PATH
|
adam@0
|
4833 do
|
adam@0
|
4834 IFS=$as_save_IFS
|
adam@0
|
4835 test -z "$as_dir" && as_dir=.
|
adam@0
|
4836 for ac_prog in sed gsed; do
|
adam@0
|
4837 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
4838 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
|
adam@0
|
4839 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
|
adam@0
|
4840 # Check for GNU ac_path_SED and select it if it is found.
|
adam@0
|
4841 # Check for GNU $ac_path_SED
|
adam@0
|
4842 case `"$ac_path_SED" --version 2>&1` in
|
adam@0
|
4843 *GNU*)
|
adam@0
|
4844 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
|
adam@0
|
4845 *)
|
adam@0
|
4846 ac_count=0
|
adam@0
|
4847 $as_echo_n 0123456789 >"conftest.in"
|
adam@0
|
4848 while :
|
adam@0
|
4849 do
|
adam@0
|
4850 cat "conftest.in" "conftest.in" >"conftest.tmp"
|
adam@0
|
4851 mv "conftest.tmp" "conftest.in"
|
adam@0
|
4852 cp "conftest.in" "conftest.nl"
|
adam@0
|
4853 $as_echo '' >> "conftest.nl"
|
adam@0
|
4854 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
adam@0
|
4855 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
adam@0
|
4856 as_fn_arith $ac_count + 1 && ac_count=$as_val
|
adam@0
|
4857 if test $ac_count -gt ${ac_path_SED_max-0}; then
|
adam@0
|
4858 # Best one so far, save it but keep looking for a better one
|
adam@0
|
4859 ac_cv_path_SED="$ac_path_SED"
|
adam@0
|
4860 ac_path_SED_max=$ac_count
|
adam@0
|
4861 fi
|
adam@0
|
4862 # 10*(2^10) chars as input seems more than enough
|
adam@0
|
4863 test $ac_count -gt 10 && break
|
adam@0
|
4864 done
|
adam@0
|
4865 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
adam@0
|
4866 esac
|
adam@0
|
4867
|
adam@0
|
4868 $ac_path_SED_found && break 3
|
adam@0
|
4869 done
|
adam@0
|
4870 done
|
adam@0
|
4871 done
|
adam@0
|
4872 IFS=$as_save_IFS
|
adam@0
|
4873 if test -z "$ac_cv_path_SED"; then
|
adam@0
|
4874 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
|
adam@0
|
4875 fi
|
adam@0
|
4876 else
|
adam@0
|
4877 ac_cv_path_SED=$SED
|
adam@0
|
4878 fi
|
adam@0
|
4879
|
adam@0
|
4880 fi
|
adam@0
|
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
|
adam@0
|
4882 $as_echo "$ac_cv_path_SED" >&6; }
|
adam@0
|
4883 SED="$ac_cv_path_SED"
|
adam@0
|
4884 rm -f conftest.sed
|
adam@0
|
4885
|
adam@0
|
4886 test -z "$SED" && SED=sed
|
adam@0
|
4887 Xsed="$SED -e 1s/^X//"
|
adam@0
|
4888
|
adam@0
|
4889
|
adam@0
|
4890
|
adam@0
|
4891
|
adam@0
|
4892
|
adam@0
|
4893
|
adam@0
|
4894
|
adam@0
|
4895
|
adam@0
|
4896
|
adam@0
|
4897
|
adam@0
|
4898
|
adam@0
|
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
|
adam@0
|
4900 $as_echo_n "checking for fgrep... " >&6; }
|
adam@12
|
4901 if ${ac_cv_path_FGREP+:} false; then :
|
adam@0
|
4902 $as_echo_n "(cached) " >&6
|
adam@0
|
4903 else
|
adam@0
|
4904 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
|
adam@0
|
4905 then ac_cv_path_FGREP="$GREP -F"
|
adam@0
|
4906 else
|
adam@0
|
4907 if test -z "$FGREP"; then
|
adam@0
|
4908 ac_path_FGREP_found=false
|
adam@0
|
4909 # Loop through the user's path and test for each of PROGNAME-LIST
|
adam@0
|
4910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
4911 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
adam@0
|
4912 do
|
adam@0
|
4913 IFS=$as_save_IFS
|
adam@0
|
4914 test -z "$as_dir" && as_dir=.
|
adam@0
|
4915 for ac_prog in fgrep; do
|
adam@0
|
4916 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
4917 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
|
adam@0
|
4918 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
|
adam@0
|
4919 # Check for GNU ac_path_FGREP and select it if it is found.
|
adam@0
|
4920 # Check for GNU $ac_path_FGREP
|
adam@0
|
4921 case `"$ac_path_FGREP" --version 2>&1` in
|
adam@0
|
4922 *GNU*)
|
adam@0
|
4923 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
|
adam@0
|
4924 *)
|
adam@0
|
4925 ac_count=0
|
adam@0
|
4926 $as_echo_n 0123456789 >"conftest.in"
|
adam@0
|
4927 while :
|
adam@0
|
4928 do
|
adam@0
|
4929 cat "conftest.in" "conftest.in" >"conftest.tmp"
|
adam@0
|
4930 mv "conftest.tmp" "conftest.in"
|
adam@0
|
4931 cp "conftest.in" "conftest.nl"
|
adam@0
|
4932 $as_echo 'FGREP' >> "conftest.nl"
|
adam@0
|
4933 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
adam@0
|
4934 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
adam@0
|
4935 as_fn_arith $ac_count + 1 && ac_count=$as_val
|
adam@0
|
4936 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
|
adam@0
|
4937 # Best one so far, save it but keep looking for a better one
|
adam@0
|
4938 ac_cv_path_FGREP="$ac_path_FGREP"
|
adam@0
|
4939 ac_path_FGREP_max=$ac_count
|
adam@0
|
4940 fi
|
adam@0
|
4941 # 10*(2^10) chars as input seems more than enough
|
adam@0
|
4942 test $ac_count -gt 10 && break
|
adam@0
|
4943 done
|
adam@0
|
4944 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
adam@0
|
4945 esac
|
adam@0
|
4946
|
adam@0
|
4947 $ac_path_FGREP_found && break 3
|
adam@0
|
4948 done
|
adam@0
|
4949 done
|
adam@0
|
4950 done
|
adam@0
|
4951 IFS=$as_save_IFS
|
adam@0
|
4952 if test -z "$ac_cv_path_FGREP"; then
|
adam@0
|
4953 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
adam@0
|
4954 fi
|
adam@0
|
4955 else
|
adam@0
|
4956 ac_cv_path_FGREP=$FGREP
|
adam@0
|
4957 fi
|
adam@0
|
4958
|
adam@0
|
4959 fi
|
adam@0
|
4960 fi
|
adam@0
|
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
|
adam@0
|
4962 $as_echo "$ac_cv_path_FGREP" >&6; }
|
adam@0
|
4963 FGREP="$ac_cv_path_FGREP"
|
adam@0
|
4964
|
adam@0
|
4965
|
adam@0
|
4966 test -z "$GREP" && GREP=grep
|
adam@0
|
4967
|
adam@0
|
4968
|
adam@0
|
4969
|
adam@0
|
4970
|
adam@0
|
4971
|
adam@0
|
4972
|
adam@0
|
4973
|
adam@0
|
4974
|
adam@0
|
4975
|
adam@0
|
4976
|
adam@0
|
4977
|
adam@0
|
4978
|
adam@0
|
4979
|
adam@0
|
4980
|
adam@0
|
4981
|
adam@0
|
4982
|
adam@0
|
4983
|
adam@0
|
4984
|
adam@0
|
4985
|
adam@0
|
4986 # Check whether --with-gnu-ld was given.
|
adam@0
|
4987 if test "${with_gnu_ld+set}" = set; then :
|
adam@0
|
4988 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
|
adam@0
|
4989 else
|
adam@0
|
4990 with_gnu_ld=no
|
adam@0
|
4991 fi
|
adam@0
|
4992
|
adam@0
|
4993 ac_prog=ld
|
adam@0
|
4994 if test "$GCC" = yes; then
|
adam@0
|
4995 # Check if gcc -print-prog-name=ld gives a path.
|
adam@0
|
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
|
adam@0
|
4997 $as_echo_n "checking for ld used by $CC... " >&6; }
|
adam@0
|
4998 case $host in
|
adam@0
|
4999 *-*-mingw*)
|
adam@0
|
5000 # gcc leaves a trailing carriage return which upsets mingw
|
adam@0
|
5001 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
|
adam@0
|
5002 *)
|
adam@0
|
5003 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
|
adam@0
|
5004 esac
|
adam@0
|
5005 case $ac_prog in
|
adam@0
|
5006 # Accept absolute paths.
|
adam@0
|
5007 [\\/]* | ?:[\\/]*)
|
adam@0
|
5008 re_direlt='/[^/][^/]*/\.\./'
|
adam@0
|
5009 # Canonicalize the pathname of ld
|
adam@0
|
5010 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
|
adam@0
|
5011 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
|
adam@0
|
5012 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
|
adam@0
|
5013 done
|
adam@0
|
5014 test -z "$LD" && LD="$ac_prog"
|
adam@0
|
5015 ;;
|
adam@0
|
5016 "")
|
adam@0
|
5017 # If it fails, then pretend we aren't using GCC.
|
adam@0
|
5018 ac_prog=ld
|
adam@0
|
5019 ;;
|
adam@0
|
5020 *)
|
adam@0
|
5021 # If it is relative, then search for the first ld in PATH.
|
adam@0
|
5022 with_gnu_ld=unknown
|
adam@0
|
5023 ;;
|
adam@0
|
5024 esac
|
adam@0
|
5025 elif test "$with_gnu_ld" = yes; then
|
adam@0
|
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
|
adam@0
|
5027 $as_echo_n "checking for GNU ld... " >&6; }
|
adam@0
|
5028 else
|
adam@0
|
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
|
adam@0
|
5030 $as_echo_n "checking for non-GNU ld... " >&6; }
|
adam@0
|
5031 fi
|
adam@12
|
5032 if ${lt_cv_path_LD+:} false; then :
|
adam@0
|
5033 $as_echo_n "(cached) " >&6
|
adam@0
|
5034 else
|
adam@0
|
5035 if test -z "$LD"; then
|
adam@0
|
5036 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
|
adam@0
|
5037 for ac_dir in $PATH; do
|
adam@0
|
5038 IFS="$lt_save_ifs"
|
adam@0
|
5039 test -z "$ac_dir" && ac_dir=.
|
adam@0
|
5040 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
|
adam@0
|
5041 lt_cv_path_LD="$ac_dir/$ac_prog"
|
adam@0
|
5042 # Check to see if the program is GNU ld. I'd rather use --version,
|
adam@0
|
5043 # but apparently some variants of GNU ld only accept -v.
|
adam@0
|
5044 # Break only if it was the GNU/non-GNU ld that we prefer.
|
adam@0
|
5045 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
|
adam@0
|
5046 *GNU* | *'with BFD'*)
|
adam@0
|
5047 test "$with_gnu_ld" != no && break
|
adam@0
|
5048 ;;
|
adam@0
|
5049 *)
|
adam@0
|
5050 test "$with_gnu_ld" != yes && break
|
adam@0
|
5051 ;;
|
adam@0
|
5052 esac
|
adam@0
|
5053 fi
|
adam@0
|
5054 done
|
adam@0
|
5055 IFS="$lt_save_ifs"
|
adam@0
|
5056 else
|
adam@0
|
5057 lt_cv_path_LD="$LD" # Let the user override the test with a path.
|
adam@0
|
5058 fi
|
adam@0
|
5059 fi
|
adam@0
|
5060
|
adam@0
|
5061 LD="$lt_cv_path_LD"
|
adam@0
|
5062 if test -n "$LD"; then
|
adam@0
|
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
|
adam@0
|
5064 $as_echo "$LD" >&6; }
|
adam@0
|
5065 else
|
adam@0
|
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
5067 $as_echo "no" >&6; }
|
adam@0
|
5068 fi
|
adam@0
|
5069 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
|
adam@0
|
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
|
adam@0
|
5071 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
|
adam@12
|
5072 if ${lt_cv_prog_gnu_ld+:} false; then :
|
adam@0
|
5073 $as_echo_n "(cached) " >&6
|
adam@0
|
5074 else
|
adam@0
|
5075 # I'd rather use --version here, but apparently some GNU lds only accept -v.
|
adam@0
|
5076 case `$LD -v 2>&1 </dev/null` in
|
adam@0
|
5077 *GNU* | *'with BFD'*)
|
adam@0
|
5078 lt_cv_prog_gnu_ld=yes
|
adam@0
|
5079 ;;
|
adam@0
|
5080 *)
|
adam@0
|
5081 lt_cv_prog_gnu_ld=no
|
adam@0
|
5082 ;;
|
adam@0
|
5083 esac
|
adam@0
|
5084 fi
|
adam@0
|
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
|
adam@0
|
5086 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
|
adam@0
|
5087 with_gnu_ld=$lt_cv_prog_gnu_ld
|
adam@0
|
5088
|
adam@0
|
5089
|
adam@0
|
5090
|
adam@0
|
5091
|
adam@0
|
5092
|
adam@0
|
5093
|
adam@0
|
5094
|
adam@0
|
5095
|
adam@0
|
5096
|
adam@0
|
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
|
adam@0
|
5098 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
|
adam@12
|
5099 if ${lt_cv_path_NM+:} false; then :
|
adam@0
|
5100 $as_echo_n "(cached) " >&6
|
adam@0
|
5101 else
|
adam@0
|
5102 if test -n "$NM"; then
|
adam@0
|
5103 # Let the user override the test.
|
adam@0
|
5104 lt_cv_path_NM="$NM"
|
adam@0
|
5105 else
|
adam@0
|
5106 lt_nm_to_check="${ac_tool_prefix}nm"
|
adam@0
|
5107 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
|
adam@0
|
5108 lt_nm_to_check="$lt_nm_to_check nm"
|
adam@0
|
5109 fi
|
adam@0
|
5110 for lt_tmp_nm in $lt_nm_to_check; do
|
adam@0
|
5111 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
|
adam@0
|
5112 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
|
adam@0
|
5113 IFS="$lt_save_ifs"
|
adam@0
|
5114 test -z "$ac_dir" && ac_dir=.
|
adam@0
|
5115 tmp_nm="$ac_dir/$lt_tmp_nm"
|
adam@0
|
5116 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
|
adam@0
|
5117 # Check to see if the nm accepts a BSD-compat flag.
|
adam@0
|
5118 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
|
adam@0
|
5119 # nm: unknown option "B" ignored
|
adam@0
|
5120 # Tru64's nm complains that /dev/null is an invalid object file
|
adam@0
|
5121 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
|
adam@0
|
5122 */dev/null* | *'Invalid file or object type'*)
|
adam@0
|
5123 lt_cv_path_NM="$tmp_nm -B"
|
adam@0
|
5124 break
|
adam@0
|
5125 ;;
|
adam@0
|
5126 *)
|
adam@0
|
5127 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
|
adam@0
|
5128 */dev/null*)
|
adam@0
|
5129 lt_cv_path_NM="$tmp_nm -p"
|
adam@0
|
5130 break
|
adam@0
|
5131 ;;
|
adam@0
|
5132 *)
|
adam@0
|
5133 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
|
adam@0
|
5134 continue # so that we can try to find one that supports BSD flags
|
adam@0
|
5135 ;;
|
adam@0
|
5136 esac
|
adam@0
|
5137 ;;
|
adam@0
|
5138 esac
|
adam@0
|
5139 fi
|
adam@0
|
5140 done
|
adam@0
|
5141 IFS="$lt_save_ifs"
|
adam@0
|
5142 done
|
adam@0
|
5143 : ${lt_cv_path_NM=no}
|
adam@0
|
5144 fi
|
adam@0
|
5145 fi
|
adam@0
|
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
|
adam@0
|
5147 $as_echo "$lt_cv_path_NM" >&6; }
|
adam@0
|
5148 if test "$lt_cv_path_NM" != "no"; then
|
adam@0
|
5149 NM="$lt_cv_path_NM"
|
adam@0
|
5150 else
|
adam@0
|
5151 # Didn't find any BSD compatible name lister, look for dumpbin.
|
adam@12
|
5152 if test -n "$DUMPBIN"; then :
|
adam@12
|
5153 # Let the user override the test.
|
adam@12
|
5154 else
|
adam@12
|
5155 if test -n "$ac_tool_prefix"; then
|
adam@12
|
5156 for ac_prog in dumpbin "link -dump"
|
adam@0
|
5157 do
|
adam@0
|
5158 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
adam@0
|
5159 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
adam@0
|
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
5161 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
5162 if ${ac_cv_prog_DUMPBIN+:} false; then :
|
adam@0
|
5163 $as_echo_n "(cached) " >&6
|
adam@0
|
5164 else
|
adam@0
|
5165 if test -n "$DUMPBIN"; then
|
adam@0
|
5166 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
|
adam@0
|
5167 else
|
adam@0
|
5168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
5169 for as_dir in $PATH
|
adam@0
|
5170 do
|
adam@0
|
5171 IFS=$as_save_IFS
|
adam@0
|
5172 test -z "$as_dir" && as_dir=.
|
adam@0
|
5173 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
5174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
5175 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
|
adam@0
|
5176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
5177 break 2
|
adam@0
|
5178 fi
|
adam@0
|
5179 done
|
adam@0
|
5180 done
|
adam@0
|
5181 IFS=$as_save_IFS
|
adam@0
|
5182
|
adam@0
|
5183 fi
|
adam@0
|
5184 fi
|
adam@0
|
5185 DUMPBIN=$ac_cv_prog_DUMPBIN
|
adam@0
|
5186 if test -n "$DUMPBIN"; then
|
adam@0
|
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
|
adam@0
|
5188 $as_echo "$DUMPBIN" >&6; }
|
adam@0
|
5189 else
|
adam@0
|
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
5191 $as_echo "no" >&6; }
|
adam@0
|
5192 fi
|
adam@0
|
5193
|
adam@0
|
5194
|
adam@0
|
5195 test -n "$DUMPBIN" && break
|
adam@0
|
5196 done
|
adam@0
|
5197 fi
|
adam@0
|
5198 if test -z "$DUMPBIN"; then
|
adam@0
|
5199 ac_ct_DUMPBIN=$DUMPBIN
|
adam@12
|
5200 for ac_prog in dumpbin "link -dump"
|
adam@0
|
5201 do
|
adam@0
|
5202 # Extract the first word of "$ac_prog", so it can be a program name with args.
|
adam@0
|
5203 set dummy $ac_prog; ac_word=$2
|
adam@0
|
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
5205 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
5206 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
|
adam@0
|
5207 $as_echo_n "(cached) " >&6
|
adam@0
|
5208 else
|
adam@0
|
5209 if test -n "$ac_ct_DUMPBIN"; then
|
adam@0
|
5210 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
|
adam@0
|
5211 else
|
adam@0
|
5212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
5213 for as_dir in $PATH
|
adam@0
|
5214 do
|
adam@0
|
5215 IFS=$as_save_IFS
|
adam@0
|
5216 test -z "$as_dir" && as_dir=.
|
adam@0
|
5217 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
5218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
5219 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
|
adam@0
|
5220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
5221 break 2
|
adam@0
|
5222 fi
|
adam@0
|
5223 done
|
adam@0
|
5224 done
|
adam@0
|
5225 IFS=$as_save_IFS
|
adam@0
|
5226
|
adam@0
|
5227 fi
|
adam@0
|
5228 fi
|
adam@0
|
5229 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
|
adam@0
|
5230 if test -n "$ac_ct_DUMPBIN"; then
|
adam@0
|
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
|
adam@0
|
5232 $as_echo "$ac_ct_DUMPBIN" >&6; }
|
adam@0
|
5233 else
|
adam@0
|
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
5235 $as_echo "no" >&6; }
|
adam@0
|
5236 fi
|
adam@0
|
5237
|
adam@0
|
5238
|
adam@0
|
5239 test -n "$ac_ct_DUMPBIN" && break
|
adam@0
|
5240 done
|
adam@0
|
5241
|
adam@0
|
5242 if test "x$ac_ct_DUMPBIN" = x; then
|
adam@0
|
5243 DUMPBIN=":"
|
adam@0
|
5244 else
|
adam@0
|
5245 case $cross_compiling:$ac_tool_warned in
|
adam@0
|
5246 yes:)
|
adam@0
|
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
adam@0
|
5248 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
adam@0
|
5249 ac_tool_warned=yes ;;
|
adam@0
|
5250 esac
|
adam@0
|
5251 DUMPBIN=$ac_ct_DUMPBIN
|
adam@0
|
5252 fi
|
adam@0
|
5253 fi
|
adam@0
|
5254
|
adam@12
|
5255 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
|
adam@12
|
5256 *COFF*)
|
adam@12
|
5257 DUMPBIN="$DUMPBIN -symbols"
|
adam@12
|
5258 ;;
|
adam@12
|
5259 *)
|
adam@12
|
5260 DUMPBIN=:
|
adam@12
|
5261 ;;
|
adam@12
|
5262 esac
|
adam@12
|
5263 fi
|
adam@0
|
5264
|
adam@0
|
5265 if test "$DUMPBIN" != ":"; then
|
adam@0
|
5266 NM="$DUMPBIN"
|
adam@0
|
5267 fi
|
adam@0
|
5268 fi
|
adam@0
|
5269 test -z "$NM" && NM=nm
|
adam@0
|
5270
|
adam@0
|
5271
|
adam@0
|
5272
|
adam@0
|
5273
|
adam@0
|
5274
|
adam@0
|
5275
|
adam@0
|
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
|
adam@0
|
5277 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
|
adam@12
|
5278 if ${lt_cv_nm_interface+:} false; then :
|
adam@0
|
5279 $as_echo_n "(cached) " >&6
|
adam@0
|
5280 else
|
adam@0
|
5281 lt_cv_nm_interface="BSD nm"
|
adam@0
|
5282 echo "int some_variable = 0;" > conftest.$ac_ext
|
adam@12
|
5283 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
|
adam@0
|
5284 (eval "$ac_compile" 2>conftest.err)
|
adam@0
|
5285 cat conftest.err >&5
|
adam@12
|
5286 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
|
adam@0
|
5287 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
|
adam@0
|
5288 cat conftest.err >&5
|
adam@12
|
5289 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
|
adam@0
|
5290 cat conftest.out >&5
|
adam@0
|
5291 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
|
adam@0
|
5292 lt_cv_nm_interface="MS dumpbin"
|
adam@0
|
5293 fi
|
adam@0
|
5294 rm -f conftest*
|
adam@0
|
5295 fi
|
adam@0
|
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
|
adam@0
|
5297 $as_echo "$lt_cv_nm_interface" >&6; }
|
adam@0
|
5298
|
adam@0
|
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
|
adam@0
|
5300 $as_echo_n "checking whether ln -s works... " >&6; }
|
adam@0
|
5301 LN_S=$as_ln_s
|
adam@0
|
5302 if test "$LN_S" = "ln -s"; then
|
adam@0
|
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
adam@0
|
5304 $as_echo "yes" >&6; }
|
adam@0
|
5305 else
|
adam@0
|
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
|
adam@0
|
5307 $as_echo "no, using $LN_S" >&6; }
|
adam@0
|
5308 fi
|
adam@0
|
5309
|
adam@0
|
5310 # find the maximum length of command line arguments
|
adam@0
|
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
|
adam@0
|
5312 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
|
adam@12
|
5313 if ${lt_cv_sys_max_cmd_len+:} false; then :
|
adam@0
|
5314 $as_echo_n "(cached) " >&6
|
adam@0
|
5315 else
|
adam@0
|
5316 i=0
|
adam@0
|
5317 teststring="ABCD"
|
adam@0
|
5318
|
adam@0
|
5319 case $build_os in
|
adam@0
|
5320 msdosdjgpp*)
|
adam@0
|
5321 # On DJGPP, this test can blow up pretty badly due to problems in libc
|
adam@0
|
5322 # (any single argument exceeding 2000 bytes causes a buffer overrun
|
adam@0
|
5323 # during glob expansion). Even if it were fixed, the result of this
|
adam@0
|
5324 # check would be larger than it should be.
|
adam@0
|
5325 lt_cv_sys_max_cmd_len=12288; # 12K is about right
|
adam@0
|
5326 ;;
|
adam@0
|
5327
|
adam@0
|
5328 gnu*)
|
adam@0
|
5329 # Under GNU Hurd, this test is not required because there is
|
adam@0
|
5330 # no limit to the length of command line arguments.
|
adam@0
|
5331 # Libtool will interpret -1 as no limit whatsoever
|
adam@0
|
5332 lt_cv_sys_max_cmd_len=-1;
|
adam@0
|
5333 ;;
|
adam@0
|
5334
|
adam@0
|
5335 cygwin* | mingw* | cegcc*)
|
adam@0
|
5336 # On Win9x/ME, this test blows up -- it succeeds, but takes
|
adam@0
|
5337 # about 5 minutes as the teststring grows exponentially.
|
adam@0
|
5338 # Worse, since 9x/ME are not pre-emptively multitasking,
|
adam@0
|
5339 # you end up with a "frozen" computer, even though with patience
|
adam@0
|
5340 # the test eventually succeeds (with a max line length of 256k).
|
adam@0
|
5341 # Instead, let's just punt: use the minimum linelength reported by
|
adam@0
|
5342 # all of the supported platforms: 8192 (on NT/2K/XP).
|
adam@0
|
5343 lt_cv_sys_max_cmd_len=8192;
|
adam@0
|
5344 ;;
|
adam@0
|
5345
|
adam@12
|
5346 mint*)
|
adam@12
|
5347 # On MiNT this can take a long time and run out of memory.
|
adam@12
|
5348 lt_cv_sys_max_cmd_len=8192;
|
adam@12
|
5349 ;;
|
adam@12
|
5350
|
adam@0
|
5351 amigaos*)
|
adam@0
|
5352 # On AmigaOS with pdksh, this test takes hours, literally.
|
adam@0
|
5353 # So we just punt and use a minimum line length of 8192.
|
adam@0
|
5354 lt_cv_sys_max_cmd_len=8192;
|
adam@0
|
5355 ;;
|
adam@0
|
5356
|
adam@0
|
5357 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
|
adam@0
|
5358 # This has been around since 386BSD, at least. Likely further.
|
adam@0
|
5359 if test -x /sbin/sysctl; then
|
adam@0
|
5360 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
|
adam@0
|
5361 elif test -x /usr/sbin/sysctl; then
|
adam@0
|
5362 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
|
adam@0
|
5363 else
|
adam@0
|
5364 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
|
adam@0
|
5365 fi
|
adam@0
|
5366 # And add a safety zone
|
adam@0
|
5367 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
|
adam@0
|
5368 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
|
adam@0
|
5369 ;;
|
adam@0
|
5370
|
adam@0
|
5371 interix*)
|
adam@0
|
5372 # We know the value 262144 and hardcode it with a safety zone (like BSD)
|
adam@0
|
5373 lt_cv_sys_max_cmd_len=196608
|
adam@0
|
5374 ;;
|
adam@0
|
5375
|
adam@0
|
5376 osf*)
|
adam@0
|
5377 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
|
adam@0
|
5378 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
|
adam@0
|
5379 # nice to cause kernel panics so lets avoid the loop below.
|
adam@0
|
5380 # First set a reasonable default.
|
adam@0
|
5381 lt_cv_sys_max_cmd_len=16384
|
adam@0
|
5382 #
|
adam@0
|
5383 if test -x /sbin/sysconfig; then
|
adam@0
|
5384 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
|
adam@0
|
5385 *1*) lt_cv_sys_max_cmd_len=-1 ;;
|
adam@0
|
5386 esac
|
adam@0
|
5387 fi
|
adam@0
|
5388 ;;
|
adam@0
|
5389 sco3.2v5*)
|
adam@0
|
5390 lt_cv_sys_max_cmd_len=102400
|
adam@0
|
5391 ;;
|
adam@0
|
5392 sysv5* | sco5v6* | sysv4.2uw2*)
|
adam@0
|
5393 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
|
adam@0
|
5394 if test -n "$kargmax"; then
|
adam@0
|
5395 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
|
adam@0
|
5396 else
|
adam@0
|
5397 lt_cv_sys_max_cmd_len=32768
|
adam@0
|
5398 fi
|
adam@0
|
5399 ;;
|
adam@0
|
5400 *)
|
adam@0
|
5401 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
|
adam@0
|
5402 if test -n "$lt_cv_sys_max_cmd_len"; then
|
adam@0
|
5403 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
|
adam@0
|
5404 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
|
adam@0
|
5405 else
|
adam@0
|
5406 # Make teststring a little bigger before we do anything with it.
|
adam@0
|
5407 # a 1K string should be a reasonable start.
|
adam@0
|
5408 for i in 1 2 3 4 5 6 7 8 ; do
|
adam@0
|
5409 teststring=$teststring$teststring
|
adam@0
|
5410 done
|
adam@0
|
5411 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
|
adam@0
|
5412 # If test is not a shell built-in, we'll probably end up computing a
|
adam@0
|
5413 # maximum length that is only half of the actual maximum length, but
|
adam@0
|
5414 # we can't tell.
|
adam@12
|
5415 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
|
adam@12
|
5416 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
|
adam@0
|
5417 test $i != 17 # 1/2 MB should be enough
|
adam@0
|
5418 do
|
adam@0
|
5419 i=`expr $i + 1`
|
adam@0
|
5420 teststring=$teststring$teststring
|
adam@0
|
5421 done
|
adam@0
|
5422 # Only check the string length outside the loop.
|
adam@0
|
5423 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
|
adam@0
|
5424 teststring=
|
adam@0
|
5425 # Add a significant safety factor because C++ compilers can tack on
|
adam@0
|
5426 # massive amounts of additional arguments before passing them to the
|
adam@0
|
5427 # linker. It appears as though 1/2 is a usable value.
|
adam@0
|
5428 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
|
adam@0
|
5429 fi
|
adam@0
|
5430 ;;
|
adam@0
|
5431 esac
|
adam@0
|
5432
|
adam@0
|
5433 fi
|
adam@0
|
5434
|
adam@0
|
5435 if test -n $lt_cv_sys_max_cmd_len ; then
|
adam@0
|
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
|
adam@0
|
5437 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
|
adam@0
|
5438 else
|
adam@0
|
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
|
adam@0
|
5440 $as_echo "none" >&6; }
|
adam@0
|
5441 fi
|
adam@0
|
5442 max_cmd_len=$lt_cv_sys_max_cmd_len
|
adam@0
|
5443
|
adam@0
|
5444
|
adam@0
|
5445
|
adam@0
|
5446
|
adam@0
|
5447
|
adam@0
|
5448
|
adam@0
|
5449 : ${CP="cp -f"}
|
adam@0
|
5450 : ${MV="mv -f"}
|
adam@0
|
5451 : ${RM="rm -f"}
|
adam@0
|
5452
|
adam@0
|
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
|
adam@0
|
5454 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
|
adam@0
|
5455 # Try some XSI features
|
adam@0
|
5456 xsi_shell=no
|
adam@0
|
5457 ( _lt_dummy="a/b/c"
|
adam@12
|
5458 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
|
adam@12
|
5459 = c,a/b,b/c, \
|
adam@0
|
5460 && eval 'test $(( 1 + 1 )) -eq 2 \
|
adam@0
|
5461 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
|
adam@0
|
5462 && xsi_shell=yes
|
adam@0
|
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
|
adam@0
|
5464 $as_echo "$xsi_shell" >&6; }
|
adam@0
|
5465
|
adam@0
|
5466
|
adam@0
|
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
|
adam@0
|
5468 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
|
adam@0
|
5469 lt_shell_append=no
|
adam@0
|
5470 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
|
adam@0
|
5471 >/dev/null 2>&1 \
|
adam@0
|
5472 && lt_shell_append=yes
|
adam@0
|
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
|
adam@0
|
5474 $as_echo "$lt_shell_append" >&6; }
|
adam@0
|
5475
|
adam@0
|
5476
|
adam@0
|
5477 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
adam@0
|
5478 lt_unset=unset
|
adam@0
|
5479 else
|
adam@0
|
5480 lt_unset=false
|
adam@0
|
5481 fi
|
adam@0
|
5482
|
adam@0
|
5483
|
adam@0
|
5484
|
adam@0
|
5485
|
adam@0
|
5486
|
adam@0
|
5487 # test EBCDIC or ASCII
|
adam@0
|
5488 case `echo X|tr X '\101'` in
|
adam@0
|
5489 A) # ASCII based system
|
adam@0
|
5490 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
|
adam@0
|
5491 lt_SP2NL='tr \040 \012'
|
adam@0
|
5492 lt_NL2SP='tr \015\012 \040\040'
|
adam@0
|
5493 ;;
|
adam@0
|
5494 *) # EBCDIC based system
|
adam@0
|
5495 lt_SP2NL='tr \100 \n'
|
adam@0
|
5496 lt_NL2SP='tr \r\n \100\100'
|
adam@0
|
5497 ;;
|
adam@0
|
5498 esac
|
adam@0
|
5499
|
adam@0
|
5500
|
adam@0
|
5501
|
adam@0
|
5502
|
adam@0
|
5503
|
adam@0
|
5504
|
adam@0
|
5505
|
adam@0
|
5506
|
adam@0
|
5507
|
adam@12
|
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
|
adam@12
|
5509 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
|
adam@12
|
5510 if ${lt_cv_to_host_file_cmd+:} false; then :
|
adam@12
|
5511 $as_echo_n "(cached) " >&6
|
adam@12
|
5512 else
|
adam@12
|
5513 case $host in
|
adam@12
|
5514 *-*-mingw* )
|
adam@12
|
5515 case $build in
|
adam@12
|
5516 *-*-mingw* ) # actually msys
|
adam@12
|
5517 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
|
adam@12
|
5518 ;;
|
adam@12
|
5519 *-*-cygwin* )
|
adam@12
|
5520 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
|
adam@12
|
5521 ;;
|
adam@12
|
5522 * ) # otherwise, assume *nix
|
adam@12
|
5523 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
|
adam@12
|
5524 ;;
|
adam@12
|
5525 esac
|
adam@12
|
5526 ;;
|
adam@12
|
5527 *-*-cygwin* )
|
adam@12
|
5528 case $build in
|
adam@12
|
5529 *-*-mingw* ) # actually msys
|
adam@12
|
5530 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
|
adam@12
|
5531 ;;
|
adam@12
|
5532 *-*-cygwin* )
|
adam@12
|
5533 lt_cv_to_host_file_cmd=func_convert_file_noop
|
adam@12
|
5534 ;;
|
adam@12
|
5535 * ) # otherwise, assume *nix
|
adam@12
|
5536 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
|
adam@12
|
5537 ;;
|
adam@12
|
5538 esac
|
adam@12
|
5539 ;;
|
adam@12
|
5540 * ) # unhandled hosts (and "normal" native builds)
|
adam@12
|
5541 lt_cv_to_host_file_cmd=func_convert_file_noop
|
adam@12
|
5542 ;;
|
adam@12
|
5543 esac
|
adam@12
|
5544
|
adam@12
|
5545 fi
|
adam@12
|
5546
|
adam@12
|
5547 to_host_file_cmd=$lt_cv_to_host_file_cmd
|
adam@12
|
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
|
adam@12
|
5549 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
|
adam@12
|
5550
|
adam@12
|
5551
|
adam@12
|
5552
|
adam@12
|
5553
|
adam@12
|
5554
|
adam@12
|
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
|
adam@12
|
5556 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
|
adam@12
|
5557 if ${lt_cv_to_tool_file_cmd+:} false; then :
|
adam@12
|
5558 $as_echo_n "(cached) " >&6
|
adam@12
|
5559 else
|
adam@12
|
5560 #assume ordinary cross tools, or native build.
|
adam@12
|
5561 lt_cv_to_tool_file_cmd=func_convert_file_noop
|
adam@12
|
5562 case $host in
|
adam@12
|
5563 *-*-mingw* )
|
adam@12
|
5564 case $build in
|
adam@12
|
5565 *-*-mingw* ) # actually msys
|
adam@12
|
5566 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
|
adam@12
|
5567 ;;
|
adam@12
|
5568 esac
|
adam@12
|
5569 ;;
|
adam@12
|
5570 esac
|
adam@12
|
5571
|
adam@12
|
5572 fi
|
adam@12
|
5573
|
adam@12
|
5574 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
|
adam@12
|
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
|
adam@12
|
5576 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
|
adam@12
|
5577
|
adam@12
|
5578
|
adam@12
|
5579
|
adam@12
|
5580
|
adam@12
|
5581
|
adam@0
|
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
|
adam@0
|
5583 $as_echo_n "checking for $LD option to reload object files... " >&6; }
|
adam@12
|
5584 if ${lt_cv_ld_reload_flag+:} false; then :
|
adam@0
|
5585 $as_echo_n "(cached) " >&6
|
adam@0
|
5586 else
|
adam@0
|
5587 lt_cv_ld_reload_flag='-r'
|
adam@0
|
5588 fi
|
adam@0
|
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
|
adam@0
|
5590 $as_echo "$lt_cv_ld_reload_flag" >&6; }
|
adam@0
|
5591 reload_flag=$lt_cv_ld_reload_flag
|
adam@0
|
5592 case $reload_flag in
|
adam@0
|
5593 "" | " "*) ;;
|
adam@0
|
5594 *) reload_flag=" $reload_flag" ;;
|
adam@0
|
5595 esac
|
adam@0
|
5596 reload_cmds='$LD$reload_flag -o $output$reload_objs'
|
adam@0
|
5597 case $host_os in
|
adam@12
|
5598 cygwin* | mingw* | pw32* | cegcc*)
|
adam@12
|
5599 if test "$GCC" != yes; then
|
adam@12
|
5600 reload_cmds=false
|
adam@12
|
5601 fi
|
adam@12
|
5602 ;;
|
adam@0
|
5603 darwin*)
|
adam@0
|
5604 if test "$GCC" = yes; then
|
adam@0
|
5605 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
|
adam@0
|
5606 else
|
adam@0
|
5607 reload_cmds='$LD$reload_flag -o $output$reload_objs'
|
adam@0
|
5608 fi
|
adam@0
|
5609 ;;
|
adam@0
|
5610 esac
|
adam@0
|
5611
|
adam@0
|
5612
|
adam@0
|
5613
|
adam@0
|
5614
|
adam@0
|
5615
|
adam@0
|
5616
|
adam@0
|
5617
|
adam@0
|
5618
|
adam@0
|
5619
|
adam@0
|
5620 if test -n "$ac_tool_prefix"; then
|
adam@0
|
5621 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
|
adam@0
|
5622 set dummy ${ac_tool_prefix}objdump; ac_word=$2
|
adam@0
|
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
5624 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
5625 if ${ac_cv_prog_OBJDUMP+:} false; then :
|
adam@0
|
5626 $as_echo_n "(cached) " >&6
|
adam@0
|
5627 else
|
adam@0
|
5628 if test -n "$OBJDUMP"; then
|
adam@0
|
5629 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
|
adam@0
|
5630 else
|
adam@0
|
5631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
5632 for as_dir in $PATH
|
adam@0
|
5633 do
|
adam@0
|
5634 IFS=$as_save_IFS
|
adam@0
|
5635 test -z "$as_dir" && as_dir=.
|
adam@0
|
5636 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
5637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
5638 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
|
adam@0
|
5639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
5640 break 2
|
adam@0
|
5641 fi
|
adam@0
|
5642 done
|
adam@0
|
5643 done
|
adam@0
|
5644 IFS=$as_save_IFS
|
adam@0
|
5645
|
adam@0
|
5646 fi
|
adam@0
|
5647 fi
|
adam@0
|
5648 OBJDUMP=$ac_cv_prog_OBJDUMP
|
adam@0
|
5649 if test -n "$OBJDUMP"; then
|
adam@0
|
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
|
adam@0
|
5651 $as_echo "$OBJDUMP" >&6; }
|
adam@0
|
5652 else
|
adam@0
|
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
5654 $as_echo "no" >&6; }
|
adam@0
|
5655 fi
|
adam@0
|
5656
|
adam@0
|
5657
|
adam@0
|
5658 fi
|
adam@0
|
5659 if test -z "$ac_cv_prog_OBJDUMP"; then
|
adam@0
|
5660 ac_ct_OBJDUMP=$OBJDUMP
|
adam@0
|
5661 # Extract the first word of "objdump", so it can be a program name with args.
|
adam@0
|
5662 set dummy objdump; ac_word=$2
|
adam@0
|
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
5664 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
5665 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
|
adam@0
|
5666 $as_echo_n "(cached) " >&6
|
adam@0
|
5667 else
|
adam@0
|
5668 if test -n "$ac_ct_OBJDUMP"; then
|
adam@0
|
5669 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
|
adam@0
|
5670 else
|
adam@0
|
5671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
5672 for as_dir in $PATH
|
adam@0
|
5673 do
|
adam@0
|
5674 IFS=$as_save_IFS
|
adam@0
|
5675 test -z "$as_dir" && as_dir=.
|
adam@0
|
5676 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
5677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
5678 ac_cv_prog_ac_ct_OBJDUMP="objdump"
|
adam@0
|
5679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
5680 break 2
|
adam@0
|
5681 fi
|
adam@0
|
5682 done
|
adam@0
|
5683 done
|
adam@0
|
5684 IFS=$as_save_IFS
|
adam@0
|
5685
|
adam@0
|
5686 fi
|
adam@0
|
5687 fi
|
adam@0
|
5688 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
|
adam@0
|
5689 if test -n "$ac_ct_OBJDUMP"; then
|
adam@0
|
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
|
adam@0
|
5691 $as_echo "$ac_ct_OBJDUMP" >&6; }
|
adam@0
|
5692 else
|
adam@0
|
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
5694 $as_echo "no" >&6; }
|
adam@0
|
5695 fi
|
adam@0
|
5696
|
adam@0
|
5697 if test "x$ac_ct_OBJDUMP" = x; then
|
adam@0
|
5698 OBJDUMP="false"
|
adam@0
|
5699 else
|
adam@0
|
5700 case $cross_compiling:$ac_tool_warned in
|
adam@0
|
5701 yes:)
|
adam@0
|
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
adam@0
|
5703 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
adam@0
|
5704 ac_tool_warned=yes ;;
|
adam@0
|
5705 esac
|
adam@0
|
5706 OBJDUMP=$ac_ct_OBJDUMP
|
adam@0
|
5707 fi
|
adam@0
|
5708 else
|
adam@0
|
5709 OBJDUMP="$ac_cv_prog_OBJDUMP"
|
adam@0
|
5710 fi
|
adam@0
|
5711
|
adam@0
|
5712 test -z "$OBJDUMP" && OBJDUMP=objdump
|
adam@0
|
5713
|
adam@0
|
5714
|
adam@0
|
5715
|
adam@0
|
5716
|
adam@0
|
5717
|
adam@0
|
5718
|
adam@0
|
5719
|
adam@0
|
5720
|
adam@0
|
5721
|
adam@0
|
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
|
adam@0
|
5723 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
|
adam@12
|
5724 if ${lt_cv_deplibs_check_method+:} false; then :
|
adam@0
|
5725 $as_echo_n "(cached) " >&6
|
adam@0
|
5726 else
|
adam@0
|
5727 lt_cv_file_magic_cmd='$MAGIC_CMD'
|
adam@0
|
5728 lt_cv_file_magic_test_file=
|
adam@0
|
5729 lt_cv_deplibs_check_method='unknown'
|
adam@0
|
5730 # Need to set the preceding variable on all platforms that support
|
adam@0
|
5731 # interlibrary dependencies.
|
adam@0
|
5732 # 'none' -- dependencies not supported.
|
adam@0
|
5733 # `unknown' -- same as none, but documents that we really don't know.
|
adam@0
|
5734 # 'pass_all' -- all dependencies passed with no checks.
|
adam@0
|
5735 # 'test_compile' -- check by making test program.
|
adam@0
|
5736 # 'file_magic [[regex]]' -- check by looking for files in library path
|
adam@0
|
5737 # which responds to the $file_magic_cmd with a given extended regex.
|
adam@0
|
5738 # If you have `file' or equivalent on your system and you're not sure
|
adam@0
|
5739 # whether `pass_all' will *always* work, you probably want this one.
|
adam@0
|
5740
|
adam@0
|
5741 case $host_os in
|
adam@0
|
5742 aix[4-9]*)
|
adam@0
|
5743 lt_cv_deplibs_check_method=pass_all
|
adam@0
|
5744 ;;
|
adam@0
|
5745
|
adam@0
|
5746 beos*)
|
adam@0
|
5747 lt_cv_deplibs_check_method=pass_all
|
adam@0
|
5748 ;;
|
adam@0
|
5749
|
adam@0
|
5750 bsdi[45]*)
|
adam@0
|
5751 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
|
adam@0
|
5752 lt_cv_file_magic_cmd='/usr/bin/file -L'
|
adam@0
|
5753 lt_cv_file_magic_test_file=/shlib/libc.so
|
adam@0
|
5754 ;;
|
adam@0
|
5755
|
adam@0
|
5756 cygwin*)
|
adam@0
|
5757 # func_win32_libid is a shell function defined in ltmain.sh
|
adam@0
|
5758 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
|
adam@0
|
5759 lt_cv_file_magic_cmd='func_win32_libid'
|
adam@0
|
5760 ;;
|
adam@0
|
5761
|
adam@0
|
5762 mingw* | pw32*)
|
adam@0
|
5763 # Base MSYS/MinGW do not provide the 'file' command needed by
|
adam@0
|
5764 # func_win32_libid shell function, so use a weaker test based on 'objdump',
|
adam@0
|
5765 # unless we find 'file', for example because we are cross-compiling.
|
adam@12
|
5766 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
|
adam@12
|
5767 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
|
adam@0
|
5768 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
|
adam@0
|
5769 lt_cv_file_magic_cmd='func_win32_libid'
|
adam@0
|
5770 else
|
adam@12
|
5771 # Keep this pattern in sync with the one in func_win32_libid.
|
adam@12
|
5772 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
|
adam@0
|
5773 lt_cv_file_magic_cmd='$OBJDUMP -f'
|
adam@0
|
5774 fi
|
adam@0
|
5775 ;;
|
adam@0
|
5776
|
adam@12
|
5777 cegcc*)
|
adam@0
|
5778 # use the weaker test based on 'objdump'. See mingw*.
|
adam@0
|
5779 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
|
adam@0
|
5780 lt_cv_file_magic_cmd='$OBJDUMP -f'
|
adam@0
|
5781 ;;
|
adam@0
|
5782
|
adam@0
|
5783 darwin* | rhapsody*)
|
adam@0
|
5784 lt_cv_deplibs_check_method=pass_all
|
adam@0
|
5785 ;;
|
adam@0
|
5786
|
adam@0
|
5787 freebsd* | dragonfly*)
|
adam@0
|
5788 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
|
adam@0
|
5789 case $host_cpu in
|
adam@0
|
5790 i*86 )
|
adam@0
|
5791 # Not sure whether the presence of OpenBSD here was a mistake.
|
adam@0
|
5792 # Let's accept both of them until this is cleared up.
|
adam@0
|
5793 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
|
adam@0
|
5794 lt_cv_file_magic_cmd=/usr/bin/file
|
adam@0
|
5795 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
|
adam@0
|
5796 ;;
|
adam@0
|
5797 esac
|
adam@0
|
5798 else
|
adam@0
|
5799 lt_cv_deplibs_check_method=pass_all
|
adam@0
|
5800 fi
|
adam@0
|
5801 ;;
|
adam@0
|
5802
|
adam@0
|
5803 gnu*)
|
adam@0
|
5804 lt_cv_deplibs_check_method=pass_all
|
adam@0
|
5805 ;;
|
adam@0
|
5806
|
adam@12
|
5807 haiku*)
|
adam@12
|
5808 lt_cv_deplibs_check_method=pass_all
|
adam@12
|
5809 ;;
|
adam@12
|
5810
|
adam@0
|
5811 hpux10.20* | hpux11*)
|
adam@0
|
5812 lt_cv_file_magic_cmd=/usr/bin/file
|
adam@0
|
5813 case $host_cpu in
|
adam@0
|
5814 ia64*)
|
adam@0
|
5815 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
|
adam@0
|
5816 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
|
adam@0
|
5817 ;;
|
adam@0
|
5818 hppa*64*)
|
adam@12
|
5819 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]'
|
adam@0
|
5820 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
|
adam@0
|
5821 ;;
|
adam@0
|
5822 *)
|
adam@12
|
5823 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
|
adam@0
|
5824 lt_cv_file_magic_test_file=/usr/lib/libc.sl
|
adam@0
|
5825 ;;
|
adam@0
|
5826 esac
|
adam@0
|
5827 ;;
|
adam@0
|
5828
|
adam@0
|
5829 interix[3-9]*)
|
adam@0
|
5830 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
|
adam@0
|
5831 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
|
adam@0
|
5832 ;;
|
adam@0
|
5833
|
adam@0
|
5834 irix5* | irix6* | nonstopux*)
|
adam@0
|
5835 case $LD in
|
adam@0
|
5836 *-32|*"-32 ") libmagic=32-bit;;
|
adam@0
|
5837 *-n32|*"-n32 ") libmagic=N32;;
|
adam@0
|
5838 *-64|*"-64 ") libmagic=64-bit;;
|
adam@0
|
5839 *) libmagic=never-match;;
|
adam@0
|
5840 esac
|
adam@0
|
5841 lt_cv_deplibs_check_method=pass_all
|
adam@0
|
5842 ;;
|
adam@0
|
5843
|
adam@0
|
5844 # This must be Linux ELF.
|
adam@0
|
5845 linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
adam@0
|
5846 lt_cv_deplibs_check_method=pass_all
|
adam@0
|
5847 ;;
|
adam@0
|
5848
|
adam@0
|
5849 netbsd* | netbsdelf*-gnu)
|
adam@0
|
5850 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
|
adam@0
|
5851 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
|
adam@0
|
5852 else
|
adam@0
|
5853 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
|
adam@0
|
5854 fi
|
adam@0
|
5855 ;;
|
adam@0
|
5856
|
adam@0
|
5857 newos6*)
|
adam@0
|
5858 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
|
adam@0
|
5859 lt_cv_file_magic_cmd=/usr/bin/file
|
adam@0
|
5860 lt_cv_file_magic_test_file=/usr/lib/libnls.so
|
adam@0
|
5861 ;;
|
adam@0
|
5862
|
adam@0
|
5863 *nto* | *qnx*)
|
adam@0
|
5864 lt_cv_deplibs_check_method=pass_all
|
adam@0
|
5865 ;;
|
adam@0
|
5866
|
adam@0
|
5867 openbsd*)
|
adam@0
|
5868 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
adam@0
|
5869 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
|
adam@0
|
5870 else
|
adam@0
|
5871 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
|
adam@0
|
5872 fi
|
adam@0
|
5873 ;;
|
adam@0
|
5874
|
adam@0
|
5875 osf3* | osf4* | osf5*)
|
adam@0
|
5876 lt_cv_deplibs_check_method=pass_all
|
adam@0
|
5877 ;;
|
adam@0
|
5878
|
adam@0
|
5879 rdos*)
|
adam@0
|
5880 lt_cv_deplibs_check_method=pass_all
|
adam@0
|
5881 ;;
|
adam@0
|
5882
|
adam@0
|
5883 solaris*)
|
adam@0
|
5884 lt_cv_deplibs_check_method=pass_all
|
adam@0
|
5885 ;;
|
adam@0
|
5886
|
adam@0
|
5887 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
|
adam@0
|
5888 lt_cv_deplibs_check_method=pass_all
|
adam@0
|
5889 ;;
|
adam@0
|
5890
|
adam@0
|
5891 sysv4 | sysv4.3*)
|
adam@0
|
5892 case $host_vendor in
|
adam@0
|
5893 motorola)
|
adam@0
|
5894 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]'
|
adam@0
|
5895 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
|
adam@0
|
5896 ;;
|
adam@0
|
5897 ncr)
|
adam@0
|
5898 lt_cv_deplibs_check_method=pass_all
|
adam@0
|
5899 ;;
|
adam@0
|
5900 sequent)
|
adam@0
|
5901 lt_cv_file_magic_cmd='/bin/file'
|
adam@0
|
5902 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
|
adam@0
|
5903 ;;
|
adam@0
|
5904 sni)
|
adam@0
|
5905 lt_cv_file_magic_cmd='/bin/file'
|
adam@0
|
5906 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
|
adam@0
|
5907 lt_cv_file_magic_test_file=/lib/libc.so
|
adam@0
|
5908 ;;
|
adam@0
|
5909 siemens)
|
adam@0
|
5910 lt_cv_deplibs_check_method=pass_all
|
adam@0
|
5911 ;;
|
adam@0
|
5912 pc)
|
adam@0
|
5913 lt_cv_deplibs_check_method=pass_all
|
adam@0
|
5914 ;;
|
adam@0
|
5915 esac
|
adam@0
|
5916 ;;
|
adam@0
|
5917
|
adam@0
|
5918 tpf*)
|
adam@0
|
5919 lt_cv_deplibs_check_method=pass_all
|
adam@0
|
5920 ;;
|
adam@0
|
5921 esac
|
adam@0
|
5922
|
adam@0
|
5923 fi
|
adam@0
|
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
|
adam@0
|
5925 $as_echo "$lt_cv_deplibs_check_method" >&6; }
|
adam@12
|
5926
|
adam@12
|
5927 file_magic_glob=
|
adam@12
|
5928 want_nocaseglob=no
|
adam@12
|
5929 if test "$build" = "$host"; then
|
adam@12
|
5930 case $host_os in
|
adam@12
|
5931 mingw* | pw32*)
|
adam@12
|
5932 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
|
adam@12
|
5933 want_nocaseglob=yes
|
adam@12
|
5934 else
|
adam@12
|
5935 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
|
adam@12
|
5936 fi
|
adam@12
|
5937 ;;
|
adam@12
|
5938 esac
|
adam@12
|
5939 fi
|
adam@12
|
5940
|
adam@0
|
5941 file_magic_cmd=$lt_cv_file_magic_cmd
|
adam@0
|
5942 deplibs_check_method=$lt_cv_deplibs_check_method
|
adam@0
|
5943 test -z "$deplibs_check_method" && deplibs_check_method=unknown
|
adam@0
|
5944
|
adam@0
|
5945
|
adam@0
|
5946
|
adam@0
|
5947
|
adam@0
|
5948
|
adam@0
|
5949
|
adam@0
|
5950
|
adam@0
|
5951
|
adam@0
|
5952
|
adam@0
|
5953
|
adam@0
|
5954
|
adam@0
|
5955
|
adam@12
|
5956
|
adam@12
|
5957
|
adam@12
|
5958
|
adam@12
|
5959
|
adam@12
|
5960
|
adam@12
|
5961
|
adam@12
|
5962
|
adam@12
|
5963
|
adam@12
|
5964
|
adam@12
|
5965
|
adam@0
|
5966 if test -n "$ac_tool_prefix"; then
|
adam@12
|
5967 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
|
adam@12
|
5968 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
|
adam@0
|
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
5970 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
5971 if ${ac_cv_prog_DLLTOOL+:} false; then :
|
adam@12
|
5972 $as_echo_n "(cached) " >&6
|
adam@12
|
5973 else
|
adam@12
|
5974 if test -n "$DLLTOOL"; then
|
adam@12
|
5975 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
|
adam@0
|
5976 else
|
adam@0
|
5977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
5978 for as_dir in $PATH
|
adam@0
|
5979 do
|
adam@0
|
5980 IFS=$as_save_IFS
|
adam@0
|
5981 test -z "$as_dir" && as_dir=.
|
adam@0
|
5982 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
5983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@12
|
5984 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
|
adam@12
|
5985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@12
|
5986 break 2
|
adam@12
|
5987 fi
|
adam@12
|
5988 done
|
adam@12
|
5989 done
|
adam@12
|
5990 IFS=$as_save_IFS
|
adam@12
|
5991
|
adam@12
|
5992 fi
|
adam@12
|
5993 fi
|
adam@12
|
5994 DLLTOOL=$ac_cv_prog_DLLTOOL
|
adam@12
|
5995 if test -n "$DLLTOOL"; then
|
adam@12
|
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
|
adam@12
|
5997 $as_echo "$DLLTOOL" >&6; }
|
adam@12
|
5998 else
|
adam@12
|
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@12
|
6000 $as_echo "no" >&6; }
|
adam@12
|
6001 fi
|
adam@12
|
6002
|
adam@12
|
6003
|
adam@12
|
6004 fi
|
adam@12
|
6005 if test -z "$ac_cv_prog_DLLTOOL"; then
|
adam@12
|
6006 ac_ct_DLLTOOL=$DLLTOOL
|
adam@12
|
6007 # Extract the first word of "dlltool", so it can be a program name with args.
|
adam@12
|
6008 set dummy dlltool; ac_word=$2
|
adam@12
|
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@12
|
6010 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
6011 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
|
adam@12
|
6012 $as_echo_n "(cached) " >&6
|
adam@12
|
6013 else
|
adam@12
|
6014 if test -n "$ac_ct_DLLTOOL"; then
|
adam@12
|
6015 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
|
adam@12
|
6016 else
|
adam@12
|
6017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@12
|
6018 for as_dir in $PATH
|
adam@12
|
6019 do
|
adam@12
|
6020 IFS=$as_save_IFS
|
adam@12
|
6021 test -z "$as_dir" && as_dir=.
|
adam@12
|
6022 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@12
|
6023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@12
|
6024 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
|
adam@12
|
6025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@12
|
6026 break 2
|
adam@12
|
6027 fi
|
adam@12
|
6028 done
|
adam@12
|
6029 done
|
adam@12
|
6030 IFS=$as_save_IFS
|
adam@12
|
6031
|
adam@12
|
6032 fi
|
adam@12
|
6033 fi
|
adam@12
|
6034 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
|
adam@12
|
6035 if test -n "$ac_ct_DLLTOOL"; then
|
adam@12
|
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
|
adam@12
|
6037 $as_echo "$ac_ct_DLLTOOL" >&6; }
|
adam@12
|
6038 else
|
adam@12
|
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@12
|
6040 $as_echo "no" >&6; }
|
adam@12
|
6041 fi
|
adam@12
|
6042
|
adam@12
|
6043 if test "x$ac_ct_DLLTOOL" = x; then
|
adam@12
|
6044 DLLTOOL="false"
|
adam@12
|
6045 else
|
adam@12
|
6046 case $cross_compiling:$ac_tool_warned in
|
adam@12
|
6047 yes:)
|
adam@12
|
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
adam@12
|
6049 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
adam@12
|
6050 ac_tool_warned=yes ;;
|
adam@12
|
6051 esac
|
adam@12
|
6052 DLLTOOL=$ac_ct_DLLTOOL
|
adam@12
|
6053 fi
|
adam@12
|
6054 else
|
adam@12
|
6055 DLLTOOL="$ac_cv_prog_DLLTOOL"
|
adam@12
|
6056 fi
|
adam@12
|
6057
|
adam@12
|
6058 test -z "$DLLTOOL" && DLLTOOL=dlltool
|
adam@12
|
6059
|
adam@12
|
6060
|
adam@12
|
6061
|
adam@12
|
6062
|
adam@12
|
6063
|
adam@12
|
6064
|
adam@12
|
6065
|
adam@12
|
6066
|
adam@12
|
6067
|
adam@12
|
6068
|
adam@12
|
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
|
adam@12
|
6070 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
|
adam@12
|
6071 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
|
adam@12
|
6072 $as_echo_n "(cached) " >&6
|
adam@12
|
6073 else
|
adam@12
|
6074 lt_cv_sharedlib_from_linklib_cmd='unknown'
|
adam@12
|
6075
|
adam@12
|
6076 case $host_os in
|
adam@12
|
6077 cygwin* | mingw* | pw32* | cegcc*)
|
adam@12
|
6078 # two different shell functions defined in ltmain.sh
|
adam@12
|
6079 # decide which to use based on capabilities of $DLLTOOL
|
adam@12
|
6080 case `$DLLTOOL --help 2>&1` in
|
adam@12
|
6081 *--identify-strict*)
|
adam@12
|
6082 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
|
adam@12
|
6083 ;;
|
adam@12
|
6084 *)
|
adam@12
|
6085 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
|
adam@12
|
6086 ;;
|
adam@12
|
6087 esac
|
adam@12
|
6088 ;;
|
adam@12
|
6089 *)
|
adam@12
|
6090 # fallback: assume linklib IS sharedlib
|
adam@12
|
6091 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
|
adam@12
|
6092 ;;
|
adam@12
|
6093 esac
|
adam@12
|
6094
|
adam@12
|
6095 fi
|
adam@12
|
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
|
adam@12
|
6097 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
|
adam@12
|
6098 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
|
adam@12
|
6099 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
|
adam@12
|
6100
|
adam@12
|
6101
|
adam@12
|
6102
|
adam@12
|
6103
|
adam@12
|
6104
|
adam@12
|
6105
|
adam@12
|
6106
|
adam@12
|
6107 if test -n "$ac_tool_prefix"; then
|
adam@12
|
6108 for ac_prog in ar
|
adam@12
|
6109 do
|
adam@12
|
6110 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
adam@12
|
6111 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
adam@12
|
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@12
|
6113 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
6114 if ${ac_cv_prog_AR+:} false; then :
|
adam@12
|
6115 $as_echo_n "(cached) " >&6
|
adam@12
|
6116 else
|
adam@12
|
6117 if test -n "$AR"; then
|
adam@12
|
6118 ac_cv_prog_AR="$AR" # Let the user override the test.
|
adam@12
|
6119 else
|
adam@12
|
6120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@12
|
6121 for as_dir in $PATH
|
adam@12
|
6122 do
|
adam@12
|
6123 IFS=$as_save_IFS
|
adam@12
|
6124 test -z "$as_dir" && as_dir=.
|
adam@12
|
6125 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@12
|
6126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@12
|
6127 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
|
adam@0
|
6128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
6129 break 2
|
adam@0
|
6130 fi
|
adam@0
|
6131 done
|
adam@0
|
6132 done
|
adam@0
|
6133 IFS=$as_save_IFS
|
adam@0
|
6134
|
adam@0
|
6135 fi
|
adam@0
|
6136 fi
|
adam@0
|
6137 AR=$ac_cv_prog_AR
|
adam@0
|
6138 if test -n "$AR"; then
|
adam@0
|
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
|
adam@0
|
6140 $as_echo "$AR" >&6; }
|
adam@0
|
6141 else
|
adam@0
|
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
6143 $as_echo "no" >&6; }
|
adam@0
|
6144 fi
|
adam@0
|
6145
|
adam@0
|
6146
|
adam@12
|
6147 test -n "$AR" && break
|
adam@12
|
6148 done
|
adam@12
|
6149 fi
|
adam@12
|
6150 if test -z "$AR"; then
|
adam@0
|
6151 ac_ct_AR=$AR
|
adam@12
|
6152 for ac_prog in ar
|
adam@12
|
6153 do
|
adam@12
|
6154 # Extract the first word of "$ac_prog", so it can be a program name with args.
|
adam@12
|
6155 set dummy $ac_prog; ac_word=$2
|
adam@0
|
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
6157 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
6158 if ${ac_cv_prog_ac_ct_AR+:} false; then :
|
adam@0
|
6159 $as_echo_n "(cached) " >&6
|
adam@0
|
6160 else
|
adam@0
|
6161 if test -n "$ac_ct_AR"; then
|
adam@0
|
6162 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
|
adam@0
|
6163 else
|
adam@0
|
6164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
6165 for as_dir in $PATH
|
adam@0
|
6166 do
|
adam@0
|
6167 IFS=$as_save_IFS
|
adam@0
|
6168 test -z "$as_dir" && as_dir=.
|
adam@0
|
6169 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
6170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@12
|
6171 ac_cv_prog_ac_ct_AR="$ac_prog"
|
adam@0
|
6172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
6173 break 2
|
adam@0
|
6174 fi
|
adam@0
|
6175 done
|
adam@0
|
6176 done
|
adam@0
|
6177 IFS=$as_save_IFS
|
adam@0
|
6178
|
adam@0
|
6179 fi
|
adam@0
|
6180 fi
|
adam@0
|
6181 ac_ct_AR=$ac_cv_prog_ac_ct_AR
|
adam@0
|
6182 if test -n "$ac_ct_AR"; then
|
adam@0
|
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
|
adam@0
|
6184 $as_echo "$ac_ct_AR" >&6; }
|
adam@0
|
6185 else
|
adam@0
|
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
6187 $as_echo "no" >&6; }
|
adam@0
|
6188 fi
|
adam@0
|
6189
|
adam@12
|
6190
|
adam@12
|
6191 test -n "$ac_ct_AR" && break
|
adam@12
|
6192 done
|
adam@12
|
6193
|
adam@0
|
6194 if test "x$ac_ct_AR" = x; then
|
adam@0
|
6195 AR="false"
|
adam@0
|
6196 else
|
adam@0
|
6197 case $cross_compiling:$ac_tool_warned in
|
adam@0
|
6198 yes:)
|
adam@0
|
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
adam@0
|
6200 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
adam@0
|
6201 ac_tool_warned=yes ;;
|
adam@0
|
6202 esac
|
adam@0
|
6203 AR=$ac_ct_AR
|
adam@0
|
6204 fi
|
adam@12
|
6205 fi
|
adam@12
|
6206
|
adam@12
|
6207 : ${AR=ar}
|
adam@12
|
6208 : ${AR_FLAGS=cru}
|
adam@12
|
6209
|
adam@12
|
6210
|
adam@12
|
6211
|
adam@12
|
6212
|
adam@12
|
6213
|
adam@12
|
6214
|
adam@12
|
6215
|
adam@12
|
6216
|
adam@12
|
6217
|
adam@12
|
6218
|
adam@12
|
6219
|
adam@12
|
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
|
adam@12
|
6221 $as_echo_n "checking for archiver @FILE support... " >&6; }
|
adam@12
|
6222 if ${lt_cv_ar_at_file+:} false; then :
|
adam@12
|
6223 $as_echo_n "(cached) " >&6
|
adam@12
|
6224 else
|
adam@12
|
6225 lt_cv_ar_at_file=no
|
adam@12
|
6226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@12
|
6227 /* end confdefs.h. */
|
adam@12
|
6228
|
adam@12
|
6229 int
|
adam@12
|
6230 main ()
|
adam@12
|
6231 {
|
adam@12
|
6232
|
adam@12
|
6233 ;
|
adam@12
|
6234 return 0;
|
adam@12
|
6235 }
|
adam@12
|
6236 _ACEOF
|
adam@12
|
6237 if ac_fn_c_try_compile "$LINENO"; then :
|
adam@12
|
6238 echo conftest.$ac_objext > conftest.lst
|
adam@12
|
6239 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
|
adam@12
|
6240 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
|
adam@12
|
6241 (eval $lt_ar_try) 2>&5
|
adam@12
|
6242 ac_status=$?
|
adam@12
|
6243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@12
|
6244 test $ac_status = 0; }
|
adam@12
|
6245 if test "$ac_status" -eq 0; then
|
adam@12
|
6246 # Ensure the archiver fails upon bogus file names.
|
adam@12
|
6247 rm -f conftest.$ac_objext libconftest.a
|
adam@12
|
6248 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
|
adam@12
|
6249 (eval $lt_ar_try) 2>&5
|
adam@12
|
6250 ac_status=$?
|
adam@12
|
6251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@12
|
6252 test $ac_status = 0; }
|
adam@12
|
6253 if test "$ac_status" -ne 0; then
|
adam@12
|
6254 lt_cv_ar_at_file=@
|
adam@12
|
6255 fi
|
adam@12
|
6256 fi
|
adam@12
|
6257 rm -f conftest.* libconftest.a
|
adam@12
|
6258
|
adam@12
|
6259 fi
|
adam@12
|
6260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
adam@12
|
6261
|
adam@12
|
6262 fi
|
adam@12
|
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
|
adam@12
|
6264 $as_echo "$lt_cv_ar_at_file" >&6; }
|
adam@12
|
6265
|
adam@12
|
6266 if test "x$lt_cv_ar_at_file" = xno; then
|
adam@12
|
6267 archiver_list_spec=
|
adam@12
|
6268 else
|
adam@12
|
6269 archiver_list_spec=$lt_cv_ar_at_file
|
adam@12
|
6270 fi
|
adam@0
|
6271
|
adam@0
|
6272
|
adam@0
|
6273
|
adam@0
|
6274
|
adam@0
|
6275
|
adam@0
|
6276
|
adam@0
|
6277
|
adam@0
|
6278 if test -n "$ac_tool_prefix"; then
|
adam@0
|
6279 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
adam@0
|
6280 set dummy ${ac_tool_prefix}strip; ac_word=$2
|
adam@0
|
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
6282 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
6283 if ${ac_cv_prog_STRIP+:} false; then :
|
adam@0
|
6284 $as_echo_n "(cached) " >&6
|
adam@0
|
6285 else
|
adam@0
|
6286 if test -n "$STRIP"; then
|
adam@0
|
6287 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
adam@0
|
6288 else
|
adam@0
|
6289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
6290 for as_dir in $PATH
|
adam@0
|
6291 do
|
adam@0
|
6292 IFS=$as_save_IFS
|
adam@0
|
6293 test -z "$as_dir" && as_dir=.
|
adam@0
|
6294 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
6295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
6296 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
adam@0
|
6297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
6298 break 2
|
adam@0
|
6299 fi
|
adam@0
|
6300 done
|
adam@0
|
6301 done
|
adam@0
|
6302 IFS=$as_save_IFS
|
adam@0
|
6303
|
adam@0
|
6304 fi
|
adam@0
|
6305 fi
|
adam@0
|
6306 STRIP=$ac_cv_prog_STRIP
|
adam@0
|
6307 if test -n "$STRIP"; then
|
adam@0
|
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
adam@0
|
6309 $as_echo "$STRIP" >&6; }
|
adam@0
|
6310 else
|
adam@0
|
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
6312 $as_echo "no" >&6; }
|
adam@0
|
6313 fi
|
adam@0
|
6314
|
adam@0
|
6315
|
adam@0
|
6316 fi
|
adam@0
|
6317 if test -z "$ac_cv_prog_STRIP"; then
|
adam@0
|
6318 ac_ct_STRIP=$STRIP
|
adam@0
|
6319 # Extract the first word of "strip", so it can be a program name with args.
|
adam@0
|
6320 set dummy strip; ac_word=$2
|
adam@0
|
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
6322 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
6323 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
|
adam@0
|
6324 $as_echo_n "(cached) " >&6
|
adam@0
|
6325 else
|
adam@0
|
6326 if test -n "$ac_ct_STRIP"; then
|
adam@0
|
6327 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
adam@0
|
6328 else
|
adam@0
|
6329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
6330 for as_dir in $PATH
|
adam@0
|
6331 do
|
adam@0
|
6332 IFS=$as_save_IFS
|
adam@0
|
6333 test -z "$as_dir" && as_dir=.
|
adam@0
|
6334 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
6335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
6336 ac_cv_prog_ac_ct_STRIP="strip"
|
adam@0
|
6337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
6338 break 2
|
adam@0
|
6339 fi
|
adam@0
|
6340 done
|
adam@0
|
6341 done
|
adam@0
|
6342 IFS=$as_save_IFS
|
adam@0
|
6343
|
adam@0
|
6344 fi
|
adam@0
|
6345 fi
|
adam@0
|
6346 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
adam@0
|
6347 if test -n "$ac_ct_STRIP"; then
|
adam@0
|
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
adam@0
|
6349 $as_echo "$ac_ct_STRIP" >&6; }
|
adam@0
|
6350 else
|
adam@0
|
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
6352 $as_echo "no" >&6; }
|
adam@0
|
6353 fi
|
adam@0
|
6354
|
adam@0
|
6355 if test "x$ac_ct_STRIP" = x; then
|
adam@0
|
6356 STRIP=":"
|
adam@0
|
6357 else
|
adam@0
|
6358 case $cross_compiling:$ac_tool_warned in
|
adam@0
|
6359 yes:)
|
adam@0
|
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
adam@0
|
6361 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
adam@0
|
6362 ac_tool_warned=yes ;;
|
adam@0
|
6363 esac
|
adam@0
|
6364 STRIP=$ac_ct_STRIP
|
adam@0
|
6365 fi
|
adam@0
|
6366 else
|
adam@0
|
6367 STRIP="$ac_cv_prog_STRIP"
|
adam@0
|
6368 fi
|
adam@0
|
6369
|
adam@0
|
6370 test -z "$STRIP" && STRIP=:
|
adam@0
|
6371
|
adam@0
|
6372
|
adam@0
|
6373
|
adam@0
|
6374
|
adam@0
|
6375
|
adam@0
|
6376
|
adam@0
|
6377 if test -n "$ac_tool_prefix"; then
|
adam@0
|
6378 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
adam@0
|
6379 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
adam@0
|
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
6381 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
6382 if ${ac_cv_prog_RANLIB+:} false; then :
|
adam@0
|
6383 $as_echo_n "(cached) " >&6
|
adam@0
|
6384 else
|
adam@0
|
6385 if test -n "$RANLIB"; then
|
adam@0
|
6386 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
adam@0
|
6387 else
|
adam@0
|
6388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
6389 for as_dir in $PATH
|
adam@0
|
6390 do
|
adam@0
|
6391 IFS=$as_save_IFS
|
adam@0
|
6392 test -z "$as_dir" && as_dir=.
|
adam@0
|
6393 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
6394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
6395 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
adam@0
|
6396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
6397 break 2
|
adam@0
|
6398 fi
|
adam@0
|
6399 done
|
adam@0
|
6400 done
|
adam@0
|
6401 IFS=$as_save_IFS
|
adam@0
|
6402
|
adam@0
|
6403 fi
|
adam@0
|
6404 fi
|
adam@0
|
6405 RANLIB=$ac_cv_prog_RANLIB
|
adam@0
|
6406 if test -n "$RANLIB"; then
|
adam@0
|
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
|
adam@0
|
6408 $as_echo "$RANLIB" >&6; }
|
adam@0
|
6409 else
|
adam@0
|
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
6411 $as_echo "no" >&6; }
|
adam@0
|
6412 fi
|
adam@0
|
6413
|
adam@0
|
6414
|
adam@0
|
6415 fi
|
adam@0
|
6416 if test -z "$ac_cv_prog_RANLIB"; then
|
adam@0
|
6417 ac_ct_RANLIB=$RANLIB
|
adam@0
|
6418 # Extract the first word of "ranlib", so it can be a program name with args.
|
adam@0
|
6419 set dummy ranlib; ac_word=$2
|
adam@0
|
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
6421 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
6422 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
|
adam@0
|
6423 $as_echo_n "(cached) " >&6
|
adam@0
|
6424 else
|
adam@0
|
6425 if test -n "$ac_ct_RANLIB"; then
|
adam@0
|
6426 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
adam@0
|
6427 else
|
adam@0
|
6428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
6429 for as_dir in $PATH
|
adam@0
|
6430 do
|
adam@0
|
6431 IFS=$as_save_IFS
|
adam@0
|
6432 test -z "$as_dir" && as_dir=.
|
adam@0
|
6433 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
6434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
6435 ac_cv_prog_ac_ct_RANLIB="ranlib"
|
adam@0
|
6436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
6437 break 2
|
adam@0
|
6438 fi
|
adam@0
|
6439 done
|
adam@0
|
6440 done
|
adam@0
|
6441 IFS=$as_save_IFS
|
adam@0
|
6442
|
adam@0
|
6443 fi
|
adam@0
|
6444 fi
|
adam@0
|
6445 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
adam@0
|
6446 if test -n "$ac_ct_RANLIB"; then
|
adam@0
|
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
|
adam@0
|
6448 $as_echo "$ac_ct_RANLIB" >&6; }
|
adam@0
|
6449 else
|
adam@0
|
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
6451 $as_echo "no" >&6; }
|
adam@0
|
6452 fi
|
adam@0
|
6453
|
adam@0
|
6454 if test "x$ac_ct_RANLIB" = x; then
|
adam@0
|
6455 RANLIB=":"
|
adam@0
|
6456 else
|
adam@0
|
6457 case $cross_compiling:$ac_tool_warned in
|
adam@0
|
6458 yes:)
|
adam@0
|
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
adam@0
|
6460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
adam@0
|
6461 ac_tool_warned=yes ;;
|
adam@0
|
6462 esac
|
adam@0
|
6463 RANLIB=$ac_ct_RANLIB
|
adam@0
|
6464 fi
|
adam@0
|
6465 else
|
adam@0
|
6466 RANLIB="$ac_cv_prog_RANLIB"
|
adam@0
|
6467 fi
|
adam@0
|
6468
|
adam@0
|
6469 test -z "$RANLIB" && RANLIB=:
|
adam@0
|
6470
|
adam@0
|
6471
|
adam@0
|
6472
|
adam@0
|
6473
|
adam@0
|
6474
|
adam@0
|
6475
|
adam@0
|
6476 # Determine commands to create old-style static archives.
|
adam@0
|
6477 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
|
adam@0
|
6478 old_postinstall_cmds='chmod 644 $oldlib'
|
adam@0
|
6479 old_postuninstall_cmds=
|
adam@0
|
6480
|
adam@0
|
6481 if test -n "$RANLIB"; then
|
adam@0
|
6482 case $host_os in
|
adam@0
|
6483 openbsd*)
|
adam@0
|
6484 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
|
adam@0
|
6485 ;;
|
adam@0
|
6486 *)
|
adam@0
|
6487 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
|
adam@0
|
6488 ;;
|
adam@0
|
6489 esac
|
adam@0
|
6490 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
|
adam@0
|
6491 fi
|
adam@0
|
6492
|
adam@12
|
6493 case $host_os in
|
adam@12
|
6494 darwin*)
|
adam@12
|
6495 lock_old_archive_extraction=yes ;;
|
adam@12
|
6496 *)
|
adam@12
|
6497 lock_old_archive_extraction=no ;;
|
adam@12
|
6498 esac
|
adam@12
|
6499
|
adam@12
|
6500
|
adam@12
|
6501
|
adam@12
|
6502
|
adam@12
|
6503
|
adam@12
|
6504
|
adam@0
|
6505
|
adam@0
|
6506
|
adam@0
|
6507
|
adam@0
|
6508
|
adam@0
|
6509
|
adam@0
|
6510
|
adam@0
|
6511
|
adam@0
|
6512
|
adam@0
|
6513
|
adam@0
|
6514
|
adam@0
|
6515
|
adam@0
|
6516
|
adam@0
|
6517
|
adam@0
|
6518
|
adam@0
|
6519
|
adam@0
|
6520
|
adam@0
|
6521
|
adam@0
|
6522
|
adam@0
|
6523
|
adam@0
|
6524
|
adam@0
|
6525
|
adam@0
|
6526
|
adam@0
|
6527
|
adam@0
|
6528
|
adam@0
|
6529
|
adam@0
|
6530
|
adam@0
|
6531
|
adam@0
|
6532
|
adam@0
|
6533
|
adam@0
|
6534
|
adam@0
|
6535
|
adam@0
|
6536
|
adam@0
|
6537
|
adam@0
|
6538 # If no C compiler was specified, use CC.
|
adam@0
|
6539 LTCC=${LTCC-"$CC"}
|
adam@0
|
6540
|
adam@0
|
6541 # If no C compiler flags were specified, use CFLAGS.
|
adam@0
|
6542 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
|
adam@0
|
6543
|
adam@0
|
6544 # Allow CC to be a program name with arguments.
|
adam@0
|
6545 compiler=$CC
|
adam@0
|
6546
|
adam@0
|
6547
|
adam@0
|
6548 # Check for command to grab the raw symbol name followed by C symbol from nm.
|
adam@0
|
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
|
adam@0
|
6550 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
|
adam@12
|
6551 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
|
adam@0
|
6552 $as_echo_n "(cached) " >&6
|
adam@0
|
6553 else
|
adam@0
|
6554
|
adam@0
|
6555 # These are sane defaults that work on at least a few old systems.
|
adam@0
|
6556 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
|
adam@0
|
6557
|
adam@0
|
6558 # Character class describing NM global symbol codes.
|
adam@0
|
6559 symcode='[BCDEGRST]'
|
adam@0
|
6560
|
adam@0
|
6561 # Regexp to match symbols that can be accessed directly from C.
|
adam@0
|
6562 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
|
adam@0
|
6563
|
adam@0
|
6564 # Define system-specific variables.
|
adam@0
|
6565 case $host_os in
|
adam@0
|
6566 aix*)
|
adam@0
|
6567 symcode='[BCDT]'
|
adam@0
|
6568 ;;
|
adam@0
|
6569 cygwin* | mingw* | pw32* | cegcc*)
|
adam@0
|
6570 symcode='[ABCDGISTW]'
|
adam@0
|
6571 ;;
|
adam@0
|
6572 hpux*)
|
adam@0
|
6573 if test "$host_cpu" = ia64; then
|
adam@0
|
6574 symcode='[ABCDEGRST]'
|
adam@0
|
6575 fi
|
adam@0
|
6576 ;;
|
adam@0
|
6577 irix* | nonstopux*)
|
adam@0
|
6578 symcode='[BCDEGRST]'
|
adam@0
|
6579 ;;
|
adam@0
|
6580 osf*)
|
adam@0
|
6581 symcode='[BCDEGQRST]'
|
adam@0
|
6582 ;;
|
adam@0
|
6583 solaris*)
|
adam@0
|
6584 symcode='[BDRT]'
|
adam@0
|
6585 ;;
|
adam@0
|
6586 sco3.2v5*)
|
adam@0
|
6587 symcode='[DT]'
|
adam@0
|
6588 ;;
|
adam@0
|
6589 sysv4.2uw2*)
|
adam@0
|
6590 symcode='[DT]'
|
adam@0
|
6591 ;;
|
adam@0
|
6592 sysv5* | sco5v6* | unixware* | OpenUNIX*)
|
adam@0
|
6593 symcode='[ABDT]'
|
adam@0
|
6594 ;;
|
adam@0
|
6595 sysv4)
|
adam@0
|
6596 symcode='[DFNSTU]'
|
adam@0
|
6597 ;;
|
adam@0
|
6598 esac
|
adam@0
|
6599
|
adam@0
|
6600 # If we're using GNU nm, then use its standard symbol codes.
|
adam@0
|
6601 case `$NM -V 2>&1` in
|
adam@0
|
6602 *GNU* | *'with BFD'*)
|
adam@0
|
6603 symcode='[ABCDGIRSTW]' ;;
|
adam@0
|
6604 esac
|
adam@0
|
6605
|
adam@0
|
6606 # Transform an extracted symbol line into a proper C declaration.
|
adam@0
|
6607 # Some systems (esp. on ia64) link data and code symbols differently,
|
adam@0
|
6608 # so use this general approach.
|
adam@0
|
6609 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
|
adam@0
|
6610
|
adam@0
|
6611 # Transform an extracted symbol line into symbol name and symbol address
|
adam@12
|
6612 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
|
adam@12
|
6613 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'"
|
adam@0
|
6614
|
adam@0
|
6615 # Handle CRLF in mingw tool chain
|
adam@0
|
6616 opt_cr=
|
adam@0
|
6617 case $build_os in
|
adam@0
|
6618 mingw*)
|
adam@0
|
6619 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
|
adam@0
|
6620 ;;
|
adam@0
|
6621 esac
|
adam@0
|
6622
|
adam@0
|
6623 # Try without a prefix underscore, then with it.
|
adam@0
|
6624 for ac_symprfx in "" "_"; do
|
adam@0
|
6625
|
adam@0
|
6626 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
|
adam@0
|
6627 symxfrm="\\1 $ac_symprfx\\2 \\2"
|
adam@0
|
6628
|
adam@0
|
6629 # Write the raw and C identifiers.
|
adam@0
|
6630 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
|
adam@0
|
6631 # Fake it for dumpbin and say T for any non-static function
|
adam@0
|
6632 # and D for any global variable.
|
adam@0
|
6633 # Also find C++ and __fastcall symbols from MSVC++,
|
adam@0
|
6634 # which start with @ or ?.
|
adam@0
|
6635 lt_cv_sys_global_symbol_pipe="$AWK '"\
|
adam@0
|
6636 " {last_section=section; section=\$ 3};"\
|
adam@0
|
6637 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
|
adam@0
|
6638 " \$ 0!~/External *\|/{next};"\
|
adam@0
|
6639 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
|
adam@0
|
6640 " {if(hide[section]) next};"\
|
adam@0
|
6641 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
|
adam@0
|
6642 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
|
adam@0
|
6643 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
|
adam@0
|
6644 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
|
adam@0
|
6645 " ' prfx=^$ac_symprfx"
|
adam@0
|
6646 else
|
adam@0
|
6647 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
|
adam@0
|
6648 fi
|
adam@12
|
6649 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
|
adam@0
|
6650
|
adam@0
|
6651 # Check to see that the pipe works correctly.
|
adam@0
|
6652 pipe_works=no
|
adam@0
|
6653
|
adam@0
|
6654 rm -f conftest*
|
adam@0
|
6655 cat > conftest.$ac_ext <<_LT_EOF
|
adam@0
|
6656 #ifdef __cplusplus
|
adam@0
|
6657 extern "C" {
|
adam@0
|
6658 #endif
|
adam@0
|
6659 char nm_test_var;
|
adam@0
|
6660 void nm_test_func(void);
|
adam@0
|
6661 void nm_test_func(void){}
|
adam@0
|
6662 #ifdef __cplusplus
|
adam@0
|
6663 }
|
adam@0
|
6664 #endif
|
adam@0
|
6665 int main(){nm_test_var='a';nm_test_func();return(0);}
|
adam@0
|
6666 _LT_EOF
|
adam@0
|
6667
|
adam@0
|
6668 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
adam@0
|
6669 (eval $ac_compile) 2>&5
|
adam@0
|
6670 ac_status=$?
|
adam@0
|
6671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
6672 test $ac_status = 0; }; then
|
adam@0
|
6673 # Now try to grab the symbols.
|
adam@0
|
6674 nlist=conftest.nm
|
adam@12
|
6675 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
|
adam@12
|
6676 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
|
adam@0
|
6677 ac_status=$?
|
adam@0
|
6678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
6679 test $ac_status = 0; } && test -s "$nlist"; then
|
adam@0
|
6680 # Try sorting and uniquifying the output.
|
adam@0
|
6681 if sort "$nlist" | uniq > "$nlist"T; then
|
adam@0
|
6682 mv -f "$nlist"T "$nlist"
|
adam@0
|
6683 else
|
adam@0
|
6684 rm -f "$nlist"T
|
adam@0
|
6685 fi
|
adam@0
|
6686
|
adam@0
|
6687 # Make sure that we snagged all the symbols we need.
|
adam@0
|
6688 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
|
adam@0
|
6689 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
|
adam@0
|
6690 cat <<_LT_EOF > conftest.$ac_ext
|
adam@12
|
6691 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
|
adam@12
|
6692 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
|
adam@12
|
6693 /* DATA imports from DLLs on WIN32 con't be const, because runtime
|
adam@12
|
6694 relocations are performed -- see ld's documentation on pseudo-relocs. */
|
adam@12
|
6695 # define LT_DLSYM_CONST
|
adam@12
|
6696 #elif defined(__osf__)
|
adam@12
|
6697 /* This system does not cope well with relocations in const data. */
|
adam@12
|
6698 # define LT_DLSYM_CONST
|
adam@12
|
6699 #else
|
adam@12
|
6700 # define LT_DLSYM_CONST const
|
adam@12
|
6701 #endif
|
adam@12
|
6702
|
adam@0
|
6703 #ifdef __cplusplus
|
adam@0
|
6704 extern "C" {
|
adam@0
|
6705 #endif
|
adam@0
|
6706
|
adam@0
|
6707 _LT_EOF
|
adam@0
|
6708 # Now generate the symbol file.
|
adam@0
|
6709 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
|
adam@0
|
6710
|
adam@0
|
6711 cat <<_LT_EOF >> conftest.$ac_ext
|
adam@0
|
6712
|
adam@0
|
6713 /* The mapping between symbol names and symbols. */
|
adam@12
|
6714 LT_DLSYM_CONST struct {
|
adam@0
|
6715 const char *name;
|
adam@0
|
6716 void *address;
|
adam@0
|
6717 }
|
adam@0
|
6718 lt__PROGRAM__LTX_preloaded_symbols[] =
|
adam@0
|
6719 {
|
adam@0
|
6720 { "@PROGRAM@", (void *) 0 },
|
adam@0
|
6721 _LT_EOF
|
adam@0
|
6722 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
|
adam@0
|
6723 cat <<\_LT_EOF >> conftest.$ac_ext
|
adam@0
|
6724 {0, (void *) 0}
|
adam@0
|
6725 };
|
adam@0
|
6726
|
adam@0
|
6727 /* This works around a problem in FreeBSD linker */
|
adam@0
|
6728 #ifdef FREEBSD_WORKAROUND
|
adam@0
|
6729 static const void *lt_preloaded_setup() {
|
adam@0
|
6730 return lt__PROGRAM__LTX_preloaded_symbols;
|
adam@0
|
6731 }
|
adam@0
|
6732 #endif
|
adam@0
|
6733
|
adam@0
|
6734 #ifdef __cplusplus
|
adam@0
|
6735 }
|
adam@0
|
6736 #endif
|
adam@0
|
6737 _LT_EOF
|
adam@0
|
6738 # Now try linking the two files.
|
adam@0
|
6739 mv conftest.$ac_objext conftstm.$ac_objext
|
adam@12
|
6740 lt_globsym_save_LIBS=$LIBS
|
adam@12
|
6741 lt_globsym_save_CFLAGS=$CFLAGS
|
adam@0
|
6742 LIBS="conftstm.$ac_objext"
|
adam@0
|
6743 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
|
adam@0
|
6744 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
|
adam@0
|
6745 (eval $ac_link) 2>&5
|
adam@0
|
6746 ac_status=$?
|
adam@0
|
6747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
6748 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
|
adam@0
|
6749 pipe_works=yes
|
adam@0
|
6750 fi
|
adam@12
|
6751 LIBS=$lt_globsym_save_LIBS
|
adam@12
|
6752 CFLAGS=$lt_globsym_save_CFLAGS
|
adam@0
|
6753 else
|
adam@0
|
6754 echo "cannot find nm_test_func in $nlist" >&5
|
adam@0
|
6755 fi
|
adam@0
|
6756 else
|
adam@0
|
6757 echo "cannot find nm_test_var in $nlist" >&5
|
adam@0
|
6758 fi
|
adam@0
|
6759 else
|
adam@0
|
6760 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
|
adam@0
|
6761 fi
|
adam@0
|
6762 else
|
adam@0
|
6763 echo "$progname: failed program was:" >&5
|
adam@0
|
6764 cat conftest.$ac_ext >&5
|
adam@0
|
6765 fi
|
adam@0
|
6766 rm -rf conftest* conftst*
|
adam@0
|
6767
|
adam@0
|
6768 # Do not use the global_symbol_pipe unless it works.
|
adam@0
|
6769 if test "$pipe_works" = yes; then
|
adam@0
|
6770 break
|
adam@0
|
6771 else
|
adam@0
|
6772 lt_cv_sys_global_symbol_pipe=
|
adam@0
|
6773 fi
|
adam@0
|
6774 done
|
adam@0
|
6775
|
adam@0
|
6776 fi
|
adam@0
|
6777
|
adam@0
|
6778 if test -z "$lt_cv_sys_global_symbol_pipe"; then
|
adam@0
|
6779 lt_cv_sys_global_symbol_to_cdecl=
|
adam@0
|
6780 fi
|
adam@0
|
6781 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
|
adam@0
|
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
|
adam@0
|
6783 $as_echo "failed" >&6; }
|
adam@0
|
6784 else
|
adam@0
|
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
|
adam@0
|
6786 $as_echo "ok" >&6; }
|
adam@0
|
6787 fi
|
adam@0
|
6788
|
adam@12
|
6789 # Response file support.
|
adam@12
|
6790 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
|
adam@12
|
6791 nm_file_list_spec='@'
|
adam@12
|
6792 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
|
adam@12
|
6793 nm_file_list_spec='@'
|
adam@12
|
6794 fi
|
adam@12
|
6795
|
adam@12
|
6796
|
adam@12
|
6797
|
adam@12
|
6798
|
adam@12
|
6799
|
adam@12
|
6800
|
adam@12
|
6801
|
adam@12
|
6802
|
adam@12
|
6803
|
adam@12
|
6804
|
adam@12
|
6805
|
adam@12
|
6806
|
adam@12
|
6807
|
adam@12
|
6808
|
adam@12
|
6809
|
adam@12
|
6810
|
adam@12
|
6811
|
adam@12
|
6812
|
adam@12
|
6813
|
adam@12
|
6814
|
adam@12
|
6815
|
adam@12
|
6816
|
adam@12
|
6817
|
adam@12
|
6818
|
adam@12
|
6819
|
adam@12
|
6820
|
adam@12
|
6821
|
adam@12
|
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
|
adam@12
|
6823 $as_echo_n "checking for sysroot... " >&6; }
|
adam@12
|
6824
|
adam@12
|
6825 # Check whether --with-sysroot was given.
|
adam@12
|
6826 if test "${with_sysroot+set}" = set; then :
|
adam@12
|
6827 withval=$with_sysroot;
|
adam@12
|
6828 else
|
adam@12
|
6829 with_sysroot=no
|
adam@12
|
6830 fi
|
adam@12
|
6831
|
adam@12
|
6832
|
adam@12
|
6833 lt_sysroot=
|
adam@12
|
6834 case ${with_sysroot} in #(
|
adam@12
|
6835 yes)
|
adam@12
|
6836 if test "$GCC" = yes; then
|
adam@12
|
6837 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
|
adam@12
|
6838 fi
|
adam@12
|
6839 ;; #(
|
adam@12
|
6840 /*)
|
adam@12
|
6841 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
|
adam@12
|
6842 ;; #(
|
adam@12
|
6843 no|'')
|
adam@12
|
6844 ;; #(
|
adam@12
|
6845 *)
|
adam@12
|
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
|
adam@12
|
6847 $as_echo "${with_sysroot}" >&6; }
|
adam@12
|
6848 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
|
adam@12
|
6849 ;;
|
adam@12
|
6850 esac
|
adam@12
|
6851
|
adam@12
|
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
|
adam@12
|
6853 $as_echo "${lt_sysroot:-no}" >&6; }
|
adam@0
|
6854
|
adam@0
|
6855
|
adam@0
|
6856
|
adam@0
|
6857
|
adam@0
|
6858
|
adam@0
|
6859 # Check whether --enable-libtool-lock was given.
|
adam@0
|
6860 if test "${enable_libtool_lock+set}" = set; then :
|
adam@0
|
6861 enableval=$enable_libtool_lock;
|
adam@0
|
6862 fi
|
adam@0
|
6863
|
adam@0
|
6864 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
|
adam@0
|
6865
|
adam@0
|
6866 # Some flags need to be propagated to the compiler or linker for good
|
adam@0
|
6867 # libtool support.
|
adam@0
|
6868 case $host in
|
adam@0
|
6869 ia64-*-hpux*)
|
adam@0
|
6870 # Find out which ABI we are using.
|
adam@0
|
6871 echo 'int i;' > conftest.$ac_ext
|
adam@0
|
6872 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
adam@0
|
6873 (eval $ac_compile) 2>&5
|
adam@0
|
6874 ac_status=$?
|
adam@0
|
6875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
6876 test $ac_status = 0; }; then
|
adam@0
|
6877 case `/usr/bin/file conftest.$ac_objext` in
|
adam@0
|
6878 *ELF-32*)
|
adam@0
|
6879 HPUX_IA64_MODE="32"
|
adam@0
|
6880 ;;
|
adam@0
|
6881 *ELF-64*)
|
adam@0
|
6882 HPUX_IA64_MODE="64"
|
adam@0
|
6883 ;;
|
adam@0
|
6884 esac
|
adam@0
|
6885 fi
|
adam@0
|
6886 rm -rf conftest*
|
adam@0
|
6887 ;;
|
adam@0
|
6888 *-*-irix6*)
|
adam@0
|
6889 # Find out which ABI we are using.
|
adam@12
|
6890 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
|
adam@0
|
6891 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
adam@0
|
6892 (eval $ac_compile) 2>&5
|
adam@0
|
6893 ac_status=$?
|
adam@0
|
6894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
6895 test $ac_status = 0; }; then
|
adam@0
|
6896 if test "$lt_cv_prog_gnu_ld" = yes; then
|
adam@0
|
6897 case `/usr/bin/file conftest.$ac_objext` in
|
adam@0
|
6898 *32-bit*)
|
adam@0
|
6899 LD="${LD-ld} -melf32bsmip"
|
adam@0
|
6900 ;;
|
adam@0
|
6901 *N32*)
|
adam@0
|
6902 LD="${LD-ld} -melf32bmipn32"
|
adam@0
|
6903 ;;
|
adam@0
|
6904 *64-bit*)
|
adam@0
|
6905 LD="${LD-ld} -melf64bmip"
|
adam@0
|
6906 ;;
|
adam@0
|
6907 esac
|
adam@0
|
6908 else
|
adam@0
|
6909 case `/usr/bin/file conftest.$ac_objext` in
|
adam@0
|
6910 *32-bit*)
|
adam@0
|
6911 LD="${LD-ld} -32"
|
adam@0
|
6912 ;;
|
adam@0
|
6913 *N32*)
|
adam@0
|
6914 LD="${LD-ld} -n32"
|
adam@0
|
6915 ;;
|
adam@0
|
6916 *64-bit*)
|
adam@0
|
6917 LD="${LD-ld} -64"
|
adam@0
|
6918 ;;
|
adam@0
|
6919 esac
|
adam@0
|
6920 fi
|
adam@0
|
6921 fi
|
adam@0
|
6922 rm -rf conftest*
|
adam@0
|
6923 ;;
|
adam@0
|
6924
|
adam@0
|
6925 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
|
adam@0
|
6926 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
|
adam@0
|
6927 # Find out which ABI we are using.
|
adam@0
|
6928 echo 'int i;' > conftest.$ac_ext
|
adam@0
|
6929 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
adam@0
|
6930 (eval $ac_compile) 2>&5
|
adam@0
|
6931 ac_status=$?
|
adam@0
|
6932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
6933 test $ac_status = 0; }; then
|
adam@0
|
6934 case `/usr/bin/file conftest.o` in
|
adam@0
|
6935 *32-bit*)
|
adam@0
|
6936 case $host in
|
adam@0
|
6937 x86_64-*kfreebsd*-gnu)
|
adam@0
|
6938 LD="${LD-ld} -m elf_i386_fbsd"
|
adam@0
|
6939 ;;
|
adam@0
|
6940 x86_64-*linux*)
|
adam@0
|
6941 LD="${LD-ld} -m elf_i386"
|
adam@0
|
6942 ;;
|
adam@0
|
6943 ppc64-*linux*|powerpc64-*linux*)
|
adam@0
|
6944 LD="${LD-ld} -m elf32ppclinux"
|
adam@0
|
6945 ;;
|
adam@0
|
6946 s390x-*linux*)
|
adam@0
|
6947 LD="${LD-ld} -m elf_s390"
|
adam@0
|
6948 ;;
|
adam@0
|
6949 sparc64-*linux*)
|
adam@0
|
6950 LD="${LD-ld} -m elf32_sparc"
|
adam@0
|
6951 ;;
|
adam@0
|
6952 esac
|
adam@0
|
6953 ;;
|
adam@0
|
6954 *64-bit*)
|
adam@0
|
6955 case $host in
|
adam@0
|
6956 x86_64-*kfreebsd*-gnu)
|
adam@0
|
6957 LD="${LD-ld} -m elf_x86_64_fbsd"
|
adam@0
|
6958 ;;
|
adam@0
|
6959 x86_64-*linux*)
|
adam@0
|
6960 LD="${LD-ld} -m elf_x86_64"
|
adam@0
|
6961 ;;
|
adam@0
|
6962 ppc*-*linux*|powerpc*-*linux*)
|
adam@0
|
6963 LD="${LD-ld} -m elf64ppc"
|
adam@0
|
6964 ;;
|
adam@0
|
6965 s390*-*linux*|s390*-*tpf*)
|
adam@0
|
6966 LD="${LD-ld} -m elf64_s390"
|
adam@0
|
6967 ;;
|
adam@0
|
6968 sparc*-*linux*)
|
adam@0
|
6969 LD="${LD-ld} -m elf64_sparc"
|
adam@0
|
6970 ;;
|
adam@0
|
6971 esac
|
adam@0
|
6972 ;;
|
adam@0
|
6973 esac
|
adam@0
|
6974 fi
|
adam@0
|
6975 rm -rf conftest*
|
adam@0
|
6976 ;;
|
adam@0
|
6977
|
adam@0
|
6978 *-*-sco3.2v5*)
|
adam@0
|
6979 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
|
adam@0
|
6980 SAVE_CFLAGS="$CFLAGS"
|
adam@0
|
6981 CFLAGS="$CFLAGS -belf"
|
adam@0
|
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
|
adam@0
|
6983 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
|
adam@12
|
6984 if ${lt_cv_cc_needs_belf+:} false; then :
|
adam@0
|
6985 $as_echo_n "(cached) " >&6
|
adam@0
|
6986 else
|
adam@0
|
6987 ac_ext=c
|
adam@0
|
6988 ac_cpp='$CPP $CPPFLAGS'
|
adam@0
|
6989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
adam@0
|
6990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
adam@0
|
6991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
adam@0
|
6992
|
adam@0
|
6993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
6994 /* end confdefs.h. */
|
adam@0
|
6995
|
adam@0
|
6996 int
|
adam@0
|
6997 main ()
|
adam@0
|
6998 {
|
adam@0
|
6999
|
adam@0
|
7000 ;
|
adam@0
|
7001 return 0;
|
adam@0
|
7002 }
|
adam@0
|
7003 _ACEOF
|
adam@0
|
7004 if ac_fn_c_try_link "$LINENO"; then :
|
adam@0
|
7005 lt_cv_cc_needs_belf=yes
|
adam@0
|
7006 else
|
adam@0
|
7007 lt_cv_cc_needs_belf=no
|
adam@0
|
7008 fi
|
adam@0
|
7009 rm -f core conftest.err conftest.$ac_objext \
|
adam@0
|
7010 conftest$ac_exeext conftest.$ac_ext
|
adam@0
|
7011 ac_ext=c
|
adam@0
|
7012 ac_cpp='$CPP $CPPFLAGS'
|
adam@0
|
7013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
adam@0
|
7014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
adam@0
|
7015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
adam@0
|
7016
|
adam@0
|
7017 fi
|
adam@0
|
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
|
adam@0
|
7019 $as_echo "$lt_cv_cc_needs_belf" >&6; }
|
adam@0
|
7020 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
|
adam@0
|
7021 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
|
adam@0
|
7022 CFLAGS="$SAVE_CFLAGS"
|
adam@0
|
7023 fi
|
adam@0
|
7024 ;;
|
adam@0
|
7025 sparc*-*solaris*)
|
adam@0
|
7026 # Find out which ABI we are using.
|
adam@0
|
7027 echo 'int i;' > conftest.$ac_ext
|
adam@0
|
7028 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
adam@0
|
7029 (eval $ac_compile) 2>&5
|
adam@0
|
7030 ac_status=$?
|
adam@0
|
7031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
7032 test $ac_status = 0; }; then
|
adam@0
|
7033 case `/usr/bin/file conftest.o` in
|
adam@0
|
7034 *64-bit*)
|
adam@0
|
7035 case $lt_cv_prog_gnu_ld in
|
adam@0
|
7036 yes*) LD="${LD-ld} -m elf64_sparc" ;;
|
adam@0
|
7037 *)
|
adam@0
|
7038 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
|
adam@0
|
7039 LD="${LD-ld} -64"
|
adam@0
|
7040 fi
|
adam@0
|
7041 ;;
|
adam@0
|
7042 esac
|
adam@0
|
7043 ;;
|
adam@0
|
7044 esac
|
adam@0
|
7045 fi
|
adam@0
|
7046 rm -rf conftest*
|
adam@0
|
7047 ;;
|
adam@0
|
7048 esac
|
adam@0
|
7049
|
adam@0
|
7050 need_locks="$enable_libtool_lock"
|
adam@0
|
7051
|
adam@12
|
7052 if test -n "$ac_tool_prefix"; then
|
adam@12
|
7053 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
|
adam@12
|
7054 set dummy ${ac_tool_prefix}mt; ac_word=$2
|
adam@12
|
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@12
|
7056 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
7057 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
|
adam@12
|
7058 $as_echo_n "(cached) " >&6
|
adam@12
|
7059 else
|
adam@12
|
7060 if test -n "$MANIFEST_TOOL"; then
|
adam@12
|
7061 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
|
adam@12
|
7062 else
|
adam@12
|
7063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@12
|
7064 for as_dir in $PATH
|
adam@12
|
7065 do
|
adam@12
|
7066 IFS=$as_save_IFS
|
adam@12
|
7067 test -z "$as_dir" && as_dir=.
|
adam@12
|
7068 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@12
|
7069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@12
|
7070 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
|
adam@12
|
7071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@12
|
7072 break 2
|
adam@12
|
7073 fi
|
adam@12
|
7074 done
|
adam@12
|
7075 done
|
adam@12
|
7076 IFS=$as_save_IFS
|
adam@12
|
7077
|
adam@12
|
7078 fi
|
adam@12
|
7079 fi
|
adam@12
|
7080 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
|
adam@12
|
7081 if test -n "$MANIFEST_TOOL"; then
|
adam@12
|
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
|
adam@12
|
7083 $as_echo "$MANIFEST_TOOL" >&6; }
|
adam@12
|
7084 else
|
adam@12
|
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@12
|
7086 $as_echo "no" >&6; }
|
adam@12
|
7087 fi
|
adam@12
|
7088
|
adam@12
|
7089
|
adam@12
|
7090 fi
|
adam@12
|
7091 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
|
adam@12
|
7092 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
|
adam@12
|
7093 # Extract the first word of "mt", so it can be a program name with args.
|
adam@12
|
7094 set dummy mt; ac_word=$2
|
adam@12
|
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@12
|
7096 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
7097 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
|
adam@12
|
7098 $as_echo_n "(cached) " >&6
|
adam@12
|
7099 else
|
adam@12
|
7100 if test -n "$ac_ct_MANIFEST_TOOL"; then
|
adam@12
|
7101 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
|
adam@12
|
7102 else
|
adam@12
|
7103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@12
|
7104 for as_dir in $PATH
|
adam@12
|
7105 do
|
adam@12
|
7106 IFS=$as_save_IFS
|
adam@12
|
7107 test -z "$as_dir" && as_dir=.
|
adam@12
|
7108 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@12
|
7109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@12
|
7110 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
|
adam@12
|
7111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@12
|
7112 break 2
|
adam@12
|
7113 fi
|
adam@12
|
7114 done
|
adam@12
|
7115 done
|
adam@12
|
7116 IFS=$as_save_IFS
|
adam@12
|
7117
|
adam@12
|
7118 fi
|
adam@12
|
7119 fi
|
adam@12
|
7120 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
|
adam@12
|
7121 if test -n "$ac_ct_MANIFEST_TOOL"; then
|
adam@12
|
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
|
adam@12
|
7123 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
|
adam@12
|
7124 else
|
adam@12
|
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@12
|
7126 $as_echo "no" >&6; }
|
adam@12
|
7127 fi
|
adam@12
|
7128
|
adam@12
|
7129 if test "x$ac_ct_MANIFEST_TOOL" = x; then
|
adam@12
|
7130 MANIFEST_TOOL=":"
|
adam@12
|
7131 else
|
adam@12
|
7132 case $cross_compiling:$ac_tool_warned in
|
adam@12
|
7133 yes:)
|
adam@12
|
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
adam@12
|
7135 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
adam@12
|
7136 ac_tool_warned=yes ;;
|
adam@12
|
7137 esac
|
adam@12
|
7138 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
|
adam@12
|
7139 fi
|
adam@12
|
7140 else
|
adam@12
|
7141 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
|
adam@12
|
7142 fi
|
adam@12
|
7143
|
adam@12
|
7144 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
|
adam@12
|
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
|
adam@12
|
7146 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
|
adam@12
|
7147 if ${lt_cv_path_mainfest_tool+:} false; then :
|
adam@12
|
7148 $as_echo_n "(cached) " >&6
|
adam@12
|
7149 else
|
adam@12
|
7150 lt_cv_path_mainfest_tool=no
|
adam@12
|
7151 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
|
adam@12
|
7152 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
|
adam@12
|
7153 cat conftest.err >&5
|
adam@12
|
7154 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
|
adam@12
|
7155 lt_cv_path_mainfest_tool=yes
|
adam@12
|
7156 fi
|
adam@12
|
7157 rm -f conftest*
|
adam@12
|
7158 fi
|
adam@12
|
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
|
adam@12
|
7160 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
|
adam@12
|
7161 if test "x$lt_cv_path_mainfest_tool" != xyes; then
|
adam@12
|
7162 MANIFEST_TOOL=:
|
adam@12
|
7163 fi
|
adam@12
|
7164
|
adam@12
|
7165
|
adam@12
|
7166
|
adam@12
|
7167
|
adam@12
|
7168
|
adam@0
|
7169
|
adam@0
|
7170 case $host_os in
|
adam@0
|
7171 rhapsody* | darwin*)
|
adam@0
|
7172 if test -n "$ac_tool_prefix"; then
|
adam@0
|
7173 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
|
adam@0
|
7174 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
|
adam@0
|
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
7176 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
7177 if ${ac_cv_prog_DSYMUTIL+:} false; then :
|
adam@0
|
7178 $as_echo_n "(cached) " >&6
|
adam@0
|
7179 else
|
adam@0
|
7180 if test -n "$DSYMUTIL"; then
|
adam@0
|
7181 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
|
adam@0
|
7182 else
|
adam@0
|
7183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
7184 for as_dir in $PATH
|
adam@0
|
7185 do
|
adam@0
|
7186 IFS=$as_save_IFS
|
adam@0
|
7187 test -z "$as_dir" && as_dir=.
|
adam@0
|
7188 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
7189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
7190 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
|
adam@0
|
7191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
7192 break 2
|
adam@0
|
7193 fi
|
adam@0
|
7194 done
|
adam@0
|
7195 done
|
adam@0
|
7196 IFS=$as_save_IFS
|
adam@0
|
7197
|
adam@0
|
7198 fi
|
adam@0
|
7199 fi
|
adam@0
|
7200 DSYMUTIL=$ac_cv_prog_DSYMUTIL
|
adam@0
|
7201 if test -n "$DSYMUTIL"; then
|
adam@0
|
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
|
adam@0
|
7203 $as_echo "$DSYMUTIL" >&6; }
|
adam@0
|
7204 else
|
adam@0
|
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
7206 $as_echo "no" >&6; }
|
adam@0
|
7207 fi
|
adam@0
|
7208
|
adam@0
|
7209
|
adam@0
|
7210 fi
|
adam@0
|
7211 if test -z "$ac_cv_prog_DSYMUTIL"; then
|
adam@0
|
7212 ac_ct_DSYMUTIL=$DSYMUTIL
|
adam@0
|
7213 # Extract the first word of "dsymutil", so it can be a program name with args.
|
adam@0
|
7214 set dummy dsymutil; ac_word=$2
|
adam@0
|
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
7216 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
7217 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
|
adam@0
|
7218 $as_echo_n "(cached) " >&6
|
adam@0
|
7219 else
|
adam@0
|
7220 if test -n "$ac_ct_DSYMUTIL"; then
|
adam@0
|
7221 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
|
adam@0
|
7222 else
|
adam@0
|
7223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
7224 for as_dir in $PATH
|
adam@0
|
7225 do
|
adam@0
|
7226 IFS=$as_save_IFS
|
adam@0
|
7227 test -z "$as_dir" && as_dir=.
|
adam@0
|
7228 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
7229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
7230 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
|
adam@0
|
7231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
7232 break 2
|
adam@0
|
7233 fi
|
adam@0
|
7234 done
|
adam@0
|
7235 done
|
adam@0
|
7236 IFS=$as_save_IFS
|
adam@0
|
7237
|
adam@0
|
7238 fi
|
adam@0
|
7239 fi
|
adam@0
|
7240 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
|
adam@0
|
7241 if test -n "$ac_ct_DSYMUTIL"; then
|
adam@0
|
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
|
adam@0
|
7243 $as_echo "$ac_ct_DSYMUTIL" >&6; }
|
adam@0
|
7244 else
|
adam@0
|
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
7246 $as_echo "no" >&6; }
|
adam@0
|
7247 fi
|
adam@0
|
7248
|
adam@0
|
7249 if test "x$ac_ct_DSYMUTIL" = x; then
|
adam@0
|
7250 DSYMUTIL=":"
|
adam@0
|
7251 else
|
adam@0
|
7252 case $cross_compiling:$ac_tool_warned in
|
adam@0
|
7253 yes:)
|
adam@0
|
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
adam@0
|
7255 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
adam@0
|
7256 ac_tool_warned=yes ;;
|
adam@0
|
7257 esac
|
adam@0
|
7258 DSYMUTIL=$ac_ct_DSYMUTIL
|
adam@0
|
7259 fi
|
adam@0
|
7260 else
|
adam@0
|
7261 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
|
adam@0
|
7262 fi
|
adam@0
|
7263
|
adam@0
|
7264 if test -n "$ac_tool_prefix"; then
|
adam@0
|
7265 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
|
adam@0
|
7266 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
|
adam@0
|
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
7268 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
7269 if ${ac_cv_prog_NMEDIT+:} false; then :
|
adam@0
|
7270 $as_echo_n "(cached) " >&6
|
adam@0
|
7271 else
|
adam@0
|
7272 if test -n "$NMEDIT"; then
|
adam@0
|
7273 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
|
adam@0
|
7274 else
|
adam@0
|
7275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
7276 for as_dir in $PATH
|
adam@0
|
7277 do
|
adam@0
|
7278 IFS=$as_save_IFS
|
adam@0
|
7279 test -z "$as_dir" && as_dir=.
|
adam@0
|
7280 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
7281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
7282 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
|
adam@0
|
7283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
7284 break 2
|
adam@0
|
7285 fi
|
adam@0
|
7286 done
|
adam@0
|
7287 done
|
adam@0
|
7288 IFS=$as_save_IFS
|
adam@0
|
7289
|
adam@0
|
7290 fi
|
adam@0
|
7291 fi
|
adam@0
|
7292 NMEDIT=$ac_cv_prog_NMEDIT
|
adam@0
|
7293 if test -n "$NMEDIT"; then
|
adam@0
|
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
|
adam@0
|
7295 $as_echo "$NMEDIT" >&6; }
|
adam@0
|
7296 else
|
adam@0
|
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
7298 $as_echo "no" >&6; }
|
adam@0
|
7299 fi
|
adam@0
|
7300
|
adam@0
|
7301
|
adam@0
|
7302 fi
|
adam@0
|
7303 if test -z "$ac_cv_prog_NMEDIT"; then
|
adam@0
|
7304 ac_ct_NMEDIT=$NMEDIT
|
adam@0
|
7305 # Extract the first word of "nmedit", so it can be a program name with args.
|
adam@0
|
7306 set dummy nmedit; ac_word=$2
|
adam@0
|
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
7308 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
7309 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
|
adam@0
|
7310 $as_echo_n "(cached) " >&6
|
adam@0
|
7311 else
|
adam@0
|
7312 if test -n "$ac_ct_NMEDIT"; then
|
adam@0
|
7313 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
|
adam@0
|
7314 else
|
adam@0
|
7315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
7316 for as_dir in $PATH
|
adam@0
|
7317 do
|
adam@0
|
7318 IFS=$as_save_IFS
|
adam@0
|
7319 test -z "$as_dir" && as_dir=.
|
adam@0
|
7320 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
7321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
7322 ac_cv_prog_ac_ct_NMEDIT="nmedit"
|
adam@0
|
7323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
7324 break 2
|
adam@0
|
7325 fi
|
adam@0
|
7326 done
|
adam@0
|
7327 done
|
adam@0
|
7328 IFS=$as_save_IFS
|
adam@0
|
7329
|
adam@0
|
7330 fi
|
adam@0
|
7331 fi
|
adam@0
|
7332 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
|
adam@0
|
7333 if test -n "$ac_ct_NMEDIT"; then
|
adam@0
|
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
|
adam@0
|
7335 $as_echo "$ac_ct_NMEDIT" >&6; }
|
adam@0
|
7336 else
|
adam@0
|
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
7338 $as_echo "no" >&6; }
|
adam@0
|
7339 fi
|
adam@0
|
7340
|
adam@0
|
7341 if test "x$ac_ct_NMEDIT" = x; then
|
adam@0
|
7342 NMEDIT=":"
|
adam@0
|
7343 else
|
adam@0
|
7344 case $cross_compiling:$ac_tool_warned in
|
adam@0
|
7345 yes:)
|
adam@0
|
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
adam@0
|
7347 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
adam@0
|
7348 ac_tool_warned=yes ;;
|
adam@0
|
7349 esac
|
adam@0
|
7350 NMEDIT=$ac_ct_NMEDIT
|
adam@0
|
7351 fi
|
adam@0
|
7352 else
|
adam@0
|
7353 NMEDIT="$ac_cv_prog_NMEDIT"
|
adam@0
|
7354 fi
|
adam@0
|
7355
|
adam@0
|
7356 if test -n "$ac_tool_prefix"; then
|
adam@0
|
7357 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
|
adam@0
|
7358 set dummy ${ac_tool_prefix}lipo; ac_word=$2
|
adam@0
|
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
7360 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
7361 if ${ac_cv_prog_LIPO+:} false; then :
|
adam@0
|
7362 $as_echo_n "(cached) " >&6
|
adam@0
|
7363 else
|
adam@0
|
7364 if test -n "$LIPO"; then
|
adam@0
|
7365 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
|
adam@0
|
7366 else
|
adam@0
|
7367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
7368 for as_dir in $PATH
|
adam@0
|
7369 do
|
adam@0
|
7370 IFS=$as_save_IFS
|
adam@0
|
7371 test -z "$as_dir" && as_dir=.
|
adam@0
|
7372 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
7373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
7374 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
|
adam@0
|
7375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
7376 break 2
|
adam@0
|
7377 fi
|
adam@0
|
7378 done
|
adam@0
|
7379 done
|
adam@0
|
7380 IFS=$as_save_IFS
|
adam@0
|
7381
|
adam@0
|
7382 fi
|
adam@0
|
7383 fi
|
adam@0
|
7384 LIPO=$ac_cv_prog_LIPO
|
adam@0
|
7385 if test -n "$LIPO"; then
|
adam@0
|
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
|
adam@0
|
7387 $as_echo "$LIPO" >&6; }
|
adam@0
|
7388 else
|
adam@0
|
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
7390 $as_echo "no" >&6; }
|
adam@0
|
7391 fi
|
adam@0
|
7392
|
adam@0
|
7393
|
adam@0
|
7394 fi
|
adam@0
|
7395 if test -z "$ac_cv_prog_LIPO"; then
|
adam@0
|
7396 ac_ct_LIPO=$LIPO
|
adam@0
|
7397 # Extract the first word of "lipo", so it can be a program name with args.
|
adam@0
|
7398 set dummy lipo; ac_word=$2
|
adam@0
|
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
7400 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
7401 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
|
adam@0
|
7402 $as_echo_n "(cached) " >&6
|
adam@0
|
7403 else
|
adam@0
|
7404 if test -n "$ac_ct_LIPO"; then
|
adam@0
|
7405 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
|
adam@0
|
7406 else
|
adam@0
|
7407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
7408 for as_dir in $PATH
|
adam@0
|
7409 do
|
adam@0
|
7410 IFS=$as_save_IFS
|
adam@0
|
7411 test -z "$as_dir" && as_dir=.
|
adam@0
|
7412 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
7413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
7414 ac_cv_prog_ac_ct_LIPO="lipo"
|
adam@0
|
7415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
7416 break 2
|
adam@0
|
7417 fi
|
adam@0
|
7418 done
|
adam@0
|
7419 done
|
adam@0
|
7420 IFS=$as_save_IFS
|
adam@0
|
7421
|
adam@0
|
7422 fi
|
adam@0
|
7423 fi
|
adam@0
|
7424 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
|
adam@0
|
7425 if test -n "$ac_ct_LIPO"; then
|
adam@0
|
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
|
adam@0
|
7427 $as_echo "$ac_ct_LIPO" >&6; }
|
adam@0
|
7428 else
|
adam@0
|
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
7430 $as_echo "no" >&6; }
|
adam@0
|
7431 fi
|
adam@0
|
7432
|
adam@0
|
7433 if test "x$ac_ct_LIPO" = x; then
|
adam@0
|
7434 LIPO=":"
|
adam@0
|
7435 else
|
adam@0
|
7436 case $cross_compiling:$ac_tool_warned in
|
adam@0
|
7437 yes:)
|
adam@0
|
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
adam@0
|
7439 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
adam@0
|
7440 ac_tool_warned=yes ;;
|
adam@0
|
7441 esac
|
adam@0
|
7442 LIPO=$ac_ct_LIPO
|
adam@0
|
7443 fi
|
adam@0
|
7444 else
|
adam@0
|
7445 LIPO="$ac_cv_prog_LIPO"
|
adam@0
|
7446 fi
|
adam@0
|
7447
|
adam@0
|
7448 if test -n "$ac_tool_prefix"; then
|
adam@0
|
7449 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
|
adam@0
|
7450 set dummy ${ac_tool_prefix}otool; ac_word=$2
|
adam@0
|
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
7452 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
7453 if ${ac_cv_prog_OTOOL+:} false; then :
|
adam@0
|
7454 $as_echo_n "(cached) " >&6
|
adam@0
|
7455 else
|
adam@0
|
7456 if test -n "$OTOOL"; then
|
adam@0
|
7457 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
|
adam@0
|
7458 else
|
adam@0
|
7459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
7460 for as_dir in $PATH
|
adam@0
|
7461 do
|
adam@0
|
7462 IFS=$as_save_IFS
|
adam@0
|
7463 test -z "$as_dir" && as_dir=.
|
adam@0
|
7464 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
7465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
7466 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
|
adam@0
|
7467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
7468 break 2
|
adam@0
|
7469 fi
|
adam@0
|
7470 done
|
adam@0
|
7471 done
|
adam@0
|
7472 IFS=$as_save_IFS
|
adam@0
|
7473
|
adam@0
|
7474 fi
|
adam@0
|
7475 fi
|
adam@0
|
7476 OTOOL=$ac_cv_prog_OTOOL
|
adam@0
|
7477 if test -n "$OTOOL"; then
|
adam@0
|
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
|
adam@0
|
7479 $as_echo "$OTOOL" >&6; }
|
adam@0
|
7480 else
|
adam@0
|
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
7482 $as_echo "no" >&6; }
|
adam@0
|
7483 fi
|
adam@0
|
7484
|
adam@0
|
7485
|
adam@0
|
7486 fi
|
adam@0
|
7487 if test -z "$ac_cv_prog_OTOOL"; then
|
adam@0
|
7488 ac_ct_OTOOL=$OTOOL
|
adam@0
|
7489 # Extract the first word of "otool", so it can be a program name with args.
|
adam@0
|
7490 set dummy otool; ac_word=$2
|
adam@0
|
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
7492 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
7493 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
|
adam@0
|
7494 $as_echo_n "(cached) " >&6
|
adam@0
|
7495 else
|
adam@0
|
7496 if test -n "$ac_ct_OTOOL"; then
|
adam@0
|
7497 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
|
adam@0
|
7498 else
|
adam@0
|
7499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
7500 for as_dir in $PATH
|
adam@0
|
7501 do
|
adam@0
|
7502 IFS=$as_save_IFS
|
adam@0
|
7503 test -z "$as_dir" && as_dir=.
|
adam@0
|
7504 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
7505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
7506 ac_cv_prog_ac_ct_OTOOL="otool"
|
adam@0
|
7507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
7508 break 2
|
adam@0
|
7509 fi
|
adam@0
|
7510 done
|
adam@0
|
7511 done
|
adam@0
|
7512 IFS=$as_save_IFS
|
adam@0
|
7513
|
adam@0
|
7514 fi
|
adam@0
|
7515 fi
|
adam@0
|
7516 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
|
adam@0
|
7517 if test -n "$ac_ct_OTOOL"; then
|
adam@0
|
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
|
adam@0
|
7519 $as_echo "$ac_ct_OTOOL" >&6; }
|
adam@0
|
7520 else
|
adam@0
|
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
7522 $as_echo "no" >&6; }
|
adam@0
|
7523 fi
|
adam@0
|
7524
|
adam@0
|
7525 if test "x$ac_ct_OTOOL" = x; then
|
adam@0
|
7526 OTOOL=":"
|
adam@0
|
7527 else
|
adam@0
|
7528 case $cross_compiling:$ac_tool_warned in
|
adam@0
|
7529 yes:)
|
adam@0
|
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
adam@0
|
7531 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
adam@0
|
7532 ac_tool_warned=yes ;;
|
adam@0
|
7533 esac
|
adam@0
|
7534 OTOOL=$ac_ct_OTOOL
|
adam@0
|
7535 fi
|
adam@0
|
7536 else
|
adam@0
|
7537 OTOOL="$ac_cv_prog_OTOOL"
|
adam@0
|
7538 fi
|
adam@0
|
7539
|
adam@0
|
7540 if test -n "$ac_tool_prefix"; then
|
adam@0
|
7541 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
|
adam@0
|
7542 set dummy ${ac_tool_prefix}otool64; ac_word=$2
|
adam@0
|
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
7544 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
7545 if ${ac_cv_prog_OTOOL64+:} false; then :
|
adam@0
|
7546 $as_echo_n "(cached) " >&6
|
adam@0
|
7547 else
|
adam@0
|
7548 if test -n "$OTOOL64"; then
|
adam@0
|
7549 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
|
adam@0
|
7550 else
|
adam@0
|
7551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
7552 for as_dir in $PATH
|
adam@0
|
7553 do
|
adam@0
|
7554 IFS=$as_save_IFS
|
adam@0
|
7555 test -z "$as_dir" && as_dir=.
|
adam@0
|
7556 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
7557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
7558 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
|
adam@0
|
7559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
7560 break 2
|
adam@0
|
7561 fi
|
adam@0
|
7562 done
|
adam@0
|
7563 done
|
adam@0
|
7564 IFS=$as_save_IFS
|
adam@0
|
7565
|
adam@0
|
7566 fi
|
adam@0
|
7567 fi
|
adam@0
|
7568 OTOOL64=$ac_cv_prog_OTOOL64
|
adam@0
|
7569 if test -n "$OTOOL64"; then
|
adam@0
|
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
|
adam@0
|
7571 $as_echo "$OTOOL64" >&6; }
|
adam@0
|
7572 else
|
adam@0
|
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
7574 $as_echo "no" >&6; }
|
adam@0
|
7575 fi
|
adam@0
|
7576
|
adam@0
|
7577
|
adam@0
|
7578 fi
|
adam@0
|
7579 if test -z "$ac_cv_prog_OTOOL64"; then
|
adam@0
|
7580 ac_ct_OTOOL64=$OTOOL64
|
adam@0
|
7581 # Extract the first word of "otool64", so it can be a program name with args.
|
adam@0
|
7582 set dummy otool64; ac_word=$2
|
adam@0
|
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
7584 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
7585 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
|
adam@0
|
7586 $as_echo_n "(cached) " >&6
|
adam@0
|
7587 else
|
adam@0
|
7588 if test -n "$ac_ct_OTOOL64"; then
|
adam@0
|
7589 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
|
adam@0
|
7590 else
|
adam@0
|
7591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
7592 for as_dir in $PATH
|
adam@0
|
7593 do
|
adam@0
|
7594 IFS=$as_save_IFS
|
adam@0
|
7595 test -z "$as_dir" && as_dir=.
|
adam@0
|
7596 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
7597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
7598 ac_cv_prog_ac_ct_OTOOL64="otool64"
|
adam@0
|
7599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
7600 break 2
|
adam@0
|
7601 fi
|
adam@0
|
7602 done
|
adam@0
|
7603 done
|
adam@0
|
7604 IFS=$as_save_IFS
|
adam@0
|
7605
|
adam@0
|
7606 fi
|
adam@0
|
7607 fi
|
adam@0
|
7608 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
|
adam@0
|
7609 if test -n "$ac_ct_OTOOL64"; then
|
adam@0
|
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
|
adam@0
|
7611 $as_echo "$ac_ct_OTOOL64" >&6; }
|
adam@0
|
7612 else
|
adam@0
|
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
7614 $as_echo "no" >&6; }
|
adam@0
|
7615 fi
|
adam@0
|
7616
|
adam@0
|
7617 if test "x$ac_ct_OTOOL64" = x; then
|
adam@0
|
7618 OTOOL64=":"
|
adam@0
|
7619 else
|
adam@0
|
7620 case $cross_compiling:$ac_tool_warned in
|
adam@0
|
7621 yes:)
|
adam@0
|
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
adam@0
|
7623 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
adam@0
|
7624 ac_tool_warned=yes ;;
|
adam@0
|
7625 esac
|
adam@0
|
7626 OTOOL64=$ac_ct_OTOOL64
|
adam@0
|
7627 fi
|
adam@0
|
7628 else
|
adam@0
|
7629 OTOOL64="$ac_cv_prog_OTOOL64"
|
adam@0
|
7630 fi
|
adam@0
|
7631
|
adam@0
|
7632
|
adam@0
|
7633
|
adam@0
|
7634
|
adam@0
|
7635
|
adam@0
|
7636
|
adam@0
|
7637
|
adam@0
|
7638
|
adam@0
|
7639
|
adam@0
|
7640
|
adam@0
|
7641
|
adam@0
|
7642
|
adam@0
|
7643
|
adam@0
|
7644
|
adam@0
|
7645
|
adam@0
|
7646
|
adam@0
|
7647
|
adam@0
|
7648
|
adam@0
|
7649
|
adam@0
|
7650
|
adam@0
|
7651
|
adam@0
|
7652
|
adam@0
|
7653
|
adam@0
|
7654
|
adam@0
|
7655
|
adam@0
|
7656
|
adam@0
|
7657
|
adam@0
|
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
|
adam@0
|
7659 $as_echo_n "checking for -single_module linker flag... " >&6; }
|
adam@12
|
7660 if ${lt_cv_apple_cc_single_mod+:} false; then :
|
adam@0
|
7661 $as_echo_n "(cached) " >&6
|
adam@0
|
7662 else
|
adam@0
|
7663 lt_cv_apple_cc_single_mod=no
|
adam@0
|
7664 if test -z "${LT_MULTI_MODULE}"; then
|
adam@0
|
7665 # By default we will add the -single_module flag. You can override
|
adam@0
|
7666 # by either setting the environment variable LT_MULTI_MODULE
|
adam@0
|
7667 # non-empty at configure time, or by adding -multi_module to the
|
adam@0
|
7668 # link flags.
|
adam@0
|
7669 rm -rf libconftest.dylib*
|
adam@0
|
7670 echo "int foo(void){return 1;}" > conftest.c
|
adam@0
|
7671 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
|
adam@0
|
7672 -dynamiclib -Wl,-single_module conftest.c" >&5
|
adam@0
|
7673 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
|
adam@0
|
7674 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
|
adam@0
|
7675 _lt_result=$?
|
adam@0
|
7676 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
|
adam@0
|
7677 lt_cv_apple_cc_single_mod=yes
|
adam@0
|
7678 else
|
adam@0
|
7679 cat conftest.err >&5
|
adam@0
|
7680 fi
|
adam@0
|
7681 rm -rf libconftest.dylib*
|
adam@0
|
7682 rm -f conftest.*
|
adam@0
|
7683 fi
|
adam@0
|
7684 fi
|
adam@0
|
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
|
adam@0
|
7686 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
|
adam@0
|
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
|
adam@0
|
7688 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
|
adam@12
|
7689 if ${lt_cv_ld_exported_symbols_list+:} false; then :
|
adam@0
|
7690 $as_echo_n "(cached) " >&6
|
adam@0
|
7691 else
|
adam@0
|
7692 lt_cv_ld_exported_symbols_list=no
|
adam@0
|
7693 save_LDFLAGS=$LDFLAGS
|
adam@0
|
7694 echo "_main" > conftest.sym
|
adam@0
|
7695 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
|
adam@0
|
7696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
7697 /* end confdefs.h. */
|
adam@0
|
7698
|
adam@0
|
7699 int
|
adam@0
|
7700 main ()
|
adam@0
|
7701 {
|
adam@0
|
7702
|
adam@0
|
7703 ;
|
adam@0
|
7704 return 0;
|
adam@0
|
7705 }
|
adam@0
|
7706 _ACEOF
|
adam@0
|
7707 if ac_fn_c_try_link "$LINENO"; then :
|
adam@0
|
7708 lt_cv_ld_exported_symbols_list=yes
|
adam@0
|
7709 else
|
adam@0
|
7710 lt_cv_ld_exported_symbols_list=no
|
adam@0
|
7711 fi
|
adam@0
|
7712 rm -f core conftest.err conftest.$ac_objext \
|
adam@0
|
7713 conftest$ac_exeext conftest.$ac_ext
|
adam@0
|
7714 LDFLAGS="$save_LDFLAGS"
|
adam@0
|
7715
|
adam@0
|
7716 fi
|
adam@0
|
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
|
adam@0
|
7718 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
|
adam@12
|
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
|
adam@12
|
7720 $as_echo_n "checking for -force_load linker flag... " >&6; }
|
adam@12
|
7721 if ${lt_cv_ld_force_load+:} false; then :
|
adam@12
|
7722 $as_echo_n "(cached) " >&6
|
adam@12
|
7723 else
|
adam@12
|
7724 lt_cv_ld_force_load=no
|
adam@12
|
7725 cat > conftest.c << _LT_EOF
|
adam@12
|
7726 int forced_loaded() { return 2;}
|
adam@12
|
7727 _LT_EOF
|
adam@12
|
7728 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
|
adam@12
|
7729 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
|
adam@12
|
7730 echo "$AR cru libconftest.a conftest.o" >&5
|
adam@12
|
7731 $AR cru libconftest.a conftest.o 2>&5
|
adam@12
|
7732 echo "$RANLIB libconftest.a" >&5
|
adam@12
|
7733 $RANLIB libconftest.a 2>&5
|
adam@12
|
7734 cat > conftest.c << _LT_EOF
|
adam@12
|
7735 int main() { return 0;}
|
adam@12
|
7736 _LT_EOF
|
adam@12
|
7737 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
|
adam@12
|
7738 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
|
adam@12
|
7739 _lt_result=$?
|
adam@12
|
7740 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
|
adam@12
|
7741 lt_cv_ld_force_load=yes
|
adam@12
|
7742 else
|
adam@12
|
7743 cat conftest.err >&5
|
adam@12
|
7744 fi
|
adam@12
|
7745 rm -f conftest.err libconftest.a conftest conftest.c
|
adam@12
|
7746 rm -rf conftest.dSYM
|
adam@12
|
7747
|
adam@12
|
7748 fi
|
adam@12
|
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
|
adam@12
|
7750 $as_echo "$lt_cv_ld_force_load" >&6; }
|
adam@0
|
7751 case $host_os in
|
adam@0
|
7752 rhapsody* | darwin1.[012])
|
adam@0
|
7753 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
|
adam@0
|
7754 darwin1.*)
|
adam@0
|
7755 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
adam@0
|
7756 darwin*) # darwin 5.x on
|
adam@0
|
7757 # if running on 10.5 or later, the deployment target defaults
|
adam@0
|
7758 # to the OS version, if on x86, and 10.4, the deployment
|
adam@0
|
7759 # target defaults to 10.4. Don't you love it?
|
adam@0
|
7760 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
|
adam@0
|
7761 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
|
adam@0
|
7762 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
adam@0
|
7763 10.[012]*)
|
adam@0
|
7764 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
adam@0
|
7765 10.*)
|
adam@0
|
7766 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
adam@0
|
7767 esac
|
adam@0
|
7768 ;;
|
adam@0
|
7769 esac
|
adam@0
|
7770 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
|
adam@0
|
7771 _lt_dar_single_mod='$single_module'
|
adam@0
|
7772 fi
|
adam@0
|
7773 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
|
adam@0
|
7774 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
|
adam@0
|
7775 else
|
adam@0
|
7776 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
|
adam@0
|
7777 fi
|
adam@12
|
7778 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
|
adam@0
|
7779 _lt_dsymutil='~$DSYMUTIL $lib || :'
|
adam@0
|
7780 else
|
adam@0
|
7781 _lt_dsymutil=
|
adam@0
|
7782 fi
|
adam@0
|
7783 ;;
|
adam@0
|
7784 esac
|
adam@0
|
7785
|
adam@0
|
7786 for ac_header in dlfcn.h
|
adam@0
|
7787 do :
|
adam@0
|
7788 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
|
adam@0
|
7789 "
|
adam@12
|
7790 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
|
adam@0
|
7791 cat >>confdefs.h <<_ACEOF
|
adam@0
|
7792 #define HAVE_DLFCN_H 1
|
adam@0
|
7793 _ACEOF
|
adam@0
|
7794
|
adam@0
|
7795 fi
|
adam@0
|
7796
|
adam@0
|
7797 done
|
adam@0
|
7798
|
adam@0
|
7799
|
adam@0
|
7800
|
adam@12
|
7801
|
adam@12
|
7802
|
adam@0
|
7803 # Set options
|
adam@0
|
7804
|
adam@0
|
7805
|
adam@0
|
7806
|
adam@0
|
7807 enable_dlopen=no
|
adam@0
|
7808
|
adam@0
|
7809
|
adam@0
|
7810 enable_win32_dll=no
|
adam@0
|
7811
|
adam@0
|
7812
|
adam@0
|
7813 # Check whether --enable-shared was given.
|
adam@0
|
7814 if test "${enable_shared+set}" = set; then :
|
adam@0
|
7815 enableval=$enable_shared; p=${PACKAGE-default}
|
adam@0
|
7816 case $enableval in
|
adam@0
|
7817 yes) enable_shared=yes ;;
|
adam@0
|
7818 no) enable_shared=no ;;
|
adam@0
|
7819 *)
|
adam@0
|
7820 enable_shared=no
|
adam@0
|
7821 # Look at the argument we got. We use all the common list separators.
|
adam@0
|
7822 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
|
adam@0
|
7823 for pkg in $enableval; do
|
adam@0
|
7824 IFS="$lt_save_ifs"
|
adam@0
|
7825 if test "X$pkg" = "X$p"; then
|
adam@0
|
7826 enable_shared=yes
|
adam@0
|
7827 fi
|
adam@0
|
7828 done
|
adam@0
|
7829 IFS="$lt_save_ifs"
|
adam@0
|
7830 ;;
|
adam@0
|
7831 esac
|
adam@0
|
7832 else
|
adam@0
|
7833 enable_shared=yes
|
adam@0
|
7834 fi
|
adam@0
|
7835
|
adam@0
|
7836
|
adam@0
|
7837
|
adam@0
|
7838
|
adam@0
|
7839
|
adam@0
|
7840
|
adam@0
|
7841
|
adam@0
|
7842
|
adam@0
|
7843
|
adam@0
|
7844 # Check whether --enable-static was given.
|
adam@0
|
7845 if test "${enable_static+set}" = set; then :
|
adam@0
|
7846 enableval=$enable_static; p=${PACKAGE-default}
|
adam@0
|
7847 case $enableval in
|
adam@0
|
7848 yes) enable_static=yes ;;
|
adam@0
|
7849 no) enable_static=no ;;
|
adam@0
|
7850 *)
|
adam@0
|
7851 enable_static=no
|
adam@0
|
7852 # Look at the argument we got. We use all the common list separators.
|
adam@0
|
7853 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
|
adam@0
|
7854 for pkg in $enableval; do
|
adam@0
|
7855 IFS="$lt_save_ifs"
|
adam@0
|
7856 if test "X$pkg" = "X$p"; then
|
adam@0
|
7857 enable_static=yes
|
adam@0
|
7858 fi
|
adam@0
|
7859 done
|
adam@0
|
7860 IFS="$lt_save_ifs"
|
adam@0
|
7861 ;;
|
adam@0
|
7862 esac
|
adam@0
|
7863 else
|
adam@0
|
7864 enable_static=yes
|
adam@0
|
7865 fi
|
adam@0
|
7866
|
adam@0
|
7867
|
adam@0
|
7868
|
adam@0
|
7869
|
adam@0
|
7870
|
adam@0
|
7871
|
adam@0
|
7872
|
adam@0
|
7873
|
adam@0
|
7874
|
adam@0
|
7875
|
adam@0
|
7876 # Check whether --with-pic was given.
|
adam@0
|
7877 if test "${with_pic+set}" = set; then :
|
adam@0
|
7878 withval=$with_pic; pic_mode="$withval"
|
adam@0
|
7879 else
|
adam@0
|
7880 pic_mode=default
|
adam@0
|
7881 fi
|
adam@0
|
7882
|
adam@0
|
7883
|
adam@0
|
7884 test -z "$pic_mode" && pic_mode=default
|
adam@0
|
7885
|
adam@0
|
7886
|
adam@0
|
7887
|
adam@0
|
7888
|
adam@0
|
7889
|
adam@0
|
7890
|
adam@0
|
7891
|
adam@0
|
7892 # Check whether --enable-fast-install was given.
|
adam@0
|
7893 if test "${enable_fast_install+set}" = set; then :
|
adam@0
|
7894 enableval=$enable_fast_install; p=${PACKAGE-default}
|
adam@0
|
7895 case $enableval in
|
adam@0
|
7896 yes) enable_fast_install=yes ;;
|
adam@0
|
7897 no) enable_fast_install=no ;;
|
adam@0
|
7898 *)
|
adam@0
|
7899 enable_fast_install=no
|
adam@0
|
7900 # Look at the argument we got. We use all the common list separators.
|
adam@0
|
7901 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
|
adam@0
|
7902 for pkg in $enableval; do
|
adam@0
|
7903 IFS="$lt_save_ifs"
|
adam@0
|
7904 if test "X$pkg" = "X$p"; then
|
adam@0
|
7905 enable_fast_install=yes
|
adam@0
|
7906 fi
|
adam@0
|
7907 done
|
adam@0
|
7908 IFS="$lt_save_ifs"
|
adam@0
|
7909 ;;
|
adam@0
|
7910 esac
|
adam@0
|
7911 else
|
adam@0
|
7912 enable_fast_install=yes
|
adam@0
|
7913 fi
|
adam@0
|
7914
|
adam@0
|
7915
|
adam@0
|
7916
|
adam@0
|
7917
|
adam@0
|
7918
|
adam@0
|
7919
|
adam@0
|
7920
|
adam@0
|
7921
|
adam@0
|
7922
|
adam@0
|
7923
|
adam@0
|
7924
|
adam@0
|
7925 # This can be used to rebuild libtool when needed
|
adam@0
|
7926 LIBTOOL_DEPS="$ltmain"
|
adam@0
|
7927
|
adam@0
|
7928 # Always use our own libtool.
|
adam@0
|
7929 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
|
adam@0
|
7930
|
adam@0
|
7931
|
adam@0
|
7932
|
adam@0
|
7933
|
adam@0
|
7934
|
adam@0
|
7935
|
adam@0
|
7936
|
adam@0
|
7937
|
adam@0
|
7938
|
adam@0
|
7939
|
adam@0
|
7940
|
adam@0
|
7941
|
adam@0
|
7942
|
adam@0
|
7943
|
adam@0
|
7944
|
adam@0
|
7945
|
adam@0
|
7946
|
adam@0
|
7947
|
adam@0
|
7948
|
adam@0
|
7949
|
adam@0
|
7950
|
adam@0
|
7951
|
adam@0
|
7952
|
adam@0
|
7953
|
adam@0
|
7954
|
adam@12
|
7955
|
adam@0
|
7956 test -z "$LN_S" && LN_S="ln -s"
|
adam@0
|
7957
|
adam@0
|
7958
|
adam@0
|
7959
|
adam@0
|
7960
|
adam@0
|
7961
|
adam@0
|
7962
|
adam@0
|
7963
|
adam@0
|
7964
|
adam@0
|
7965
|
adam@0
|
7966
|
adam@0
|
7967
|
adam@0
|
7968
|
adam@0
|
7969
|
adam@0
|
7970
|
adam@0
|
7971 if test -n "${ZSH_VERSION+set}" ; then
|
adam@0
|
7972 setopt NO_GLOB_SUBST
|
adam@0
|
7973 fi
|
adam@0
|
7974
|
adam@0
|
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
|
adam@0
|
7976 $as_echo_n "checking for objdir... " >&6; }
|
adam@12
|
7977 if ${lt_cv_objdir+:} false; then :
|
adam@0
|
7978 $as_echo_n "(cached) " >&6
|
adam@0
|
7979 else
|
adam@0
|
7980 rm -f .libs 2>/dev/null
|
adam@0
|
7981 mkdir .libs 2>/dev/null
|
adam@0
|
7982 if test -d .libs; then
|
adam@0
|
7983 lt_cv_objdir=.libs
|
adam@0
|
7984 else
|
adam@0
|
7985 # MS-DOS does not allow filenames that begin with a dot.
|
adam@0
|
7986 lt_cv_objdir=_libs
|
adam@0
|
7987 fi
|
adam@0
|
7988 rmdir .libs 2>/dev/null
|
adam@0
|
7989 fi
|
adam@0
|
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
|
adam@0
|
7991 $as_echo "$lt_cv_objdir" >&6; }
|
adam@0
|
7992 objdir=$lt_cv_objdir
|
adam@0
|
7993
|
adam@0
|
7994
|
adam@0
|
7995
|
adam@0
|
7996
|
adam@0
|
7997
|
adam@0
|
7998 cat >>confdefs.h <<_ACEOF
|
adam@0
|
7999 #define LT_OBJDIR "$lt_cv_objdir/"
|
adam@0
|
8000 _ACEOF
|
adam@0
|
8001
|
adam@0
|
8002
|
adam@0
|
8003
|
adam@0
|
8004
|
adam@0
|
8005 case $host_os in
|
adam@0
|
8006 aix3*)
|
adam@0
|
8007 # AIX sometimes has problems with the GCC collect2 program. For some
|
adam@0
|
8008 # reason, if we set the COLLECT_NAMES environment variable, the problems
|
adam@0
|
8009 # vanish in a puff of smoke.
|
adam@0
|
8010 if test "X${COLLECT_NAMES+set}" != Xset; then
|
adam@0
|
8011 COLLECT_NAMES=
|
adam@0
|
8012 export COLLECT_NAMES
|
adam@0
|
8013 fi
|
adam@0
|
8014 ;;
|
adam@0
|
8015 esac
|
adam@0
|
8016
|
adam@0
|
8017 # Global variables:
|
adam@0
|
8018 ofile=libtool
|
adam@0
|
8019 can_build_shared=yes
|
adam@0
|
8020
|
adam@0
|
8021 # All known linkers require a `.a' archive for static linking (except MSVC,
|
adam@0
|
8022 # which needs '.lib').
|
adam@0
|
8023 libext=a
|
adam@0
|
8024
|
adam@0
|
8025 with_gnu_ld="$lt_cv_prog_gnu_ld"
|
adam@0
|
8026
|
adam@0
|
8027 old_CC="$CC"
|
adam@0
|
8028 old_CFLAGS="$CFLAGS"
|
adam@0
|
8029
|
adam@0
|
8030 # Set sane defaults for various variables
|
adam@0
|
8031 test -z "$CC" && CC=cc
|
adam@0
|
8032 test -z "$LTCC" && LTCC=$CC
|
adam@0
|
8033 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
|
adam@0
|
8034 test -z "$LD" && LD=ld
|
adam@0
|
8035 test -z "$ac_objext" && ac_objext=o
|
adam@0
|
8036
|
adam@0
|
8037 for cc_temp in $compiler""; do
|
adam@0
|
8038 case $cc_temp in
|
adam@0
|
8039 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
|
adam@0
|
8040 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
|
adam@0
|
8041 \-*) ;;
|
adam@0
|
8042 *) break;;
|
adam@0
|
8043 esac
|
adam@0
|
8044 done
|
adam@12
|
8045 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
|
adam@0
|
8046
|
adam@0
|
8047
|
adam@0
|
8048 # Only perform the check for file, if the check method requires it
|
adam@0
|
8049 test -z "$MAGIC_CMD" && MAGIC_CMD=file
|
adam@0
|
8050 case $deplibs_check_method in
|
adam@0
|
8051 file_magic*)
|
adam@0
|
8052 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
|
adam@0
|
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
|
adam@0
|
8054 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
|
adam@12
|
8055 if ${lt_cv_path_MAGIC_CMD+:} false; then :
|
adam@0
|
8056 $as_echo_n "(cached) " >&6
|
adam@0
|
8057 else
|
adam@0
|
8058 case $MAGIC_CMD in
|
adam@0
|
8059 [\\/*] | ?:[\\/]*)
|
adam@0
|
8060 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
|
adam@0
|
8061 ;;
|
adam@0
|
8062 *)
|
adam@0
|
8063 lt_save_MAGIC_CMD="$MAGIC_CMD"
|
adam@0
|
8064 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
|
adam@0
|
8065 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
|
adam@0
|
8066 for ac_dir in $ac_dummy; do
|
adam@0
|
8067 IFS="$lt_save_ifs"
|
adam@0
|
8068 test -z "$ac_dir" && ac_dir=.
|
adam@0
|
8069 if test -f $ac_dir/${ac_tool_prefix}file; then
|
adam@0
|
8070 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
|
adam@0
|
8071 if test -n "$file_magic_test_file"; then
|
adam@0
|
8072 case $deplibs_check_method in
|
adam@0
|
8073 "file_magic "*)
|
adam@0
|
8074 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
|
adam@0
|
8075 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
|
adam@0
|
8076 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
|
adam@0
|
8077 $EGREP "$file_magic_regex" > /dev/null; then
|
adam@0
|
8078 :
|
adam@0
|
8079 else
|
adam@0
|
8080 cat <<_LT_EOF 1>&2
|
adam@0
|
8081
|
adam@0
|
8082 *** Warning: the command libtool uses to detect shared libraries,
|
adam@0
|
8083 *** $file_magic_cmd, produces output that libtool cannot recognize.
|
adam@0
|
8084 *** The result is that libtool may fail to recognize shared libraries
|
adam@0
|
8085 *** as such. This will affect the creation of libtool libraries that
|
adam@0
|
8086 *** depend on shared libraries, but programs linked with such libtool
|
adam@0
|
8087 *** libraries will work regardless of this problem. Nevertheless, you
|
adam@0
|
8088 *** may want to report the problem to your system manager and/or to
|
adam@0
|
8089 *** bug-libtool@gnu.org
|
adam@0
|
8090
|
adam@0
|
8091 _LT_EOF
|
adam@0
|
8092 fi ;;
|
adam@0
|
8093 esac
|
adam@0
|
8094 fi
|
adam@0
|
8095 break
|
adam@0
|
8096 fi
|
adam@0
|
8097 done
|
adam@0
|
8098 IFS="$lt_save_ifs"
|
adam@0
|
8099 MAGIC_CMD="$lt_save_MAGIC_CMD"
|
adam@0
|
8100 ;;
|
adam@0
|
8101 esac
|
adam@0
|
8102 fi
|
adam@0
|
8103
|
adam@0
|
8104 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
|
adam@0
|
8105 if test -n "$MAGIC_CMD"; then
|
adam@0
|
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
|
adam@0
|
8107 $as_echo "$MAGIC_CMD" >&6; }
|
adam@0
|
8108 else
|
adam@0
|
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
8110 $as_echo "no" >&6; }
|
adam@0
|
8111 fi
|
adam@0
|
8112
|
adam@0
|
8113
|
adam@0
|
8114
|
adam@0
|
8115
|
adam@0
|
8116
|
adam@0
|
8117 if test -z "$lt_cv_path_MAGIC_CMD"; then
|
adam@0
|
8118 if test -n "$ac_tool_prefix"; then
|
adam@0
|
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
|
adam@0
|
8120 $as_echo_n "checking for file... " >&6; }
|
adam@12
|
8121 if ${lt_cv_path_MAGIC_CMD+:} false; then :
|
adam@0
|
8122 $as_echo_n "(cached) " >&6
|
adam@0
|
8123 else
|
adam@0
|
8124 case $MAGIC_CMD in
|
adam@0
|
8125 [\\/*] | ?:[\\/]*)
|
adam@0
|
8126 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
|
adam@0
|
8127 ;;
|
adam@0
|
8128 *)
|
adam@0
|
8129 lt_save_MAGIC_CMD="$MAGIC_CMD"
|
adam@0
|
8130 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
|
adam@0
|
8131 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
|
adam@0
|
8132 for ac_dir in $ac_dummy; do
|
adam@0
|
8133 IFS="$lt_save_ifs"
|
adam@0
|
8134 test -z "$ac_dir" && ac_dir=.
|
adam@0
|
8135 if test -f $ac_dir/file; then
|
adam@0
|
8136 lt_cv_path_MAGIC_CMD="$ac_dir/file"
|
adam@0
|
8137 if test -n "$file_magic_test_file"; then
|
adam@0
|
8138 case $deplibs_check_method in
|
adam@0
|
8139 "file_magic "*)
|
adam@0
|
8140 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
|
adam@0
|
8141 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
|
adam@0
|
8142 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
|
adam@0
|
8143 $EGREP "$file_magic_regex" > /dev/null; then
|
adam@0
|
8144 :
|
adam@0
|
8145 else
|
adam@0
|
8146 cat <<_LT_EOF 1>&2
|
adam@0
|
8147
|
adam@0
|
8148 *** Warning: the command libtool uses to detect shared libraries,
|
adam@0
|
8149 *** $file_magic_cmd, produces output that libtool cannot recognize.
|
adam@0
|
8150 *** The result is that libtool may fail to recognize shared libraries
|
adam@0
|
8151 *** as such. This will affect the creation of libtool libraries that
|
adam@0
|
8152 *** depend on shared libraries, but programs linked with such libtool
|
adam@0
|
8153 *** libraries will work regardless of this problem. Nevertheless, you
|
adam@0
|
8154 *** may want to report the problem to your system manager and/or to
|
adam@0
|
8155 *** bug-libtool@gnu.org
|
adam@0
|
8156
|
adam@0
|
8157 _LT_EOF
|
adam@0
|
8158 fi ;;
|
adam@0
|
8159 esac
|
adam@0
|
8160 fi
|
adam@0
|
8161 break
|
adam@0
|
8162 fi
|
adam@0
|
8163 done
|
adam@0
|
8164 IFS="$lt_save_ifs"
|
adam@0
|
8165 MAGIC_CMD="$lt_save_MAGIC_CMD"
|
adam@0
|
8166 ;;
|
adam@0
|
8167 esac
|
adam@0
|
8168 fi
|
adam@0
|
8169
|
adam@0
|
8170 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
|
adam@0
|
8171 if test -n "$MAGIC_CMD"; then
|
adam@0
|
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
|
adam@0
|
8173 $as_echo "$MAGIC_CMD" >&6; }
|
adam@0
|
8174 else
|
adam@0
|
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
8176 $as_echo "no" >&6; }
|
adam@0
|
8177 fi
|
adam@0
|
8178
|
adam@0
|
8179
|
adam@0
|
8180 else
|
adam@0
|
8181 MAGIC_CMD=:
|
adam@0
|
8182 fi
|
adam@0
|
8183 fi
|
adam@0
|
8184
|
adam@0
|
8185 fi
|
adam@0
|
8186 ;;
|
adam@0
|
8187 esac
|
adam@0
|
8188
|
adam@0
|
8189 # Use C for the default configuration in the libtool script
|
adam@0
|
8190
|
adam@0
|
8191 lt_save_CC="$CC"
|
adam@0
|
8192 ac_ext=c
|
adam@0
|
8193 ac_cpp='$CPP $CPPFLAGS'
|
adam@0
|
8194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
adam@0
|
8195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
adam@0
|
8196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
adam@0
|
8197
|
adam@0
|
8198
|
adam@0
|
8199 # Source file extension for C test sources.
|
adam@0
|
8200 ac_ext=c
|
adam@0
|
8201
|
adam@0
|
8202 # Object file extension for compiled C test sources.
|
adam@0
|
8203 objext=o
|
adam@0
|
8204 objext=$objext
|
adam@0
|
8205
|
adam@0
|
8206 # Code to be used in simple compile tests
|
adam@0
|
8207 lt_simple_compile_test_code="int some_variable = 0;"
|
adam@0
|
8208
|
adam@0
|
8209 # Code to be used in simple link tests
|
adam@0
|
8210 lt_simple_link_test_code='int main(){return(0);}'
|
adam@0
|
8211
|
adam@0
|
8212
|
adam@0
|
8213
|
adam@0
|
8214
|
adam@0
|
8215
|
adam@0
|
8216
|
adam@0
|
8217
|
adam@0
|
8218 # If no C compiler was specified, use CC.
|
adam@0
|
8219 LTCC=${LTCC-"$CC"}
|
adam@0
|
8220
|
adam@0
|
8221 # If no C compiler flags were specified, use CFLAGS.
|
adam@0
|
8222 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
|
adam@0
|
8223
|
adam@0
|
8224 # Allow CC to be a program name with arguments.
|
adam@0
|
8225 compiler=$CC
|
adam@0
|
8226
|
adam@0
|
8227 # Save the default compiler, since it gets overwritten when the other
|
adam@0
|
8228 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
|
adam@0
|
8229 compiler_DEFAULT=$CC
|
adam@0
|
8230
|
adam@0
|
8231 # save warnings/boilerplate of simple test code
|
adam@0
|
8232 ac_outfile=conftest.$ac_objext
|
adam@0
|
8233 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
|
adam@0
|
8234 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
|
adam@0
|
8235 _lt_compiler_boilerplate=`cat conftest.err`
|
adam@0
|
8236 $RM conftest*
|
adam@0
|
8237
|
adam@0
|
8238 ac_outfile=conftest.$ac_objext
|
adam@0
|
8239 echo "$lt_simple_link_test_code" >conftest.$ac_ext
|
adam@0
|
8240 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
|
adam@0
|
8241 _lt_linker_boilerplate=`cat conftest.err`
|
adam@0
|
8242 $RM -r conftest*
|
adam@0
|
8243
|
adam@0
|
8244
|
adam@0
|
8245 ## CAVEAT EMPTOR:
|
adam@0
|
8246 ## There is no encapsulation within the following macros, do not change
|
adam@0
|
8247 ## the running order or otherwise move them around unless you know exactly
|
adam@0
|
8248 ## what you are doing...
|
adam@0
|
8249 if test -n "$compiler"; then
|
adam@0
|
8250
|
adam@0
|
8251 lt_prog_compiler_no_builtin_flag=
|
adam@0
|
8252
|
adam@0
|
8253 if test "$GCC" = yes; then
|
adam@12
|
8254 case $cc_basename in
|
adam@12
|
8255 nvcc*)
|
adam@12
|
8256 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
|
adam@12
|
8257 *)
|
adam@12
|
8258 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
|
adam@12
|
8259 esac
|
adam@0
|
8260
|
adam@0
|
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
|
adam@0
|
8262 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
|
adam@12
|
8263 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
|
adam@0
|
8264 $as_echo_n "(cached) " >&6
|
adam@0
|
8265 else
|
adam@0
|
8266 lt_cv_prog_compiler_rtti_exceptions=no
|
adam@0
|
8267 ac_outfile=conftest.$ac_objext
|
adam@0
|
8268 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
adam@0
|
8269 lt_compiler_flag="-fno-rtti -fno-exceptions"
|
adam@0
|
8270 # Insert the option either (1) after the last *FLAGS variable, or
|
adam@0
|
8271 # (2) before a word containing "conftest.", or (3) at the end.
|
adam@0
|
8272 # Note that $ac_compile itself does not contain backslashes and begins
|
adam@0
|
8273 # with a dollar sign (not a hyphen), so the echo should work correctly.
|
adam@0
|
8274 # The option is referenced via a variable to avoid confusing sed.
|
adam@0
|
8275 lt_compile=`echo "$ac_compile" | $SED \
|
adam@0
|
8276 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
adam@0
|
8277 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
adam@0
|
8278 -e 's:$: $lt_compiler_flag:'`
|
adam@12
|
8279 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
|
adam@0
|
8280 (eval "$lt_compile" 2>conftest.err)
|
adam@0
|
8281 ac_status=$?
|
adam@0
|
8282 cat conftest.err >&5
|
adam@12
|
8283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
adam@0
|
8284 if (exit $ac_status) && test -s "$ac_outfile"; then
|
adam@0
|
8285 # The compiler can only warn and ignore the option if not recognized
|
adam@0
|
8286 # So say no if there are warnings other than the usual output.
|
adam@12
|
8287 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
|
adam@0
|
8288 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
|
adam@0
|
8289 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
|
adam@0
|
8290 lt_cv_prog_compiler_rtti_exceptions=yes
|
adam@0
|
8291 fi
|
adam@0
|
8292 fi
|
adam@0
|
8293 $RM conftest*
|
adam@0
|
8294
|
adam@0
|
8295 fi
|
adam@0
|
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
|
adam@0
|
8297 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
|
adam@0
|
8298
|
adam@0
|
8299 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
|
adam@0
|
8300 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
|
adam@0
|
8301 else
|
adam@0
|
8302 :
|
adam@0
|
8303 fi
|
adam@0
|
8304
|
adam@0
|
8305 fi
|
adam@0
|
8306
|
adam@0
|
8307
|
adam@0
|
8308
|
adam@0
|
8309
|
adam@0
|
8310
|
adam@0
|
8311
|
adam@0
|
8312 lt_prog_compiler_wl=
|
adam@0
|
8313 lt_prog_compiler_pic=
|
adam@0
|
8314 lt_prog_compiler_static=
|
adam@0
|
8315
|
adam@0
|
8316
|
adam@0
|
8317 if test "$GCC" = yes; then
|
adam@0
|
8318 lt_prog_compiler_wl='-Wl,'
|
adam@0
|
8319 lt_prog_compiler_static='-static'
|
adam@0
|
8320
|
adam@0
|
8321 case $host_os in
|
adam@0
|
8322 aix*)
|
adam@0
|
8323 # All AIX code is PIC.
|
adam@0
|
8324 if test "$host_cpu" = ia64; then
|
adam@0
|
8325 # AIX 5 now supports IA64 processor
|
adam@0
|
8326 lt_prog_compiler_static='-Bstatic'
|
adam@0
|
8327 fi
|
adam@0
|
8328 ;;
|
adam@0
|
8329
|
adam@0
|
8330 amigaos*)
|
adam@0
|
8331 case $host_cpu in
|
adam@0
|
8332 powerpc)
|
adam@0
|
8333 # see comment about AmigaOS4 .so support
|
adam@0
|
8334 lt_prog_compiler_pic='-fPIC'
|
adam@0
|
8335 ;;
|
adam@0
|
8336 m68k)
|
adam@0
|
8337 # FIXME: we need at least 68020 code to build shared libraries, but
|
adam@0
|
8338 # adding the `-m68020' flag to GCC prevents building anything better,
|
adam@0
|
8339 # like `-m68040'.
|
adam@0
|
8340 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
|
adam@0
|
8341 ;;
|
adam@0
|
8342 esac
|
adam@0
|
8343 ;;
|
adam@0
|
8344
|
adam@0
|
8345 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
adam@0
|
8346 # PIC is the default for these OSes.
|
adam@0
|
8347 ;;
|
adam@0
|
8348
|
adam@0
|
8349 mingw* | cygwin* | pw32* | os2* | cegcc*)
|
adam@0
|
8350 # This hack is so that the source file can tell whether it is being
|
adam@0
|
8351 # built for inclusion in a dll (and should export symbols for example).
|
adam@0
|
8352 # Although the cygwin gcc ignores -fPIC, still need this for old-style
|
adam@0
|
8353 # (--disable-auto-import) libraries
|
adam@0
|
8354 lt_prog_compiler_pic='-DDLL_EXPORT'
|
adam@0
|
8355 ;;
|
adam@0
|
8356
|
adam@0
|
8357 darwin* | rhapsody*)
|
adam@0
|
8358 # PIC is the default on this platform
|
adam@0
|
8359 # Common symbols not allowed in MH_DYLIB files
|
adam@0
|
8360 lt_prog_compiler_pic='-fno-common'
|
adam@0
|
8361 ;;
|
adam@0
|
8362
|
adam@12
|
8363 haiku*)
|
adam@12
|
8364 # PIC is the default for Haiku.
|
adam@12
|
8365 # The "-static" flag exists, but is broken.
|
adam@12
|
8366 lt_prog_compiler_static=
|
adam@12
|
8367 ;;
|
adam@12
|
8368
|
adam@0
|
8369 hpux*)
|
adam@0
|
8370 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
|
adam@0
|
8371 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
|
adam@0
|
8372 # sets the default TLS model and affects inlining.
|
adam@0
|
8373 case $host_cpu in
|
adam@0
|
8374 hppa*64*)
|
adam@0
|
8375 # +Z the default
|
adam@0
|
8376 ;;
|
adam@0
|
8377 *)
|
adam@0
|
8378 lt_prog_compiler_pic='-fPIC'
|
adam@0
|
8379 ;;
|
adam@0
|
8380 esac
|
adam@0
|
8381 ;;
|
adam@0
|
8382
|
adam@0
|
8383 interix[3-9]*)
|
adam@0
|
8384 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
|
adam@0
|
8385 # Instead, we relocate shared libraries at runtime.
|
adam@0
|
8386 ;;
|
adam@0
|
8387
|
adam@0
|
8388 msdosdjgpp*)
|
adam@0
|
8389 # Just because we use GCC doesn't mean we suddenly get shared libraries
|
adam@0
|
8390 # on systems that don't support them.
|
adam@0
|
8391 lt_prog_compiler_can_build_shared=no
|
adam@0
|
8392 enable_shared=no
|
adam@0
|
8393 ;;
|
adam@0
|
8394
|
adam@0
|
8395 *nto* | *qnx*)
|
adam@0
|
8396 # QNX uses GNU C++, but need to define -shared option too, otherwise
|
adam@0
|
8397 # it will coredump.
|
adam@0
|
8398 lt_prog_compiler_pic='-fPIC -shared'
|
adam@0
|
8399 ;;
|
adam@0
|
8400
|
adam@0
|
8401 sysv4*MP*)
|
adam@0
|
8402 if test -d /usr/nec; then
|
adam@0
|
8403 lt_prog_compiler_pic=-Kconform_pic
|
adam@0
|
8404 fi
|
adam@0
|
8405 ;;
|
adam@0
|
8406
|
adam@0
|
8407 *)
|
adam@0
|
8408 lt_prog_compiler_pic='-fPIC'
|
adam@0
|
8409 ;;
|
adam@0
|
8410 esac
|
adam@12
|
8411
|
adam@12
|
8412 case $cc_basename in
|
adam@12
|
8413 nvcc*) # Cuda Compiler Driver 2.2
|
adam@12
|
8414 lt_prog_compiler_wl='-Xlinker '
|
adam@12
|
8415 lt_prog_compiler_pic='-Xcompiler -fPIC'
|
adam@12
|
8416 ;;
|
adam@12
|
8417 esac
|
adam@0
|
8418 else
|
adam@0
|
8419 # PORTME Check for flag to pass linker flags through the system compiler.
|
adam@0
|
8420 case $host_os in
|
adam@0
|
8421 aix*)
|
adam@0
|
8422 lt_prog_compiler_wl='-Wl,'
|
adam@0
|
8423 if test "$host_cpu" = ia64; then
|
adam@0
|
8424 # AIX 5 now supports IA64 processor
|
adam@0
|
8425 lt_prog_compiler_static='-Bstatic'
|
adam@0
|
8426 else
|
adam@0
|
8427 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
|
adam@0
|
8428 fi
|
adam@0
|
8429 ;;
|
adam@0
|
8430
|
adam@0
|
8431 mingw* | cygwin* | pw32* | os2* | cegcc*)
|
adam@0
|
8432 # This hack is so that the source file can tell whether it is being
|
adam@0
|
8433 # built for inclusion in a dll (and should export symbols for example).
|
adam@0
|
8434 lt_prog_compiler_pic='-DDLL_EXPORT'
|
adam@0
|
8435 ;;
|
adam@0
|
8436
|
adam@0
|
8437 hpux9* | hpux10* | hpux11*)
|
adam@0
|
8438 lt_prog_compiler_wl='-Wl,'
|
adam@0
|
8439 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
|
adam@0
|
8440 # not for PA HP-UX.
|
adam@0
|
8441 case $host_cpu in
|
adam@0
|
8442 hppa*64*|ia64*)
|
adam@0
|
8443 # +Z the default
|
adam@0
|
8444 ;;
|
adam@0
|
8445 *)
|
adam@0
|
8446 lt_prog_compiler_pic='+Z'
|
adam@0
|
8447 ;;
|
adam@0
|
8448 esac
|
adam@0
|
8449 # Is there a better lt_prog_compiler_static that works with the bundled CC?
|
adam@0
|
8450 lt_prog_compiler_static='${wl}-a ${wl}archive'
|
adam@0
|
8451 ;;
|
adam@0
|
8452
|
adam@0
|
8453 irix5* | irix6* | nonstopux*)
|
adam@0
|
8454 lt_prog_compiler_wl='-Wl,'
|
adam@0
|
8455 # PIC (with -KPIC) is the default.
|
adam@0
|
8456 lt_prog_compiler_static='-non_shared'
|
adam@0
|
8457 ;;
|
adam@0
|
8458
|
adam@0
|
8459 linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
adam@0
|
8460 case $cc_basename in
|
adam@0
|
8461 # old Intel for x86_64 which still supported -KPIC.
|
adam@0
|
8462 ecc*)
|
adam@0
|
8463 lt_prog_compiler_wl='-Wl,'
|
adam@0
|
8464 lt_prog_compiler_pic='-KPIC'
|
adam@0
|
8465 lt_prog_compiler_static='-static'
|
adam@0
|
8466 ;;
|
adam@0
|
8467 # icc used to be incompatible with GCC.
|
adam@0
|
8468 # ICC 10 doesn't accept -KPIC any more.
|
adam@0
|
8469 icc* | ifort*)
|
adam@0
|
8470 lt_prog_compiler_wl='-Wl,'
|
adam@0
|
8471 lt_prog_compiler_pic='-fPIC'
|
adam@0
|
8472 lt_prog_compiler_static='-static'
|
adam@0
|
8473 ;;
|
adam@0
|
8474 # Lahey Fortran 8.1.
|
adam@0
|
8475 lf95*)
|
adam@0
|
8476 lt_prog_compiler_wl='-Wl,'
|
adam@0
|
8477 lt_prog_compiler_pic='--shared'
|
adam@0
|
8478 lt_prog_compiler_static='--static'
|
adam@0
|
8479 ;;
|
adam@12
|
8480 nagfor*)
|
adam@12
|
8481 # NAG Fortran compiler
|
adam@12
|
8482 lt_prog_compiler_wl='-Wl,-Wl,,'
|
adam@12
|
8483 lt_prog_compiler_pic='-PIC'
|
adam@12
|
8484 lt_prog_compiler_static='-Bstatic'
|
adam@12
|
8485 ;;
|
adam@12
|
8486 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
|
adam@0
|
8487 # Portland Group compilers (*not* the Pentium gcc compiler,
|
adam@0
|
8488 # which looks to be a dead project)
|
adam@0
|
8489 lt_prog_compiler_wl='-Wl,'
|
adam@0
|
8490 lt_prog_compiler_pic='-fpic'
|
adam@0
|
8491 lt_prog_compiler_static='-Bstatic'
|
adam@0
|
8492 ;;
|
adam@0
|
8493 ccc*)
|
adam@0
|
8494 lt_prog_compiler_wl='-Wl,'
|
adam@0
|
8495 # All Alpha code is PIC.
|
adam@0
|
8496 lt_prog_compiler_static='-non_shared'
|
adam@0
|
8497 ;;
|
adam@12
|
8498 xl* | bgxl* | bgf* | mpixl*)
|
adam@12
|
8499 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
|
adam@0
|
8500 lt_prog_compiler_wl='-Wl,'
|
adam@0
|
8501 lt_prog_compiler_pic='-qpic'
|
adam@0
|
8502 lt_prog_compiler_static='-qstaticlink'
|
adam@0
|
8503 ;;
|
adam@0
|
8504 *)
|
adam@0
|
8505 case `$CC -V 2>&1 | sed 5q` in
|
adam@12
|
8506 *Sun\ F* | *Sun*Fortran*)
|
adam@12
|
8507 # Sun Fortran 8.3 passes all unrecognized flags to the linker
|
adam@12
|
8508 lt_prog_compiler_pic='-KPIC'
|
adam@12
|
8509 lt_prog_compiler_static='-Bstatic'
|
adam@12
|
8510 lt_prog_compiler_wl=''
|
adam@12
|
8511 ;;
|
adam@0
|
8512 *Sun\ C*)
|
adam@0
|
8513 # Sun C 5.9
|
adam@0
|
8514 lt_prog_compiler_pic='-KPIC'
|
adam@0
|
8515 lt_prog_compiler_static='-Bstatic'
|
adam@0
|
8516 lt_prog_compiler_wl='-Wl,'
|
adam@0
|
8517 ;;
|
adam@0
|
8518 esac
|
adam@0
|
8519 ;;
|
adam@0
|
8520 esac
|
adam@0
|
8521 ;;
|
adam@0
|
8522
|
adam@0
|
8523 newsos6)
|
adam@0
|
8524 lt_prog_compiler_pic='-KPIC'
|
adam@0
|
8525 lt_prog_compiler_static='-Bstatic'
|
adam@0
|
8526 ;;
|
adam@0
|
8527
|
adam@0
|
8528 *nto* | *qnx*)
|
adam@0
|
8529 # QNX uses GNU C++, but need to define -shared option too, otherwise
|
adam@0
|
8530 # it will coredump.
|
adam@0
|
8531 lt_prog_compiler_pic='-fPIC -shared'
|
adam@0
|
8532 ;;
|
adam@0
|
8533
|
adam@0
|
8534 osf3* | osf4* | osf5*)
|
adam@0
|
8535 lt_prog_compiler_wl='-Wl,'
|
adam@0
|
8536 # All OSF/1 code is PIC.
|
adam@0
|
8537 lt_prog_compiler_static='-non_shared'
|
adam@0
|
8538 ;;
|
adam@0
|
8539
|
adam@0
|
8540 rdos*)
|
adam@0
|
8541 lt_prog_compiler_static='-non_shared'
|
adam@0
|
8542 ;;
|
adam@0
|
8543
|
adam@0
|
8544 solaris*)
|
adam@0
|
8545 lt_prog_compiler_pic='-KPIC'
|
adam@0
|
8546 lt_prog_compiler_static='-Bstatic'
|
adam@0
|
8547 case $cc_basename in
|
adam@12
|
8548 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
|
adam@0
|
8549 lt_prog_compiler_wl='-Qoption ld ';;
|
adam@0
|
8550 *)
|
adam@0
|
8551 lt_prog_compiler_wl='-Wl,';;
|
adam@0
|
8552 esac
|
adam@0
|
8553 ;;
|
adam@0
|
8554
|
adam@0
|
8555 sunos4*)
|
adam@0
|
8556 lt_prog_compiler_wl='-Qoption ld '
|
adam@0
|
8557 lt_prog_compiler_pic='-PIC'
|
adam@0
|
8558 lt_prog_compiler_static='-Bstatic'
|
adam@0
|
8559 ;;
|
adam@0
|
8560
|
adam@0
|
8561 sysv4 | sysv4.2uw2* | sysv4.3*)
|
adam@0
|
8562 lt_prog_compiler_wl='-Wl,'
|
adam@0
|
8563 lt_prog_compiler_pic='-KPIC'
|
adam@0
|
8564 lt_prog_compiler_static='-Bstatic'
|
adam@0
|
8565 ;;
|
adam@0
|
8566
|
adam@0
|
8567 sysv4*MP*)
|
adam@0
|
8568 if test -d /usr/nec ;then
|
adam@0
|
8569 lt_prog_compiler_pic='-Kconform_pic'
|
adam@0
|
8570 lt_prog_compiler_static='-Bstatic'
|
adam@0
|
8571 fi
|
adam@0
|
8572 ;;
|
adam@0
|
8573
|
adam@0
|
8574 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
|
adam@0
|
8575 lt_prog_compiler_wl='-Wl,'
|
adam@0
|
8576 lt_prog_compiler_pic='-KPIC'
|
adam@0
|
8577 lt_prog_compiler_static='-Bstatic'
|
adam@0
|
8578 ;;
|
adam@0
|
8579
|
adam@0
|
8580 unicos*)
|
adam@0
|
8581 lt_prog_compiler_wl='-Wl,'
|
adam@0
|
8582 lt_prog_compiler_can_build_shared=no
|
adam@0
|
8583 ;;
|
adam@0
|
8584
|
adam@0
|
8585 uts4*)
|
adam@0
|
8586 lt_prog_compiler_pic='-pic'
|
adam@0
|
8587 lt_prog_compiler_static='-Bstatic'
|
adam@0
|
8588 ;;
|
adam@0
|
8589
|
adam@0
|
8590 *)
|
adam@0
|
8591 lt_prog_compiler_can_build_shared=no
|
adam@0
|
8592 ;;
|
adam@0
|
8593 esac
|
adam@0
|
8594 fi
|
adam@0
|
8595
|
adam@0
|
8596 case $host_os in
|
adam@0
|
8597 # For platforms which do not support PIC, -DPIC is meaningless:
|
adam@0
|
8598 *djgpp*)
|
adam@0
|
8599 lt_prog_compiler_pic=
|
adam@0
|
8600 ;;
|
adam@0
|
8601 *)
|
adam@0
|
8602 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
|
adam@0
|
8603 ;;
|
adam@0
|
8604 esac
|
adam@12
|
8605
|
adam@12
|
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
|
adam@12
|
8607 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
|
adam@12
|
8608 if ${lt_cv_prog_compiler_pic+:} false; then :
|
adam@12
|
8609 $as_echo_n "(cached) " >&6
|
adam@12
|
8610 else
|
adam@12
|
8611 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
|
adam@12
|
8612 fi
|
adam@12
|
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
|
adam@12
|
8614 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
|
adam@12
|
8615 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
|
adam@0
|
8616
|
adam@0
|
8617 #
|
adam@0
|
8618 # Check to make sure the PIC flag actually works.
|
adam@0
|
8619 #
|
adam@0
|
8620 if test -n "$lt_prog_compiler_pic"; then
|
adam@0
|
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
|
adam@0
|
8622 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
|
adam@12
|
8623 if ${lt_cv_prog_compiler_pic_works+:} false; then :
|
adam@0
|
8624 $as_echo_n "(cached) " >&6
|
adam@0
|
8625 else
|
adam@0
|
8626 lt_cv_prog_compiler_pic_works=no
|
adam@0
|
8627 ac_outfile=conftest.$ac_objext
|
adam@0
|
8628 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
adam@0
|
8629 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
|
adam@0
|
8630 # Insert the option either (1) after the last *FLAGS variable, or
|
adam@0
|
8631 # (2) before a word containing "conftest.", or (3) at the end.
|
adam@0
|
8632 # Note that $ac_compile itself does not contain backslashes and begins
|
adam@0
|
8633 # with a dollar sign (not a hyphen), so the echo should work correctly.
|
adam@0
|
8634 # The option is referenced via a variable to avoid confusing sed.
|
adam@0
|
8635 lt_compile=`echo "$ac_compile" | $SED \
|
adam@0
|
8636 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
adam@0
|
8637 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
adam@0
|
8638 -e 's:$: $lt_compiler_flag:'`
|
adam@12
|
8639 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
|
adam@0
|
8640 (eval "$lt_compile" 2>conftest.err)
|
adam@0
|
8641 ac_status=$?
|
adam@0
|
8642 cat conftest.err >&5
|
adam@12
|
8643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
adam@0
|
8644 if (exit $ac_status) && test -s "$ac_outfile"; then
|
adam@0
|
8645 # The compiler can only warn and ignore the option if not recognized
|
adam@0
|
8646 # So say no if there are warnings other than the usual output.
|
adam@12
|
8647 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
|
adam@0
|
8648 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
|
adam@0
|
8649 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
|
adam@0
|
8650 lt_cv_prog_compiler_pic_works=yes
|
adam@0
|
8651 fi
|
adam@0
|
8652 fi
|
adam@0
|
8653 $RM conftest*
|
adam@0
|
8654
|
adam@0
|
8655 fi
|
adam@0
|
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
|
adam@0
|
8657 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
|
adam@0
|
8658
|
adam@0
|
8659 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
|
adam@0
|
8660 case $lt_prog_compiler_pic in
|
adam@0
|
8661 "" | " "*) ;;
|
adam@0
|
8662 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
|
adam@0
|
8663 esac
|
adam@0
|
8664 else
|
adam@0
|
8665 lt_prog_compiler_pic=
|
adam@0
|
8666 lt_prog_compiler_can_build_shared=no
|
adam@0
|
8667 fi
|
adam@0
|
8668
|
adam@0
|
8669 fi
|
adam@0
|
8670
|
adam@0
|
8671
|
adam@0
|
8672
|
adam@0
|
8673
|
adam@0
|
8674
|
adam@0
|
8675
|
adam@12
|
8676
|
adam@12
|
8677
|
adam@12
|
8678
|
adam@12
|
8679
|
adam@12
|
8680
|
adam@0
|
8681 #
|
adam@0
|
8682 # Check to make sure the static flag actually works.
|
adam@0
|
8683 #
|
adam@0
|
8684 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
|
adam@0
|
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
|
adam@0
|
8686 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
|
adam@12
|
8687 if ${lt_cv_prog_compiler_static_works+:} false; then :
|
adam@0
|
8688 $as_echo_n "(cached) " >&6
|
adam@0
|
8689 else
|
adam@0
|
8690 lt_cv_prog_compiler_static_works=no
|
adam@0
|
8691 save_LDFLAGS="$LDFLAGS"
|
adam@0
|
8692 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
|
adam@0
|
8693 echo "$lt_simple_link_test_code" > conftest.$ac_ext
|
adam@0
|
8694 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
|
adam@0
|
8695 # The linker can only warn and ignore the option if not recognized
|
adam@0
|
8696 # So say no if there are warnings
|
adam@0
|
8697 if test -s conftest.err; then
|
adam@0
|
8698 # Append any errors to the config.log.
|
adam@0
|
8699 cat conftest.err 1>&5
|
adam@12
|
8700 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
|
adam@0
|
8701 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
|
adam@0
|
8702 if diff conftest.exp conftest.er2 >/dev/null; then
|
adam@0
|
8703 lt_cv_prog_compiler_static_works=yes
|
adam@0
|
8704 fi
|
adam@0
|
8705 else
|
adam@0
|
8706 lt_cv_prog_compiler_static_works=yes
|
adam@0
|
8707 fi
|
adam@0
|
8708 fi
|
adam@0
|
8709 $RM -r conftest*
|
adam@0
|
8710 LDFLAGS="$save_LDFLAGS"
|
adam@0
|
8711
|
adam@0
|
8712 fi
|
adam@0
|
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
|
adam@0
|
8714 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
|
adam@0
|
8715
|
adam@0
|
8716 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
|
adam@0
|
8717 :
|
adam@0
|
8718 else
|
adam@0
|
8719 lt_prog_compiler_static=
|
adam@0
|
8720 fi
|
adam@0
|
8721
|
adam@0
|
8722
|
adam@0
|
8723
|
adam@0
|
8724
|
adam@0
|
8725
|
adam@0
|
8726
|
adam@0
|
8727
|
adam@0
|
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
adam@0
|
8729 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
adam@12
|
8730 if ${lt_cv_prog_compiler_c_o+:} false; then :
|
adam@0
|
8731 $as_echo_n "(cached) " >&6
|
adam@0
|
8732 else
|
adam@0
|
8733 lt_cv_prog_compiler_c_o=no
|
adam@0
|
8734 $RM -r conftest 2>/dev/null
|
adam@0
|
8735 mkdir conftest
|
adam@0
|
8736 cd conftest
|
adam@0
|
8737 mkdir out
|
adam@0
|
8738 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
adam@0
|
8739
|
adam@0
|
8740 lt_compiler_flag="-o out/conftest2.$ac_objext"
|
adam@0
|
8741 # Insert the option either (1) after the last *FLAGS variable, or
|
adam@0
|
8742 # (2) before a word containing "conftest.", or (3) at the end.
|
adam@0
|
8743 # Note that $ac_compile itself does not contain backslashes and begins
|
adam@0
|
8744 # with a dollar sign (not a hyphen), so the echo should work correctly.
|
adam@0
|
8745 lt_compile=`echo "$ac_compile" | $SED \
|
adam@0
|
8746 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
adam@0
|
8747 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
adam@0
|
8748 -e 's:$: $lt_compiler_flag:'`
|
adam@12
|
8749 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
|
adam@0
|
8750 (eval "$lt_compile" 2>out/conftest.err)
|
adam@0
|
8751 ac_status=$?
|
adam@0
|
8752 cat out/conftest.err >&5
|
adam@12
|
8753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
adam@0
|
8754 if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
adam@0
|
8755 then
|
adam@0
|
8756 # The compiler can only warn and ignore the option if not recognized
|
adam@0
|
8757 # So say no if there are warnings
|
adam@12
|
8758 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
|
adam@0
|
8759 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
|
adam@0
|
8760 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
|
adam@0
|
8761 lt_cv_prog_compiler_c_o=yes
|
adam@0
|
8762 fi
|
adam@0
|
8763 fi
|
adam@0
|
8764 chmod u+w . 2>&5
|
adam@0
|
8765 $RM conftest*
|
adam@0
|
8766 # SGI C++ compiler will create directory out/ii_files/ for
|
adam@0
|
8767 # template instantiation
|
adam@0
|
8768 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
|
adam@0
|
8769 $RM out/* && rmdir out
|
adam@0
|
8770 cd ..
|
adam@0
|
8771 $RM -r conftest
|
adam@0
|
8772 $RM conftest*
|
adam@0
|
8773
|
adam@0
|
8774 fi
|
adam@0
|
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
|
adam@0
|
8776 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
|
adam@0
|
8777
|
adam@0
|
8778
|
adam@0
|
8779
|
adam@0
|
8780
|
adam@0
|
8781
|
adam@0
|
8782
|
adam@0
|
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
adam@0
|
8784 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
adam@12
|
8785 if ${lt_cv_prog_compiler_c_o+:} false; then :
|
adam@0
|
8786 $as_echo_n "(cached) " >&6
|
adam@0
|
8787 else
|
adam@0
|
8788 lt_cv_prog_compiler_c_o=no
|
adam@0
|
8789 $RM -r conftest 2>/dev/null
|
adam@0
|
8790 mkdir conftest
|
adam@0
|
8791 cd conftest
|
adam@0
|
8792 mkdir out
|
adam@0
|
8793 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
adam@0
|
8794
|
adam@0
|
8795 lt_compiler_flag="-o out/conftest2.$ac_objext"
|
adam@0
|
8796 # Insert the option either (1) after the last *FLAGS variable, or
|
adam@0
|
8797 # (2) before a word containing "conftest.", or (3) at the end.
|
adam@0
|
8798 # Note that $ac_compile itself does not contain backslashes and begins
|
adam@0
|
8799 # with a dollar sign (not a hyphen), so the echo should work correctly.
|
adam@0
|
8800 lt_compile=`echo "$ac_compile" | $SED \
|
adam@0
|
8801 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
adam@0
|
8802 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
adam@0
|
8803 -e 's:$: $lt_compiler_flag:'`
|
adam@12
|
8804 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
|
adam@0
|
8805 (eval "$lt_compile" 2>out/conftest.err)
|
adam@0
|
8806 ac_status=$?
|
adam@0
|
8807 cat out/conftest.err >&5
|
adam@12
|
8808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
adam@0
|
8809 if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
adam@0
|
8810 then
|
adam@0
|
8811 # The compiler can only warn and ignore the option if not recognized
|
adam@0
|
8812 # So say no if there are warnings
|
adam@12
|
8813 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
|
adam@0
|
8814 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
|
adam@0
|
8815 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
|
adam@0
|
8816 lt_cv_prog_compiler_c_o=yes
|
adam@0
|
8817 fi
|
adam@0
|
8818 fi
|
adam@0
|
8819 chmod u+w . 2>&5
|
adam@0
|
8820 $RM conftest*
|
adam@0
|
8821 # SGI C++ compiler will create directory out/ii_files/ for
|
adam@0
|
8822 # template instantiation
|
adam@0
|
8823 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
|
adam@0
|
8824 $RM out/* && rmdir out
|
adam@0
|
8825 cd ..
|
adam@0
|
8826 $RM -r conftest
|
adam@0
|
8827 $RM conftest*
|
adam@0
|
8828
|
adam@0
|
8829 fi
|
adam@0
|
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
|
adam@0
|
8831 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
|
adam@0
|
8832
|
adam@0
|
8833
|
adam@0
|
8834
|
adam@0
|
8835
|
adam@0
|
8836 hard_links="nottested"
|
adam@0
|
8837 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
|
adam@0
|
8838 # do not overwrite the value of need_locks provided by the user
|
adam@0
|
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
|
adam@0
|
8840 $as_echo_n "checking if we can lock with hard links... " >&6; }
|
adam@0
|
8841 hard_links=yes
|
adam@0
|
8842 $RM conftest*
|
adam@0
|
8843 ln conftest.a conftest.b 2>/dev/null && hard_links=no
|
adam@0
|
8844 touch conftest.a
|
adam@0
|
8845 ln conftest.a conftest.b 2>&5 || hard_links=no
|
adam@0
|
8846 ln conftest.a conftest.b 2>/dev/null && hard_links=no
|
adam@0
|
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
|
adam@0
|
8848 $as_echo "$hard_links" >&6; }
|
adam@0
|
8849 if test "$hard_links" = no; then
|
adam@0
|
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
|
adam@0
|
8851 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
|
adam@0
|
8852 need_locks=warn
|
adam@0
|
8853 fi
|
adam@0
|
8854 else
|
adam@0
|
8855 need_locks=no
|
adam@0
|
8856 fi
|
adam@0
|
8857
|
adam@0
|
8858
|
adam@0
|
8859
|
adam@0
|
8860
|
adam@0
|
8861
|
adam@0
|
8862
|
adam@0
|
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
adam@0
|
8864 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
|
adam@0
|
8865
|
adam@0
|
8866 runpath_var=
|
adam@0
|
8867 allow_undefined_flag=
|
adam@0
|
8868 always_export_symbols=no
|
adam@0
|
8869 archive_cmds=
|
adam@0
|
8870 archive_expsym_cmds=
|
adam@0
|
8871 compiler_needs_object=no
|
adam@0
|
8872 enable_shared_with_static_runtimes=no
|
adam@0
|
8873 export_dynamic_flag_spec=
|
adam@0
|
8874 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
|
adam@0
|
8875 hardcode_automatic=no
|
adam@0
|
8876 hardcode_direct=no
|
adam@0
|
8877 hardcode_direct_absolute=no
|
adam@0
|
8878 hardcode_libdir_flag_spec=
|
adam@0
|
8879 hardcode_libdir_flag_spec_ld=
|
adam@0
|
8880 hardcode_libdir_separator=
|
adam@0
|
8881 hardcode_minus_L=no
|
adam@0
|
8882 hardcode_shlibpath_var=unsupported
|
adam@0
|
8883 inherit_rpath=no
|
adam@0
|
8884 link_all_deplibs=unknown
|
adam@0
|
8885 module_cmds=
|
adam@0
|
8886 module_expsym_cmds=
|
adam@0
|
8887 old_archive_from_new_cmds=
|
adam@0
|
8888 old_archive_from_expsyms_cmds=
|
adam@0
|
8889 thread_safe_flag_spec=
|
adam@0
|
8890 whole_archive_flag_spec=
|
adam@0
|
8891 # include_expsyms should be a list of space-separated symbols to be *always*
|
adam@0
|
8892 # included in the symbol list
|
adam@0
|
8893 include_expsyms=
|
adam@0
|
8894 # exclude_expsyms can be an extended regexp of symbols to exclude
|
adam@0
|
8895 # it will be wrapped by ` (' and `)$', so one must not match beginning or
|
adam@0
|
8896 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
|
adam@0
|
8897 # as well as any symbol that contains `d'.
|
adam@0
|
8898 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
|
adam@0
|
8899 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
|
adam@0
|
8900 # platforms (ab)use it in PIC code, but their linkers get confused if
|
adam@0
|
8901 # the symbol is explicitly referenced. Since portable code cannot
|
adam@0
|
8902 # rely on this symbol name, it's probably fine to never include it in
|
adam@0
|
8903 # preloaded symbol tables.
|
adam@0
|
8904 # Exclude shared library initialization/finalization symbols.
|
adam@0
|
8905 extract_expsyms_cmds=
|
adam@0
|
8906
|
adam@0
|
8907 case $host_os in
|
adam@0
|
8908 cygwin* | mingw* | pw32* | cegcc*)
|
adam@0
|
8909 # FIXME: the MSVC++ port hasn't been tested in a loooong time
|
adam@0
|
8910 # When not using gcc, we currently assume that we are using
|
adam@0
|
8911 # Microsoft Visual C++.
|
adam@0
|
8912 if test "$GCC" != yes; then
|
adam@0
|
8913 with_gnu_ld=no
|
adam@0
|
8914 fi
|
adam@0
|
8915 ;;
|
adam@0
|
8916 interix*)
|
adam@0
|
8917 # we just hope/assume this is gcc and not c89 (= MSVC++)
|
adam@0
|
8918 with_gnu_ld=yes
|
adam@0
|
8919 ;;
|
adam@0
|
8920 openbsd*)
|
adam@0
|
8921 with_gnu_ld=no
|
adam@0
|
8922 ;;
|
adam@12
|
8923 linux* | k*bsd*-gnu | gnu*)
|
adam@0
|
8924 link_all_deplibs=no
|
adam@0
|
8925 ;;
|
adam@0
|
8926 esac
|
adam@0
|
8927
|
adam@0
|
8928 ld_shlibs=yes
|
adam@12
|
8929
|
adam@12
|
8930 # On some targets, GNU ld is compatible enough with the native linker
|
adam@12
|
8931 # that we're better off using the native interface for both.
|
adam@12
|
8932 lt_use_gnu_ld_interface=no
|
adam@0
|
8933 if test "$with_gnu_ld" = yes; then
|
adam@12
|
8934 case $host_os in
|
adam@12
|
8935 aix*)
|
adam@12
|
8936 # The AIX port of GNU ld has always aspired to compatibility
|
adam@12
|
8937 # with the native linker. However, as the warning in the GNU ld
|
adam@12
|
8938 # block says, versions before 2.19.5* couldn't really create working
|
adam@12
|
8939 # shared libraries, regardless of the interface used.
|
adam@12
|
8940 case `$LD -v 2>&1` in
|
adam@12
|
8941 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
|
adam@12
|
8942 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
|
adam@12
|
8943 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
|
adam@12
|
8944 *)
|
adam@12
|
8945 lt_use_gnu_ld_interface=yes
|
adam@12
|
8946 ;;
|
adam@12
|
8947 esac
|
adam@12
|
8948 ;;
|
adam@12
|
8949 *)
|
adam@12
|
8950 lt_use_gnu_ld_interface=yes
|
adam@12
|
8951 ;;
|
adam@12
|
8952 esac
|
adam@12
|
8953 fi
|
adam@12
|
8954
|
adam@12
|
8955 if test "$lt_use_gnu_ld_interface" = yes; then
|
adam@0
|
8956 # If archive_cmds runs LD, not CC, wlarc should be empty
|
adam@0
|
8957 wlarc='${wl}'
|
adam@0
|
8958
|
adam@0
|
8959 # Set some defaults for GNU ld with shared library support. These
|
adam@0
|
8960 # are reset later if shared libraries are not supported. Putting them
|
adam@0
|
8961 # here allows them to be overridden if necessary.
|
adam@0
|
8962 runpath_var=LD_RUN_PATH
|
adam@0
|
8963 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
adam@0
|
8964 export_dynamic_flag_spec='${wl}--export-dynamic'
|
adam@0
|
8965 # ancient GNU ld didn't support --whole-archive et. al.
|
adam@0
|
8966 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
|
adam@0
|
8967 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
|
adam@0
|
8968 else
|
adam@0
|
8969 whole_archive_flag_spec=
|
adam@0
|
8970 fi
|
adam@0
|
8971 supports_anon_versioning=no
|
adam@0
|
8972 case `$LD -v 2>&1` in
|
adam@0
|
8973 *GNU\ gold*) supports_anon_versioning=yes ;;
|
adam@0
|
8974 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
|
adam@0
|
8975 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
|
adam@0
|
8976 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
|
adam@0
|
8977 *\ 2.11.*) ;; # other 2.11 versions
|
adam@0
|
8978 *) supports_anon_versioning=yes ;;
|
adam@0
|
8979 esac
|
adam@0
|
8980
|
adam@0
|
8981 # See if GNU ld supports shared libraries.
|
adam@0
|
8982 case $host_os in
|
adam@0
|
8983 aix[3-9]*)
|
adam@0
|
8984 # On AIX/PPC, the GNU linker is very broken
|
adam@0
|
8985 if test "$host_cpu" != ia64; then
|
adam@0
|
8986 ld_shlibs=no
|
adam@0
|
8987 cat <<_LT_EOF 1>&2
|
adam@0
|
8988
|
adam@12
|
8989 *** Warning: the GNU linker, at least up to release 2.19, is reported
|
adam@0
|
8990 *** to be unable to reliably create shared libraries on AIX.
|
adam@0
|
8991 *** Therefore, libtool is disabling shared libraries support. If you
|
adam@12
|
8992 *** really care for shared libraries, you may want to install binutils
|
adam@12
|
8993 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
|
adam@12
|
8994 *** You will then need to restart the configuration process.
|
adam@0
|
8995
|
adam@0
|
8996 _LT_EOF
|
adam@0
|
8997 fi
|
adam@0
|
8998 ;;
|
adam@0
|
8999
|
adam@0
|
9000 amigaos*)
|
adam@0
|
9001 case $host_cpu in
|
adam@0
|
9002 powerpc)
|
adam@0
|
9003 # see comment about AmigaOS4 .so support
|
adam@0
|
9004 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
adam@0
|
9005 archive_expsym_cmds=''
|
adam@0
|
9006 ;;
|
adam@0
|
9007 m68k)
|
adam@0
|
9008 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)'
|
adam@0
|
9009 hardcode_libdir_flag_spec='-L$libdir'
|
adam@0
|
9010 hardcode_minus_L=yes
|
adam@0
|
9011 ;;
|
adam@0
|
9012 esac
|
adam@0
|
9013 ;;
|
adam@0
|
9014
|
adam@0
|
9015 beos*)
|
adam@0
|
9016 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
|
adam@0
|
9017 allow_undefined_flag=unsupported
|
adam@0
|
9018 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
|
adam@0
|
9019 # support --undefined. This deserves some investigation. FIXME
|
adam@0
|
9020 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
adam@0
|
9021 else
|
adam@0
|
9022 ld_shlibs=no
|
adam@0
|
9023 fi
|
adam@0
|
9024 ;;
|
adam@0
|
9025
|
adam@0
|
9026 cygwin* | mingw* | pw32* | cegcc*)
|
adam@0
|
9027 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
|
adam@0
|
9028 # as there is no search path for DLLs.
|
adam@0
|
9029 hardcode_libdir_flag_spec='-L$libdir'
|
adam@12
|
9030 export_dynamic_flag_spec='${wl}--export-all-symbols'
|
adam@0
|
9031 allow_undefined_flag=unsupported
|
adam@0
|
9032 always_export_symbols=no
|
adam@0
|
9033 enable_shared_with_static_runtimes=yes
|
adam@12
|
9034 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'
|
adam@12
|
9035 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
|
adam@0
|
9036
|
adam@0
|
9037 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
|
adam@0
|
9038 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
|
adam@0
|
9039 # If the export-symbols file already is a .def file (1st line
|
adam@0
|
9040 # is EXPORTS), use it as is; otherwise, prepend...
|
adam@0
|
9041 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
|
adam@0
|
9042 cp $export_symbols $output_objdir/$soname.def;
|
adam@0
|
9043 else
|
adam@0
|
9044 echo EXPORTS > $output_objdir/$soname.def;
|
adam@0
|
9045 cat $export_symbols >> $output_objdir/$soname.def;
|
adam@0
|
9046 fi~
|
adam@0
|
9047 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
|
adam@0
|
9048 else
|
adam@0
|
9049 ld_shlibs=no
|
adam@0
|
9050 fi
|
adam@0
|
9051 ;;
|
adam@0
|
9052
|
adam@12
|
9053 haiku*)
|
adam@12
|
9054 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
adam@12
|
9055 link_all_deplibs=yes
|
adam@12
|
9056 ;;
|
adam@12
|
9057
|
adam@0
|
9058 interix[3-9]*)
|
adam@0
|
9059 hardcode_direct=no
|
adam@0
|
9060 hardcode_shlibpath_var=no
|
adam@0
|
9061 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
adam@0
|
9062 export_dynamic_flag_spec='${wl}-E'
|
adam@0
|
9063 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
|
adam@0
|
9064 # Instead, shared libraries are loaded at an image base (0x10000000 by
|
adam@0
|
9065 # default) and relocated if they conflict, which is a slow very memory
|
adam@0
|
9066 # consuming and fragmenting process. To avoid this, we pick a random,
|
adam@0
|
9067 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
|
adam@0
|
9068 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
|
adam@0
|
9069 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
adam@0
|
9070 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'
|
adam@0
|
9071 ;;
|
adam@0
|
9072
|
adam@0
|
9073 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
|
adam@0
|
9074 tmp_diet=no
|
adam@0
|
9075 if test "$host_os" = linux-dietlibc; then
|
adam@0
|
9076 case $cc_basename in
|
adam@0
|
9077 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
|
adam@0
|
9078 esac
|
adam@0
|
9079 fi
|
adam@0
|
9080 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
|
adam@0
|
9081 && test "$tmp_diet" = no
|
adam@0
|
9082 then
|
adam@12
|
9083 tmp_addflag=' $pic_flag'
|
adam@0
|
9084 tmp_sharedflag='-shared'
|
adam@0
|
9085 case $cc_basename,$host_cpu in
|
adam@0
|
9086 pgcc*) # Portland Group C compiler
|
adam@12
|
9087 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'
|
adam@0
|
9088 tmp_addflag=' $pic_flag'
|
adam@0
|
9089 ;;
|
adam@12
|
9090 pgf77* | pgf90* | pgf95* | pgfortran*)
|
adam@12
|
9091 # Portland Group f77 and f90 compilers
|
adam@12
|
9092 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'
|
adam@0
|
9093 tmp_addflag=' $pic_flag -Mnomain' ;;
|
adam@0
|
9094 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
|
adam@0
|
9095 tmp_addflag=' -i_dynamic' ;;
|
adam@0
|
9096 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
|
adam@0
|
9097 tmp_addflag=' -i_dynamic -nofor_main' ;;
|
adam@0
|
9098 ifc* | ifort*) # Intel Fortran compiler
|
adam@0
|
9099 tmp_addflag=' -nofor_main' ;;
|
adam@0
|
9100 lf95*) # Lahey Fortran 8.1
|
adam@0
|
9101 whole_archive_flag_spec=
|
adam@0
|
9102 tmp_sharedflag='--shared' ;;
|
adam@12
|
9103 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
|
adam@0
|
9104 tmp_sharedflag='-qmkshrobj'
|
adam@0
|
9105 tmp_addflag= ;;
|
adam@12
|
9106 nvcc*) # Cuda Compiler Driver 2.2
|
adam@12
|
9107 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'
|
adam@12
|
9108 compiler_needs_object=yes
|
adam@12
|
9109 ;;
|
adam@0
|
9110 esac
|
adam@0
|
9111 case `$CC -V 2>&1 | sed 5q` in
|
adam@0
|
9112 *Sun\ C*) # Sun C 5.9
|
adam@12
|
9113 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'
|
adam@0
|
9114 compiler_needs_object=yes
|
adam@0
|
9115 tmp_sharedflag='-G' ;;
|
adam@0
|
9116 *Sun\ F*) # Sun Fortran 8.3
|
adam@0
|
9117 tmp_sharedflag='-G' ;;
|
adam@0
|
9118 esac
|
adam@0
|
9119 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
adam@0
|
9120
|
adam@0
|
9121 if test "x$supports_anon_versioning" = xyes; then
|
adam@0
|
9122 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
|
adam@0
|
9123 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
adam@0
|
9124 echo "local: *; };" >> $output_objdir/$libname.ver~
|
adam@0
|
9125 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
|
adam@0
|
9126 fi
|
adam@0
|
9127
|
adam@0
|
9128 case $cc_basename in
|
adam@12
|
9129 xlf* | bgf* | bgxlf* | mpixlf*)
|
adam@0
|
9130 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
|
adam@0
|
9131 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
|
adam@0
|
9132 hardcode_libdir_flag_spec=
|
adam@0
|
9133 hardcode_libdir_flag_spec_ld='-rpath $libdir'
|
adam@12
|
9134 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
|
adam@0
|
9135 if test "x$supports_anon_versioning" = xyes; then
|
adam@0
|
9136 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
|
adam@0
|
9137 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
adam@0
|
9138 echo "local: *; };" >> $output_objdir/$libname.ver~
|
adam@12
|
9139 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
|
adam@0
|
9140 fi
|
adam@0
|
9141 ;;
|
adam@0
|
9142 esac
|
adam@0
|
9143 else
|
adam@0
|
9144 ld_shlibs=no
|
adam@0
|
9145 fi
|
adam@0
|
9146 ;;
|
adam@0
|
9147
|
adam@0
|
9148 netbsd* | netbsdelf*-gnu)
|
adam@0
|
9149 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
adam@0
|
9150 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
adam@0
|
9151 wlarc=
|
adam@0
|
9152 else
|
adam@12
|
9153 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
adam@12
|
9154 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
adam@0
|
9155 fi
|
adam@0
|
9156 ;;
|
adam@0
|
9157
|
adam@0
|
9158 solaris*)
|
adam@0
|
9159 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
|
adam@0
|
9160 ld_shlibs=no
|
adam@0
|
9161 cat <<_LT_EOF 1>&2
|
adam@0
|
9162
|
adam@0
|
9163 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
|
adam@0
|
9164 *** create shared libraries on Solaris systems. Therefore, libtool
|
adam@0
|
9165 *** is disabling shared libraries support. We urge you to upgrade GNU
|
adam@0
|
9166 *** binutils to release 2.9.1 or newer. Another option is to modify
|
adam@0
|
9167 *** your PATH or compiler configuration so that the native linker is
|
adam@0
|
9168 *** used, and then restart.
|
adam@0
|
9169
|
adam@0
|
9170 _LT_EOF
|
adam@0
|
9171 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
|
adam@12
|
9172 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
adam@12
|
9173 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
adam@0
|
9174 else
|
adam@0
|
9175 ld_shlibs=no
|
adam@0
|
9176 fi
|
adam@0
|
9177 ;;
|
adam@0
|
9178
|
adam@0
|
9179 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
|
adam@0
|
9180 case `$LD -v 2>&1` in
|
adam@0
|
9181 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
|
adam@0
|
9182 ld_shlibs=no
|
adam@0
|
9183 cat <<_LT_EOF 1>&2
|
adam@0
|
9184
|
adam@0
|
9185 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
|
adam@0
|
9186 *** reliably create shared libraries on SCO systems. Therefore, libtool
|
adam@0
|
9187 *** is disabling shared libraries support. We urge you to upgrade GNU
|
adam@0
|
9188 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
|
adam@0
|
9189 *** your PATH or compiler configuration so that the native linker is
|
adam@0
|
9190 *** used, and then restart.
|
adam@0
|
9191
|
adam@0
|
9192 _LT_EOF
|
adam@0
|
9193 ;;
|
adam@0
|
9194 *)
|
adam@0
|
9195 # For security reasons, it is highly recommended that you always
|
adam@0
|
9196 # use absolute paths for naming shared libraries, and exclude the
|
adam@0
|
9197 # DT_RUNPATH tag from executables and libraries. But doing so
|
adam@0
|
9198 # requires that you compile everything twice, which is a pain.
|
adam@0
|
9199 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
|
adam@0
|
9200 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
adam@0
|
9201 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
adam@0
|
9202 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
adam@0
|
9203 else
|
adam@0
|
9204 ld_shlibs=no
|
adam@0
|
9205 fi
|
adam@0
|
9206 ;;
|
adam@0
|
9207 esac
|
adam@0
|
9208 ;;
|
adam@0
|
9209
|
adam@0
|
9210 sunos4*)
|
adam@0
|
9211 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
|
adam@0
|
9212 wlarc=
|
adam@0
|
9213 hardcode_direct=yes
|
adam@0
|
9214 hardcode_shlibpath_var=no
|
adam@0
|
9215 ;;
|
adam@0
|
9216
|
adam@0
|
9217 *)
|
adam@0
|
9218 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
|
adam@12
|
9219 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
adam@12
|
9220 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
adam@0
|
9221 else
|
adam@0
|
9222 ld_shlibs=no
|
adam@0
|
9223 fi
|
adam@0
|
9224 ;;
|
adam@0
|
9225 esac
|
adam@0
|
9226
|
adam@0
|
9227 if test "$ld_shlibs" = no; then
|
adam@0
|
9228 runpath_var=
|
adam@0
|
9229 hardcode_libdir_flag_spec=
|
adam@0
|
9230 export_dynamic_flag_spec=
|
adam@0
|
9231 whole_archive_flag_spec=
|
adam@0
|
9232 fi
|
adam@0
|
9233 else
|
adam@0
|
9234 # PORTME fill in a description of your system's linker (not GNU ld)
|
adam@0
|
9235 case $host_os in
|
adam@0
|
9236 aix3*)
|
adam@0
|
9237 allow_undefined_flag=unsupported
|
adam@0
|
9238 always_export_symbols=yes
|
adam@0
|
9239 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'
|
adam@0
|
9240 # Note: this linker hardcodes the directories in LIBPATH if there
|
adam@0
|
9241 # are no directories specified by -L.
|
adam@0
|
9242 hardcode_minus_L=yes
|
adam@0
|
9243 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
|
adam@0
|
9244 # Neither direct hardcoding nor static linking is supported with a
|
adam@0
|
9245 # broken collect2.
|
adam@0
|
9246 hardcode_direct=unsupported
|
adam@0
|
9247 fi
|
adam@0
|
9248 ;;
|
adam@0
|
9249
|
adam@0
|
9250 aix[4-9]*)
|
adam@0
|
9251 if test "$host_cpu" = ia64; then
|
adam@0
|
9252 # On IA64, the linker does run time linking by default, so we don't
|
adam@0
|
9253 # have to do anything special.
|
adam@0
|
9254 aix_use_runtimelinking=no
|
adam@0
|
9255 exp_sym_flag='-Bexport'
|
adam@0
|
9256 no_entry_flag=""
|
adam@0
|
9257 else
|
adam@0
|
9258 # If we're using GNU nm, then we don't want the "-C" option.
|
adam@0
|
9259 # -C means demangle to AIX nm, but means don't demangle with GNU nm
|
adam@12
|
9260 # Also, AIX nm treats weak defined symbols like other global
|
adam@12
|
9261 # defined symbols, whereas GNU nm marks them as "W".
|
adam@0
|
9262 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
|
adam@12
|
9263 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'
|
adam@0
|
9264 else
|
adam@0
|
9265 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'
|
adam@0
|
9266 fi
|
adam@0
|
9267 aix_use_runtimelinking=no
|
adam@0
|
9268
|
adam@0
|
9269 # Test if we are trying to use run time linking or normal
|
adam@0
|
9270 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
|
adam@0
|
9271 # need to do runtime linking.
|
adam@0
|
9272 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
|
adam@0
|
9273 for ld_flag in $LDFLAGS; do
|
adam@0
|
9274 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
|
adam@0
|
9275 aix_use_runtimelinking=yes
|
adam@0
|
9276 break
|
adam@0
|
9277 fi
|
adam@0
|
9278 done
|
adam@0
|
9279 ;;
|
adam@0
|
9280 esac
|
adam@0
|
9281
|
adam@0
|
9282 exp_sym_flag='-bexport'
|
adam@0
|
9283 no_entry_flag='-bnoentry'
|
adam@0
|
9284 fi
|
adam@0
|
9285
|
adam@0
|
9286 # When large executables or shared objects are built, AIX ld can
|
adam@0
|
9287 # have problems creating the table of contents. If linking a library
|
adam@0
|
9288 # or program results in "error TOC overflow" add -mminimal-toc to
|
adam@0
|
9289 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
|
adam@0
|
9290 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
|
adam@0
|
9291
|
adam@0
|
9292 archive_cmds=''
|
adam@0
|
9293 hardcode_direct=yes
|
adam@0
|
9294 hardcode_direct_absolute=yes
|
adam@0
|
9295 hardcode_libdir_separator=':'
|
adam@0
|
9296 link_all_deplibs=yes
|
adam@0
|
9297 file_list_spec='${wl}-f,'
|
adam@0
|
9298
|
adam@0
|
9299 if test "$GCC" = yes; then
|
adam@0
|
9300 case $host_os in aix4.[012]|aix4.[012].*)
|
adam@0
|
9301 # We only want to do this on AIX 4.2 and lower, the check
|
adam@0
|
9302 # below for broken collect2 doesn't work under 4.3+
|
adam@0
|
9303 collect2name=`${CC} -print-prog-name=collect2`
|
adam@0
|
9304 if test -f "$collect2name" &&
|
adam@0
|
9305 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
|
adam@0
|
9306 then
|
adam@0
|
9307 # We have reworked collect2
|
adam@0
|
9308 :
|
adam@0
|
9309 else
|
adam@0
|
9310 # We have old collect2
|
adam@0
|
9311 hardcode_direct=unsupported
|
adam@0
|
9312 # It fails to find uninstalled libraries when the uninstalled
|
adam@0
|
9313 # path is not listed in the libpath. Setting hardcode_minus_L
|
adam@0
|
9314 # to unsupported forces relinking
|
adam@0
|
9315 hardcode_minus_L=yes
|
adam@0
|
9316 hardcode_libdir_flag_spec='-L$libdir'
|
adam@0
|
9317 hardcode_libdir_separator=
|
adam@0
|
9318 fi
|
adam@0
|
9319 ;;
|
adam@0
|
9320 esac
|
adam@0
|
9321 shared_flag='-shared'
|
adam@0
|
9322 if test "$aix_use_runtimelinking" = yes; then
|
adam@0
|
9323 shared_flag="$shared_flag "'${wl}-G'
|
adam@0
|
9324 fi
|
adam@0
|
9325 link_all_deplibs=no
|
adam@0
|
9326 else
|
adam@0
|
9327 # not using gcc
|
adam@0
|
9328 if test "$host_cpu" = ia64; then
|
adam@0
|
9329 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
|
adam@0
|
9330 # chokes on -Wl,-G. The following line is correct:
|
adam@0
|
9331 shared_flag='-G'
|
adam@0
|
9332 else
|
adam@0
|
9333 if test "$aix_use_runtimelinking" = yes; then
|
adam@0
|
9334 shared_flag='${wl}-G'
|
adam@0
|
9335 else
|
adam@0
|
9336 shared_flag='${wl}-bM:SRE'
|
adam@0
|
9337 fi
|
adam@0
|
9338 fi
|
adam@0
|
9339 fi
|
adam@0
|
9340
|
adam@0
|
9341 export_dynamic_flag_spec='${wl}-bexpall'
|
adam@0
|
9342 # It seems that -bexpall does not export symbols beginning with
|
adam@0
|
9343 # underscore (_), so it is better to generate a list of symbols to export.
|
adam@0
|
9344 always_export_symbols=yes
|
adam@0
|
9345 if test "$aix_use_runtimelinking" = yes; then
|
adam@0
|
9346 # Warning - without using the other runtime loading flags (-brtl),
|
adam@0
|
9347 # -berok will link without error, but may produce a broken library.
|
adam@0
|
9348 allow_undefined_flag='-berok'
|
adam@0
|
9349 # Determine the default libpath from the value encoded in an
|
adam@0
|
9350 # empty executable.
|
adam@12
|
9351 if test "${lt_cv_aix_libpath+set}" = set; then
|
adam@12
|
9352 aix_libpath=$lt_cv_aix_libpath
|
adam@12
|
9353 else
|
adam@12
|
9354 if ${lt_cv_aix_libpath_+:} false; then :
|
adam@12
|
9355 $as_echo_n "(cached) " >&6
|
adam@12
|
9356 else
|
adam@12
|
9357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
9358 /* end confdefs.h. */
|
adam@0
|
9359
|
adam@0
|
9360 int
|
adam@0
|
9361 main ()
|
adam@0
|
9362 {
|
adam@0
|
9363
|
adam@0
|
9364 ;
|
adam@0
|
9365 return 0;
|
adam@0
|
9366 }
|
adam@0
|
9367 _ACEOF
|
adam@0
|
9368 if ac_fn_c_try_link "$LINENO"; then :
|
adam@0
|
9369
|
adam@12
|
9370 lt_aix_libpath_sed='
|
adam@12
|
9371 /Import File Strings/,/^$/ {
|
adam@12
|
9372 /^0/ {
|
adam@12
|
9373 s/^0 *\([^ ]*\) *$/\1/
|
adam@12
|
9374 p
|
adam@12
|
9375 }
|
adam@12
|
9376 }'
|
adam@12
|
9377 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
adam@12
|
9378 # Check for a 64-bit object if we didn't find anything.
|
adam@12
|
9379 if test -z "$lt_cv_aix_libpath_"; then
|
adam@12
|
9380 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
adam@12
|
9381 fi
|
adam@0
|
9382 fi
|
adam@0
|
9383 rm -f core conftest.err conftest.$ac_objext \
|
adam@0
|
9384 conftest$ac_exeext conftest.$ac_ext
|
adam@12
|
9385 if test -z "$lt_cv_aix_libpath_"; then
|
adam@12
|
9386 lt_cv_aix_libpath_="/usr/lib:/lib"
|
adam@12
|
9387 fi
|
adam@12
|
9388
|
adam@12
|
9389 fi
|
adam@12
|
9390
|
adam@12
|
9391 aix_libpath=$lt_cv_aix_libpath_
|
adam@12
|
9392 fi
|
adam@0
|
9393
|
adam@0
|
9394 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
|
adam@12
|
9395 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"
|
adam@0
|
9396 else
|
adam@0
|
9397 if test "$host_cpu" = ia64; then
|
adam@0
|
9398 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
|
adam@0
|
9399 allow_undefined_flag="-z nodefs"
|
adam@0
|
9400 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"
|
adam@0
|
9401 else
|
adam@0
|
9402 # Determine the default libpath from the value encoded in an
|
adam@0
|
9403 # empty executable.
|
adam@12
|
9404 if test "${lt_cv_aix_libpath+set}" = set; then
|
adam@12
|
9405 aix_libpath=$lt_cv_aix_libpath
|
adam@12
|
9406 else
|
adam@12
|
9407 if ${lt_cv_aix_libpath_+:} false; then :
|
adam@12
|
9408 $as_echo_n "(cached) " >&6
|
adam@12
|
9409 else
|
adam@12
|
9410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
9411 /* end confdefs.h. */
|
adam@0
|
9412
|
adam@0
|
9413 int
|
adam@0
|
9414 main ()
|
adam@0
|
9415 {
|
adam@0
|
9416
|
adam@0
|
9417 ;
|
adam@0
|
9418 return 0;
|
adam@0
|
9419 }
|
adam@0
|
9420 _ACEOF
|
adam@0
|
9421 if ac_fn_c_try_link "$LINENO"; then :
|
adam@0
|
9422
|
adam@12
|
9423 lt_aix_libpath_sed='
|
adam@12
|
9424 /Import File Strings/,/^$/ {
|
adam@12
|
9425 /^0/ {
|
adam@12
|
9426 s/^0 *\([^ ]*\) *$/\1/
|
adam@12
|
9427 p
|
adam@12
|
9428 }
|
adam@12
|
9429 }'
|
adam@12
|
9430 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
adam@12
|
9431 # Check for a 64-bit object if we didn't find anything.
|
adam@12
|
9432 if test -z "$lt_cv_aix_libpath_"; then
|
adam@12
|
9433 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
adam@12
|
9434 fi
|
adam@0
|
9435 fi
|
adam@0
|
9436 rm -f core conftest.err conftest.$ac_objext \
|
adam@0
|
9437 conftest$ac_exeext conftest.$ac_ext
|
adam@12
|
9438 if test -z "$lt_cv_aix_libpath_"; then
|
adam@12
|
9439 lt_cv_aix_libpath_="/usr/lib:/lib"
|
adam@12
|
9440 fi
|
adam@12
|
9441
|
adam@12
|
9442 fi
|
adam@12
|
9443
|
adam@12
|
9444 aix_libpath=$lt_cv_aix_libpath_
|
adam@12
|
9445 fi
|
adam@0
|
9446
|
adam@0
|
9447 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
|
adam@0
|
9448 # Warning - without using the other run time loading flags,
|
adam@0
|
9449 # -berok will link without error, but may produce a broken library.
|
adam@0
|
9450 no_undefined_flag=' ${wl}-bernotok'
|
adam@0
|
9451 allow_undefined_flag=' ${wl}-berok'
|
adam@12
|
9452 if test "$with_gnu_ld" = yes; then
|
adam@12
|
9453 # We only use this code for GNU lds that support --whole-archive.
|
adam@12
|
9454 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
|
adam@12
|
9455 else
|
adam@12
|
9456 # Exported symbols can be pulled into shared objects from archives
|
adam@12
|
9457 whole_archive_flag_spec='$convenience'
|
adam@12
|
9458 fi
|
adam@0
|
9459 archive_cmds_need_lc=yes
|
adam@0
|
9460 # This is similar to how AIX traditionally builds its shared libraries.
|
adam@0
|
9461 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'
|
adam@0
|
9462 fi
|
adam@0
|
9463 fi
|
adam@0
|
9464 ;;
|
adam@0
|
9465
|
adam@0
|
9466 amigaos*)
|
adam@0
|
9467 case $host_cpu in
|
adam@0
|
9468 powerpc)
|
adam@0
|
9469 # see comment about AmigaOS4 .so support
|
adam@0
|
9470 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
adam@0
|
9471 archive_expsym_cmds=''
|
adam@0
|
9472 ;;
|
adam@0
|
9473 m68k)
|
adam@0
|
9474 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)'
|
adam@0
|
9475 hardcode_libdir_flag_spec='-L$libdir'
|
adam@0
|
9476 hardcode_minus_L=yes
|
adam@0
|
9477 ;;
|
adam@0
|
9478 esac
|
adam@0
|
9479 ;;
|
adam@0
|
9480
|
adam@0
|
9481 bsdi[45]*)
|
adam@0
|
9482 export_dynamic_flag_spec=-rdynamic
|
adam@0
|
9483 ;;
|
adam@0
|
9484
|
adam@0
|
9485 cygwin* | mingw* | pw32* | cegcc*)
|
adam@0
|
9486 # When not using gcc, we currently assume that we are using
|
adam@0
|
9487 # Microsoft Visual C++.
|
adam@0
|
9488 # hardcode_libdir_flag_spec is actually meaningless, as there is
|
adam@0
|
9489 # no search path for DLLs.
|
adam@12
|
9490 case $cc_basename in
|
adam@12
|
9491 cl*)
|
adam@12
|
9492 # Native MSVC
|
adam@12
|
9493 hardcode_libdir_flag_spec=' '
|
adam@12
|
9494 allow_undefined_flag=unsupported
|
adam@12
|
9495 always_export_symbols=yes
|
adam@12
|
9496 file_list_spec='@'
|
adam@12
|
9497 # Tell ltmain to make .lib files, not .a files.
|
adam@12
|
9498 libext=lib
|
adam@12
|
9499 # Tell ltmain to make .dll files, not .so files.
|
adam@12
|
9500 shrext_cmds=".dll"
|
adam@12
|
9501 # FIXME: Setting linknames here is a bad hack.
|
adam@12
|
9502 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
|
adam@12
|
9503 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
|
adam@12
|
9504 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
|
adam@12
|
9505 else
|
adam@12
|
9506 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
|
adam@12
|
9507 fi~
|
adam@12
|
9508 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
|
adam@12
|
9509 linknames='
|
adam@12
|
9510 # The linker will not automatically build a static lib if we build a DLL.
|
adam@12
|
9511 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
|
adam@12
|
9512 enable_shared_with_static_runtimes=yes
|
adam@12
|
9513 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
|
adam@12
|
9514 # Don't use ranlib
|
adam@12
|
9515 old_postinstall_cmds='chmod 644 $oldlib'
|
adam@12
|
9516 postlink_cmds='lt_outputfile="@OUTPUT@"~
|
adam@12
|
9517 lt_tool_outputfile="@TOOL_OUTPUT@"~
|
adam@12
|
9518 case $lt_outputfile in
|
adam@12
|
9519 *.exe|*.EXE) ;;
|
adam@12
|
9520 *)
|
adam@12
|
9521 lt_outputfile="$lt_outputfile.exe"
|
adam@12
|
9522 lt_tool_outputfile="$lt_tool_outputfile.exe"
|
adam@12
|
9523 ;;
|
adam@12
|
9524 esac~
|
adam@12
|
9525 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
|
adam@12
|
9526 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
|
adam@12
|
9527 $RM "$lt_outputfile.manifest";
|
adam@12
|
9528 fi'
|
adam@12
|
9529 ;;
|
adam@12
|
9530 *)
|
adam@12
|
9531 # Assume MSVC wrapper
|
adam@12
|
9532 hardcode_libdir_flag_spec=' '
|
adam@12
|
9533 allow_undefined_flag=unsupported
|
adam@12
|
9534 # Tell ltmain to make .lib files, not .a files.
|
adam@12
|
9535 libext=lib
|
adam@12
|
9536 # Tell ltmain to make .dll files, not .so files.
|
adam@12
|
9537 shrext_cmds=".dll"
|
adam@12
|
9538 # FIXME: Setting linknames here is a bad hack.
|
adam@12
|
9539 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
|
adam@12
|
9540 # The linker will automatically build a .lib file if we build a DLL.
|
adam@12
|
9541 old_archive_from_new_cmds='true'
|
adam@12
|
9542 # FIXME: Should let the user specify the lib program.
|
adam@12
|
9543 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
|
adam@12
|
9544 enable_shared_with_static_runtimes=yes
|
adam@12
|
9545 ;;
|
adam@12
|
9546 esac
|
adam@0
|
9547 ;;
|
adam@0
|
9548
|
adam@0
|
9549 darwin* | rhapsody*)
|
adam@0
|
9550
|
adam@0
|
9551
|
adam@0
|
9552 archive_cmds_need_lc=no
|
adam@0
|
9553 hardcode_direct=no
|
adam@0
|
9554 hardcode_automatic=yes
|
adam@0
|
9555 hardcode_shlibpath_var=unsupported
|
adam@12
|
9556 if test "$lt_cv_ld_force_load" = "yes"; then
|
adam@12
|
9557 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\"`'
|
adam@12
|
9558 else
|
adam@12
|
9559 whole_archive_flag_spec=''
|
adam@12
|
9560 fi
|
adam@0
|
9561 link_all_deplibs=yes
|
adam@0
|
9562 allow_undefined_flag="$_lt_dar_allow_undefined"
|
adam@0
|
9563 case $cc_basename in
|
adam@0
|
9564 ifort*) _lt_dar_can_shared=yes ;;
|
adam@0
|
9565 *) _lt_dar_can_shared=$GCC ;;
|
adam@0
|
9566 esac
|
adam@0
|
9567 if test "$_lt_dar_can_shared" = "yes"; then
|
adam@12
|
9568 output_verbose_link_cmd=func_echo_all
|
adam@0
|
9569 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
|
adam@0
|
9570 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
|
adam@0
|
9571 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}"
|
adam@0
|
9572 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}"
|
adam@0
|
9573
|
adam@0
|
9574 else
|
adam@0
|
9575 ld_shlibs=no
|
adam@0
|
9576 fi
|
adam@0
|
9577
|
adam@0
|
9578 ;;
|
adam@0
|
9579
|
adam@0
|
9580 dgux*)
|
adam@0
|
9581 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
adam@0
|
9582 hardcode_libdir_flag_spec='-L$libdir'
|
adam@0
|
9583 hardcode_shlibpath_var=no
|
adam@0
|
9584 ;;
|
adam@0
|
9585
|
adam@0
|
9586 freebsd1*)
|
adam@0
|
9587 ld_shlibs=no
|
adam@0
|
9588 ;;
|
adam@0
|
9589
|
adam@0
|
9590 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
|
adam@0
|
9591 # support. Future versions do this automatically, but an explicit c++rt0.o
|
adam@0
|
9592 # does not break anything, and helps significantly (at the cost of a little
|
adam@0
|
9593 # extra space).
|
adam@0
|
9594 freebsd2.2*)
|
adam@0
|
9595 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
|
adam@0
|
9596 hardcode_libdir_flag_spec='-R$libdir'
|
adam@0
|
9597 hardcode_direct=yes
|
adam@0
|
9598 hardcode_shlibpath_var=no
|
adam@0
|
9599 ;;
|
adam@0
|
9600
|
adam@0
|
9601 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
|
adam@0
|
9602 freebsd2*)
|
adam@0
|
9603 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
|
adam@0
|
9604 hardcode_direct=yes
|
adam@0
|
9605 hardcode_minus_L=yes
|
adam@0
|
9606 hardcode_shlibpath_var=no
|
adam@0
|
9607 ;;
|
adam@0
|
9608
|
adam@0
|
9609 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
|
adam@0
|
9610 freebsd* | dragonfly*)
|
adam@12
|
9611 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
9612 hardcode_libdir_flag_spec='-R$libdir'
|
adam@0
|
9613 hardcode_direct=yes
|
adam@0
|
9614 hardcode_shlibpath_var=no
|
adam@0
|
9615 ;;
|
adam@0
|
9616
|
adam@0
|
9617 hpux9*)
|
adam@0
|
9618 if test "$GCC" = yes; then
|
adam@12
|
9619 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'
|
adam@0
|
9620 else
|
adam@0
|
9621 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'
|
adam@0
|
9622 fi
|
adam@0
|
9623 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
adam@0
|
9624 hardcode_libdir_separator=:
|
adam@0
|
9625 hardcode_direct=yes
|
adam@0
|
9626
|
adam@0
|
9627 # hardcode_minus_L: Not really in the search PATH,
|
adam@0
|
9628 # but as the default location of the library.
|
adam@0
|
9629 hardcode_minus_L=yes
|
adam@0
|
9630 export_dynamic_flag_spec='${wl}-E'
|
adam@0
|
9631 ;;
|
adam@0
|
9632
|
adam@0
|
9633 hpux10*)
|
adam@12
|
9634 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
|
adam@12
|
9635 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
9636 else
|
adam@0
|
9637 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
|
adam@0
|
9638 fi
|
adam@0
|
9639 if test "$with_gnu_ld" = no; then
|
adam@0
|
9640 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
adam@0
|
9641 hardcode_libdir_flag_spec_ld='+b $libdir'
|
adam@0
|
9642 hardcode_libdir_separator=:
|
adam@0
|
9643 hardcode_direct=yes
|
adam@0
|
9644 hardcode_direct_absolute=yes
|
adam@0
|
9645 export_dynamic_flag_spec='${wl}-E'
|
adam@0
|
9646 # hardcode_minus_L: Not really in the search PATH,
|
adam@0
|
9647 # but as the default location of the library.
|
adam@0
|
9648 hardcode_minus_L=yes
|
adam@0
|
9649 fi
|
adam@0
|
9650 ;;
|
adam@0
|
9651
|
adam@0
|
9652 hpux11*)
|
adam@12
|
9653 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
|
adam@0
|
9654 case $host_cpu in
|
adam@0
|
9655 hppa*64*)
|
adam@0
|
9656 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
9657 ;;
|
adam@0
|
9658 ia64*)
|
adam@12
|
9659 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
9660 ;;
|
adam@0
|
9661 *)
|
adam@12
|
9662 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
9663 ;;
|
adam@0
|
9664 esac
|
adam@0
|
9665 else
|
adam@0
|
9666 case $host_cpu in
|
adam@0
|
9667 hppa*64*)
|
adam@0
|
9668 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
9669 ;;
|
adam@0
|
9670 ia64*)
|
adam@0
|
9671 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
9672 ;;
|
adam@0
|
9673 *)
|
adam@12
|
9674
|
adam@12
|
9675 # Older versions of the 11.00 compiler do not understand -b yet
|
adam@12
|
9676 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
|
adam@12
|
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
|
adam@12
|
9678 $as_echo_n "checking if $CC understands -b... " >&6; }
|
adam@12
|
9679 if ${lt_cv_prog_compiler__b+:} false; then :
|
adam@12
|
9680 $as_echo_n "(cached) " >&6
|
adam@12
|
9681 else
|
adam@12
|
9682 lt_cv_prog_compiler__b=no
|
adam@12
|
9683 save_LDFLAGS="$LDFLAGS"
|
adam@12
|
9684 LDFLAGS="$LDFLAGS -b"
|
adam@12
|
9685 echo "$lt_simple_link_test_code" > conftest.$ac_ext
|
adam@12
|
9686 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
|
adam@12
|
9687 # The linker can only warn and ignore the option if not recognized
|
adam@12
|
9688 # So say no if there are warnings
|
adam@12
|
9689 if test -s conftest.err; then
|
adam@12
|
9690 # Append any errors to the config.log.
|
adam@12
|
9691 cat conftest.err 1>&5
|
adam@12
|
9692 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
|
adam@12
|
9693 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
|
adam@12
|
9694 if diff conftest.exp conftest.er2 >/dev/null; then
|
adam@12
|
9695 lt_cv_prog_compiler__b=yes
|
adam@12
|
9696 fi
|
adam@12
|
9697 else
|
adam@12
|
9698 lt_cv_prog_compiler__b=yes
|
adam@12
|
9699 fi
|
adam@12
|
9700 fi
|
adam@12
|
9701 $RM -r conftest*
|
adam@12
|
9702 LDFLAGS="$save_LDFLAGS"
|
adam@12
|
9703
|
adam@12
|
9704 fi
|
adam@12
|
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
|
adam@12
|
9706 $as_echo "$lt_cv_prog_compiler__b" >&6; }
|
adam@12
|
9707
|
adam@12
|
9708 if test x"$lt_cv_prog_compiler__b" = xyes; then
|
adam@12
|
9709 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
|
adam@12
|
9710 else
|
adam@12
|
9711 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
|
adam@12
|
9712 fi
|
adam@12
|
9713
|
adam@0
|
9714 ;;
|
adam@0
|
9715 esac
|
adam@0
|
9716 fi
|
adam@0
|
9717 if test "$with_gnu_ld" = no; then
|
adam@0
|
9718 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
adam@0
|
9719 hardcode_libdir_separator=:
|
adam@0
|
9720
|
adam@0
|
9721 case $host_cpu in
|
adam@0
|
9722 hppa*64*|ia64*)
|
adam@0
|
9723 hardcode_direct=no
|
adam@0
|
9724 hardcode_shlibpath_var=no
|
adam@0
|
9725 ;;
|
adam@0
|
9726 *)
|
adam@0
|
9727 hardcode_direct=yes
|
adam@0
|
9728 hardcode_direct_absolute=yes
|
adam@0
|
9729 export_dynamic_flag_spec='${wl}-E'
|
adam@0
|
9730
|
adam@0
|
9731 # hardcode_minus_L: Not really in the search PATH,
|
adam@0
|
9732 # but as the default location of the library.
|
adam@0
|
9733 hardcode_minus_L=yes
|
adam@0
|
9734 ;;
|
adam@0
|
9735 esac
|
adam@0
|
9736 fi
|
adam@0
|
9737 ;;
|
adam@0
|
9738
|
adam@0
|
9739 irix5* | irix6* | nonstopux*)
|
adam@0
|
9740 if test "$GCC" = yes; then
|
adam@12
|
9741 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'
|
adam@0
|
9742 # Try to use the -exported_symbol ld option, if it does not
|
adam@0
|
9743 # work, assume that -exports_file does not work either and
|
adam@0
|
9744 # implicitly export all symbols.
|
adam@12
|
9745 # This should be the same for all languages, so no per-tag cache variable.
|
adam@12
|
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
|
adam@12
|
9747 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
|
adam@12
|
9748 if ${lt_cv_irix_exported_symbol+:} false; then :
|
adam@12
|
9749 $as_echo_n "(cached) " >&6
|
adam@12
|
9750 else
|
adam@12
|
9751 save_LDFLAGS="$LDFLAGS"
|
adam@12
|
9752 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
|
adam@12
|
9753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
9754 /* end confdefs.h. */
|
adam@12
|
9755 int foo (void) { return 0; }
|
adam@0
|
9756 _ACEOF
|
adam@0
|
9757 if ac_fn_c_try_link "$LINENO"; then :
|
adam@12
|
9758 lt_cv_irix_exported_symbol=yes
|
adam@12
|
9759 else
|
adam@12
|
9760 lt_cv_irix_exported_symbol=no
|
adam@0
|
9761 fi
|
adam@0
|
9762 rm -f core conftest.err conftest.$ac_objext \
|
adam@0
|
9763 conftest$ac_exeext conftest.$ac_ext
|
adam@12
|
9764 LDFLAGS="$save_LDFLAGS"
|
adam@12
|
9765 fi
|
adam@12
|
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
|
adam@12
|
9767 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
|
adam@12
|
9768 if test "$lt_cv_irix_exported_symbol" = yes; then
|
adam@12
|
9769 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'
|
adam@12
|
9770 fi
|
adam@0
|
9771 else
|
adam@12
|
9772 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'
|
adam@12
|
9773 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'
|
adam@0
|
9774 fi
|
adam@0
|
9775 archive_cmds_need_lc='no'
|
adam@0
|
9776 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
adam@0
|
9777 hardcode_libdir_separator=:
|
adam@0
|
9778 inherit_rpath=yes
|
adam@0
|
9779 link_all_deplibs=yes
|
adam@0
|
9780 ;;
|
adam@0
|
9781
|
adam@0
|
9782 netbsd* | netbsdelf*-gnu)
|
adam@0
|
9783 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
adam@0
|
9784 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
|
adam@0
|
9785 else
|
adam@0
|
9786 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
|
adam@0
|
9787 fi
|
adam@0
|
9788 hardcode_libdir_flag_spec='-R$libdir'
|
adam@0
|
9789 hardcode_direct=yes
|
adam@0
|
9790 hardcode_shlibpath_var=no
|
adam@0
|
9791 ;;
|
adam@0
|
9792
|
adam@0
|
9793 newsos6)
|
adam@0
|
9794 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
adam@0
|
9795 hardcode_direct=yes
|
adam@0
|
9796 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
adam@0
|
9797 hardcode_libdir_separator=:
|
adam@0
|
9798 hardcode_shlibpath_var=no
|
adam@0
|
9799 ;;
|
adam@0
|
9800
|
adam@0
|
9801 *nto* | *qnx*)
|
adam@0
|
9802 ;;
|
adam@0
|
9803
|
adam@0
|
9804 openbsd*)
|
adam@0
|
9805 if test -f /usr/libexec/ld.so; then
|
adam@0
|
9806 hardcode_direct=yes
|
adam@0
|
9807 hardcode_shlibpath_var=no
|
adam@0
|
9808 hardcode_direct_absolute=yes
|
adam@0
|
9809 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
adam@0
|
9810 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
9811 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
|
adam@0
|
9812 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
adam@0
|
9813 export_dynamic_flag_spec='${wl}-E'
|
adam@0
|
9814 else
|
adam@0
|
9815 case $host_os in
|
adam@0
|
9816 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
|
adam@0
|
9817 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
|
adam@0
|
9818 hardcode_libdir_flag_spec='-R$libdir'
|
adam@0
|
9819 ;;
|
adam@0
|
9820 *)
|
adam@0
|
9821 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
9822 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
adam@0
|
9823 ;;
|
adam@0
|
9824 esac
|
adam@0
|
9825 fi
|
adam@0
|
9826 else
|
adam@0
|
9827 ld_shlibs=no
|
adam@0
|
9828 fi
|
adam@0
|
9829 ;;
|
adam@0
|
9830
|
adam@0
|
9831 os2*)
|
adam@0
|
9832 hardcode_libdir_flag_spec='-L$libdir'
|
adam@0
|
9833 hardcode_minus_L=yes
|
adam@0
|
9834 allow_undefined_flag=unsupported
|
adam@12
|
9835 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'
|
adam@0
|
9836 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
|
adam@0
|
9837 ;;
|
adam@0
|
9838
|
adam@0
|
9839 osf3*)
|
adam@0
|
9840 if test "$GCC" = yes; then
|
adam@0
|
9841 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
|
adam@12
|
9842 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'
|
adam@0
|
9843 else
|
adam@0
|
9844 allow_undefined_flag=' -expect_unresolved \*'
|
adam@12
|
9845 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'
|
adam@0
|
9846 fi
|
adam@0
|
9847 archive_cmds_need_lc='no'
|
adam@0
|
9848 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
adam@0
|
9849 hardcode_libdir_separator=:
|
adam@0
|
9850 ;;
|
adam@0
|
9851
|
adam@0
|
9852 osf4* | osf5*) # as osf3* with the addition of -msym flag
|
adam@0
|
9853 if test "$GCC" = yes; then
|
adam@0
|
9854 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
|
adam@12
|
9855 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'
|
adam@0
|
9856 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
adam@0
|
9857 else
|
adam@0
|
9858 allow_undefined_flag=' -expect_unresolved \*'
|
adam@12
|
9859 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'
|
adam@0
|
9860 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~
|
adam@12
|
9861 $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'
|
adam@0
|
9862
|
adam@0
|
9863 # Both c and cxx compiler support -rpath directly
|
adam@0
|
9864 hardcode_libdir_flag_spec='-rpath $libdir'
|
adam@0
|
9865 fi
|
adam@0
|
9866 archive_cmds_need_lc='no'
|
adam@0
|
9867 hardcode_libdir_separator=:
|
adam@0
|
9868 ;;
|
adam@0
|
9869
|
adam@0
|
9870 solaris*)
|
adam@0
|
9871 no_undefined_flag=' -z defs'
|
adam@0
|
9872 if test "$GCC" = yes; then
|
adam@0
|
9873 wlarc='${wl}'
|
adam@12
|
9874 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
9875 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
|
adam@12
|
9876 $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'
|
adam@0
|
9877 else
|
adam@0
|
9878 case `$CC -V 2>&1` in
|
adam@0
|
9879 *"Compilers 5.0"*)
|
adam@0
|
9880 wlarc=''
|
adam@0
|
9881 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
adam@0
|
9882 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
|
adam@0
|
9883 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
|
adam@0
|
9884 ;;
|
adam@0
|
9885 *)
|
adam@0
|
9886 wlarc='${wl}'
|
adam@0
|
9887 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
9888 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
|
adam@0
|
9889 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
|
adam@0
|
9890 ;;
|
adam@0
|
9891 esac
|
adam@0
|
9892 fi
|
adam@0
|
9893 hardcode_libdir_flag_spec='-R$libdir'
|
adam@0
|
9894 hardcode_shlibpath_var=no
|
adam@0
|
9895 case $host_os in
|
adam@0
|
9896 solaris2.[0-5] | solaris2.[0-5].*) ;;
|
adam@0
|
9897 *)
|
adam@0
|
9898 # The compiler driver will combine and reorder linker options,
|
adam@0
|
9899 # but understands `-z linker_flag'. GCC discards it without `$wl',
|
adam@0
|
9900 # but is careful enough not to reorder.
|
adam@0
|
9901 # Supported since Solaris 2.6 (maybe 2.5.1?)
|
adam@0
|
9902 if test "$GCC" = yes; then
|
adam@0
|
9903 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
|
adam@0
|
9904 else
|
adam@0
|
9905 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
|
adam@0
|
9906 fi
|
adam@0
|
9907 ;;
|
adam@0
|
9908 esac
|
adam@0
|
9909 link_all_deplibs=yes
|
adam@0
|
9910 ;;
|
adam@0
|
9911
|
adam@0
|
9912 sunos4*)
|
adam@0
|
9913 if test "x$host_vendor" = xsequent; then
|
adam@0
|
9914 # Use $CC to link under sequent, because it throws in some extra .o
|
adam@0
|
9915 # files that make .init and .fini sections work.
|
adam@0
|
9916 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
9917 else
|
adam@0
|
9918 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
|
adam@0
|
9919 fi
|
adam@0
|
9920 hardcode_libdir_flag_spec='-L$libdir'
|
adam@0
|
9921 hardcode_direct=yes
|
adam@0
|
9922 hardcode_minus_L=yes
|
adam@0
|
9923 hardcode_shlibpath_var=no
|
adam@0
|
9924 ;;
|
adam@0
|
9925
|
adam@0
|
9926 sysv4)
|
adam@0
|
9927 case $host_vendor in
|
adam@0
|
9928 sni)
|
adam@0
|
9929 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
adam@0
|
9930 hardcode_direct=yes # is this really true???
|
adam@0
|
9931 ;;
|
adam@0
|
9932 siemens)
|
adam@0
|
9933 ## LD is ld it makes a PLAMLIB
|
adam@0
|
9934 ## CC just makes a GrossModule.
|
adam@0
|
9935 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
|
adam@0
|
9936 reload_cmds='$CC -r -o $output$reload_objs'
|
adam@0
|
9937 hardcode_direct=no
|
adam@0
|
9938 ;;
|
adam@0
|
9939 motorola)
|
adam@0
|
9940 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
adam@0
|
9941 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
|
adam@0
|
9942 ;;
|
adam@0
|
9943 esac
|
adam@0
|
9944 runpath_var='LD_RUN_PATH'
|
adam@0
|
9945 hardcode_shlibpath_var=no
|
adam@0
|
9946 ;;
|
adam@0
|
9947
|
adam@0
|
9948 sysv4.3*)
|
adam@0
|
9949 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
adam@0
|
9950 hardcode_shlibpath_var=no
|
adam@0
|
9951 export_dynamic_flag_spec='-Bexport'
|
adam@0
|
9952 ;;
|
adam@0
|
9953
|
adam@0
|
9954 sysv4*MP*)
|
adam@0
|
9955 if test -d /usr/nec; then
|
adam@0
|
9956 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
adam@0
|
9957 hardcode_shlibpath_var=no
|
adam@0
|
9958 runpath_var=LD_RUN_PATH
|
adam@0
|
9959 hardcode_runpath_var=yes
|
adam@0
|
9960 ld_shlibs=yes
|
adam@0
|
9961 fi
|
adam@0
|
9962 ;;
|
adam@0
|
9963
|
adam@0
|
9964 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
|
adam@0
|
9965 no_undefined_flag='${wl}-z,text'
|
adam@0
|
9966 archive_cmds_need_lc=no
|
adam@0
|
9967 hardcode_shlibpath_var=no
|
adam@0
|
9968 runpath_var='LD_RUN_PATH'
|
adam@0
|
9969
|
adam@0
|
9970 if test "$GCC" = yes; then
|
adam@0
|
9971 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
9972 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
9973 else
|
adam@0
|
9974 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
9975 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
9976 fi
|
adam@0
|
9977 ;;
|
adam@0
|
9978
|
adam@0
|
9979 sysv5* | sco3.2v5* | sco5v6*)
|
adam@0
|
9980 # Note: We can NOT use -z defs as we might desire, because we do not
|
adam@0
|
9981 # link with -lc, and that would cause any symbols used from libc to
|
adam@0
|
9982 # always be unresolved, which means just about no library would
|
adam@0
|
9983 # ever link correctly. If we're not using GNU ld we use -z text
|
adam@0
|
9984 # though, which does catch some bad symbols but isn't as heavy-handed
|
adam@0
|
9985 # as -z defs.
|
adam@0
|
9986 no_undefined_flag='${wl}-z,text'
|
adam@0
|
9987 allow_undefined_flag='${wl}-z,nodefs'
|
adam@0
|
9988 archive_cmds_need_lc=no
|
adam@0
|
9989 hardcode_shlibpath_var=no
|
adam@0
|
9990 hardcode_libdir_flag_spec='${wl}-R,$libdir'
|
adam@0
|
9991 hardcode_libdir_separator=':'
|
adam@0
|
9992 link_all_deplibs=yes
|
adam@0
|
9993 export_dynamic_flag_spec='${wl}-Bexport'
|
adam@0
|
9994 runpath_var='LD_RUN_PATH'
|
adam@0
|
9995
|
adam@0
|
9996 if test "$GCC" = yes; then
|
adam@0
|
9997 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
9998 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
9999 else
|
adam@0
|
10000 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
10001 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
|
adam@0
|
10002 fi
|
adam@0
|
10003 ;;
|
adam@0
|
10004
|
adam@0
|
10005 uts4*)
|
adam@0
|
10006 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
|
adam@0
|
10007 hardcode_libdir_flag_spec='-L$libdir'
|
adam@0
|
10008 hardcode_shlibpath_var=no
|
adam@0
|
10009 ;;
|
adam@0
|
10010
|
adam@0
|
10011 *)
|
adam@0
|
10012 ld_shlibs=no
|
adam@0
|
10013 ;;
|
adam@0
|
10014 esac
|
adam@0
|
10015
|
adam@0
|
10016 if test x$host_vendor = xsni; then
|
adam@0
|
10017 case $host in
|
adam@0
|
10018 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
|
adam@0
|
10019 export_dynamic_flag_spec='${wl}-Blargedynsym'
|
adam@0
|
10020 ;;
|
adam@0
|
10021 esac
|
adam@0
|
10022 fi
|
adam@0
|
10023 fi
|
adam@0
|
10024
|
adam@0
|
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
|
adam@0
|
10026 $as_echo "$ld_shlibs" >&6; }
|
adam@0
|
10027 test "$ld_shlibs" = no && can_build_shared=no
|
adam@0
|
10028
|
adam@0
|
10029 with_gnu_ld=$with_gnu_ld
|
adam@0
|
10030
|
adam@0
|
10031
|
adam@0
|
10032
|
adam@0
|
10033
|
adam@0
|
10034
|
adam@0
|
10035
|
adam@0
|
10036
|
adam@0
|
10037
|
adam@0
|
10038
|
adam@0
|
10039
|
adam@0
|
10040
|
adam@0
|
10041
|
adam@0
|
10042
|
adam@0
|
10043
|
adam@0
|
10044
|
adam@0
|
10045 #
|
adam@0
|
10046 # Do we need to explicitly link libc?
|
adam@0
|
10047 #
|
adam@0
|
10048 case "x$archive_cmds_need_lc" in
|
adam@0
|
10049 x|xyes)
|
adam@0
|
10050 # Assume -lc should be added
|
adam@0
|
10051 archive_cmds_need_lc=yes
|
adam@0
|
10052
|
adam@0
|
10053 if test "$enable_shared" = yes && test "$GCC" = yes; then
|
adam@0
|
10054 case $archive_cmds in
|
adam@0
|
10055 *'~'*)
|
adam@0
|
10056 # FIXME: we may have to deal with multi-command sequences.
|
adam@0
|
10057 ;;
|
adam@0
|
10058 '$CC '*)
|
adam@0
|
10059 # Test whether the compiler implicitly links with -lc since on some
|
adam@0
|
10060 # systems, -lgcc has to come before -lc. If gcc already passes -lc
|
adam@0
|
10061 # to ld, don't add -lc before -lgcc.
|
adam@0
|
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
|
adam@0
|
10063 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
|
adam@12
|
10064 if ${lt_cv_archive_cmds_need_lc+:} false; then :
|
adam@12
|
10065 $as_echo_n "(cached) " >&6
|
adam@12
|
10066 else
|
adam@12
|
10067 $RM conftest*
|
adam@12
|
10068 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
adam@12
|
10069
|
adam@12
|
10070 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
adam@0
|
10071 (eval $ac_compile) 2>&5
|
adam@0
|
10072 ac_status=$?
|
adam@0
|
10073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
10074 test $ac_status = 0; } 2>conftest.err; then
|
adam@12
|
10075 soname=conftest
|
adam@12
|
10076 lib=conftest
|
adam@12
|
10077 libobjs=conftest.$ac_objext
|
adam@12
|
10078 deplibs=
|
adam@12
|
10079 wl=$lt_prog_compiler_wl
|
adam@12
|
10080 pic_flag=$lt_prog_compiler_pic
|
adam@12
|
10081 compiler_flags=-v
|
adam@12
|
10082 linker_flags=-v
|
adam@12
|
10083 verstring=
|
adam@12
|
10084 output_objdir=.
|
adam@12
|
10085 libname=conftest
|
adam@12
|
10086 lt_save_allow_undefined_flag=$allow_undefined_flag
|
adam@12
|
10087 allow_undefined_flag=
|
adam@12
|
10088 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
|
adam@0
|
10089 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
|
adam@0
|
10090 ac_status=$?
|
adam@0
|
10091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
10092 test $ac_status = 0; }
|
adam@12
|
10093 then
|
adam@12
|
10094 lt_cv_archive_cmds_need_lc=no
|
adam@12
|
10095 else
|
adam@12
|
10096 lt_cv_archive_cmds_need_lc=yes
|
adam@12
|
10097 fi
|
adam@12
|
10098 allow_undefined_flag=$lt_save_allow_undefined_flag
|
adam@12
|
10099 else
|
adam@12
|
10100 cat conftest.err 1>&5
|
adam@12
|
10101 fi
|
adam@12
|
10102 $RM conftest*
|
adam@12
|
10103
|
adam@12
|
10104 fi
|
adam@12
|
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
|
adam@12
|
10106 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
|
adam@12
|
10107 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
|
adam@0
|
10108 ;;
|
adam@0
|
10109 esac
|
adam@0
|
10110 fi
|
adam@0
|
10111 ;;
|
adam@0
|
10112 esac
|
adam@0
|
10113
|
adam@0
|
10114
|
adam@0
|
10115
|
adam@0
|
10116
|
adam@0
|
10117
|
adam@0
|
10118
|
adam@0
|
10119
|
adam@0
|
10120
|
adam@0
|
10121
|
adam@0
|
10122
|
adam@0
|
10123
|
adam@0
|
10124
|
adam@0
|
10125
|
adam@0
|
10126
|
adam@0
|
10127
|
adam@0
|
10128
|
adam@0
|
10129
|
adam@0
|
10130
|
adam@0
|
10131
|
adam@0
|
10132
|
adam@0
|
10133
|
adam@0
|
10134
|
adam@0
|
10135
|
adam@0
|
10136
|
adam@0
|
10137
|
adam@0
|
10138
|
adam@0
|
10139
|
adam@0
|
10140
|
adam@0
|
10141
|
adam@0
|
10142
|
adam@0
|
10143
|
adam@0
|
10144
|
adam@0
|
10145
|
adam@0
|
10146
|
adam@0
|
10147
|
adam@0
|
10148
|
adam@0
|
10149
|
adam@0
|
10150
|
adam@0
|
10151
|
adam@0
|
10152
|
adam@0
|
10153
|
adam@0
|
10154
|
adam@0
|
10155
|
adam@0
|
10156
|
adam@0
|
10157
|
adam@0
|
10158
|
adam@0
|
10159
|
adam@0
|
10160
|
adam@0
|
10161
|
adam@0
|
10162
|
adam@0
|
10163
|
adam@0
|
10164
|
adam@0
|
10165
|
adam@0
|
10166
|
adam@0
|
10167
|
adam@0
|
10168
|
adam@0
|
10169
|
adam@0
|
10170
|
adam@0
|
10171
|
adam@0
|
10172
|
adam@0
|
10173
|
adam@0
|
10174
|
adam@0
|
10175
|
adam@0
|
10176
|
adam@0
|
10177
|
adam@0
|
10178
|
adam@0
|
10179
|
adam@0
|
10180
|
adam@0
|
10181
|
adam@0
|
10182
|
adam@0
|
10183
|
adam@0
|
10184
|
adam@0
|
10185
|
adam@0
|
10186
|
adam@0
|
10187
|
adam@0
|
10188
|
adam@0
|
10189
|
adam@0
|
10190
|
adam@0
|
10191
|
adam@0
|
10192
|
adam@0
|
10193
|
adam@0
|
10194
|
adam@0
|
10195
|
adam@0
|
10196
|
adam@0
|
10197
|
adam@0
|
10198
|
adam@0
|
10199
|
adam@0
|
10200
|
adam@0
|
10201
|
adam@0
|
10202
|
adam@0
|
10203
|
adam@0
|
10204
|
adam@0
|
10205
|
adam@0
|
10206
|
adam@0
|
10207
|
adam@0
|
10208
|
adam@0
|
10209
|
adam@0
|
10210
|
adam@0
|
10211
|
adam@0
|
10212
|
adam@0
|
10213
|
adam@0
|
10214
|
adam@0
|
10215
|
adam@0
|
10216
|
adam@0
|
10217
|
adam@0
|
10218
|
adam@0
|
10219
|
adam@0
|
10220
|
adam@0
|
10221
|
adam@0
|
10222
|
adam@0
|
10223
|
adam@0
|
10224
|
adam@0
|
10225
|
adam@0
|
10226
|
adam@0
|
10227
|
adam@0
|
10228
|
adam@0
|
10229
|
adam@0
|
10230
|
adam@0
|
10231
|
adam@0
|
10232
|
adam@0
|
10233
|
adam@0
|
10234
|
adam@0
|
10235
|
adam@0
|
10236
|
adam@0
|
10237
|
adam@0
|
10238
|
adam@0
|
10239
|
adam@0
|
10240
|
adam@0
|
10241
|
adam@0
|
10242
|
adam@0
|
10243
|
adam@0
|
10244
|
adam@0
|
10245
|
adam@0
|
10246
|
adam@0
|
10247
|
adam@0
|
10248
|
adam@0
|
10249
|
adam@0
|
10250
|
adam@0
|
10251
|
adam@0
|
10252
|
adam@0
|
10253
|
adam@0
|
10254
|
adam@0
|
10255
|
adam@0
|
10256
|
adam@0
|
10257
|
adam@0
|
10258
|
adam@0
|
10259
|
adam@0
|
10260
|
adam@0
|
10261
|
adam@0
|
10262
|
adam@0
|
10263
|
adam@0
|
10264
|
adam@0
|
10265
|
adam@0
|
10266
|
adam@0
|
10267
|
adam@0
|
10268
|
adam@0
|
10269
|
adam@0
|
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
|
adam@0
|
10271 $as_echo_n "checking dynamic linker characteristics... " >&6; }
|
adam@0
|
10272
|
adam@0
|
10273 if test "$GCC" = yes; then
|
adam@0
|
10274 case $host_os in
|
adam@0
|
10275 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
|
adam@0
|
10276 *) lt_awk_arg="/^libraries:/" ;;
|
adam@0
|
10277 esac
|
adam@12
|
10278 case $host_os in
|
adam@12
|
10279 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
|
adam@12
|
10280 *) lt_sed_strip_eq="s,=/,/,g" ;;
|
adam@12
|
10281 esac
|
adam@12
|
10282 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
|
adam@12
|
10283 case $lt_search_path_spec in
|
adam@12
|
10284 *\;*)
|
adam@0
|
10285 # if the path contains ";" then we assume it to be the separator
|
adam@0
|
10286 # otherwise default to the standard path separator (i.e. ":") - it is
|
adam@0
|
10287 # assumed that no part of a normal pathname contains ";" but that should
|
adam@0
|
10288 # okay in the real world where ";" in dirpaths is itself problematic.
|
adam@12
|
10289 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
|
adam@12
|
10290 ;;
|
adam@12
|
10291 *)
|
adam@12
|
10292 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
|
adam@12
|
10293 ;;
|
adam@12
|
10294 esac
|
adam@0
|
10295 # Ok, now we have the path, separated by spaces, we can step through it
|
adam@0
|
10296 # and add multilib dir if necessary.
|
adam@0
|
10297 lt_tmp_lt_search_path_spec=
|
adam@0
|
10298 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
|
adam@0
|
10299 for lt_sys_path in $lt_search_path_spec; do
|
adam@0
|
10300 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
|
adam@0
|
10301 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
|
adam@0
|
10302 else
|
adam@0
|
10303 test -d "$lt_sys_path" && \
|
adam@0
|
10304 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
|
adam@0
|
10305 fi
|
adam@0
|
10306 done
|
adam@12
|
10307 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
|
adam@0
|
10308 BEGIN {RS=" "; FS="/|\n";} {
|
adam@0
|
10309 lt_foo="";
|
adam@0
|
10310 lt_count=0;
|
adam@0
|
10311 for (lt_i = NF; lt_i > 0; lt_i--) {
|
adam@0
|
10312 if ($lt_i != "" && $lt_i != ".") {
|
adam@0
|
10313 if ($lt_i == "..") {
|
adam@0
|
10314 lt_count++;
|
adam@0
|
10315 } else {
|
adam@0
|
10316 if (lt_count == 0) {
|
adam@0
|
10317 lt_foo="/" $lt_i lt_foo;
|
adam@0
|
10318 } else {
|
adam@0
|
10319 lt_count--;
|
adam@0
|
10320 }
|
adam@0
|
10321 }
|
adam@0
|
10322 }
|
adam@0
|
10323 }
|
adam@0
|
10324 if (lt_foo != "") { lt_freq[lt_foo]++; }
|
adam@0
|
10325 if (lt_freq[lt_foo] == 1) { print lt_foo; }
|
adam@0
|
10326 }'`
|
adam@12
|
10327 # AWK program above erroneously prepends '/' to C:/dos/paths
|
adam@12
|
10328 # for these hosts.
|
adam@12
|
10329 case $host_os in
|
adam@12
|
10330 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
|
adam@12
|
10331 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
|
adam@12
|
10332 esac
|
adam@12
|
10333 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
|
adam@0
|
10334 else
|
adam@0
|
10335 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
|
adam@0
|
10336 fi
|
adam@0
|
10337 library_names_spec=
|
adam@0
|
10338 libname_spec='lib$name'
|
adam@0
|
10339 soname_spec=
|
adam@0
|
10340 shrext_cmds=".so"
|
adam@0
|
10341 postinstall_cmds=
|
adam@0
|
10342 postuninstall_cmds=
|
adam@0
|
10343 finish_cmds=
|
adam@0
|
10344 finish_eval=
|
adam@0
|
10345 shlibpath_var=
|
adam@0
|
10346 shlibpath_overrides_runpath=unknown
|
adam@0
|
10347 version_type=none
|
adam@0
|
10348 dynamic_linker="$host_os ld.so"
|
adam@0
|
10349 sys_lib_dlsearch_path_spec="/lib /usr/lib"
|
adam@0
|
10350 need_lib_prefix=unknown
|
adam@0
|
10351 hardcode_into_libs=no
|
adam@0
|
10352
|
adam@0
|
10353 # when you set need_version to no, make sure it does not cause -set_version
|
adam@0
|
10354 # flags to be left without arguments
|
adam@0
|
10355 need_version=unknown
|
adam@0
|
10356
|
adam@0
|
10357 case $host_os in
|
adam@0
|
10358 aix3*)
|
adam@0
|
10359 version_type=linux
|
adam@0
|
10360 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
|
adam@0
|
10361 shlibpath_var=LIBPATH
|
adam@0
|
10362
|
adam@0
|
10363 # AIX 3 has no versioning support, so we append a major version to the name.
|
adam@0
|
10364 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
10365 ;;
|
adam@0
|
10366
|
adam@0
|
10367 aix[4-9]*)
|
adam@0
|
10368 version_type=linux
|
adam@0
|
10369 need_lib_prefix=no
|
adam@0
|
10370 need_version=no
|
adam@0
|
10371 hardcode_into_libs=yes
|
adam@0
|
10372 if test "$host_cpu" = ia64; then
|
adam@0
|
10373 # AIX 5 supports IA64
|
adam@0
|
10374 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
|
adam@0
|
10375 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
10376 else
|
adam@0
|
10377 # With GCC up to 2.95.x, collect2 would create an import file
|
adam@0
|
10378 # for dependence libraries. The import file would start with
|
adam@0
|
10379 # the line `#! .'. This would cause the generated library to
|
adam@0
|
10380 # depend on `.', always an invalid library. This was fixed in
|
adam@0
|
10381 # development snapshots of GCC prior to 3.0.
|
adam@0
|
10382 case $host_os in
|
adam@0
|
10383 aix4 | aix4.[01] | aix4.[01].*)
|
adam@0
|
10384 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
|
adam@0
|
10385 echo ' yes '
|
adam@0
|
10386 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
|
adam@0
|
10387 :
|
adam@0
|
10388 else
|
adam@0
|
10389 can_build_shared=no
|
adam@0
|
10390 fi
|
adam@0
|
10391 ;;
|
adam@0
|
10392 esac
|
adam@0
|
10393 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
|
adam@0
|
10394 # soname into executable. Probably we can add versioning support to
|
adam@0
|
10395 # collect2, so additional links can be useful in future.
|
adam@0
|
10396 if test "$aix_use_runtimelinking" = yes; then
|
adam@0
|
10397 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
|
adam@0
|
10398 # instead of lib<name>.a to let people know that these are not
|
adam@0
|
10399 # typical AIX shared libraries.
|
adam@0
|
10400 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@0
|
10401 else
|
adam@0
|
10402 # We preserve .a as extension for shared libraries through AIX4.2
|
adam@0
|
10403 # and later when we are not doing run time linking.
|
adam@0
|
10404 library_names_spec='${libname}${release}.a $libname.a'
|
adam@0
|
10405 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
10406 fi
|
adam@0
|
10407 shlibpath_var=LIBPATH
|
adam@0
|
10408 fi
|
adam@0
|
10409 ;;
|
adam@0
|
10410
|
adam@0
|
10411 amigaos*)
|
adam@0
|
10412 case $host_cpu in
|
adam@0
|
10413 powerpc)
|
adam@0
|
10414 # Since July 2007 AmigaOS4 officially supports .so libraries.
|
adam@0
|
10415 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
|
adam@0
|
10416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@0
|
10417 ;;
|
adam@0
|
10418 m68k)
|
adam@0
|
10419 library_names_spec='$libname.ixlibrary $libname.a'
|
adam@0
|
10420 # Create ${libname}_ixlibrary.a entries in /sys/libs.
|
adam@12
|
10421 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'
|
adam@0
|
10422 ;;
|
adam@0
|
10423 esac
|
adam@0
|
10424 ;;
|
adam@0
|
10425
|
adam@0
|
10426 beos*)
|
adam@0
|
10427 library_names_spec='${libname}${shared_ext}'
|
adam@0
|
10428 dynamic_linker="$host_os ld.so"
|
adam@0
|
10429 shlibpath_var=LIBRARY_PATH
|
adam@0
|
10430 ;;
|
adam@0
|
10431
|
adam@0
|
10432 bsdi[45]*)
|
adam@0
|
10433 version_type=linux
|
adam@0
|
10434 need_version=no
|
adam@0
|
10435 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@0
|
10436 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
10437 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
|
adam@0
|
10438 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
10439 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
|
adam@0
|
10440 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
|
adam@0
|
10441 # the default ld.so.conf also contains /usr/contrib/lib and
|
adam@0
|
10442 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
|
adam@0
|
10443 # libtool to hard-code these into programs
|
adam@0
|
10444 ;;
|
adam@0
|
10445
|
adam@0
|
10446 cygwin* | mingw* | pw32* | cegcc*)
|
adam@0
|
10447 version_type=windows
|
adam@0
|
10448 shrext_cmds=".dll"
|
adam@0
|
10449 need_version=no
|
adam@0
|
10450 need_lib_prefix=no
|
adam@0
|
10451
|
adam@12
|
10452 case $GCC,$cc_basename in
|
adam@12
|
10453 yes,*)
|
adam@12
|
10454 # gcc
|
adam@0
|
10455 library_names_spec='$libname.dll.a'
|
adam@0
|
10456 # DLL is installed to $(libdir)/../bin by postinstall_cmds
|
adam@0
|
10457 postinstall_cmds='base_file=`basename \${file}`~
|
adam@0
|
10458 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
|
adam@0
|
10459 dldir=$destdir/`dirname \$dlpath`~
|
adam@0
|
10460 test -d \$dldir || mkdir -p \$dldir~
|
adam@0
|
10461 $install_prog $dir/$dlname \$dldir/$dlname~
|
adam@0
|
10462 chmod a+x \$dldir/$dlname~
|
adam@0
|
10463 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
|
adam@0
|
10464 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
|
adam@0
|
10465 fi'
|
adam@0
|
10466 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
|
adam@0
|
10467 dlpath=$dir/\$dldll~
|
adam@0
|
10468 $RM \$dlpath'
|
adam@0
|
10469 shlibpath_overrides_runpath=yes
|
adam@0
|
10470
|
adam@0
|
10471 case $host_os in
|
adam@0
|
10472 cygwin*)
|
adam@0
|
10473 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
|
adam@0
|
10474 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
|
adam@12
|
10475
|
adam@12
|
10476 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
|
adam@0
|
10477 ;;
|
adam@0
|
10478 mingw* | cegcc*)
|
adam@0
|
10479 # MinGW DLLs use traditional 'lib' prefix
|
adam@0
|
10480 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
|
adam@0
|
10481 ;;
|
adam@0
|
10482 pw32*)
|
adam@0
|
10483 # pw32 DLLs use 'pw' prefix rather than 'lib'
|
adam@0
|
10484 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
|
adam@0
|
10485 ;;
|
adam@0
|
10486 esac
|
adam@12
|
10487 dynamic_linker='Win32 ld.exe'
|
adam@12
|
10488 ;;
|
adam@12
|
10489
|
adam@12
|
10490 *,cl*)
|
adam@12
|
10491 # Native MSVC
|
adam@12
|
10492 libname_spec='$name'
|
adam@12
|
10493 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
|
adam@12
|
10494 library_names_spec='${libname}.dll.lib'
|
adam@12
|
10495
|
adam@12
|
10496 case $build_os in
|
adam@12
|
10497 mingw*)
|
adam@12
|
10498 sys_lib_search_path_spec=
|
adam@12
|
10499 lt_save_ifs=$IFS
|
adam@12
|
10500 IFS=';'
|
adam@12
|
10501 for lt_path in $LIB
|
adam@12
|
10502 do
|
adam@12
|
10503 IFS=$lt_save_ifs
|
adam@12
|
10504 # Let DOS variable expansion print the short 8.3 style file name.
|
adam@12
|
10505 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
|
adam@12
|
10506 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
|
adam@12
|
10507 done
|
adam@12
|
10508 IFS=$lt_save_ifs
|
adam@12
|
10509 # Convert to MSYS style.
|
adam@12
|
10510 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
|
adam@12
|
10511 ;;
|
adam@12
|
10512 cygwin*)
|
adam@12
|
10513 # Convert to unix form, then to dos form, then back to unix form
|
adam@12
|
10514 # but this time dos style (no spaces!) so that the unix form looks
|
adam@12
|
10515 # like /cygdrive/c/PROGRA~1:/cygdr...
|
adam@12
|
10516 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
|
adam@12
|
10517 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
|
adam@12
|
10518 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
|
adam@12
|
10519 ;;
|
adam@12
|
10520 *)
|
adam@12
|
10521 sys_lib_search_path_spec="$LIB"
|
adam@12
|
10522 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
|
adam@12
|
10523 # It is most probably a Windows format PATH.
|
adam@12
|
10524 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
|
adam@12
|
10525 else
|
adam@12
|
10526 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
|
adam@12
|
10527 fi
|
adam@12
|
10528 # FIXME: find the short name or the path components, as spaces are
|
adam@12
|
10529 # common. (e.g. "Program Files" -> "PROGRA~1")
|
adam@12
|
10530 ;;
|
adam@12
|
10531 esac
|
adam@12
|
10532
|
adam@12
|
10533 # DLL is installed to $(libdir)/../bin by postinstall_cmds
|
adam@12
|
10534 postinstall_cmds='base_file=`basename \${file}`~
|
adam@12
|
10535 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
|
adam@12
|
10536 dldir=$destdir/`dirname \$dlpath`~
|
adam@12
|
10537 test -d \$dldir || mkdir -p \$dldir~
|
adam@12
|
10538 $install_prog $dir/$dlname \$dldir/$dlname'
|
adam@12
|
10539 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
|
adam@12
|
10540 dlpath=$dir/\$dldll~
|
adam@12
|
10541 $RM \$dlpath'
|
adam@12
|
10542 shlibpath_overrides_runpath=yes
|
adam@12
|
10543 dynamic_linker='Win32 link.exe'
|
adam@0
|
10544 ;;
|
adam@0
|
10545
|
adam@0
|
10546 *)
|
adam@12
|
10547 # Assume MSVC wrapper
|
adam@0
|
10548 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
|
adam@12
|
10549 dynamic_linker='Win32 ld.exe'
|
adam@0
|
10550 ;;
|
adam@0
|
10551 esac
|
adam@0
|
10552 # FIXME: first we should search . and the directory the executable is in
|
adam@0
|
10553 shlibpath_var=PATH
|
adam@0
|
10554 ;;
|
adam@0
|
10555
|
adam@0
|
10556 darwin* | rhapsody*)
|
adam@0
|
10557 dynamic_linker="$host_os dyld"
|
adam@0
|
10558 version_type=darwin
|
adam@0
|
10559 need_lib_prefix=no
|
adam@0
|
10560 need_version=no
|
adam@0
|
10561 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
|
adam@0
|
10562 soname_spec='${libname}${release}${major}$shared_ext'
|
adam@0
|
10563 shlibpath_overrides_runpath=yes
|
adam@0
|
10564 shlibpath_var=DYLD_LIBRARY_PATH
|
adam@0
|
10565 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
|
adam@0
|
10566
|
adam@0
|
10567 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
|
adam@0
|
10568 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
|
adam@0
|
10569 ;;
|
adam@0
|
10570
|
adam@0
|
10571 dgux*)
|
adam@0
|
10572 version_type=linux
|
adam@0
|
10573 need_lib_prefix=no
|
adam@0
|
10574 need_version=no
|
adam@0
|
10575 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
|
adam@0
|
10576 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
10577 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
10578 ;;
|
adam@0
|
10579
|
adam@0
|
10580 freebsd1*)
|
adam@0
|
10581 dynamic_linker=no
|
adam@0
|
10582 ;;
|
adam@0
|
10583
|
adam@0
|
10584 freebsd* | dragonfly*)
|
adam@0
|
10585 # DragonFly does not have aout. When/if they implement a new
|
adam@0
|
10586 # versioning mechanism, adjust this.
|
adam@0
|
10587 if test -x /usr/bin/objformat; then
|
adam@0
|
10588 objformat=`/usr/bin/objformat`
|
adam@0
|
10589 else
|
adam@0
|
10590 case $host_os in
|
adam@0
|
10591 freebsd[123]*) objformat=aout ;;
|
adam@0
|
10592 *) objformat=elf ;;
|
adam@0
|
10593 esac
|
adam@0
|
10594 fi
|
adam@0
|
10595 version_type=freebsd-$objformat
|
adam@0
|
10596 case $version_type in
|
adam@0
|
10597 freebsd-elf*)
|
adam@0
|
10598 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
|
adam@0
|
10599 need_version=no
|
adam@0
|
10600 need_lib_prefix=no
|
adam@0
|
10601 ;;
|
adam@0
|
10602 freebsd-*)
|
adam@0
|
10603 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
|
adam@0
|
10604 need_version=yes
|
adam@0
|
10605 ;;
|
adam@0
|
10606 esac
|
adam@0
|
10607 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
10608 case $host_os in
|
adam@0
|
10609 freebsd2*)
|
adam@0
|
10610 shlibpath_overrides_runpath=yes
|
adam@0
|
10611 ;;
|
adam@0
|
10612 freebsd3.[01]* | freebsdelf3.[01]*)
|
adam@0
|
10613 shlibpath_overrides_runpath=yes
|
adam@0
|
10614 hardcode_into_libs=yes
|
adam@0
|
10615 ;;
|
adam@0
|
10616 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
|
adam@0
|
10617 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
|
adam@0
|
10618 shlibpath_overrides_runpath=no
|
adam@0
|
10619 hardcode_into_libs=yes
|
adam@0
|
10620 ;;
|
adam@0
|
10621 *) # from 4.6 on, and DragonFly
|
adam@0
|
10622 shlibpath_overrides_runpath=yes
|
adam@0
|
10623 hardcode_into_libs=yes
|
adam@0
|
10624 ;;
|
adam@0
|
10625 esac
|
adam@0
|
10626 ;;
|
adam@0
|
10627
|
adam@0
|
10628 gnu*)
|
adam@0
|
10629 version_type=linux
|
adam@0
|
10630 need_lib_prefix=no
|
adam@0
|
10631 need_version=no
|
adam@0
|
10632 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
|
adam@0
|
10633 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
10634 shlibpath_var=LD_LIBRARY_PATH
|
adam@12
|
10635 shlibpath_overrides_runpath=no
|
adam@12
|
10636 hardcode_into_libs=yes
|
adam@12
|
10637 ;;
|
adam@12
|
10638
|
adam@12
|
10639 haiku*)
|
adam@12
|
10640 version_type=linux
|
adam@12
|
10641 need_lib_prefix=no
|
adam@12
|
10642 need_version=no
|
adam@12
|
10643 dynamic_linker="$host_os runtime_loader"
|
adam@12
|
10644 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
|
adam@12
|
10645 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@12
|
10646 shlibpath_var=LIBRARY_PATH
|
adam@12
|
10647 shlibpath_overrides_runpath=yes
|
adam@12
|
10648 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
|
adam@0
|
10649 hardcode_into_libs=yes
|
adam@0
|
10650 ;;
|
adam@0
|
10651
|
adam@0
|
10652 hpux9* | hpux10* | hpux11*)
|
adam@0
|
10653 # Give a soname corresponding to the major version so that dld.sl refuses to
|
adam@0
|
10654 # link against other versions.
|
adam@0
|
10655 version_type=sunos
|
adam@0
|
10656 need_lib_prefix=no
|
adam@0
|
10657 need_version=no
|
adam@0
|
10658 case $host_cpu in
|
adam@0
|
10659 ia64*)
|
adam@0
|
10660 shrext_cmds='.so'
|
adam@0
|
10661 hardcode_into_libs=yes
|
adam@0
|
10662 dynamic_linker="$host_os dld.so"
|
adam@0
|
10663 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
10664 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
|
adam@0
|
10665 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@0
|
10666 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
10667 if test "X$HPUX_IA64_MODE" = X32; then
|
adam@0
|
10668 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
|
adam@0
|
10669 else
|
adam@0
|
10670 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
|
adam@0
|
10671 fi
|
adam@0
|
10672 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
|
adam@0
|
10673 ;;
|
adam@0
|
10674 hppa*64*)
|
adam@0
|
10675 shrext_cmds='.sl'
|
adam@0
|
10676 hardcode_into_libs=yes
|
adam@0
|
10677 dynamic_linker="$host_os dld.sl"
|
adam@0
|
10678 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
|
adam@0
|
10679 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
|
adam@0
|
10680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@0
|
10681 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
10682 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
|
adam@0
|
10683 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
|
adam@0
|
10684 ;;
|
adam@0
|
10685 *)
|
adam@0
|
10686 shrext_cmds='.sl'
|
adam@0
|
10687 dynamic_linker="$host_os dld.sl"
|
adam@0
|
10688 shlibpath_var=SHLIB_PATH
|
adam@0
|
10689 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
|
adam@0
|
10690 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@0
|
10691 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
10692 ;;
|
adam@0
|
10693 esac
|
adam@12
|
10694 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
|
adam@0
|
10695 postinstall_cmds='chmod 555 $lib'
|
adam@12
|
10696 # or fails outright, so override atomically:
|
adam@12
|
10697 install_override_mode=555
|
adam@0
|
10698 ;;
|
adam@0
|
10699
|
adam@0
|
10700 interix[3-9]*)
|
adam@0
|
10701 version_type=linux
|
adam@0
|
10702 need_lib_prefix=no
|
adam@0
|
10703 need_version=no
|
adam@0
|
10704 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
adam@0
|
10705 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
10706 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
|
adam@0
|
10707 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
10708 shlibpath_overrides_runpath=no
|
adam@0
|
10709 hardcode_into_libs=yes
|
adam@0
|
10710 ;;
|
adam@0
|
10711
|
adam@0
|
10712 irix5* | irix6* | nonstopux*)
|
adam@0
|
10713 case $host_os in
|
adam@0
|
10714 nonstopux*) version_type=nonstopux ;;
|
adam@0
|
10715 *)
|
adam@0
|
10716 if test "$lt_cv_prog_gnu_ld" = yes; then
|
adam@0
|
10717 version_type=linux
|
adam@0
|
10718 else
|
adam@0
|
10719 version_type=irix
|
adam@0
|
10720 fi ;;
|
adam@0
|
10721 esac
|
adam@0
|
10722 need_lib_prefix=no
|
adam@0
|
10723 need_version=no
|
adam@0
|
10724 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
10725 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
|
adam@0
|
10726 case $host_os in
|
adam@0
|
10727 irix5* | nonstopux*)
|
adam@0
|
10728 libsuff= shlibsuff=
|
adam@0
|
10729 ;;
|
adam@0
|
10730 *)
|
adam@0
|
10731 case $LD in # libtool.m4 will add one of these switches to LD
|
adam@0
|
10732 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
|
adam@0
|
10733 libsuff= shlibsuff= libmagic=32-bit;;
|
adam@0
|
10734 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
|
adam@0
|
10735 libsuff=32 shlibsuff=N32 libmagic=N32;;
|
adam@0
|
10736 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
|
adam@0
|
10737 libsuff=64 shlibsuff=64 libmagic=64-bit;;
|
adam@0
|
10738 *) libsuff= shlibsuff= libmagic=never-match;;
|
adam@0
|
10739 esac
|
adam@0
|
10740 ;;
|
adam@0
|
10741 esac
|
adam@0
|
10742 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
|
adam@0
|
10743 shlibpath_overrides_runpath=no
|
adam@0
|
10744 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
|
adam@0
|
10745 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
|
adam@0
|
10746 hardcode_into_libs=yes
|
adam@0
|
10747 ;;
|
adam@0
|
10748
|
adam@0
|
10749 # No shared lib support for Linux oldld, aout, or coff.
|
adam@0
|
10750 linux*oldld* | linux*aout* | linux*coff*)
|
adam@0
|
10751 dynamic_linker=no
|
adam@0
|
10752 ;;
|
adam@0
|
10753
|
adam@0
|
10754 # This must be Linux ELF.
|
adam@0
|
10755 linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
adam@0
|
10756 version_type=linux
|
adam@0
|
10757 need_lib_prefix=no
|
adam@0
|
10758 need_version=no
|
adam@0
|
10759 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@0
|
10760 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
10761 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
|
adam@0
|
10762 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
10763 shlibpath_overrides_runpath=no
|
adam@12
|
10764
|
adam@0
|
10765 # Some binutils ld are patched to set DT_RUNPATH
|
adam@12
|
10766 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
|
adam@12
|
10767 $as_echo_n "(cached) " >&6
|
adam@12
|
10768 else
|
adam@12
|
10769 lt_cv_shlibpath_overrides_runpath=no
|
adam@12
|
10770 save_LDFLAGS=$LDFLAGS
|
adam@12
|
10771 save_libdir=$libdir
|
adam@12
|
10772 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
|
adam@12
|
10773 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
|
adam@12
|
10774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
10775 /* end confdefs.h. */
|
adam@0
|
10776
|
adam@0
|
10777 int
|
adam@0
|
10778 main ()
|
adam@0
|
10779 {
|
adam@0
|
10780
|
adam@0
|
10781 ;
|
adam@0
|
10782 return 0;
|
adam@0
|
10783 }
|
adam@0
|
10784 _ACEOF
|
adam@0
|
10785 if ac_fn_c_try_link "$LINENO"; then :
|
adam@0
|
10786 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
|
adam@12
|
10787 lt_cv_shlibpath_overrides_runpath=yes
|
adam@0
|
10788 fi
|
adam@0
|
10789 fi
|
adam@0
|
10790 rm -f core conftest.err conftest.$ac_objext \
|
adam@0
|
10791 conftest$ac_exeext conftest.$ac_ext
|
adam@12
|
10792 LDFLAGS=$save_LDFLAGS
|
adam@12
|
10793 libdir=$save_libdir
|
adam@12
|
10794
|
adam@12
|
10795 fi
|
adam@12
|
10796
|
adam@12
|
10797 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
|
adam@0
|
10798
|
adam@0
|
10799 # This implies no fast_install, which is unacceptable.
|
adam@0
|
10800 # Some rework will be needed to allow for fast_install
|
adam@0
|
10801 # before this can be enabled.
|
adam@0
|
10802 hardcode_into_libs=yes
|
adam@0
|
10803
|
adam@0
|
10804 # Append ld.so.conf contents to the search path
|
adam@0
|
10805 if test -f /etc/ld.so.conf; then
|
adam@12
|
10806 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' ' '`
|
adam@0
|
10807 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
adam@0
|
10808 fi
|
adam@0
|
10809
|
adam@0
|
10810 # We used to test for /lib/ld.so.1 and disable shared libraries on
|
adam@0
|
10811 # powerpc, because MkLinux only supported shared libraries with the
|
adam@0
|
10812 # GNU dynamic linker. Since this was broken with cross compilers,
|
adam@0
|
10813 # most powerpc-linux boxes support dynamic linking these days and
|
adam@0
|
10814 # people can always --disable-shared, the test was removed, and we
|
adam@0
|
10815 # assume the GNU/Linux dynamic linker is in use.
|
adam@0
|
10816 dynamic_linker='GNU/Linux ld.so'
|
adam@0
|
10817 ;;
|
adam@0
|
10818
|
adam@0
|
10819 netbsdelf*-gnu)
|
adam@0
|
10820 version_type=linux
|
adam@0
|
10821 need_lib_prefix=no
|
adam@0
|
10822 need_version=no
|
adam@0
|
10823 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
adam@0
|
10824 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
10825 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
10826 shlibpath_overrides_runpath=no
|
adam@0
|
10827 hardcode_into_libs=yes
|
adam@0
|
10828 dynamic_linker='NetBSD ld.elf_so'
|
adam@0
|
10829 ;;
|
adam@0
|
10830
|
adam@0
|
10831 netbsd*)
|
adam@0
|
10832 version_type=sunos
|
adam@0
|
10833 need_lib_prefix=no
|
adam@0
|
10834 need_version=no
|
adam@0
|
10835 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
adam@0
|
10836 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
adam@0
|
10837 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
adam@0
|
10838 dynamic_linker='NetBSD (a.out) ld.so'
|
adam@0
|
10839 else
|
adam@0
|
10840 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
adam@0
|
10841 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
10842 dynamic_linker='NetBSD ld.elf_so'
|
adam@0
|
10843 fi
|
adam@0
|
10844 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
10845 shlibpath_overrides_runpath=yes
|
adam@0
|
10846 hardcode_into_libs=yes
|
adam@0
|
10847 ;;
|
adam@0
|
10848
|
adam@0
|
10849 newsos6)
|
adam@0
|
10850 version_type=linux
|
adam@0
|
10851 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@0
|
10852 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
10853 shlibpath_overrides_runpath=yes
|
adam@0
|
10854 ;;
|
adam@0
|
10855
|
adam@0
|
10856 *nto* | *qnx*)
|
adam@0
|
10857 version_type=qnx
|
adam@0
|
10858 need_lib_prefix=no
|
adam@0
|
10859 need_version=no
|
adam@0
|
10860 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@0
|
10861 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
10862 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
10863 shlibpath_overrides_runpath=no
|
adam@0
|
10864 hardcode_into_libs=yes
|
adam@0
|
10865 dynamic_linker='ldqnx.so'
|
adam@0
|
10866 ;;
|
adam@0
|
10867
|
adam@0
|
10868 openbsd*)
|
adam@0
|
10869 version_type=sunos
|
adam@0
|
10870 sys_lib_dlsearch_path_spec="/usr/lib"
|
adam@0
|
10871 need_lib_prefix=no
|
adam@0
|
10872 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
|
adam@0
|
10873 case $host_os in
|
adam@0
|
10874 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
|
adam@0
|
10875 *) need_version=no ;;
|
adam@0
|
10876 esac
|
adam@0
|
10877 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
adam@0
|
10878 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
|
adam@0
|
10879 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
10880 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
adam@0
|
10881 case $host_os in
|
adam@0
|
10882 openbsd2.[89] | openbsd2.[89].*)
|
adam@0
|
10883 shlibpath_overrides_runpath=no
|
adam@0
|
10884 ;;
|
adam@0
|
10885 *)
|
adam@0
|
10886 shlibpath_overrides_runpath=yes
|
adam@0
|
10887 ;;
|
adam@0
|
10888 esac
|
adam@0
|
10889 else
|
adam@0
|
10890 shlibpath_overrides_runpath=yes
|
adam@0
|
10891 fi
|
adam@0
|
10892 ;;
|
adam@0
|
10893
|
adam@0
|
10894 os2*)
|
adam@0
|
10895 libname_spec='$name'
|
adam@0
|
10896 shrext_cmds=".dll"
|
adam@0
|
10897 need_lib_prefix=no
|
adam@0
|
10898 library_names_spec='$libname${shared_ext} $libname.a'
|
adam@0
|
10899 dynamic_linker='OS/2 ld.exe'
|
adam@0
|
10900 shlibpath_var=LIBPATH
|
adam@0
|
10901 ;;
|
adam@0
|
10902
|
adam@0
|
10903 osf3* | osf4* | osf5*)
|
adam@0
|
10904 version_type=osf
|
adam@0
|
10905 need_lib_prefix=no
|
adam@0
|
10906 need_version=no
|
adam@0
|
10907 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
10908 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@0
|
10909 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
10910 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
|
adam@0
|
10911 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
|
adam@0
|
10912 ;;
|
adam@0
|
10913
|
adam@0
|
10914 rdos*)
|
adam@0
|
10915 dynamic_linker=no
|
adam@0
|
10916 ;;
|
adam@0
|
10917
|
adam@0
|
10918 solaris*)
|
adam@0
|
10919 version_type=linux
|
adam@0
|
10920 need_lib_prefix=no
|
adam@0
|
10921 need_version=no
|
adam@0
|
10922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@0
|
10923 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
10924 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
10925 shlibpath_overrides_runpath=yes
|
adam@0
|
10926 hardcode_into_libs=yes
|
adam@0
|
10927 # ldd complains unless libraries are executable
|
adam@0
|
10928 postinstall_cmds='chmod +x $lib'
|
adam@0
|
10929 ;;
|
adam@0
|
10930
|
adam@0
|
10931 sunos4*)
|
adam@0
|
10932 version_type=sunos
|
adam@0
|
10933 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
|
adam@0
|
10934 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
|
adam@0
|
10935 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
10936 shlibpath_overrides_runpath=yes
|
adam@0
|
10937 if test "$with_gnu_ld" = yes; then
|
adam@0
|
10938 need_lib_prefix=no
|
adam@0
|
10939 fi
|
adam@0
|
10940 need_version=yes
|
adam@0
|
10941 ;;
|
adam@0
|
10942
|
adam@0
|
10943 sysv4 | sysv4.3*)
|
adam@0
|
10944 version_type=linux
|
adam@0
|
10945 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@0
|
10946 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
10947 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
10948 case $host_vendor in
|
adam@0
|
10949 sni)
|
adam@0
|
10950 shlibpath_overrides_runpath=no
|
adam@0
|
10951 need_lib_prefix=no
|
adam@0
|
10952 runpath_var=LD_RUN_PATH
|
adam@0
|
10953 ;;
|
adam@0
|
10954 siemens)
|
adam@0
|
10955 need_lib_prefix=no
|
adam@0
|
10956 ;;
|
adam@0
|
10957 motorola)
|
adam@0
|
10958 need_lib_prefix=no
|
adam@0
|
10959 need_version=no
|
adam@0
|
10960 shlibpath_overrides_runpath=no
|
adam@0
|
10961 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
|
adam@0
|
10962 ;;
|
adam@0
|
10963 esac
|
adam@0
|
10964 ;;
|
adam@0
|
10965
|
adam@0
|
10966 sysv4*MP*)
|
adam@0
|
10967 if test -d /usr/nec ;then
|
adam@0
|
10968 version_type=linux
|
adam@0
|
10969 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
|
adam@0
|
10970 soname_spec='$libname${shared_ext}.$major'
|
adam@0
|
10971 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
10972 fi
|
adam@0
|
10973 ;;
|
adam@0
|
10974
|
adam@0
|
10975 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
|
adam@0
|
10976 version_type=freebsd-elf
|
adam@0
|
10977 need_lib_prefix=no
|
adam@0
|
10978 need_version=no
|
adam@0
|
10979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
|
adam@0
|
10980 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
10981 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
10982 shlibpath_overrides_runpath=yes
|
adam@0
|
10983 hardcode_into_libs=yes
|
adam@0
|
10984 if test "$with_gnu_ld" = yes; then
|
adam@0
|
10985 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
|
adam@0
|
10986 else
|
adam@0
|
10987 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
|
adam@0
|
10988 case $host_os in
|
adam@0
|
10989 sco3.2v5*)
|
adam@0
|
10990 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
|
adam@0
|
10991 ;;
|
adam@0
|
10992 esac
|
adam@0
|
10993 fi
|
adam@0
|
10994 sys_lib_dlsearch_path_spec='/usr/lib'
|
adam@0
|
10995 ;;
|
adam@0
|
10996
|
adam@0
|
10997 tpf*)
|
adam@0
|
10998 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
|
adam@0
|
10999 version_type=linux
|
adam@0
|
11000 need_lib_prefix=no
|
adam@0
|
11001 need_version=no
|
adam@0
|
11002 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@0
|
11003 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
11004 shlibpath_overrides_runpath=no
|
adam@0
|
11005 hardcode_into_libs=yes
|
adam@0
|
11006 ;;
|
adam@0
|
11007
|
adam@0
|
11008 uts4*)
|
adam@0
|
11009 version_type=linux
|
adam@0
|
11010 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
adam@0
|
11011 soname_spec='${libname}${release}${shared_ext}$major'
|
adam@0
|
11012 shlibpath_var=LD_LIBRARY_PATH
|
adam@0
|
11013 ;;
|
adam@0
|
11014
|
adam@0
|
11015 *)
|
adam@0
|
11016 dynamic_linker=no
|
adam@0
|
11017 ;;
|
adam@0
|
11018 esac
|
adam@0
|
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
|
adam@0
|
11020 $as_echo "$dynamic_linker" >&6; }
|
adam@0
|
11021 test "$dynamic_linker" = no && can_build_shared=no
|
adam@0
|
11022
|
adam@0
|
11023 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
|
adam@0
|
11024 if test "$GCC" = yes; then
|
adam@0
|
11025 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
|
adam@0
|
11026 fi
|
adam@0
|
11027
|
adam@0
|
11028 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
|
adam@0
|
11029 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
|
adam@0
|
11030 fi
|
adam@0
|
11031 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
|
adam@0
|
11032 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
|
adam@0
|
11033 fi
|
adam@0
|
11034
|
adam@0
|
11035
|
adam@0
|
11036
|
adam@0
|
11037
|
adam@0
|
11038
|
adam@0
|
11039
|
adam@0
|
11040
|
adam@0
|
11041
|
adam@0
|
11042
|
adam@0
|
11043
|
adam@0
|
11044
|
adam@0
|
11045
|
adam@0
|
11046
|
adam@0
|
11047
|
adam@0
|
11048
|
adam@0
|
11049
|
adam@0
|
11050
|
adam@0
|
11051
|
adam@0
|
11052
|
adam@0
|
11053
|
adam@0
|
11054
|
adam@0
|
11055
|
adam@0
|
11056
|
adam@0
|
11057
|
adam@0
|
11058
|
adam@0
|
11059
|
adam@0
|
11060
|
adam@0
|
11061
|
adam@0
|
11062
|
adam@0
|
11063
|
adam@0
|
11064
|
adam@0
|
11065
|
adam@0
|
11066
|
adam@0
|
11067
|
adam@0
|
11068
|
adam@0
|
11069
|
adam@0
|
11070
|
adam@0
|
11071
|
adam@0
|
11072
|
adam@0
|
11073
|
adam@0
|
11074
|
adam@0
|
11075
|
adam@0
|
11076
|
adam@0
|
11077
|
adam@0
|
11078
|
adam@0
|
11079
|
adam@0
|
11080
|
adam@0
|
11081
|
adam@0
|
11082
|
adam@0
|
11083
|
adam@0
|
11084
|
adam@0
|
11085
|
adam@0
|
11086
|
adam@0
|
11087
|
adam@0
|
11088
|
adam@0
|
11089
|
adam@0
|
11090
|
adam@0
|
11091
|
adam@0
|
11092
|
adam@0
|
11093
|
adam@0
|
11094
|
adam@0
|
11095
|
adam@0
|
11096
|
adam@0
|
11097
|
adam@0
|
11098
|
adam@0
|
11099
|
adam@0
|
11100
|
adam@0
|
11101
|
adam@0
|
11102
|
adam@0
|
11103
|
adam@0
|
11104
|
adam@0
|
11105
|
adam@0
|
11106
|
adam@0
|
11107
|
adam@0
|
11108
|
adam@0
|
11109
|
adam@0
|
11110
|
adam@0
|
11111
|
adam@0
|
11112
|
adam@0
|
11113
|
adam@0
|
11114
|
adam@0
|
11115
|
adam@0
|
11116
|
adam@0
|
11117
|
adam@0
|
11118
|
adam@0
|
11119
|
adam@0
|
11120
|
adam@12
|
11121
|
adam@12
|
11122
|
adam@12
|
11123
|
adam@12
|
11124
|
adam@12
|
11125
|
adam@0
|
11126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
|
adam@0
|
11127 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
|
adam@0
|
11128 hardcode_action=
|
adam@0
|
11129 if test -n "$hardcode_libdir_flag_spec" ||
|
adam@0
|
11130 test -n "$runpath_var" ||
|
adam@0
|
11131 test "X$hardcode_automatic" = "Xyes" ; then
|
adam@0
|
11132
|
adam@0
|
11133 # We can hardcode non-existent directories.
|
adam@0
|
11134 if test "$hardcode_direct" != no &&
|
adam@0
|
11135 # If the only mechanism to avoid hardcoding is shlibpath_var, we
|
adam@0
|
11136 # have to relink, otherwise we might link with an installed library
|
adam@0
|
11137 # when we should be linking with a yet-to-be-installed one
|
adam@0
|
11138 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
|
adam@0
|
11139 test "$hardcode_minus_L" != no; then
|
adam@0
|
11140 # Linking always hardcodes the temporary library directory.
|
adam@0
|
11141 hardcode_action=relink
|
adam@0
|
11142 else
|
adam@0
|
11143 # We can link without hardcoding, and we can hardcode nonexisting dirs.
|
adam@0
|
11144 hardcode_action=immediate
|
adam@0
|
11145 fi
|
adam@0
|
11146 else
|
adam@0
|
11147 # We cannot hardcode anything, or else we can only hardcode existing
|
adam@0
|
11148 # directories.
|
adam@0
|
11149 hardcode_action=unsupported
|
adam@0
|
11150 fi
|
adam@0
|
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
|
adam@0
|
11152 $as_echo "$hardcode_action" >&6; }
|
adam@0
|
11153
|
adam@0
|
11154 if test "$hardcode_action" = relink ||
|
adam@0
|
11155 test "$inherit_rpath" = yes; then
|
adam@0
|
11156 # Fast installation is not supported
|
adam@0
|
11157 enable_fast_install=no
|
adam@0
|
11158 elif test "$shlibpath_overrides_runpath" = yes ||
|
adam@0
|
11159 test "$enable_shared" = no; then
|
adam@0
|
11160 # Fast installation is not necessary
|
adam@0
|
11161 enable_fast_install=needless
|
adam@0
|
11162 fi
|
adam@0
|
11163
|
adam@0
|
11164
|
adam@0
|
11165
|
adam@0
|
11166
|
adam@0
|
11167
|
adam@0
|
11168
|
adam@0
|
11169 if test "x$enable_dlopen" != xyes; then
|
adam@0
|
11170 enable_dlopen=unknown
|
adam@0
|
11171 enable_dlopen_self=unknown
|
adam@0
|
11172 enable_dlopen_self_static=unknown
|
adam@0
|
11173 else
|
adam@0
|
11174 lt_cv_dlopen=no
|
adam@0
|
11175 lt_cv_dlopen_libs=
|
adam@0
|
11176
|
adam@0
|
11177 case $host_os in
|
adam@0
|
11178 beos*)
|
adam@0
|
11179 lt_cv_dlopen="load_add_on"
|
adam@0
|
11180 lt_cv_dlopen_libs=
|
adam@0
|
11181 lt_cv_dlopen_self=yes
|
adam@0
|
11182 ;;
|
adam@0
|
11183
|
adam@0
|
11184 mingw* | pw32* | cegcc*)
|
adam@0
|
11185 lt_cv_dlopen="LoadLibrary"
|
adam@0
|
11186 lt_cv_dlopen_libs=
|
adam@0
|
11187 ;;
|
adam@0
|
11188
|
adam@0
|
11189 cygwin*)
|
adam@0
|
11190 lt_cv_dlopen="dlopen"
|
adam@0
|
11191 lt_cv_dlopen_libs=
|
adam@0
|
11192 ;;
|
adam@0
|
11193
|
adam@0
|
11194 darwin*)
|
adam@0
|
11195 # if libdl is installed we need to link against it
|
adam@0
|
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
|
adam@0
|
11197 $as_echo_n "checking for dlopen in -ldl... " >&6; }
|
adam@12
|
11198 if ${ac_cv_lib_dl_dlopen+:} false; then :
|
adam@0
|
11199 $as_echo_n "(cached) " >&6
|
adam@0
|
11200 else
|
adam@0
|
11201 ac_check_lib_save_LIBS=$LIBS
|
adam@0
|
11202 LIBS="-ldl $LIBS"
|
adam@0
|
11203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
11204 /* end confdefs.h. */
|
adam@0
|
11205
|
adam@0
|
11206 /* Override any GCC internal prototype to avoid an error.
|
adam@0
|
11207 Use char because int might match the return type of a GCC
|
adam@0
|
11208 builtin and then its argument prototype would still apply. */
|
adam@0
|
11209 #ifdef __cplusplus
|
adam@0
|
11210 extern "C"
|
adam@0
|
11211 #endif
|
adam@0
|
11212 char dlopen ();
|
adam@0
|
11213 int
|
adam@0
|
11214 main ()
|
adam@0
|
11215 {
|
adam@0
|
11216 return dlopen ();
|
adam@0
|
11217 ;
|
adam@0
|
11218 return 0;
|
adam@0
|
11219 }
|
adam@0
|
11220 _ACEOF
|
adam@0
|
11221 if ac_fn_c_try_link "$LINENO"; then :
|
adam@0
|
11222 ac_cv_lib_dl_dlopen=yes
|
adam@0
|
11223 else
|
adam@0
|
11224 ac_cv_lib_dl_dlopen=no
|
adam@0
|
11225 fi
|
adam@0
|
11226 rm -f core conftest.err conftest.$ac_objext \
|
adam@0
|
11227 conftest$ac_exeext conftest.$ac_ext
|
adam@0
|
11228 LIBS=$ac_check_lib_save_LIBS
|
adam@0
|
11229 fi
|
adam@0
|
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
|
adam@0
|
11231 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
|
adam@12
|
11232 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
|
adam@0
|
11233 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
|
adam@0
|
11234 else
|
adam@0
|
11235
|
adam@0
|
11236 lt_cv_dlopen="dyld"
|
adam@0
|
11237 lt_cv_dlopen_libs=
|
adam@0
|
11238 lt_cv_dlopen_self=yes
|
adam@0
|
11239
|
adam@0
|
11240 fi
|
adam@0
|
11241
|
adam@0
|
11242 ;;
|
adam@0
|
11243
|
adam@0
|
11244 *)
|
adam@0
|
11245 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
|
adam@12
|
11246 if test "x$ac_cv_func_shl_load" = xyes; then :
|
adam@0
|
11247 lt_cv_dlopen="shl_load"
|
adam@0
|
11248 else
|
adam@0
|
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
|
adam@0
|
11250 $as_echo_n "checking for shl_load in -ldld... " >&6; }
|
adam@12
|
11251 if ${ac_cv_lib_dld_shl_load+:} false; then :
|
adam@0
|
11252 $as_echo_n "(cached) " >&6
|
adam@0
|
11253 else
|
adam@0
|
11254 ac_check_lib_save_LIBS=$LIBS
|
adam@0
|
11255 LIBS="-ldld $LIBS"
|
adam@0
|
11256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
11257 /* end confdefs.h. */
|
adam@0
|
11258
|
adam@0
|
11259 /* Override any GCC internal prototype to avoid an error.
|
adam@0
|
11260 Use char because int might match the return type of a GCC
|
adam@0
|
11261 builtin and then its argument prototype would still apply. */
|
adam@0
|
11262 #ifdef __cplusplus
|
adam@0
|
11263 extern "C"
|
adam@0
|
11264 #endif
|
adam@0
|
11265 char shl_load ();
|
adam@0
|
11266 int
|
adam@0
|
11267 main ()
|
adam@0
|
11268 {
|
adam@0
|
11269 return shl_load ();
|
adam@0
|
11270 ;
|
adam@0
|
11271 return 0;
|
adam@0
|
11272 }
|
adam@0
|
11273 _ACEOF
|
adam@0
|
11274 if ac_fn_c_try_link "$LINENO"; then :
|
adam@0
|
11275 ac_cv_lib_dld_shl_load=yes
|
adam@0
|
11276 else
|
adam@0
|
11277 ac_cv_lib_dld_shl_load=no
|
adam@0
|
11278 fi
|
adam@0
|
11279 rm -f core conftest.err conftest.$ac_objext \
|
adam@0
|
11280 conftest$ac_exeext conftest.$ac_ext
|
adam@0
|
11281 LIBS=$ac_check_lib_save_LIBS
|
adam@0
|
11282 fi
|
adam@0
|
11283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
|
adam@0
|
11284 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
|
adam@12
|
11285 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
|
adam@0
|
11286 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
|
adam@0
|
11287 else
|
adam@0
|
11288 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
|
adam@12
|
11289 if test "x$ac_cv_func_dlopen" = xyes; then :
|
adam@0
|
11290 lt_cv_dlopen="dlopen"
|
adam@0
|
11291 else
|
adam@0
|
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
|
adam@0
|
11293 $as_echo_n "checking for dlopen in -ldl... " >&6; }
|
adam@12
|
11294 if ${ac_cv_lib_dl_dlopen+:} false; then :
|
adam@0
|
11295 $as_echo_n "(cached) " >&6
|
adam@0
|
11296 else
|
adam@0
|
11297 ac_check_lib_save_LIBS=$LIBS
|
adam@0
|
11298 LIBS="-ldl $LIBS"
|
adam@0
|
11299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
11300 /* end confdefs.h. */
|
adam@0
|
11301
|
adam@0
|
11302 /* Override any GCC internal prototype to avoid an error.
|
adam@0
|
11303 Use char because int might match the return type of a GCC
|
adam@0
|
11304 builtin and then its argument prototype would still apply. */
|
adam@0
|
11305 #ifdef __cplusplus
|
adam@0
|
11306 extern "C"
|
adam@0
|
11307 #endif
|
adam@0
|
11308 char dlopen ();
|
adam@0
|
11309 int
|
adam@0
|
11310 main ()
|
adam@0
|
11311 {
|
adam@0
|
11312 return dlopen ();
|
adam@0
|
11313 ;
|
adam@0
|
11314 return 0;
|
adam@0
|
11315 }
|
adam@0
|
11316 _ACEOF
|
adam@0
|
11317 if ac_fn_c_try_link "$LINENO"; then :
|
adam@0
|
11318 ac_cv_lib_dl_dlopen=yes
|
adam@0
|
11319 else
|
adam@0
|
11320 ac_cv_lib_dl_dlopen=no
|
adam@0
|
11321 fi
|
adam@0
|
11322 rm -f core conftest.err conftest.$ac_objext \
|
adam@0
|
11323 conftest$ac_exeext conftest.$ac_ext
|
adam@0
|
11324 LIBS=$ac_check_lib_save_LIBS
|
adam@0
|
11325 fi
|
adam@0
|
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
|
adam@0
|
11327 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
|
adam@12
|
11328 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
|
adam@0
|
11329 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
|
adam@0
|
11330 else
|
adam@0
|
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
|
adam@0
|
11332 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
|
adam@12
|
11333 if ${ac_cv_lib_svld_dlopen+:} false; then :
|
adam@0
|
11334 $as_echo_n "(cached) " >&6
|
adam@0
|
11335 else
|
adam@0
|
11336 ac_check_lib_save_LIBS=$LIBS
|
adam@0
|
11337 LIBS="-lsvld $LIBS"
|
adam@0
|
11338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
11339 /* end confdefs.h. */
|
adam@0
|
11340
|
adam@0
|
11341 /* Override any GCC internal prototype to avoid an error.
|
adam@0
|
11342 Use char because int might match the return type of a GCC
|
adam@0
|
11343 builtin and then its argument prototype would still apply. */
|
adam@0
|
11344 #ifdef __cplusplus
|
adam@0
|
11345 extern "C"
|
adam@0
|
11346 #endif
|
adam@0
|
11347 char dlopen ();
|
adam@0
|
11348 int
|
adam@0
|
11349 main ()
|
adam@0
|
11350 {
|
adam@0
|
11351 return dlopen ();
|
adam@0
|
11352 ;
|
adam@0
|
11353 return 0;
|
adam@0
|
11354 }
|
adam@0
|
11355 _ACEOF
|
adam@0
|
11356 if ac_fn_c_try_link "$LINENO"; then :
|
adam@0
|
11357 ac_cv_lib_svld_dlopen=yes
|
adam@0
|
11358 else
|
adam@0
|
11359 ac_cv_lib_svld_dlopen=no
|
adam@0
|
11360 fi
|
adam@0
|
11361 rm -f core conftest.err conftest.$ac_objext \
|
adam@0
|
11362 conftest$ac_exeext conftest.$ac_ext
|
adam@0
|
11363 LIBS=$ac_check_lib_save_LIBS
|
adam@0
|
11364 fi
|
adam@0
|
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
|
adam@0
|
11366 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
|
adam@12
|
11367 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
|
adam@0
|
11368 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
|
adam@0
|
11369 else
|
adam@0
|
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
|
adam@0
|
11371 $as_echo_n "checking for dld_link in -ldld... " >&6; }
|
adam@12
|
11372 if ${ac_cv_lib_dld_dld_link+:} false; then :
|
adam@0
|
11373 $as_echo_n "(cached) " >&6
|
adam@0
|
11374 else
|
adam@0
|
11375 ac_check_lib_save_LIBS=$LIBS
|
adam@0
|
11376 LIBS="-ldld $LIBS"
|
adam@0
|
11377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
11378 /* end confdefs.h. */
|
adam@0
|
11379
|
adam@0
|
11380 /* Override any GCC internal prototype to avoid an error.
|
adam@0
|
11381 Use char because int might match the return type of a GCC
|
adam@0
|
11382 builtin and then its argument prototype would still apply. */
|
adam@0
|
11383 #ifdef __cplusplus
|
adam@0
|
11384 extern "C"
|
adam@0
|
11385 #endif
|
adam@0
|
11386 char dld_link ();
|
adam@0
|
11387 int
|
adam@0
|
11388 main ()
|
adam@0
|
11389 {
|
adam@0
|
11390 return dld_link ();
|
adam@0
|
11391 ;
|
adam@0
|
11392 return 0;
|
adam@0
|
11393 }
|
adam@0
|
11394 _ACEOF
|
adam@0
|
11395 if ac_fn_c_try_link "$LINENO"; then :
|
adam@0
|
11396 ac_cv_lib_dld_dld_link=yes
|
adam@0
|
11397 else
|
adam@0
|
11398 ac_cv_lib_dld_dld_link=no
|
adam@0
|
11399 fi
|
adam@0
|
11400 rm -f core conftest.err conftest.$ac_objext \
|
adam@0
|
11401 conftest$ac_exeext conftest.$ac_ext
|
adam@0
|
11402 LIBS=$ac_check_lib_save_LIBS
|
adam@0
|
11403 fi
|
adam@0
|
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
|
adam@0
|
11405 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
|
adam@12
|
11406 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
|
adam@0
|
11407 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
|
adam@0
|
11408 fi
|
adam@0
|
11409
|
adam@0
|
11410
|
adam@0
|
11411 fi
|
adam@0
|
11412
|
adam@0
|
11413
|
adam@0
|
11414 fi
|
adam@0
|
11415
|
adam@0
|
11416
|
adam@0
|
11417 fi
|
adam@0
|
11418
|
adam@0
|
11419
|
adam@0
|
11420 fi
|
adam@0
|
11421
|
adam@0
|
11422
|
adam@0
|
11423 fi
|
adam@0
|
11424
|
adam@0
|
11425 ;;
|
adam@0
|
11426 esac
|
adam@0
|
11427
|
adam@0
|
11428 if test "x$lt_cv_dlopen" != xno; then
|
adam@0
|
11429 enable_dlopen=yes
|
adam@0
|
11430 else
|
adam@0
|
11431 enable_dlopen=no
|
adam@0
|
11432 fi
|
adam@0
|
11433
|
adam@0
|
11434 case $lt_cv_dlopen in
|
adam@0
|
11435 dlopen)
|
adam@0
|
11436 save_CPPFLAGS="$CPPFLAGS"
|
adam@0
|
11437 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
|
adam@0
|
11438
|
adam@0
|
11439 save_LDFLAGS="$LDFLAGS"
|
adam@0
|
11440 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
|
adam@0
|
11441
|
adam@0
|
11442 save_LIBS="$LIBS"
|
adam@0
|
11443 LIBS="$lt_cv_dlopen_libs $LIBS"
|
adam@0
|
11444
|
adam@0
|
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
|
adam@0
|
11446 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
|
adam@12
|
11447 if ${lt_cv_dlopen_self+:} false; then :
|
adam@0
|
11448 $as_echo_n "(cached) " >&6
|
adam@0
|
11449 else
|
adam@0
|
11450 if test "$cross_compiling" = yes; then :
|
adam@0
|
11451 lt_cv_dlopen_self=cross
|
adam@0
|
11452 else
|
adam@0
|
11453 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
adam@0
|
11454 lt_status=$lt_dlunknown
|
adam@0
|
11455 cat > conftest.$ac_ext <<_LT_EOF
|
adam@12
|
11456 #line $LINENO "configure"
|
adam@0
|
11457 #include "confdefs.h"
|
adam@0
|
11458
|
adam@0
|
11459 #if HAVE_DLFCN_H
|
adam@0
|
11460 #include <dlfcn.h>
|
adam@0
|
11461 #endif
|
adam@0
|
11462
|
adam@0
|
11463 #include <stdio.h>
|
adam@0
|
11464
|
adam@0
|
11465 #ifdef RTLD_GLOBAL
|
adam@0
|
11466 # define LT_DLGLOBAL RTLD_GLOBAL
|
adam@0
|
11467 #else
|
adam@0
|
11468 # ifdef DL_GLOBAL
|
adam@0
|
11469 # define LT_DLGLOBAL DL_GLOBAL
|
adam@0
|
11470 # else
|
adam@0
|
11471 # define LT_DLGLOBAL 0
|
adam@0
|
11472 # endif
|
adam@0
|
11473 #endif
|
adam@0
|
11474
|
adam@0
|
11475 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
|
adam@0
|
11476 find out it does not work in some platform. */
|
adam@0
|
11477 #ifndef LT_DLLAZY_OR_NOW
|
adam@0
|
11478 # ifdef RTLD_LAZY
|
adam@0
|
11479 # define LT_DLLAZY_OR_NOW RTLD_LAZY
|
adam@0
|
11480 # else
|
adam@0
|
11481 # ifdef DL_LAZY
|
adam@0
|
11482 # define LT_DLLAZY_OR_NOW DL_LAZY
|
adam@0
|
11483 # else
|
adam@0
|
11484 # ifdef RTLD_NOW
|
adam@0
|
11485 # define LT_DLLAZY_OR_NOW RTLD_NOW
|
adam@0
|
11486 # else
|
adam@0
|
11487 # ifdef DL_NOW
|
adam@0
|
11488 # define LT_DLLAZY_OR_NOW DL_NOW
|
adam@0
|
11489 # else
|
adam@0
|
11490 # define LT_DLLAZY_OR_NOW 0
|
adam@0
|
11491 # endif
|
adam@0
|
11492 # endif
|
adam@0
|
11493 # endif
|
adam@0
|
11494 # endif
|
adam@0
|
11495 #endif
|
adam@0
|
11496
|
adam@12
|
11497 /* When -fvisbility=hidden is used, assume the code has been annotated
|
adam@12
|
11498 correspondingly for the symbols needed. */
|
adam@12
|
11499 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
|
adam@12
|
11500 int fnord () __attribute__((visibility("default")));
|
adam@12
|
11501 #endif
|
adam@12
|
11502
|
adam@12
|
11503 int fnord () { return 42; }
|
adam@0
|
11504 int main ()
|
adam@0
|
11505 {
|
adam@0
|
11506 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
|
adam@0
|
11507 int status = $lt_dlunknown;
|
adam@0
|
11508
|
adam@0
|
11509 if (self)
|
adam@0
|
11510 {
|
adam@0
|
11511 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
|
adam@12
|
11512 else
|
adam@12
|
11513 {
|
adam@12
|
11514 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
|
adam@12
|
11515 else puts (dlerror ());
|
adam@12
|
11516 }
|
adam@0
|
11517 /* dlclose (self); */
|
adam@0
|
11518 }
|
adam@0
|
11519 else
|
adam@0
|
11520 puts (dlerror ());
|
adam@0
|
11521
|
adam@0
|
11522 return status;
|
adam@0
|
11523 }
|
adam@0
|
11524 _LT_EOF
|
adam@0
|
11525 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
|
adam@0
|
11526 (eval $ac_link) 2>&5
|
adam@0
|
11527 ac_status=$?
|
adam@0
|
11528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
11529 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
|
adam@0
|
11530 (./conftest; exit; ) >&5 2>/dev/null
|
adam@0
|
11531 lt_status=$?
|
adam@0
|
11532 case x$lt_status in
|
adam@0
|
11533 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
|
adam@0
|
11534 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
|
adam@0
|
11535 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
|
adam@0
|
11536 esac
|
adam@0
|
11537 else :
|
adam@0
|
11538 # compilation failed
|
adam@0
|
11539 lt_cv_dlopen_self=no
|
adam@0
|
11540 fi
|
adam@0
|
11541 fi
|
adam@0
|
11542 rm -fr conftest*
|
adam@0
|
11543
|
adam@0
|
11544
|
adam@0
|
11545 fi
|
adam@0
|
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
|
adam@0
|
11547 $as_echo "$lt_cv_dlopen_self" >&6; }
|
adam@0
|
11548
|
adam@0
|
11549 if test "x$lt_cv_dlopen_self" = xyes; then
|
adam@0
|
11550 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
|
adam@0
|
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
|
adam@0
|
11552 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
|
adam@12
|
11553 if ${lt_cv_dlopen_self_static+:} false; then :
|
adam@0
|
11554 $as_echo_n "(cached) " >&6
|
adam@0
|
11555 else
|
adam@0
|
11556 if test "$cross_compiling" = yes; then :
|
adam@0
|
11557 lt_cv_dlopen_self_static=cross
|
adam@0
|
11558 else
|
adam@0
|
11559 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
adam@0
|
11560 lt_status=$lt_dlunknown
|
adam@0
|
11561 cat > conftest.$ac_ext <<_LT_EOF
|
adam@12
|
11562 #line $LINENO "configure"
|
adam@0
|
11563 #include "confdefs.h"
|
adam@0
|
11564
|
adam@0
|
11565 #if HAVE_DLFCN_H
|
adam@0
|
11566 #include <dlfcn.h>
|
adam@0
|
11567 #endif
|
adam@0
|
11568
|
adam@0
|
11569 #include <stdio.h>
|
adam@0
|
11570
|
adam@0
|
11571 #ifdef RTLD_GLOBAL
|
adam@0
|
11572 # define LT_DLGLOBAL RTLD_GLOBAL
|
adam@0
|
11573 #else
|
adam@0
|
11574 # ifdef DL_GLOBAL
|
adam@0
|
11575 # define LT_DLGLOBAL DL_GLOBAL
|
adam@0
|
11576 # else
|
adam@0
|
11577 # define LT_DLGLOBAL 0
|
adam@0
|
11578 # endif
|
adam@0
|
11579 #endif
|
adam@0
|
11580
|
adam@0
|
11581 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
|
adam@0
|
11582 find out it does not work in some platform. */
|
adam@0
|
11583 #ifndef LT_DLLAZY_OR_NOW
|
adam@0
|
11584 # ifdef RTLD_LAZY
|
adam@0
|
11585 # define LT_DLLAZY_OR_NOW RTLD_LAZY
|
adam@0
|
11586 # else
|
adam@0
|
11587 # ifdef DL_LAZY
|
adam@0
|
11588 # define LT_DLLAZY_OR_NOW DL_LAZY
|
adam@0
|
11589 # else
|
adam@0
|
11590 # ifdef RTLD_NOW
|
adam@0
|
11591 # define LT_DLLAZY_OR_NOW RTLD_NOW
|
adam@0
|
11592 # else
|
adam@0
|
11593 # ifdef DL_NOW
|
adam@0
|
11594 # define LT_DLLAZY_OR_NOW DL_NOW
|
adam@0
|
11595 # else
|
adam@0
|
11596 # define LT_DLLAZY_OR_NOW 0
|
adam@0
|
11597 # endif
|
adam@0
|
11598 # endif
|
adam@0
|
11599 # endif
|
adam@0
|
11600 # endif
|
adam@0
|
11601 #endif
|
adam@0
|
11602
|
adam@12
|
11603 /* When -fvisbility=hidden is used, assume the code has been annotated
|
adam@12
|
11604 correspondingly for the symbols needed. */
|
adam@12
|
11605 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
|
adam@12
|
11606 int fnord () __attribute__((visibility("default")));
|
adam@12
|
11607 #endif
|
adam@12
|
11608
|
adam@12
|
11609 int fnord () { return 42; }
|
adam@0
|
11610 int main ()
|
adam@0
|
11611 {
|
adam@0
|
11612 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
|
adam@0
|
11613 int status = $lt_dlunknown;
|
adam@0
|
11614
|
adam@0
|
11615 if (self)
|
adam@0
|
11616 {
|
adam@0
|
11617 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
|
adam@12
|
11618 else
|
adam@12
|
11619 {
|
adam@12
|
11620 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
|
adam@12
|
11621 else puts (dlerror ());
|
adam@12
|
11622 }
|
adam@0
|
11623 /* dlclose (self); */
|
adam@0
|
11624 }
|
adam@0
|
11625 else
|
adam@0
|
11626 puts (dlerror ());
|
adam@0
|
11627
|
adam@0
|
11628 return status;
|
adam@0
|
11629 }
|
adam@0
|
11630 _LT_EOF
|
adam@0
|
11631 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
|
adam@0
|
11632 (eval $ac_link) 2>&5
|
adam@0
|
11633 ac_status=$?
|
adam@0
|
11634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
adam@0
|
11635 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
|
adam@0
|
11636 (./conftest; exit; ) >&5 2>/dev/null
|
adam@0
|
11637 lt_status=$?
|
adam@0
|
11638 case x$lt_status in
|
adam@0
|
11639 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
|
adam@0
|
11640 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
|
adam@0
|
11641 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
|
adam@0
|
11642 esac
|
adam@0
|
11643 else :
|
adam@0
|
11644 # compilation failed
|
adam@0
|
11645 lt_cv_dlopen_self_static=no
|
adam@0
|
11646 fi
|
adam@0
|
11647 fi
|
adam@0
|
11648 rm -fr conftest*
|
adam@0
|
11649
|
adam@0
|
11650
|
adam@0
|
11651 fi
|
adam@0
|
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
|
adam@0
|
11653 $as_echo "$lt_cv_dlopen_self_static" >&6; }
|
adam@0
|
11654 fi
|
adam@0
|
11655
|
adam@0
|
11656 CPPFLAGS="$save_CPPFLAGS"
|
adam@0
|
11657 LDFLAGS="$save_LDFLAGS"
|
adam@0
|
11658 LIBS="$save_LIBS"
|
adam@0
|
11659 ;;
|
adam@0
|
11660 esac
|
adam@0
|
11661
|
adam@0
|
11662 case $lt_cv_dlopen_self in
|
adam@0
|
11663 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
|
adam@0
|
11664 *) enable_dlopen_self=unknown ;;
|
adam@0
|
11665 esac
|
adam@0
|
11666
|
adam@0
|
11667 case $lt_cv_dlopen_self_static in
|
adam@0
|
11668 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
|
adam@0
|
11669 *) enable_dlopen_self_static=unknown ;;
|
adam@0
|
11670 esac
|
adam@0
|
11671 fi
|
adam@0
|
11672
|
adam@0
|
11673
|
adam@0
|
11674
|
adam@0
|
11675
|
adam@0
|
11676
|
adam@0
|
11677
|
adam@0
|
11678
|
adam@0
|
11679
|
adam@0
|
11680
|
adam@0
|
11681
|
adam@0
|
11682
|
adam@0
|
11683
|
adam@0
|
11684
|
adam@0
|
11685
|
adam@0
|
11686
|
adam@0
|
11687
|
adam@0
|
11688
|
adam@0
|
11689 striplib=
|
adam@0
|
11690 old_striplib=
|
adam@0
|
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
|
adam@0
|
11692 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
|
adam@0
|
11693 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
|
adam@0
|
11694 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
|
adam@0
|
11695 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
|
adam@0
|
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
adam@0
|
11697 $as_echo "yes" >&6; }
|
adam@0
|
11698 else
|
adam@0
|
11699 # FIXME - insert some real tests, host_os isn't really good enough
|
adam@0
|
11700 case $host_os in
|
adam@0
|
11701 darwin*)
|
adam@0
|
11702 if test -n "$STRIP" ; then
|
adam@0
|
11703 striplib="$STRIP -x"
|
adam@0
|
11704 old_striplib="$STRIP -S"
|
adam@0
|
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
adam@0
|
11706 $as_echo "yes" >&6; }
|
adam@0
|
11707 else
|
adam@0
|
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
11709 $as_echo "no" >&6; }
|
adam@0
|
11710 fi
|
adam@0
|
11711 ;;
|
adam@0
|
11712 *)
|
adam@0
|
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
11714 $as_echo "no" >&6; }
|
adam@0
|
11715 ;;
|
adam@0
|
11716 esac
|
adam@0
|
11717 fi
|
adam@0
|
11718
|
adam@0
|
11719
|
adam@0
|
11720
|
adam@0
|
11721
|
adam@0
|
11722
|
adam@0
|
11723
|
adam@0
|
11724
|
adam@0
|
11725
|
adam@0
|
11726
|
adam@0
|
11727
|
adam@0
|
11728
|
adam@0
|
11729
|
adam@0
|
11730 # Report which library types will actually be built
|
adam@0
|
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
|
adam@0
|
11732 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
|
adam@0
|
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
|
adam@0
|
11734 $as_echo "$can_build_shared" >&6; }
|
adam@0
|
11735
|
adam@0
|
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
|
adam@0
|
11737 $as_echo_n "checking whether to build shared libraries... " >&6; }
|
adam@0
|
11738 test "$can_build_shared" = "no" && enable_shared=no
|
adam@0
|
11739
|
adam@0
|
11740 # On AIX, shared libraries and static libraries use the same namespace, and
|
adam@0
|
11741 # are all built from PIC.
|
adam@0
|
11742 case $host_os in
|
adam@0
|
11743 aix3*)
|
adam@0
|
11744 test "$enable_shared" = yes && enable_static=no
|
adam@0
|
11745 if test -n "$RANLIB"; then
|
adam@0
|
11746 archive_cmds="$archive_cmds~\$RANLIB \$lib"
|
adam@0
|
11747 postinstall_cmds='$RANLIB $lib'
|
adam@0
|
11748 fi
|
adam@0
|
11749 ;;
|
adam@0
|
11750
|
adam@0
|
11751 aix[4-9]*)
|
adam@0
|
11752 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
|
adam@0
|
11753 test "$enable_shared" = yes && enable_static=no
|
adam@0
|
11754 fi
|
adam@0
|
11755 ;;
|
adam@0
|
11756 esac
|
adam@0
|
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
|
adam@0
|
11758 $as_echo "$enable_shared" >&6; }
|
adam@0
|
11759
|
adam@0
|
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
|
adam@0
|
11761 $as_echo_n "checking whether to build static libraries... " >&6; }
|
adam@0
|
11762 # Make sure either enable_shared or enable_static is yes.
|
adam@0
|
11763 test "$enable_shared" = yes || enable_static=yes
|
adam@0
|
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
|
adam@0
|
11765 $as_echo "$enable_static" >&6; }
|
adam@0
|
11766
|
adam@0
|
11767
|
adam@0
|
11768
|
adam@0
|
11769
|
adam@0
|
11770 fi
|
adam@0
|
11771 ac_ext=c
|
adam@0
|
11772 ac_cpp='$CPP $CPPFLAGS'
|
adam@0
|
11773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
adam@0
|
11774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
adam@0
|
11775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
adam@0
|
11776
|
adam@0
|
11777 CC="$lt_save_CC"
|
adam@0
|
11778
|
adam@0
|
11779
|
adam@0
|
11780
|
adam@0
|
11781
|
adam@0
|
11782
|
adam@0
|
11783
|
adam@0
|
11784
|
adam@0
|
11785
|
adam@0
|
11786
|
adam@0
|
11787
|
adam@0
|
11788
|
adam@0
|
11789
|
adam@0
|
11790
|
adam@0
|
11791 ac_config_commands="$ac_config_commands libtool"
|
adam@0
|
11792
|
adam@0
|
11793
|
adam@0
|
11794
|
adam@0
|
11795
|
adam@0
|
11796 # Only expand once:
|
adam@0
|
11797
|
adam@0
|
11798
|
adam@0
|
11799
|
adam@0
|
11800
|
adam@0
|
11801
|
adam@0
|
11802
|
adam@0
|
11803
|
adam@0
|
11804
|
adam@0
|
11805
|
adam@0
|
11806
|
adam@0
|
11807
|
adam@0
|
11808
|
adam@0
|
11809
|
adam@0
|
11810
|
adam@0
|
11811
|
adam@0
|
11812
|
adam@0
|
11813
|
adam@0
|
11814
|
adam@0
|
11815
|
adam@0
|
11816
|
adam@0
|
11817
|
adam@0
|
11818
|
adam@0
|
11819
|
adam@0
|
11820
|
adam@0
|
11821
|
adam@0
|
11822
|
adam@0
|
11823
|
adam@0
|
11824
|
adam@0
|
11825
|
adam@0
|
11826 # Check whether --with-libcurl was given.
|
adam@0
|
11827 if test "${with_libcurl+set}" = set; then :
|
adam@0
|
11828 withval=$with_libcurl; _libcurl_with=$withval
|
adam@0
|
11829 else
|
adam@0
|
11830 _libcurl_with=yes
|
adam@0
|
11831 fi
|
adam@0
|
11832
|
adam@0
|
11833
|
adam@0
|
11834 if test "$_libcurl_with" != "no" ; then
|
adam@0
|
11835
|
adam@0
|
11836 for ac_prog in gawk mawk nawk awk
|
adam@0
|
11837 do
|
adam@0
|
11838 # Extract the first word of "$ac_prog", so it can be a program name with args.
|
adam@0
|
11839 set dummy $ac_prog; ac_word=$2
|
adam@0
|
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
11841 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
11842 if ${ac_cv_prog_AWK+:} false; then :
|
adam@0
|
11843 $as_echo_n "(cached) " >&6
|
adam@0
|
11844 else
|
adam@0
|
11845 if test -n "$AWK"; then
|
adam@0
|
11846 ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
adam@0
|
11847 else
|
adam@0
|
11848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
11849 for as_dir in $PATH
|
adam@0
|
11850 do
|
adam@0
|
11851 IFS=$as_save_IFS
|
adam@0
|
11852 test -z "$as_dir" && as_dir=.
|
adam@0
|
11853 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
11854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
11855 ac_cv_prog_AWK="$ac_prog"
|
adam@0
|
11856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
11857 break 2
|
adam@0
|
11858 fi
|
adam@0
|
11859 done
|
adam@0
|
11860 done
|
adam@0
|
11861 IFS=$as_save_IFS
|
adam@0
|
11862
|
adam@0
|
11863 fi
|
adam@0
|
11864 fi
|
adam@0
|
11865 AWK=$ac_cv_prog_AWK
|
adam@0
|
11866 if test -n "$AWK"; then
|
adam@0
|
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
adam@0
|
11868 $as_echo "$AWK" >&6; }
|
adam@0
|
11869 else
|
adam@0
|
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
11871 $as_echo "no" >&6; }
|
adam@0
|
11872 fi
|
adam@0
|
11873
|
adam@0
|
11874
|
adam@0
|
11875 test -n "$AWK" && break
|
adam@0
|
11876 done
|
adam@0
|
11877
|
adam@0
|
11878
|
adam@0
|
11879 _libcurl_version_parse="eval $AWK '{split(\$NF,A,\".\"); X=256*256*A[1]+256*A[2]+A[3]; print X;}'"
|
adam@0
|
11880
|
adam@0
|
11881 _libcurl_try_link=yes
|
adam@0
|
11882
|
adam@0
|
11883 if test -d "$_libcurl_with" ; then
|
adam@0
|
11884 LIBCURL_CPPFLAGS="-I$withval/include"
|
adam@0
|
11885 _libcurl_ldflags="-L$withval/lib"
|
adam@0
|
11886 # Extract the first word of "curl-config", so it can be a program name with args.
|
adam@0
|
11887 set dummy curl-config; ac_word=$2
|
adam@0
|
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
11889 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
11890 if ${ac_cv_path__libcurl_config+:} false; then :
|
adam@0
|
11891 $as_echo_n "(cached) " >&6
|
adam@0
|
11892 else
|
adam@0
|
11893 case $_libcurl_config in
|
adam@0
|
11894 [\\/]* | ?:[\\/]*)
|
adam@0
|
11895 ac_cv_path__libcurl_config="$_libcurl_config" # Let the user override the test with a path.
|
adam@0
|
11896 ;;
|
adam@0
|
11897 *)
|
adam@0
|
11898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
11899 for as_dir in "$withval/bin"
|
adam@0
|
11900 do
|
adam@0
|
11901 IFS=$as_save_IFS
|
adam@0
|
11902 test -z "$as_dir" && as_dir=.
|
adam@0
|
11903 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
11904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
11905 ac_cv_path__libcurl_config="$as_dir/$ac_word$ac_exec_ext"
|
adam@0
|
11906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
11907 break 2
|
adam@0
|
11908 fi
|
adam@0
|
11909 done
|
adam@0
|
11910 done
|
adam@0
|
11911 IFS=$as_save_IFS
|
adam@0
|
11912
|
adam@0
|
11913 test -z "$ac_cv_path__libcurl_config" && ac_cv_path__libcurl_config=""$withval/bin""
|
adam@0
|
11914 ;;
|
adam@0
|
11915 esac
|
adam@0
|
11916 fi
|
adam@0
|
11917 _libcurl_config=$ac_cv_path__libcurl_config
|
adam@0
|
11918 if test -n "$_libcurl_config"; then
|
adam@0
|
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_libcurl_config" >&5
|
adam@0
|
11920 $as_echo "$_libcurl_config" >&6; }
|
adam@0
|
11921 else
|
adam@0
|
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
11923 $as_echo "no" >&6; }
|
adam@0
|
11924 fi
|
adam@0
|
11925
|
adam@0
|
11926
|
adam@0
|
11927 else
|
adam@0
|
11928 # Extract the first word of "curl-config", so it can be a program name with args.
|
adam@0
|
11929 set dummy curl-config; ac_word=$2
|
adam@0
|
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
adam@0
|
11931 $as_echo_n "checking for $ac_word... " >&6; }
|
adam@12
|
11932 if ${ac_cv_path__libcurl_config+:} false; then :
|
adam@0
|
11933 $as_echo_n "(cached) " >&6
|
adam@0
|
11934 else
|
adam@0
|
11935 case $_libcurl_config in
|
adam@0
|
11936 [\\/]* | ?:[\\/]*)
|
adam@0
|
11937 ac_cv_path__libcurl_config="$_libcurl_config" # Let the user override the test with a path.
|
adam@0
|
11938 ;;
|
adam@0
|
11939 *)
|
adam@0
|
11940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
11941 for as_dir in $PATH
|
adam@0
|
11942 do
|
adam@0
|
11943 IFS=$as_save_IFS
|
adam@0
|
11944 test -z "$as_dir" && as_dir=.
|
adam@0
|
11945 for ac_exec_ext in '' $ac_executable_extensions; do
|
adam@0
|
11946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
adam@0
|
11947 ac_cv_path__libcurl_config="$as_dir/$ac_word$ac_exec_ext"
|
adam@0
|
11948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
adam@0
|
11949 break 2
|
adam@0
|
11950 fi
|
adam@0
|
11951 done
|
adam@0
|
11952 done
|
adam@0
|
11953 IFS=$as_save_IFS
|
adam@0
|
11954
|
adam@0
|
11955 ;;
|
adam@0
|
11956 esac
|
adam@0
|
11957 fi
|
adam@0
|
11958 _libcurl_config=$ac_cv_path__libcurl_config
|
adam@0
|
11959 if test -n "$_libcurl_config"; then
|
adam@0
|
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_libcurl_config" >&5
|
adam@0
|
11961 $as_echo "$_libcurl_config" >&6; }
|
adam@0
|
11962 else
|
adam@0
|
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
adam@0
|
11964 $as_echo "no" >&6; }
|
adam@0
|
11965 fi
|
adam@0
|
11966
|
adam@0
|
11967
|
adam@0
|
11968 fi
|
adam@0
|
11969
|
adam@0
|
11970 if test x$_libcurl_config != "x" ; then
|
adam@0
|
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the version of libcurl" >&5
|
adam@0
|
11972 $as_echo_n "checking for the version of libcurl... " >&6; }
|
adam@12
|
11973 if ${libcurl_cv_lib_curl_version+:} false; then :
|
adam@0
|
11974 $as_echo_n "(cached) " >&6
|
adam@0
|
11975 else
|
adam@0
|
11976 libcurl_cv_lib_curl_version=`$_libcurl_config --version | $AWK '{print $2}'`
|
adam@0
|
11977 fi
|
adam@0
|
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libcurl_cv_lib_curl_version" >&5
|
adam@0
|
11979 $as_echo "$libcurl_cv_lib_curl_version" >&6; }
|
adam@0
|
11980
|
adam@0
|
11981 _libcurl_version=`echo $libcurl_cv_lib_curl_version | $_libcurl_version_parse`
|
adam@0
|
11982 _libcurl_wanted=`echo 0 | $_libcurl_version_parse`
|
adam@0
|
11983
|
adam@0
|
11984 if test $_libcurl_wanted -gt 0 ; then
|
adam@0
|
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcurl >= version " >&5
|
adam@0
|
11986 $as_echo_n "checking for libcurl >= version ... " >&6; }
|
adam@12
|
11987 if ${libcurl_cv_lib_version_ok+:} false; then :
|
adam@0
|
11988 $as_echo_n "(cached) " >&6
|
adam@0
|
11989 else
|
adam@0
|
11990
|
adam@0
|
11991 if test $_libcurl_version -ge $_libcurl_wanted ; then
|
adam@0
|
11992 libcurl_cv_lib_version_ok=yes
|
adam@0
|
11993 else
|
adam@0
|
11994 libcurl_cv_lib_version_ok=no
|
adam@0
|
11995 fi
|
adam@0
|
11996
|
adam@0
|
11997 fi
|
adam@0
|
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libcurl_cv_lib_version_ok" >&5
|
adam@0
|
11999 $as_echo "$libcurl_cv_lib_version_ok" >&6; }
|
adam@0
|
12000 fi
|
adam@0
|
12001
|
adam@0
|
12002 if test $_libcurl_wanted -eq 0 || test x$libcurl_cv_lib_version_ok = xyes ; then
|
adam@0
|
12003 if test x"$LIBCURL_CPPFLAGS" = "x" ; then
|
adam@0
|
12004 LIBCURL_CPPFLAGS=`$_libcurl_config --cflags`
|
adam@0
|
12005 fi
|
adam@0
|
12006 if test x"$LIBCURL" = "x" ; then
|
adam@0
|
12007 LIBCURL=`$_libcurl_config --libs`
|
adam@0
|
12008
|
adam@0
|
12009 # This is so silly, but Apple actually has a bug in their
|
adam@0
|
12010 # curl-config script. Fixed in Tiger, but there are still
|
adam@0
|
12011 # lots of Panther installs around.
|
adam@0
|
12012 case "${host}" in
|
adam@0
|
12013 powerpc-apple-darwin7*)
|
adam@0
|
12014 LIBCURL=`echo $LIBCURL | sed -e 's|-arch i386||g'`
|
adam@0
|
12015 ;;
|
adam@0
|
12016 esac
|
adam@0
|
12017 fi
|
adam@0
|
12018
|
adam@0
|
12019 # All curl-config scripts support --feature
|
adam@0
|
12020 _libcurl_features=`$_libcurl_config --feature`
|
adam@0
|
12021
|
adam@0
|
12022 # Is it modern enough to have --protocols? (7.12.4)
|
adam@0
|
12023 if test $_libcurl_version -ge 461828 ; then
|
adam@0
|
12024 _libcurl_protocols=`$_libcurl_config --protocols`
|
adam@0
|
12025 fi
|
adam@0
|
12026 else
|
adam@0
|
12027 _libcurl_try_link=no
|
adam@0
|
12028 fi
|
adam@0
|
12029
|
adam@0
|
12030 unset _libcurl_wanted
|
adam@0
|
12031 fi
|
adam@0
|
12032
|
adam@0
|
12033 if test $_libcurl_try_link = yes ; then
|
adam@0
|
12034
|
adam@0
|
12035 # we didn't find curl-config, so let's see if the user-supplied
|
adam@0
|
12036 # link line (or failing that, "-lcurl") is enough.
|
adam@0
|
12037 LIBCURL=${LIBCURL-"$_libcurl_ldflags -lcurl"}
|
adam@0
|
12038
|
adam@0
|
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcurl is usable" >&5
|
adam@0
|
12040 $as_echo_n "checking whether libcurl is usable... " >&6; }
|
adam@12
|
12041 if ${libcurl_cv_lib_curl_usable+:} false; then :
|
adam@0
|
12042 $as_echo_n "(cached) " >&6
|
adam@0
|
12043 else
|
adam@0
|
12044
|
adam@0
|
12045 _libcurl_save_cppflags=$CPPFLAGS
|
adam@0
|
12046 CPPFLAGS="$LIBCURL_CPPFLAGS $CPPFLAGS"
|
adam@0
|
12047 _libcurl_save_libs=$LIBS
|
adam@0
|
12048 LIBS="$LIBCURL $LIBS"
|
adam@0
|
12049
|
adam@0
|
12050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
adam@0
|
12051 /* end confdefs.h. */
|
adam@0
|
12052 #include <curl/curl.h>
|
adam@0
|
12053 int
|
adam@0
|
12054 main ()
|
adam@0
|
12055 {
|
adam@0
|
12056
|
adam@0
|
12057 /* Try and use a few common options to force a failure if we are
|
adam@0
|
12058 missing symbols or can't link. */
|
adam@0
|
12059 int x;
|
adam@0
|
12060 curl_easy_setopt(NULL,CURLOPT_URL,NULL);
|
adam@0
|
12061 x=CURL_ERROR_SIZE;
|
adam@0
|
12062 x=CURLOPT_WRITEFUNCTION;
|
adam@0
|
12063 x=CURLOPT_FILE;
|
adam@0
|
12064 x=CURLOPT_ERRORBUFFER;
|
adam@0
|
12065 x=CURLOPT_STDERR;
|
adam@0
|
12066 x=CURLOPT_VERBOSE;
|
adam@0
|
12067
|
adam@0
|
12068 ;
|
adam@0
|
12069 return 0;
|
adam@0
|
12070 }
|
adam@0
|
12071 _ACEOF
|
adam@0
|
12072 if ac_fn_c_try_link "$LINENO"; then :
|
adam@0
|
12073 libcurl_cv_lib_curl_usable=yes
|
adam@0
|
12074 else
|
adam@0
|
12075 libcurl_cv_lib_curl_usable=no
|
adam@0
|
12076 fi
|
adam@0
|
12077 rm -f core conftest.err conftest.$ac_objext \
|
adam@0
|
12078 conftest$ac_exeext conftest.$ac_ext
|
adam@0
|
12079
|
adam@0
|
12080 CPPFLAGS=$_libcurl_save_cppflags
|
adam@0
|
12081 LIBS=$_libcurl_save_libs
|
adam@0
|
12082 unset _libcurl_save_cppflags
|
adam@0
|
12083 unset _libcurl_save_libs
|
adam@0
|
12084
|
adam@0
|
12085 fi
|
adam@0
|
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libcurl_cv_lib_curl_usable" >&5
|
adam@0
|
12087 $as_echo "$libcurl_cv_lib_curl_usable" >&6; }
|
adam@0
|
12088
|
adam@0
|
12089 if test $libcurl_cv_lib_curl_usable = yes ; then
|
adam@0
|
12090
|
adam@0
|
12091 # Does curl_free() exist in this version of libcurl?
|
adam@0
|
12092 # If not, fake it with free()
|
adam@0
|
12093
|
adam@0
|
12094 _libcurl_save_cppflags=$CPPFLAGS
|
adam@0
|
12095 CPPFLAGS="$CPPFLAGS $LIBCURL_CPPFLAGS"
|
adam@0
|
12096 _libcurl_save_libs=$LIBS
|
adam@0
|
12097 LIBS="$LIBS $LIBCURL"
|
adam@0
|
12098
|
adam@0
|
12099 ac_fn_c_check_func "$LINENO" "curl_free" "ac_cv_func_curl_free"
|
adam@12
|
12100 if test "x$ac_cv_func_curl_free" = xyes; then :
|
adam@0
|
12101
|
adam@0
|
12102 else
|
adam@0
|
12103
|
adam@0
|
12104 $as_echo "#define curl_free free" >>confdefs.h
|
adam@0
|
12105
|
adam@0
|
12106 fi
|
adam@0
|
12107
|
adam@0
|
12108
|
adam@0
|
12109 CPPFLAGS=$_libcurl_save_cppflags
|
adam@0
|
12110 LIBS=$_libcurl_save_libs
|
adam@0
|
12111 unset _libcurl_save_cppflags
|
adam@0
|
12112 unset _libcurl_save_libs
|
adam@0
|
12113
|
adam@0
|
12114
|
adam@0
|
12115 $as_echo "#define HAVE_LIBCURL 1" >>confdefs.h
|
adam@0
|
12116
|
adam@0
|
12117
|
adam@0
|
12118
|
adam@0
|
12119
|
adam@0
|
12120 for _libcurl_feature in $_libcurl_features ; do
|
adam@0
|
12121 cat >>confdefs.h <<_ACEOF
|
adam@0
|
12122 #define `$as_echo "libcurl_feature_$_libcurl_feature" | $as_tr_cpp` 1
|
adam@0
|
12123 _ACEOF
|
adam@0
|
12124
|
adam@0
|
12125 eval `$as_echo "libcurl_feature_$_libcurl_feature" | $as_tr_sh`=yes
|
adam@0
|
12126 done
|
adam@0
|
12127
|
adam@0
|
12128 if test "x$_libcurl_protocols" = "x" ; then
|
adam@0
|
12129
|
adam@0
|
12130 # We don't have --protocols, so just assume that all
|
adam@0
|
12131 # protocols are available
|
adam@0
|
12132 _libcurl_protocols="HTTP FTP FILE TELNET LDAP DICT TFTP"
|
adam@0
|
12133
|
adam@0
|
12134 if test x$libcurl_feature_SSL = xyes ; then
|
adam@0
|
12135 _libcurl_protocols="$_libcurl_protocols HTTPS"
|
adam@0
|
12136
|
adam@0
|
12137 # FTPS wasn't standards-compliant until version
|
adam@0
|
12138 # 7.11.0 (0x070b00 == 461568)
|
adam@0
|
12139 if test $_libcurl_version -ge 461568; then
|
adam@0
|
12140 _libcurl_protocols="$_libcurl_protocols FTPS"
|
adam@0
|
12141 fi
|
adam@0
|
12142 fi
|
adam@0
|
12143
|
adam@0
|
12144 # RTSP, IMAP, POP3 and SMTP were added in
|
adam@0
|
12145 # 7.20.0 (0x071400 == 463872)
|
adam@0
|
12146 if test $_libcurl_version -ge 463872; then
|
adam@0
|
12147 _libcurl_protocols="$_libcurl_protocols RTSP IMAP POP3 SMTP"
|
adam@0
|
12148 fi
|
adam@0
|
12149 fi
|
adam@0
|
12150
|
adam@0
|
12151 for _libcurl_protocol in $_libcurl_protocols ; do
|
adam@0
|
12152 cat >>confdefs.h <<_ACEOF
|
adam@0
|
12153 #define `$as_echo "libcurl_protocol_$_libcurl_protocol" | $as_tr_cpp` 1
|
adam@0
|
12154 _ACEOF
|
adam@0
|
12155
|
adam@0
|
12156 eval `$as_echo "libcurl_protocol_$_libcurl_protocol" | $as_tr_sh`=yes
|
adam@0
|
12157 done
|
adam@0
|
12158 else
|
adam@0
|
12159 unset LIBCURL
|
adam@0
|
12160 unset LIBCURL_CPPFLAGS
|
adam@0
|
12161 fi
|
adam@0
|
12162 fi
|
adam@0
|
12163
|
adam@0
|
12164 unset _libcurl_try_link
|
adam@0
|
12165 unset _libcurl_version_parse
|
adam@0
|
12166 unset _libcurl_config
|
adam@0
|
12167 unset _libcurl_feature
|
adam@0
|
12168 unset _libcurl_features
|
adam@0
|
12169 unset _libcurl_protocol
|
adam@0
|
12170 unset _libcurl_protocols
|
adam@0
|
12171 unset _libcurl_version
|
adam@0
|
12172 unset _libcurl_ldflags
|
adam@0
|
12173 fi
|
adam@0
|
12174
|
adam@0
|
12175 if test x$_libcurl_with = xno || test x$libcurl_cv_lib_curl_usable != xyes ; then
|
adam@0
|
12176 # This is the IF-NO path
|
adam@0
|
12177 echo "You must install libcurl development files."; exit 1
|
adam@0
|
12178 else
|
adam@0
|
12179 # This is the IF-YES path
|
adam@0
|
12180 echo >/dev/null
|
adam@0
|
12181 fi
|
adam@0
|
12182
|
adam@0
|
12183 unset _libcurl_with
|
adam@0
|
12184
|
adam@0
|
12185
|
adam@0
|
12186 if test $prefix = "NONE"; then
|
adam@0
|
12187 prefix=/usr/local
|
adam@0
|
12188 fi
|
adam@0
|
12189
|
adam@0
|
12190 if test -z $LIB; then
|
adam@0
|
12191 LIB=$prefix/lib/urweb
|
adam@0
|
12192 fi
|
adam@0
|
12193
|
adam@0
|
12194 if test -z $INCLUDE; then
|
adam@0
|
12195 INCLUDE=$prefix/include/urweb
|
adam@0
|
12196 fi
|
adam@0
|
12197
|
adam@0
|
12198
|
adam@0
|
12199
|
adam@0
|
12200
|
adam@0
|
12201 ac_config_files="$ac_config_files Makefile src/c/Makefile src/ur/config.urp"
|
adam@0
|
12202
|
adam@0
|
12203
|
adam@0
|
12204 cat >confcache <<\_ACEOF
|
adam@0
|
12205 # This file is a shell script that caches the results of configure
|
adam@0
|
12206 # tests run on this system so they can be shared between configure
|
adam@0
|
12207 # scripts and configure runs, see configure's option --config-cache.
|
adam@0
|
12208 # It is not useful on other systems. If it contains results you don't
|
adam@0
|
12209 # want to keep, you may remove or edit it.
|
adam@0
|
12210 #
|
adam@0
|
12211 # config.status only pays attention to the cache file if you give it
|
adam@0
|
12212 # the --recheck option to rerun configure.
|
adam@0
|
12213 #
|
adam@0
|
12214 # `ac_cv_env_foo' variables (set or unset) will be overridden when
|
adam@0
|
12215 # loading this file, other *unset* `ac_cv_foo' will be assigned the
|
adam@0
|
12216 # following values.
|
adam@0
|
12217
|
adam@0
|
12218 _ACEOF
|
adam@0
|
12219
|
adam@0
|
12220 # The following way of writing the cache mishandles newlines in values,
|
adam@0
|
12221 # but we know of no workaround that is simple, portable, and efficient.
|
adam@0
|
12222 # So, we kill variables containing newlines.
|
adam@0
|
12223 # Ultrix sh set writes to stderr and can't be redirected directly,
|
adam@0
|
12224 # and sets the high bit in the cache file unless we assign to the vars.
|
adam@0
|
12225 (
|
adam@0
|
12226 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
|
adam@0
|
12227 eval ac_val=\$$ac_var
|
adam@0
|
12228 case $ac_val in #(
|
adam@0
|
12229 *${as_nl}*)
|
adam@0
|
12230 case $ac_var in #(
|
adam@0
|
12231 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
adam@0
|
12232 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
adam@0
|
12233 esac
|
adam@0
|
12234 case $ac_var in #(
|
adam@0
|
12235 _ | IFS | as_nl) ;; #(
|
adam@0
|
12236 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
adam@0
|
12237 *) { eval $ac_var=; unset $ac_var;} ;;
|
adam@0
|
12238 esac ;;
|
adam@0
|
12239 esac
|
adam@0
|
12240 done
|
adam@0
|
12241
|
adam@0
|
12242 (set) 2>&1 |
|
adam@0
|
12243 case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
adam@0
|
12244 *${as_nl}ac_space=\ *)
|
adam@0
|
12245 # `set' does not quote correctly, so add quotes: double-quote
|
adam@0
|
12246 # substitution turns \\\\ into \\, and sed turns \\ into \.
|
adam@0
|
12247 sed -n \
|
adam@0
|
12248 "s/'/'\\\\''/g;
|
adam@0
|
12249 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
adam@0
|
12250 ;; #(
|
adam@0
|
12251 *)
|
adam@0
|
12252 # `set' quotes correctly as required by POSIX, so do not add quotes.
|
adam@0
|
12253 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
adam@0
|
12254 ;;
|
adam@0
|
12255 esac |
|
adam@0
|
12256 sort
|
adam@0
|
12257 ) |
|
adam@0
|
12258 sed '
|
adam@0
|
12259 /^ac_cv_env_/b end
|
adam@0
|
12260 t clear
|
adam@0
|
12261 :clear
|
adam@0
|
12262 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
adam@0
|
12263 t end
|
adam@0
|
12264 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
adam@0
|
12265 :end' >>confcache
|
adam@0
|
12266 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
adam@0
|
12267 if test -w "$cache_file"; then
|
adam@12
|
12268 if test "x$cache_file" != "x/dev/null"; then
|
adam@0
|
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
adam@0
|
12270 $as_echo "$as_me: updating cache $cache_file" >&6;}
|
adam@12
|
12271 if test ! -f "$cache_file" || test -h "$cache_file"; then
|
adam@12
|
12272 cat confcache >"$cache_file"
|
adam@12
|
12273 else
|
adam@12
|
12274 case $cache_file in #(
|
adam@12
|
12275 */* | ?:*)
|
adam@12
|
12276 mv -f confcache "$cache_file"$$ &&
|
adam@12
|
12277 mv -f "$cache_file"$$ "$cache_file" ;; #(
|
adam@12
|
12278 *)
|
adam@12
|
12279 mv -f confcache "$cache_file" ;;
|
adam@12
|
12280 esac
|
adam@12
|
12281 fi
|
adam@12
|
12282 fi
|
adam@0
|
12283 else
|
adam@0
|
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
adam@0
|
12285 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
adam@0
|
12286 fi
|
adam@0
|
12287 fi
|
adam@0
|
12288 rm -f confcache
|
adam@0
|
12289
|
adam@0
|
12290 test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
adam@0
|
12291 # Let make expand exec_prefix.
|
adam@0
|
12292 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
adam@0
|
12293
|
adam@0
|
12294 # Transform confdefs.h into DEFS.
|
adam@0
|
12295 # Protect against shell expansion while executing Makefile rules.
|
adam@0
|
12296 # Protect against Makefile macro expansion.
|
adam@0
|
12297 #
|
adam@0
|
12298 # If the first sed substitution is executed (which looks for macros that
|
adam@0
|
12299 # take arguments), then branch to the quote section. Otherwise,
|
adam@0
|
12300 # look for a macro that doesn't take arguments.
|
adam@0
|
12301 ac_script='
|
adam@0
|
12302 :mline
|
adam@0
|
12303 /\\$/{
|
adam@0
|
12304 N
|
adam@0
|
12305 s,\\\n,,
|
adam@0
|
12306 b mline
|
adam@0
|
12307 }
|
adam@0
|
12308 t clear
|
adam@0
|
12309 :clear
|
adam@0
|
12310 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
|
adam@0
|
12311 t quote
|
adam@0
|
12312 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
|
adam@0
|
12313 t quote
|
adam@0
|
12314 b any
|
adam@0
|
12315 :quote
|
adam@0
|
12316 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
|
adam@0
|
12317 s/\[/\\&/g
|
adam@0
|
12318 s/\]/\\&/g
|
adam@0
|
12319 s/\$/$$/g
|
adam@0
|
12320 H
|
adam@0
|
12321 :any
|
adam@0
|
12322 ${
|
adam@0
|
12323 g
|
adam@0
|
12324 s/^\n//
|
adam@0
|
12325 s/\n/ /g
|
adam@0
|
12326 p
|
adam@0
|
12327 }
|
adam@0
|
12328 '
|
adam@0
|
12329 DEFS=`sed -n "$ac_script" confdefs.h`
|
adam@0
|
12330
|
adam@0
|
12331
|
adam@0
|
12332 ac_libobjs=
|
adam@0
|
12333 ac_ltlibobjs=
|
adam@0
|
12334 U=
|
adam@0
|
12335 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
adam@0
|
12336 # 1. Remove the extension, and $U if already installed.
|
adam@0
|
12337 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
adam@0
|
12338 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
adam@0
|
12339 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
adam@0
|
12340 # will be set to the directory where LIBOBJS objects are built.
|
adam@0
|
12341 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
adam@0
|
12342 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
|
adam@0
|
12343 done
|
adam@0
|
12344 LIBOBJS=$ac_libobjs
|
adam@0
|
12345
|
adam@0
|
12346 LTLIBOBJS=$ac_ltlibobjs
|
adam@0
|
12347
|
adam@0
|
12348
|
adam@0
|
12349 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
|
adam@0
|
12350 as_fn_error $? "conditional \"AMDEP\" was never defined.
|
adam@0
|
12351 Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
adam@0
|
12352 fi
|
adam@0
|
12353 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
|
adam@0
|
12354 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
|
adam@0
|
12355 Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
adam@0
|
12356 fi
|
adam@0
|
12357 if test -n "$EXEEXT"; then
|
adam@0
|
12358 am__EXEEXT_TRUE=
|
adam@0
|
12359 am__EXEEXT_FALSE='#'
|
adam@0
|
12360 else
|
adam@0
|
12361 am__EXEEXT_TRUE='#'
|
adam@0
|
12362 am__EXEEXT_FALSE=
|
adam@0
|
12363 fi
|
adam@0
|
12364
|
adam@0
|
12365
|
adam@12
|
12366 : "${CONFIG_STATUS=./config.status}"
|
adam@0
|
12367 ac_write_fail=0
|
adam@0
|
12368 ac_clean_files_save=$ac_clean_files
|
adam@0
|
12369 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
adam@0
|
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
adam@0
|
12371 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
adam@0
|
12372 as_write_fail=0
|
adam@0
|
12373 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
|
adam@0
|
12374 #! $SHELL
|
adam@0
|
12375 # Generated by $as_me.
|
adam@0
|
12376 # Run this file to recreate the current configuration.
|
adam@0
|
12377 # Compiler output produced by configure, useful for debugging
|
adam@0
|
12378 # configure, is in config.log if it exists.
|
adam@0
|
12379
|
adam@0
|
12380 debug=false
|
adam@0
|
12381 ac_cs_recheck=false
|
adam@0
|
12382 ac_cs_silent=false
|
adam@0
|
12383
|
adam@0
|
12384 SHELL=\${CONFIG_SHELL-$SHELL}
|
adam@0
|
12385 export SHELL
|
adam@0
|
12386 _ASEOF
|
adam@0
|
12387 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
|
adam@0
|
12388 ## -------------------- ##
|
adam@0
|
12389 ## M4sh Initialization. ##
|
adam@0
|
12390 ## -------------------- ##
|
adam@0
|
12391
|
adam@0
|
12392 # Be more Bourne compatible
|
adam@0
|
12393 DUALCASE=1; export DUALCASE # for MKS sh
|
adam@0
|
12394 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
adam@0
|
12395 emulate sh
|
adam@0
|
12396 NULLCMD=:
|
adam@0
|
12397 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
adam@0
|
12398 # is contrary to our usage. Disable this feature.
|
adam@0
|
12399 alias -g '${1+"$@"}'='"$@"'
|
adam@0
|
12400 setopt NO_GLOB_SUBST
|
adam@0
|
12401 else
|
adam@0
|
12402 case `(set -o) 2>/dev/null` in #(
|
adam@0
|
12403 *posix*) :
|
adam@0
|
12404 set -o posix ;; #(
|
adam@0
|
12405 *) :
|
adam@0
|
12406 ;;
|
adam@0
|
12407 esac
|
adam@0
|
12408 fi
|
adam@0
|
12409
|
adam@0
|
12410
|
adam@0
|
12411 as_nl='
|
adam@0
|
12412 '
|
adam@0
|
12413 export as_nl
|
adam@0
|
12414 # Printing a long string crashes Solaris 7 /usr/bin/printf.
|
adam@0
|
12415 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
adam@0
|
12416 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
adam@0
|
12417 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
adam@0
|
12418 # Prefer a ksh shell builtin over an external printf program on Solaris,
|
adam@0
|
12419 # but without wasting forks for bash or zsh.
|
adam@0
|
12420 if test -z "$BASH_VERSION$ZSH_VERSION" \
|
adam@0
|
12421 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
adam@0
|
12422 as_echo='print -r --'
|
adam@0
|
12423 as_echo_n='print -rn --'
|
adam@0
|
12424 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
adam@0
|
12425 as_echo='printf %s\n'
|
adam@0
|
12426 as_echo_n='printf %s'
|
adam@0
|
12427 else
|
adam@0
|
12428 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
adam@0
|
12429 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
adam@0
|
12430 as_echo_n='/usr/ucb/echo -n'
|
adam@0
|
12431 else
|
adam@0
|
12432 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
adam@0
|
12433 as_echo_n_body='eval
|
adam@0
|
12434 arg=$1;
|
adam@0
|
12435 case $arg in #(
|
adam@0
|
12436 *"$as_nl"*)
|
adam@0
|
12437 expr "X$arg" : "X\\(.*\\)$as_nl";
|
adam@0
|
12438 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
adam@0
|
12439 esac;
|
adam@0
|
12440 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
adam@0
|
12441 '
|
adam@0
|
12442 export as_echo_n_body
|
adam@0
|
12443 as_echo_n='sh -c $as_echo_n_body as_echo'
|
adam@0
|
12444 fi
|
adam@0
|
12445 export as_echo_body
|
adam@0
|
12446 as_echo='sh -c $as_echo_body as_echo'
|
adam@0
|
12447 fi
|
adam@0
|
12448
|
adam@0
|
12449 # The user is always right.
|
adam@0
|
12450 if test "${PATH_SEPARATOR+set}" != set; then
|
adam@0
|
12451 PATH_SEPARATOR=:
|
adam@0
|
12452 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
adam@0
|
12453 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
adam@0
|
12454 PATH_SEPARATOR=';'
|
adam@0
|
12455 }
|
adam@0
|
12456 fi
|
adam@0
|
12457
|
adam@0
|
12458
|
adam@0
|
12459 # IFS
|
adam@0
|
12460 # We need space, tab and new line, in precisely that order. Quoting is
|
adam@0
|
12461 # there to prevent editors from complaining about space-tab.
|
adam@0
|
12462 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
adam@0
|
12463 # splitting by setting IFS to empty value.)
|
adam@0
|
12464 IFS=" "" $as_nl"
|
adam@0
|
12465
|
adam@0
|
12466 # Find who we are. Look in the path if we contain no directory separator.
|
adam@12
|
12467 as_myself=
|
adam@0
|
12468 case $0 in #((
|
adam@0
|
12469 *[\\/]* ) as_myself=$0 ;;
|
adam@0
|
12470 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
adam@0
|
12471 for as_dir in $PATH
|
adam@0
|
12472 do
|
adam@0
|
12473 IFS=$as_save_IFS
|
adam@0
|
12474 test -z "$as_dir" && as_dir=.
|
adam@0
|
12475 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
adam@0
|
12476 done
|
adam@0
|
12477 IFS=$as_save_IFS
|
adam@0
|
12478
|
adam@0
|
12479 ;;
|
adam@0
|
12480 esac
|
adam@0
|
12481 # We did not find ourselves, most probably we were run as `sh COMMAND'
|
adam@0
|
12482 # in which case we are not to be found in the path.
|
adam@0
|
12483 if test "x$as_myself" = x; then
|
adam@0
|
12484 as_myself=$0
|
adam@0
|
12485 fi
|
adam@0
|
12486 if test ! -f "$as_myself"; then
|
adam@0
|
12487 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
adam@0
|
12488 exit 1
|
adam@0
|
12489 fi
|
adam@0
|
12490
|
adam@0
|
12491 # Unset variables that we do not need and which cause bugs (e.g. in
|
adam@0
|
12492 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
adam@0
|
12493 # suppresses any "Segmentation fault" message there. '((' could
|
adam@0
|
12494 # trigger a bug in pdksh 5.2.14.
|
adam@0
|
12495 for as_var in BASH_ENV ENV MAIL MAILPATH
|
adam@0
|
12496 do eval test x\${$as_var+set} = xset \
|
adam@0
|
12497 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
adam@0
|
12498 done
|
adam@0
|
12499 PS1='$ '
|
adam@0
|
12500 PS2='> '
|
adam@0
|
12501 PS4='+ '
|
adam@0
|
12502
|
adam@0
|
12503 # NLS nuisances.
|
adam@0
|
12504 LC_ALL=C
|
adam@0
|
12505 export LC_ALL
|
adam@0
|
12506 LANGUAGE=C
|
adam@0
|
12507 export LANGUAGE
|
adam@0
|
12508
|
adam@0
|
12509 # CDPATH.
|
adam@0
|
12510 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
adam@0
|
12511
|
adam@0
|
12512
|
adam@0
|
12513 # as_fn_error STATUS ERROR [LINENO LOG_FD]
|
adam@0
|
12514 # ----------------------------------------
|
adam@0
|
12515 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
adam@0
|
12516 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
adam@0
|
12517 # script with STATUS, using 1 if that was 0.
|
adam@0
|
12518 as_fn_error ()
|
adam@0
|
12519 {
|
adam@0
|
12520 as_status=$1; test $as_status -eq 0 && as_status=1
|
adam@0
|
12521 if test "$4"; then
|
adam@0
|
12522 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
adam@0
|
12523 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
adam@0
|
12524 fi
|
adam@0
|
12525 $as_echo "$as_me: error: $2" >&2
|
adam@0
|
12526 as_fn_exit $as_status
|
adam@0
|
12527 } # as_fn_error
|
adam@0
|
12528
|
adam@0
|
12529
|
adam@0
|
12530 # as_fn_set_status STATUS
|
adam@0
|
12531 # -----------------------
|
adam@0
|
12532 # Set $? to STATUS, without forking.
|
adam@0
|
12533 as_fn_set_status ()
|
adam@0
|
12534 {
|
adam@0
|
12535 return $1
|
adam@0
|
12536 } # as_fn_set_status
|
adam@0
|
12537
|
adam@0
|
12538 # as_fn_exit STATUS
|
adam@0
|
12539 # -----------------
|
adam@0
|
12540 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
adam@0
|
12541 as_fn_exit ()
|
adam@0
|
12542 {
|
adam@0
|
12543 set +e
|
adam@0
|
12544 as_fn_set_status $1
|
adam@0
|
12545 exit $1
|
adam@0
|
12546 } # as_fn_exit
|
adam@0
|
12547
|
adam@0
|
12548 # as_fn_unset VAR
|
adam@0
|
12549 # ---------------
|
adam@0
|
12550 # Portably unset VAR.
|
adam@0
|
12551 as_fn_unset ()
|
adam@0
|
12552 {
|
adam@0
|
12553 { eval $1=; unset $1;}
|
adam@0
|
12554 }
|
adam@0
|
12555 as_unset=as_fn_unset
|
adam@0
|
12556 # as_fn_append VAR VALUE
|
adam@0
|
12557 # ----------------------
|
adam@0
|
12558 # Append the text in VALUE to the end of the definition contained in VAR. Take
|
adam@0
|
12559 # advantage of any shell optimizations that allow amortized linear growth over
|
adam@0
|
12560 # repeated appends, instead of the typical quadratic growth present in naive
|
adam@0
|
12561 # implementations.
|
adam@0
|
12562 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
adam@0
|
12563 eval 'as_fn_append ()
|
adam@0
|
12564 {
|
adam@0
|
12565 eval $1+=\$2
|
adam@0
|
12566 }'
|
adam@0
|
12567 else
|
adam@0
|
12568 as_fn_append ()
|
adam@0
|
12569 {
|
adam@0
|
12570 eval $1=\$$1\$2
|
adam@0
|
12571 }
|
adam@0
|
12572 fi # as_fn_append
|
adam@0
|
12573
|
adam@0
|
12574 # as_fn_arith ARG...
|
adam@0
|
12575 # ------------------
|
adam@0
|
12576 # Perform arithmetic evaluation on the ARGs, and store the result in the
|
adam@0
|
12577 # global $as_val. Take advantage of shells that can avoid forks. The arguments
|
adam@0
|
12578 # must be portable across $(()) and expr.
|
adam@0
|
12579 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
adam@0
|
12580 eval 'as_fn_arith ()
|
adam@0
|
12581 {
|
adam@0
|
12582 as_val=$(( $* ))
|
adam@0
|
12583 }'
|
adam@0
|
12584 else
|
adam@0
|
12585 as_fn_arith ()
|
adam@0
|
12586 {
|
adam@0
|
12587 as_val=`expr "$@" || test $? -eq 1`
|
adam@0
|
12588 }
|
adam@0
|
12589 fi # as_fn_arith
|
adam@0
|
12590
|
adam@0
|
12591
|
adam@0
|
12592 if expr a : '\(a\)' >/dev/null 2>&1 &&
|
adam@0
|
12593 test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
adam@0
|
12594 as_expr=expr
|
adam@0
|
12595 else
|
adam@0
|
12596 as_expr=false
|
adam@0
|
12597 fi
|
adam@0
|
12598
|
adam@0
|
12599 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
adam@0
|
12600 as_basename=basename
|
adam@0
|
12601 else
|
adam@0
|
12602 as_basename=false
|
adam@0
|
12603 fi
|
adam@0
|
12604
|
adam@0
|
12605 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
adam@0
|
12606 as_dirname=dirname
|
adam@0
|
12607 else
|
adam@0
|
12608 as_dirname=false
|
adam@0
|
12609 fi
|
adam@0
|
12610
|
adam@0
|
12611 as_me=`$as_basename -- "$0" ||
|
adam@0
|
12612 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
adam@0
|
12613 X"$0" : 'X\(//\)$' \| \
|
adam@0
|
12614 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
adam@0
|
12615 $as_echo X/"$0" |
|
adam@0
|
12616 sed '/^.*\/\([^/][^/]*\)\/*$/{
|
adam@0
|
12617 s//\1/
|
adam@0
|
12618 q
|
adam@0
|
12619 }
|
adam@0
|
12620 /^X\/\(\/\/\)$/{
|
adam@0
|
12621 s//\1/
|
adam@0
|
12622 q
|
adam@0
|
12623 }
|
adam@0
|
12624 /^X\/\(\/\).*/{
|
adam@0
|
12625 s//\1/
|
adam@0
|
12626 q
|
adam@0
|
12627 }
|
adam@0
|
12628 s/.*/./; q'`
|
adam@0
|
12629
|
adam@0
|
12630 # Avoid depending upon Character Ranges.
|
adam@0
|
12631 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
adam@0
|
12632 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
adam@0
|
12633 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
adam@0
|
12634 as_cr_digits='0123456789'
|
adam@0
|
12635 as_cr_alnum=$as_cr_Letters$as_cr_digits
|
adam@0
|
12636
|
adam@0
|
12637 ECHO_C= ECHO_N= ECHO_T=
|
adam@0
|
12638 case `echo -n x` in #(((((
|
adam@0
|
12639 -n*)
|
adam@0
|
12640 case `echo 'xy\c'` in
|
adam@0
|
12641 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
adam@0
|
12642 xy) ECHO_C='\c';;
|
adam@0
|
12643 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
adam@0
|
12644 ECHO_T=' ';;
|
adam@0
|
12645 esac;;
|
adam@0
|
12646 *)
|
adam@0
|
12647 ECHO_N='-n';;
|
adam@0
|
12648 esac
|
adam@0
|
12649
|
adam@0
|
12650 rm -f conf$$ conf$$.exe conf$$.file
|
adam@0
|
12651 if test -d conf$$.dir; then
|
adam@0
|
12652 rm -f conf$$.dir/conf$$.file
|
adam@0
|
12653 else
|
adam@0
|
12654 rm -f conf$$.dir
|
adam@0
|
12655 mkdir conf$$.dir 2>/dev/null
|
adam@0
|
12656 fi
|
adam@0
|
12657 if (echo >conf$$.file) 2>/dev/null; then
|
adam@0
|
12658 if ln -s conf$$.file conf$$ 2>/dev/null; then
|
adam@0
|
12659 as_ln_s='ln -s'
|
adam@0
|
12660 # ... but there are two gotchas:
|
adam@0
|
12661 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
adam@0
|
12662 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
adam@0
|
12663 # In both cases, we have to default to `cp -p'.
|
adam@0
|
12664 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
adam@0
|
12665 as_ln_s='cp -p'
|
adam@0
|
12666 elif ln conf$$.file conf$$ 2>/dev/null; then
|
adam@0
|
12667 as_ln_s=ln
|
adam@0
|
12668 else
|
adam@0
|
12669 as_ln_s='cp -p'
|
adam@0
|
12670 fi
|
adam@0
|
12671 else
|
adam@0
|
12672 as_ln_s='cp -p'
|
adam@0
|
12673 fi
|
adam@0
|
12674 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
adam@0
|
12675 rmdir conf$$.dir 2>/dev/null
|
adam@0
|
12676
|
adam@0
|
12677
|
adam@0
|
12678 # as_fn_mkdir_p
|
adam@0
|
12679 # -------------
|
adam@0
|
12680 # Create "$as_dir" as a directory, including parents if necessary.
|
adam@0
|
12681 as_fn_mkdir_p ()
|
adam@0
|
12682 {
|
adam@0
|
12683
|
adam@0
|
12684 case $as_dir in #(
|
adam@0
|
12685 -*) as_dir=./$as_dir;;
|
adam@0
|
12686 esac
|
adam@0
|
12687 test -d "$as_dir" || eval $as_mkdir_p || {
|
adam@0
|
12688 as_dirs=
|
adam@0
|
12689 while :; do
|
adam@0
|
12690 case $as_dir in #(
|
adam@0
|
12691 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
adam@0
|
12692 *) as_qdir=$as_dir;;
|
adam@0
|
12693 esac
|
adam@0
|
12694 as_dirs="'$as_qdir' $as_dirs"
|
adam@0
|
12695 as_dir=`$as_dirname -- "$as_dir" ||
|
adam@0
|
12696 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
adam@0
|
12697 X"$as_dir" : 'X\(//\)[^/]' \| \
|
adam@0
|
12698 X"$as_dir" : 'X\(//\)$' \| \
|
adam@0
|
12699 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
adam@0
|
12700 $as_echo X"$as_dir" |
|
adam@0
|
12701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
adam@0
|
12702 s//\1/
|
adam@0
|
12703 q
|
adam@0
|
12704 }
|
adam@0
|
12705 /^X\(\/\/\)[^/].*/{
|
adam@0
|
12706 s//\1/
|
adam@0
|
12707 q
|
adam@0
|
12708 }
|
adam@0
|
12709 /^X\(\/\/\)$/{
|
adam@0
|
12710 s//\1/
|
adam@0
|
12711 q
|
adam@0
|
12712 }
|
adam@0
|
12713 /^X\(\/\).*/{
|
adam@0
|
12714 s//\1/
|
adam@0
|
12715 q
|
adam@0
|
12716 }
|
adam@0
|
12717 s/.*/./; q'`
|
adam@0
|
12718 test -d "$as_dir" && break
|
adam@0
|
12719 done
|
adam@0
|
12720 test -z "$as_dirs" || eval "mkdir $as_dirs"
|
adam@0
|
12721 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
adam@0
|
12722
|
adam@0
|
12723
|
adam@0
|
12724 } # as_fn_mkdir_p
|
adam@0
|
12725 if mkdir -p . 2>/dev/null; then
|
adam@0
|
12726 as_mkdir_p='mkdir -p "$as_dir"'
|
adam@0
|
12727 else
|
adam@0
|
12728 test -d ./-p && rmdir ./-p
|
adam@0
|
12729 as_mkdir_p=false
|
adam@0
|
12730 fi
|
adam@0
|
12731
|
adam@0
|
12732 if test -x / >/dev/null 2>&1; then
|
adam@0
|
12733 as_test_x='test -x'
|
adam@0
|
12734 else
|
adam@0
|
12735 if ls -dL / >/dev/null 2>&1; then
|
adam@0
|
12736 as_ls_L_option=L
|
adam@0
|
12737 else
|
adam@0
|
12738 as_ls_L_option=
|
adam@0
|
12739 fi
|
adam@0
|
12740 as_test_x='
|
adam@0
|
12741 eval sh -c '\''
|
adam@0
|
12742 if test -d "$1"; then
|
adam@0
|
12743 test -d "$1/.";
|
adam@0
|
12744 else
|
adam@0
|
12745 case $1 in #(
|
adam@0
|
12746 -*)set "./$1";;
|
adam@0
|
12747 esac;
|
adam@0
|
12748 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
adam@0
|
12749 ???[sx]*):;;*)false;;esac;fi
|
adam@0
|
12750 '\'' sh
|
adam@0
|
12751 '
|
adam@0
|
12752 fi
|
adam@0
|
12753 as_executable_p=$as_test_x
|
adam@0
|
12754
|
adam@0
|
12755 # Sed expression to map a string onto a valid CPP name.
|
adam@0
|
12756 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
adam@0
|
12757
|
adam@0
|
12758 # Sed expression to map a string onto a valid variable name.
|
adam@0
|
12759 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
adam@0
|
12760
|
adam@0
|
12761
|
adam@0
|
12762 exec 6>&1
|
adam@0
|
12763 ## ----------------------------------- ##
|
adam@0
|
12764 ## Main body of $CONFIG_STATUS script. ##
|
adam@0
|
12765 ## ----------------------------------- ##
|
adam@0
|
12766 _ASEOF
|
adam@0
|
12767 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
|
adam@0
|
12768
|
adam@0
|
12769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
adam@0
|
12770 # Save the log message, to keep $0 and so on meaningful, and to
|
adam@0
|
12771 # report actual input values of CONFIG_FILES etc. instead of their
|
adam@0
|
12772 # values after options handling.
|
adam@0
|
12773 ac_log="
|
adam@0
|
12774 This file was extended by urweb_feed $as_me 1.0, which was
|
adam@12
|
12775 generated by GNU Autoconf 2.68. Invocation command line was
|
adam@0
|
12776
|
adam@0
|
12777 CONFIG_FILES = $CONFIG_FILES
|
adam@0
|
12778 CONFIG_HEADERS = $CONFIG_HEADERS
|
adam@0
|
12779 CONFIG_LINKS = $CONFIG_LINKS
|
adam@0
|
12780 CONFIG_COMMANDS = $CONFIG_COMMANDS
|
adam@0
|
12781 $ $0 $@
|
adam@0
|
12782
|
adam@0
|
12783 on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
adam@0
|
12784 "
|
adam@0
|
12785
|
adam@0
|
12786 _ACEOF
|
adam@0
|
12787
|
adam@0
|
12788 case $ac_config_files in *"
|
adam@0
|
12789 "*) set x $ac_config_files; shift; ac_config_files=$*;;
|
adam@0
|
12790 esac
|
adam@0
|
12791
|
adam@0
|
12792
|
adam@0
|
12793
|
adam@0
|
12794 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
adam@0
|
12795 # Files that config.status was made for.
|
adam@0
|
12796 config_files="$ac_config_files"
|
adam@0
|
12797 config_commands="$ac_config_commands"
|
adam@0
|
12798
|
adam@0
|
12799 _ACEOF
|
adam@0
|
12800
|
adam@0
|
12801 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
adam@0
|
12802 ac_cs_usage="\
|
adam@0
|
12803 \`$as_me' instantiates files and other configuration actions
|
adam@0
|
12804 from templates according to the current configuration. Unless the files
|
adam@0
|
12805 and actions are specified as TAGs, all are instantiated by default.
|
adam@0
|
12806
|
adam@0
|
12807 Usage: $0 [OPTION]... [TAG]...
|
adam@0
|
12808
|
adam@0
|
12809 -h, --help print this help, then exit
|
adam@0
|
12810 -V, --version print version number and configuration settings, then exit
|
adam@0
|
12811 --config print configuration, then exit
|
adam@0
|
12812 -q, --quiet, --silent
|
adam@0
|
12813 do not print progress messages
|
adam@0
|
12814 -d, --debug don't remove temporary files
|
adam@0
|
12815 --recheck update $as_me by reconfiguring in the same conditions
|
adam@0
|
12816 --file=FILE[:TEMPLATE]
|
adam@0
|
12817 instantiate the configuration file FILE
|
adam@0
|
12818
|
adam@0
|
12819 Configuration files:
|
adam@0
|
12820 $config_files
|
adam@0
|
12821
|
adam@0
|
12822 Configuration commands:
|
adam@0
|
12823 $config_commands
|
adam@0
|
12824
|
adam@0
|
12825 Report bugs to the package provider."
|
adam@0
|
12826
|
adam@0
|
12827 _ACEOF
|
adam@0
|
12828 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
adam@0
|
12829 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
adam@0
|
12830 ac_cs_version="\\
|
adam@0
|
12831 urweb_feed config.status 1.0
|
adam@12
|
12832 configured by $0, generated by GNU Autoconf 2.68,
|
adam@0
|
12833 with options \\"\$ac_cs_config\\"
|
adam@0
|
12834
|
adam@0
|
12835 Copyright (C) 2010 Free Software Foundation, Inc.
|
adam@0
|
12836 This config.status script is free software; the Free Software Foundation
|
adam@0
|
12837 gives unlimited permission to copy, distribute and modify it."
|
adam@0
|
12838
|
adam@0
|
12839 ac_pwd='$ac_pwd'
|
adam@0
|
12840 srcdir='$srcdir'
|
adam@0
|
12841 INSTALL='$INSTALL'
|
adam@0
|
12842 MKDIR_P='$MKDIR_P'
|
adam@0
|
12843 AWK='$AWK'
|
adam@0
|
12844 test -n "\$AWK" || AWK=awk
|
adam@0
|
12845 _ACEOF
|
adam@0
|
12846
|
adam@0
|
12847 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
adam@0
|
12848 # The default lists apply if the user does not specify any file.
|
adam@0
|
12849 ac_need_defaults=:
|
adam@0
|
12850 while test $# != 0
|
adam@0
|
12851 do
|
adam@0
|
12852 case $1 in
|
adam@0
|
12853 --*=?*)
|
adam@0
|
12854 ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
adam@0
|
12855 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
adam@0
|
12856 ac_shift=:
|
adam@0
|
12857 ;;
|
adam@0
|
12858 --*=)
|
adam@0
|
12859 ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
adam@0
|
12860 ac_optarg=
|
adam@0
|
12861 ac_shift=:
|
adam@0
|
12862 ;;
|
adam@0
|
12863 *)
|
adam@0
|
12864 ac_option=$1
|
adam@0
|
12865 ac_optarg=$2
|
adam@0
|
12866 ac_shift=shift
|
adam@0
|
12867 ;;
|
adam@0
|
12868 esac
|
adam@0
|
12869
|
adam@0
|
12870 case $ac_option in
|
adam@0
|
12871 # Handling of the options.
|
adam@0
|
12872 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
adam@0
|
12873 ac_cs_recheck=: ;;
|
adam@0
|
12874 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
adam@0
|
12875 $as_echo "$ac_cs_version"; exit ;;
|
adam@0
|
12876 --config | --confi | --conf | --con | --co | --c )
|
adam@0
|
12877 $as_echo "$ac_cs_config"; exit ;;
|
adam@0
|
12878 --debug | --debu | --deb | --de | --d | -d )
|
adam@0
|
12879 debug=: ;;
|
adam@0
|
12880 --file | --fil | --fi | --f )
|
adam@0
|
12881 $ac_shift
|
adam@0
|
12882 case $ac_optarg in
|
adam@0
|
12883 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
adam@0
|
12884 '') as_fn_error $? "missing file argument" ;;
|
adam@0
|
12885 esac
|
adam@0
|
12886 as_fn_append CONFIG_FILES " '$ac_optarg'"
|
adam@0
|
12887 ac_need_defaults=false;;
|
adam@0
|
12888 --he | --h | --help | --hel | -h )
|
adam@0
|
12889 $as_echo "$ac_cs_usage"; exit ;;
|
adam@0
|
12890 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
adam@0
|
12891 | -silent | --silent | --silen | --sile | --sil | --si | --s)
|
adam@0
|
12892 ac_cs_silent=: ;;
|
adam@0
|
12893
|
adam@0
|
12894 # This is an error.
|
adam@0
|
12895 -*) as_fn_error $? "unrecognized option: \`$1'
|
adam@0
|
12896 Try \`$0 --help' for more information." ;;
|
adam@0
|
12897
|
adam@0
|
12898 *) as_fn_append ac_config_targets " $1"
|
adam@0
|
12899 ac_need_defaults=false ;;
|
adam@0
|
12900
|
adam@0
|
12901 esac
|
adam@0
|
12902 shift
|
adam@0
|
12903 done
|
adam@0
|
12904
|
adam@0
|
12905 ac_configure_extra_args=
|
adam@0
|
12906
|
adam@0
|
12907 if $ac_cs_silent; then
|
adam@0
|
12908 exec 6>/dev/null
|
adam@0
|
12909 ac_configure_extra_args="$ac_configure_extra_args --silent"
|
adam@0
|
12910 fi
|
adam@0
|
12911
|
adam@0
|
12912 _ACEOF
|
adam@0
|
12913 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
adam@0
|
12914 if \$ac_cs_recheck; then
|
adam@0
|
12915 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
adam@0
|
12916 shift
|
adam@0
|
12917 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
adam@0
|
12918 CONFIG_SHELL='$SHELL'
|
adam@0
|
12919 export CONFIG_SHELL
|
adam@0
|
12920 exec "\$@"
|
adam@0
|
12921 fi
|
adam@0
|
12922
|
adam@0
|
12923 _ACEOF
|
adam@0
|
12924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
adam@0
|
12925 exec 5>>config.log
|
adam@0
|
12926 {
|
adam@0
|
12927 echo
|
adam@0
|
12928 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
adam@0
|
12929 ## Running $as_me. ##
|
adam@0
|
12930 _ASBOX
|
adam@0
|
12931 $as_echo "$ac_log"
|
adam@0
|
12932 } >&5
|
adam@0
|
12933
|
adam@0
|
12934 _ACEOF
|
adam@0
|
12935 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
adam@0
|
12936 #
|
adam@0
|
12937 # INIT-COMMANDS
|
adam@0
|
12938 #
|
adam@0
|
12939 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
adam@0
|
12940
|
adam@0
|
12941
|
adam@0
|
12942 # The HP-UX ksh and POSIX shell print the target directory to stdout
|
adam@0
|
12943 # if CDPATH is set.
|
adam@0
|
12944 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
adam@0
|
12945
|
adam@0
|
12946 sed_quote_subst='$sed_quote_subst'
|
adam@0
|
12947 double_quote_subst='$double_quote_subst'
|
adam@0
|
12948 delay_variable_subst='$delay_variable_subst'
|
adam@12
|
12949 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12950 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12951 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12952 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12953 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12954 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12955 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12956 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12957 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12958 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12959 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12960 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12961 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12962 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12963 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12964 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12965 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12966 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12967 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12968 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12969 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12970 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12971 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12972 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12973 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12974 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12975 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12976 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12977 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12978 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12979 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12980 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12981 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12982 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12983 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12984 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12985 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12986 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12987 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12988 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12989 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12990 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12991 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12992 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12993 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12994 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12995 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12996 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12997 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12998 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
12999 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13000 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13001 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13002 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13003 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13004 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"`'
|
adam@12
|
13005 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13006 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13007 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13008 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13009 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13010 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13011 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13012 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13013 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13014 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13015 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13016 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13017 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13018 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13019 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13020 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13021 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13022 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13023 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13024 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13025 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13026 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13027 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13028 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13029 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13030 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13031 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13032 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13033 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13034 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13035 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13036 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13037 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13038 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13039 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13040 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13041 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13042 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13043 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13044 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13045 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13046 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13047 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13048 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13049 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13050 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13051 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13052 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13053 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13054 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13055 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13056 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13057 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13058 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13059 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13060 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13061 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13062 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13063 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13064 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13065 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13066 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13067 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13068 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13069 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13070 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13071 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13072 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13073 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13074 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13075 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13076 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13077 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
|
adam@12
|
13078 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
|
adam@0
|
13079
|
adam@0
|
13080 LTCC='$LTCC'
|
adam@0
|
13081 LTCFLAGS='$LTCFLAGS'
|
adam@0
|
13082 compiler='$compiler_DEFAULT'
|
adam@0
|
13083
|
adam@12
|
13084 # A function that is used when there is no print builtin or printf.
|
adam@12
|
13085 func_fallback_echo ()
|
adam@12
|
13086 {
|
adam@12
|
13087 eval 'cat <<_LTECHO_EOF
|
adam@12
|
13088 \$1
|
adam@12
|
13089 _LTECHO_EOF'
|
adam@12
|
13090 }
|
adam@12
|
13091
|
adam@0
|
13092 # Quote evaled strings.
|
adam@12
|
13093 for var in SHELL \
|
adam@12
|
13094 ECHO \
|
adam@12
|
13095 SED \
|
adam@0
|
13096 GREP \
|
adam@0
|
13097 EGREP \
|
adam@0
|
13098 FGREP \
|
adam@0
|
13099 LD \
|
adam@0
|
13100 NM \
|
adam@0
|
13101 LN_S \
|
adam@0
|
13102 lt_SP2NL \
|
adam@0
|
13103 lt_NL2SP \
|
adam@0
|
13104 reload_flag \
|
adam@0
|
13105 OBJDUMP \
|
adam@0
|
13106 deplibs_check_method \
|
adam@0
|
13107 file_magic_cmd \
|
adam@12
|
13108 file_magic_glob \
|
adam@12
|
13109 want_nocaseglob \
|
adam@12
|
13110 DLLTOOL \
|
adam@12
|
13111 sharedlib_from_linklib_cmd \
|
adam@0
|
13112 AR \
|
adam@0
|
13113 AR_FLAGS \
|
adam@12
|
13114 archiver_list_spec \
|
adam@0
|
13115 STRIP \
|
adam@0
|
13116 RANLIB \
|
adam@0
|
13117 CC \
|
adam@0
|
13118 CFLAGS \
|
adam@0
|
13119 compiler \
|
adam@0
|
13120 lt_cv_sys_global_symbol_pipe \
|
adam@0
|
13121 lt_cv_sys_global_symbol_to_cdecl \
|
adam@0
|
13122 lt_cv_sys_global_symbol_to_c_name_address \
|
adam@0
|
13123 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
|
adam@12
|
13124 nm_file_list_spec \
|
adam@0
|
13125 lt_prog_compiler_no_builtin_flag \
|
adam@12
|
13126 lt_prog_compiler_pic \
|
adam@0
|
13127 lt_prog_compiler_wl \
|
adam@0
|
13128 lt_prog_compiler_static \
|
adam@0
|
13129 lt_cv_prog_compiler_c_o \
|
adam@0
|
13130 need_locks \
|
adam@12
|
13131 MANIFEST_TOOL \
|
adam@0
|
13132 DSYMUTIL \
|
adam@0
|
13133 NMEDIT \
|
adam@0
|
13134 LIPO \
|
adam@0
|
13135 OTOOL \
|
adam@0
|
13136 OTOOL64 \
|
adam@0
|
13137 shrext_cmds \
|
adam@0
|
13138 export_dynamic_flag_spec \
|
adam@0
|
13139 whole_archive_flag_spec \
|
adam@0
|
13140 compiler_needs_object \
|
adam@0
|
13141 with_gnu_ld \
|
adam@0
|
13142 allow_undefined_flag \
|
adam@0
|
13143 no_undefined_flag \
|
adam@0
|
13144 hardcode_libdir_flag_spec \
|
adam@0
|
13145 hardcode_libdir_flag_spec_ld \
|
adam@0
|
13146 hardcode_libdir_separator \
|
adam@0
|
13147 exclude_expsyms \
|
adam@0
|
13148 include_expsyms \
|
adam@0
|
13149 file_list_spec \
|
adam@0
|
13150 variables_saved_for_relink \
|
adam@0
|
13151 libname_spec \
|
adam@0
|
13152 library_names_spec \
|
adam@0
|
13153 soname_spec \
|
adam@12
|
13154 install_override_mode \
|
adam@0
|
13155 finish_eval \
|
adam@0
|
13156 old_striplib \
|
adam@0
|
13157 striplib; do
|
adam@12
|
13158 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
|
adam@0
|
13159 *[\\\\\\\`\\"\\\$]*)
|
adam@12
|
13160 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
|
adam@0
|
13161 ;;
|
adam@0
|
13162 *)
|
adam@0
|
13163 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
|
adam@0
|
13164 ;;
|
adam@0
|
13165 esac
|
adam@0
|
13166 done
|
adam@0
|
13167
|
adam@0
|
13168 # Double-quote double-evaled strings.
|
adam@0
|
13169 for var in reload_cmds \
|
adam@0
|
13170 old_postinstall_cmds \
|
adam@0
|
13171 old_postuninstall_cmds \
|
adam@0
|
13172 old_archive_cmds \
|
adam@0
|
13173 extract_expsyms_cmds \
|
adam@0
|
13174 old_archive_from_new_cmds \
|
adam@0
|
13175 old_archive_from_expsyms_cmds \
|
adam@0
|
13176 archive_cmds \
|
adam@0
|
13177 archive_expsym_cmds \
|
adam@0
|
13178 module_cmds \
|
adam@0
|
13179 module_expsym_cmds \
|
adam@0
|
13180 export_symbols_cmds \
|
adam@0
|
13181 prelink_cmds \
|
adam@12
|
13182 postlink_cmds \
|
adam@0
|
13183 postinstall_cmds \
|
adam@0
|
13184 postuninstall_cmds \
|
adam@0
|
13185 finish_cmds \
|
adam@0
|
13186 sys_lib_search_path_spec \
|
adam@0
|
13187 sys_lib_dlsearch_path_spec; do
|
adam@12
|
13188 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
|
adam@0
|
13189 *[\\\\\\\`\\"\\\$]*)
|
adam@12
|
13190 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
|
adam@0
|
13191 ;;
|
adam@0
|
13192 *)
|
adam@0
|
13193 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
|
adam@0
|
13194 ;;
|
adam@0
|
13195 esac
|
adam@0
|
13196 done
|
adam@0
|
13197
|
adam@0
|
13198 ac_aux_dir='$ac_aux_dir'
|
adam@0
|
13199 xsi_shell='$xsi_shell'
|
adam@0
|
13200 lt_shell_append='$lt_shell_append'
|
adam@0
|
13201
|
adam@0
|
13202 # See if we are running on zsh, and set the options which allow our
|
adam@0
|
13203 # commands through without removal of \ escapes INIT.
|
adam@0
|
13204 if test -n "\${ZSH_VERSION+set}" ; then
|
adam@0
|
13205 setopt NO_GLOB_SUBST
|
adam@0
|
13206 fi
|
adam@0
|
13207
|
adam@0
|
13208
|
adam@0
|
13209 PACKAGE='$PACKAGE'
|
adam@0
|
13210 VERSION='$VERSION'
|
adam@0
|
13211 TIMESTAMP='$TIMESTAMP'
|
adam@0
|
13212 RM='$RM'
|
adam@0
|
13213 ofile='$ofile'
|
adam@0
|
13214
|
adam@0
|
13215
|
adam@0
|
13216
|
adam@0
|
13217
|
adam@0
|
13218 _ACEOF
|
adam@0
|
13219
|
adam@0
|
13220 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
adam@0
|
13221
|
adam@0
|
13222 # Handling of arguments.
|
adam@0
|
13223 for ac_config_target in $ac_config_targets
|
adam@0
|
13224 do
|
adam@0
|
13225 case $ac_config_target in
|
adam@0
|
13226 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
adam@0
|
13227 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
|
adam@0
|
13228 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
adam@0
|
13229 "src/c/Makefile") CONFIG_FILES="$CONFIG_FILES src/c/Makefile" ;;
|
adam@0
|
13230 "src/ur/config.urp") CONFIG_FILES="$CONFIG_FILES src/ur/config.urp" ;;
|
adam@0
|
13231
|
adam@12
|
13232 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
adam@0
|
13233 esac
|
adam@0
|
13234 done
|
adam@0
|
13235
|
adam@0
|
13236
|
adam@0
|
13237 # If the user did not use the arguments to specify the items to instantiate,
|
adam@0
|
13238 # then the envvar interface is used. Set only those that are not.
|
adam@0
|
13239 # We use the long form for the default assignment because of an extremely
|
adam@0
|
13240 # bizarre bug on SunOS 4.1.3.
|
adam@0
|
13241 if $ac_need_defaults; then
|
adam@0
|
13242 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
adam@0
|
13243 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
adam@0
|
13244 fi
|
adam@0
|
13245
|
adam@0
|
13246 # Have a temporary directory for convenience. Make it in the build tree
|
adam@0
|
13247 # simply because there is no reason against having it here, and in addition,
|
adam@0
|
13248 # creating and moving files from /tmp can sometimes cause problems.
|
adam@0
|
13249 # Hook for its removal unless debugging.
|
adam@0
|
13250 # Note that there is a small window in which the directory will not be cleaned:
|
adam@0
|
13251 # after its creation but before its name has been assigned to `$tmp'.
|
adam@0
|
13252 $debug ||
|
adam@0
|
13253 {
|
adam@12
|
13254 tmp= ac_tmp=
|
adam@0
|
13255 trap 'exit_status=$?
|
adam@12
|
13256 : "${ac_tmp:=$tmp}"
|
adam@12
|
13257 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
|
adam@0
|
13258 ' 0
|
adam@0
|
13259 trap 'as_fn_exit 1' 1 2 13 15
|
adam@0
|
13260 }
|
adam@0
|
13261 # Create a (secure) tmp directory for tmp files.
|
adam@0
|
13262
|
adam@0
|
13263 {
|
adam@0
|
13264 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
adam@12
|
13265 test -d "$tmp"
|
adam@0
|
13266 } ||
|
adam@0
|
13267 {
|
adam@0
|
13268 tmp=./conf$$-$RANDOM
|
adam@0
|
13269 (umask 077 && mkdir "$tmp")
|
adam@0
|
13270 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
|
adam@12
|
13271 ac_tmp=$tmp
|
adam@0
|
13272
|
adam@0
|
13273 # Set up the scripts for CONFIG_FILES section.
|
adam@0
|
13274 # No need to generate them if there are no CONFIG_FILES.
|
adam@0
|
13275 # This happens for instance with `./config.status config.h'.
|
adam@0
|
13276 if test -n "$CONFIG_FILES"; then
|
adam@0
|
13277
|
adam@0
|
13278
|
adam@0
|
13279 ac_cr=`echo X | tr X '\015'`
|
adam@0
|
13280 # On cygwin, bash can eat \r inside `` if the user requested igncr.
|
adam@0
|
13281 # But we know of no other shell where ac_cr would be empty at this
|
adam@0
|
13282 # point, so we can use a bashism as a fallback.
|
adam@0
|
13283 if test "x$ac_cr" = x; then
|
adam@0
|
13284 eval ac_cr=\$\'\\r\'
|
adam@0
|
13285 fi
|
adam@0
|
13286 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
adam@0
|
13287 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
adam@0
|
13288 ac_cs_awk_cr='\\r'
|
adam@0
|
13289 else
|
adam@0
|
13290 ac_cs_awk_cr=$ac_cr
|
adam@0
|
13291 fi
|
adam@0
|
13292
|
adam@12
|
13293 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
|
adam@0
|
13294 _ACEOF
|
adam@0
|
13295
|
adam@0
|
13296
|
adam@0
|
13297 {
|
adam@0
|
13298 echo "cat >conf$$subs.awk <<_ACEOF" &&
|
adam@0
|
13299 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
adam@0
|
13300 echo "_ACEOF"
|
adam@0
|
13301 } >conf$$subs.sh ||
|
adam@0
|
13302 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
adam@0
|
13303 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
|
adam@0
|
13304 ac_delim='%!_!# '
|
adam@0
|
13305 for ac_last_try in false false false false false :; do
|
adam@0
|
13306 . ./conf$$subs.sh ||
|
adam@0
|
13307 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
adam@0
|
13308
|
adam@0
|
13309 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
|
adam@0
|
13310 if test $ac_delim_n = $ac_delim_num; then
|
adam@0
|
13311 break
|
adam@0
|
13312 elif $ac_last_try; then
|
adam@0
|
13313 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
adam@0
|
13314 else
|
adam@0
|
13315 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
adam@0
|
13316 fi
|
adam@0
|
13317 done
|
adam@0
|
13318 rm -f conf$$subs.sh
|
adam@0
|
13319
|
adam@0
|
13320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
adam@12
|
13321 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
|
adam@0
|
13322 _ACEOF
|
adam@0
|
13323 sed -n '
|
adam@0
|
13324 h
|
adam@0
|
13325 s/^/S["/; s/!.*/"]=/
|
adam@0
|
13326 p
|
adam@0
|
13327 g
|
adam@0
|
13328 s/^[^!]*!//
|
adam@0
|
13329 :repl
|
adam@0
|
13330 t repl
|
adam@0
|
13331 s/'"$ac_delim"'$//
|
adam@0
|
13332 t delim
|
adam@0
|
13333 :nl
|
adam@0
|
13334 h
|
adam@0
|
13335 s/\(.\{148\}\)..*/\1/
|
adam@0
|
13336 t more1
|
adam@0
|
13337 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
adam@0
|
13338 p
|
adam@0
|
13339 n
|
adam@0
|
13340 b repl
|
adam@0
|
13341 :more1
|
adam@0
|
13342 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
adam@0
|
13343 p
|
adam@0
|
13344 g
|
adam@0
|
13345 s/.\{148\}//
|
adam@0
|
13346 t nl
|
adam@0
|
13347 :delim
|
adam@0
|
13348 h
|
adam@0
|
13349 s/\(.\{148\}\)..*/\1/
|
adam@0
|
13350 t more2
|
adam@0
|
13351 s/["\\]/\\&/g; s/^/"/; s/$/"/
|
adam@0
|
13352 p
|
adam@0
|
13353 b
|
adam@0
|
13354 :more2
|
adam@0
|
13355 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
adam@0
|
13356 p
|
adam@0
|
13357 g
|
adam@0
|
13358 s/.\{148\}//
|
adam@0
|
13359 t delim
|
adam@0
|
13360 ' <conf$$subs.awk | sed '
|
adam@0
|
13361 /^[^""]/{
|
adam@0
|
13362 N
|
adam@0
|
13363 s/\n//
|
adam@0
|
13364 }
|
adam@0
|
13365 ' >>$CONFIG_STATUS || ac_write_fail=1
|
adam@0
|
13366 rm -f conf$$subs.awk
|
adam@0
|
13367 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
adam@0
|
13368 _ACAWK
|
adam@12
|
13369 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
|
adam@0
|
13370 for (key in S) S_is_set[key] = 1
|
adam@0
|
13371 FS = ""
|
adam@0
|
13372
|
adam@0
|
13373 }
|
adam@0
|
13374 {
|
adam@0
|
13375 line = $ 0
|
adam@0
|
13376 nfields = split(line, field, "@")
|
adam@0
|
13377 substed = 0
|
adam@0
|
13378 len = length(field[1])
|
adam@0
|
13379 for (i = 2; i < nfields; i++) {
|
adam@0
|
13380 key = field[i]
|
adam@0
|
13381 keylen = length(key)
|
adam@0
|
13382 if (S_is_set[key]) {
|
adam@0
|
13383 value = S[key]
|
adam@0
|
13384 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
adam@0
|
13385 len += length(value) + length(field[++i])
|
adam@0
|
13386 substed = 1
|
adam@0
|
13387 } else
|
adam@0
|
13388 len += 1 + keylen
|
adam@0
|
13389 }
|
adam@0
|
13390
|
adam@0
|
13391 print line
|
adam@0
|
13392 }
|
adam@0
|
13393
|
adam@0
|
13394 _ACAWK
|
adam@0
|
13395 _ACEOF
|
adam@0
|
13396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
adam@0
|
13397 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
adam@0
|
13398 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
adam@0
|
13399 else
|
adam@0
|
13400 cat
|
adam@12
|
13401 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
|
adam@0
|
13402 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
|
adam@0
|
13403 _ACEOF
|
adam@0
|
13404
|
adam@0
|
13405 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
|
adam@0
|
13406 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
|
adam@0
|
13407 # trailing colons and then remove the whole line if VPATH becomes empty
|
adam@0
|
13408 # (actually we leave an empty line to preserve line numbers).
|
adam@0
|
13409 if test "x$srcdir" = x.; then
|
adam@0
|
13410 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
|
adam@0
|
13411 h
|
adam@0
|
13412 s///
|
adam@0
|
13413 s/^/:/
|
adam@0
|
13414 s/[ ]*$/:/
|
adam@0
|
13415 s/:\$(srcdir):/:/g
|
adam@0
|
13416 s/:\${srcdir}:/:/g
|
adam@0
|
13417 s/:@srcdir@:/:/g
|
adam@0
|
13418 s/^:*//
|
adam@0
|
13419 s/:*$//
|
adam@0
|
13420 x
|
adam@0
|
13421 s/\(=[ ]*\).*/\1/
|
adam@0
|
13422 G
|
adam@0
|
13423 s/\n//
|
adam@0
|
13424 s/^[^=]*=[ ]*$//
|
adam@0
|
13425 }'
|
adam@0
|
13426 fi
|
adam@0
|
13427
|
adam@0
|
13428 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
adam@0
|
13429 fi # test -n "$CONFIG_FILES"
|
adam@0
|
13430
|
adam@0
|
13431
|
adam@0
|
13432 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
|
adam@0
|
13433 shift
|
adam@0
|
13434 for ac_tag
|
adam@0
|
13435 do
|
adam@0
|
13436 case $ac_tag in
|
adam@0
|
13437 :[FHLC]) ac_mode=$ac_tag; continue;;
|
adam@0
|
13438 esac
|
adam@0
|
13439 case $ac_mode$ac_tag in
|
adam@0
|
13440 :[FHL]*:*);;
|
adam@12
|
13441 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
|
adam@0
|
13442 :[FH]-) ac_tag=-:-;;
|
adam@0
|
13443 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
adam@0
|
13444 esac
|
adam@0
|
13445 ac_save_IFS=$IFS
|
adam@0
|
13446 IFS=:
|
adam@0
|
13447 set x $ac_tag
|
adam@0
|
13448 IFS=$ac_save_IFS
|
adam@0
|
13449 shift
|
adam@0
|
13450 ac_file=$1
|
adam@0
|
13451 shift
|
adam@0
|
13452
|
adam@0
|
13453 case $ac_mode in
|
adam@0
|
13454 :L) ac_source=$1;;
|
adam@0
|
13455 :[FH])
|
adam@0
|
13456 ac_file_inputs=
|
adam@0
|
13457 for ac_f
|
adam@0
|
13458 do
|
adam@0
|
13459 case $ac_f in
|
adam@12
|
13460 -) ac_f="$ac_tmp/stdin";;
|
adam@0
|
13461 *) # Look for the file first in the build tree, then in the source tree
|
adam@0
|
13462 # (if the path is not absolute). The absolute path cannot be DOS-style,
|
adam@0
|
13463 # because $ac_f cannot contain `:'.
|
adam@0
|
13464 test -f "$ac_f" ||
|
adam@0
|
13465 case $ac_f in
|
adam@0
|
13466 [\\/$]*) false;;
|
adam@0
|
13467 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
adam@0
|
13468 esac ||
|
adam@12
|
13469 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
adam@0
|
13470 esac
|
adam@0
|
13471 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
adam@0
|
13472 as_fn_append ac_file_inputs " '$ac_f'"
|
adam@0
|
13473 done
|
adam@0
|
13474
|
adam@0
|
13475 # Let's still pretend it is `configure' which instantiates (i.e., don't
|
adam@0
|
13476 # use $as_me), people would be surprised to read:
|
adam@0
|
13477 # /* config.h. Generated by config.status. */
|
adam@0
|
13478 configure_input='Generated from '`
|
adam@0
|
13479 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
adam@0
|
13480 `' by configure.'
|
adam@0
|
13481 if test x"$ac_file" != x-; then
|
adam@0
|
13482 configure_input="$ac_file. $configure_input"
|
adam@0
|
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
adam@0
|
13484 $as_echo "$as_me: creating $ac_file" >&6;}
|
adam@0
|
13485 fi
|
adam@0
|
13486 # Neutralize special characters interpreted by sed in replacement strings.
|
adam@0
|
13487 case $configure_input in #(
|
adam@0
|
13488 *\&* | *\|* | *\\* )
|
adam@0
|
13489 ac_sed_conf_input=`$as_echo "$configure_input" |
|
adam@0
|
13490 sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
adam@0
|
13491 *) ac_sed_conf_input=$configure_input;;
|
adam@0
|
13492 esac
|
adam@0
|
13493
|
adam@0
|
13494 case $ac_tag in
|
adam@12
|
13495 *:-:* | *:-) cat >"$ac_tmp/stdin" \
|
adam@12
|
13496 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
|
adam@0
|
13497 esac
|
adam@0
|
13498 ;;
|
adam@0
|
13499 esac
|
adam@0
|
13500
|
adam@0
|
13501 ac_dir=`$as_dirname -- "$ac_file" ||
|
adam@0
|
13502 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
adam@0
|
13503 X"$ac_file" : 'X\(//\)[^/]' \| \
|
adam@0
|
13504 X"$ac_file" : 'X\(//\)$' \| \
|
adam@0
|
13505 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
adam@0
|
13506 $as_echo X"$ac_file" |
|
adam@0
|
13507 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
adam@0
|
13508 s//\1/
|
adam@0
|
13509 q
|
adam@0
|
13510 }
|
adam@0
|
13511 /^X\(\/\/\)[^/].*/{
|
adam@0
|
13512 s//\1/
|
adam@0
|
13513 q
|
adam@0
|
13514 }
|
adam@0
|
13515 /^X\(\/\/\)$/{
|
adam@0
|
13516 s//\1/
|
adam@0
|
13517 q
|
adam@0
|
13518 }
|
adam@0
|
13519 /^X\(\/\).*/{
|
adam@0
|
13520 s//\1/
|
adam@0
|
13521 q
|
adam@0
|
13522 }
|
adam@0
|
13523 s/.*/./; q'`
|
adam@0
|
13524 as_dir="$ac_dir"; as_fn_mkdir_p
|
adam@0
|
13525 ac_builddir=.
|
adam@0
|
13526
|
adam@0
|
13527 case "$ac_dir" in
|
adam@0
|
13528 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
adam@0
|
13529 *)
|
adam@0
|
13530 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
adam@0
|
13531 # A ".." for each directory in $ac_dir_suffix.
|
adam@0
|
13532 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
adam@0
|
13533 case $ac_top_builddir_sub in
|
adam@0
|
13534 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
adam@0
|
13535 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
adam@0
|
13536 esac ;;
|
adam@0
|
13537 esac
|
adam@0
|
13538 ac_abs_top_builddir=$ac_pwd
|
adam@0
|
13539 ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
adam@0
|
13540 # for backward compatibility:
|
adam@0
|
13541 ac_top_builddir=$ac_top_build_prefix
|
adam@0
|
13542
|
adam@0
|
13543 case $srcdir in
|
adam@0
|
13544 .) # We are building in place.
|
adam@0
|
13545 ac_srcdir=.
|
adam@0
|
13546 ac_top_srcdir=$ac_top_builddir_sub
|
adam@0
|
13547 ac_abs_top_srcdir=$ac_pwd ;;
|
adam@0
|
13548 [\\/]* | ?:[\\/]* ) # Absolute name.
|
adam@0
|
13549 ac_srcdir=$srcdir$ac_dir_suffix;
|
adam@0
|
13550 ac_top_srcdir=$srcdir
|
adam@0
|
13551 ac_abs_top_srcdir=$srcdir ;;
|
adam@0
|
13552 *) # Relative name.
|
adam@0
|
13553 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
adam@0
|
13554 ac_top_srcdir=$ac_top_build_prefix$srcdir
|
adam@0
|
13555 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
adam@0
|
13556 esac
|
adam@0
|
13557 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
adam@0
|
13558
|
adam@0
|
13559
|
adam@0
|
13560 case $ac_mode in
|
adam@0
|
13561 :F)
|
adam@0
|
13562 #
|
adam@0
|
13563 # CONFIG_FILE
|
adam@0
|
13564 #
|
adam@0
|
13565
|
adam@0
|
13566 case $INSTALL in
|
adam@0
|
13567 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
adam@0
|
13568 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
adam@0
|
13569 esac
|
adam@0
|
13570 ac_MKDIR_P=$MKDIR_P
|
adam@0
|
13571 case $MKDIR_P in
|
adam@0
|
13572 [\\/$]* | ?:[\\/]* ) ;;
|
adam@0
|
13573 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
|
adam@0
|
13574 esac
|
adam@0
|
13575 _ACEOF
|
adam@0
|
13576
|
adam@0
|
13577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
adam@0
|
13578 # If the template does not know about datarootdir, expand it.
|
adam@0
|
13579 # FIXME: This hack should be removed a few years after 2.60.
|
adam@0
|
13580 ac_datarootdir_hack=; ac_datarootdir_seen=
|
adam@0
|
13581 ac_sed_dataroot='
|
adam@0
|
13582 /datarootdir/ {
|
adam@0
|
13583 p
|
adam@0
|
13584 q
|
adam@0
|
13585 }
|
adam@0
|
13586 /@datadir@/p
|
adam@0
|
13587 /@docdir@/p
|
adam@0
|
13588 /@infodir@/p
|
adam@0
|
13589 /@localedir@/p
|
adam@0
|
13590 /@mandir@/p'
|
adam@0
|
13591 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
adam@0
|
13592 *datarootdir*) ac_datarootdir_seen=yes;;
|
adam@0
|
13593 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
adam@0
|
13594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
adam@0
|
13595 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
adam@0
|
13596 _ACEOF
|
adam@0
|
13597 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
adam@0
|
13598 ac_datarootdir_hack='
|
adam@0
|
13599 s&@datadir@&$datadir&g
|
adam@0
|
13600 s&@docdir@&$docdir&g
|
adam@0
|
13601 s&@infodir@&$infodir&g
|
adam@0
|
13602 s&@localedir@&$localedir&g
|
adam@0
|
13603 s&@mandir@&$mandir&g
|
adam@0
|
13604 s&\\\${datarootdir}&$datarootdir&g' ;;
|
adam@0
|
13605 esac
|
adam@0
|
13606 _ACEOF
|
adam@0
|
13607
|
adam@0
|
13608 # Neutralize VPATH when `$srcdir' = `.'.
|
adam@0
|
13609 # Shell code in configure.ac might set extrasub.
|
adam@0
|
13610 # FIXME: do we really want to maintain this feature?
|
adam@0
|
13611 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
adam@0
|
13612 ac_sed_extra="$ac_vpsub
|
adam@0
|
13613 $extrasub
|
adam@0
|
13614 _ACEOF
|
adam@0
|
13615 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
adam@0
|
13616 :t
|
adam@0
|
13617 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
adam@0
|
13618 s|@configure_input@|$ac_sed_conf_input|;t t
|
adam@0
|
13619 s&@top_builddir@&$ac_top_builddir_sub&;t t
|
adam@0
|
13620 s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
adam@0
|
13621 s&@srcdir@&$ac_srcdir&;t t
|
adam@0
|
13622 s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
adam@0
|
13623 s&@top_srcdir@&$ac_top_srcdir&;t t
|
adam@0
|
13624 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
adam@0
|
13625 s&@builddir@&$ac_builddir&;t t
|
adam@0
|
13626 s&@abs_builddir@&$ac_abs_builddir&;t t
|
adam@0
|
13627 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
adam@0
|
13628 s&@INSTALL@&$ac_INSTALL&;t t
|
adam@0
|
13629 s&@MKDIR_P@&$ac_MKDIR_P&;t t
|
adam@0
|
13630 $ac_datarootdir_hack
|
adam@0
|
13631 "
|
adam@12
|
13632 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
|
adam@12
|
13633 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
adam@0
|
13634
|
adam@0
|
13635 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
adam@12
|
13636 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
|
adam@12
|
13637 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
|
adam@12
|
13638 "$ac_tmp/out"`; test -z "$ac_out"; } &&
|
adam@0
|
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
adam@0
|
13640 which seems to be undefined. Please make sure it is defined" >&5
|
adam@0
|
13641 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
adam@0
|
13642 which seems to be undefined. Please make sure it is defined" >&2;}
|
adam@0
|
13643
|
adam@12
|
13644 rm -f "$ac_tmp/stdin"
|
adam@0
|
13645 case $ac_file in
|
adam@12
|
13646 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
|
adam@12
|
13647 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
|
adam@0
|
13648 esac \
|
adam@0
|
13649 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
adam@0
|
13650 ;;
|
adam@0
|
13651
|
adam@0
|
13652
|
adam@0
|
13653 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
|
adam@0
|
13654 $as_echo "$as_me: executing $ac_file commands" >&6;}
|
adam@0
|
13655 ;;
|
adam@0
|
13656 esac
|
adam@0
|
13657
|
adam@0
|
13658
|
adam@0
|
13659 case $ac_file$ac_mode in
|
adam@0
|
13660 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
|
adam@0
|
13661 # Autoconf 2.62 quotes --file arguments for eval, but not when files
|
adam@0
|
13662 # are listed without --file. Let's play safe and only enable the eval
|
adam@0
|
13663 # if we detect the quoting.
|
adam@0
|
13664 case $CONFIG_FILES in
|
adam@0
|
13665 *\'*) eval set x "$CONFIG_FILES" ;;
|
adam@0
|
13666 *) set x $CONFIG_FILES ;;
|
adam@0
|
13667 esac
|
adam@0
|
13668 shift
|
adam@0
|
13669 for mf
|
adam@0
|
13670 do
|
adam@0
|
13671 # Strip MF so we end up with the name of the file.
|
adam@0
|
13672 mf=`echo "$mf" | sed -e 's/:.*$//'`
|
adam@0
|
13673 # Check whether this is an Automake generated Makefile or not.
|
adam@0
|
13674 # We used to match only the files named `Makefile.in', but
|
adam@0
|
13675 # some people rename them; so instead we look at the file content.
|
adam@0
|
13676 # Grep'ing the first line is not enough: some people post-process
|
adam@0
|
13677 # each Makefile.in and add a new line on top of each file to say so.
|
adam@0
|
13678 # Grep'ing the whole file is not good either: AIX grep has a line
|
adam@0
|
13679 # limit of 2048, but all sed's we know have understand at least 4000.
|
adam@0
|
13680 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
|
adam@0
|
13681 dirpart=`$as_dirname -- "$mf" ||
|
adam@0
|
13682 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
adam@0
|
13683 X"$mf" : 'X\(//\)[^/]' \| \
|
adam@0
|
13684 X"$mf" : 'X\(//\)$' \| \
|
adam@0
|
13685 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
|
adam@0
|
13686 $as_echo X"$mf" |
|
adam@0
|
13687 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
adam@0
|
13688 s//\1/
|
adam@0
|
13689 q
|
adam@0
|
13690 }
|
adam@0
|
13691 /^X\(\/\/\)[^/].*/{
|
adam@0
|
13692 s//\1/
|
adam@0
|
13693 q
|
adam@0
|
13694 }
|
adam@0
|
13695 /^X\(\/\/\)$/{
|
adam@0
|
13696 s//\1/
|
adam@0
|
13697 q
|
adam@0
|
13698 }
|
adam@0
|
13699 /^X\(\/\).*/{
|
adam@0
|
13700 s//\1/
|
adam@0
|
13701 q
|
adam@0
|
13702 }
|
adam@0
|
13703 s/.*/./; q'`
|
adam@0
|
13704 else
|
adam@0
|
13705 continue
|
adam@0
|
13706 fi
|
adam@0
|
13707 # Extract the definition of DEPDIR, am__include, and am__quote
|
adam@0
|
13708 # from the Makefile without running `make'.
|
adam@0
|
13709 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
adam@0
|
13710 test -z "$DEPDIR" && continue
|
adam@0
|
13711 am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
adam@0
|
13712 test -z "am__include" && continue
|
adam@0
|
13713 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
adam@0
|
13714 # When using ansi2knr, U may be empty or an underscore; expand it
|
adam@0
|
13715 U=`sed -n 's/^U = //p' < "$mf"`
|
adam@0
|
13716 # Find all dependency output files, they are included files with
|
adam@0
|
13717 # $(DEPDIR) in their names. We invoke sed twice because it is the
|
adam@0
|
13718 # simplest approach to changing $(DEPDIR) to its actual value in the
|
adam@0
|
13719 # expansion.
|
adam@0
|
13720 for file in `sed -n "
|
adam@0
|
13721 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
adam@0
|
13722 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
adam@0
|
13723 # Make sure the directory exists.
|
adam@0
|
13724 test -f "$dirpart/$file" && continue
|
adam@0
|
13725 fdir=`$as_dirname -- "$file" ||
|
adam@0
|
13726 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
adam@0
|
13727 X"$file" : 'X\(//\)[^/]' \| \
|
adam@0
|
13728 X"$file" : 'X\(//\)$' \| \
|
adam@0
|
13729 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
|
adam@0
|
13730 $as_echo X"$file" |
|
adam@0
|
13731 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
adam@0
|
13732 s//\1/
|
adam@0
|
13733 q
|
adam@0
|
13734 }
|
adam@0
|
13735 /^X\(\/\/\)[^/].*/{
|
adam@0
|
13736 s//\1/
|
adam@0
|
13737 q
|
adam@0
|
13738 }
|
adam@0
|
13739 /^X\(\/\/\)$/{
|
adam@0
|
13740 s//\1/
|
adam@0
|
13741 q
|
adam@0
|
13742 }
|
adam@0
|
13743 /^X\(\/\).*/{
|
adam@0
|
13744 s//\1/
|
adam@0
|
13745 q
|
adam@0
|
13746 }
|
adam@0
|
13747 s/.*/./; q'`
|
adam@0
|
13748 as_dir=$dirpart/$fdir; as_fn_mkdir_p
|
adam@0
|
13749 # echo "creating $dirpart/$file"
|
adam@0
|
13750 echo '# dummy' > "$dirpart/$file"
|
adam@0
|
13751 done
|
adam@0
|
13752 done
|
adam@0
|
13753 }
|
adam@0
|
13754 ;;
|
adam@0
|
13755 "libtool":C)
|
adam@0
|
13756
|
adam@0
|
13757 # See if we are running on zsh, and set the options which allow our
|
adam@0
|
13758 # commands through without removal of \ escapes.
|
adam@0
|
13759 if test -n "${ZSH_VERSION+set}" ; then
|
adam@0
|
13760 setopt NO_GLOB_SUBST
|
adam@0
|
13761 fi
|
adam@0
|
13762
|
adam@0
|
13763 cfgfile="${ofile}T"
|
adam@0
|
13764 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
|
adam@0
|
13765 $RM "$cfgfile"
|
adam@0
|
13766
|
adam@0
|
13767 cat <<_LT_EOF >> "$cfgfile"
|
adam@0
|
13768 #! $SHELL
|
adam@0
|
13769
|
adam@0
|
13770 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
|
adam@0
|
13771 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
|
adam@0
|
13772 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
|
adam@0
|
13773 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
|
adam@0
|
13774 #
|
adam@0
|
13775 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
|
adam@12
|
13776 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
|
adam@12
|
13777 # Inc.
|
adam@0
|
13778 # Written by Gordon Matzigkeit, 1996
|
adam@0
|
13779 #
|
adam@0
|
13780 # This file is part of GNU Libtool.
|
adam@0
|
13781 #
|
adam@0
|
13782 # GNU Libtool is free software; you can redistribute it and/or
|
adam@0
|
13783 # modify it under the terms of the GNU General Public License as
|
adam@0
|
13784 # published by the Free Software Foundation; either version 2 of
|
adam@0
|
13785 # the License, or (at your option) any later version.
|
adam@0
|
13786 #
|
adam@0
|
13787 # As a special exception to the GNU General Public License,
|
adam@0
|
13788 # if you distribute this file as part of a program or library that
|
adam@0
|
13789 # is built using GNU Libtool, you may include this file under the
|
adam@0
|
13790 # same distribution terms that you use for the rest of that program.
|
adam@0
|
13791 #
|
adam@0
|
13792 # GNU Libtool is distributed in the hope that it will be useful,
|
adam@0
|
13793 # but WITHOUT ANY WARRANTY; without even the implied warranty of
|
adam@0
|
13794 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
adam@0
|
13795 # GNU General Public License for more details.
|
adam@0
|
13796 #
|
adam@0
|
13797 # You should have received a copy of the GNU General Public License
|
adam@0
|
13798 # along with GNU Libtool; see the file COPYING. If not, a copy
|
adam@0
|
13799 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
|
adam@0
|
13800 # obtained by writing to the Free Software Foundation, Inc.,
|
adam@0
|
13801 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
adam@0
|
13802
|
adam@0
|
13803
|
adam@0
|
13804 # The names of the tagged configurations supported by this script.
|
adam@0
|
13805 available_tags=""
|
adam@0
|
13806
|
adam@0
|
13807 # ### BEGIN LIBTOOL CONFIG
|
adam@0
|
13808
|
adam@0
|
13809 # Which release of libtool.m4 was used?
|
adam@0
|
13810 macro_version=$macro_version
|
adam@0
|
13811 macro_revision=$macro_revision
|
adam@0
|
13812
|
adam@0
|
13813 # Whether or not to build shared libraries.
|
adam@0
|
13814 build_libtool_libs=$enable_shared
|
adam@0
|
13815
|
adam@0
|
13816 # Whether or not to build static libraries.
|
adam@0
|
13817 build_old_libs=$enable_static
|
adam@0
|
13818
|
adam@0
|
13819 # What type of objects to build.
|
adam@0
|
13820 pic_mode=$pic_mode
|
adam@0
|
13821
|
adam@0
|
13822 # Whether or not to optimize for fast installation.
|
adam@0
|
13823 fast_install=$enable_fast_install
|
adam@0
|
13824
|
adam@12
|
13825 # Shell to use when invoking shell scripts.
|
adam@12
|
13826 SHELL=$lt_SHELL
|
adam@12
|
13827
|
adam@12
|
13828 # An echo program that protects backslashes.
|
adam@12
|
13829 ECHO=$lt_ECHO
|
adam@12
|
13830
|
adam@0
|
13831 # The host system.
|
adam@0
|
13832 host_alias=$host_alias
|
adam@0
|
13833 host=$host
|
adam@0
|
13834 host_os=$host_os
|
adam@0
|
13835
|
adam@0
|
13836 # The build system.
|
adam@0
|
13837 build_alias=$build_alias
|
adam@0
|
13838 build=$build
|
adam@0
|
13839 build_os=$build_os
|
adam@0
|
13840
|
adam@0
|
13841 # A sed program that does not truncate output.
|
adam@0
|
13842 SED=$lt_SED
|
adam@0
|
13843
|
adam@0
|
13844 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
|
adam@0
|
13845 Xsed="\$SED -e 1s/^X//"
|
adam@0
|
13846
|
adam@0
|
13847 # A grep program that handles long lines.
|
adam@0
|
13848 GREP=$lt_GREP
|
adam@0
|
13849
|
adam@0
|
13850 # An ERE matcher.
|
adam@0
|
13851 EGREP=$lt_EGREP
|
adam@0
|
13852
|
adam@0
|
13853 # A literal string matcher.
|
adam@0
|
13854 FGREP=$lt_FGREP
|
adam@0
|
13855
|
adam@0
|
13856 # A BSD- or MS-compatible name lister.
|
adam@0
|
13857 NM=$lt_NM
|
adam@0
|
13858
|
adam@0
|
13859 # Whether we need soft or hard links.
|
adam@0
|
13860 LN_S=$lt_LN_S
|
adam@0
|
13861
|
adam@0
|
13862 # What is the maximum length of a command?
|
adam@0
|
13863 max_cmd_len=$max_cmd_len
|
adam@0
|
13864
|
adam@0
|
13865 # Object file suffix (normally "o").
|
adam@0
|
13866 objext=$ac_objext
|
adam@0
|
13867
|
adam@0
|
13868 # Executable file suffix (normally "").
|
adam@0
|
13869 exeext=$exeext
|
adam@0
|
13870
|
adam@0
|
13871 # whether the shell understands "unset".
|
adam@0
|
13872 lt_unset=$lt_unset
|
adam@0
|
13873
|
adam@0
|
13874 # turn spaces into newlines.
|
adam@0
|
13875 SP2NL=$lt_lt_SP2NL
|
adam@0
|
13876
|
adam@0
|
13877 # turn newlines into spaces.
|
adam@0
|
13878 NL2SP=$lt_lt_NL2SP
|
adam@0
|
13879
|
adam@12
|
13880 # convert \$build file names to \$host format.
|
adam@12
|
13881 to_host_file_cmd=$lt_cv_to_host_file_cmd
|
adam@12
|
13882
|
adam@12
|
13883 # convert \$build files to toolchain format.
|
adam@12
|
13884 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
|
adam@0
|
13885
|
adam@0
|
13886 # An object symbol dumper.
|
adam@0
|
13887 OBJDUMP=$lt_OBJDUMP
|
adam@0
|
13888
|
adam@0
|
13889 # Method to check whether dependent libraries are shared objects.
|
adam@0
|
13890 deplibs_check_method=$lt_deplibs_check_method
|
adam@0
|
13891
|
adam@12
|
13892 # Command to use when deplibs_check_method = "file_magic".
|
adam@0
|
13893 file_magic_cmd=$lt_file_magic_cmd
|
adam@0
|
13894
|
adam@12
|
13895 # How to find potential files when deplibs_check_method = "file_magic".
|
adam@12
|
13896 file_magic_glob=$lt_file_magic_glob
|
adam@12
|
13897
|
adam@12
|
13898 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
|
adam@12
|
13899 want_nocaseglob=$lt_want_nocaseglob
|
adam@12
|
13900
|
adam@12
|
13901 # DLL creation program.
|
adam@12
|
13902 DLLTOOL=$lt_DLLTOOL
|
adam@12
|
13903
|
adam@12
|
13904 # Command to associate shared and link libraries.
|
adam@12
|
13905 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
|
adam@12
|
13906
|
adam@0
|
13907 # The archiver.
|
adam@0
|
13908 AR=$lt_AR
|
adam@12
|
13909
|
adam@12
|
13910 # Flags to create an archive.
|
adam@0
|
13911 AR_FLAGS=$lt_AR_FLAGS
|
adam@0
|
13912
|
adam@12
|
13913 # How to feed a file listing to the archiver.
|
adam@12
|
13914 archiver_list_spec=$lt_archiver_list_spec
|
adam@12
|
13915
|
adam@0
|
13916 # A symbol stripping program.
|
adam@0
|
13917 STRIP=$lt_STRIP
|
adam@0
|
13918
|
adam@0
|
13919 # Commands used to install an old-style archive.
|
adam@0
|
13920 RANLIB=$lt_RANLIB
|
adam@0
|
13921 old_postinstall_cmds=$lt_old_postinstall_cmds
|
adam@0
|
13922 old_postuninstall_cmds=$lt_old_postuninstall_cmds
|
adam@0
|
13923
|
adam@12
|
13924 # Whether to use a lock for old archive extraction.
|
adam@12
|
13925 lock_old_archive_extraction=$lock_old_archive_extraction
|
adam@12
|
13926
|
adam@0
|
13927 # A C compiler.
|
adam@0
|
13928 LTCC=$lt_CC
|
adam@0
|
13929
|
adam@0
|
13930 # LTCC compiler flags.
|
adam@0
|
13931 LTCFLAGS=$lt_CFLAGS
|
adam@0
|
13932
|
adam@0
|
13933 # Take the output of nm and produce a listing of raw symbols and C names.
|
adam@0
|
13934 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
|
adam@0
|
13935
|
adam@0
|
13936 # Transform the output of nm in a proper C declaration.
|
adam@0
|
13937 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
|
adam@0
|
13938
|
adam@0
|
13939 # Transform the output of nm in a C name address pair.
|
adam@0
|
13940 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
|
adam@0
|
13941
|
adam@0
|
13942 # Transform the output of nm in a C name address pair when lib prefix is needed.
|
adam@0
|
13943 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
|
adam@0
|
13944
|
adam@12
|
13945 # Specify filename containing input files for \$NM.
|
adam@12
|
13946 nm_file_list_spec=$lt_nm_file_list_spec
|
adam@12
|
13947
|
adam@12
|
13948 # The root where to search for dependent libraries,and in which our libraries should be installed.
|
adam@12
|
13949 lt_sysroot=$lt_sysroot
|
adam@12
|
13950
|
adam@0
|
13951 # The name of the directory that contains temporary libtool files.
|
adam@0
|
13952 objdir=$objdir
|
adam@0
|
13953
|
adam@0
|
13954 # Used to examine libraries when file_magic_cmd begins with "file".
|
adam@0
|
13955 MAGIC_CMD=$MAGIC_CMD
|
adam@0
|
13956
|
adam@0
|
13957 # Must we lock files when doing compilation?
|
adam@0
|
13958 need_locks=$lt_need_locks
|
adam@0
|
13959
|
adam@12
|
13960 # Manifest tool.
|
adam@12
|
13961 MANIFEST_TOOL=$lt_MANIFEST_TOOL
|
adam@12
|
13962
|
adam@0
|
13963 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
|
adam@0
|
13964 DSYMUTIL=$lt_DSYMUTIL
|
adam@0
|
13965
|
adam@0
|
13966 # Tool to change global to local symbols on Mac OS X.
|
adam@0
|
13967 NMEDIT=$lt_NMEDIT
|
adam@0
|
13968
|
adam@0
|
13969 # Tool to manipulate fat objects and archives on Mac OS X.
|
adam@0
|
13970 LIPO=$lt_LIPO
|
adam@0
|
13971
|
adam@0
|
13972 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
|
adam@0
|
13973 OTOOL=$lt_OTOOL
|
adam@0
|
13974
|
adam@0
|
13975 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
|
adam@0
|
13976 OTOOL64=$lt_OTOOL64
|
adam@0
|
13977
|
adam@0
|
13978 # Old archive suffix (normally "a").
|
adam@0
|
13979 libext=$libext
|
adam@0
|
13980
|
adam@0
|
13981 # Shared library suffix (normally ".so").
|
adam@0
|
13982 shrext_cmds=$lt_shrext_cmds
|
adam@0
|
13983
|
adam@0
|
13984 # The commands to extract the exported symbol list from a shared archive.
|
adam@0
|
13985 extract_expsyms_cmds=$lt_extract_expsyms_cmds
|
adam@0
|
13986
|
adam@0
|
13987 # Variables whose values should be saved in libtool wrapper scripts and
|
adam@0
|
13988 # restored at link time.
|
adam@0
|
13989 variables_saved_for_relink=$lt_variables_saved_for_relink
|
adam@0
|
13990
|
adam@0
|
13991 # Do we need the "lib" prefix for modules?
|
adam@0
|
13992 need_lib_prefix=$need_lib_prefix
|
adam@0
|
13993
|
adam@0
|
13994 # Do we need a version for libraries?
|
adam@0
|
13995 need_version=$need_version
|
adam@0
|
13996
|
adam@0
|
13997 # Library versioning type.
|
adam@0
|
13998 version_type=$version_type
|
adam@0
|
13999
|
adam@0
|
14000 # Shared library runtime path variable.
|
adam@0
|
14001 runpath_var=$runpath_var
|
adam@0
|
14002
|
adam@0
|
14003 # Shared library path variable.
|
adam@0
|
14004 shlibpath_var=$shlibpath_var
|
adam@0
|
14005
|
adam@0
|
14006 # Is shlibpath searched before the hard-coded library search path?
|
adam@0
|
14007 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
|
adam@0
|
14008
|
adam@0
|
14009 # Format of library name prefix.
|
adam@0
|
14010 libname_spec=$lt_libname_spec
|
adam@0
|
14011
|
adam@0
|
14012 # List of archive names. First name is the real one, the rest are links.
|
adam@0
|
14013 # The last name is the one that the linker finds with -lNAME
|
adam@0
|
14014 library_names_spec=$lt_library_names_spec
|
adam@0
|
14015
|
adam@0
|
14016 # The coded name of the library, if different from the real name.
|
adam@0
|
14017 soname_spec=$lt_soname_spec
|
adam@0
|
14018
|
adam@12
|
14019 # Permission mode override for installation of shared libraries.
|
adam@12
|
14020 install_override_mode=$lt_install_override_mode
|
adam@12
|
14021
|
adam@0
|
14022 # Command to use after installation of a shared archive.
|
adam@0
|
14023 postinstall_cmds=$lt_postinstall_cmds
|
adam@0
|
14024
|
adam@0
|
14025 # Command to use after uninstallation of a shared archive.
|
adam@0
|
14026 postuninstall_cmds=$lt_postuninstall_cmds
|
adam@0
|
14027
|
adam@0
|
14028 # Commands used to finish a libtool library installation in a directory.
|
adam@0
|
14029 finish_cmds=$lt_finish_cmds
|
adam@0
|
14030
|
adam@0
|
14031 # As "finish_cmds", except a single script fragment to be evaled but
|
adam@0
|
14032 # not shown.
|
adam@0
|
14033 finish_eval=$lt_finish_eval
|
adam@0
|
14034
|
adam@0
|
14035 # Whether we should hardcode library paths into libraries.
|
adam@0
|
14036 hardcode_into_libs=$hardcode_into_libs
|
adam@0
|
14037
|
adam@0
|
14038 # Compile-time system search path for libraries.
|
adam@0
|
14039 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
|
adam@0
|
14040
|
adam@0
|
14041 # Run-time system search path for libraries.
|
adam@0
|
14042 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
|
adam@0
|
14043
|
adam@0
|
14044 # Whether dlopen is supported.
|
adam@0
|
14045 dlopen_support=$enable_dlopen
|
adam@0
|
14046
|
adam@0
|
14047 # Whether dlopen of programs is supported.
|
adam@0
|
14048 dlopen_self=$enable_dlopen_self
|
adam@0
|
14049
|
adam@0
|
14050 # Whether dlopen of statically linked programs is supported.
|
adam@0
|
14051 dlopen_self_static=$enable_dlopen_self_static
|
adam@0
|
14052
|
adam@0
|
14053 # Commands to strip libraries.
|
adam@0
|
14054 old_striplib=$lt_old_striplib
|
adam@0
|
14055 striplib=$lt_striplib
|
adam@0
|
14056
|
adam@0
|
14057
|
adam@0
|
14058 # The linker used to build libraries.
|
adam@0
|
14059 LD=$lt_LD
|
adam@0
|
14060
|
adam@12
|
14061 # How to create reloadable object files.
|
adam@12
|
14062 reload_flag=$lt_reload_flag
|
adam@12
|
14063 reload_cmds=$lt_reload_cmds
|
adam@12
|
14064
|
adam@0
|
14065 # Commands used to build an old-style archive.
|
adam@0
|
14066 old_archive_cmds=$lt_old_archive_cmds
|
adam@0
|
14067
|
adam@0
|
14068 # A language specific compiler.
|
adam@0
|
14069 CC=$lt_compiler
|
adam@0
|
14070
|
adam@0
|
14071 # Is the compiler the GNU compiler?
|
adam@0
|
14072 with_gcc=$GCC
|
adam@0
|
14073
|
adam@0
|
14074 # Compiler flag to turn off builtin functions.
|
adam@0
|
14075 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
|
adam@0
|
14076
|
adam@12
|
14077 # Additional compiler flags for building library objects.
|
adam@12
|
14078 pic_flag=$lt_lt_prog_compiler_pic
|
adam@12
|
14079
|
adam@0
|
14080 # How to pass a linker flag through the compiler.
|
adam@0
|
14081 wl=$lt_lt_prog_compiler_wl
|
adam@0
|
14082
|
adam@0
|
14083 # Compiler flag to prevent dynamic linking.
|
adam@0
|
14084 link_static_flag=$lt_lt_prog_compiler_static
|
adam@0
|
14085
|
adam@0
|
14086 # Does compiler simultaneously support -c and -o options?
|
adam@0
|
14087 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
|
adam@0
|
14088
|
adam@0
|
14089 # Whether or not to add -lc for building shared libraries.
|
adam@0
|
14090 build_libtool_need_lc=$archive_cmds_need_lc
|
adam@0
|
14091
|
adam@0
|
14092 # Whether or not to disallow shared libs when runtime libs are static.
|
adam@0
|
14093 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
|
adam@0
|
14094
|
adam@0
|
14095 # Compiler flag to allow reflexive dlopens.
|
adam@0
|
14096 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
|
adam@0
|
14097
|
adam@0
|
14098 # Compiler flag to generate shared objects directly from archives.
|
adam@0
|
14099 whole_archive_flag_spec=$lt_whole_archive_flag_spec
|
adam@0
|
14100
|
adam@0
|
14101 # Whether the compiler copes with passing no objects directly.
|
adam@0
|
14102 compiler_needs_object=$lt_compiler_needs_object
|
adam@0
|
14103
|
adam@0
|
14104 # Create an old-style archive from a shared archive.
|
adam@0
|
14105 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
|
adam@0
|
14106
|
adam@0
|
14107 # Create a temporary old-style archive to link instead of a shared archive.
|
adam@0
|
14108 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
|
adam@0
|
14109
|
adam@0
|
14110 # Commands used to build a shared archive.
|
adam@0
|
14111 archive_cmds=$lt_archive_cmds
|
adam@0
|
14112 archive_expsym_cmds=$lt_archive_expsym_cmds
|
adam@0
|
14113
|
adam@0
|
14114 # Commands used to build a loadable module if different from building
|
adam@0
|
14115 # a shared archive.
|
adam@0
|
14116 module_cmds=$lt_module_cmds
|
adam@0
|
14117 module_expsym_cmds=$lt_module_expsym_cmds
|
adam@0
|
14118
|
adam@0
|
14119 # Whether we are building with GNU ld or not.
|
adam@0
|
14120 with_gnu_ld=$lt_with_gnu_ld
|
adam@0
|
14121
|
adam@0
|
14122 # Flag that allows shared libraries with undefined symbols to be built.
|
adam@0
|
14123 allow_undefined_flag=$lt_allow_undefined_flag
|
adam@0
|
14124
|
adam@0
|
14125 # Flag that enforces no undefined symbols.
|
adam@0
|
14126 no_undefined_flag=$lt_no_undefined_flag
|
adam@0
|
14127
|
adam@0
|
14128 # Flag to hardcode \$libdir into a binary during linking.
|
adam@0
|
14129 # This must work even if \$libdir does not exist
|
adam@0
|
14130 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
|
adam@0
|
14131
|
adam@0
|
14132 # If ld is used when linking, flag to hardcode \$libdir into a binary
|
adam@0
|
14133 # during linking. This must work even if \$libdir does not exist.
|
adam@0
|
14134 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
|
adam@0
|
14135
|
adam@0
|
14136 # Whether we need a single "-rpath" flag with a separated argument.
|
adam@0
|
14137 hardcode_libdir_separator=$lt_hardcode_libdir_separator
|
adam@0
|
14138
|
adam@0
|
14139 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
|
adam@0
|
14140 # DIR into the resulting binary.
|
adam@0
|
14141 hardcode_direct=$hardcode_direct
|
adam@0
|
14142
|
adam@0
|
14143 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
|
adam@0
|
14144 # DIR into the resulting binary and the resulting library dependency is
|
adam@0
|
14145 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
|
adam@0
|
14146 # library is relocated.
|
adam@0
|
14147 hardcode_direct_absolute=$hardcode_direct_absolute
|
adam@0
|
14148
|
adam@0
|
14149 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
|
adam@0
|
14150 # into the resulting binary.
|
adam@0
|
14151 hardcode_minus_L=$hardcode_minus_L
|
adam@0
|
14152
|
adam@0
|
14153 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
|
adam@0
|
14154 # into the resulting binary.
|
adam@0
|
14155 hardcode_shlibpath_var=$hardcode_shlibpath_var
|
adam@0
|
14156
|
adam@0
|
14157 # Set to "yes" if building a shared library automatically hardcodes DIR
|
adam@0
|
14158 # into the library and all subsequent libraries and executables linked
|
adam@0
|
14159 # against it.
|
adam@0
|
14160 hardcode_automatic=$hardcode_automatic
|
adam@0
|
14161
|
adam@0
|
14162 # Set to yes if linker adds runtime paths of dependent libraries
|
adam@0
|
14163 # to runtime path list.
|
adam@0
|
14164 inherit_rpath=$inherit_rpath
|
adam@0
|
14165
|
adam@0
|
14166 # Whether libtool must link a program against all its dependency libraries.
|
adam@0
|
14167 link_all_deplibs=$link_all_deplibs
|
adam@0
|
14168
|
adam@0
|
14169 # Set to "yes" if exported symbols are required.
|
adam@0
|
14170 always_export_symbols=$always_export_symbols
|
adam@0
|
14171
|
adam@0
|
14172 # The commands to list exported symbols.
|
adam@0
|
14173 export_symbols_cmds=$lt_export_symbols_cmds
|
adam@0
|
14174
|
adam@0
|
14175 # Symbols that should not be listed in the preloaded symbols.
|
adam@0
|
14176 exclude_expsyms=$lt_exclude_expsyms
|
adam@0
|
14177
|
adam@0
|
14178 # Symbols that must always be exported.
|
adam@0
|
14179 include_expsyms=$lt_include_expsyms
|
adam@0
|
14180
|
adam@0
|
14181 # Commands necessary for linking programs (against libraries) with templates.
|
adam@0
|
14182 prelink_cmds=$lt_prelink_cmds
|
adam@0
|
14183
|
adam@12
|
14184 # Commands necessary for finishing linking programs.
|
adam@12
|
14185 postlink_cmds=$lt_postlink_cmds
|
adam@12
|
14186
|
adam@0
|
14187 # Specify filename containing input files.
|
adam@0
|
14188 file_list_spec=$lt_file_list_spec
|
adam@0
|
14189
|
adam@0
|
14190 # How to hardcode a shared library path into an executable.
|
adam@0
|
14191 hardcode_action=$hardcode_action
|
adam@0
|
14192
|
adam@0
|
14193 # ### END LIBTOOL CONFIG
|
adam@0
|
14194
|
adam@0
|
14195 _LT_EOF
|
adam@0
|
14196
|
adam@0
|
14197 case $host_os in
|
adam@0
|
14198 aix3*)
|
adam@0
|
14199 cat <<\_LT_EOF >> "$cfgfile"
|
adam@0
|
14200 # AIX sometimes has problems with the GCC collect2 program. For some
|
adam@0
|
14201 # reason, if we set the COLLECT_NAMES environment variable, the problems
|
adam@0
|
14202 # vanish in a puff of smoke.
|
adam@0
|
14203 if test "X${COLLECT_NAMES+set}" != Xset; then
|
adam@0
|
14204 COLLECT_NAMES=
|
adam@0
|
14205 export COLLECT_NAMES
|
adam@0
|
14206 fi
|
adam@0
|
14207 _LT_EOF
|
adam@0
|
14208 ;;
|
adam@0
|
14209 esac
|
adam@0
|
14210
|
adam@0
|
14211
|
adam@0
|
14212 ltmain="$ac_aux_dir/ltmain.sh"
|
adam@0
|
14213
|
adam@0
|
14214
|
adam@0
|
14215 # We use sed instead of cat because bash on DJGPP gets confused if
|
adam@0
|
14216 # if finds mixed CR/LF and LF-only lines. Since sed operates in
|
adam@0
|
14217 # text mode, it properly converts lines to CR/LF. This bash problem
|
adam@0
|
14218 # is reportedly fixed, but why not run on old versions too?
|
adam@12
|
14219 sed '$q' "$ltmain" >> "$cfgfile" \
|
adam@12
|
14220 || (rm -f "$cfgfile"; exit 1)
|
adam@12
|
14221
|
adam@12
|
14222 if test x"$xsi_shell" = xyes; then
|
adam@12
|
14223 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
|
adam@12
|
14224 func_dirname ()\
|
adam@12
|
14225 {\
|
adam@12
|
14226 \ case ${1} in\
|
adam@12
|
14227 \ */*) func_dirname_result="${1%/*}${2}" ;;\
|
adam@12
|
14228 \ * ) func_dirname_result="${3}" ;;\
|
adam@12
|
14229 \ esac\
|
adam@12
|
14230 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
|
adam@12
|
14231 && mv -f "$cfgfile.tmp" "$cfgfile" \
|
adam@12
|
14232 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
adam@12
|
14233 test 0 -eq $? || _lt_function_replace_fail=:
|
adam@12
|
14234
|
adam@12
|
14235
|
adam@12
|
14236 sed -e '/^func_basename ()$/,/^} # func_basename /c\
|
adam@12
|
14237 func_basename ()\
|
adam@12
|
14238 {\
|
adam@12
|
14239 \ func_basename_result="${1##*/}"\
|
adam@12
|
14240 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
|
adam@12
|
14241 && mv -f "$cfgfile.tmp" "$cfgfile" \
|
adam@12
|
14242 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
adam@12
|
14243 test 0 -eq $? || _lt_function_replace_fail=:
|
adam@12
|
14244
|
adam@12
|
14245
|
adam@12
|
14246 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
|
adam@12
|
14247 func_dirname_and_basename ()\
|
adam@12
|
14248 {\
|
adam@12
|
14249 \ case ${1} in\
|
adam@12
|
14250 \ */*) func_dirname_result="${1%/*}${2}" ;;\
|
adam@12
|
14251 \ * ) func_dirname_result="${3}" ;;\
|
adam@12
|
14252 \ esac\
|
adam@12
|
14253 \ func_basename_result="${1##*/}"\
|
adam@12
|
14254 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
|
adam@12
|
14255 && mv -f "$cfgfile.tmp" "$cfgfile" \
|
adam@12
|
14256 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
adam@12
|
14257 test 0 -eq $? || _lt_function_replace_fail=:
|
adam@12
|
14258
|
adam@12
|
14259
|
adam@12
|
14260 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
|
adam@12
|
14261 func_stripname ()\
|
adam@12
|
14262 {\
|
adam@12
|
14263 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
|
adam@12
|
14264 \ # positional parameters, so assign one to ordinary parameter first.\
|
adam@12
|
14265 \ func_stripname_result=${3}\
|
adam@12
|
14266 \ func_stripname_result=${func_stripname_result#"${1}"}\
|
adam@12
|
14267 \ func_stripname_result=${func_stripname_result%"${2}"}\
|
adam@12
|
14268 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
|
adam@12
|
14269 && mv -f "$cfgfile.tmp" "$cfgfile" \
|
adam@12
|
14270 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
adam@12
|
14271 test 0 -eq $? || _lt_function_replace_fail=:
|
adam@12
|
14272
|
adam@12
|
14273
|
adam@12
|
14274 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
|
adam@12
|
14275 func_split_long_opt ()\
|
adam@12
|
14276 {\
|
adam@12
|
14277 \ func_split_long_opt_name=${1%%=*}\
|
adam@12
|
14278 \ func_split_long_opt_arg=${1#*=}\
|
adam@12
|
14279 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
|
adam@12
|
14280 && mv -f "$cfgfile.tmp" "$cfgfile" \
|
adam@12
|
14281 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
adam@12
|
14282 test 0 -eq $? || _lt_function_replace_fail=:
|
adam@12
|
14283
|
adam@12
|
14284
|
adam@12
|
14285 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
|
adam@12
|
14286 func_split_short_opt ()\
|
adam@12
|
14287 {\
|
adam@12
|
14288 \ func_split_short_opt_arg=${1#??}\
|
adam@12
|
14289 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
|
adam@12
|
14290 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
|
adam@12
|
14291 && mv -f "$cfgfile.tmp" "$cfgfile" \
|
adam@12
|
14292 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
adam@12
|
14293 test 0 -eq $? || _lt_function_replace_fail=:
|
adam@12
|
14294
|
adam@12
|
14295
|
adam@12
|
14296 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
|
adam@12
|
14297 func_lo2o ()\
|
adam@12
|
14298 {\
|
adam@12
|
14299 \ case ${1} in\
|
adam@12
|
14300 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
|
adam@12
|
14301 \ *) func_lo2o_result=${1} ;;\
|
adam@12
|
14302 \ esac\
|
adam@12
|
14303 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
|
adam@12
|
14304 && mv -f "$cfgfile.tmp" "$cfgfile" \
|
adam@12
|
14305 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
adam@12
|
14306 test 0 -eq $? || _lt_function_replace_fail=:
|
adam@12
|
14307
|
adam@12
|
14308
|
adam@12
|
14309 sed -e '/^func_xform ()$/,/^} # func_xform /c\
|
adam@12
|
14310 func_xform ()\
|
adam@12
|
14311 {\
|
adam@12
|
14312 func_xform_result=${1%.*}.lo\
|
adam@12
|
14313 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
|
adam@12
|
14314 && mv -f "$cfgfile.tmp" "$cfgfile" \
|
adam@12
|
14315 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
adam@12
|
14316 test 0 -eq $? || _lt_function_replace_fail=:
|
adam@12
|
14317
|
adam@12
|
14318
|
adam@12
|
14319 sed -e '/^func_arith ()$/,/^} # func_arith /c\
|
adam@12
|
14320 func_arith ()\
|
adam@12
|
14321 {\
|
adam@12
|
14322 func_arith_result=$(( $* ))\
|
adam@12
|
14323 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
|
adam@12
|
14324 && mv -f "$cfgfile.tmp" "$cfgfile" \
|
adam@12
|
14325 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
adam@12
|
14326 test 0 -eq $? || _lt_function_replace_fail=:
|
adam@12
|
14327
|
adam@12
|
14328
|
adam@12
|
14329 sed -e '/^func_len ()$/,/^} # func_len /c\
|
adam@12
|
14330 func_len ()\
|
adam@12
|
14331 {\
|
adam@12
|
14332 func_len_result=${#1}\
|
adam@12
|
14333 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
|
adam@12
|
14334 && mv -f "$cfgfile.tmp" "$cfgfile" \
|
adam@12
|
14335 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
adam@12
|
14336 test 0 -eq $? || _lt_function_replace_fail=:
|
adam@12
|
14337
|
adam@12
|
14338 fi
|
adam@12
|
14339
|
adam@12
|
14340 if test x"$lt_shell_append" = xyes; then
|
adam@12
|
14341 sed -e '/^func_append ()$/,/^} # func_append /c\
|
adam@12
|
14342 func_append ()\
|
adam@12
|
14343 {\
|
adam@12
|
14344 eval "${1}+=\\${2}"\
|
adam@12
|
14345 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
|
adam@12
|
14346 && mv -f "$cfgfile.tmp" "$cfgfile" \
|
adam@12
|
14347 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
adam@12
|
14348 test 0 -eq $? || _lt_function_replace_fail=:
|
adam@12
|
14349
|
adam@12
|
14350
|
adam@12
|
14351 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
|
adam@12
|
14352 func_append_quoted ()\
|
adam@12
|
14353 {\
|
adam@12
|
14354 \ func_quote_for_eval "${2}"\
|
adam@12
|
14355 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
|
adam@12
|
14356 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
|
adam@12
|
14357 && mv -f "$cfgfile.tmp" "$cfgfile" \
|
adam@12
|
14358 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
adam@12
|
14359 test 0 -eq $? || _lt_function_replace_fail=:
|
adam@12
|
14360
|
adam@12
|
14361
|
adam@12
|
14362 # Save a `func_append' function call where possible by direct use of '+='
|
adam@12
|
14363 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
|
adam@12
|
14364 && mv -f "$cfgfile.tmp" "$cfgfile" \
|
adam@12
|
14365 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
adam@12
|
14366 test 0 -eq $? || _lt_function_replace_fail=:
|
adam@12
|
14367 else
|
adam@12
|
14368 # Save a `func_append' function call even when '+=' is not available
|
adam@12
|
14369 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
|
adam@12
|
14370 && mv -f "$cfgfile.tmp" "$cfgfile" \
|
adam@12
|
14371 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
|
adam@12
|
14372 test 0 -eq $? || _lt_function_replace_fail=:
|
adam@12
|
14373 fi
|
adam@12
|
14374
|
adam@12
|
14375 if test x"$_lt_function_replace_fail" = x":"; then
|
adam@12
|
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
|
adam@12
|
14377 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
|
adam@12
|
14378 fi
|
adam@12
|
14379
|
adam@12
|
14380
|
adam@12
|
14381 mv -f "$cfgfile" "$ofile" ||
|
adam@0
|
14382 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
|
adam@0
|
14383 chmod +x "$ofile"
|
adam@0
|
14384
|
adam@0
|
14385 ;;
|
adam@0
|
14386
|
adam@0
|
14387 esac
|
adam@0
|
14388 done # for ac_tag
|
adam@0
|
14389
|
adam@0
|
14390
|
adam@0
|
14391 as_fn_exit 0
|
adam@0
|
14392 _ACEOF
|
adam@0
|
14393 ac_clean_files=$ac_clean_files_save
|
adam@0
|
14394
|
adam@0
|
14395 test $ac_write_fail = 0 ||
|
adam@0
|
14396 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
|
adam@0
|
14397
|
adam@0
|
14398
|
adam@0
|
14399 # configure is writing to config.log, and then calls config.status.
|
adam@0
|
14400 # config.status does its own redirection, appending to config.log.
|
adam@0
|
14401 # Unfortunately, on DOS this fails, as config.log is still kept open
|
adam@0
|
14402 # by configure, so config.status won't be able to write to it; its
|
adam@0
|
14403 # output is simply discarded. So we exec the FD to /dev/null,
|
adam@0
|
14404 # effectively closing config.log, so it can be properly (re)opened and
|
adam@0
|
14405 # appended to by config.status. When coming back to configure, we
|
adam@0
|
14406 # need to make the FD available again.
|
adam@0
|
14407 if test "$no_create" != yes; then
|
adam@0
|
14408 ac_cs_success=:
|
adam@0
|
14409 ac_config_status_args=
|
adam@0
|
14410 test "$silent" = yes &&
|
adam@0
|
14411 ac_config_status_args="$ac_config_status_args --quiet"
|
adam@0
|
14412 exec 5>/dev/null
|
adam@0
|
14413 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
adam@0
|
14414 exec 5>>config.log
|
adam@0
|
14415 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
adam@0
|
14416 # would make configure fail if this is the last instruction.
|
adam@0
|
14417 $ac_cs_success || as_fn_exit 1
|
adam@0
|
14418 fi
|
adam@0
|
14419 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
adam@0
|
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
adam@0
|
14421 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
adam@0
|
14422 fi
|
adam@0
|
14423
|
adam@0
|
14424
|
adam@0
|
14425 cat <<EOF
|
adam@0
|
14426
|
adam@0
|
14427 Ur/Web XML feed library configuration:
|
adam@0
|
14428 lib directory: LIB $LIB
|
adam@0
|
14429 include directory: INCLUDE $INCLUDE
|
adam@0
|
14430 EOF
|