~ubuntu-branches/ubuntu/utopic/gettext/utopic

« back to all changes in this revision

Viewing changes to gettext-runtime/libasprintf/configure

  • Committer: Colin Watson
  • Date: 2010-08-01 21:36:08 UTC
  • mfrom: (2.1.10 sid)
  • Revision ID: cjwatson@canonical.com-20100801213608-yy7vkm8lpatep3ci
merge from Debian 0.18.1.1-1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.61.
 
3
# Generated by GNU Autoconf 2.65 for libasprintf 1.0.
 
4
#
4
5
#
5
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
 
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
 
8
# Inc.
 
9
#
 
10
#
7
11
# This configure script is free software; the Free Software Foundation
8
12
# gives unlimited permission to copy, distribute and modify it.
9
 
## --------------------- ##
10
 
## M4sh Initialization.  ##
11
 
## --------------------- ##
 
13
## -------------------- ##
 
14
## M4sh Initialization. ##
 
15
## -------------------- ##
12
16
 
13
17
# Be more Bourne compatible
14
18
DUALCASE=1; export DUALCASE # for MKS sh
15
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16
20
  emulate sh
17
21
  NULLCMD=:
18
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
22
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19
23
  # is contrary to our usage.  Disable this feature.
20
24
  alias -g '${1+"$@"}'='"$@"'
21
25
  setopt NO_GLOB_SUBST
22
26
else
23
 
  case `(set -o) 2>/dev/null` in
24
 
  *posix*) set -o posix ;;
 
27
  case `(set -o) 2>/dev/null` in #(
 
28
  *posix*) :
 
29
    set -o posix ;; #(
 
30
  *) :
 
31
     ;;
25
32
esac
26
 
 
27
 
fi
28
 
 
29
 
 
30
 
 
31
 
 
32
 
# PATH needs CR
33
 
# Avoid depending upon Character Ranges.
34
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
 
as_cr_digits='0123456789'
38
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
33
fi
 
34
 
 
35
 
 
36
as_nl='
 
37
'
 
38
export as_nl
 
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
44
# but without wasting forks for bash or zsh.
 
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
46
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
47
  as_echo='print -r --'
 
48
  as_echo_n='print -rn --'
 
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
50
  as_echo='printf %s\n'
 
51
  as_echo_n='printf %s'
 
52
else
 
53
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
54
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
55
    as_echo_n='/usr/ucb/echo -n'
 
56
  else
 
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
58
    as_echo_n_body='eval
 
59
      arg=$1;
 
60
      case $arg in #(
 
61
      *"$as_nl"*)
 
62
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
63
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
64
      esac;
 
65
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
66
    '
 
67
    export as_echo_n_body
 
68
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
69
  fi
 
70
  export as_echo_body
 
71
  as_echo='sh -c $as_echo_body as_echo'
 
72
fi
39
73
 
40
74
# The user is always right.
41
75
if test "${PATH_SEPARATOR+set}" != set; then
42
 
  echo "#! /bin/sh" >conf$$.sh
43
 
  echo  "exit 0"   >>conf$$.sh
44
 
  chmod +x conf$$.sh
45
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46
 
    PATH_SEPARATOR=';'
47
 
  else
48
 
    PATH_SEPARATOR=:
49
 
  fi
50
 
  rm -f conf$$.sh
51
 
fi
52
 
 
53
 
# Support unset when possible.
54
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55
 
  as_unset=unset
56
 
else
57
 
  as_unset=false
 
76
  PATH_SEPARATOR=:
 
77
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
78
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
79
      PATH_SEPARATOR=';'
 
80
  }
58
81
fi
59
82
 
60
83
 
63
86
# there to prevent editors from complaining about space-tab.
64
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65
88
# splitting by setting IFS to empty value.)
66
 
as_nl='
67
 
'
68
89
IFS=" ""        $as_nl"
69
90
 
70
91
# Find who we are.  Look in the path if we contain no directory separator.
71
 
case $0 in
 
92
case $0 in #((
72
93
  *[\\/]* ) as_myself=$0 ;;
73
94
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74
95
for as_dir in $PATH
75
96
do
76
97
  IFS=$as_save_IFS
77
98
  test -z "$as_dir" && as_dir=.
78
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79
 
done
 
99
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
100
  done
80
101
IFS=$as_save_IFS
81
102
 
82
103
     ;;
87
108
  as_myself=$0
88
109
fi
89
110
if test ! -f "$as_myself"; then
90
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91
 
  { (exit 1); exit 1; }
 
111
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
112
  exit 1
92
113
fi
93
114
 
94
 
# Work around bugs in pre-3.0 UWIN ksh.
95
 
for as_var in ENV MAIL MAILPATH
96
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
115
# Unset variables that we do not need and which cause bugs (e.g. in
 
116
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
117
# suppresses any "Segmentation fault" message there.  '((' could
 
118
# trigger a bug in pdksh 5.2.14.
 
119
for as_var in BASH_ENV ENV MAIL MAILPATH
 
120
do eval test x\${$as_var+set} = xset \
 
121
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
97
122
done
98
123
PS1='$ '
99
124
PS2='> '
100
125
PS4='+ '
101
126
 
102
127
# NLS nuisances.
103
 
for as_var in \
104
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106
 
  LC_TELEPHONE LC_TIME
107
 
do
108
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109
 
    eval $as_var=C; export $as_var
110
 
  else
111
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112
 
  fi
113
 
done
114
 
 
115
 
# Required to use basename.
116
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
117
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
118
 
  as_expr=expr
119
 
else
120
 
  as_expr=false
121
 
fi
122
 
 
123
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124
 
  as_basename=basename
125
 
else
126
 
  as_basename=false
127
 
fi
128
 
 
129
 
 
130
 
# Name of the executable.
131
 
as_me=`$as_basename -- "$0" ||
132
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133
 
         X"$0" : 'X\(//\)$' \| \
134
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135
 
echo X/"$0" |
136
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
137
 
            s//\1/
138
 
            q
139
 
          }
140
 
          /^X\/\(\/\/\)$/{
141
 
            s//\1/
142
 
            q
143
 
          }
144
 
          /^X\/\(\/\).*/{
145
 
            s//\1/
146
 
            q
147
 
          }
148
 
          s/.*/./; q'`
 
128
LC_ALL=C
 
129
export LC_ALL
 
130
LANGUAGE=C
 
131
export LANGUAGE
149
132
 
150
133
# CDPATH.
151
 
$as_unset CDPATH
152
 
 
 
134
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
153
135
 
154
136
if test "x$CONFIG_SHELL" = x; then
155
 
  if (eval ":") 2>/dev/null; then
 
137
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
138
  emulate sh
 
139
  NULLCMD=:
 
140
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
141
  # is contrary to our usage.  Disable this feature.
 
142
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
143
  setopt NO_GLOB_SUBST
 
144
else
 
145
  case \`(set -o) 2>/dev/null\` in #(
 
146
  *posix*) :
 
147
    set -o posix ;; #(
 
148
  *) :
 
149
     ;;
 
150
esac
 
151
fi
 
152
"
 
153
  as_required="as_fn_return () { (exit \$1); }
 
154
as_fn_success () { as_fn_return 0; }
 
155
as_fn_failure () { as_fn_return 1; }
 
156
as_fn_ret_success () { return 0; }
 
157
as_fn_ret_failure () { return 1; }
 
158
 
 
159
exitcode=0
 
160
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
161
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
162
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
163
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
164
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
165
 
 
166
else
 
167
  exitcode=1; echo positional parameters were not saved.
 
168
fi
 
169
test x\$exitcode = x0 || exit 1"
 
170
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
171
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
172
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
173
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
174
test \$(( 1 + 1 )) = 2 || exit 1"
 
175
  if (eval "$as_required") 2>/dev/null; then :
156
176
  as_have_required=yes
157
177
else
158
178
  as_have_required=no
159
179
fi
160
 
 
161
 
  if test $as_have_required = yes &&     (eval ":
162
 
(as_func_return () {
163
 
  (exit \$1)
164
 
}
165
 
as_func_success () {
166
 
  as_func_return 0
167
 
}
168
 
as_func_failure () {
169
 
  as_func_return 1
170
 
}
171
 
as_func_ret_success () {
172
 
  return 0
173
 
}
174
 
as_func_ret_failure () {
175
 
  return 1
176
 
}
177
 
 
178
 
exitcode=0
179
 
if as_func_success; then
180
 
  :
181
 
else
182
 
  exitcode=1
183
 
  echo as_func_success failed.
184
 
fi
185
 
 
186
 
if as_func_failure; then
187
 
  exitcode=1
188
 
  echo as_func_failure succeeded.
189
 
fi
190
 
 
191
 
if as_func_ret_success; then
192
 
  :
193
 
else
194
 
  exitcode=1
195
 
  echo as_func_ret_success failed.
196
 
fi
197
 
 
198
 
if as_func_ret_failure; then
199
 
  exitcode=1
200
 
  echo as_func_ret_failure succeeded.
201
 
fi
202
 
 
203
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204
 
  :
205
 
else
206
 
  exitcode=1
207
 
  echo positional parameters were not saved.
208
 
fi
209
 
 
210
 
test \$exitcode = 0) || { (exit 1); exit 1; }
211
 
 
212
 
(
213
 
  as_lineno_1=\$LINENO
214
 
  as_lineno_2=\$LINENO
215
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217
 
") 2> /dev/null; then
218
 
  :
219
 
else
220
 
  as_candidate_shells=
221
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
180
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
181
 
 
182
else
 
183
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
184
as_found=false
222
185
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223
186
do
224
187
  IFS=$as_save_IFS
225
188
  test -z "$as_dir" && as_dir=.
226
 
  case $as_dir in
 
189
  as_found=:
 
190
  case $as_dir in #(
227
191
         /*)
228
192
           for as_base in sh bash ksh sh5; do
229
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
193
             # Try only shells that exist, to save several forks.
 
194
             as_shell=$as_dir/$as_base
 
195
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
196
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
197
  CONFIG_SHELL=$as_shell as_have_required=yes
 
198
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
199
  break 2
 
200
fi
 
201
fi
230
202
           done;;
231
203
       esac
 
204
  as_found=false
232
205
done
 
206
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
207
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
208
  CONFIG_SHELL=$SHELL as_have_required=yes
 
209
fi; }
233
210
IFS=$as_save_IFS
234
211
 
235
212
 
236
 
      for as_shell in $as_candidate_shells $SHELL; do
237
 
         # Try only shells that exist, to save several forks.
238
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
240
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241
 
  emulate sh
242
 
  NULLCMD=:
243
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244
 
  # is contrary to our usage.  Disable this feature.
245
 
  alias -g '${1+"$@"}'='"$@"'
246
 
  setopt NO_GLOB_SUBST
247
 
else
248
 
  case `(set -o) 2>/dev/null` in
249
 
  *posix*) set -o posix ;;
250
 
esac
251
 
 
252
 
fi
253
 
 
254
 
 
255
 
:
256
 
_ASEOF
257
 
}; then
258
 
  CONFIG_SHELL=$as_shell
259
 
               as_have_required=yes
260
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
261
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
 
  emulate sh
263
 
  NULLCMD=:
264
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265
 
  # is contrary to our usage.  Disable this feature.
266
 
  alias -g '${1+"$@"}'='"$@"'
267
 
  setopt NO_GLOB_SUBST
268
 
else
269
 
  case `(set -o) 2>/dev/null` in
270
 
  *posix*) set -o posix ;;
271
 
esac
272
 
 
273
 
fi
274
 
 
275
 
 
276
 
:
277
 
(as_func_return () {
278
 
  (exit $1)
279
 
}
280
 
as_func_success () {
281
 
  as_func_return 0
282
 
}
283
 
as_func_failure () {
284
 
  as_func_return 1
285
 
}
286
 
as_func_ret_success () {
287
 
  return 0
288
 
}
289
 
as_func_ret_failure () {
290
 
  return 1
291
 
}
292
 
 
293
 
exitcode=0
294
 
if as_func_success; then
295
 
  :
296
 
else
297
 
  exitcode=1
298
 
  echo as_func_success failed.
299
 
fi
300
 
 
301
 
if as_func_failure; then
302
 
  exitcode=1
303
 
  echo as_func_failure succeeded.
304
 
fi
305
 
 
306
 
if as_func_ret_success; then
307
 
  :
308
 
else
309
 
  exitcode=1
310
 
  echo as_func_ret_success failed.
311
 
fi
312
 
 
313
 
if as_func_ret_failure; then
314
 
  exitcode=1
315
 
  echo as_func_ret_failure succeeded.
316
 
fi
317
 
 
318
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
319
 
  :
320
 
else
321
 
  exitcode=1
322
 
  echo positional parameters were not saved.
323
 
fi
324
 
 
325
 
test $exitcode = 0) || { (exit 1); exit 1; }
326
 
 
327
 
(
328
 
  as_lineno_1=$LINENO
329
 
  as_lineno_2=$LINENO
330
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
331
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
332
 
 
333
 
_ASEOF
334
 
}; then
335
 
  break
336
 
fi
337
 
 
338
 
fi
339
 
 
340
 
      done
341
 
 
342
 
      if test "x$CONFIG_SHELL" != x; then
343
 
  for as_var in BASH_ENV ENV
344
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345
 
        done
346
 
        export CONFIG_SHELL
347
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348
 
fi
349
 
 
350
 
 
351
 
    if test $as_have_required = no; then
352
 
  echo This script requires a shell more modern than all the
353
 
      echo shells that I found on your system.  Please install a
354
 
      echo modern shell, or manually run the script under such a
355
 
      echo shell if you do have one.
356
 
      { (exit 1); exit 1; }
357
 
fi
358
 
 
359
 
 
360
 
fi
361
 
 
362
 
fi
363
 
 
364
 
 
365
 
 
366
 
(eval "as_func_return () {
367
 
  (exit \$1)
368
 
}
369
 
as_func_success () {
370
 
  as_func_return 0
371
 
}
372
 
as_func_failure () {
373
 
  as_func_return 1
374
 
}
375
 
as_func_ret_success () {
376
 
  return 0
377
 
}
378
 
as_func_ret_failure () {
379
 
  return 1
380
 
}
381
 
 
382
 
exitcode=0
383
 
if as_func_success; then
384
 
  :
385
 
else
386
 
  exitcode=1
387
 
  echo as_func_success failed.
388
 
fi
389
 
 
390
 
if as_func_failure; then
391
 
  exitcode=1
392
 
  echo as_func_failure succeeded.
393
 
fi
394
 
 
395
 
if as_func_ret_success; then
396
 
  :
397
 
else
398
 
  exitcode=1
399
 
  echo as_func_ret_success failed.
400
 
fi
401
 
 
402
 
if as_func_ret_failure; then
403
 
  exitcode=1
404
 
  echo as_func_ret_failure succeeded.
405
 
fi
406
 
 
407
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408
 
  :
409
 
else
410
 
  exitcode=1
411
 
  echo positional parameters were not saved.
412
 
fi
413
 
 
414
 
test \$exitcode = 0") || {
415
 
  echo No shell found that supports shell functions.
416
 
  echo Please tell autoconf@gnu.org about your system,
417
 
  echo including any error possibly output before this
418
 
  echo message
419
 
}
420
 
 
421
 
 
422
 
 
423
 
  as_lineno_1=$LINENO
424
 
  as_lineno_2=$LINENO
425
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
426
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
427
 
 
428
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
430
 
  # line-number line after each line using $LINENO; the second 'sed'
431
 
  # does the real work.  The second script uses 'N' to pair each
432
 
  # line-number line with the line containing $LINENO, and appends
433
 
  # trailing '-' during substitution so that $LINENO is not a special
434
 
  # case at line end.
435
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
437
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
213
      if test "x$CONFIG_SHELL" != x; then :
 
214
  # We cannot yet assume a decent shell, so we have to provide a
 
215
        # neutralization value for shells without unset; and this also
 
216
        # works around shells that cannot unset nonexistent variables.
 
217
        BASH_ENV=/dev/null
 
218
        ENV=/dev/null
 
219
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
220
        export CONFIG_SHELL
 
221
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
222
fi
 
223
 
 
224
    if test x$as_have_required = xno; then :
 
225
  $as_echo "$0: This script requires a shell more modern than all"
 
226
  $as_echo "$0: the shells that I found on your system."
 
227
  if test x${ZSH_VERSION+set} = xset ; then
 
228
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
229
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
230
  else
 
231
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
 
232
$0: including any error possibly output before this
 
233
$0: message. Then install a modern shell, or manually run
 
234
$0: the script under such a shell if you do have one."
 
235
  fi
 
236
  exit 1
 
237
fi
 
238
fi
 
239
fi
 
240
SHELL=${CONFIG_SHELL-/bin/sh}
 
241
export SHELL
 
242
# Unset more variables known to interfere with behavior of common tools.
 
243
CLICOLOR_FORCE= GREP_OPTIONS=
 
244
unset CLICOLOR_FORCE GREP_OPTIONS
 
245
 
 
246
## --------------------- ##
 
247
## M4sh Shell Functions. ##
 
248
## --------------------- ##
 
249
# as_fn_unset VAR
 
250
# ---------------
 
251
# Portably unset VAR.
 
252
as_fn_unset ()
 
253
{
 
254
  { eval $1=; unset $1;}
 
255
}
 
256
as_unset=as_fn_unset
 
257
 
 
258
# as_fn_set_status STATUS
 
259
# -----------------------
 
260
# Set $? to STATUS, without forking.
 
261
as_fn_set_status ()
 
262
{
 
263
  return $1
 
264
} # as_fn_set_status
 
265
 
 
266
# as_fn_exit STATUS
 
267
# -----------------
 
268
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
269
as_fn_exit ()
 
270
{
 
271
  set +e
 
272
  as_fn_set_status $1
 
273
  exit $1
 
274
} # as_fn_exit
 
275
 
 
276
# as_fn_mkdir_p
 
277
# -------------
 
278
# Create "$as_dir" as a directory, including parents if necessary.
 
279
as_fn_mkdir_p ()
 
280
{
 
281
 
 
282
  case $as_dir in #(
 
283
  -*) as_dir=./$as_dir;;
 
284
  esac
 
285
  test -d "$as_dir" || eval $as_mkdir_p || {
 
286
    as_dirs=
 
287
    while :; do
 
288
      case $as_dir in #(
 
289
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
290
      *) as_qdir=$as_dir;;
 
291
      esac
 
292
      as_dirs="'$as_qdir' $as_dirs"
 
293
      as_dir=`$as_dirname -- "$as_dir" ||
 
294
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
295
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
296
         X"$as_dir" : 'X\(//\)$' \| \
 
297
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
298
$as_echo X"$as_dir" |
 
299
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
300
            s//\1/
 
301
            q
 
302
          }
 
303
          /^X\(\/\/\)[^/].*/{
 
304
            s//\1/
 
305
            q
 
306
          }
 
307
          /^X\(\/\/\)$/{
 
308
            s//\1/
 
309
            q
 
310
          }
 
311
          /^X\(\/\).*/{
 
312
            s//\1/
 
313
            q
 
314
          }
 
315
          s/.*/./; q'`
 
316
      test -d "$as_dir" && break
 
317
    done
 
318
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
319
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
320
 
 
321
 
 
322
} # as_fn_mkdir_p
 
323
# as_fn_append VAR VALUE
 
324
# ----------------------
 
325
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
326
# advantage of any shell optimizations that allow amortized linear growth over
 
327
# repeated appends, instead of the typical quadratic growth present in naive
 
328
# implementations.
 
329
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
330
  eval 'as_fn_append ()
 
331
  {
 
332
    eval $1+=\$2
 
333
  }'
 
334
else
 
335
  as_fn_append ()
 
336
  {
 
337
    eval $1=\$$1\$2
 
338
  }
 
339
fi # as_fn_append
 
340
 
 
341
# as_fn_arith ARG...
 
342
# ------------------
 
343
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
344
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
345
# must be portable across $(()) and expr.
 
346
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
347
  eval 'as_fn_arith ()
 
348
  {
 
349
    as_val=$(( $* ))
 
350
  }'
 
351
else
 
352
  as_fn_arith ()
 
353
  {
 
354
    as_val=`expr "$@" || test $? -eq 1`
 
355
  }
 
356
fi # as_fn_arith
 
357
 
 
358
 
 
359
# as_fn_error ERROR [LINENO LOG_FD]
 
360
# ---------------------------------
 
361
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
362
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
363
# script with status $?, using 1 if that was 0.
 
364
as_fn_error ()
 
365
{
 
366
  as_status=$?; test $as_status -eq 0 && as_status=1
 
367
  if test "$3"; then
 
368
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
369
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
370
  fi
 
371
  $as_echo "$as_me: error: $1" >&2
 
372
  as_fn_exit $as_status
 
373
} # as_fn_error
 
374
 
 
375
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
376
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
377
  as_expr=expr
 
378
else
 
379
  as_expr=false
 
380
fi
 
381
 
 
382
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
383
  as_basename=basename
 
384
else
 
385
  as_basename=false
 
386
fi
 
387
 
 
388
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
389
  as_dirname=dirname
 
390
else
 
391
  as_dirname=false
 
392
fi
 
393
 
 
394
as_me=`$as_basename -- "$0" ||
 
395
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
396
         X"$0" : 'X\(//\)$' \| \
 
397
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
398
$as_echo X/"$0" |
 
399
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
400
            s//\1/
 
401
            q
 
402
          }
 
403
          /^X\/\(\/\/\)$/{
 
404
            s//\1/
 
405
            q
 
406
          }
 
407
          /^X\/\(\/\).*/{
 
408
            s//\1/
 
409
            q
 
410
          }
 
411
          s/.*/./; q'`
 
412
 
 
413
# Avoid depending upon Character Ranges.
 
414
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
415
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
416
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
417
as_cr_digits='0123456789'
 
418
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
419
 
 
420
 
 
421
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
422
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
423
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
424
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
425
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
438
426
  sed -n '
439
427
    p
440
428
    /[$]LINENO/=
451
439
      s/-\n.*//
452
440
    ' >$as_me.lineno &&
453
441
  chmod +x "$as_me.lineno" ||
454
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455
 
   { (exit 1); exit 1; }; }
 
442
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
456
443
 
457
444
  # Don't try to exec as it changes $[0], causing all sort of problems
458
445
  # (the dirname of $[0] is not the place where we might find the
462
449
  exit
463
450
}
464
451
 
465
 
 
466
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467
 
  as_dirname=dirname
468
 
else
469
 
  as_dirname=false
470
 
fi
471
 
 
472
452
ECHO_C= ECHO_N= ECHO_T=
473
 
case `echo -n x` in
 
453
case `echo -n x` in #(((((
474
454
-n*)
475
 
  case `echo 'x\c'` in
 
455
  case `echo 'xy\c'` in
476
456
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
477
 
  *)   ECHO_C='\c';;
 
457
  xy)  ECHO_C='\c';;
 
458
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
459
       ECHO_T=' ';;
478
460
  esac;;
479
461
*)
480
462
  ECHO_N='-n';;
481
463
esac
482
464
 
483
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
484
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
485
 
  as_expr=expr
486
 
else
487
 
  as_expr=false
488
 
fi
489
 
 
490
465
rm -f conf$$ conf$$.exe conf$$.file
491
466
if test -d conf$$.dir; then
492
467
  rm -f conf$$.dir/conf$$.file
493
468
else
494
469
  rm -f conf$$.dir
495
 
  mkdir conf$$.dir
 
470
  mkdir conf$$.dir 2>/dev/null
496
471
fi
497
 
echo >conf$$.file
498
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
499
 
  as_ln_s='ln -s'
500
 
  # ... but there are two gotchas:
501
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503
 
  # In both cases, we have to default to `cp -p'.
504
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
472
if (echo >conf$$.file) 2>/dev/null; then
 
473
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
474
    as_ln_s='ln -s'
 
475
    # ... but there are two gotchas:
 
476
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
477
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
478
    # In both cases, we have to default to `cp -p'.
 
479
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
480
      as_ln_s='cp -p'
 
481
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
482
    as_ln_s=ln
 
483
  else
505
484
    as_ln_s='cp -p'
506
 
elif ln conf$$.file conf$$ 2>/dev/null; then
507
 
  as_ln_s=ln
 
485
  fi
508
486
else
509
487
  as_ln_s='cp -p'
510
488
fi
512
490
rmdir conf$$.dir 2>/dev/null
513
491
 
514
492
if mkdir -p . 2>/dev/null; then
515
 
  as_mkdir_p=:
 
493
  as_mkdir_p='mkdir -p "$as_dir"'
516
494
else
517
495
  test -d ./-p && rmdir ./-p
518
496
  as_mkdir_p=false
529
507
  as_test_x='
530
508
    eval sh -c '\''
531
509
      if test -d "$1"; then
532
 
        test -d "$1/.";
 
510
        test -d "$1/.";
533
511
      else
534
 
        case $1 in
535
 
        -*)set "./$1";;
 
512
        case $1 in #(
 
513
        -*)set "./$1";;
536
514
        esac;
537
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
515
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
538
516
        ???[sx]*):;;*)false;;esac;fi
539
517
    '\'' sh
540
518
  '
549
527
 
550
528
 
551
529
 
552
 
 
553
530
# Check that we are running under the correct shell.
554
531
SHELL=${CONFIG_SHELL-/bin/sh}
555
532
 
556
 
case X$ECHO in
 
533
case X$lt_ECHO in
557
534
X*--fallback-echo)
558
535
  # Remove one level of quotation (which was required for Make).
559
 
  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
 
536
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
560
537
  ;;
561
538
esac
562
539
 
563
 
echo=${ECHO-echo}
 
540
ECHO=${lt_ECHO-echo}
564
541
if test "X$1" = X--no-reexec; then
565
542
  # Discard the --no-reexec flag, and continue.
566
543
  shift
567
544
elif test "X$1" = X--fallback-echo; then
568
545
  # Avoid inline document here, it may be left over
569
546
  :
570
 
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
571
 
  # Yippee, $echo works!
 
547
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
 
548
  # Yippee, $ECHO works!
572
549
  :
573
550
else
574
551
  # Restart under the correct shell.
578
555
if test "X$1" = X--fallback-echo; then
579
556
  # used as fallback echo
580
557
  shift
581
 
  cat <<EOF
 
558
  cat <<_LT_EOF
582
559
$*
583
 
EOF
 
560
_LT_EOF
584
561
  exit 0
585
562
fi
586
563
 
588
565
# if CDPATH is set.
589
566
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
590
567
 
591
 
if test -z "$ECHO"; then
592
 
if test "X${echo_test_string+set}" != Xset; then
593
 
# find a string as large as possible, as long as the shell can cope with it
594
 
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595
 
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596
 
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
597
 
       echo_test_string=`eval $cmd` &&
598
 
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
599
 
    then
600
 
      break
601
 
    fi
602
 
  done
603
 
fi
604
 
 
605
 
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
606
 
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
607
 
   test "X$echo_testing_string" = "X$echo_test_string"; then
608
 
  :
609
 
else
610
 
  # The Solaris, AIX, and Digital Unix default echo programs unquote
611
 
  # backslashes.  This makes it impossible to quote backslashes using
612
 
  #   echo "$something" | sed 's/\\/\\\\/g'
613
 
  #
614
 
  # So, first we look for a working echo in the user's PATH.
615
 
 
616
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
617
 
  for dir in $PATH /usr/ucb; do
 
568
if test -z "$lt_ECHO"; then
 
569
  if test "X${echo_test_string+set}" != Xset; then
 
570
    # find a string as large as possible, as long as the shell can cope with it
 
571
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
 
572
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
573
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
 
574
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
 
575
      then
 
576
        break
 
577
      fi
 
578
    done
 
579
  fi
 
580
 
 
581
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
582
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
583
     test "X$echo_testing_string" = "X$echo_test_string"; then
 
584
    :
 
585
  else
 
586
    # The Solaris, AIX, and Digital Unix default echo programs unquote
 
587
    # backslashes.  This makes it impossible to quote backslashes using
 
588
    #   echo "$something" | sed 's/\\/\\\\/g'
 
589
    #
 
590
    # So, first we look for a working echo in the user's PATH.
 
591
 
 
592
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
593
    for dir in $PATH /usr/ucb; do
 
594
      IFS="$lt_save_ifs"
 
595
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
596
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
597
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
598
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
599
        ECHO="$dir/echo"
 
600
        break
 
601
      fi
 
602
    done
618
603
    IFS="$lt_save_ifs"
619
 
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
620
 
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
621
 
       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
622
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
623
 
      echo="$dir/echo"
624
 
      break
625
 
    fi
626
 
  done
627
 
  IFS="$lt_save_ifs"
628
604
 
629
 
  if test "X$echo" = Xecho; then
630
 
    # We didn't find a better echo, so look for alternatives.
631
 
    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
632
 
       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
633
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
634
 
      # This shell has a builtin print -r that does the trick.
635
 
      echo='print -r'
636
 
    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
637
 
         test "X$CONFIG_SHELL" != X/bin/ksh; then
638
 
      # If we have ksh, try running configure again with it.
639
 
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
640
 
      export ORIGINAL_CONFIG_SHELL
641
 
      CONFIG_SHELL=/bin/ksh
642
 
      export CONFIG_SHELL
643
 
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
644
 
    else
645
 
      # Try using printf.
646
 
      echo='printf %s\n'
647
 
      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
648
 
         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
649
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
650
 
        # Cool, printf works
651
 
        :
652
 
      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
653
 
           test "X$echo_testing_string" = 'X\t' &&
654
 
           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
655
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
656
 
        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
657
 
        export CONFIG_SHELL
658
 
        SHELL="$CONFIG_SHELL"
659
 
        export SHELL
660
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
661
 
      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
662
 
           test "X$echo_testing_string" = 'X\t' &&
663
 
           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
664
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
665
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
 
605
    if test "X$ECHO" = Xecho; then
 
606
      # We didn't find a better echo, so look for alternatives.
 
607
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
 
608
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
 
609
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
610
        # This shell has a builtin print -r that does the trick.
 
611
        ECHO='print -r'
 
612
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
 
613
           test "X$CONFIG_SHELL" != X/bin/ksh; then
 
614
        # If we have ksh, try running configure again with it.
 
615
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
616
        export ORIGINAL_CONFIG_SHELL
 
617
        CONFIG_SHELL=/bin/ksh
 
618
        export CONFIG_SHELL
 
619
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
666
620
      else
667
 
        # maybe with a smaller string...
668
 
        prev=:
669
 
 
670
 
        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
671
 
          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
672
 
          then
673
 
            break
 
621
        # Try using printf.
 
622
        ECHO='printf %s\n'
 
623
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
624
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
625
           test "X$echo_testing_string" = "X$echo_test_string"; then
 
626
          # Cool, printf works
 
627
          :
 
628
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
629
             test "X$echo_testing_string" = 'X\t' &&
 
630
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
631
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
632
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
633
          export CONFIG_SHELL
 
634
          SHELL="$CONFIG_SHELL"
 
635
          export SHELL
 
636
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
637
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
638
             test "X$echo_testing_string" = 'X\t' &&
 
639
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
640
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
641
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
642
        else
 
643
          # maybe with a smaller string...
 
644
          prev=:
 
645
 
 
646
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
 
647
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
 
648
            then
 
649
              break
 
650
            fi
 
651
            prev="$cmd"
 
652
          done
 
653
 
 
654
          if test "$prev" != 'sed 50q "$0"'; then
 
655
            echo_test_string=`eval $prev`
 
656
            export echo_test_string
 
657
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
 
658
          else
 
659
            # Oops.  We lost completely, so just stick with echo.
 
660
            ECHO=echo
674
661
          fi
675
 
          prev="$cmd"
676
 
        done
677
 
 
678
 
        if test "$prev" != 'sed 50q "$0"'; then
679
 
          echo_test_string=`eval $prev`
680
 
          export echo_test_string
681
 
          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
682
 
        else
683
 
          # Oops.  We lost completely, so just stick with echo.
684
 
          echo=echo
685
 
        fi
 
662
        fi
686
663
      fi
687
664
    fi
688
665
  fi
689
666
fi
690
 
fi
691
667
 
692
668
# Copy echo and quote the copy suitably for passing to libtool from
693
669
# the Makefile, instead of quoting the original, which is used later.
694
 
ECHO=$echo
695
 
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
696
 
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
 
670
lt_ECHO=$ECHO
 
671
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
 
672
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
697
673
fi
698
674
 
699
675
 
700
676
 
701
677
 
702
 
tagnames=${tagnames+${tagnames},}CXX
703
 
 
704
 
tagnames=${tagnames+${tagnames},}F77
705
 
 
706
 
exec 7<&0 </dev/null 6>&1
 
678
test -n "$DJDIR" || exec 7<&0 </dev/null
 
679
exec 6>&1
707
680
 
708
681
# Name of the host.
709
682
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
721
694
subdirs=
722
695
MFLAGS=
723
696
MAKEFLAGS=
724
 
SHELL=${CONFIG_SHELL-/bin/sh}
725
697
 
726
698
# Identity of this package.
727
 
PACKAGE_NAME=
728
 
PACKAGE_TARNAME=
729
 
PACKAGE_VERSION=
730
 
PACKAGE_STRING=
731
 
PACKAGE_BUGREPORT=
 
699
PACKAGE_NAME='libasprintf'
 
700
PACKAGE_TARNAME='libasprintf'
 
701
PACKAGE_VERSION='1.0'
 
702
PACKAGE_STRING='libasprintf 1.0'
 
703
PACKAGE_BUGREPORT=''
 
704
PACKAGE_URL=''
732
705
 
733
706
ac_unique_file="vasprintf.c"
734
707
# Factoring default headers for most tests.
767
740
# include <unistd.h>
768
741
#endif"
769
742
 
770
 
ac_subst_vars='SHELL
771
 
PATH_SEPARATOR
772
 
PACKAGE_NAME
773
 
PACKAGE_TARNAME
774
 
PACKAGE_VERSION
775
 
PACKAGE_STRING
776
 
PACKAGE_BUGREPORT
777
 
exec_prefix
778
 
prefix
779
 
program_transform_name
780
 
bindir
781
 
sbindir
782
 
libexecdir
783
 
datarootdir
784
 
datadir
785
 
sysconfdir
786
 
sharedstatedir
787
 
localstatedir
788
 
includedir
789
 
oldincludedir
790
 
docdir
791
 
infodir
792
 
htmldir
793
 
dvidir
794
 
pdfdir
795
 
psdir
796
 
libdir
797
 
localedir
798
 
mandir
799
 
DEFS
800
 
ECHO_C
801
 
ECHO_N
802
 
ECHO_T
803
 
LIBS
804
 
build_alias
805
 
host_alias
806
 
target_alias
807
 
INSTALL_PROGRAM
808
 
INSTALL_SCRIPT
809
 
INSTALL_DATA
810
 
am__isrc
811
 
CYGPATH_W
812
 
PACKAGE
813
 
VERSION
814
 
ACLOCAL
815
 
AUTOCONF
816
 
AUTOMAKE
817
 
AUTOHEADER
818
 
MAKEINFO
819
 
install_sh
820
 
STRIP
821
 
INSTALL_STRIP_PROGRAM
822
 
mkdir_p
823
 
AWK
824
 
SET_MAKE
825
 
am__leading_dot
826
 
AMTAR
827
 
am__tar
828
 
am__untar
829
 
CC
830
 
CFLAGS
831
 
LDFLAGS
832
 
CPPFLAGS
833
 
ac_ct_CC
834
 
EXEEXT
835
 
OBJEXT
836
 
DEPDIR
837
 
am__include
838
 
am__quote
839
 
AMDEP_TRUE
840
 
AMDEP_FALSE
841
 
AMDEPBACKSLASH
842
 
CCDEPMODE
843
 
am__fastdepCC_TRUE
844
 
am__fastdepCC_FALSE
845
 
CXX
846
 
CXXFLAGS
847
 
ac_ct_CXX
848
 
CXXDEPMODE
849
 
am__fastdepCXX_TRUE
850
 
am__fastdepCXX_FALSE
851
 
build
852
 
build_cpu
853
 
build_vendor
854
 
build_os
855
 
host
856
 
host_cpu
857
 
host_vendor
858
 
host_os
 
743
gl_header_list=
 
744
ac_subst_vars='gltests_LTLIBOBJS
 
745
gltests_LIBOBJS
 
746
gl_LTLIBOBJS
 
747
gl_LIBOBJS
 
748
am__EXEEXT_FALSE
 
749
am__EXEEXT_TRUE
 
750
LTLIBOBJS
 
751
LIBOBJS
 
752
PERL
 
753
TEXI2PDF
 
754
DVIPS
 
755
gltests_WITNESS
 
756
EOVERFLOW_VALUE
 
757
EOVERFLOW_HIDDEN
 
758
ENOLINK_VALUE
 
759
ENOLINK_HIDDEN
 
760
EMULTIHOP_VALUE
 
761
EMULTIHOP_HIDDEN
 
762
ERRNO_H
 
763
NEXT_AS_FIRST_DIRECTIVE_ERRNO_H
 
764
NEXT_ERRNO_H
 
765
PRAGMA_SYSTEM_HEADER
 
766
INCLUDE_NEXT_AS_FIRST_DIRECTIVE
 
767
INCLUDE_NEXT
 
768
ALLOCA_H
 
769
ALLOCA
 
770
LTALLOCA
 
771
GL_COND_LIBTOOL_FALSE
 
772
GL_COND_LIBTOOL_TRUE
 
773
LTNOUNDEF
 
774
CXXCPP
 
775
CPP
 
776
OTOOL64
 
777
OTOOL
 
778
LIPO
 
779
NMEDIT
 
780
DSYMUTIL
 
781
lt_ECHO
 
782
AR
 
783
LN_S
 
784
NM
 
785
ac_ct_DUMPBIN
 
786
DUMPBIN
 
787
LD
 
788
FGREP
 
789
EGREP
 
790
GREP
859
791
SED
860
 
GREP
861
 
EGREP
862
 
LN_S
863
 
ECHO
864
 
AR
865
 
RANLIB
 
792
LIBTOOL
 
793
OBJDUMP
866
794
DLLTOOL
867
795
AS
868
 
OBJDUMP
869
 
CPP
870
 
CXXCPP
871
 
F77
872
 
FFLAGS
873
 
ac_ct_F77
874
 
LIBTOOL
875
 
LTNOUNDEF
876
 
ALLOCA
877
 
ALLOCA_H
878
 
DVIPS
879
 
TEXI2PDF
880
 
PERL
881
 
LIBOBJS
882
 
LTLIBOBJS'
 
796
RANLIB
 
797
host_os
 
798
host_vendor
 
799
host_cpu
 
800
host
 
801
build_os
 
802
build_vendor
 
803
build_cpu
 
804
build
 
805
am__fastdepCXX_FALSE
 
806
am__fastdepCXX_TRUE
 
807
CXXDEPMODE
 
808
ac_ct_CXX
 
809
CXXFLAGS
 
810
CXX
 
811
am__fastdepCC_FALSE
 
812
am__fastdepCC_TRUE
 
813
CCDEPMODE
 
814
AMDEPBACKSLASH
 
815
AMDEP_FALSE
 
816
AMDEP_TRUE
 
817
am__quote
 
818
am__include
 
819
DEPDIR
 
820
OBJEXT
 
821
EXEEXT
 
822
ac_ct_CC
 
823
CPPFLAGS
 
824
LDFLAGS
 
825
CFLAGS
 
826
CC
 
827
AM_BACKSLASH
 
828
AM_DEFAULT_VERBOSITY
 
829
am__untar
 
830
am__tar
 
831
AMTAR
 
832
am__leading_dot
 
833
SET_MAKE
 
834
AWK
 
835
mkdir_p
 
836
MKDIR_P
 
837
INSTALL_STRIP_PROGRAM
 
838
STRIP
 
839
install_sh
 
840
MAKEINFO
 
841
AUTOHEADER
 
842
AUTOMAKE
 
843
AUTOCONF
 
844
ACLOCAL
 
845
VERSION
 
846
PACKAGE
 
847
CYGPATH_W
 
848
am__isrc
 
849
INSTALL_DATA
 
850
INSTALL_SCRIPT
 
851
INSTALL_PROGRAM
 
852
target_alias
 
853
host_alias
 
854
build_alias
 
855
LIBS
 
856
ECHO_T
 
857
ECHO_N
 
858
ECHO_C
 
859
DEFS
 
860
mandir
 
861
localedir
 
862
libdir
 
863
psdir
 
864
pdfdir
 
865
dvidir
 
866
htmldir
 
867
infodir
 
868
docdir
 
869
oldincludedir
 
870
includedir
 
871
localstatedir
 
872
sharedstatedir
 
873
sysconfdir
 
874
datadir
 
875
datarootdir
 
876
libexecdir
 
877
sbindir
 
878
bindir
 
879
program_transform_name
 
880
prefix
 
881
exec_prefix
 
882
PACKAGE_URL
 
883
PACKAGE_BUGREPORT
 
884
PACKAGE_STRING
 
885
PACKAGE_VERSION
 
886
PACKAGE_TARNAME
 
887
PACKAGE_NAME
 
888
PATH_SEPARATOR
 
889
SHELL'
883
890
ac_subst_files=''
 
891
ac_user_opts='
 
892
enable_option_checking
 
893
enable_silent_rules
 
894
enable_dependency_tracking
 
895
enable_shared
 
896
enable_static
 
897
with_pic
 
898
enable_fast_install
 
899
with_gnu_ld
 
900
enable_libtool_lock
 
901
'
884
902
      ac_precious_vars='build_alias
885
903
host_alias
886
904
target_alias
893
911
CXXFLAGS
894
912
CCC
895
913
CPP
896
 
CXXCPP
897
 
F77
898
 
FFLAGS'
 
914
CXXCPP'
899
915
 
900
916
 
901
917
# Initialize some variables set by options.
902
918
ac_init_help=
903
919
ac_init_version=false
 
920
ac_unrecognized_opts=
 
921
ac_unrecognized_sep=
904
922
# The variables have the same names as the options, with
905
923
# dashes changed to underlines.
906
924
cache_file=/dev/null
934
952
localstatedir='${prefix}/var'
935
953
includedir='${prefix}/include'
936
954
oldincludedir='/usr/include'
937
 
docdir='${datarootdir}/doc/${PACKAGE}'
 
955
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
938
956
infodir='${datarootdir}/info'
939
957
htmldir='${docdir}'
940
958
dvidir='${docdir}'
999
1017
    datarootdir=$ac_optarg ;;
1000
1018
 
1001
1019
  -disable-* | --disable-*)
1002
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1020
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1003
1021
    # Reject names that are not valid shell variable names.
1004
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1005
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1006
 
   { (exit 1); exit 1; }; }
1007
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1008
 
    eval enable_$ac_feature=no ;;
 
1022
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1023
      as_fn_error "invalid feature name: $ac_useropt"
 
1024
    ac_useropt_orig=$ac_useropt
 
1025
    ac_useropt=`$as_echo "$ac_useropt" | sed -e 's/[+]/x/g' -e 's/[-.]/_/g'`
 
1026
    case $ac_user_opts in
 
1027
      *"
 
1028
"enable_$ac_useropt"
 
1029
"*) ;;
 
1030
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1031
         ac_unrecognized_sep=', ';;
 
1032
    esac
 
1033
    eval enable_$ac_useropt=no ;;
1009
1034
 
1010
1035
  -docdir | --docdir | --docdi | --doc | --do)
1011
1036
    ac_prev=docdir ;;
1018
1043
    dvidir=$ac_optarg ;;
1019
1044
 
1020
1045
  -enable-* | --enable-*)
1021
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1046
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1022
1047
    # Reject names that are not valid shell variable names.
1023
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1024
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1025
 
   { (exit 1); exit 1; }; }
1026
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1027
 
    eval enable_$ac_feature=\$ac_optarg ;;
 
1048
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1049
      as_fn_error "invalid feature name: $ac_useropt"
 
1050
    ac_useropt_orig=$ac_useropt
 
1051
    ac_useropt=`$as_echo "$ac_useropt" | sed -e 's/[+]/x/g' -e 's/[-.]/_/g'`
 
1052
    case $ac_user_opts in
 
1053
      *"
 
1054
"enable_$ac_useropt"
 
1055
"*) ;;
 
1056
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1057
         ac_unrecognized_sep=', ';;
 
1058
    esac
 
1059
    eval enable_$ac_useropt=\$ac_optarg ;;
1028
1060
 
1029
1061
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1030
1062
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1215
1247
    ac_init_version=: ;;
1216
1248
 
1217
1249
  -with-* | --with-*)
1218
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1250
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1219
1251
    # Reject names that are not valid shell variable names.
1220
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1221
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1222
 
   { (exit 1); exit 1; }; }
1223
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1224
 
    eval with_$ac_package=\$ac_optarg ;;
 
1252
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1253
      as_fn_error "invalid package name: $ac_useropt"
 
1254
    ac_useropt_orig=$ac_useropt
 
1255
    ac_useropt=`$as_echo "$ac_useropt" | sed -e 's/[+]/x/g' -e 's/[-.]/_/g'`
 
1256
    case $ac_user_opts in
 
1257
      *"
 
1258
"with_$ac_useropt"
 
1259
"*) ;;
 
1260
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1261
         ac_unrecognized_sep=', ';;
 
1262
    esac
 
1263
    eval with_$ac_useropt=\$ac_optarg ;;
1225
1264
 
1226
1265
  -without-* | --without-*)
1227
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1266
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1228
1267
    # Reject names that are not valid shell variable names.
1229
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1230
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1231
 
   { (exit 1); exit 1; }; }
1232
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1233
 
    eval with_$ac_package=no ;;
 
1268
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1269
      as_fn_error "invalid package name: $ac_useropt"
 
1270
    ac_useropt_orig=$ac_useropt
 
1271
    ac_useropt=`$as_echo "$ac_useropt" | sed -e 's/[+]/x/g' -e 's/[-.]/_/g'`
 
1272
    case $ac_user_opts in
 
1273
      *"
 
1274
"with_$ac_useropt"
 
1275
"*) ;;
 
1276
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1277
         ac_unrecognized_sep=', ';;
 
1278
    esac
 
1279
    eval with_$ac_useropt=no ;;
1234
1280
 
1235
1281
  --x)
1236
1282
    # Obsolete; use --with-x.
1250
1296
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1251
1297
    x_libraries=$ac_optarg ;;
1252
1298
 
1253
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
1254
 
Try \`$0 --help' for more information." >&2
1255
 
   { (exit 1); exit 1; }; }
 
1299
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1300
Try \`$0 --help' for more information."
1256
1301
    ;;
1257
1302
 
1258
1303
  *=*)
1259
1304
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1260
1305
    # Reject names that are not valid shell variable names.
1261
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1262
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1263
 
   { (exit 1); exit 1; }; }
 
1306
    case $ac_envvar in #(
 
1307
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1308
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1309
    esac
1264
1310
    eval $ac_envvar=\$ac_optarg
1265
1311
    export $ac_envvar ;;
1266
1312
 
1267
1313
  *)
1268
1314
    # FIXME: should be removed in autoconf 3.0.
1269
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1315
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1270
1316
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1271
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1317
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1272
1318
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1273
1319
    ;;
1274
1320
 
1277
1323
 
1278
1324
if test -n "$ac_prev"; then
1279
1325
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1280
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
1281
 
   { (exit 1); exit 1; }; }
1282
 
fi
1283
 
 
1284
 
# Be sure to have absolute directory names.
 
1326
  as_fn_error "missing argument to $ac_option"
 
1327
fi
 
1328
 
 
1329
if test -n "$ac_unrecognized_opts"; then
 
1330
  case $enable_option_checking in
 
1331
    no) ;;
 
1332
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1333
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1334
  esac
 
1335
fi
 
1336
 
 
1337
# Check all directory arguments for consistency.
1285
1338
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1286
1339
                datadir sysconfdir sharedstatedir localstatedir includedir \
1287
1340
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1288
1341
                libdir localedir mandir
1289
1342
do
1290
1343
  eval ac_val=\$$ac_var
 
1344
  # Remove trailing slashes.
 
1345
  case $ac_val in
 
1346
    */ )
 
1347
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1348
      eval $ac_var=\$ac_val;;
 
1349
  esac
 
1350
  # Be sure to have absolute directory names.
1291
1351
  case $ac_val in
1292
1352
    [\\/$]* | ?:[\\/]* )  continue;;
1293
1353
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1294
1354
  esac
1295
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1296
 
   { (exit 1); exit 1; }; }
 
1355
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1297
1356
done
1298
1357
 
1299
1358
# There might be people who depend on the old broken behavior: `$host'
1307
1366
if test "x$host_alias" != x; then
1308
1367
  if test "x$build_alias" = x; then
1309
1368
    cross_compiling=maybe
1310
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1369
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1311
1370
    If a cross compiler is detected then cross compile mode will be used." >&2
1312
1371
  elif test "x$build_alias" != "x$host_alias"; then
1313
1372
    cross_compiling=yes
1323
1382
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1324
1383
ac_ls_di=`ls -di .` &&
1325
1384
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1326
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
1327
 
   { (exit 1); exit 1; }; }
 
1385
  as_fn_error "working directory cannot be determined"
1328
1386
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1329
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1330
 
   { (exit 1); exit 1; }; }
 
1387
  as_fn_error "pwd does not report name of working directory"
1331
1388
 
1332
1389
 
1333
1390
# Find the source files, if location was not specified.
1334
1391
if test -z "$srcdir"; then
1335
1392
  ac_srcdir_defaulted=yes
1336
1393
  # Try the directory containing this script, then the parent directory.
1337
 
  ac_confdir=`$as_dirname -- "$0" ||
1338
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1339
 
         X"$0" : 'X\(//\)[^/]' \| \
1340
 
         X"$0" : 'X\(//\)$' \| \
1341
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1342
 
echo X"$0" |
 
1394
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1395
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1396
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1397
         X"$as_myself" : 'X\(//\)$' \| \
 
1398
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1399
$as_echo X"$as_myself" |
1343
1400
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1344
1401
            s//\1/
1345
1402
            q
1366
1423
fi
1367
1424
if test ! -r "$srcdir/$ac_unique_file"; then
1368
1425
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1369
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1370
 
   { (exit 1); exit 1; }; }
 
1426
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1371
1427
fi
1372
1428
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1373
1429
ac_abs_confdir=`(
1374
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1375
 
   { (exit 1); exit 1; }; }
 
1430
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1376
1431
        pwd)`
1377
1432
# When building in place, set srcdir=.
1378
1433
if test "$ac_abs_confdir" = "$ac_pwd"; then
1398
1453
  # Omit some internal or obsolete options to make the list less imposing.
1399
1454
  # This message is too long to be a string in the A/UX 3.1 sh.
1400
1455
  cat <<_ACEOF
1401
 
\`configure' configures this package to adapt to many kinds of systems.
 
1456
\`configure' configures libasprintf 1.0 to adapt to many kinds of systems.
1402
1457
 
1403
1458
Usage: $0 [OPTION]... [VAR=VALUE]...
1404
1459
 
1420
1475
 
1421
1476
Installation directories:
1422
1477
  --prefix=PREFIX         install architecture-independent files in PREFIX
1423
 
                          [$ac_default_prefix]
 
1478
                          [$ac_default_prefix]
1424
1479
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1425
 
                          [PREFIX]
 
1480
                          [PREFIX]
1426
1481
 
1427
1482
By default, \`make install' will install all the files in
1428
1483
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1432
1487
For better control, use the options below.
1433
1488
 
1434
1489
Fine tuning of the installation directories:
1435
 
  --bindir=DIR           user executables [EPREFIX/bin]
1436
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1437
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1438
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1439
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1440
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1441
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1442
 
  --includedir=DIR       C header files [PREFIX/include]
1443
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1444
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1445
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1446
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1447
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1448
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1449
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1450
 
  --htmldir=DIR          html documentation [DOCDIR]
1451
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1452
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1453
 
  --psdir=DIR            ps documentation [DOCDIR]
 
1490
  --bindir=DIR            user executables [EPREFIX/bin]
 
1491
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1492
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1493
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1494
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1495
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1496
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1497
  --includedir=DIR        C header files [PREFIX/include]
 
1498
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1499
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1500
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1501
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1502
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1503
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1504
  --docdir=DIR            documentation root [DATAROOTDIR/doc/libasprintf]
 
1505
  --htmldir=DIR           html documentation [DOCDIR]
 
1506
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1507
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1508
  --psdir=DIR             ps documentation [DOCDIR]
1454
1509
_ACEOF
1455
1510
 
1456
1511
  cat <<\_ACEOF
1467
1522
fi
1468
1523
 
1469
1524
if test -n "$ac_init_help"; then
1470
 
 
 
1525
  case $ac_init_help in
 
1526
     short | recursive ) echo "Configuration of libasprintf 1.0:";;
 
1527
   esac
1471
1528
  cat <<\_ACEOF
1472
1529
 
1473
1530
Optional Features:
 
1531
  --disable-option-checking  ignore unrecognized --enable/--with options
1474
1532
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1475
1533
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1534
  --enable-silent-rules          less verbose build output (undo: `make V=1')
 
1535
  --disable-silent-rules         verbose build output (undo: `make V=0')
1476
1536
  --disable-dependency-tracking  speeds up one-time build
1477
1537
  --enable-dependency-tracking   do not reject slow dependency extractors
1478
1538
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1484
1544
Optional Packages:
1485
1545
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1486
1546
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1487
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1488
1547
  --with-pic              try to use only PIC/non-PIC objects [default=use
1489
1548
                          both]
1490
 
  --with-tags[=TAGS]      include additional configurations [automatic]
 
1549
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1491
1550
 
1492
1551
Some influential environment variables:
1493
1552
  CC          C compiler command
1495
1554
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1496
1555
              nonstandard directory <lib dir>
1497
1556
  LIBS        libraries to pass to the linker, e.g. -l<library>
1498
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1557
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1499
1558
              you have headers in a nonstandard directory <include dir>
1500
1559
  CXX         C++ compiler command
1501
1560
  CXXFLAGS    C++ compiler flags
1502
1561
  CPP         C preprocessor
1503
1562
  CXXCPP      C++ preprocessor
1504
 
  F77         Fortran 77 compiler command
1505
 
  FFLAGS      Fortran 77 compiler flags
1506
1563
 
1507
1564
Use these variables to override the choices made by `configure' or to help
1508
1565
it to find libraries and programs with nonstandard names/locations.
1509
1566
 
 
1567
Report bugs to the package provider.
1510
1568
_ACEOF
1511
1569
ac_status=$?
1512
1570
fi
1514
1572
if test "$ac_init_help" = "recursive"; then
1515
1573
  # If there are subdirs, report their specific --help.
1516
1574
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1517
 
    test -d "$ac_dir" || continue
 
1575
    test -d "$ac_dir" ||
 
1576
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1577
      continue
1518
1578
    ac_builddir=.
1519
1579
 
1520
1580
case "$ac_dir" in
1521
1581
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1522
1582
*)
1523
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1583
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1524
1584
  # A ".." for each directory in $ac_dir_suffix.
1525
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1585
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1526
1586
  case $ac_top_builddir_sub in
1527
1587
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1528
1588
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1558
1618
      echo &&
1559
1619
      $SHELL "$ac_srcdir/configure" --help=recursive
1560
1620
    else
1561
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1621
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1562
1622
    fi || ac_status=$?
1563
1623
    cd "$ac_pwd" || { ac_status=$?; break; }
1564
1624
  done
1567
1627
test -n "$ac_init_help" && exit $ac_status
1568
1628
if $ac_init_version; then
1569
1629
  cat <<\_ACEOF
1570
 
configure
1571
 
generated by GNU Autoconf 2.61
 
1630
libasprintf configure 1.0
 
1631
generated by GNU Autoconf 2.65
1572
1632
 
1573
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1574
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1633
Copyright (C) 2009 Free Software Foundation, Inc.
1575
1634
This configure script is free software; the Free Software Foundation
1576
1635
gives unlimited permission to copy, distribute and modify it.
1577
1636
_ACEOF
1578
1637
  exit
1579
1638
fi
 
1639
 
 
1640
## ------------------------ ##
 
1641
## Autoconf initialization. ##
 
1642
## ------------------------ ##
 
1643
 
 
1644
# ac_fn_c_try_compile LINENO
 
1645
# --------------------------
 
1646
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1647
ac_fn_c_try_compile ()
 
1648
{
 
1649
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1650
  rm -f conftest.$ac_objext
 
1651
  if { { ac_try="$ac_compile"
 
1652
case "(($ac_try" in
 
1653
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1654
  *) ac_try_echo=$ac_try;;
 
1655
esac
 
1656
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1657
$as_echo "$ac_try_echo"; } >&5
 
1658
  (eval "$ac_compile") 2>conftest.err
 
1659
  ac_status=$?
 
1660
  if test -s conftest.err; then
 
1661
    grep -v '^ *+' conftest.err >conftest.er1
 
1662
    cat conftest.er1 >&5
 
1663
    mv -f conftest.er1 conftest.err
 
1664
  fi
 
1665
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1666
  test $ac_status = 0; } && {
 
1667
         test -z "$ac_c_werror_flag" ||
 
1668
         test ! -s conftest.err
 
1669
       } && test -s conftest.$ac_objext; then :
 
1670
  ac_retval=0
 
1671
else
 
1672
  $as_echo "$as_me: failed program was:" >&5
 
1673
sed 's/^/| /' conftest.$ac_ext >&5
 
1674
 
 
1675
        ac_retval=1
 
1676
fi
 
1677
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1678
  as_fn_set_status $ac_retval
 
1679
 
 
1680
} # ac_fn_c_try_compile
 
1681
 
 
1682
# ac_fn_cxx_try_compile LINENO
 
1683
# ----------------------------
 
1684
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1685
ac_fn_cxx_try_compile ()
 
1686
{
 
1687
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1688
  rm -f conftest.$ac_objext
 
1689
  if { { ac_try="$ac_compile"
 
1690
case "(($ac_try" in
 
1691
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1692
  *) ac_try_echo=$ac_try;;
 
1693
esac
 
1694
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1695
$as_echo "$ac_try_echo"; } >&5
 
1696
  (eval "$ac_compile") 2>conftest.err
 
1697
  ac_status=$?
 
1698
  if test -s conftest.err; then
 
1699
    grep -v '^ *+' conftest.err >conftest.er1
 
1700
    cat conftest.er1 >&5
 
1701
    mv -f conftest.er1 conftest.err
 
1702
  fi
 
1703
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1704
  test $ac_status = 0; } && {
 
1705
         test -z "$ac_cxx_werror_flag" ||
 
1706
         test ! -s conftest.err
 
1707
       } && test -s conftest.$ac_objext; then :
 
1708
  ac_retval=0
 
1709
else
 
1710
  $as_echo "$as_me: failed program was:" >&5
 
1711
sed 's/^/| /' conftest.$ac_ext >&5
 
1712
 
 
1713
        ac_retval=1
 
1714
fi
 
1715
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1716
  as_fn_set_status $ac_retval
 
1717
 
 
1718
} # ac_fn_cxx_try_compile
 
1719
 
 
1720
# ac_fn_c_try_link LINENO
 
1721
# -----------------------
 
1722
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1723
ac_fn_c_try_link ()
 
1724
{
 
1725
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1726
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1727
  if { { ac_try="$ac_link"
 
1728
case "(($ac_try" in
 
1729
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1730
  *) ac_try_echo=$ac_try;;
 
1731
esac
 
1732
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1733
$as_echo "$ac_try_echo"; } >&5
 
1734
  (eval "$ac_link") 2>conftest.err
 
1735
  ac_status=$?
 
1736
  if test -s conftest.err; then
 
1737
    grep -v '^ *+' conftest.err >conftest.er1
 
1738
    cat conftest.er1 >&5
 
1739
    mv -f conftest.er1 conftest.err
 
1740
  fi
 
1741
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1742
  test $ac_status = 0; } && {
 
1743
         test -z "$ac_c_werror_flag" ||
 
1744
         test ! -s conftest.err
 
1745
       } && test -s conftest$ac_exeext && {
 
1746
         test "$cross_compiling" = yes ||
 
1747
         $as_test_x conftest$ac_exeext
 
1748
       }; then :
 
1749
  ac_retval=0
 
1750
else
 
1751
  $as_echo "$as_me: failed program was:" >&5
 
1752
sed 's/^/| /' conftest.$ac_ext >&5
 
1753
 
 
1754
        ac_retval=1
 
1755
fi
 
1756
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1757
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1758
  # interfere with the next link command; also delete a directory that is
 
1759
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1760
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1761
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1762
  as_fn_set_status $ac_retval
 
1763
 
 
1764
} # ac_fn_c_try_link
 
1765
 
 
1766
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1767
# -------------------------------------------------------
 
1768
# Tests whether HEADER exists and can be compiled using the include files in
 
1769
# INCLUDES, setting the cache variable VAR accordingly.
 
1770
ac_fn_c_check_header_compile ()
 
1771
{
 
1772
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1773
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1774
$as_echo_n "checking for $2... " >&6; }
 
1775
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1776
  $as_echo_n "(cached) " >&6
 
1777
else
 
1778
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1779
/* end confdefs.h.  */
 
1780
$4
 
1781
#include <$2>
 
1782
_ACEOF
 
1783
if ac_fn_c_try_compile "$LINENO"; then :
 
1784
  eval "$3=yes"
 
1785
else
 
1786
  eval "$3=no"
 
1787
fi
 
1788
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1789
fi
 
1790
eval ac_res=\$$3
 
1791
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1792
$as_echo "$ac_res" >&6; }
 
1793
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1794
 
 
1795
} # ac_fn_c_check_header_compile
 
1796
 
 
1797
# ac_fn_c_try_cpp LINENO
 
1798
# ----------------------
 
1799
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1800
ac_fn_c_try_cpp ()
 
1801
{
 
1802
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1803
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1804
case "(($ac_try" in
 
1805
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1806
  *) ac_try_echo=$ac_try;;
 
1807
esac
 
1808
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1809
$as_echo "$ac_try_echo"; } >&5
 
1810
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1811
  ac_status=$?
 
1812
  if test -s conftest.err; then
 
1813
    grep -v '^ *+' conftest.err >conftest.er1
 
1814
    cat conftest.er1 >&5
 
1815
    mv -f conftest.er1 conftest.err
 
1816
  fi
 
1817
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1818
  test $ac_status = 0; } >/dev/null && {
 
1819
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1820
         test ! -s conftest.err
 
1821
       }; then :
 
1822
  ac_retval=0
 
1823
else
 
1824
  $as_echo "$as_me: failed program was:" >&5
 
1825
sed 's/^/| /' conftest.$ac_ext >&5
 
1826
 
 
1827
    ac_retval=1
 
1828
fi
 
1829
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1830
  as_fn_set_status $ac_retval
 
1831
 
 
1832
} # ac_fn_c_try_cpp
 
1833
 
 
1834
# ac_fn_c_try_run LINENO
 
1835
# ----------------------
 
1836
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1837
# that executables *can* be run.
 
1838
ac_fn_c_try_run ()
 
1839
{
 
1840
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1841
  if { { ac_try="$ac_link"
 
1842
case "(($ac_try" in
 
1843
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1844
  *) ac_try_echo=$ac_try;;
 
1845
esac
 
1846
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1847
$as_echo "$ac_try_echo"; } >&5
 
1848
  (eval "$ac_link") 2>&5
 
1849
  ac_status=$?
 
1850
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1851
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1852
  { { case "(($ac_try" in
 
1853
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1854
  *) ac_try_echo=$ac_try;;
 
1855
esac
 
1856
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1857
$as_echo "$ac_try_echo"; } >&5
 
1858
  (eval "$ac_try") 2>&5
 
1859
  ac_status=$?
 
1860
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1861
  test $ac_status = 0; }; }; then :
 
1862
  ac_retval=0
 
1863
else
 
1864
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1865
       $as_echo "$as_me: failed program was:" >&5
 
1866
sed 's/^/| /' conftest.$ac_ext >&5
 
1867
 
 
1868
       ac_retval=$ac_status
 
1869
fi
 
1870
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1871
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1872
  as_fn_set_status $ac_retval
 
1873
 
 
1874
} # ac_fn_c_try_run
 
1875
 
 
1876
# ac_fn_c_check_func LINENO FUNC VAR
 
1877
# ----------------------------------
 
1878
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1879
ac_fn_c_check_func ()
 
1880
{
 
1881
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1882
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1883
$as_echo_n "checking for $2... " >&6; }
 
1884
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1885
  $as_echo_n "(cached) " >&6
 
1886
else
 
1887
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1888
/* end confdefs.h.  */
 
1889
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1890
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1891
#define $2 innocuous_$2
 
1892
 
 
1893
/* System header to define __stub macros and hopefully few prototypes,
 
1894
    which can conflict with char $2 (); below.
 
1895
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1896
    <limits.h> exists even on freestanding compilers.  */
 
1897
 
 
1898
#ifdef __STDC__
 
1899
# include <limits.h>
 
1900
#else
 
1901
# include <assert.h>
 
1902
#endif
 
1903
 
 
1904
#undef $2
 
1905
 
 
1906
/* Override any GCC internal prototype to avoid an error.
 
1907
   Use char because int might match the return type of a GCC
 
1908
   builtin and then its argument prototype would still apply.  */
 
1909
#ifdef __cplusplus
 
1910
extern "C"
 
1911
#endif
 
1912
char $2 ();
 
1913
/* The GNU C library defines this for functions which it implements
 
1914
    to always fail with ENOSYS.  Some functions are actually named
 
1915
    something starting with __ and the normal name is an alias.  */
 
1916
#if defined __stub_$2 || defined __stub___$2
 
1917
choke me
 
1918
#endif
 
1919
 
 
1920
int
 
1921
main ()
 
1922
{
 
1923
return $2 ();
 
1924
  ;
 
1925
  return 0;
 
1926
}
 
1927
_ACEOF
 
1928
if ac_fn_c_try_link "$LINENO"; then :
 
1929
  eval "$3=yes"
 
1930
else
 
1931
  eval "$3=no"
 
1932
fi
 
1933
rm -f core conftest.err conftest.$ac_objext \
 
1934
    conftest$ac_exeext conftest.$ac_ext
 
1935
fi
 
1936
eval ac_res=\$$3
 
1937
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1938
$as_echo "$ac_res" >&6; }
 
1939
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1940
 
 
1941
} # ac_fn_c_check_func
 
1942
 
 
1943
# ac_fn_cxx_try_cpp LINENO
 
1944
# ------------------------
 
1945
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1946
ac_fn_cxx_try_cpp ()
 
1947
{
 
1948
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1949
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1950
case "(($ac_try" in
 
1951
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1952
  *) ac_try_echo=$ac_try;;
 
1953
esac
 
1954
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1955
$as_echo "$ac_try_echo"; } >&5
 
1956
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1957
  ac_status=$?
 
1958
  if test -s conftest.err; then
 
1959
    grep -v '^ *+' conftest.err >conftest.er1
 
1960
    cat conftest.er1 >&5
 
1961
    mv -f conftest.er1 conftest.err
 
1962
  fi
 
1963
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1964
  test $ac_status = 0; } >/dev/null && {
 
1965
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
1966
         test ! -s conftest.err
 
1967
       }; then :
 
1968
  ac_retval=0
 
1969
else
 
1970
  $as_echo "$as_me: failed program was:" >&5
 
1971
sed 's/^/| /' conftest.$ac_ext >&5
 
1972
 
 
1973
    ac_retval=1
 
1974
fi
 
1975
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1976
  as_fn_set_status $ac_retval
 
1977
 
 
1978
} # ac_fn_cxx_try_cpp
 
1979
 
 
1980
# ac_fn_cxx_try_link LINENO
 
1981
# -------------------------
 
1982
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1983
ac_fn_cxx_try_link ()
 
1984
{
 
1985
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1986
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1987
  if { { ac_try="$ac_link"
 
1988
case "(($ac_try" in
 
1989
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1990
  *) ac_try_echo=$ac_try;;
 
1991
esac
 
1992
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1993
$as_echo "$ac_try_echo"; } >&5
 
1994
  (eval "$ac_link") 2>conftest.err
 
1995
  ac_status=$?
 
1996
  if test -s conftest.err; then
 
1997
    grep -v '^ *+' conftest.err >conftest.er1
 
1998
    cat conftest.er1 >&5
 
1999
    mv -f conftest.er1 conftest.err
 
2000
  fi
 
2001
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2002
  test $ac_status = 0; } && {
 
2003
         test -z "$ac_cxx_werror_flag" ||
 
2004
         test ! -s conftest.err
 
2005
       } && test -s conftest$ac_exeext && {
 
2006
         test "$cross_compiling" = yes ||
 
2007
         $as_test_x conftest$ac_exeext
 
2008
       }; then :
 
2009
  ac_retval=0
 
2010
else
 
2011
  $as_echo "$as_me: failed program was:" >&5
 
2012
sed 's/^/| /' conftest.$ac_ext >&5
 
2013
 
 
2014
        ac_retval=1
 
2015
fi
 
2016
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
2017
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
2018
  # interfere with the next link command; also delete a directory that is
 
2019
  # left behind by Apple's compiler.  We do this before executing the actions.
 
2020
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
2021
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2022
  as_fn_set_status $ac_retval
 
2023
 
 
2024
} # ac_fn_cxx_try_link
 
2025
 
 
2026
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 
2027
# -------------------------------------------
 
2028
# Tests whether TYPE exists after having included INCLUDES, setting cache
 
2029
# variable VAR accordingly.
 
2030
ac_fn_c_check_type ()
 
2031
{
 
2032
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2033
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2034
$as_echo_n "checking for $2... " >&6; }
 
2035
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2036
  $as_echo_n "(cached) " >&6
 
2037
else
 
2038
  eval "$3=no"
 
2039
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2040
/* end confdefs.h.  */
 
2041
$4
 
2042
int
 
2043
main ()
 
2044
{
 
2045
if (sizeof ($2))
 
2046
         return 0;
 
2047
  ;
 
2048
  return 0;
 
2049
}
 
2050
_ACEOF
 
2051
if ac_fn_c_try_compile "$LINENO"; then :
 
2052
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2053
/* end confdefs.h.  */
 
2054
$4
 
2055
int
 
2056
main ()
 
2057
{
 
2058
if (sizeof (($2)))
 
2059
            return 0;
 
2060
  ;
 
2061
  return 0;
 
2062
}
 
2063
_ACEOF
 
2064
if ac_fn_c_try_compile "$LINENO"; then :
 
2065
 
 
2066
else
 
2067
  eval "$3=yes"
 
2068
fi
 
2069
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2070
fi
 
2071
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2072
fi
 
2073
eval ac_res=\$$3
 
2074
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2075
$as_echo "$ac_res" >&6; }
 
2076
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2077
 
 
2078
} # ac_fn_c_check_type
 
2079
 
 
2080
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
2081
# -------------------------------------------------------
 
2082
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
2083
# the include files in INCLUDES and setting the cache variable VAR
 
2084
# accordingly.
 
2085
ac_fn_c_check_header_mongrel ()
 
2086
{
 
2087
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2088
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2089
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2090
$as_echo_n "checking for $2... " >&6; }
 
2091
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2092
  $as_echo_n "(cached) " >&6
 
2093
fi
 
2094
eval ac_res=\$$3
 
2095
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2096
$as_echo "$ac_res" >&6; }
 
2097
else
 
2098
  # Is the header compilable?
 
2099
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
2100
$as_echo_n "checking $2 usability... " >&6; }
 
2101
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2102
/* end confdefs.h.  */
 
2103
$4
 
2104
#include <$2>
 
2105
_ACEOF
 
2106
if ac_fn_c_try_compile "$LINENO"; then :
 
2107
  ac_header_compiler=yes
 
2108
else
 
2109
  ac_header_compiler=no
 
2110
fi
 
2111
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2112
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
2113
$as_echo "$ac_header_compiler" >&6; }
 
2114
 
 
2115
# Is the header present?
 
2116
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
2117
$as_echo_n "checking $2 presence... " >&6; }
 
2118
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2119
/* end confdefs.h.  */
 
2120
#include <$2>
 
2121
_ACEOF
 
2122
if ac_fn_c_try_cpp "$LINENO"; then :
 
2123
  ac_header_preproc=yes
 
2124
else
 
2125
  ac_header_preproc=no
 
2126
fi
 
2127
rm -f conftest.err conftest.$ac_ext
 
2128
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
2129
$as_echo "$ac_header_preproc" >&6; }
 
2130
 
 
2131
# So?  What about this header?
 
2132
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
2133
  yes:no: )
 
2134
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
2135
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
2136
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2137
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2138
    ;;
 
2139
  no:yes:* )
 
2140
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
2141
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
2142
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
2143
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
2144
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
2145
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
2146
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
2147
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
2148
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2149
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2150
    ;;
 
2151
esac
 
2152
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2153
$as_echo_n "checking for $2... " >&6; }
 
2154
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2155
  $as_echo_n "(cached) " >&6
 
2156
else
 
2157
  eval "$3=\$ac_header_compiler"
 
2158
fi
 
2159
eval ac_res=\$$3
 
2160
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2161
$as_echo "$ac_res" >&6; }
 
2162
fi
 
2163
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2164
 
 
2165
} # ac_fn_c_check_header_mongrel
 
2166
 
 
2167
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
 
2168
# --------------------------------------------
 
2169
# Tries to find the compile-time value of EXPR in a program that includes
 
2170
# INCLUDES, setting VAR accordingly. Returns whether the value could be
 
2171
# computed
 
2172
ac_fn_c_compute_int ()
 
2173
{
 
2174
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2175
  if test "$cross_compiling" = yes; then
 
2176
    # Depending upon the size, compute the lo and hi bounds.
 
2177
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2178
/* end confdefs.h.  */
 
2179
$4
 
2180
int
 
2181
main ()
 
2182
{
 
2183
static int test_array [1 - 2 * !(($2) >= 0)];
 
2184
test_array [0] = 0
 
2185
 
 
2186
  ;
 
2187
  return 0;
 
2188
}
 
2189
_ACEOF
 
2190
if ac_fn_c_try_compile "$LINENO"; then :
 
2191
  ac_lo=0 ac_mid=0
 
2192
  while :; do
 
2193
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2194
/* end confdefs.h.  */
 
2195
$4
 
2196
int
 
2197
main ()
 
2198
{
 
2199
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 
2200
test_array [0] = 0
 
2201
 
 
2202
  ;
 
2203
  return 0;
 
2204
}
 
2205
_ACEOF
 
2206
if ac_fn_c_try_compile "$LINENO"; then :
 
2207
  ac_hi=$ac_mid; break
 
2208
else
 
2209
  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
 
2210
                        if test $ac_lo -le $ac_mid; then
 
2211
                          ac_lo= ac_hi=
 
2212
                          break
 
2213
                        fi
 
2214
                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
 
2215
fi
 
2216
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2217
  done
 
2218
else
 
2219
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2220
/* end confdefs.h.  */
 
2221
$4
 
2222
int
 
2223
main ()
 
2224
{
 
2225
static int test_array [1 - 2 * !(($2) < 0)];
 
2226
test_array [0] = 0
 
2227
 
 
2228
  ;
 
2229
  return 0;
 
2230
}
 
2231
_ACEOF
 
2232
if ac_fn_c_try_compile "$LINENO"; then :
 
2233
  ac_hi=-1 ac_mid=-1
 
2234
  while :; do
 
2235
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2236
/* end confdefs.h.  */
 
2237
$4
 
2238
int
 
2239
main ()
 
2240
{
 
2241
static int test_array [1 - 2 * !(($2) >= $ac_mid)];
 
2242
test_array [0] = 0
 
2243
 
 
2244
  ;
 
2245
  return 0;
 
2246
}
 
2247
_ACEOF
 
2248
if ac_fn_c_try_compile "$LINENO"; then :
 
2249
  ac_lo=$ac_mid; break
 
2250
else
 
2251
  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
 
2252
                        if test $ac_mid -le $ac_hi; then
 
2253
                          ac_lo= ac_hi=
 
2254
                          break
 
2255
                        fi
 
2256
                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
 
2257
fi
 
2258
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2259
  done
 
2260
else
 
2261
  ac_lo= ac_hi=
 
2262
fi
 
2263
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2264
fi
 
2265
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2266
# Binary search between lo and hi bounds.
 
2267
while test "x$ac_lo" != "x$ac_hi"; do
 
2268
  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
 
2269
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2270
/* end confdefs.h.  */
 
2271
$4
 
2272
int
 
2273
main ()
 
2274
{
 
2275
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 
2276
test_array [0] = 0
 
2277
 
 
2278
  ;
 
2279
  return 0;
 
2280
}
 
2281
_ACEOF
 
2282
if ac_fn_c_try_compile "$LINENO"; then :
 
2283
  ac_hi=$ac_mid
 
2284
else
 
2285
  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
 
2286
fi
 
2287
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2288
done
 
2289
case $ac_lo in #((
 
2290
?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
 
2291
'') ac_retval=1 ;;
 
2292
esac
 
2293
  else
 
2294
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2295
/* end confdefs.h.  */
 
2296
$4
 
2297
static long int longval () { return $2; }
 
2298
static unsigned long int ulongval () { return $2; }
 
2299
#include <stdio.h>
 
2300
#include <stdlib.h>
 
2301
int
 
2302
main ()
 
2303
{
 
2304
 
 
2305
  FILE *f = fopen ("conftest.val", "w");
 
2306
  if (! f)
 
2307
    return 1;
 
2308
  if (($2) < 0)
 
2309
    {
 
2310
      long int i = longval ();
 
2311
      if (i != ($2))
 
2312
        return 1;
 
2313
      fprintf (f, "%ld", i);
 
2314
    }
 
2315
  else
 
2316
    {
 
2317
      unsigned long int i = ulongval ();
 
2318
      if (i != ($2))
 
2319
        return 1;
 
2320
      fprintf (f, "%lu", i);
 
2321
    }
 
2322
  /* Do not output a trailing newline, as this causes \r\n confusion
 
2323
     on some platforms.  */
 
2324
  return ferror (f) || fclose (f) != 0;
 
2325
 
 
2326
  ;
 
2327
  return 0;
 
2328
}
 
2329
_ACEOF
 
2330
if ac_fn_c_try_run "$LINENO"; then :
 
2331
  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
 
2332
else
 
2333
  ac_retval=1
 
2334
fi
 
2335
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
2336
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
2337
rm -f conftest.val
 
2338
 
 
2339
  fi
 
2340
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2341
  as_fn_set_status $ac_retval
 
2342
 
 
2343
} # ac_fn_c_compute_int
 
2344
 
 
2345
# ac_fn_c_check_decl LINENO SYMBOL VAR
 
2346
# ------------------------------------
 
2347
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
 
2348
ac_fn_c_check_decl ()
 
2349
{
 
2350
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2351
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
 
2352
$as_echo_n "checking whether $2 is declared... " >&6; }
 
2353
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2354
  $as_echo_n "(cached) " >&6
 
2355
else
 
2356
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2357
/* end confdefs.h.  */
 
2358
$4
 
2359
int
 
2360
main ()
 
2361
{
 
2362
#ifndef $2
 
2363
  (void) $2;
 
2364
#endif
 
2365
 
 
2366
  ;
 
2367
  return 0;
 
2368
}
 
2369
_ACEOF
 
2370
if ac_fn_c_try_compile "$LINENO"; then :
 
2371
  eval "$3=yes"
 
2372
else
 
2373
  eval "$3=no"
 
2374
fi
 
2375
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2376
fi
 
2377
eval ac_res=\$$3
 
2378
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2379
$as_echo "$ac_res" >&6; }
 
2380
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2381
 
 
2382
} # ac_fn_c_check_decl
1580
2383
cat >config.log <<_ACEOF
1581
2384
This file contains any messages produced by compilers while
1582
2385
running configure, to aid debugging if configure makes a mistake.
1583
2386
 
1584
 
It was created by $as_me, which was
1585
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
2387
It was created by libasprintf $as_me 1.0, which was
 
2388
generated by GNU Autoconf 2.65.  Invocation command line was
1586
2389
 
1587
2390
  $ $0 $@
1588
2391
 
1618
2421
do
1619
2422
  IFS=$as_save_IFS
1620
2423
  test -z "$as_dir" && as_dir=.
1621
 
  echo "PATH: $as_dir"
1622
 
done
 
2424
    $as_echo "PATH: $as_dir"
 
2425
  done
1623
2426
IFS=$as_save_IFS
1624
2427
 
1625
2428
} >&5
1653
2456
    | -silent | --silent | --silen | --sile | --sil)
1654
2457
      continue ;;
1655
2458
    *\'*)
1656
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2459
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1657
2460
    esac
1658
2461
    case $ac_pass in
1659
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
2462
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1660
2463
    2)
1661
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
2464
      as_fn_append ac_configure_args1 " '$ac_arg'"
1662
2465
      if test $ac_must_keep_next = true; then
1663
2466
        ac_must_keep_next=false # Got value, back to normal.
1664
2467
      else
1674
2477
          -* ) ac_must_keep_next=true ;;
1675
2478
        esac
1676
2479
      fi
1677
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
2480
      as_fn_append ac_configure_args " '$ac_arg'"
1678
2481
      ;;
1679
2482
    esac
1680
2483
  done
1681
2484
done
1682
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1683
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
2485
{ ac_configure_args0=; unset ac_configure_args0;}
 
2486
{ ac_configure_args1=; unset ac_configure_args1;}
1684
2487
 
1685
2488
# When interrupted or exit'd, cleanup temporary files, and complete
1686
2489
# config.log.  We remove comments because anyway the quotes in there
1705
2508
    case $ac_val in #(
1706
2509
    *${as_nl}*)
1707
2510
      case $ac_var in #(
1708
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1709
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
2511
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
2512
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1710
2513
      esac
1711
2514
      case $ac_var in #(
1712
2515
      _ | IFS | as_nl) ;; #(
1713
 
      *) $as_unset $ac_var ;;
 
2516
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
2517
      *) { eval $ac_var=; unset $ac_var;} ;;
1714
2518
      esac ;;
1715
2519
    esac
1716
2520
  done
1739
2543
    do
1740
2544
      eval ac_val=\$$ac_var
1741
2545
      case $ac_val in
1742
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2546
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1743
2547
      esac
1744
 
      echo "$ac_var='\''$ac_val'\''"
 
2548
      $as_echo "$ac_var='\''$ac_val'\''"
1745
2549
    done | sort
1746
2550
    echo
1747
2551
 
1756
2560
      do
1757
2561
        eval ac_val=\$$ac_var
1758
2562
        case $ac_val in
1759
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2563
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1760
2564
        esac
1761
 
        echo "$ac_var='\''$ac_val'\''"
 
2565
        $as_echo "$ac_var='\''$ac_val'\''"
1762
2566
      done | sort
1763
2567
      echo
1764
2568
    fi
1774
2578
      echo
1775
2579
    fi
1776
2580
    test "$ac_signal" != 0 &&
1777
 
      echo "$as_me: caught signal $ac_signal"
1778
 
    echo "$as_me: exit $exit_status"
 
2581
      $as_echo "$as_me: caught signal $ac_signal"
 
2582
    $as_echo "$as_me: exit $exit_status"
1779
2583
  } >&5
1780
2584
  rm -f core *.core core.conftest.* &&
1781
2585
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1782
2586
    exit $exit_status
1783
2587
' 0
1784
2588
for ac_signal in 1 2 13 15; do
1785
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2589
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1786
2590
done
1787
2591
ac_signal=0
1788
2592
 
1789
2593
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1790
2594
rm -f -r conftest* confdefs.h
1791
2595
 
 
2596
$as_echo "/* confdefs.h */" > confdefs.h
 
2597
 
1792
2598
# Predefined preprocessor variables.
1793
2599
 
1794
2600
cat >>confdefs.h <<_ACEOF
1795
2601
#define PACKAGE_NAME "$PACKAGE_NAME"
1796
2602
_ACEOF
1797
2603
 
1798
 
 
1799
2604
cat >>confdefs.h <<_ACEOF
1800
2605
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1801
2606
_ACEOF
1802
2607
 
1803
 
 
1804
2608
cat >>confdefs.h <<_ACEOF
1805
2609
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1806
2610
_ACEOF
1807
2611
 
1808
 
 
1809
2612
cat >>confdefs.h <<_ACEOF
1810
2613
#define PACKAGE_STRING "$PACKAGE_STRING"
1811
2614
_ACEOF
1812
2615
 
1813
 
 
1814
2616
cat >>confdefs.h <<_ACEOF
1815
2617
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1816
2618
_ACEOF
1817
2619
 
 
2620
cat >>confdefs.h <<_ACEOF
 
2621
#define PACKAGE_URL "$PACKAGE_URL"
 
2622
_ACEOF
 
2623
 
1818
2624
 
1819
2625
# Let the site file select an alternate cache file if it wants to.
1820
 
# Prefer explicitly selected file to automatically selected ones.
 
2626
# Prefer an explicitly selected file to automatically selected ones.
 
2627
ac_site_file1=NONE
 
2628
ac_site_file2=NONE
1821
2629
if test -n "$CONFIG_SITE"; then
1822
 
  set x "$CONFIG_SITE"
 
2630
  ac_site_file1=$CONFIG_SITE
1823
2631
elif test "x$prefix" != xNONE; then
1824
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
2632
  ac_site_file1=$prefix/share/config.site
 
2633
  ac_site_file2=$prefix/etc/config.site
1825
2634
else
1826
 
  set x "$ac_default_prefix/share/config.site" \
1827
 
        "$ac_default_prefix/etc/config.site"
 
2635
  ac_site_file1=$ac_default_prefix/share/config.site
 
2636
  ac_site_file2=$ac_default_prefix/etc/config.site
1828
2637
fi
1829
 
shift
1830
 
for ac_site_file
 
2638
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1831
2639
do
1832
 
  if test -r "$ac_site_file"; then
1833
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1834
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
2640
  test "x$ac_site_file" = xNONE && continue
 
2641
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2642
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
2643
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1835
2644
    sed 's/^/| /' "$ac_site_file" >&5
1836
2645
    . "$ac_site_file"
1837
2646
  fi
1838
2647
done
1839
2648
 
1840
2649
if test -r "$cache_file"; then
1841
 
  # Some versions of bash will fail to source /dev/null (special
1842
 
  # files actually), so we avoid doing that.
1843
 
  if test -f "$cache_file"; then
1844
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1845
 
echo "$as_me: loading cache $cache_file" >&6;}
 
2650
  # Some versions of bash will fail to source /dev/null (special files
 
2651
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2652
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2653
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
2654
$as_echo "$as_me: loading cache $cache_file" >&6;}
1846
2655
    case $cache_file in
1847
2656
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1848
2657
      *)                      . "./$cache_file";;
1849
2658
    esac
1850
2659
  fi
1851
2660
else
1852
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1853
 
echo "$as_me: creating cache $cache_file" >&6;}
 
2661
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2662
$as_echo "$as_me: creating cache $cache_file" >&6;}
1854
2663
  >$cache_file
1855
2664
fi
1856
2665
 
 
2666
gl_header_list="$gl_header_list stdlib.h"
 
2667
gl_header_list="$gl_header_list string.h"
 
2668
gl_header_list="$gl_header_list errno.h"
1857
2669
# Check that the precious variables saved in the cache have kept the same
1858
2670
# value.
1859
2671
ac_cache_corrupted=false
1864
2676
  eval ac_new_val=\$ac_env_${ac_var}_value
1865
2677
  case $ac_old_set,$ac_new_set in
1866
2678
    set,)
1867
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1868
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2679
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2680
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1869
2681
      ac_cache_corrupted=: ;;
1870
2682
    ,set)
1871
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1872
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2683
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2684
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1873
2685
      ac_cache_corrupted=: ;;
1874
2686
    ,);;
1875
2687
    *)
1876
2688
      if test "x$ac_old_val" != "x$ac_new_val"; then
1877
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1878
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1879
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1880
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1881
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1882
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1883
 
        ac_cache_corrupted=:
 
2689
        # differences in whitespace do not lead to failure.
 
2690
        ac_old_val_w=`echo x $ac_old_val`
 
2691
        ac_new_val_w=`echo x $ac_new_val`
 
2692
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2693
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2694
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2695
          ac_cache_corrupted=:
 
2696
        else
 
2697
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2698
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2699
          eval $ac_var=\$ac_old_val
 
2700
        fi
 
2701
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2702
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2703
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2704
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1884
2705
      fi;;
1885
2706
  esac
1886
2707
  # Pass precious variables to config.status.
1887
2708
  if test "$ac_new_set" = set; then
1888
2709
    case $ac_new_val in
1889
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2710
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1890
2711
    *) ac_arg=$ac_var=$ac_new_val ;;
1891
2712
    esac
1892
2713
    case " $ac_configure_args " in
1893
2714
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1894
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2715
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1895
2716
    esac
1896
2717
  fi
1897
2718
done
1898
2719
if $ac_cache_corrupted; then
1899
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1900
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1901
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1902
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1903
 
   { (exit 1); exit 1; }; }
 
2720
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2721
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2722
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2723
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2724
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1904
2725
fi
1905
 
 
1906
 
 
1907
 
 
1908
 
 
1909
 
 
1910
 
 
1911
 
 
1912
 
 
1913
 
 
1914
 
 
1915
 
 
1916
 
 
1917
 
 
1918
 
 
1919
 
 
1920
 
 
 
2726
## -------------------- ##
 
2727
## Main body of script. ##
 
2728
## -------------------- ##
1921
2729
 
1922
2730
ac_ext=c
1923
2731
ac_cpp='$CPP $CPPFLAGS'
1929
2737
 
1930
2738
ac_aux_dir=
1931
2739
for ac_dir in ../../build-aux "$srcdir"/../../build-aux; do
1932
 
  if test -f "$ac_dir/install-sh"; then
1933
 
    ac_aux_dir=$ac_dir
1934
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
1935
 
    break
1936
 
  elif test -f "$ac_dir/install.sh"; then
1937
 
    ac_aux_dir=$ac_dir
1938
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
1939
 
    break
1940
 
  elif test -f "$ac_dir/shtool"; then
1941
 
    ac_aux_dir=$ac_dir
1942
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
1943
 
    break
1944
 
  fi
 
2740
  for ac_t in install-sh install.sh shtool; do
 
2741
    if test -f "$ac_dir/$ac_t"; then
 
2742
      ac_aux_dir=$ac_dir
 
2743
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
2744
      break 2
 
2745
    fi
 
2746
  done
1945
2747
done
1946
2748
if test -z "$ac_aux_dir"; then
1947
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../build-aux \"$srcdir\"/../../build-aux" >&5
1948
 
echo "$as_me: error: cannot find install-sh or install.sh in ../../build-aux \"$srcdir\"/../../build-aux" >&2;}
1949
 
   { (exit 1); exit 1; }; }
 
2749
  as_fn_error "cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5
1950
2750
fi
1951
2751
 
1952
2752
# These three variables are undocumented and unsupported,
1958
2758
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1959
2759
 
1960
2760
 
1961
 
am__api_version='1.10'
 
2761
am__api_version='1.11'
1962
2762
 
1963
2763
# Find a good install program.  We prefer a C program (faster),
1964
2764
# so one script is as good as another.  But avoid the broken or
1973
2773
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1974
2774
# OS/2's system install, which has a completely different semantic
1975
2775
# ./install, which can be erroneously created by make from ./install.sh.
1976
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1977
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
2776
# Reject install programs that cannot install multiple files.
 
2777
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
2778
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1978
2779
if test -z "$INSTALL"; then
1979
 
if test "${ac_cv_path_install+set}" = set; then
1980
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2780
if test "${ac_cv_path_install+set}" = set; then :
 
2781
  $as_echo_n "(cached) " >&6
1981
2782
else
1982
2783
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1983
2784
for as_dir in $PATH
1984
2785
do
1985
2786
  IFS=$as_save_IFS
1986
2787
  test -z "$as_dir" && as_dir=.
1987
 
  # Account for people who put trailing slashes in PATH elements.
1988
 
case $as_dir/ in
1989
 
  ./ | .// | /cC/* | \
 
2788
    # Account for people who put trailing slashes in PATH elements.
 
2789
case $as_dir/ in #((
 
2790
  ./ | .// | /[cC]/* | \
1990
2791
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1991
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2792
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1992
2793
  /usr/ucb/* ) ;;
1993
2794
  *)
1994
2795
    # OSF1 and SCO ODT 3.0 have their own names for install.
2006
2807
            # program-specific install script used by HP pwplus--don't use.
2007
2808
            :
2008
2809
          else
2009
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2010
 
            break 3
 
2810
            rm -rf conftest.one conftest.two conftest.dir
 
2811
            echo one > conftest.one
 
2812
            echo two > conftest.two
 
2813
            mkdir conftest.dir
 
2814
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2815
              test -s conftest.one && test -s conftest.two &&
 
2816
              test -s conftest.dir/conftest.one &&
 
2817
              test -s conftest.dir/conftest.two
 
2818
            then
 
2819
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2820
              break 3
 
2821
            fi
2011
2822
          fi
2012
2823
        fi
2013
2824
      done
2014
2825
    done
2015
2826
    ;;
2016
2827
esac
2017
 
done
 
2828
 
 
2829
  done
2018
2830
IFS=$as_save_IFS
2019
2831
 
 
2832
rm -rf conftest.one conftest.two conftest.dir
2020
2833
 
2021
2834
fi
2022
2835
  if test "${ac_cv_path_install+set}" = set; then
2029
2842
    INSTALL=$ac_install_sh
2030
2843
  fi
2031
2844
fi
2032
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2033
 
echo "${ECHO_T}$INSTALL" >&6; }
 
2845
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
2846
$as_echo "$INSTALL" >&6; }
2034
2847
 
2035
2848
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2036
2849
# It thinks the first close brace ends the variable substitution.
2040
2853
 
2041
2854
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2042
2855
 
2043
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2044
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 
2856
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
2857
$as_echo_n "checking whether build environment is sane... " >&6; }
2045
2858
# Just in case
2046
2859
sleep 1
2047
2860
echo timestamp > conftest.file
 
2861
# Reject unsafe characters in $srcdir or the absolute working directory
 
2862
# name.  Accept space and tab only in the latter.
 
2863
am_lf='
 
2864
'
 
2865
case `pwd` in
 
2866
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2867
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2868
esac
 
2869
case $srcdir in
 
2870
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2871
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2872
esac
 
2873
 
2048
2874
# Do `set' in a subshell so we don't clobber the current shell's
2049
2875
# arguments.  Must try -L first in case configure is actually a
2050
2876
# symlink; some systems play weird games with the mod time of symlinks
2051
2877
# (eg FreeBSD returns the mod time of the symlink's containing
2052
2878
# directory).
2053
2879
if (
2054
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
2880
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2055
2881
   if test "$*" = "X"; then
2056
2882
      # -L didn't work.
2057
 
      set X `ls -t $srcdir/configure conftest.file`
 
2883
      set X `ls -t "$srcdir/configure" conftest.file`
2058
2884
   fi
2059
2885
   rm -f conftest.file
2060
2886
   if test "$*" != "X $srcdir/configure conftest.file" \
2064
2890
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2065
2891
      # broken ls alias from the environment.  This has actually
2066
2892
      # happened.  Such a system could not be considered "sane".
2067
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2068
 
alias in your environment" >&5
2069
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2070
 
alias in your environment" >&2;}
2071
 
   { (exit 1); exit 1; }; }
 
2893
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2894
alias in your environment" "$LINENO" 5
2072
2895
   fi
2073
2896
 
2074
2897
   test "$2" = conftest.file
2077
2900
   # Ok.
2078
2901
   :
2079
2902
else
2080
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2081
 
Check your system clock" >&5
2082
 
echo "$as_me: error: newly created file is older than distributed files!
2083
 
Check your system clock" >&2;}
2084
 
   { (exit 1); exit 1; }; }
 
2903
   as_fn_error "newly created file is older than distributed files!
 
2904
Check your system clock" "$LINENO" 5
2085
2905
fi
2086
 
{ echo "$as_me:$LINENO: result: yes" >&5
2087
 
echo "${ECHO_T}yes" >&6; }
 
2906
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2907
$as_echo "yes" >&6; }
2088
2908
test "$program_prefix" != NONE &&
2089
2909
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2090
2910
# Use a double $ so make ignores it.
2091
2911
test "$program_suffix" != NONE &&
2092
2912
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2093
 
# Double any \ or $.  echo might interpret backslashes.
 
2913
# Double any \ or $.
2094
2914
# By default was `s,x,x', remove it if useless.
2095
 
cat <<\_ACEOF >conftest.sed
2096
 
s/[\\$]/&&/g;s/;s,x,x,$//
2097
 
_ACEOF
2098
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2099
 
rm -f conftest.sed
 
2915
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2916
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2100
2917
 
2101
2918
# expand $ac_aux_dir to an absolute path
2102
2919
am_aux_dir=`cd $ac_aux_dir && pwd`
2103
2920
 
2104
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
2921
if test x"${MISSING+set}" != xset; then
 
2922
  case $am_aux_dir in
 
2923
  *\ * | *\     *)
 
2924
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2925
  *)
 
2926
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2927
  esac
 
2928
fi
2105
2929
# Use eval to expand $SHELL
2106
2930
if eval "$MISSING --run true"; then
2107
2931
  am_missing_run="$MISSING --run "
2108
2932
else
2109
2933
  am_missing_run=
2110
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2111
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2112
 
fi
2113
 
 
2114
 
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2115
 
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
2934
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 
2935
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2936
fi
 
2937
 
 
2938
if test x"${install_sh}" != xset; then
 
2939
  case $am_aux_dir in
 
2940
  *\ * | *\     *)
 
2941
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2942
  *)
 
2943
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2944
  esac
 
2945
fi
 
2946
 
 
2947
# Installed binaries are usually stripped using `strip' when the user
 
2948
# run `make install-strip'.  However `strip' might not be the right
 
2949
# tool to use in cross-compilation environments, therefore Automake
 
2950
# will honor the `STRIP' environment variable to overrule this program.
 
2951
if test "$cross_compiling" != no; then
 
2952
  if test -n "$ac_tool_prefix"; then
 
2953
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2954
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2955
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2956
$as_echo_n "checking for $ac_word... " >&6; }
 
2957
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2958
  $as_echo_n "(cached) " >&6
 
2959
else
 
2960
  if test -n "$STRIP"; then
 
2961
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2962
else
 
2963
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2964
for as_dir in $PATH
 
2965
do
 
2966
  IFS=$as_save_IFS
 
2967
  test -z "$as_dir" && as_dir=.
 
2968
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2969
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2970
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2971
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2972
    break 2
 
2973
  fi
 
2974
done
 
2975
  done
 
2976
IFS=$as_save_IFS
 
2977
 
 
2978
fi
 
2979
fi
 
2980
STRIP=$ac_cv_prog_STRIP
 
2981
if test -n "$STRIP"; then
 
2982
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2983
$as_echo "$STRIP" >&6; }
 
2984
else
 
2985
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2986
$as_echo "no" >&6; }
 
2987
fi
 
2988
 
 
2989
 
 
2990
fi
 
2991
if test -z "$ac_cv_prog_STRIP"; then
 
2992
  ac_ct_STRIP=$STRIP
 
2993
  # Extract the first word of "strip", so it can be a program name with args.
 
2994
set dummy strip; ac_word=$2
 
2995
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2996
$as_echo_n "checking for $ac_word... " >&6; }
 
2997
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2998
  $as_echo_n "(cached) " >&6
 
2999
else
 
3000
  if test -n "$ac_ct_STRIP"; then
 
3001
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
3002
else
 
3003
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3004
for as_dir in $PATH
 
3005
do
 
3006
  IFS=$as_save_IFS
 
3007
  test -z "$as_dir" && as_dir=.
 
3008
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3009
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3010
    ac_cv_prog_ac_ct_STRIP="strip"
 
3011
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3012
    break 2
 
3013
  fi
 
3014
done
 
3015
  done
 
3016
IFS=$as_save_IFS
 
3017
 
 
3018
fi
 
3019
fi
 
3020
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
3021
if test -n "$ac_ct_STRIP"; then
 
3022
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
3023
$as_echo "$ac_ct_STRIP" >&6; }
 
3024
else
 
3025
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3026
$as_echo "no" >&6; }
 
3027
fi
 
3028
 
 
3029
  if test "x$ac_ct_STRIP" = x; then
 
3030
    STRIP=":"
 
3031
  else
 
3032
    case $cross_compiling:$ac_tool_warned in
 
3033
yes:)
 
3034
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3035
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3036
ac_tool_warned=yes ;;
 
3037
esac
 
3038
    STRIP=$ac_ct_STRIP
 
3039
  fi
 
3040
else
 
3041
  STRIP="$ac_cv_prog_STRIP"
 
3042
fi
 
3043
 
 
3044
fi
 
3045
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
3046
 
 
3047
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
3048
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2116
3049
if test -z "$MKDIR_P"; then
2117
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2118
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3050
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
3051
  $as_echo_n "(cached) " >&6
2119
3052
else
2120
3053
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2121
3054
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2122
3055
do
2123
3056
  IFS=$as_save_IFS
2124
3057
  test -z "$as_dir" && as_dir=.
2125
 
  for ac_prog in mkdir gmkdir; do
 
3058
    for ac_prog in mkdir gmkdir; do
2126
3059
         for ac_exec_ext in '' $ac_executable_extensions; do
2127
3060
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2128
3061
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2134
3067
           esac
2135
3068
         done
2136
3069
       done
2137
 
done
 
3070
  done
2138
3071
IFS=$as_save_IFS
2139
3072
 
2140
3073
fi
2141
3074
 
 
3075
  test -d ./--version && rmdir ./--version
2142
3076
  if test "${ac_cv_path_mkdir+set}" = set; then
2143
3077
    MKDIR_P="$ac_cv_path_mkdir -p"
2144
3078
  else
2146
3080
    # value for MKDIR_P within a source directory, because that will
2147
3081
    # break other packages using the cache if that directory is
2148
3082
    # removed, or if the value is a relative name.
2149
 
    test -d ./--version && rmdir ./--version
2150
3083
    MKDIR_P="$ac_install_sh -d"
2151
3084
  fi
2152
3085
fi
2153
 
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2154
 
echo "${ECHO_T}$MKDIR_P" >&6; }
 
3086
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
3087
$as_echo "$MKDIR_P" >&6; }
 
3088
 
2155
3089
 
2156
3090
mkdir_p="$MKDIR_P"
2157
3091
case $mkdir_p in
2163
3097
do
2164
3098
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2165
3099
set dummy $ac_prog; ac_word=$2
2166
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2167
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2168
 
if test "${ac_cv_prog_AWK+set}" = set; then
2169
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3100
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3101
$as_echo_n "checking for $ac_word... " >&6; }
 
3102
if test "${ac_cv_prog_AWK+set}" = set; then :
 
3103
  $as_echo_n "(cached) " >&6
2170
3104
else
2171
3105
  if test -n "$AWK"; then
2172
3106
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2176
3110
do
2177
3111
  IFS=$as_save_IFS
2178
3112
  test -z "$as_dir" && as_dir=.
2179
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3113
    for ac_exec_ext in '' $ac_executable_extensions; do
2180
3114
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2181
3115
    ac_cv_prog_AWK="$ac_prog"
2182
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3116
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2183
3117
    break 2
2184
3118
  fi
2185
3119
done
2186
 
done
 
3120
  done
2187
3121
IFS=$as_save_IFS
2188
3122
 
2189
3123
fi
2190
3124
fi
2191
3125
AWK=$ac_cv_prog_AWK
2192
3126
if test -n "$AWK"; then
2193
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2194
 
echo "${ECHO_T}$AWK" >&6; }
 
3127
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
3128
$as_echo "$AWK" >&6; }
2195
3129
else
2196
 
  { echo "$as_me:$LINENO: result: no" >&5
2197
 
echo "${ECHO_T}no" >&6; }
 
3130
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3131
$as_echo "no" >&6; }
2198
3132
fi
2199
3133
 
2200
3134
 
2201
3135
  test -n "$AWK" && break
2202
3136
done
2203
3137
 
2204
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2205
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2206
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2207
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2208
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3138
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
3139
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
3140
set x ${MAKE-make}
 
3141
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
3142
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
3143
  $as_echo_n "(cached) " >&6
2209
3144
else
2210
3145
  cat >conftest.make <<\_ACEOF
2211
3146
SHELL = /bin/sh
2222
3157
rm -f conftest.make
2223
3158
fi
2224
3159
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2225
 
  { echo "$as_me:$LINENO: result: yes" >&5
2226
 
echo "${ECHO_T}yes" >&6; }
 
3160
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3161
$as_echo "yes" >&6; }
2227
3162
  SET_MAKE=
2228
3163
else
2229
 
  { echo "$as_me:$LINENO: result: no" >&5
2230
 
echo "${ECHO_T}no" >&6; }
 
3164
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3165
$as_echo "no" >&6; }
2231
3166
  SET_MAKE="MAKE=${MAKE-make}"
2232
3167
fi
2233
3168
 
2240
3175
fi
2241
3176
rmdir .tst 2>/dev/null
2242
3177
 
 
3178
# Check whether --enable-silent-rules was given.
 
3179
if test "${enable_silent_rules+set}" = set; then :
 
3180
  enableval=$enable_silent_rules;
 
3181
fi
 
3182
 
 
3183
case $enable_silent_rules in
 
3184
yes) AM_DEFAULT_VERBOSITY=0;;
 
3185
no)  AM_DEFAULT_VERBOSITY=1;;
 
3186
*)   AM_DEFAULT_VERBOSITY=1;;
 
3187
esac
 
3188
AM_BACKSLASH='\'
 
3189
 
2243
3190
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2244
3191
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2245
3192
  # is not polluted with repeated "-I."
2246
3193
  am__isrc=' -I$(srcdir)'
2247
3194
  # test to see if srcdir already configured
2248
3195
  if test -f $srcdir/config.status; then
2249
 
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2250
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2251
 
   { (exit 1); exit 1; }; }
 
3196
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2252
3197
  fi
2253
3198
fi
2254
3199
 
2263
3208
 
2264
3209
 
2265
3210
# Define the identity of the package.
2266
 
 PACKAGE=libasprintf
2267
 
 VERSION=1.0
 
3211
 PACKAGE='libasprintf'
 
3212
 VERSION='1.0'
2268
3213
 
2269
3214
 
2270
3215
cat >>confdefs.h <<_ACEOF
2292
3237
 
2293
3238
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2294
3239
 
2295
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2296
 
 
2297
 
# Installed binaries are usually stripped using `strip' when the user
2298
 
# run `make install-strip'.  However `strip' might not be the right
2299
 
# tool to use in cross-compilation environments, therefore Automake
2300
 
# will honor the `STRIP' environment variable to overrule this program.
2301
 
if test "$cross_compiling" != no; then
2302
 
  if test -n "$ac_tool_prefix"; then
2303
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2304
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2305
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2306
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2307
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2308
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2309
 
else
2310
 
  if test -n "$STRIP"; then
2311
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2312
 
else
2313
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2314
 
for as_dir in $PATH
2315
 
do
2316
 
  IFS=$as_save_IFS
2317
 
  test -z "$as_dir" && as_dir=.
2318
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2319
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2320
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2321
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2322
 
    break 2
2323
 
  fi
2324
 
done
2325
 
done
2326
 
IFS=$as_save_IFS
2327
 
 
2328
 
fi
2329
 
fi
2330
 
STRIP=$ac_cv_prog_STRIP
2331
 
if test -n "$STRIP"; then
2332
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2333
 
echo "${ECHO_T}$STRIP" >&6; }
2334
 
else
2335
 
  { echo "$as_me:$LINENO: result: no" >&5
2336
 
echo "${ECHO_T}no" >&6; }
2337
 
fi
2338
 
 
2339
 
 
2340
 
fi
2341
 
if test -z "$ac_cv_prog_STRIP"; then
2342
 
  ac_ct_STRIP=$STRIP
2343
 
  # Extract the first word of "strip", so it can be a program name with args.
2344
 
set dummy strip; ac_word=$2
2345
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2346
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2347
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2348
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2349
 
else
2350
 
  if test -n "$ac_ct_STRIP"; then
2351
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2352
 
else
2353
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2354
 
for as_dir in $PATH
2355
 
do
2356
 
  IFS=$as_save_IFS
2357
 
  test -z "$as_dir" && as_dir=.
2358
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2359
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2360
 
    ac_cv_prog_ac_ct_STRIP="strip"
2361
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2362
 
    break 2
2363
 
  fi
2364
 
done
2365
 
done
2366
 
IFS=$as_save_IFS
2367
 
 
2368
 
fi
2369
 
fi
2370
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2371
 
if test -n "$ac_ct_STRIP"; then
2372
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2373
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2374
 
else
2375
 
  { echo "$as_me:$LINENO: result: no" >&5
2376
 
echo "${ECHO_T}no" >&6; }
2377
 
fi
2378
 
 
2379
 
  if test "x$ac_ct_STRIP" = x; then
2380
 
    STRIP=":"
2381
 
  else
2382
 
    case $cross_compiling:$ac_tool_warned in
2383
 
yes:)
2384
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2385
 
whose name does not start with the host triplet.  If you think this
2386
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2387
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2388
 
whose name does not start with the host triplet.  If you think this
2389
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2390
 
ac_tool_warned=yes ;;
2391
 
esac
2392
 
    STRIP=$ac_ct_STRIP
2393
 
  fi
2394
 
else
2395
 
  STRIP="$ac_cv_prog_STRIP"
2396
 
fi
2397
 
 
2398
 
fi
2399
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2400
 
 
2401
3240
# We need awk for the "check" target.  The system "awk" is bad on
2402
3241
# some platforms.
2403
3242
# Always define AMTAR for backward compatibility.
2421
3260
if test -n "$ac_tool_prefix"; then
2422
3261
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2423
3262
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2424
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2425
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2426
 
if test "${ac_cv_prog_CC+set}" = set; then
2427
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3263
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3264
$as_echo_n "checking for $ac_word... " >&6; }
 
3265
if test "${ac_cv_prog_CC+set}" = set; then :
 
3266
  $as_echo_n "(cached) " >&6
2428
3267
else
2429
3268
  if test -n "$CC"; then
2430
3269
  ac_cv_prog_CC="$CC" # Let the user override the test.
2434
3273
do
2435
3274
  IFS=$as_save_IFS
2436
3275
  test -z "$as_dir" && as_dir=.
2437
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3276
    for ac_exec_ext in '' $ac_executable_extensions; do
2438
3277
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2439
3278
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2440
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3279
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2441
3280
    break 2
2442
3281
  fi
2443
3282
done
2444
 
done
 
3283
  done
2445
3284
IFS=$as_save_IFS
2446
3285
 
2447
3286
fi
2448
3287
fi
2449
3288
CC=$ac_cv_prog_CC
2450
3289
if test -n "$CC"; then
2451
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2452
 
echo "${ECHO_T}$CC" >&6; }
 
3290
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3291
$as_echo "$CC" >&6; }
2453
3292
else
2454
 
  { echo "$as_me:$LINENO: result: no" >&5
2455
 
echo "${ECHO_T}no" >&6; }
 
3293
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3294
$as_echo "no" >&6; }
2456
3295
fi
2457
3296
 
2458
3297
 
2461
3300
  ac_ct_CC=$CC
2462
3301
  # Extract the first word of "gcc", so it can be a program name with args.
2463
3302
set dummy gcc; ac_word=$2
2464
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2465
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2466
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2467
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3303
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3304
$as_echo_n "checking for $ac_word... " >&6; }
 
3305
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3306
  $as_echo_n "(cached) " >&6
2468
3307
else
2469
3308
  if test -n "$ac_ct_CC"; then
2470
3309
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2474
3313
do
2475
3314
  IFS=$as_save_IFS
2476
3315
  test -z "$as_dir" && as_dir=.
2477
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3316
    for ac_exec_ext in '' $ac_executable_extensions; do
2478
3317
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2479
3318
    ac_cv_prog_ac_ct_CC="gcc"
2480
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3319
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2481
3320
    break 2
2482
3321
  fi
2483
3322
done
2484
 
done
 
3323
  done
2485
3324
IFS=$as_save_IFS
2486
3325
 
2487
3326
fi
2488
3327
fi
2489
3328
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2490
3329
if test -n "$ac_ct_CC"; then
2491
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2492
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
3330
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3331
$as_echo "$ac_ct_CC" >&6; }
2493
3332
else
2494
 
  { echo "$as_me:$LINENO: result: no" >&5
2495
 
echo "${ECHO_T}no" >&6; }
 
3333
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3334
$as_echo "no" >&6; }
2496
3335
fi
2497
3336
 
2498
3337
  if test "x$ac_ct_CC" = x; then
2500
3339
  else
2501
3340
    case $cross_compiling:$ac_tool_warned in
2502
3341
yes:)
2503
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2504
 
whose name does not start with the host triplet.  If you think this
2505
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2506
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2507
 
whose name does not start with the host triplet.  If you think this
2508
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3342
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3343
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2509
3344
ac_tool_warned=yes ;;
2510
3345
esac
2511
3346
    CC=$ac_ct_CC
2518
3353
          if test -n "$ac_tool_prefix"; then
2519
3354
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2520
3355
set dummy ${ac_tool_prefix}cc; ac_word=$2
2521
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2522
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2523
 
if test "${ac_cv_prog_CC+set}" = set; then
2524
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3356
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3357
$as_echo_n "checking for $ac_word... " >&6; }
 
3358
if test "${ac_cv_prog_CC+set}" = set; then :
 
3359
  $as_echo_n "(cached) " >&6
2525
3360
else
2526
3361
  if test -n "$CC"; then
2527
3362
  ac_cv_prog_CC="$CC" # Let the user override the test.
2531
3366
do
2532
3367
  IFS=$as_save_IFS
2533
3368
  test -z "$as_dir" && as_dir=.
2534
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3369
    for ac_exec_ext in '' $ac_executable_extensions; do
2535
3370
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2536
3371
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2537
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3372
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2538
3373
    break 2
2539
3374
  fi
2540
3375
done
2541
 
done
 
3376
  done
2542
3377
IFS=$as_save_IFS
2543
3378
 
2544
3379
fi
2545
3380
fi
2546
3381
CC=$ac_cv_prog_CC
2547
3382
if test -n "$CC"; then
2548
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2549
 
echo "${ECHO_T}$CC" >&6; }
 
3383
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3384
$as_echo "$CC" >&6; }
2550
3385
else
2551
 
  { echo "$as_me:$LINENO: result: no" >&5
2552
 
echo "${ECHO_T}no" >&6; }
 
3386
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3387
$as_echo "no" >&6; }
2553
3388
fi
2554
3389
 
2555
3390
 
2558
3393
if test -z "$CC"; then
2559
3394
  # Extract the first word of "cc", so it can be a program name with args.
2560
3395
set dummy cc; ac_word=$2
2561
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2562
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2563
 
if test "${ac_cv_prog_CC+set}" = set; then
2564
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3396
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3397
$as_echo_n "checking for $ac_word... " >&6; }
 
3398
if test "${ac_cv_prog_CC+set}" = set; then :
 
3399
  $as_echo_n "(cached) " >&6
2565
3400
else
2566
3401
  if test -n "$CC"; then
2567
3402
  ac_cv_prog_CC="$CC" # Let the user override the test.
2572
3407
do
2573
3408
  IFS=$as_save_IFS
2574
3409
  test -z "$as_dir" && as_dir=.
2575
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3410
    for ac_exec_ext in '' $ac_executable_extensions; do
2576
3411
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2577
3412
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2578
3413
       ac_prog_rejected=yes
2579
3414
       continue
2580
3415
     fi
2581
3416
    ac_cv_prog_CC="cc"
2582
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3417
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2583
3418
    break 2
2584
3419
  fi
2585
3420
done
2586
 
done
 
3421
  done
2587
3422
IFS=$as_save_IFS
2588
3423
 
2589
3424
if test $ac_prog_rejected = yes; then
2602
3437
fi
2603
3438
CC=$ac_cv_prog_CC
2604
3439
if test -n "$CC"; then
2605
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2606
 
echo "${ECHO_T}$CC" >&6; }
 
3440
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3441
$as_echo "$CC" >&6; }
2607
3442
else
2608
 
  { echo "$as_me:$LINENO: result: no" >&5
2609
 
echo "${ECHO_T}no" >&6; }
 
3443
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3444
$as_echo "no" >&6; }
2610
3445
fi
2611
3446
 
2612
3447
 
2617
3452
  do
2618
3453
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2619
3454
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2620
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2621
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2622
 
if test "${ac_cv_prog_CC+set}" = set; then
2623
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3455
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3456
$as_echo_n "checking for $ac_word... " >&6; }
 
3457
if test "${ac_cv_prog_CC+set}" = set; then :
 
3458
  $as_echo_n "(cached) " >&6
2624
3459
else
2625
3460
  if test -n "$CC"; then
2626
3461
  ac_cv_prog_CC="$CC" # Let the user override the test.
2630
3465
do
2631
3466
  IFS=$as_save_IFS
2632
3467
  test -z "$as_dir" && as_dir=.
2633
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3468
    for ac_exec_ext in '' $ac_executable_extensions; do
2634
3469
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2635
3470
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2636
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3471
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2637
3472
    break 2
2638
3473
  fi
2639
3474
done
2640
 
done
 
3475
  done
2641
3476
IFS=$as_save_IFS
2642
3477
 
2643
3478
fi
2644
3479
fi
2645
3480
CC=$ac_cv_prog_CC
2646
3481
if test -n "$CC"; then
2647
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2648
 
echo "${ECHO_T}$CC" >&6; }
 
3482
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3483
$as_echo "$CC" >&6; }
2649
3484
else
2650
 
  { echo "$as_me:$LINENO: result: no" >&5
2651
 
echo "${ECHO_T}no" >&6; }
 
3485
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3486
$as_echo "no" >&6; }
2652
3487
fi
2653
3488
 
2654
3489
 
2661
3496
do
2662
3497
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2663
3498
set dummy $ac_prog; ac_word=$2
2664
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2665
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2666
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2667
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3499
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3500
$as_echo_n "checking for $ac_word... " >&6; }
 
3501
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3502
  $as_echo_n "(cached) " >&6
2668
3503
else
2669
3504
  if test -n "$ac_ct_CC"; then
2670
3505
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2674
3509
do
2675
3510
  IFS=$as_save_IFS
2676
3511
  test -z "$as_dir" && as_dir=.
2677
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3512
    for ac_exec_ext in '' $ac_executable_extensions; do
2678
3513
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2679
3514
    ac_cv_prog_ac_ct_CC="$ac_prog"
2680
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3515
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2681
3516
    break 2
2682
3517
  fi
2683
3518
done
2684
 
done
 
3519
  done
2685
3520
IFS=$as_save_IFS
2686
3521
 
2687
3522
fi
2688
3523
fi
2689
3524
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2690
3525
if test -n "$ac_ct_CC"; then
2691
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2692
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
3526
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3527
$as_echo "$ac_ct_CC" >&6; }
2693
3528
else
2694
 
  { echo "$as_me:$LINENO: result: no" >&5
2695
 
echo "${ECHO_T}no" >&6; }
 
3529
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3530
$as_echo "no" >&6; }
2696
3531
fi
2697
3532
 
2698
3533
 
2704
3539
  else
2705
3540
    case $cross_compiling:$ac_tool_warned in
2706
3541
yes:)
2707
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2708
 
whose name does not start with the host triplet.  If you think this
2709
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2710
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2711
 
whose name does not start with the host triplet.  If you think this
2712
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3542
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3543
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2713
3544
ac_tool_warned=yes ;;
2714
3545
esac
2715
3546
    CC=$ac_ct_CC
2719
3550
fi
2720
3551
 
2721
3552
 
2722
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2723
 
See \`config.log' for more details." >&5
2724
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
2725
 
See \`config.log' for more details." >&2;}
2726
 
   { (exit 1); exit 1; }; }
 
3553
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3554
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3555
as_fn_error "no acceptable C compiler found in \$PATH
 
3556
See \`config.log' for more details." "$LINENO" 5; }
2727
3557
 
2728
3558
# Provide some information about the compiler.
2729
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
2730
 
ac_compiler=`set X $ac_compile; echo $2`
2731
 
{ (ac_try="$ac_compiler --version >&5"
2732
 
case "(($ac_try" in
2733
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2734
 
  *) ac_try_echo=$ac_try;;
2735
 
esac
2736
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2737
 
  (eval "$ac_compiler --version >&5") 2>&5
2738
 
  ac_status=$?
2739
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2740
 
  (exit $ac_status); }
2741
 
{ (ac_try="$ac_compiler -v >&5"
2742
 
case "(($ac_try" in
2743
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2744
 
  *) ac_try_echo=$ac_try;;
2745
 
esac
2746
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2747
 
  (eval "$ac_compiler -v >&5") 2>&5
2748
 
  ac_status=$?
2749
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2750
 
  (exit $ac_status); }
2751
 
{ (ac_try="$ac_compiler -V >&5"
2752
 
case "(($ac_try" in
2753
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2754
 
  *) ac_try_echo=$ac_try;;
2755
 
esac
2756
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2757
 
  (eval "$ac_compiler -V >&5") 2>&5
2758
 
  ac_status=$?
2759
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2760
 
  (exit $ac_status); }
 
3559
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
3560
set X $ac_compile
 
3561
ac_compiler=$2
 
3562
for ac_option in --version -v -V -qversion; do
 
3563
  { { ac_try="$ac_compiler $ac_option >&5"
 
3564
case "(($ac_try" in
 
3565
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3566
  *) ac_try_echo=$ac_try;;
 
3567
esac
 
3568
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3569
$as_echo "$ac_try_echo"; } >&5
 
3570
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3571
  ac_status=$?
 
3572
  if test -s conftest.err; then
 
3573
    sed '10a\
 
3574
... rest of stderr output deleted ...
 
3575
         10q' conftest.err >conftest.er1
 
3576
    cat conftest.er1 >&5
 
3577
  fi
 
3578
  rm -f conftest.er1 conftest.err
 
3579
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3580
  test $ac_status = 0; }
 
3581
done
2761
3582
 
2762
 
cat >conftest.$ac_ext <<_ACEOF
2763
 
/* confdefs.h.  */
2764
 
_ACEOF
2765
 
cat confdefs.h >>conftest.$ac_ext
2766
 
cat >>conftest.$ac_ext <<_ACEOF
 
3583
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2767
3584
/* end confdefs.h.  */
2768
3585
 
2769
3586
int
2775
3592
}
2776
3593
_ACEOF
2777
3594
ac_clean_files_save=$ac_clean_files
2778
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
3595
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2779
3596
# Try to create an executable without -o first, disregard a.out.
2780
3597
# It will help us diagnose broken compilers, and finding out an intuition
2781
3598
# of exeext.
2782
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2783
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2784
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2785
 
#
2786
 
# List of possible output files, starting from the most likely.
2787
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2788
 
# only as a last resort.  b.out is created by i960 compilers.
2789
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2790
 
#
2791
 
# The IRIX 6 linker writes into existing files which may not be
2792
 
# executable, retaining their permissions.  Remove them first so a
2793
 
# subsequent execution test works.
 
3599
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3600
$as_echo_n "checking whether the C compiler works... " >&6; }
 
3601
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3602
 
 
3603
# The possible output files:
 
3604
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3605
 
2794
3606
ac_rmfiles=
2795
3607
for ac_file in $ac_files
2796
3608
do
2797
3609
  case $ac_file in
2798
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3610
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2799
3611
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2800
3612
  esac
2801
3613
done
2802
3614
rm -f $ac_rmfiles
2803
3615
 
2804
 
if { (ac_try="$ac_link_default"
 
3616
if { { ac_try="$ac_link_default"
2805
3617
case "(($ac_try" in
2806
3618
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2807
3619
  *) ac_try_echo=$ac_try;;
2808
3620
esac
2809
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3621
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3622
$as_echo "$ac_try_echo"; } >&5
2810
3623
  (eval "$ac_link_default") 2>&5
2811
3624
  ac_status=$?
2812
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813
 
  (exit $ac_status); }; then
 
3625
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3626
  test $ac_status = 0; }; then :
2814
3627
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2815
3628
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2816
3629
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2820
3633
do
2821
3634
  test -f "$ac_file" || continue
2822
3635
  case $ac_file in
2823
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
3636
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2824
3637
        ;;
2825
3638
    [ab].out )
2826
3639
        # We found the default executable, but exeext='' is most
2827
3640
        # certainly right.
2828
3641
        break;;
2829
3642
    *.* )
2830
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3643
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2831
3644
        then :; else
2832
3645
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2833
3646
        fi
2846
3659
else
2847
3660
  ac_file=''
2848
3661
fi
2849
 
 
2850
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2851
 
echo "${ECHO_T}$ac_file" >&6; }
2852
 
if test -z "$ac_file"; then
2853
 
  echo "$as_me: failed program was:" >&5
 
3662
if test -z "$ac_file"; then :
 
3663
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3664
$as_echo "no" >&6; }
 
3665
$as_echo "$as_me: failed program was:" >&5
2854
3666
sed 's/^/| /' conftest.$ac_ext >&5
2855
3667
 
2856
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2857
 
See \`config.log' for more details." >&5
2858
 
echo "$as_me: error: C compiler cannot create executables
2859
 
See \`config.log' for more details." >&2;}
2860
 
   { (exit 77); exit 77; }; }
 
3668
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3669
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3670
{ as_fn_set_status 77
 
3671
as_fn_error "C compiler cannot create executables
 
3672
See \`config.log' for more details." "$LINENO" 5; }; }
 
3673
else
 
3674
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3675
$as_echo "yes" >&6; }
2861
3676
fi
2862
 
 
 
3677
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3678
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3679
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3680
$as_echo "$ac_file" >&6; }
2863
3681
ac_exeext=$ac_cv_exeext
2864
3682
 
2865
 
# Check that the compiler produces executables we can run.  If not, either
2866
 
# the compiler is broken, or we cross compile.
2867
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2868
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2869
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2870
 
# If not cross compiling, check that we can run a simple program.
2871
 
if test "$cross_compiling" != yes; then
2872
 
  if { ac_try='./$ac_file'
2873
 
  { (case "(($ac_try" in
2874
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2875
 
  *) ac_try_echo=$ac_try;;
2876
 
esac
2877
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2878
 
  (eval "$ac_try") 2>&5
2879
 
  ac_status=$?
2880
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881
 
  (exit $ac_status); }; }; then
2882
 
    cross_compiling=no
2883
 
  else
2884
 
    if test "$cross_compiling" = maybe; then
2885
 
        cross_compiling=yes
2886
 
    else
2887
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2888
 
If you meant to cross compile, use \`--host'.
2889
 
See \`config.log' for more details." >&5
2890
 
echo "$as_me: error: cannot run C compiled programs.
2891
 
If you meant to cross compile, use \`--host'.
2892
 
See \`config.log' for more details." >&2;}
2893
 
   { (exit 1); exit 1; }; }
2894
 
    fi
2895
 
  fi
2896
 
fi
2897
 
{ echo "$as_me:$LINENO: result: yes" >&5
2898
 
echo "${ECHO_T}yes" >&6; }
2899
 
 
2900
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
3683
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2901
3684
ac_clean_files=$ac_clean_files_save
2902
 
# Check that the compiler produces executables we can run.  If not, either
2903
 
# the compiler is broken, or we cross compile.
2904
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2905
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2906
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2907
 
echo "${ECHO_T}$cross_compiling" >&6; }
2908
 
 
2909
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2910
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2911
 
if { (ac_try="$ac_link"
 
3685
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
3686
$as_echo_n "checking for suffix of executables... " >&6; }
 
3687
if { { ac_try="$ac_link"
2912
3688
case "(($ac_try" in
2913
3689
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2914
3690
  *) ac_try_echo=$ac_try;;
2915
3691
esac
2916
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3692
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3693
$as_echo "$ac_try_echo"; } >&5
2917
3694
  (eval "$ac_link") 2>&5
2918
3695
  ac_status=$?
2919
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2920
 
  (exit $ac_status); }; then
 
3696
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3697
  test $ac_status = 0; }; then :
2921
3698
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2922
3699
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2923
3700
# work properly (i.e., refer to `conftest.exe'), while it won't with
2925
3702
for ac_file in conftest.exe conftest conftest.*; do
2926
3703
  test -f "$ac_file" || continue
2927
3704
  case $ac_file in
2928
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3705
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2929
3706
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2930
3707
          break;;
2931
3708
    * ) break;;
2932
3709
  esac
2933
3710
done
2934
3711
else
2935
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2936
 
See \`config.log' for more details." >&5
2937
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2938
 
See \`config.log' for more details." >&2;}
2939
 
   { (exit 1); exit 1; }; }
 
3712
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3713
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3714
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
3715
See \`config.log' for more details." "$LINENO" 5; }
2940
3716
fi
2941
 
 
2942
 
rm -f conftest$ac_cv_exeext
2943
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2944
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
3717
rm -f conftest conftest$ac_cv_exeext
 
3718
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
3719
$as_echo "$ac_cv_exeext" >&6; }
2945
3720
 
2946
3721
rm -f conftest.$ac_ext
2947
3722
EXEEXT=$ac_cv_exeext
2948
3723
ac_exeext=$EXEEXT
2949
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2950
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2951
 
if test "${ac_cv_objext+set}" = set; then
2952
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3724
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3725
/* end confdefs.h.  */
 
3726
#include <stdio.h>
 
3727
int
 
3728
main ()
 
3729
{
 
3730
FILE *f = fopen ("conftest.out", "w");
 
3731
 return ferror (f) || fclose (f) != 0;
 
3732
 
 
3733
  ;
 
3734
  return 0;
 
3735
}
 
3736
_ACEOF
 
3737
ac_clean_files="$ac_clean_files conftest.out"
 
3738
# Check that the compiler produces executables we can run.  If not, either
 
3739
# the compiler is broken, or we cross compile.
 
3740
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3741
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3742
if test "$cross_compiling" != yes; then
 
3743
  { { ac_try="$ac_link"
 
3744
case "(($ac_try" in
 
3745
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3746
  *) ac_try_echo=$ac_try;;
 
3747
esac
 
3748
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3749
$as_echo "$ac_try_echo"; } >&5
 
3750
  (eval "$ac_link") 2>&5
 
3751
  ac_status=$?
 
3752
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3753
  test $ac_status = 0; }
 
3754
  if { ac_try='./conftest$ac_cv_exeext'
 
3755
  { { case "(($ac_try" in
 
3756
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3757
  *) ac_try_echo=$ac_try;;
 
3758
esac
 
3759
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3760
$as_echo "$ac_try_echo"; } >&5
 
3761
  (eval "$ac_try") 2>&5
 
3762
  ac_status=$?
 
3763
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3764
  test $ac_status = 0; }; }; then
 
3765
    cross_compiling=no
 
3766
  else
 
3767
    if test "$cross_compiling" = maybe; then
 
3768
        cross_compiling=yes
 
3769
    else
 
3770
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3771
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3772
as_fn_error "cannot run C compiled programs.
 
3773
If you meant to cross compile, use \`--host'.
 
3774
See \`config.log' for more details." "$LINENO" 5; }
 
3775
    fi
 
3776
  fi
 
3777
fi
 
3778
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3779
$as_echo "$cross_compiling" >&6; }
 
3780
 
 
3781
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3782
ac_clean_files=$ac_clean_files_save
 
3783
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
3784
$as_echo_n "checking for suffix of object files... " >&6; }
 
3785
if test "${ac_cv_objext+set}" = set; then :
 
3786
  $as_echo_n "(cached) " >&6
2953
3787
else
2954
 
  cat >conftest.$ac_ext <<_ACEOF
2955
 
/* confdefs.h.  */
2956
 
_ACEOF
2957
 
cat confdefs.h >>conftest.$ac_ext
2958
 
cat >>conftest.$ac_ext <<_ACEOF
 
3788
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2959
3789
/* end confdefs.h.  */
2960
3790
 
2961
3791
int
2967
3797
}
2968
3798
_ACEOF
2969
3799
rm -f conftest.o conftest.obj
2970
 
if { (ac_try="$ac_compile"
 
3800
if { { ac_try="$ac_compile"
2971
3801
case "(($ac_try" in
2972
3802
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2973
3803
  *) ac_try_echo=$ac_try;;
2974
3804
esac
2975
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3805
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3806
$as_echo "$ac_try_echo"; } >&5
2976
3807
  (eval "$ac_compile") 2>&5
2977
3808
  ac_status=$?
2978
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2979
 
  (exit $ac_status); }; then
 
3809
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3810
  test $ac_status = 0; }; then :
2980
3811
  for ac_file in conftest.o conftest.obj conftest.*; do
2981
3812
  test -f "$ac_file" || continue;
2982
3813
  case $ac_file in
2983
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
3814
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2984
3815
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2985
3816
       break;;
2986
3817
  esac
2987
3818
done
2988
3819
else
2989
 
  echo "$as_me: failed program was:" >&5
 
3820
  $as_echo "$as_me: failed program was:" >&5
2990
3821
sed 's/^/| /' conftest.$ac_ext >&5
2991
3822
 
2992
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2993
 
See \`config.log' for more details." >&5
2994
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2995
 
See \`config.log' for more details." >&2;}
2996
 
   { (exit 1); exit 1; }; }
 
3823
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3824
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3825
as_fn_error "cannot compute suffix of object files: cannot compile
 
3826
See \`config.log' for more details." "$LINENO" 5; }
2997
3827
fi
2998
 
 
2999
3828
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3000
3829
fi
3001
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3002
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
3830
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
3831
$as_echo "$ac_cv_objext" >&6; }
3003
3832
OBJEXT=$ac_cv_objext
3004
3833
ac_objext=$OBJEXT
3005
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3006
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3007
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3008
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3834
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
3835
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
3836
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3837
  $as_echo_n "(cached) " >&6
3009
3838
else
3010
 
  cat >conftest.$ac_ext <<_ACEOF
3011
 
/* confdefs.h.  */
3012
 
_ACEOF
3013
 
cat confdefs.h >>conftest.$ac_ext
3014
 
cat >>conftest.$ac_ext <<_ACEOF
 
3839
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3015
3840
/* end confdefs.h.  */
3016
3841
 
3017
3842
int
3025
3850
  return 0;
3026
3851
}
3027
3852
_ACEOF
3028
 
rm -f conftest.$ac_objext
3029
 
if { (ac_try="$ac_compile"
3030
 
case "(($ac_try" in
3031
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3032
 
  *) ac_try_echo=$ac_try;;
3033
 
esac
3034
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3035
 
  (eval "$ac_compile") 2>conftest.er1
3036
 
  ac_status=$?
3037
 
  grep -v '^ *+' conftest.er1 >conftest.err
3038
 
  rm -f conftest.er1
3039
 
  cat conftest.err >&5
3040
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3041
 
  (exit $ac_status); } && {
3042
 
         test -z "$ac_c_werror_flag" ||
3043
 
         test ! -s conftest.err
3044
 
       } && test -s conftest.$ac_objext; then
 
3853
if ac_fn_c_try_compile "$LINENO"; then :
3045
3854
  ac_compiler_gnu=yes
3046
3855
else
3047
 
  echo "$as_me: failed program was:" >&5
3048
 
sed 's/^/| /' conftest.$ac_ext >&5
3049
 
 
3050
 
        ac_compiler_gnu=no
 
3856
  ac_compiler_gnu=no
3051
3857
fi
3052
 
 
3053
3858
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3054
3859
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3055
3860
 
3056
3861
fi
3057
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3058
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3059
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
3862
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
3863
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3864
if test $ac_compiler_gnu = yes; then
 
3865
  GCC=yes
 
3866
else
 
3867
  GCC=
 
3868
fi
3060
3869
ac_test_CFLAGS=${CFLAGS+set}
3061
3870
ac_save_CFLAGS=$CFLAGS
3062
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3063
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3064
 
if test "${ac_cv_prog_cc_g+set}" = set; then
3065
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3871
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
3872
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
3873
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3874
  $as_echo_n "(cached) " >&6
3066
3875
else
3067
3876
  ac_save_c_werror_flag=$ac_c_werror_flag
3068
3877
   ac_c_werror_flag=yes
3069
3878
   ac_cv_prog_cc_g=no
3070
3879
   CFLAGS="-g"
3071
 
   cat >conftest.$ac_ext <<_ACEOF
3072
 
/* confdefs.h.  */
3073
 
_ACEOF
3074
 
cat confdefs.h >>conftest.$ac_ext
3075
 
cat >>conftest.$ac_ext <<_ACEOF
 
3880
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3076
3881
/* end confdefs.h.  */
3077
3882
 
3078
3883
int
3083
3888
  return 0;
3084
3889
}
3085
3890
_ACEOF
3086
 
rm -f conftest.$ac_objext
3087
 
if { (ac_try="$ac_compile"
3088
 
case "(($ac_try" in
3089
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3090
 
  *) ac_try_echo=$ac_try;;
3091
 
esac
3092
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3093
 
  (eval "$ac_compile") 2>conftest.er1
3094
 
  ac_status=$?
3095
 
  grep -v '^ *+' conftest.er1 >conftest.err
3096
 
  rm -f conftest.er1
3097
 
  cat conftest.err >&5
3098
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099
 
  (exit $ac_status); } && {
3100
 
         test -z "$ac_c_werror_flag" ||
3101
 
         test ! -s conftest.err
3102
 
       } && test -s conftest.$ac_objext; then
 
3891
if ac_fn_c_try_compile "$LINENO"; then :
3103
3892
  ac_cv_prog_cc_g=yes
3104
3893
else
3105
 
  echo "$as_me: failed program was:" >&5
3106
 
sed 's/^/| /' conftest.$ac_ext >&5
3107
 
 
3108
 
        CFLAGS=""
3109
 
      cat >conftest.$ac_ext <<_ACEOF
3110
 
/* confdefs.h.  */
3111
 
_ACEOF
3112
 
cat confdefs.h >>conftest.$ac_ext
3113
 
cat >>conftest.$ac_ext <<_ACEOF
 
3894
  CFLAGS=""
 
3895
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3114
3896
/* end confdefs.h.  */
3115
3897
 
3116
3898
int
3121
3903
  return 0;
3122
3904
}
3123
3905
_ACEOF
3124
 
rm -f conftest.$ac_objext
3125
 
if { (ac_try="$ac_compile"
3126
 
case "(($ac_try" in
3127
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3128
 
  *) ac_try_echo=$ac_try;;
3129
 
esac
3130
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3131
 
  (eval "$ac_compile") 2>conftest.er1
3132
 
  ac_status=$?
3133
 
  grep -v '^ *+' conftest.er1 >conftest.err
3134
 
  rm -f conftest.er1
3135
 
  cat conftest.err >&5
3136
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3137
 
  (exit $ac_status); } && {
3138
 
         test -z "$ac_c_werror_flag" ||
3139
 
         test ! -s conftest.err
3140
 
       } && test -s conftest.$ac_objext; then
3141
 
  :
 
3906
if ac_fn_c_try_compile "$LINENO"; then :
 
3907
 
3142
3908
else
3143
 
  echo "$as_me: failed program was:" >&5
3144
 
sed 's/^/| /' conftest.$ac_ext >&5
3145
 
 
3146
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3909
  ac_c_werror_flag=$ac_save_c_werror_flag
3147
3910
         CFLAGS="-g"
3148
 
         cat >conftest.$ac_ext <<_ACEOF
3149
 
/* confdefs.h.  */
3150
 
_ACEOF
3151
 
cat confdefs.h >>conftest.$ac_ext
3152
 
cat >>conftest.$ac_ext <<_ACEOF
 
3911
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3153
3912
/* end confdefs.h.  */
3154
3913
 
3155
3914
int
3160
3919
  return 0;
3161
3920
}
3162
3921
_ACEOF
3163
 
rm -f conftest.$ac_objext
3164
 
if { (ac_try="$ac_compile"
3165
 
case "(($ac_try" in
3166
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3167
 
  *) ac_try_echo=$ac_try;;
3168
 
esac
3169
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3170
 
  (eval "$ac_compile") 2>conftest.er1
3171
 
  ac_status=$?
3172
 
  grep -v '^ *+' conftest.er1 >conftest.err
3173
 
  rm -f conftest.er1
3174
 
  cat conftest.err >&5
3175
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176
 
  (exit $ac_status); } && {
3177
 
         test -z "$ac_c_werror_flag" ||
3178
 
         test ! -s conftest.err
3179
 
       } && test -s conftest.$ac_objext; then
 
3922
if ac_fn_c_try_compile "$LINENO"; then :
3180
3923
  ac_cv_prog_cc_g=yes
3181
 
else
3182
 
  echo "$as_me: failed program was:" >&5
3183
 
sed 's/^/| /' conftest.$ac_ext >&5
3184
 
 
3185
 
 
3186
 
fi
3187
 
 
3188
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3189
 
fi
3190
 
 
3191
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3192
 
fi
3193
 
 
 
3924
fi
 
3925
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3926
fi
 
3927
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3928
fi
3194
3929
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3195
3930
   ac_c_werror_flag=$ac_save_c_werror_flag
3196
3931
fi
3197
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3198
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
3932
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
3933
$as_echo "$ac_cv_prog_cc_g" >&6; }
3199
3934
if test "$ac_test_CFLAGS" = set; then
3200
3935
  CFLAGS=$ac_save_CFLAGS
3201
3936
elif test $ac_cv_prog_cc_g = yes; then
3211
3946
    CFLAGS=
3212
3947
  fi
3213
3948
fi
3214
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3215
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3216
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
3217
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3949
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
3950
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
3951
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3952
  $as_echo_n "(cached) " >&6
3218
3953
else
3219
3954
  ac_cv_prog_cc_c89=no
3220
3955
ac_save_CC=$CC
3221
 
cat >conftest.$ac_ext <<_ACEOF
3222
 
/* confdefs.h.  */
3223
 
_ACEOF
3224
 
cat confdefs.h >>conftest.$ac_ext
3225
 
cat >>conftest.$ac_ext <<_ACEOF
 
3956
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3226
3957
/* end confdefs.h.  */
3227
3958
#include <stdarg.h>
3228
3959
#include <stdio.h>
3279
4010
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3280
4011
do
3281
4012
  CC="$ac_save_CC $ac_arg"
3282
 
  rm -f conftest.$ac_objext
3283
 
if { (ac_try="$ac_compile"
3284
 
case "(($ac_try" in
3285
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3286
 
  *) ac_try_echo=$ac_try;;
3287
 
esac
3288
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3289
 
  (eval "$ac_compile") 2>conftest.er1
3290
 
  ac_status=$?
3291
 
  grep -v '^ *+' conftest.er1 >conftest.err
3292
 
  rm -f conftest.er1
3293
 
  cat conftest.err >&5
3294
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3295
 
  (exit $ac_status); } && {
3296
 
         test -z "$ac_c_werror_flag" ||
3297
 
         test ! -s conftest.err
3298
 
       } && test -s conftest.$ac_objext; then
 
4013
  if ac_fn_c_try_compile "$LINENO"; then :
3299
4014
  ac_cv_prog_cc_c89=$ac_arg
3300
 
else
3301
 
  echo "$as_me: failed program was:" >&5
3302
 
sed 's/^/| /' conftest.$ac_ext >&5
3303
 
 
3304
 
 
3305
4015
fi
3306
 
 
3307
4016
rm -f core conftest.err conftest.$ac_objext
3308
4017
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3309
4018
done
3314
4023
# AC_CACHE_VAL
3315
4024
case "x$ac_cv_prog_cc_c89" in
3316
4025
  x)
3317
 
    { echo "$as_me:$LINENO: result: none needed" >&5
3318
 
echo "${ECHO_T}none needed" >&6; } ;;
 
4026
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
4027
$as_echo "none needed" >&6; } ;;
3319
4028
  xno)
3320
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
3321
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
4029
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
4030
$as_echo "unsupported" >&6; } ;;
3322
4031
  *)
3323
4032
    CC="$CC $ac_cv_prog_cc_c89"
3324
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3325
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
4033
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
4034
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3326
4035
esac
 
4036
if test "x$ac_cv_prog_cc_c89" != xno; then :
3327
4037
 
 
4038
fi
3328
4039
 
3329
4040
ac_ext=c
3330
4041
ac_cpp='$CPP $CPPFLAGS'
3339
4050
am_make=${MAKE-make}
3340
4051
cat > confinc << 'END'
3341
4052
am__doit:
3342
 
        @echo done
 
4053
        @echo this is the am__doit target
3343
4054
.PHONY: am__doit
3344
4055
END
3345
4056
# If we don't find an include directive, just comment out the code.
3346
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3347
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
 
4057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
4058
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3348
4059
am__include="#"
3349
4060
am__quote=
3350
4061
_am_result=none
3351
4062
# First try GNU make style include.
3352
4063
echo "include confinc" > confmf
3353
 
# We grep out `Entering directory' and `Leaving directory'
3354
 
# messages which can occur if `w' ends up in MAKEFLAGS.
3355
 
# In particular we don't look at `^make:' because GNU make might
3356
 
# be invoked under some other name (usually "gmake"), in which
3357
 
# case it prints its new name instead of `make'.
3358
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3359
 
   am__include=include
3360
 
   am__quote=
3361
 
   _am_result=GNU
3362
 
fi
 
4064
# Ignore all kinds of additional output from `make'.
 
4065
case `$am_make -s -f confmf 2> /dev/null` in #(
 
4066
*the\ am__doit\ target*)
 
4067
  am__include=include
 
4068
  am__quote=
 
4069
  _am_result=GNU
 
4070
  ;;
 
4071
esac
3363
4072
# Now try BSD make style include.
3364
4073
if test "$am__include" = "#"; then
3365
4074
   echo '.include "confinc"' > confmf
3366
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3367
 
      am__include=.include
3368
 
      am__quote="\""
3369
 
      _am_result=BSD
3370
 
   fi
 
4075
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
4076
   *the\ am__doit\ target*)
 
4077
     am__include=.include
 
4078
     am__quote="\""
 
4079
     _am_result=BSD
 
4080
     ;;
 
4081
   esac
3371
4082
fi
3372
4083
 
3373
4084
 
3374
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3375
 
echo "${ECHO_T}$_am_result" >&6; }
 
4085
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
4086
$as_echo "$_am_result" >&6; }
3376
4087
rm -f confinc confmf
3377
4088
 
3378
4089
# Check whether --enable-dependency-tracking was given.
3379
 
if test "${enable_dependency_tracking+set}" = set; then
 
4090
if test "${enable_dependency_tracking+set}" = set; then :
3380
4091
  enableval=$enable_dependency_tracking;
3381
4092
fi
3382
4093
 
3396
4107
 
3397
4108
depcc="$CC"   am_compiler_list=
3398
4109
 
3399
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3400
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3401
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3402
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4110
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
4111
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
4112
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
4113
  $as_echo_n "(cached) " >&6
3403
4114
else
3404
4115
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3405
4116
  # We make a subdir and do the tests there.  Otherwise we can end up
3424
4135
  if test "$am_compiler_list" = ""; then
3425
4136
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3426
4137
  fi
 
4138
  am__universal=false
 
4139
  case " $depcc " in #(
 
4140
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
4141
     esac
 
4142
 
3427
4143
  for depmode in $am_compiler_list; do
3428
4144
    # Setup a source with many dependencies, because some compilers
3429
4145
    # like to wrap large dependency lists on column 80 (with \), and
3441
4157
    done
3442
4158
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3443
4159
 
 
4160
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4161
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4162
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
4163
    # versions had trouble with output in subdirs
 
4164
    am__obj=sub/conftest.${OBJEXT-o}
 
4165
    am__minus_obj="-o $am__obj"
3444
4166
    case $depmode in
 
4167
    gcc)
 
4168
      # This depmode causes a compiler race in universal mode.
 
4169
      test "$am__universal" = false || continue
 
4170
      ;;
3445
4171
    nosideeffect)
3446
4172
      # after this tag, mechanisms are not by side-effect, so they'll
3447
4173
      # only be used when explicitly requested
3451
4177
        break
3452
4178
      fi
3453
4179
      ;;
 
4180
    msvisualcpp | msvcmsys)
 
4181
      # This compiler won't grok `-c -o', but also, the minuso test has
 
4182
      # not run yet.  These depmodes are late enough in the game, and
 
4183
      # so weak that their functioning should not be impacted.
 
4184
      am__obj=conftest.${OBJEXT-o}
 
4185
      am__minus_obj=
 
4186
      ;;
3454
4187
    none) break ;;
3455
4188
    esac
3456
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3457
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3458
 
    # handle `-M -o', and we need to detect this.
3459
4189
    if depmode=$depmode \
3460
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
4190
       source=sub/conftest.c object=$am__obj \
3461
4191
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3462
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
4192
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3463
4193
         >/dev/null 2>conftest.err &&
3464
4194
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3465
4195
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3466
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
4196
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3467
4197
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3468
4198
      # icc doesn't choke on unknown options, it will just issue warnings
3469
4199
      # or remarks (even with -Werror).  So we grep stderr for any message
3487
4217
fi
3488
4218
 
3489
4219
fi
3490
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3491
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
4220
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4221
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3492
4222
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3493
4223
 
3494
4224
 if
3516
4246
  do
3517
4247
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3518
4248
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3519
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3520
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3521
 
if test "${ac_cv_prog_CXX+set}" = set; then
3522
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4249
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4250
$as_echo_n "checking for $ac_word... " >&6; }
 
4251
if test "${ac_cv_prog_CXX+set}" = set; then :
 
4252
  $as_echo_n "(cached) " >&6
3523
4253
else
3524
4254
  if test -n "$CXX"; then
3525
4255
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
3529
4259
do
3530
4260
  IFS=$as_save_IFS
3531
4261
  test -z "$as_dir" && as_dir=.
3532
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4262
    for ac_exec_ext in '' $ac_executable_extensions; do
3533
4263
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3534
4264
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3535
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4265
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3536
4266
    break 2
3537
4267
  fi
3538
4268
done
3539
 
done
 
4269
  done
3540
4270
IFS=$as_save_IFS
3541
4271
 
3542
4272
fi
3543
4273
fi
3544
4274
CXX=$ac_cv_prog_CXX
3545
4275
if test -n "$CXX"; then
3546
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
3547
 
echo "${ECHO_T}$CXX" >&6; }
 
4276
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 
4277
$as_echo "$CXX" >&6; }
3548
4278
else
3549
 
  { echo "$as_me:$LINENO: result: no" >&5
3550
 
echo "${ECHO_T}no" >&6; }
 
4279
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4280
$as_echo "no" >&6; }
3551
4281
fi
3552
4282
 
3553
4283
 
3560
4290
do
3561
4291
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3562
4292
set dummy $ac_prog; ac_word=$2
3563
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3564
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3565
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3566
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4293
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4294
$as_echo_n "checking for $ac_word... " >&6; }
 
4295
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
4296
  $as_echo_n "(cached) " >&6
3567
4297
else
3568
4298
  if test -n "$ac_ct_CXX"; then
3569
4299
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3573
4303
do
3574
4304
  IFS=$as_save_IFS
3575
4305
  test -z "$as_dir" && as_dir=.
3576
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4306
    for ac_exec_ext in '' $ac_executable_extensions; do
3577
4307
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3578
4308
    ac_cv_prog_ac_ct_CXX="$ac_prog"
3579
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4309
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3580
4310
    break 2
3581
4311
  fi
3582
4312
done
3583
 
done
 
4313
  done
3584
4314
IFS=$as_save_IFS
3585
4315
 
3586
4316
fi
3587
4317
fi
3588
4318
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3589
4319
if test -n "$ac_ct_CXX"; then
3590
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3591
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
 
4320
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 
4321
$as_echo "$ac_ct_CXX" >&6; }
3592
4322
else
3593
 
  { echo "$as_me:$LINENO: result: no" >&5
3594
 
echo "${ECHO_T}no" >&6; }
 
4323
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4324
$as_echo "no" >&6; }
3595
4325
fi
3596
4326
 
3597
4327
 
3603
4333
  else
3604
4334
    case $cross_compiling:$ac_tool_warned in
3605
4335
yes:)
3606
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3607
 
whose name does not start with the host triplet.  If you think this
3608
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3609
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3610
 
whose name does not start with the host triplet.  If you think this
3611
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4336
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4337
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3612
4338
ac_tool_warned=yes ;;
3613
4339
esac
3614
4340
    CXX=$ac_ct_CXX
3618
4344
  fi
3619
4345
fi
3620
4346
# Provide some information about the compiler.
3621
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3622
 
ac_compiler=`set X $ac_compile; echo $2`
3623
 
{ (ac_try="$ac_compiler --version >&5"
3624
 
case "(($ac_try" in
3625
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3626
 
  *) ac_try_echo=$ac_try;;
3627
 
esac
3628
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3629
 
  (eval "$ac_compiler --version >&5") 2>&5
3630
 
  ac_status=$?
3631
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3632
 
  (exit $ac_status); }
3633
 
{ (ac_try="$ac_compiler -v >&5"
3634
 
case "(($ac_try" in
3635
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3636
 
  *) ac_try_echo=$ac_try;;
3637
 
esac
3638
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3639
 
  (eval "$ac_compiler -v >&5") 2>&5
3640
 
  ac_status=$?
3641
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3642
 
  (exit $ac_status); }
3643
 
{ (ac_try="$ac_compiler -V >&5"
3644
 
case "(($ac_try" in
3645
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3646
 
  *) ac_try_echo=$ac_try;;
3647
 
esac
3648
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3649
 
  (eval "$ac_compiler -V >&5") 2>&5
3650
 
  ac_status=$?
3651
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3652
 
  (exit $ac_status); }
 
4347
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 
4348
set X $ac_compile
 
4349
ac_compiler=$2
 
4350
for ac_option in --version -v -V -qversion; do
 
4351
  { { ac_try="$ac_compiler $ac_option >&5"
 
4352
case "(($ac_try" in
 
4353
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4354
  *) ac_try_echo=$ac_try;;
 
4355
esac
 
4356
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4357
$as_echo "$ac_try_echo"; } >&5
 
4358
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
4359
  ac_status=$?
 
4360
  if test -s conftest.err; then
 
4361
    sed '10a\
 
4362
... rest of stderr output deleted ...
 
4363
         10q' conftest.err >conftest.er1
 
4364
    cat conftest.er1 >&5
 
4365
  fi
 
4366
  rm -f conftest.er1 conftest.err
 
4367
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4368
  test $ac_status = 0; }
 
4369
done
3653
4370
 
3654
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3655
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3656
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3657
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4371
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 
4372
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
4373
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
4374
  $as_echo_n "(cached) " >&6
3658
4375
else
3659
 
  cat >conftest.$ac_ext <<_ACEOF
3660
 
/* confdefs.h.  */
3661
 
_ACEOF
3662
 
cat confdefs.h >>conftest.$ac_ext
3663
 
cat >>conftest.$ac_ext <<_ACEOF
 
4376
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3664
4377
/* end confdefs.h.  */
3665
4378
 
3666
4379
int
3674
4387
  return 0;
3675
4388
}
3676
4389
_ACEOF
3677
 
rm -f conftest.$ac_objext
3678
 
if { (ac_try="$ac_compile"
3679
 
case "(($ac_try" in
3680
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3681
 
  *) ac_try_echo=$ac_try;;
3682
 
esac
3683
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3684
 
  (eval "$ac_compile") 2>conftest.er1
3685
 
  ac_status=$?
3686
 
  grep -v '^ *+' conftest.er1 >conftest.err
3687
 
  rm -f conftest.er1
3688
 
  cat conftest.err >&5
3689
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3690
 
  (exit $ac_status); } && {
3691
 
         test -z "$ac_cxx_werror_flag" ||
3692
 
         test ! -s conftest.err
3693
 
       } && test -s conftest.$ac_objext; then
 
4390
if ac_fn_cxx_try_compile "$LINENO"; then :
3694
4391
  ac_compiler_gnu=yes
3695
4392
else
3696
 
  echo "$as_me: failed program was:" >&5
3697
 
sed 's/^/| /' conftest.$ac_ext >&5
3698
 
 
3699
 
        ac_compiler_gnu=no
 
4393
  ac_compiler_gnu=no
3700
4394
fi
3701
 
 
3702
4395
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3703
4396
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3704
4397
 
3705
4398
fi
3706
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3707
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3708
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
 
4399
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 
4400
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
4401
if test $ac_compiler_gnu = yes; then
 
4402
  GXX=yes
 
4403
else
 
4404
  GXX=
 
4405
fi
3709
4406
ac_test_CXXFLAGS=${CXXFLAGS+set}
3710
4407
ac_save_CXXFLAGS=$CXXFLAGS
3711
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3712
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3713
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
3714
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4408
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 
4409
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
4410
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
4411
  $as_echo_n "(cached) " >&6
3715
4412
else
3716
4413
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3717
4414
   ac_cxx_werror_flag=yes
3718
4415
   ac_cv_prog_cxx_g=no
3719
4416
   CXXFLAGS="-g"
3720
 
   cat >conftest.$ac_ext <<_ACEOF
3721
 
/* confdefs.h.  */
3722
 
_ACEOF
3723
 
cat confdefs.h >>conftest.$ac_ext
3724
 
cat >>conftest.$ac_ext <<_ACEOF
 
4417
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3725
4418
/* end confdefs.h.  */
3726
4419
 
3727
4420
int
3732
4425
  return 0;
3733
4426
}
3734
4427
_ACEOF
3735
 
rm -f conftest.$ac_objext
3736
 
if { (ac_try="$ac_compile"
3737
 
case "(($ac_try" in
3738
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3739
 
  *) ac_try_echo=$ac_try;;
3740
 
esac
3741
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3742
 
  (eval "$ac_compile") 2>conftest.er1
3743
 
  ac_status=$?
3744
 
  grep -v '^ *+' conftest.er1 >conftest.err
3745
 
  rm -f conftest.er1
3746
 
  cat conftest.err >&5
3747
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3748
 
  (exit $ac_status); } && {
3749
 
         test -z "$ac_cxx_werror_flag" ||
3750
 
         test ! -s conftest.err
3751
 
       } && test -s conftest.$ac_objext; then
 
4428
if ac_fn_cxx_try_compile "$LINENO"; then :
3752
4429
  ac_cv_prog_cxx_g=yes
3753
4430
else
3754
 
  echo "$as_me: failed program was:" >&5
3755
 
sed 's/^/| /' conftest.$ac_ext >&5
3756
 
 
3757
 
        CXXFLAGS=""
3758
 
      cat >conftest.$ac_ext <<_ACEOF
3759
 
/* confdefs.h.  */
3760
 
_ACEOF
3761
 
cat confdefs.h >>conftest.$ac_ext
3762
 
cat >>conftest.$ac_ext <<_ACEOF
 
4431
  CXXFLAGS=""
 
4432
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3763
4433
/* end confdefs.h.  */
3764
4434
 
3765
4435
int
3770
4440
  return 0;
3771
4441
}
3772
4442
_ACEOF
3773
 
rm -f conftest.$ac_objext
3774
 
if { (ac_try="$ac_compile"
3775
 
case "(($ac_try" in
3776
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3777
 
  *) ac_try_echo=$ac_try;;
3778
 
esac
3779
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3780
 
  (eval "$ac_compile") 2>conftest.er1
3781
 
  ac_status=$?
3782
 
  grep -v '^ *+' conftest.er1 >conftest.err
3783
 
  rm -f conftest.er1
3784
 
  cat conftest.err >&5
3785
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3786
 
  (exit $ac_status); } && {
3787
 
         test -z "$ac_cxx_werror_flag" ||
3788
 
         test ! -s conftest.err
3789
 
       } && test -s conftest.$ac_objext; then
3790
 
  :
 
4443
if ac_fn_cxx_try_compile "$LINENO"; then :
 
4444
 
3791
4445
else
3792
 
  echo "$as_me: failed program was:" >&5
3793
 
sed 's/^/| /' conftest.$ac_ext >&5
3794
 
 
3795
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
4446
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3796
4447
         CXXFLAGS="-g"
3797
 
         cat >conftest.$ac_ext <<_ACEOF
3798
 
/* confdefs.h.  */
3799
 
_ACEOF
3800
 
cat confdefs.h >>conftest.$ac_ext
3801
 
cat >>conftest.$ac_ext <<_ACEOF
 
4448
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3802
4449
/* end confdefs.h.  */
3803
4450
 
3804
4451
int
3809
4456
  return 0;
3810
4457
}
3811
4458
_ACEOF
3812
 
rm -f conftest.$ac_objext
3813
 
if { (ac_try="$ac_compile"
3814
 
case "(($ac_try" in
3815
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3816
 
  *) ac_try_echo=$ac_try;;
3817
 
esac
3818
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3819
 
  (eval "$ac_compile") 2>conftest.er1
3820
 
  ac_status=$?
3821
 
  grep -v '^ *+' conftest.er1 >conftest.err
3822
 
  rm -f conftest.er1
3823
 
  cat conftest.err >&5
3824
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3825
 
  (exit $ac_status); } && {
3826
 
         test -z "$ac_cxx_werror_flag" ||
3827
 
         test ! -s conftest.err
3828
 
       } && test -s conftest.$ac_objext; then
 
4459
if ac_fn_cxx_try_compile "$LINENO"; then :
3829
4460
  ac_cv_prog_cxx_g=yes
3830
 
else
3831
 
  echo "$as_me: failed program was:" >&5
3832
 
sed 's/^/| /' conftest.$ac_ext >&5
3833
 
 
3834
 
 
3835
 
fi
3836
 
 
3837
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3838
 
fi
3839
 
 
3840
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3841
 
fi
3842
 
 
 
4461
fi
 
4462
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4463
fi
 
4464
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4465
fi
3843
4466
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3844
4467
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3845
4468
fi
3846
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3847
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
 
4469
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 
4470
$as_echo "$ac_cv_prog_cxx_g" >&6; }
3848
4471
if test "$ac_test_CXXFLAGS" = set; then
3849
4472
  CXXFLAGS=$ac_save_CXXFLAGS
3850
4473
elif test $ac_cv_prog_cxx_g = yes; then
3868
4491
 
3869
4492
depcc="$CXX"  am_compiler_list=
3870
4493
 
3871
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3872
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3873
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3874
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4494
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
4495
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
4496
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
4497
  $as_echo_n "(cached) " >&6
3875
4498
else
3876
4499
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3877
4500
  # We make a subdir and do the tests there.  Otherwise we can end up
3896
4519
  if test "$am_compiler_list" = ""; then
3897
4520
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3898
4521
  fi
 
4522
  am__universal=false
 
4523
  case " $depcc " in #(
 
4524
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
4525
     esac
 
4526
 
3899
4527
  for depmode in $am_compiler_list; do
3900
4528
    # Setup a source with many dependencies, because some compilers
3901
4529
    # like to wrap large dependency lists on column 80 (with \), and
3913
4541
    done
3914
4542
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3915
4543
 
 
4544
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4545
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4546
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
4547
    # versions had trouble with output in subdirs
 
4548
    am__obj=sub/conftest.${OBJEXT-o}
 
4549
    am__minus_obj="-o $am__obj"
3916
4550
    case $depmode in
 
4551
    gcc)
 
4552
      # This depmode causes a compiler race in universal mode.
 
4553
      test "$am__universal" = false || continue
 
4554
      ;;
3917
4555
    nosideeffect)
3918
4556
      # after this tag, mechanisms are not by side-effect, so they'll
3919
4557
      # only be used when explicitly requested
3923
4561
        break
3924
4562
      fi
3925
4563
      ;;
 
4564
    msvisualcpp | msvcmsys)
 
4565
      # This compiler won't grok `-c -o', but also, the minuso test has
 
4566
      # not run yet.  These depmodes are late enough in the game, and
 
4567
      # so weak that their functioning should not be impacted.
 
4568
      am__obj=conftest.${OBJEXT-o}
 
4569
      am__minus_obj=
 
4570
      ;;
3926
4571
    none) break ;;
3927
4572
    esac
3928
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3929
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3930
 
    # handle `-M -o', and we need to detect this.
3931
4573
    if depmode=$depmode \
3932
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
4574
       source=sub/conftest.c object=$am__obj \
3933
4575
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3934
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
4576
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3935
4577
         >/dev/null 2>conftest.err &&
3936
4578
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3937
4579
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3938
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
4580
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3939
4581
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3940
4582
      # icc doesn't choke on unknown options, it will just issue warnings
3941
4583
      # or remarks (even with -Werror).  So we grep stderr for any message
3959
4601
fi
3960
4602
 
3961
4603
fi
3962
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3963
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
 
4604
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
4605
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3964
4606
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3965
4607
 
3966
4608
 if
3974
4616
fi
3975
4617
 
3976
4618
 
3977
 
# Find a good install program.  We prefer a C program (faster),
3978
 
# so one script is as good as another.  But avoid the broken or
3979
 
# incompatible versions:
3980
 
# SysV /etc/install, /usr/sbin/install
3981
 
# SunOS /usr/etc/install
3982
 
# IRIX /sbin/install
3983
 
# AIX /bin/install
3984
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
3985
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3986
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3987
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3988
 
# OS/2's system install, which has a completely different semantic
3989
 
# ./install, which can be erroneously created by make from ./install.sh.
3990
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3991
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3992
 
if test -z "$INSTALL"; then
3993
 
if test "${ac_cv_path_install+set}" = set; then
3994
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3995
 
else
3996
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3997
 
for as_dir in $PATH
3998
 
do
3999
 
  IFS=$as_save_IFS
4000
 
  test -z "$as_dir" && as_dir=.
4001
 
  # Account for people who put trailing slashes in PATH elements.
4002
 
case $as_dir/ in
4003
 
  ./ | .// | /cC/* | \
4004
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4005
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4006
 
  /usr/ucb/* ) ;;
4007
 
  *)
4008
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
4009
 
    # Don't use installbsd from OSF since it installs stuff as root
4010
 
    # by default.
4011
 
    for ac_prog in ginstall scoinst install; do
4012
 
      for ac_exec_ext in '' $ac_executable_extensions; do
4013
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4014
 
          if test $ac_prog = install &&
4015
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4016
 
            # AIX install.  It has an incompatible calling convention.
4017
 
            :
4018
 
          elif test $ac_prog = install &&
4019
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4020
 
            # program-specific install script used by HP pwplus--don't use.
4021
 
            :
4022
 
          else
4023
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4024
 
            break 3
4025
 
          fi
4026
 
        fi
4027
 
      done
4028
 
    done
4029
 
    ;;
4030
 
esac
4031
 
done
4032
 
IFS=$as_save_IFS
4033
 
 
4034
 
 
4035
 
fi
4036
 
  if test "${ac_cv_path_install+set}" = set; then
4037
 
    INSTALL=$ac_cv_path_install
4038
 
  else
4039
 
    # As a last resort, use the slow shell script.  Don't cache a
4040
 
    # value for INSTALL within a source directory, because that will
4041
 
    # break other packages using the cache if that directory is
4042
 
    # removed, or if the value is a relative name.
4043
 
    INSTALL=$ac_install_sh
4044
 
  fi
4045
 
fi
4046
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
4047
 
echo "${ECHO_T}$INSTALL" >&6; }
4048
 
 
4049
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4050
 
# It thinks the first close brace ends the variable substitution.
4051
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4052
 
 
4053
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4054
 
 
4055
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4056
4619
 
4057
4620
 
4058
4621
# Make sure we can run config.sub.
4059
4622
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4060
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4061
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4062
 
   { (exit 1); exit 1; }; }
 
4623
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4063
4624
 
4064
 
{ echo "$as_me:$LINENO: checking build system type" >&5
4065
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4066
 
if test "${ac_cv_build+set}" = set; then
4067
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4625
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
4626
$as_echo_n "checking build system type... " >&6; }
 
4627
if test "${ac_cv_build+set}" = set; then :
 
4628
  $as_echo_n "(cached) " >&6
4068
4629
else
4069
4630
  ac_build_alias=$build_alias
4070
4631
test "x$ac_build_alias" = x &&
4071
4632
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4072
4633
test "x$ac_build_alias" = x &&
4073
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4074
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4075
 
   { (exit 1); exit 1; }; }
 
4634
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4076
4635
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4077
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4078
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4079
 
   { (exit 1); exit 1; }; }
 
4636
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4080
4637
 
4081
4638
fi
4082
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4083
 
echo "${ECHO_T}$ac_cv_build" >&6; }
 
4639
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
4640
$as_echo "$ac_cv_build" >&6; }
4084
4641
case $ac_cv_build in
4085
4642
*-*-*) ;;
4086
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4087
 
echo "$as_me: error: invalid value of canonical build" >&2;}
4088
 
   { (exit 1); exit 1; }; };;
 
4643
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4089
4644
esac
4090
4645
build=$ac_cv_build
4091
4646
ac_save_IFS=$IFS; IFS='-'
4101
4656
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4102
4657
 
4103
4658
 
4104
 
{ echo "$as_me:$LINENO: checking host system type" >&5
4105
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4106
 
if test "${ac_cv_host+set}" = set; then
4107
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4659
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
4660
$as_echo_n "checking host system type... " >&6; }
 
4661
if test "${ac_cv_host+set}" = set; then :
 
4662
  $as_echo_n "(cached) " >&6
4108
4663
else
4109
4664
  if test "x$host_alias" = x; then
4110
4665
  ac_cv_host=$ac_cv_build
4111
4666
else
4112
4667
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4113
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4114
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4115
 
   { (exit 1); exit 1; }; }
 
4668
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4116
4669
fi
4117
4670
 
4118
4671
fi
4119
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4120
 
echo "${ECHO_T}$ac_cv_host" >&6; }
 
4672
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
4673
$as_echo "$ac_cv_host" >&6; }
4121
4674
case $ac_cv_host in
4122
4675
*-*-*) ;;
4123
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4124
 
echo "$as_me: error: invalid value of canonical host" >&2;}
4125
 
   { (exit 1); exit 1; }; };;
 
4676
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4126
4677
esac
4127
4678
host=$ac_cv_host
4128
4679
ac_save_IFS=$IFS; IFS='-'
4142
4693
 
4143
4694
 
4144
4695
 
 
4696
if test -n "$ac_tool_prefix"; then
 
4697
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
4698
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
4699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4700
$as_echo_n "checking for $ac_word... " >&6; }
 
4701
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
4702
  $as_echo_n "(cached) " >&6
 
4703
else
 
4704
  if test -n "$RANLIB"; then
 
4705
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
4706
else
 
4707
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4708
for as_dir in $PATH
 
4709
do
 
4710
  IFS=$as_save_IFS
 
4711
  test -z "$as_dir" && as_dir=.
 
4712
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4713
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4714
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
4715
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4716
    break 2
 
4717
  fi
 
4718
done
 
4719
  done
 
4720
IFS=$as_save_IFS
 
4721
 
 
4722
fi
 
4723
fi
 
4724
RANLIB=$ac_cv_prog_RANLIB
 
4725
if test -n "$RANLIB"; then
 
4726
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
4727
$as_echo "$RANLIB" >&6; }
 
4728
else
 
4729
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4730
$as_echo "no" >&6; }
 
4731
fi
 
4732
 
 
4733
 
 
4734
fi
 
4735
if test -z "$ac_cv_prog_RANLIB"; then
 
4736
  ac_ct_RANLIB=$RANLIB
 
4737
  # Extract the first word of "ranlib", so it can be a program name with args.
 
4738
set dummy ranlib; ac_word=$2
 
4739
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4740
$as_echo_n "checking for $ac_word... " >&6; }
 
4741
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
4742
  $as_echo_n "(cached) " >&6
 
4743
else
 
4744
  if test -n "$ac_ct_RANLIB"; then
 
4745
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
4746
else
 
4747
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4748
for as_dir in $PATH
 
4749
do
 
4750
  IFS=$as_save_IFS
 
4751
  test -z "$as_dir" && as_dir=.
 
4752
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4753
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4754
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
4755
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4756
    break 2
 
4757
  fi
 
4758
done
 
4759
  done
 
4760
IFS=$as_save_IFS
 
4761
 
 
4762
fi
 
4763
fi
 
4764
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
4765
if test -n "$ac_ct_RANLIB"; then
 
4766
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
4767
$as_echo "$ac_ct_RANLIB" >&6; }
 
4768
else
 
4769
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4770
$as_echo "no" >&6; }
 
4771
fi
 
4772
 
 
4773
  if test "x$ac_ct_RANLIB" = x; then
 
4774
    RANLIB=":"
 
4775
  else
 
4776
    case $cross_compiling:$ac_tool_warned in
 
4777
yes:)
 
4778
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4779
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4780
ac_tool_warned=yes ;;
 
4781
esac
 
4782
    RANLIB=$ac_ct_RANLIB
 
4783
  fi
 
4784
else
 
4785
  RANLIB="$ac_cv_prog_RANLIB"
 
4786
fi
 
4787
 
 
4788
 
 
4789
 
 
4790
  # Code from module alloca:
 
4791
  # Code from module alloca-opt:
 
4792
  # Code from module errno:
 
4793
  # Code from module include_next:
 
4794
 
 
4795
 
4145
4796
 
4146
4797
 
4147
4798
 
4148
4799
  case "$host_os" in
4149
4800
    mingw* | cygwin*)
4150
 
      { echo "$as_me:$LINENO: checking for auto-import of symbols" >&5
4151
 
echo $ECHO_N "checking for auto-import of symbols... $ECHO_C" >&6; }
4152
 
      if test "${gl_cv_ld_autoimport+set}" = set; then
4153
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4801
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for auto-import of symbols" >&5
 
4802
$as_echo_n "checking for auto-import of symbols... " >&6; }
 
4803
      if test "${gl_cv_ld_autoimport+set}" = set; then :
 
4804
  $as_echo_n "(cached) " >&6
4154
4805
else
4155
4806
 
4156
4807
        gl_save_LDFLAGS="$LDFLAGS"
4157
4808
        LDFLAGS="$LDFLAGS -Wl,--disable-auto-import"
4158
 
        cat >conftest.$ac_ext <<_ACEOF
4159
 
/* confdefs.h.  */
4160
 
_ACEOF
4161
 
cat confdefs.h >>conftest.$ac_ext
4162
 
cat >>conftest.$ac_ext <<_ACEOF
 
4809
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4163
4810
/* end confdefs.h.  */
4164
4811
 
4165
4812
int
4170
4817
  return 0;
4171
4818
}
4172
4819
_ACEOF
4173
 
rm -f conftest.$ac_objext conftest$ac_exeext
4174
 
if { (ac_try="$ac_link"
4175
 
case "(($ac_try" in
4176
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4177
 
  *) ac_try_echo=$ac_try;;
4178
 
esac
4179
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4180
 
  (eval "$ac_link") 2>conftest.er1
4181
 
  ac_status=$?
4182
 
  grep -v '^ *+' conftest.er1 >conftest.err
4183
 
  rm -f conftest.er1
4184
 
  cat conftest.err >&5
4185
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4186
 
  (exit $ac_status); } && {
4187
 
         test -z "$ac_c_werror_flag" ||
4188
 
         test ! -s conftest.err
4189
 
       } && test -s conftest$ac_exeext &&
4190
 
       $as_test_x conftest$ac_exeext; then
 
4820
if ac_fn_c_try_link "$LINENO"; then :
4191
4821
  gl_cv_ld_autoimport=yes
4192
4822
else
4193
 
  echo "$as_me: failed program was:" >&5
4194
 
sed 's/^/| /' conftest.$ac_ext >&5
4195
 
 
4196
 
        gl_cv_ld_autoimport=no
 
4823
  gl_cv_ld_autoimport=no
4197
4824
fi
4198
 
 
4199
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4200
 
      conftest$ac_exeext conftest.$ac_ext
 
4825
rm -f core conftest.err conftest.$ac_objext \
 
4826
    conftest$ac_exeext conftest.$ac_ext
4201
4827
        LDFLAGS="$gl_save_LDFLAGS"
4202
4828
fi
4203
4829
 
4204
 
      { echo "$as_me:$LINENO: result: $gl_cv_ld_autoimport" >&5
4205
 
echo "${ECHO_T}$gl_cv_ld_autoimport" >&6; }
 
4830
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_ld_autoimport" >&5
 
4831
$as_echo "$gl_cv_ld_autoimport" >&6; }
4206
4832
      if test $gl_cv_ld_autoimport = yes; then
4207
4833
        LDFLAGS="$LDFLAGS -Wl,--disable-auto-import"
4208
4834
      fi
4209
4835
      ;;
4210
4836
  esac
4211
4837
 
4212
 
 
4213
 
 
4214
 
# Check whether --enable-shared was given.
4215
 
if test "${enable_shared+set}" = set; then
4216
 
  enableval=$enable_shared; p=${PACKAGE-default}
4217
 
    case $enableval in
4218
 
    yes) enable_shared=yes ;;
4219
 
    no) enable_shared=no ;;
4220
 
    *)
4221
 
      enable_shared=no
4222
 
      # Look at the argument we got.  We use all the common list separators.
4223
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4224
 
      for pkg in $enableval; do
4225
 
        IFS="$lt_save_ifs"
4226
 
        if test "X$pkg" = "X$p"; then
4227
 
          enable_shared=yes
4228
 
        fi
4229
 
      done
4230
 
      IFS="$lt_save_ifs"
4231
 
      ;;
4232
 
    esac
4233
 
else
4234
 
  enable_shared=yes
4235
 
fi
4236
 
 
4237
 
 
4238
 
# Check whether --enable-static was given.
4239
 
if test "${enable_static+set}" = set; then
4240
 
  enableval=$enable_static; p=${PACKAGE-default}
4241
 
    case $enableval in
4242
 
    yes) enable_static=yes ;;
4243
 
    no) enable_static=no ;;
4244
 
    *)
4245
 
     enable_static=no
4246
 
      # Look at the argument we got.  We use all the common list separators.
4247
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4248
 
      for pkg in $enableval; do
4249
 
        IFS="$lt_save_ifs"
4250
 
        if test "X$pkg" = "X$p"; then
4251
 
          enable_static=yes
4252
 
        fi
4253
 
      done
4254
 
      IFS="$lt_save_ifs"
4255
 
      ;;
4256
 
    esac
4257
 
else
4258
 
  enable_static=yes
4259
 
fi
4260
 
 
4261
 
 
4262
 
# Check whether --enable-fast-install was given.
4263
 
if test "${enable_fast_install+set}" = set; then
4264
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
4265
 
    case $enableval in
4266
 
    yes) enable_fast_install=yes ;;
4267
 
    no) enable_fast_install=no ;;
4268
 
    *)
4269
 
      enable_fast_install=no
4270
 
      # Look at the argument we got.  We use all the common list separators.
4271
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4272
 
      for pkg in $enableval; do
4273
 
        IFS="$lt_save_ifs"
4274
 
        if test "X$pkg" = "X$p"; then
4275
 
          enable_fast_install=yes
4276
 
        fi
4277
 
      done
4278
 
      IFS="$lt_save_ifs"
4279
 
      ;;
4280
 
    esac
4281
 
else
4282
 
  enable_fast_install=yes
4283
 
fi
4284
 
 
4285
 
 
4286
 
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4287
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4288
 
if test "${lt_cv_path_SED+set}" = set; then
4289
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4290
 
else
4291
 
  # Loop through the user's path and test for sed and gsed.
4292
 
# Then use that list of sed's as ones to test for truncation.
4293
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4838
case `pwd` in
 
4839
  *\ * | *\     *)
 
4840
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
4841
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
4842
esac
 
4843
 
 
4844
 
 
4845
 
 
4846
macro_version='2.2.6'
 
4847
macro_revision='1.3012'
 
4848
 
 
4849
 
 
4850
 
 
4851
 
 
4852
 
 
4853
 
 
4854
 
 
4855
 
 
4856
 
 
4857
 
 
4858
 
 
4859
 
 
4860
 
 
4861
ltmain="$ac_aux_dir/ltmain.sh"
 
4862
 
 
4863
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
4864
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
4865
if test "${ac_cv_path_SED+set}" = set; then :
 
4866
  $as_echo_n "(cached) " >&6
 
4867
else
 
4868
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
4869
     for ac_i in 1 2 3 4 5 6 7; do
 
4870
       ac_script="$ac_script$as_nl$ac_script"
 
4871
     done
 
4872
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
4873
     { ac_script=; unset ac_script;}
 
4874
     if test -z "$SED"; then
 
4875
  ac_path_SED_found=false
 
4876
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4877
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4294
4878
for as_dir in $PATH
4295
4879
do
4296
4880
  IFS=$as_save_IFS
4297
4881
  test -z "$as_dir" && as_dir=.
4298
 
  for lt_ac_prog in sed gsed; do
 
4882
    for ac_prog in sed gsed; do
4299
4883
    for ac_exec_ext in '' $ac_executable_extensions; do
4300
 
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
4301
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4302
 
      fi
 
4884
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
4885
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
4886
# Check for GNU ac_path_SED and select it if it is found.
 
4887
  # Check for GNU $ac_path_SED
 
4888
case `"$ac_path_SED" --version 2>&1` in
 
4889
*GNU*)
 
4890
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
4891
*)
 
4892
  ac_count=0
 
4893
  $as_echo_n 0123456789 >"conftest.in"
 
4894
  while :
 
4895
  do
 
4896
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4897
    mv "conftest.tmp" "conftest.in"
 
4898
    cp "conftest.in" "conftest.nl"
 
4899
    $as_echo '' >> "conftest.nl"
 
4900
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4901
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4902
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4903
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
4904
      # Best one so far, save it but keep looking for a better one
 
4905
      ac_cv_path_SED="$ac_path_SED"
 
4906
      ac_path_SED_max=$ac_count
 
4907
    fi
 
4908
    # 10*(2^10) chars as input seems more than enough
 
4909
    test $ac_count -gt 10 && break
 
4910
  done
 
4911
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4912
esac
 
4913
 
 
4914
      $ac_path_SED_found && break 3
4303
4915
    done
4304
4916
  done
4305
 
done
 
4917
  done
4306
4918
IFS=$as_save_IFS
4307
 
lt_ac_max=0
4308
 
lt_ac_count=0
4309
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
4310
 
# along with /bin/sed that truncates output.
4311
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4312
 
  test ! -f $lt_ac_sed && continue
4313
 
  cat /dev/null > conftest.in
4314
 
  lt_ac_count=0
4315
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4316
 
  # Check for GNU sed and select it if it is found.
4317
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4318
 
    lt_cv_path_SED=$lt_ac_sed
4319
 
    break
 
4919
  if test -z "$ac_cv_path_SED"; then
 
4920
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4320
4921
  fi
4321
 
  while true; do
4322
 
    cat conftest.in conftest.in >conftest.tmp
4323
 
    mv conftest.tmp conftest.in
4324
 
    cp conftest.in conftest.nl
4325
 
    echo >>conftest.nl
4326
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4327
 
    cmp -s conftest.out conftest.nl || break
4328
 
    # 10000 chars as input seems more than enough
4329
 
    test $lt_ac_count -gt 10 && break
4330
 
    lt_ac_count=`expr $lt_ac_count + 1`
4331
 
    if test $lt_ac_count -gt $lt_ac_max; then
4332
 
      lt_ac_max=$lt_ac_count
4333
 
      lt_cv_path_SED=$lt_ac_sed
4334
 
    fi
4335
 
  done
4336
 
done
4337
 
 
4338
 
fi
4339
 
 
4340
 
SED=$lt_cv_path_SED
4341
 
 
4342
 
{ echo "$as_me:$LINENO: result: $SED" >&5
4343
 
echo "${ECHO_T}$SED" >&6; }
4344
 
 
4345
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4346
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4347
 
if test "${ac_cv_path_GREP+set}" = set; then
4348
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4349
 
else
4350
 
  # Extract the first word of "grep ggrep" to use in msg output
4351
 
if test -z "$GREP"; then
4352
 
set dummy grep ggrep; ac_prog_name=$2
4353
 
if test "${ac_cv_path_GREP+set}" = set; then
4354
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4355
 
else
 
4922
else
 
4923
  ac_cv_path_SED=$SED
 
4924
fi
 
4925
 
 
4926
fi
 
4927
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
4928
$as_echo "$ac_cv_path_SED" >&6; }
 
4929
 SED="$ac_cv_path_SED"
 
4930
  rm -f conftest.sed
 
4931
 
 
4932
test -z "$SED" && SED=sed
 
4933
Xsed="$SED -e 1s/^X//"
 
4934
 
 
4935
 
 
4936
 
 
4937
 
 
4938
 
 
4939
 
 
4940
 
 
4941
 
 
4942
 
 
4943
 
 
4944
 
 
4945
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
4946
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
4947
if test "${ac_cv_path_GREP+set}" = set; then :
 
4948
  $as_echo_n "(cached) " >&6
 
4949
else
 
4950
  if test -z "$GREP"; then
4356
4951
  ac_path_GREP_found=false
4357
 
# Loop through the user's path and test for each of PROGNAME-LIST
4358
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4952
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4953
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4359
4954
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4360
4955
do
4361
4956
  IFS=$as_save_IFS
4362
4957
  test -z "$as_dir" && as_dir=.
4363
 
  for ac_prog in grep ggrep; do
4364
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4365
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4366
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4367
 
    # Check for GNU ac_path_GREP and select it if it is found.
 
4958
    for ac_prog in grep ggrep; do
 
4959
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4960
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4961
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4962
# Check for GNU ac_path_GREP and select it if it is found.
4368
4963
  # Check for GNU $ac_path_GREP
4369
4964
case `"$ac_path_GREP" --version 2>&1` in
4370
4965
*GNU*)
4371
4966
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4372
4967
*)
4373
4968
  ac_count=0
4374
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4969
  $as_echo_n 0123456789 >"conftest.in"
4375
4970
  while :
4376
4971
  do
4377
4972
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4378
4973
    mv "conftest.tmp" "conftest.in"
4379
4974
    cp "conftest.in" "conftest.nl"
4380
 
    echo 'GREP' >> "conftest.nl"
 
4975
    $as_echo 'GREP' >> "conftest.nl"
4381
4976
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4382
4977
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4383
 
    ac_count=`expr $ac_count + 1`
 
4978
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4384
4979
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4385
4980
      # Best one so far, save it but keep looking for a better one
4386
4981
      ac_cv_path_GREP="$ac_path_GREP"
4392
4987
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4393
4988
esac
4394
4989
 
4395
 
 
4396
 
    $ac_path_GREP_found && break 3
4397
 
  done
4398
 
done
4399
 
 
4400
 
done
 
4990
      $ac_path_GREP_found && break 3
 
4991
    done
 
4992
  done
 
4993
  done
4401
4994
IFS=$as_save_IFS
4402
 
 
4403
 
 
4404
 
fi
4405
 
 
4406
 
GREP="$ac_cv_path_GREP"
4407
 
if test -z "$GREP"; then
4408
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4409
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4410
 
   { (exit 1); exit 1; }; }
4411
 
fi
4412
 
 
 
4995
  if test -z "$ac_cv_path_GREP"; then
 
4996
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4997
  fi
4413
4998
else
4414
4999
  ac_cv_path_GREP=$GREP
4415
5000
fi
4416
5001
 
4417
 
 
4418
5002
fi
4419
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4420
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
5003
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
5004
$as_echo "$ac_cv_path_GREP" >&6; }
4421
5005
 GREP="$ac_cv_path_GREP"
4422
5006
 
4423
5007
 
4424
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
4425
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4426
 
if test "${ac_cv_path_EGREP+set}" = set; then
4427
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5008
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
5009
$as_echo_n "checking for egrep... " >&6; }
 
5010
if test "${ac_cv_path_EGREP+set}" = set; then :
 
5011
  $as_echo_n "(cached) " >&6
4428
5012
else
4429
5013
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4430
5014
   then ac_cv_path_EGREP="$GREP -E"
4431
5015
   else
4432
 
     # Extract the first word of "egrep" to use in msg output
4433
 
if test -z "$EGREP"; then
4434
 
set dummy egrep; ac_prog_name=$2
4435
 
if test "${ac_cv_path_EGREP+set}" = set; then
4436
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4437
 
else
 
5016
     if test -z "$EGREP"; then
4438
5017
  ac_path_EGREP_found=false
4439
 
# Loop through the user's path and test for each of PROGNAME-LIST
4440
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5018
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5019
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4441
5020
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4442
5021
do
4443
5022
  IFS=$as_save_IFS
4444
5023
  test -z "$as_dir" && as_dir=.
4445
 
  for ac_prog in egrep; do
4446
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4447
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4448
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4449
 
    # Check for GNU ac_path_EGREP and select it if it is found.
 
5024
    for ac_prog in egrep; do
 
5025
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5026
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
5027
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
5028
# Check for GNU ac_path_EGREP and select it if it is found.
4450
5029
  # Check for GNU $ac_path_EGREP
4451
5030
case `"$ac_path_EGREP" --version 2>&1` in
4452
5031
*GNU*)
4453
5032
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4454
5033
*)
4455
5034
  ac_count=0
4456
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
5035
  $as_echo_n 0123456789 >"conftest.in"
4457
5036
  while :
4458
5037
  do
4459
5038
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4460
5039
    mv "conftest.tmp" "conftest.in"
4461
5040
    cp "conftest.in" "conftest.nl"
4462
 
    echo 'EGREP' >> "conftest.nl"
 
5041
    $as_echo 'EGREP' >> "conftest.nl"
4463
5042
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4464
5043
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4465
 
    ac_count=`expr $ac_count + 1`
 
5044
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4466
5045
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4467
5046
      # Best one so far, save it but keep looking for a better one
4468
5047
      ac_cv_path_EGREP="$ac_path_EGREP"
4474
5053
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4475
5054
esac
4476
5055
 
4477
 
 
4478
 
    $ac_path_EGREP_found && break 3
4479
 
  done
4480
 
done
4481
 
 
4482
 
done
 
5056
      $ac_path_EGREP_found && break 3
 
5057
    done
 
5058
  done
 
5059
  done
4483
5060
IFS=$as_save_IFS
4484
 
 
4485
 
 
4486
 
fi
4487
 
 
4488
 
EGREP="$ac_cv_path_EGREP"
4489
 
if test -z "$EGREP"; then
4490
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4491
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4492
 
   { (exit 1); exit 1; }; }
4493
 
fi
4494
 
 
 
5061
  if test -z "$ac_cv_path_EGREP"; then
 
5062
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5063
  fi
4495
5064
else
4496
5065
  ac_cv_path_EGREP=$EGREP
4497
5066
fi
4498
5067
 
4499
 
 
4500
5068
   fi
4501
5069
fi
4502
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4503
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
5070
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
5071
$as_echo "$ac_cv_path_EGREP" >&6; }
4504
5072
 EGREP="$ac_cv_path_EGREP"
4505
5073
 
4506
5074
 
 
5075
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 
5076
$as_echo_n "checking for fgrep... " >&6; }
 
5077
if test "${ac_cv_path_FGREP+set}" = set; then :
 
5078
  $as_echo_n "(cached) " >&6
 
5079
else
 
5080
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
5081
   then ac_cv_path_FGREP="$GREP -F"
 
5082
   else
 
5083
     if test -z "$FGREP"; then
 
5084
  ac_path_FGREP_found=false
 
5085
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5086
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5087
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
5088
do
 
5089
  IFS=$as_save_IFS
 
5090
  test -z "$as_dir" && as_dir=.
 
5091
    for ac_prog in fgrep; do
 
5092
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5093
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
5094
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
5095
# Check for GNU ac_path_FGREP and select it if it is found.
 
5096
  # Check for GNU $ac_path_FGREP
 
5097
case `"$ac_path_FGREP" --version 2>&1` in
 
5098
*GNU*)
 
5099
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
5100
*)
 
5101
  ac_count=0
 
5102
  $as_echo_n 0123456789 >"conftest.in"
 
5103
  while :
 
5104
  do
 
5105
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5106
    mv "conftest.tmp" "conftest.in"
 
5107
    cp "conftest.in" "conftest.nl"
 
5108
    $as_echo 'FGREP' >> "conftest.nl"
 
5109
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5110
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5111
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
5112
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
5113
      # Best one so far, save it but keep looking for a better one
 
5114
      ac_cv_path_FGREP="$ac_path_FGREP"
 
5115
      ac_path_FGREP_max=$ac_count
 
5116
    fi
 
5117
    # 10*(2^10) chars as input seems more than enough
 
5118
    test $ac_count -gt 10 && break
 
5119
  done
 
5120
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5121
esac
 
5122
 
 
5123
      $ac_path_FGREP_found && break 3
 
5124
    done
 
5125
  done
 
5126
  done
 
5127
IFS=$as_save_IFS
 
5128
  if test -z "$ac_cv_path_FGREP"; then
 
5129
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5130
  fi
 
5131
else
 
5132
  ac_cv_path_FGREP=$FGREP
 
5133
fi
 
5134
 
 
5135
   fi
 
5136
fi
 
5137
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 
5138
$as_echo "$ac_cv_path_FGREP" >&6; }
 
5139
 FGREP="$ac_cv_path_FGREP"
 
5140
 
 
5141
 
 
5142
test -z "$GREP" && GREP=grep
 
5143
 
 
5144
 
 
5145
 
 
5146
 
 
5147
 
 
5148
 
 
5149
 
 
5150
 
 
5151
 
 
5152
 
 
5153
 
 
5154
 
 
5155
 
 
5156
 
 
5157
 
 
5158
 
 
5159
 
 
5160
 
4507
5161
 
4508
5162
# Check whether --with-gnu-ld was given.
4509
 
if test "${with_gnu_ld+set}" = set; then
 
5163
if test "${with_gnu_ld+set}" = set; then :
4510
5164
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4511
5165
else
4512
5166
  with_gnu_ld=no
4515
5169
ac_prog=ld
4516
5170
if test "$GCC" = yes; then
4517
5171
  # Check if gcc -print-prog-name=ld gives a path.
4518
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4519
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 
5172
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
5173
$as_echo_n "checking for ld used by $CC... " >&6; }
4520
5174
  case $host in
4521
5175
  *-*-mingw*)
4522
5176
    # gcc leaves a trailing carriage return which upsets mingw
4529
5183
    [\\/]* | ?:[\\/]*)
4530
5184
      re_direlt='/[^/][^/]*/\.\./'
4531
5185
      # Canonicalize the pathname of ld
4532
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4533
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4534
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
5186
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
5187
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
5188
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4535
5189
      done
4536
5190
      test -z "$LD" && LD="$ac_prog"
4537
5191
      ;;
4545
5199
    ;;
4546
5200
  esac
4547
5201
elif test "$with_gnu_ld" = yes; then
4548
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
4549
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
5202
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
5203
$as_echo_n "checking for GNU ld... " >&6; }
4550
5204
else
4551
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4552
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
5205
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
5206
$as_echo_n "checking for non-GNU ld... " >&6; }
4553
5207
fi
4554
 
if test "${lt_cv_path_LD+set}" = set; then
4555
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5208
if test "${lt_cv_path_LD+set}" = set; then :
 
5209
  $as_echo_n "(cached) " >&6
4556
5210
else
4557
5211
  if test -z "$LD"; then
4558
5212
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4582
5236
 
4583
5237
LD="$lt_cv_path_LD"
4584
5238
if test -n "$LD"; then
4585
 
  { echo "$as_me:$LINENO: result: $LD" >&5
4586
 
echo "${ECHO_T}$LD" >&6; }
 
5239
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
5240
$as_echo "$LD" >&6; }
4587
5241
else
4588
 
  { echo "$as_me:$LINENO: result: no" >&5
4589
 
echo "${ECHO_T}no" >&6; }
 
5242
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5243
$as_echo "no" >&6; }
4590
5244
fi
4591
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4592
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4593
 
   { (exit 1); exit 1; }; }
4594
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4595
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4596
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
4597
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5245
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
5246
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
5247
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
5248
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
5249
  $as_echo_n "(cached) " >&6
4598
5250
else
4599
5251
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4600
5252
case `$LD -v 2>&1 </dev/null` in
4606
5258
  ;;
4607
5259
esac
4608
5260
fi
4609
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4610
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 
5261
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
5262
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4611
5263
with_gnu_ld=$lt_cv_prog_gnu_ld
4612
5264
 
4613
5265
 
4614
 
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4615
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4616
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
4617
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4618
 
else
4619
 
  lt_cv_ld_reload_flag='-r'
4620
 
fi
4621
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4622
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4623
 
reload_flag=$lt_cv_ld_reload_flag
4624
 
case $reload_flag in
4625
 
"" | " "*) ;;
4626
 
*) reload_flag=" $reload_flag" ;;
4627
 
esac
4628
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4629
 
case $host_os in
4630
 
  darwin*)
4631
 
    if test "$GCC" = yes; then
4632
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4633
 
    else
4634
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4635
 
    fi
4636
 
    ;;
4637
 
esac
4638
 
 
4639
 
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4640
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4641
 
if test "${lt_cv_path_NM+set}" = set; then
4642
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5266
 
 
5267
 
 
5268
 
 
5269
 
 
5270
 
 
5271
 
 
5272
 
 
5273
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 
5274
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
5275
if test "${lt_cv_path_NM+set}" = set; then :
 
5276
  $as_echo_n "(cached) " >&6
4643
5277
else
4644
5278
  if test -n "$NM"; then
4645
5279
  # Let the user override the test.
4646
5280
  lt_cv_path_NM="$NM"
4647
5281
else
4648
5282
  lt_nm_to_check="${ac_tool_prefix}nm"
4649
 
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
5283
  if test -n "$ac_tool_prefix" \
 
5284
     && { test "$build" = "$host" \
 
5285
          || { test "$build_os" = cygwin && test "$host_os" = mingw32; }; \
 
5286
        }; then
4650
5287
    lt_nm_to_check="$lt_nm_to_check nm"
4651
5288
  fi
4652
5289
  for lt_tmp_nm in $lt_nm_to_check; do
4682
5319
    done
4683
5320
    IFS="$lt_save_ifs"
4684
5321
  done
4685
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4686
 
fi
4687
 
fi
4688
 
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4689
 
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4690
 
NM="$lt_cv_path_NM"
4691
 
 
4692
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
4693
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
 
5322
  : ${lt_cv_path_NM=no}
 
5323
fi
 
5324
fi
 
5325
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 
5326
$as_echo "$lt_cv_path_NM" >&6; }
 
5327
if test "$lt_cv_path_NM" != "no"; then
 
5328
  NM="$lt_cv_path_NM"
 
5329
else
 
5330
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
5331
  if test -n "$DUMPBIN"; then :
 
5332
    # Let the user override the test.
 
5333
  else
 
5334
    if test -n "$ac_tool_prefix"; then
 
5335
  for ac_prog in dumpbin "link -dump"
 
5336
  do
 
5337
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5338
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
5339
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5340
$as_echo_n "checking for $ac_word... " >&6; }
 
5341
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
5342
  $as_echo_n "(cached) " >&6
 
5343
else
 
5344
  if test -n "$DUMPBIN"; then
 
5345
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
5346
else
 
5347
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5348
for as_dir in $PATH
 
5349
do
 
5350
  IFS=$as_save_IFS
 
5351
  test -z "$as_dir" && as_dir=.
 
5352
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5353
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5354
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
5355
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5356
    break 2
 
5357
  fi
 
5358
done
 
5359
  done
 
5360
IFS=$as_save_IFS
 
5361
 
 
5362
fi
 
5363
fi
 
5364
DUMPBIN=$ac_cv_prog_DUMPBIN
 
5365
if test -n "$DUMPBIN"; then
 
5366
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 
5367
$as_echo "$DUMPBIN" >&6; }
 
5368
else
 
5369
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5370
$as_echo "no" >&6; }
 
5371
fi
 
5372
 
 
5373
 
 
5374
    test -n "$DUMPBIN" && break
 
5375
  done
 
5376
fi
 
5377
if test -z "$DUMPBIN"; then
 
5378
  ac_ct_DUMPBIN=$DUMPBIN
 
5379
  for ac_prog in dumpbin "link -dump"
 
5380
do
 
5381
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5382
set dummy $ac_prog; ac_word=$2
 
5383
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5384
$as_echo_n "checking for $ac_word... " >&6; }
 
5385
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
5386
  $as_echo_n "(cached) " >&6
 
5387
else
 
5388
  if test -n "$ac_ct_DUMPBIN"; then
 
5389
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
5390
else
 
5391
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5392
for as_dir in $PATH
 
5393
do
 
5394
  IFS=$as_save_IFS
 
5395
  test -z "$as_dir" && as_dir=.
 
5396
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5397
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5398
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
5399
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5400
    break 2
 
5401
  fi
 
5402
done
 
5403
  done
 
5404
IFS=$as_save_IFS
 
5405
 
 
5406
fi
 
5407
fi
 
5408
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
5409
if test -n "$ac_ct_DUMPBIN"; then
 
5410
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 
5411
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
5412
else
 
5413
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5414
$as_echo "no" >&6; }
 
5415
fi
 
5416
 
 
5417
 
 
5418
  test -n "$ac_ct_DUMPBIN" && break
 
5419
done
 
5420
 
 
5421
  if test "x$ac_ct_DUMPBIN" = x; then
 
5422
    DUMPBIN=":"
 
5423
  else
 
5424
    case $cross_compiling:$ac_tool_warned in
 
5425
yes:)
 
5426
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5427
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5428
ac_tool_warned=yes ;;
 
5429
esac
 
5430
    DUMPBIN=$ac_ct_DUMPBIN
 
5431
  fi
 
5432
fi
 
5433
 
 
5434
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
5435
    *COFF*)
 
5436
      DUMPBIN="$DUMPBIN -symbols"
 
5437
      ;;
 
5438
    *)
 
5439
      DUMPBIN=:
 
5440
      ;;
 
5441
    esac
 
5442
  fi
 
5443
 
 
5444
  if test "$DUMPBIN" != ":"; then
 
5445
    NM="$DUMPBIN"
 
5446
  fi
 
5447
fi
 
5448
test -z "$NM" && NM=nm
 
5449
 
 
5450
 
 
5451
 
 
5452
 
 
5453
 
 
5454
 
 
5455
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 
5456
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
5457
if test "${lt_cv_nm_interface+set}" = set; then :
 
5458
  $as_echo_n "(cached) " >&6
 
5459
else
 
5460
  lt_cv_nm_interface="BSD nm"
 
5461
  echo "int some_variable = 0;" > conftest.$ac_ext
 
5462
  (eval echo "\"\$as_me:5462: $ac_compile\"" >&5)
 
5463
  (eval "$ac_compile" 2>conftest.err)
 
5464
  cat conftest.err >&5
 
5465
  (eval echo "\"\$as_me:5465: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5466
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
5467
  cat conftest.err >&5
 
5468
  (eval echo "\"\$as_me:5468: output\"" >&5)
 
5469
  cat conftest.out >&5
 
5470
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
5471
    lt_cv_nm_interface="MS dumpbin"
 
5472
  fi
 
5473
  rm -f conftest*
 
5474
fi
 
5475
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 
5476
$as_echo "$lt_cv_nm_interface" >&6; }
 
5477
 
 
5478
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
5479
$as_echo_n "checking whether ln -s works... " >&6; }
4694
5480
LN_S=$as_ln_s
4695
5481
if test "$LN_S" = "ln -s"; then
4696
 
  { echo "$as_me:$LINENO: result: yes" >&5
4697
 
echo "${ECHO_T}yes" >&6; }
4698
 
else
4699
 
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4700
 
echo "${ECHO_T}no, using $LN_S" >&6; }
4701
 
fi
4702
 
 
4703
 
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4704
 
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4705
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
4706
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5482
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5483
$as_echo "yes" >&6; }
 
5484
else
 
5485
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
5486
$as_echo "no, using $LN_S" >&6; }
 
5487
fi
 
5488
 
 
5489
# find the maximum length of command line arguments
 
5490
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 
5491
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
5492
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
5493
  $as_echo_n "(cached) " >&6
 
5494
else
 
5495
    i=0
 
5496
  teststring="ABCD"
 
5497
 
 
5498
  case $build_os in
 
5499
  msdosdjgpp*)
 
5500
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
5501
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
5502
    # during glob expansion).  Even if it were fixed, the result of this
 
5503
    # check would be larger than it should be.
 
5504
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
5505
    ;;
 
5506
 
 
5507
  gnu*)
 
5508
    # Under GNU Hurd, this test is not required because there is
 
5509
    # no limit to the length of command line arguments.
 
5510
    # Libtool will interpret -1 as no limit whatsoever
 
5511
    lt_cv_sys_max_cmd_len=-1;
 
5512
    ;;
 
5513
 
 
5514
  cygwin* | mingw* | cegcc*)
 
5515
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
5516
    # about 5 minutes as the teststring grows exponentially.
 
5517
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
5518
    # you end up with a "frozen" computer, even though with patience
 
5519
    # the test eventually succeeds (with a max line length of 256k).
 
5520
    # Instead, let's just punt: use the minimum linelength reported by
 
5521
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
5522
    lt_cv_sys_max_cmd_len=8192;
 
5523
    ;;
 
5524
 
 
5525
  amigaos*)
 
5526
    # On AmigaOS with pdksh, this test takes hours, literally.
 
5527
    # So we just punt and use a minimum line length of 8192.
 
5528
    lt_cv_sys_max_cmd_len=8192;
 
5529
    ;;
 
5530
 
 
5531
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
5532
    # This has been around since 386BSD, at least.  Likely further.
 
5533
    if test -x /sbin/sysctl; then
 
5534
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
5535
    elif test -x /usr/sbin/sysctl; then
 
5536
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
5537
    else
 
5538
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
5539
    fi
 
5540
    # And add a safety zone
 
5541
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
5542
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
5543
    ;;
 
5544
 
 
5545
  interix*)
 
5546
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
5547
    lt_cv_sys_max_cmd_len=196608
 
5548
    ;;
 
5549
 
 
5550
  osf*)
 
5551
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
5552
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
5553
    # nice to cause kernel panics so lets avoid the loop below.
 
5554
    # First set a reasonable default.
 
5555
    lt_cv_sys_max_cmd_len=16384
 
5556
    #
 
5557
    if test -x /sbin/sysconfig; then
 
5558
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
5559
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
5560
      esac
 
5561
    fi
 
5562
    ;;
 
5563
  sco3.2v5*)
 
5564
    lt_cv_sys_max_cmd_len=102400
 
5565
    ;;
 
5566
  sysv5* | sco5v6* | sysv4.2uw2*)
 
5567
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
5568
    if test -n "$kargmax"; then
 
5569
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
5570
    else
 
5571
      lt_cv_sys_max_cmd_len=32768
 
5572
    fi
 
5573
    ;;
 
5574
  *)
 
5575
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
5576
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
5577
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
5578
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
5579
    else
 
5580
      # Make teststring a little bigger before we do anything with it.
 
5581
      # a 1K string should be a reasonable start.
 
5582
      for i in 1 2 3 4 5 6 7 8 ; do
 
5583
        teststring=$teststring$teststring
 
5584
      done
 
5585
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
5586
      # If test is not a shell built-in, we'll probably end up computing a
 
5587
      # maximum length that is only half of the actual maximum length, but
 
5588
      # we can't tell.
 
5589
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
5590
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
5591
              test $i != 17 # 1/2 MB should be enough
 
5592
      do
 
5593
        i=`expr $i + 1`
 
5594
        teststring=$teststring$teststring
 
5595
      done
 
5596
      # Only check the string length outside the loop.
 
5597
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
5598
      teststring=
 
5599
      # Add a significant safety factor because C++ compilers can tack on
 
5600
      # massive amounts of additional arguments before passing them to the
 
5601
      # linker.  It appears as though 1/2 is a usable value.
 
5602
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
5603
    fi
 
5604
    ;;
 
5605
  esac
 
5606
 
 
5607
fi
 
5608
 
 
5609
if test -n $lt_cv_sys_max_cmd_len ; then
 
5610
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 
5611
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
5612
else
 
5613
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 
5614
$as_echo "none" >&6; }
 
5615
fi
 
5616
max_cmd_len=$lt_cv_sys_max_cmd_len
 
5617
 
 
5618
 
 
5619
 
 
5620
 
 
5621
 
 
5622
 
 
5623
: ${CP="cp -f"}
 
5624
: ${MV="mv -f"}
 
5625
: ${RM="rm -f"}
 
5626
 
 
5627
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 
5628
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
5629
# Try some XSI features
 
5630
xsi_shell=no
 
5631
( _lt_dummy="a/b/c"
 
5632
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
5633
      = c,a/b,, \
 
5634
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
5635
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
5636
  && xsi_shell=yes
 
5637
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 
5638
$as_echo "$xsi_shell" >&6; }
 
5639
 
 
5640
 
 
5641
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 
5642
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
5643
lt_shell_append=no
 
5644
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
5645
    >/dev/null 2>&1 \
 
5646
  && lt_shell_append=yes
 
5647
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 
5648
$as_echo "$lt_shell_append" >&6; }
 
5649
 
 
5650
 
 
5651
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
5652
  lt_unset=unset
 
5653
else
 
5654
  lt_unset=false
 
5655
fi
 
5656
 
 
5657
 
 
5658
 
 
5659
 
 
5660
 
 
5661
# test EBCDIC or ASCII
 
5662
case `echo X|tr X '\101'` in
 
5663
 A) # ASCII based system
 
5664
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
5665
  lt_SP2NL='tr \040 \012'
 
5666
  lt_NL2SP='tr \015\012 \040\040'
 
5667
  ;;
 
5668
 *) # EBCDIC based system
 
5669
  lt_SP2NL='tr \100 \n'
 
5670
  lt_NL2SP='tr \r\n \100\100'
 
5671
  ;;
 
5672
esac
 
5673
 
 
5674
 
 
5675
 
 
5676
 
 
5677
 
 
5678
 
 
5679
 
 
5680
 
 
5681
 
 
5682
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 
5683
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
5684
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
5685
  $as_echo_n "(cached) " >&6
 
5686
else
 
5687
  lt_cv_ld_reload_flag='-r'
 
5688
fi
 
5689
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 
5690
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
5691
reload_flag=$lt_cv_ld_reload_flag
 
5692
case $reload_flag in
 
5693
"" | " "*) ;;
 
5694
*) reload_flag=" $reload_flag" ;;
 
5695
esac
 
5696
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5697
case $host_os in
 
5698
  darwin*)
 
5699
    if test "$GCC" = yes; then
 
5700
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
5701
    else
 
5702
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5703
    fi
 
5704
    ;;
 
5705
esac
 
5706
 
 
5707
 
 
5708
 
 
5709
 
 
5710
 
 
5711
 
 
5712
 
 
5713
 
 
5714
 
 
5715
if test -n "$ac_tool_prefix"; then
 
5716
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
5717
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
5718
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5719
$as_echo_n "checking for $ac_word... " >&6; }
 
5720
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
5721
  $as_echo_n "(cached) " >&6
 
5722
else
 
5723
  if test -n "$OBJDUMP"; then
 
5724
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
5725
else
 
5726
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5727
for as_dir in $PATH
 
5728
do
 
5729
  IFS=$as_save_IFS
 
5730
  test -z "$as_dir" && as_dir=.
 
5731
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5732
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5733
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
5734
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5735
    break 2
 
5736
  fi
 
5737
done
 
5738
  done
 
5739
IFS=$as_save_IFS
 
5740
 
 
5741
fi
 
5742
fi
 
5743
OBJDUMP=$ac_cv_prog_OBJDUMP
 
5744
if test -n "$OBJDUMP"; then
 
5745
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
5746
$as_echo "$OBJDUMP" >&6; }
 
5747
else
 
5748
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5749
$as_echo "no" >&6; }
 
5750
fi
 
5751
 
 
5752
 
 
5753
fi
 
5754
if test -z "$ac_cv_prog_OBJDUMP"; then
 
5755
  ac_ct_OBJDUMP=$OBJDUMP
 
5756
  # Extract the first word of "objdump", so it can be a program name with args.
 
5757
set dummy objdump; ac_word=$2
 
5758
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5759
$as_echo_n "checking for $ac_word... " >&6; }
 
5760
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
5761
  $as_echo_n "(cached) " >&6
 
5762
else
 
5763
  if test -n "$ac_ct_OBJDUMP"; then
 
5764
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
5765
else
 
5766
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5767
for as_dir in $PATH
 
5768
do
 
5769
  IFS=$as_save_IFS
 
5770
  test -z "$as_dir" && as_dir=.
 
5771
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5772
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5773
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
5774
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5775
    break 2
 
5776
  fi
 
5777
done
 
5778
  done
 
5779
IFS=$as_save_IFS
 
5780
 
 
5781
fi
 
5782
fi
 
5783
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
5784
if test -n "$ac_ct_OBJDUMP"; then
 
5785
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
5786
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
5787
else
 
5788
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5789
$as_echo "no" >&6; }
 
5790
fi
 
5791
 
 
5792
  if test "x$ac_ct_OBJDUMP" = x; then
 
5793
    OBJDUMP="false"
 
5794
  else
 
5795
    case $cross_compiling:$ac_tool_warned in
 
5796
yes:)
 
5797
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5798
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5799
ac_tool_warned=yes ;;
 
5800
esac
 
5801
    OBJDUMP=$ac_ct_OBJDUMP
 
5802
  fi
 
5803
else
 
5804
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
5805
fi
 
5806
 
 
5807
test -z "$OBJDUMP" && OBJDUMP=objdump
 
5808
 
 
5809
 
 
5810
 
 
5811
 
 
5812
 
 
5813
 
 
5814
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 
5815
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 
5816
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
5817
  $as_echo_n "(cached) " >&6
4707
5818
else
4708
5819
  lt_cv_file_magic_cmd='$MAGIC_CMD'
4709
5820
lt_cv_file_magic_test_file=
4720
5831
# whether `pass_all' will *always* work, you probably want this one.
4721
5832
 
4722
5833
case $host_os in
4723
 
aix4* | aix5*)
 
5834
aix[4-9]*)
4724
5835
  lt_cv_deplibs_check_method=pass_all
4725
5836
  ;;
4726
5837
 
4753
5864
  fi
4754
5865
  ;;
4755
5866
 
 
5867
cegcc)
 
5868
  # use the weaker test based on 'objdump'. See mingw*.
 
5869
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
5870
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5871
  ;;
 
5872
 
4756
5873
darwin* | rhapsody*)
4757
5874
  lt_cv_deplibs_check_method=pass_all
4758
5875
  ;;
4759
5876
 
4760
5877
freebsd* | dragonfly*)
4761
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
5878
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4762
5879
    case $host_cpu in
4763
5880
    i*86 )
4764
5881
      # Not sure whether the presence of OpenBSD here was a mistake.
4816
5933
  ;;
4817
5934
 
4818
5935
netbsd*)
4819
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
5936
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4820
5937
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4821
5938
  else
4822
5939
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4829
5946
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
4830
5947
  ;;
4831
5948
 
4832
 
nto-qnx*)
4833
 
  lt_cv_deplibs_check_method=unknown
 
5949
*nto* | *qnx*)
 
5950
  lt_cv_deplibs_check_method=pass_all
4834
5951
  ;;
4835
5952
 
4836
5953
openbsd*)
4837
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
5954
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4838
5955
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4839
5956
  else
4840
5957
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4853
5970
  lt_cv_deplibs_check_method=pass_all
4854
5971
  ;;
4855
5972
 
 
5973
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
5974
  lt_cv_deplibs_check_method=pass_all
 
5975
  ;;
 
5976
 
4856
5977
sysv4 | sysv4.3*)
4857
5978
  case $host_vendor in
4858
5979
  motorola)
4880
6001
  esac
4881
6002
  ;;
4882
6003
 
4883
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
6004
tpf*)
4884
6005
  lt_cv_deplibs_check_method=pass_all
4885
6006
  ;;
4886
6007
esac
4887
6008
 
4888
6009
fi
4889
 
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4890
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
 
6010
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 
6011
$as_echo "$lt_cv_deplibs_check_method" >&6; }
4891
6012
file_magic_cmd=$lt_cv_file_magic_cmd
4892
6013
deplibs_check_method=$lt_cv_deplibs_check_method
4893
6014
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4894
6015
 
4895
6016
 
 
6017
 
 
6018
 
 
6019
 
 
6020
 
 
6021
 
 
6022
 
 
6023
 
 
6024
 
 
6025
 
 
6026
 
 
6027
if test -n "$ac_tool_prefix"; then
 
6028
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
6029
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
6030
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6031
$as_echo_n "checking for $ac_word... " >&6; }
 
6032
if test "${ac_cv_prog_AR+set}" = set; then :
 
6033
  $as_echo_n "(cached) " >&6
 
6034
else
 
6035
  if test -n "$AR"; then
 
6036
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
6037
else
 
6038
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6039
for as_dir in $PATH
 
6040
do
 
6041
  IFS=$as_save_IFS
 
6042
  test -z "$as_dir" && as_dir=.
 
6043
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6044
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6045
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
6046
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6047
    break 2
 
6048
  fi
 
6049
done
 
6050
  done
 
6051
IFS=$as_save_IFS
 
6052
 
 
6053
fi
 
6054
fi
 
6055
AR=$ac_cv_prog_AR
 
6056
if test -n "$AR"; then
 
6057
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
6058
$as_echo "$AR" >&6; }
 
6059
else
 
6060
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6061
$as_echo "no" >&6; }
 
6062
fi
 
6063
 
 
6064
 
 
6065
fi
 
6066
if test -z "$ac_cv_prog_AR"; then
 
6067
  ac_ct_AR=$AR
 
6068
  # Extract the first word of "ar", so it can be a program name with args.
 
6069
set dummy ar; ac_word=$2
 
6070
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6071
$as_echo_n "checking for $ac_word... " >&6; }
 
6072
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
6073
  $as_echo_n "(cached) " >&6
 
6074
else
 
6075
  if test -n "$ac_ct_AR"; then
 
6076
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
6077
else
 
6078
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6079
for as_dir in $PATH
 
6080
do
 
6081
  IFS=$as_save_IFS
 
6082
  test -z "$as_dir" && as_dir=.
 
6083
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6084
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6085
    ac_cv_prog_ac_ct_AR="ar"
 
6086
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6087
    break 2
 
6088
  fi
 
6089
done
 
6090
  done
 
6091
IFS=$as_save_IFS
 
6092
 
 
6093
fi
 
6094
fi
 
6095
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
6096
if test -n "$ac_ct_AR"; then
 
6097
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
6098
$as_echo "$ac_ct_AR" >&6; }
 
6099
else
 
6100
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6101
$as_echo "no" >&6; }
 
6102
fi
 
6103
 
 
6104
  if test "x$ac_ct_AR" = x; then
 
6105
    AR="false"
 
6106
  else
 
6107
    case $cross_compiling:$ac_tool_warned in
 
6108
yes:)
 
6109
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6110
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6111
ac_tool_warned=yes ;;
 
6112
esac
 
6113
    AR=$ac_ct_AR
 
6114
  fi
 
6115
else
 
6116
  AR="$ac_cv_prog_AR"
 
6117
fi
 
6118
 
 
6119
test -z "$AR" && AR=ar
 
6120
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
6121
 
 
6122
 
 
6123
 
 
6124
 
 
6125
 
 
6126
 
 
6127
 
 
6128
 
 
6129
 
 
6130
 
 
6131
 
 
6132
if test -n "$ac_tool_prefix"; then
 
6133
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
6134
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
6135
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6136
$as_echo_n "checking for $ac_word... " >&6; }
 
6137
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
6138
  $as_echo_n "(cached) " >&6
 
6139
else
 
6140
  if test -n "$STRIP"; then
 
6141
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
6142
else
 
6143
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6144
for as_dir in $PATH
 
6145
do
 
6146
  IFS=$as_save_IFS
 
6147
  test -z "$as_dir" && as_dir=.
 
6148
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6149
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6150
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
6151
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6152
    break 2
 
6153
  fi
 
6154
done
 
6155
  done
 
6156
IFS=$as_save_IFS
 
6157
 
 
6158
fi
 
6159
fi
 
6160
STRIP=$ac_cv_prog_STRIP
 
6161
if test -n "$STRIP"; then
 
6162
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
6163
$as_echo "$STRIP" >&6; }
 
6164
else
 
6165
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6166
$as_echo "no" >&6; }
 
6167
fi
 
6168
 
 
6169
 
 
6170
fi
 
6171
if test -z "$ac_cv_prog_STRIP"; then
 
6172
  ac_ct_STRIP=$STRIP
 
6173
  # Extract the first word of "strip", so it can be a program name with args.
 
6174
set dummy strip; ac_word=$2
 
6175
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6176
$as_echo_n "checking for $ac_word... " >&6; }
 
6177
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
6178
  $as_echo_n "(cached) " >&6
 
6179
else
 
6180
  if test -n "$ac_ct_STRIP"; then
 
6181
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
6182
else
 
6183
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6184
for as_dir in $PATH
 
6185
do
 
6186
  IFS=$as_save_IFS
 
6187
  test -z "$as_dir" && as_dir=.
 
6188
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6189
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6190
    ac_cv_prog_ac_ct_STRIP="strip"
 
6191
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6192
    break 2
 
6193
  fi
 
6194
done
 
6195
  done
 
6196
IFS=$as_save_IFS
 
6197
 
 
6198
fi
 
6199
fi
 
6200
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
6201
if test -n "$ac_ct_STRIP"; then
 
6202
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
6203
$as_echo "$ac_ct_STRIP" >&6; }
 
6204
else
 
6205
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6206
$as_echo "no" >&6; }
 
6207
fi
 
6208
 
 
6209
  if test "x$ac_ct_STRIP" = x; then
 
6210
    STRIP=":"
 
6211
  else
 
6212
    case $cross_compiling:$ac_tool_warned in
 
6213
yes:)
 
6214
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6215
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6216
ac_tool_warned=yes ;;
 
6217
esac
 
6218
    STRIP=$ac_ct_STRIP
 
6219
  fi
 
6220
else
 
6221
  STRIP="$ac_cv_prog_STRIP"
 
6222
fi
 
6223
 
 
6224
test -z "$STRIP" && STRIP=:
 
6225
 
 
6226
 
 
6227
 
 
6228
 
 
6229
 
 
6230
 
 
6231
if test -n "$ac_tool_prefix"; then
 
6232
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
6233
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
6234
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6235
$as_echo_n "checking for $ac_word... " >&6; }
 
6236
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
6237
  $as_echo_n "(cached) " >&6
 
6238
else
 
6239
  if test -n "$RANLIB"; then
 
6240
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
6241
else
 
6242
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6243
for as_dir in $PATH
 
6244
do
 
6245
  IFS=$as_save_IFS
 
6246
  test -z "$as_dir" && as_dir=.
 
6247
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6248
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6249
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
6250
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6251
    break 2
 
6252
  fi
 
6253
done
 
6254
  done
 
6255
IFS=$as_save_IFS
 
6256
 
 
6257
fi
 
6258
fi
 
6259
RANLIB=$ac_cv_prog_RANLIB
 
6260
if test -n "$RANLIB"; then
 
6261
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
6262
$as_echo "$RANLIB" >&6; }
 
6263
else
 
6264
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6265
$as_echo "no" >&6; }
 
6266
fi
 
6267
 
 
6268
 
 
6269
fi
 
6270
if test -z "$ac_cv_prog_RANLIB"; then
 
6271
  ac_ct_RANLIB=$RANLIB
 
6272
  # Extract the first word of "ranlib", so it can be a program name with args.
 
6273
set dummy ranlib; ac_word=$2
 
6274
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6275
$as_echo_n "checking for $ac_word... " >&6; }
 
6276
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
6277
  $as_echo_n "(cached) " >&6
 
6278
else
 
6279
  if test -n "$ac_ct_RANLIB"; then
 
6280
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
6281
else
 
6282
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6283
for as_dir in $PATH
 
6284
do
 
6285
  IFS=$as_save_IFS
 
6286
  test -z "$as_dir" && as_dir=.
 
6287
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6288
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6289
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
6290
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6291
    break 2
 
6292
  fi
 
6293
done
 
6294
  done
 
6295
IFS=$as_save_IFS
 
6296
 
 
6297
fi
 
6298
fi
 
6299
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
6300
if test -n "$ac_ct_RANLIB"; then
 
6301
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
6302
$as_echo "$ac_ct_RANLIB" >&6; }
 
6303
else
 
6304
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6305
$as_echo "no" >&6; }
 
6306
fi
 
6307
 
 
6308
  if test "x$ac_ct_RANLIB" = x; then
 
6309
    RANLIB=":"
 
6310
  else
 
6311
    case $cross_compiling:$ac_tool_warned in
 
6312
yes:)
 
6313
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6314
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6315
ac_tool_warned=yes ;;
 
6316
esac
 
6317
    RANLIB=$ac_ct_RANLIB
 
6318
  fi
 
6319
else
 
6320
  RANLIB="$ac_cv_prog_RANLIB"
 
6321
fi
 
6322
 
 
6323
test -z "$RANLIB" && RANLIB=:
 
6324
 
 
6325
 
 
6326
 
 
6327
 
 
6328
 
 
6329
 
 
6330
# Determine commands to create old-style static archives.
 
6331
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
6332
old_postinstall_cmds='chmod 644 $oldlib'
 
6333
old_postuninstall_cmds=
 
6334
 
 
6335
if test -n "$RANLIB"; then
 
6336
  case $host_os in
 
6337
  openbsd*)
 
6338
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
6339
    ;;
 
6340
  *)
 
6341
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
6342
    ;;
 
6343
  esac
 
6344
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
6345
fi
 
6346
 
 
6347
 
 
6348
 
 
6349
 
 
6350
 
 
6351
 
 
6352
 
 
6353
 
 
6354
 
 
6355
 
 
6356
 
 
6357
 
 
6358
 
 
6359
 
 
6360
 
 
6361
 
 
6362
 
 
6363
 
 
6364
 
 
6365
 
 
6366
 
 
6367
 
 
6368
 
 
6369
 
 
6370
 
 
6371
 
 
6372
 
 
6373
 
 
6374
 
 
6375
 
 
6376
 
 
6377
 
 
6378
 
 
6379
 
4896
6380
# If no C compiler was specified, use CC.
4897
6381
LTCC=${LTCC-"$CC"}
4898
6382
 
4902
6386
# Allow CC to be a program name with arguments.
4903
6387
compiler=$CC
4904
6388
 
4905
 
# Check whether --enable-libtool-lock was given.
4906
 
if test "${enable_libtool_lock+set}" = set; then
4907
 
  enableval=$enable_libtool_lock;
4908
 
fi
4909
 
 
4910
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4911
 
 
4912
 
# Some flags need to be propagated to the compiler or linker for good
4913
 
# libtool support.
4914
 
case $host in
4915
 
ia64-*-hpux*)
4916
 
  # Find out which ABI we are using.
4917
 
  echo 'int i;' > conftest.$ac_ext
4918
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4919
 
  (eval $ac_compile) 2>&5
4920
 
  ac_status=$?
4921
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4922
 
  (exit $ac_status); }; then
4923
 
    case `/usr/bin/file conftest.$ac_objext` in
4924
 
    *ELF-32*)
4925
 
      HPUX_IA64_MODE="32"
4926
 
      ;;
4927
 
    *ELF-64*)
4928
 
      HPUX_IA64_MODE="64"
4929
 
      ;;
4930
 
    esac
4931
 
  fi
4932
 
  rm -rf conftest*
4933
 
  ;;
4934
 
*-*-irix6*)
4935
 
  # Find out which ABI we are using.
4936
 
  echo '#line 4936 "configure"' > conftest.$ac_ext
4937
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4938
 
  (eval $ac_compile) 2>&5
4939
 
  ac_status=$?
4940
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941
 
  (exit $ac_status); }; then
4942
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
4943
 
    case `/usr/bin/file conftest.$ac_objext` in
4944
 
    *32-bit*)
4945
 
      LD="${LD-ld} -melf32bsmip"
4946
 
      ;;
4947
 
    *N32*)
4948
 
      LD="${LD-ld} -melf32bmipn32"
4949
 
      ;;
4950
 
    *64-bit*)
4951
 
      LD="${LD-ld} -melf64bmip"
4952
 
      ;;
4953
 
    esac
4954
 
   else
4955
 
    case `/usr/bin/file conftest.$ac_objext` in
4956
 
    *32-bit*)
4957
 
      LD="${LD-ld} -32"
4958
 
      ;;
4959
 
    *N32*)
4960
 
      LD="${LD-ld} -n32"
4961
 
      ;;
4962
 
    *64-bit*)
4963
 
      LD="${LD-ld} -64"
4964
 
      ;;
4965
 
    esac
4966
 
   fi
4967
 
  fi
4968
 
  rm -rf conftest*
4969
 
  ;;
4970
 
 
4971
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
4972
 
s390*-*linux*|sparc*-*linux*)
4973
 
  # Find out which ABI we are using.
4974
 
  echo 'int i;' > conftest.$ac_ext
4975
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4976
 
  (eval $ac_compile) 2>&5
4977
 
  ac_status=$?
4978
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4979
 
  (exit $ac_status); }; then
4980
 
    case `/usr/bin/file conftest.o` in
4981
 
    *32-bit*)
4982
 
      case $host in
4983
 
        x86_64-*kfreebsd*-gnu)
4984
 
          LD="${LD-ld} -m elf_i386_fbsd"
4985
 
          ;;
4986
 
        x86_64-*linux*)
4987
 
          LD="${LD-ld} -m elf_i386"
4988
 
          ;;
4989
 
        ppc64-*linux*|powerpc64-*linux*)
4990
 
          LD="${LD-ld} -m elf32ppclinux"
4991
 
          ;;
4992
 
        s390x-*linux*)
4993
 
          LD="${LD-ld} -m elf_s390"
4994
 
          ;;
4995
 
        sparc64-*linux*)
4996
 
          LD="${LD-ld} -m elf32_sparc"
4997
 
          ;;
4998
 
      esac
4999
 
      ;;
5000
 
    *64-bit*)
5001
 
      case $host in
5002
 
        x86_64-*kfreebsd*-gnu)
5003
 
          LD="${LD-ld} -m elf_x86_64_fbsd"
5004
 
          ;;
5005
 
        x86_64-*linux*)
5006
 
          LD="${LD-ld} -m elf_x86_64"
5007
 
          ;;
5008
 
        ppc*-*linux*|powerpc*-*linux*)
5009
 
          LD="${LD-ld} -m elf64ppc"
5010
 
          ;;
5011
 
        s390*-*linux*)
5012
 
          LD="${LD-ld} -m elf64_s390"
5013
 
          ;;
5014
 
        sparc*-*linux*)
5015
 
          LD="${LD-ld} -m elf64_sparc"
5016
 
          ;;
5017
 
      esac
5018
 
      ;;
5019
 
    esac
5020
 
  fi
5021
 
  rm -rf conftest*
5022
 
  ;;
5023
 
 
5024
 
*-*-sco3.2v5*)
5025
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5026
 
  SAVE_CFLAGS="$CFLAGS"
5027
 
  CFLAGS="$CFLAGS -belf"
5028
 
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5029
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
5030
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
5031
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5032
 
else
5033
 
  ac_ext=c
5034
 
ac_cpp='$CPP $CPPFLAGS'
5035
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5036
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5037
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5038
 
 
5039
 
     cat >conftest.$ac_ext <<_ACEOF
5040
 
/* confdefs.h.  */
5041
 
_ACEOF
5042
 
cat confdefs.h >>conftest.$ac_ext
5043
 
cat >>conftest.$ac_ext <<_ACEOF
5044
 
/* end confdefs.h.  */
5045
 
 
5046
 
int
5047
 
main ()
5048
 
{
5049
 
 
5050
 
  ;
5051
 
  return 0;
5052
 
}
5053
 
_ACEOF
5054
 
rm -f conftest.$ac_objext conftest$ac_exeext
5055
 
if { (ac_try="$ac_link"
5056
 
case "(($ac_try" in
5057
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5058
 
  *) ac_try_echo=$ac_try;;
5059
 
esac
5060
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5061
 
  (eval "$ac_link") 2>conftest.er1
5062
 
  ac_status=$?
5063
 
  grep -v '^ *+' conftest.er1 >conftest.err
5064
 
  rm -f conftest.er1
5065
 
  cat conftest.err >&5
5066
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5067
 
  (exit $ac_status); } && {
5068
 
         test -z "$ac_c_werror_flag" ||
5069
 
         test ! -s conftest.err
5070
 
       } && test -s conftest$ac_exeext &&
5071
 
       $as_test_x conftest$ac_exeext; then
5072
 
  lt_cv_cc_needs_belf=yes
5073
 
else
5074
 
  echo "$as_me: failed program was:" >&5
5075
 
sed 's/^/| /' conftest.$ac_ext >&5
5076
 
 
5077
 
        lt_cv_cc_needs_belf=no
5078
 
fi
5079
 
 
5080
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5081
 
      conftest$ac_exeext conftest.$ac_ext
5082
 
     ac_ext=c
5083
 
ac_cpp='$CPP $CPPFLAGS'
5084
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5085
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5086
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5087
 
 
5088
 
fi
5089
 
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5090
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5091
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5092
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5093
 
    CFLAGS="$SAVE_CFLAGS"
5094
 
  fi
5095
 
  ;;
5096
 
sparc*-*solaris*)
5097
 
  # Find out which ABI we are using.
5098
 
  echo 'int i;' > conftest.$ac_ext
5099
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5100
 
  (eval $ac_compile) 2>&5
5101
 
  ac_status=$?
5102
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103
 
  (exit $ac_status); }; then
5104
 
    case `/usr/bin/file conftest.o` in
5105
 
    *64-bit*)
5106
 
      case $lt_cv_prog_gnu_ld in
5107
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
5108
 
      *)    LD="${LD-ld} -64" ;;
5109
 
      esac
5110
 
      ;;
5111
 
    esac
5112
 
  fi
5113
 
  rm -rf conftest*
5114
 
  ;;
5115
 
 
5116
 
*-*-cygwin* | *-*-mingw* | *-*-pw32*)
5117
 
  if test -n "$ac_tool_prefix"; then
5118
 
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5119
 
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5120
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5121
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5122
 
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
5123
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5124
 
else
5125
 
  if test -n "$DLLTOOL"; then
5126
 
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5127
 
else
5128
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5129
 
for as_dir in $PATH
5130
 
do
5131
 
  IFS=$as_save_IFS
5132
 
  test -z "$as_dir" && as_dir=.
5133
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5134
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5135
 
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5136
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5137
 
    break 2
5138
 
  fi
5139
 
done
5140
 
done
5141
 
IFS=$as_save_IFS
5142
 
 
5143
 
fi
5144
 
fi
5145
 
DLLTOOL=$ac_cv_prog_DLLTOOL
5146
 
if test -n "$DLLTOOL"; then
5147
 
  { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
5148
 
echo "${ECHO_T}$DLLTOOL" >&6; }
5149
 
else
5150
 
  { echo "$as_me:$LINENO: result: no" >&5
5151
 
echo "${ECHO_T}no" >&6; }
5152
 
fi
5153
 
 
5154
 
 
5155
 
fi
5156
 
if test -z "$ac_cv_prog_DLLTOOL"; then
5157
 
  ac_ct_DLLTOOL=$DLLTOOL
5158
 
  # Extract the first word of "dlltool", so it can be a program name with args.
5159
 
set dummy dlltool; ac_word=$2
5160
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5161
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5162
 
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
5163
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5164
 
else
5165
 
  if test -n "$ac_ct_DLLTOOL"; then
5166
 
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5167
 
else
5168
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5169
 
for as_dir in $PATH
5170
 
do
5171
 
  IFS=$as_save_IFS
5172
 
  test -z "$as_dir" && as_dir=.
5173
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5174
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5175
 
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5176
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5177
 
    break 2
5178
 
  fi
5179
 
done
5180
 
done
5181
 
IFS=$as_save_IFS
5182
 
 
5183
 
fi
5184
 
fi
5185
 
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5186
 
if test -n "$ac_ct_DLLTOOL"; then
5187
 
  { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
5188
 
echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
5189
 
else
5190
 
  { echo "$as_me:$LINENO: result: no" >&5
5191
 
echo "${ECHO_T}no" >&6; }
5192
 
fi
5193
 
 
5194
 
  if test "x$ac_ct_DLLTOOL" = x; then
5195
 
    DLLTOOL="false"
5196
 
  else
5197
 
    case $cross_compiling:$ac_tool_warned in
5198
 
yes:)
5199
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5200
 
whose name does not start with the host triplet.  If you think this
5201
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5202
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5203
 
whose name does not start with the host triplet.  If you think this
5204
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5205
 
ac_tool_warned=yes ;;
5206
 
esac
5207
 
    DLLTOOL=$ac_ct_DLLTOOL
5208
 
  fi
5209
 
else
5210
 
  DLLTOOL="$ac_cv_prog_DLLTOOL"
5211
 
fi
5212
 
 
5213
 
  if test -n "$ac_tool_prefix"; then
5214
 
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5215
 
set dummy ${ac_tool_prefix}as; ac_word=$2
5216
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5217
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5218
 
if test "${ac_cv_prog_AS+set}" = set; then
5219
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5220
 
else
5221
 
  if test -n "$AS"; then
5222
 
  ac_cv_prog_AS="$AS" # Let the user override the test.
5223
 
else
5224
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5225
 
for as_dir in $PATH
5226
 
do
5227
 
  IFS=$as_save_IFS
5228
 
  test -z "$as_dir" && as_dir=.
5229
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5230
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5231
 
    ac_cv_prog_AS="${ac_tool_prefix}as"
5232
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5233
 
    break 2
5234
 
  fi
5235
 
done
5236
 
done
5237
 
IFS=$as_save_IFS
5238
 
 
5239
 
fi
5240
 
fi
5241
 
AS=$ac_cv_prog_AS
5242
 
if test -n "$AS"; then
5243
 
  { echo "$as_me:$LINENO: result: $AS" >&5
5244
 
echo "${ECHO_T}$AS" >&6; }
5245
 
else
5246
 
  { echo "$as_me:$LINENO: result: no" >&5
5247
 
echo "${ECHO_T}no" >&6; }
5248
 
fi
5249
 
 
5250
 
 
5251
 
fi
5252
 
if test -z "$ac_cv_prog_AS"; then
5253
 
  ac_ct_AS=$AS
5254
 
  # Extract the first word of "as", so it can be a program name with args.
5255
 
set dummy as; ac_word=$2
5256
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5257
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5258
 
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5259
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5260
 
else
5261
 
  if test -n "$ac_ct_AS"; then
5262
 
  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5263
 
else
5264
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5265
 
for as_dir in $PATH
5266
 
do
5267
 
  IFS=$as_save_IFS
5268
 
  test -z "$as_dir" && as_dir=.
5269
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5270
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5271
 
    ac_cv_prog_ac_ct_AS="as"
5272
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5273
 
    break 2
5274
 
  fi
5275
 
done
5276
 
done
5277
 
IFS=$as_save_IFS
5278
 
 
5279
 
fi
5280
 
fi
5281
 
ac_ct_AS=$ac_cv_prog_ac_ct_AS
5282
 
if test -n "$ac_ct_AS"; then
5283
 
  { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5284
 
echo "${ECHO_T}$ac_ct_AS" >&6; }
5285
 
else
5286
 
  { echo "$as_me:$LINENO: result: no" >&5
5287
 
echo "${ECHO_T}no" >&6; }
5288
 
fi
5289
 
 
5290
 
  if test "x$ac_ct_AS" = x; then
5291
 
    AS="false"
5292
 
  else
5293
 
    case $cross_compiling:$ac_tool_warned in
5294
 
yes:)
5295
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5296
 
whose name does not start with the host triplet.  If you think this
5297
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5298
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5299
 
whose name does not start with the host triplet.  If you think this
5300
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5301
 
ac_tool_warned=yes ;;
5302
 
esac
5303
 
    AS=$ac_ct_AS
5304
 
  fi
5305
 
else
5306
 
  AS="$ac_cv_prog_AS"
5307
 
fi
5308
 
 
5309
 
  if test -n "$ac_tool_prefix"; then
5310
 
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5311
 
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5312
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5313
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5314
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5315
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5316
 
else
5317
 
  if test -n "$OBJDUMP"; then
5318
 
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5319
 
else
5320
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5321
 
for as_dir in $PATH
5322
 
do
5323
 
  IFS=$as_save_IFS
5324
 
  test -z "$as_dir" && as_dir=.
5325
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5326
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5327
 
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5328
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5329
 
    break 2
5330
 
  fi
5331
 
done
5332
 
done
5333
 
IFS=$as_save_IFS
5334
 
 
5335
 
fi
5336
 
fi
5337
 
OBJDUMP=$ac_cv_prog_OBJDUMP
5338
 
if test -n "$OBJDUMP"; then
5339
 
  { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
5340
 
echo "${ECHO_T}$OBJDUMP" >&6; }
5341
 
else
5342
 
  { echo "$as_me:$LINENO: result: no" >&5
5343
 
echo "${ECHO_T}no" >&6; }
5344
 
fi
5345
 
 
5346
 
 
5347
 
fi
5348
 
if test -z "$ac_cv_prog_OBJDUMP"; then
5349
 
  ac_ct_OBJDUMP=$OBJDUMP
5350
 
  # Extract the first word of "objdump", so it can be a program name with args.
5351
 
set dummy objdump; ac_word=$2
5352
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5353
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5354
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5355
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5356
 
else
5357
 
  if test -n "$ac_ct_OBJDUMP"; then
5358
 
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5359
 
else
5360
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5361
 
for as_dir in $PATH
5362
 
do
5363
 
  IFS=$as_save_IFS
5364
 
  test -z "$as_dir" && as_dir=.
5365
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5366
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5367
 
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5368
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5369
 
    break 2
5370
 
  fi
5371
 
done
5372
 
done
5373
 
IFS=$as_save_IFS
5374
 
 
5375
 
fi
5376
 
fi
5377
 
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5378
 
if test -n "$ac_ct_OBJDUMP"; then
5379
 
  { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5380
 
echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
5381
 
else
5382
 
  { echo "$as_me:$LINENO: result: no" >&5
5383
 
echo "${ECHO_T}no" >&6; }
5384
 
fi
5385
 
 
5386
 
  if test "x$ac_ct_OBJDUMP" = x; then
5387
 
    OBJDUMP="false"
5388
 
  else
5389
 
    case $cross_compiling:$ac_tool_warned in
5390
 
yes:)
5391
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5392
 
whose name does not start with the host triplet.  If you think this
5393
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5394
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5395
 
whose name does not start with the host triplet.  If you think this
5396
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5397
 
ac_tool_warned=yes ;;
5398
 
esac
5399
 
    OBJDUMP=$ac_ct_OBJDUMP
5400
 
  fi
5401
 
else
5402
 
  OBJDUMP="$ac_cv_prog_OBJDUMP"
5403
 
fi
5404
 
 
5405
 
  ;;
5406
 
 
5407
 
esac
5408
 
 
5409
 
need_locks="$enable_libtool_lock"
5410
 
 
5411
 
 
5412
 
ac_ext=c
5413
 
ac_cpp='$CPP $CPPFLAGS'
5414
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5415
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5416
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5417
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5418
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5419
 
# On Suns, sometimes $CPP names a directory.
5420
 
if test -n "$CPP" && test -d "$CPP"; then
5421
 
  CPP=
5422
 
fi
5423
 
if test -z "$CPP"; then
5424
 
  if test "${ac_cv_prog_CPP+set}" = set; then
5425
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5426
 
else
5427
 
      # Double quotes because CPP needs to be expanded
5428
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5429
 
    do
5430
 
      ac_preproc_ok=false
5431
 
for ac_c_preproc_warn_flag in '' yes
5432
 
do
5433
 
  # Use a header file that comes with gcc, so configuring glibc
5434
 
  # with a fresh cross-compiler works.
5435
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5436
 
  # <limits.h> exists even on freestanding compilers.
5437
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5438
 
  # not just through cpp. "Syntax error" is here to catch this case.
5439
 
  cat >conftest.$ac_ext <<_ACEOF
5440
 
/* confdefs.h.  */
5441
 
_ACEOF
5442
 
cat confdefs.h >>conftest.$ac_ext
5443
 
cat >>conftest.$ac_ext <<_ACEOF
5444
 
/* end confdefs.h.  */
5445
 
#ifdef __STDC__
5446
 
# include <limits.h>
5447
 
#else
5448
 
# include <assert.h>
5449
 
#endif
5450
 
                     Syntax error
5451
 
_ACEOF
5452
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5453
 
case "(($ac_try" in
5454
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5455
 
  *) ac_try_echo=$ac_try;;
5456
 
esac
5457
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5458
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5459
 
  ac_status=$?
5460
 
  grep -v '^ *+' conftest.er1 >conftest.err
5461
 
  rm -f conftest.er1
5462
 
  cat conftest.err >&5
5463
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5464
 
  (exit $ac_status); } >/dev/null && {
5465
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5466
 
         test ! -s conftest.err
5467
 
       }; then
5468
 
  :
5469
 
else
5470
 
  echo "$as_me: failed program was:" >&5
5471
 
sed 's/^/| /' conftest.$ac_ext >&5
5472
 
 
5473
 
  # Broken: fails on valid input.
5474
 
continue
5475
 
fi
5476
 
 
5477
 
rm -f conftest.err conftest.$ac_ext
5478
 
 
5479
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5480
 
  # can be detected and how.
5481
 
  cat >conftest.$ac_ext <<_ACEOF
5482
 
/* confdefs.h.  */
5483
 
_ACEOF
5484
 
cat confdefs.h >>conftest.$ac_ext
5485
 
cat >>conftest.$ac_ext <<_ACEOF
5486
 
/* end confdefs.h.  */
5487
 
#include <ac_nonexistent.h>
5488
 
_ACEOF
5489
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5490
 
case "(($ac_try" in
5491
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5492
 
  *) ac_try_echo=$ac_try;;
5493
 
esac
5494
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5495
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5496
 
  ac_status=$?
5497
 
  grep -v '^ *+' conftest.er1 >conftest.err
5498
 
  rm -f conftest.er1
5499
 
  cat conftest.err >&5
5500
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5501
 
  (exit $ac_status); } >/dev/null && {
5502
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5503
 
         test ! -s conftest.err
5504
 
       }; then
5505
 
  # Broken: success on invalid input.
5506
 
continue
5507
 
else
5508
 
  echo "$as_me: failed program was:" >&5
5509
 
sed 's/^/| /' conftest.$ac_ext >&5
5510
 
 
5511
 
  # Passes both tests.
5512
 
ac_preproc_ok=:
5513
 
break
5514
 
fi
5515
 
 
5516
 
rm -f conftest.err conftest.$ac_ext
5517
 
 
5518
 
done
5519
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5520
 
rm -f conftest.err conftest.$ac_ext
5521
 
if $ac_preproc_ok; then
5522
 
  break
5523
 
fi
5524
 
 
5525
 
    done
5526
 
    ac_cv_prog_CPP=$CPP
5527
 
 
5528
 
fi
5529
 
  CPP=$ac_cv_prog_CPP
5530
 
else
5531
 
  ac_cv_prog_CPP=$CPP
5532
 
fi
5533
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
5534
 
echo "${ECHO_T}$CPP" >&6; }
5535
 
ac_preproc_ok=false
5536
 
for ac_c_preproc_warn_flag in '' yes
5537
 
do
5538
 
  # Use a header file that comes with gcc, so configuring glibc
5539
 
  # with a fresh cross-compiler works.
5540
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5541
 
  # <limits.h> exists even on freestanding compilers.
5542
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5543
 
  # not just through cpp. "Syntax error" is here to catch this case.
5544
 
  cat >conftest.$ac_ext <<_ACEOF
5545
 
/* confdefs.h.  */
5546
 
_ACEOF
5547
 
cat confdefs.h >>conftest.$ac_ext
5548
 
cat >>conftest.$ac_ext <<_ACEOF
5549
 
/* end confdefs.h.  */
5550
 
#ifdef __STDC__
5551
 
# include <limits.h>
5552
 
#else
5553
 
# include <assert.h>
5554
 
#endif
5555
 
                     Syntax error
5556
 
_ACEOF
5557
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5558
 
case "(($ac_try" in
5559
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5560
 
  *) ac_try_echo=$ac_try;;
5561
 
esac
5562
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5563
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5564
 
  ac_status=$?
5565
 
  grep -v '^ *+' conftest.er1 >conftest.err
5566
 
  rm -f conftest.er1
5567
 
  cat conftest.err >&5
5568
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5569
 
  (exit $ac_status); } >/dev/null && {
5570
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5571
 
         test ! -s conftest.err
5572
 
       }; then
5573
 
  :
5574
 
else
5575
 
  echo "$as_me: failed program was:" >&5
5576
 
sed 's/^/| /' conftest.$ac_ext >&5
5577
 
 
5578
 
  # Broken: fails on valid input.
5579
 
continue
5580
 
fi
5581
 
 
5582
 
rm -f conftest.err conftest.$ac_ext
5583
 
 
5584
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5585
 
  # can be detected and how.
5586
 
  cat >conftest.$ac_ext <<_ACEOF
5587
 
/* confdefs.h.  */
5588
 
_ACEOF
5589
 
cat confdefs.h >>conftest.$ac_ext
5590
 
cat >>conftest.$ac_ext <<_ACEOF
5591
 
/* end confdefs.h.  */
5592
 
#include <ac_nonexistent.h>
5593
 
_ACEOF
5594
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5595
 
case "(($ac_try" in
5596
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5597
 
  *) ac_try_echo=$ac_try;;
5598
 
esac
5599
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5600
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5601
 
  ac_status=$?
5602
 
  grep -v '^ *+' conftest.er1 >conftest.err
5603
 
  rm -f conftest.er1
5604
 
  cat conftest.err >&5
5605
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5606
 
  (exit $ac_status); } >/dev/null && {
5607
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5608
 
         test ! -s conftest.err
5609
 
       }; then
5610
 
  # Broken: success on invalid input.
5611
 
continue
5612
 
else
5613
 
  echo "$as_me: failed program was:" >&5
5614
 
sed 's/^/| /' conftest.$ac_ext >&5
5615
 
 
5616
 
  # Passes both tests.
5617
 
ac_preproc_ok=:
5618
 
break
5619
 
fi
5620
 
 
5621
 
rm -f conftest.err conftest.$ac_ext
5622
 
 
5623
 
done
5624
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5625
 
rm -f conftest.err conftest.$ac_ext
5626
 
if $ac_preproc_ok; then
5627
 
  :
5628
 
else
5629
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5630
 
See \`config.log' for more details." >&5
5631
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5632
 
See \`config.log' for more details." >&2;}
5633
 
   { (exit 1); exit 1; }; }
5634
 
fi
5635
 
 
5636
 
ac_ext=c
5637
 
ac_cpp='$CPP $CPPFLAGS'
5638
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5639
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5640
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5641
 
 
5642
 
 
5643
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5644
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5645
 
if test "${ac_cv_header_stdc+set}" = set; then
5646
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5647
 
else
5648
 
  cat >conftest.$ac_ext <<_ACEOF
5649
 
/* confdefs.h.  */
5650
 
_ACEOF
5651
 
cat confdefs.h >>conftest.$ac_ext
5652
 
cat >>conftest.$ac_ext <<_ACEOF
5653
 
/* end confdefs.h.  */
5654
 
#include <stdlib.h>
5655
 
#include <stdarg.h>
5656
 
#include <string.h>
5657
 
#include <float.h>
5658
 
 
5659
 
int
5660
 
main ()
5661
 
{
5662
 
 
5663
 
  ;
5664
 
  return 0;
5665
 
}
5666
 
_ACEOF
5667
 
rm -f conftest.$ac_objext
5668
 
if { (ac_try="$ac_compile"
5669
 
case "(($ac_try" in
5670
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5671
 
  *) ac_try_echo=$ac_try;;
5672
 
esac
5673
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5674
 
  (eval "$ac_compile") 2>conftest.er1
5675
 
  ac_status=$?
5676
 
  grep -v '^ *+' conftest.er1 >conftest.err
5677
 
  rm -f conftest.er1
5678
 
  cat conftest.err >&5
5679
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5680
 
  (exit $ac_status); } && {
5681
 
         test -z "$ac_c_werror_flag" ||
5682
 
         test ! -s conftest.err
5683
 
       } && test -s conftest.$ac_objext; then
5684
 
  ac_cv_header_stdc=yes
5685
 
else
5686
 
  echo "$as_me: failed program was:" >&5
5687
 
sed 's/^/| /' conftest.$ac_ext >&5
5688
 
 
5689
 
        ac_cv_header_stdc=no
5690
 
fi
5691
 
 
5692
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5693
 
 
5694
 
if test $ac_cv_header_stdc = yes; then
5695
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5696
 
  cat >conftest.$ac_ext <<_ACEOF
5697
 
/* confdefs.h.  */
5698
 
_ACEOF
5699
 
cat confdefs.h >>conftest.$ac_ext
5700
 
cat >>conftest.$ac_ext <<_ACEOF
5701
 
/* end confdefs.h.  */
5702
 
#include <string.h>
5703
 
 
5704
 
_ACEOF
5705
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5706
 
  $EGREP "memchr" >/dev/null 2>&1; then
5707
 
  :
5708
 
else
5709
 
  ac_cv_header_stdc=no
5710
 
fi
5711
 
rm -f conftest*
5712
 
 
5713
 
fi
5714
 
 
5715
 
if test $ac_cv_header_stdc = yes; then
5716
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5717
 
  cat >conftest.$ac_ext <<_ACEOF
5718
 
/* confdefs.h.  */
5719
 
_ACEOF
5720
 
cat confdefs.h >>conftest.$ac_ext
5721
 
cat >>conftest.$ac_ext <<_ACEOF
5722
 
/* end confdefs.h.  */
5723
 
#include <stdlib.h>
5724
 
 
5725
 
_ACEOF
5726
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5727
 
  $EGREP "free" >/dev/null 2>&1; then
5728
 
  :
5729
 
else
5730
 
  ac_cv_header_stdc=no
5731
 
fi
5732
 
rm -f conftest*
5733
 
 
5734
 
fi
5735
 
 
5736
 
if test $ac_cv_header_stdc = yes; then
5737
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5738
 
  if test "$cross_compiling" = yes; then
5739
 
  :
5740
 
else
5741
 
  cat >conftest.$ac_ext <<_ACEOF
5742
 
/* confdefs.h.  */
5743
 
_ACEOF
5744
 
cat confdefs.h >>conftest.$ac_ext
5745
 
cat >>conftest.$ac_ext <<_ACEOF
5746
 
/* end confdefs.h.  */
5747
 
#include <ctype.h>
5748
 
#include <stdlib.h>
5749
 
#if ((' ' & 0x0FF) == 0x020)
5750
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5751
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5752
 
#else
5753
 
# define ISLOWER(c) \
5754
 
                   (('a' <= (c) && (c) <= 'i') \
5755
 
                     || ('j' <= (c) && (c) <= 'r') \
5756
 
                     || ('s' <= (c) && (c) <= 'z'))
5757
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5758
 
#endif
5759
 
 
5760
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5761
 
int
5762
 
main ()
5763
 
{
5764
 
  int i;
5765
 
  for (i = 0; i < 256; i++)
5766
 
    if (XOR (islower (i), ISLOWER (i))
5767
 
        || toupper (i) != TOUPPER (i))
5768
 
      return 2;
5769
 
  return 0;
5770
 
}
5771
 
_ACEOF
5772
 
rm -f conftest$ac_exeext
5773
 
if { (ac_try="$ac_link"
5774
 
case "(($ac_try" in
5775
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5776
 
  *) ac_try_echo=$ac_try;;
5777
 
esac
5778
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5779
 
  (eval "$ac_link") 2>&5
5780
 
  ac_status=$?
5781
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5782
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5783
 
  { (case "(($ac_try" in
5784
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5785
 
  *) ac_try_echo=$ac_try;;
5786
 
esac
5787
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5788
 
  (eval "$ac_try") 2>&5
5789
 
  ac_status=$?
5790
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5791
 
  (exit $ac_status); }; }; then
5792
 
  :
5793
 
else
5794
 
  echo "$as_me: program exited with status $ac_status" >&5
5795
 
echo "$as_me: failed program was:" >&5
5796
 
sed 's/^/| /' conftest.$ac_ext >&5
5797
 
 
5798
 
( exit $ac_status )
5799
 
ac_cv_header_stdc=no
5800
 
fi
5801
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5802
 
fi
5803
 
 
5804
 
 
5805
 
fi
5806
 
fi
5807
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5808
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5809
 
if test $ac_cv_header_stdc = yes; then
5810
 
 
5811
 
cat >>confdefs.h <<\_ACEOF
5812
 
#define STDC_HEADERS 1
5813
 
_ACEOF
5814
 
 
5815
 
fi
5816
 
 
5817
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5818
 
 
5819
 
 
5820
 
 
5821
 
 
5822
 
 
5823
 
 
5824
 
 
5825
 
 
5826
 
 
5827
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5828
 
                  inttypes.h stdint.h unistd.h
5829
 
do
5830
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5831
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5832
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5833
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5834
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5835
 
else
5836
 
  cat >conftest.$ac_ext <<_ACEOF
5837
 
/* confdefs.h.  */
5838
 
_ACEOF
5839
 
cat confdefs.h >>conftest.$ac_ext
5840
 
cat >>conftest.$ac_ext <<_ACEOF
5841
 
/* end confdefs.h.  */
5842
 
$ac_includes_default
5843
 
 
5844
 
#include <$ac_header>
5845
 
_ACEOF
5846
 
rm -f conftest.$ac_objext
5847
 
if { (ac_try="$ac_compile"
5848
 
case "(($ac_try" in
5849
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5850
 
  *) ac_try_echo=$ac_try;;
5851
 
esac
5852
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5853
 
  (eval "$ac_compile") 2>conftest.er1
5854
 
  ac_status=$?
5855
 
  grep -v '^ *+' conftest.er1 >conftest.err
5856
 
  rm -f conftest.er1
5857
 
  cat conftest.err >&5
5858
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5859
 
  (exit $ac_status); } && {
5860
 
         test -z "$ac_c_werror_flag" ||
5861
 
         test ! -s conftest.err
5862
 
       } && test -s conftest.$ac_objext; then
5863
 
  eval "$as_ac_Header=yes"
5864
 
else
5865
 
  echo "$as_me: failed program was:" >&5
5866
 
sed 's/^/| /' conftest.$ac_ext >&5
5867
 
 
5868
 
        eval "$as_ac_Header=no"
5869
 
fi
5870
 
 
5871
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5872
 
fi
5873
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5874
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5875
 
echo "${ECHO_T}$ac_res" >&6; }
5876
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5877
 
  cat >>confdefs.h <<_ACEOF
5878
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5879
 
_ACEOF
5880
 
 
5881
 
fi
5882
 
 
5883
 
done
5884
 
 
5885
 
 
5886
 
 
5887
 
for ac_header in dlfcn.h
5888
 
do
5889
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5890
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5891
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
5892
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5893
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5894
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5895
 
fi
5896
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5897
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5898
 
echo "${ECHO_T}$ac_res" >&6; }
5899
 
else
5900
 
  # Is the header compilable?
5901
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5902
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5903
 
cat >conftest.$ac_ext <<_ACEOF
5904
 
/* confdefs.h.  */
5905
 
_ACEOF
5906
 
cat confdefs.h >>conftest.$ac_ext
5907
 
cat >>conftest.$ac_ext <<_ACEOF
5908
 
/* end confdefs.h.  */
5909
 
$ac_includes_default
5910
 
#include <$ac_header>
5911
 
_ACEOF
5912
 
rm -f conftest.$ac_objext
5913
 
if { (ac_try="$ac_compile"
5914
 
case "(($ac_try" in
5915
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5916
 
  *) ac_try_echo=$ac_try;;
5917
 
esac
5918
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5919
 
  (eval "$ac_compile") 2>conftest.er1
5920
 
  ac_status=$?
5921
 
  grep -v '^ *+' conftest.er1 >conftest.err
5922
 
  rm -f conftest.er1
5923
 
  cat conftest.err >&5
5924
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5925
 
  (exit $ac_status); } && {
5926
 
         test -z "$ac_c_werror_flag" ||
5927
 
         test ! -s conftest.err
5928
 
       } && test -s conftest.$ac_objext; then
5929
 
  ac_header_compiler=yes
5930
 
else
5931
 
  echo "$as_me: failed program was:" >&5
5932
 
sed 's/^/| /' conftest.$ac_ext >&5
5933
 
 
5934
 
        ac_header_compiler=no
5935
 
fi
5936
 
 
5937
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5938
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5939
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
5940
 
 
5941
 
# Is the header present?
5942
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5943
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5944
 
cat >conftest.$ac_ext <<_ACEOF
5945
 
/* confdefs.h.  */
5946
 
_ACEOF
5947
 
cat confdefs.h >>conftest.$ac_ext
5948
 
cat >>conftest.$ac_ext <<_ACEOF
5949
 
/* end confdefs.h.  */
5950
 
#include <$ac_header>
5951
 
_ACEOF
5952
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5953
 
case "(($ac_try" in
5954
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5955
 
  *) ac_try_echo=$ac_try;;
5956
 
esac
5957
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5958
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5959
 
  ac_status=$?
5960
 
  grep -v '^ *+' conftest.er1 >conftest.err
5961
 
  rm -f conftest.er1
5962
 
  cat conftest.err >&5
5963
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5964
 
  (exit $ac_status); } >/dev/null && {
5965
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5966
 
         test ! -s conftest.err
5967
 
       }; then
5968
 
  ac_header_preproc=yes
5969
 
else
5970
 
  echo "$as_me: failed program was:" >&5
5971
 
sed 's/^/| /' conftest.$ac_ext >&5
5972
 
 
5973
 
  ac_header_preproc=no
5974
 
fi
5975
 
 
5976
 
rm -f conftest.err conftest.$ac_ext
5977
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5978
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
5979
 
 
5980
 
# So?  What about this header?
5981
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5982
 
  yes:no: )
5983
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5984
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5985
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5986
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5987
 
    ac_header_preproc=yes
5988
 
    ;;
5989
 
  no:yes:* )
5990
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5991
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5992
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5993
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5994
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5995
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5996
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5997
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5998
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5999
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6000
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6001
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6002
 
 
6003
 
    ;;
6004
 
esac
6005
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6006
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6007
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6008
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6009
 
else
6010
 
  eval "$as_ac_Header=\$ac_header_preproc"
6011
 
fi
6012
 
ac_res=`eval echo '${'$as_ac_Header'}'`
6013
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
6014
 
echo "${ECHO_T}$ac_res" >&6; }
6015
 
 
6016
 
fi
6017
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6018
 
  cat >>confdefs.h <<_ACEOF
6019
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6020
 
_ACEOF
6021
 
 
6022
 
fi
6023
 
 
6024
 
done
6025
 
 
6026
 
 
6027
 
 
6028
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6029
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6030
 
    (test "X$CXX" != "Xg++"))) ; then
6031
 
  ac_ext=cpp
6032
 
ac_cpp='$CXXCPP $CPPFLAGS'
6033
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6034
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6035
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6036
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6037
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
6038
 
if test -z "$CXXCPP"; then
6039
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
6040
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6041
 
else
6042
 
      # Double quotes because CXXCPP needs to be expanded
6043
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
6044
 
    do
6045
 
      ac_preproc_ok=false
6046
 
for ac_cxx_preproc_warn_flag in '' yes
6047
 
do
6048
 
  # Use a header file that comes with gcc, so configuring glibc
6049
 
  # with a fresh cross-compiler works.
6050
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6051
 
  # <limits.h> exists even on freestanding compilers.
6052
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6053
 
  # not just through cpp. "Syntax error" is here to catch this case.
6054
 
  cat >conftest.$ac_ext <<_ACEOF
6055
 
/* confdefs.h.  */
6056
 
_ACEOF
6057
 
cat confdefs.h >>conftest.$ac_ext
6058
 
cat >>conftest.$ac_ext <<_ACEOF
6059
 
/* end confdefs.h.  */
6060
 
#ifdef __STDC__
6061
 
# include <limits.h>
6062
 
#else
6063
 
# include <assert.h>
6064
 
#endif
6065
 
                     Syntax error
6066
 
_ACEOF
6067
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6068
 
case "(($ac_try" in
6069
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6070
 
  *) ac_try_echo=$ac_try;;
6071
 
esac
6072
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6073
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6074
 
  ac_status=$?
6075
 
  grep -v '^ *+' conftest.er1 >conftest.err
6076
 
  rm -f conftest.er1
6077
 
  cat conftest.err >&5
6078
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6079
 
  (exit $ac_status); } >/dev/null && {
6080
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6081
 
         test ! -s conftest.err
6082
 
       }; then
6083
 
  :
6084
 
else
6085
 
  echo "$as_me: failed program was:" >&5
6086
 
sed 's/^/| /' conftest.$ac_ext >&5
6087
 
 
6088
 
  # Broken: fails on valid input.
6089
 
continue
6090
 
fi
6091
 
 
6092
 
rm -f conftest.err conftest.$ac_ext
6093
 
 
6094
 
  # OK, works on sane cases.  Now check whether nonexistent headers
6095
 
  # can be detected and how.
6096
 
  cat >conftest.$ac_ext <<_ACEOF
6097
 
/* confdefs.h.  */
6098
 
_ACEOF
6099
 
cat confdefs.h >>conftest.$ac_ext
6100
 
cat >>conftest.$ac_ext <<_ACEOF
6101
 
/* end confdefs.h.  */
6102
 
#include <ac_nonexistent.h>
6103
 
_ACEOF
6104
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6105
 
case "(($ac_try" in
6106
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6107
 
  *) ac_try_echo=$ac_try;;
6108
 
esac
6109
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6110
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6111
 
  ac_status=$?
6112
 
  grep -v '^ *+' conftest.er1 >conftest.err
6113
 
  rm -f conftest.er1
6114
 
  cat conftest.err >&5
6115
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6116
 
  (exit $ac_status); } >/dev/null && {
6117
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6118
 
         test ! -s conftest.err
6119
 
       }; then
6120
 
  # Broken: success on invalid input.
6121
 
continue
6122
 
else
6123
 
  echo "$as_me: failed program was:" >&5
6124
 
sed 's/^/| /' conftest.$ac_ext >&5
6125
 
 
6126
 
  # Passes both tests.
6127
 
ac_preproc_ok=:
6128
 
break
6129
 
fi
6130
 
 
6131
 
rm -f conftest.err conftest.$ac_ext
6132
 
 
6133
 
done
6134
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6135
 
rm -f conftest.err conftest.$ac_ext
6136
 
if $ac_preproc_ok; then
6137
 
  break
6138
 
fi
6139
 
 
6140
 
    done
6141
 
    ac_cv_prog_CXXCPP=$CXXCPP
6142
 
 
6143
 
fi
6144
 
  CXXCPP=$ac_cv_prog_CXXCPP
6145
 
else
6146
 
  ac_cv_prog_CXXCPP=$CXXCPP
6147
 
fi
6148
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
6149
 
echo "${ECHO_T}$CXXCPP" >&6; }
6150
 
ac_preproc_ok=false
6151
 
for ac_cxx_preproc_warn_flag in '' yes
6152
 
do
6153
 
  # Use a header file that comes with gcc, so configuring glibc
6154
 
  # with a fresh cross-compiler works.
6155
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6156
 
  # <limits.h> exists even on freestanding compilers.
6157
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6158
 
  # not just through cpp. "Syntax error" is here to catch this case.
6159
 
  cat >conftest.$ac_ext <<_ACEOF
6160
 
/* confdefs.h.  */
6161
 
_ACEOF
6162
 
cat confdefs.h >>conftest.$ac_ext
6163
 
cat >>conftest.$ac_ext <<_ACEOF
6164
 
/* end confdefs.h.  */
6165
 
#ifdef __STDC__
6166
 
# include <limits.h>
6167
 
#else
6168
 
# include <assert.h>
6169
 
#endif
6170
 
                     Syntax error
6171
 
_ACEOF
6172
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6173
 
case "(($ac_try" in
6174
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6175
 
  *) ac_try_echo=$ac_try;;
6176
 
esac
6177
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6178
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6179
 
  ac_status=$?
6180
 
  grep -v '^ *+' conftest.er1 >conftest.err
6181
 
  rm -f conftest.er1
6182
 
  cat conftest.err >&5
6183
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6184
 
  (exit $ac_status); } >/dev/null && {
6185
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6186
 
         test ! -s conftest.err
6187
 
       }; then
6188
 
  :
6189
 
else
6190
 
  echo "$as_me: failed program was:" >&5
6191
 
sed 's/^/| /' conftest.$ac_ext >&5
6192
 
 
6193
 
  # Broken: fails on valid input.
6194
 
continue
6195
 
fi
6196
 
 
6197
 
rm -f conftest.err conftest.$ac_ext
6198
 
 
6199
 
  # OK, works on sane cases.  Now check whether nonexistent headers
6200
 
  # can be detected and how.
6201
 
  cat >conftest.$ac_ext <<_ACEOF
6202
 
/* confdefs.h.  */
6203
 
_ACEOF
6204
 
cat confdefs.h >>conftest.$ac_ext
6205
 
cat >>conftest.$ac_ext <<_ACEOF
6206
 
/* end confdefs.h.  */
6207
 
#include <ac_nonexistent.h>
6208
 
_ACEOF
6209
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6210
 
case "(($ac_try" in
6211
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6212
 
  *) ac_try_echo=$ac_try;;
6213
 
esac
6214
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6215
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6216
 
  ac_status=$?
6217
 
  grep -v '^ *+' conftest.er1 >conftest.err
6218
 
  rm -f conftest.er1
6219
 
  cat conftest.err >&5
6220
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221
 
  (exit $ac_status); } >/dev/null && {
6222
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6223
 
         test ! -s conftest.err
6224
 
       }; then
6225
 
  # Broken: success on invalid input.
6226
 
continue
6227
 
else
6228
 
  echo "$as_me: failed program was:" >&5
6229
 
sed 's/^/| /' conftest.$ac_ext >&5
6230
 
 
6231
 
  # Passes both tests.
6232
 
ac_preproc_ok=:
6233
 
break
6234
 
fi
6235
 
 
6236
 
rm -f conftest.err conftest.$ac_ext
6237
 
 
6238
 
done
6239
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6240
 
rm -f conftest.err conftest.$ac_ext
6241
 
if $ac_preproc_ok; then
6242
 
  :
6243
 
else
6244
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6245
 
See \`config.log' for more details." >&5
6246
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6247
 
See \`config.log' for more details." >&2;}
6248
 
   { (exit 1); exit 1; }; }
6249
 
fi
6250
 
 
6251
 
ac_ext=cpp
6252
 
ac_cpp='$CXXCPP $CPPFLAGS'
6253
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6254
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6255
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6256
 
 
6257
 
fi
6258
 
 
6259
 
 
6260
 
ac_ext=f
6261
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6262
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6263
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
6264
 
if test -n "$ac_tool_prefix"; then
6265
 
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6266
 
  do
6267
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6268
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6269
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6270
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6271
 
if test "${ac_cv_prog_F77+set}" = set; then
6272
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6273
 
else
6274
 
  if test -n "$F77"; then
6275
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
6276
 
else
6277
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6278
 
for as_dir in $PATH
6279
 
do
6280
 
  IFS=$as_save_IFS
6281
 
  test -z "$as_dir" && as_dir=.
6282
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6283
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6284
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
6285
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6286
 
    break 2
6287
 
  fi
6288
 
done
6289
 
done
6290
 
IFS=$as_save_IFS
6291
 
 
6292
 
fi
6293
 
fi
6294
 
F77=$ac_cv_prog_F77
6295
 
if test -n "$F77"; then
6296
 
  { echo "$as_me:$LINENO: result: $F77" >&5
6297
 
echo "${ECHO_T}$F77" >&6; }
6298
 
else
6299
 
  { echo "$as_me:$LINENO: result: no" >&5
6300
 
echo "${ECHO_T}no" >&6; }
6301
 
fi
6302
 
 
6303
 
 
6304
 
    test -n "$F77" && break
6305
 
  done
6306
 
fi
6307
 
if test -z "$F77"; then
6308
 
  ac_ct_F77=$F77
6309
 
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6310
 
do
6311
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6312
 
set dummy $ac_prog; ac_word=$2
6313
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6314
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6315
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6316
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6317
 
else
6318
 
  if test -n "$ac_ct_F77"; then
6319
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
6320
 
else
6321
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6322
 
for as_dir in $PATH
6323
 
do
6324
 
  IFS=$as_save_IFS
6325
 
  test -z "$as_dir" && as_dir=.
6326
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6327
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6328
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
6329
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6330
 
    break 2
6331
 
  fi
6332
 
done
6333
 
done
6334
 
IFS=$as_save_IFS
6335
 
 
6336
 
fi
6337
 
fi
6338
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
6339
 
if test -n "$ac_ct_F77"; then
6340
 
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6341
 
echo "${ECHO_T}$ac_ct_F77" >&6; }
6342
 
else
6343
 
  { echo "$as_me:$LINENO: result: no" >&5
6344
 
echo "${ECHO_T}no" >&6; }
6345
 
fi
6346
 
 
6347
 
 
6348
 
  test -n "$ac_ct_F77" && break
6349
 
done
6350
 
 
6351
 
  if test "x$ac_ct_F77" = x; then
6352
 
    F77=""
6353
 
  else
6354
 
    case $cross_compiling:$ac_tool_warned in
6355
 
yes:)
6356
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6357
 
whose name does not start with the host triplet.  If you think this
6358
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6359
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6360
 
whose name does not start with the host triplet.  If you think this
6361
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6362
 
ac_tool_warned=yes ;;
6363
 
esac
6364
 
    F77=$ac_ct_F77
6365
 
  fi
6366
 
fi
6367
 
 
6368
 
 
6369
 
# Provide some information about the compiler.
6370
 
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6371
 
ac_compiler=`set X $ac_compile; echo $2`
6372
 
{ (ac_try="$ac_compiler --version >&5"
6373
 
case "(($ac_try" in
6374
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6375
 
  *) ac_try_echo=$ac_try;;
6376
 
esac
6377
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6378
 
  (eval "$ac_compiler --version >&5") 2>&5
6379
 
  ac_status=$?
6380
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6381
 
  (exit $ac_status); }
6382
 
{ (ac_try="$ac_compiler -v >&5"
6383
 
case "(($ac_try" in
6384
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6385
 
  *) ac_try_echo=$ac_try;;
6386
 
esac
6387
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6388
 
  (eval "$ac_compiler -v >&5") 2>&5
6389
 
  ac_status=$?
6390
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6391
 
  (exit $ac_status); }
6392
 
{ (ac_try="$ac_compiler -V >&5"
6393
 
case "(($ac_try" in
6394
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6395
 
  *) ac_try_echo=$ac_try;;
6396
 
esac
6397
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6398
 
  (eval "$ac_compiler -V >&5") 2>&5
6399
 
  ac_status=$?
6400
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6401
 
  (exit $ac_status); }
6402
 
rm -f a.out
6403
 
 
6404
 
# If we don't use `.F' as extension, the preprocessor is not run on the
6405
 
# input file.  (Note that this only needs to work for GNU compilers.)
6406
 
ac_save_ext=$ac_ext
6407
 
ac_ext=F
6408
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6409
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6410
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6411
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6412
 
else
6413
 
  cat >conftest.$ac_ext <<_ACEOF
6414
 
      program main
6415
 
#ifndef __GNUC__
6416
 
       choke me
6417
 
#endif
6418
 
 
6419
 
      end
6420
 
_ACEOF
6421
 
rm -f conftest.$ac_objext
6422
 
if { (ac_try="$ac_compile"
6423
 
case "(($ac_try" in
6424
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6425
 
  *) ac_try_echo=$ac_try;;
6426
 
esac
6427
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6428
 
  (eval "$ac_compile") 2>conftest.er1
6429
 
  ac_status=$?
6430
 
  grep -v '^ *+' conftest.er1 >conftest.err
6431
 
  rm -f conftest.er1
6432
 
  cat conftest.err >&5
6433
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6434
 
  (exit $ac_status); } && {
6435
 
         test -z "$ac_f77_werror_flag" ||
6436
 
         test ! -s conftest.err
6437
 
       } && test -s conftest.$ac_objext; then
6438
 
  ac_compiler_gnu=yes
6439
 
else
6440
 
  echo "$as_me: failed program was:" >&5
6441
 
sed 's/^/| /' conftest.$ac_ext >&5
6442
 
 
6443
 
        ac_compiler_gnu=no
6444
 
fi
6445
 
 
6446
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6447
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6448
 
 
6449
 
fi
6450
 
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6451
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6452
 
ac_ext=$ac_save_ext
6453
 
ac_test_FFLAGS=${FFLAGS+set}
6454
 
ac_save_FFLAGS=$FFLAGS
6455
 
FFLAGS=
6456
 
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6457
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6458
 
if test "${ac_cv_prog_f77_g+set}" = set; then
6459
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6460
 
else
6461
 
  FFLAGS=-g
6462
 
cat >conftest.$ac_ext <<_ACEOF
6463
 
      program main
6464
 
 
6465
 
      end
6466
 
_ACEOF
6467
 
rm -f conftest.$ac_objext
6468
 
if { (ac_try="$ac_compile"
6469
 
case "(($ac_try" in
6470
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6471
 
  *) ac_try_echo=$ac_try;;
6472
 
esac
6473
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6474
 
  (eval "$ac_compile") 2>conftest.er1
6475
 
  ac_status=$?
6476
 
  grep -v '^ *+' conftest.er1 >conftest.err
6477
 
  rm -f conftest.er1
6478
 
  cat conftest.err >&5
6479
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6480
 
  (exit $ac_status); } && {
6481
 
         test -z "$ac_f77_werror_flag" ||
6482
 
         test ! -s conftest.err
6483
 
       } && test -s conftest.$ac_objext; then
6484
 
  ac_cv_prog_f77_g=yes
6485
 
else
6486
 
  echo "$as_me: failed program was:" >&5
6487
 
sed 's/^/| /' conftest.$ac_ext >&5
6488
 
 
6489
 
        ac_cv_prog_f77_g=no
6490
 
fi
6491
 
 
6492
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6493
 
 
6494
 
fi
6495
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6496
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6497
 
if test "$ac_test_FFLAGS" = set; then
6498
 
  FFLAGS=$ac_save_FFLAGS
6499
 
elif test $ac_cv_prog_f77_g = yes; then
6500
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6501
 
    FFLAGS="-g -O2"
6502
 
  else
6503
 
    FFLAGS="-g"
6504
 
  fi
6505
 
else
6506
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6507
 
    FFLAGS="-O2"
6508
 
  else
6509
 
    FFLAGS=
6510
 
  fi
6511
 
fi
6512
 
 
6513
 
G77=`test $ac_compiler_gnu = yes && echo yes`
6514
 
ac_ext=c
6515
 
ac_cpp='$CPP $CPPFLAGS'
6516
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6517
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6518
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6519
 
 
6520
 
 
6521
 
 
6522
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6523
 
 
6524
 
# find the maximum length of command line arguments
6525
 
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6526
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6527
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6528
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6529
 
else
6530
 
    i=0
6531
 
  teststring="ABCD"
6532
 
 
6533
 
  case $build_os in
6534
 
  msdosdjgpp*)
6535
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
6536
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
6537
 
    # during glob expansion).  Even if it were fixed, the result of this
6538
 
    # check would be larger than it should be.
6539
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6540
 
    ;;
6541
 
 
6542
 
  gnu*)
6543
 
    # Under GNU Hurd, this test is not required because there is
6544
 
    # no limit to the length of command line arguments.
6545
 
    # Libtool will interpret -1 as no limit whatsoever
6546
 
    lt_cv_sys_max_cmd_len=-1;
6547
 
    ;;
6548
 
 
6549
 
  cygwin* | mingw*)
6550
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
6551
 
    # about 5 minutes as the teststring grows exponentially.
6552
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
6553
 
    # you end up with a "frozen" computer, even though with patience
6554
 
    # the test eventually succeeds (with a max line length of 256k).
6555
 
    # Instead, let's just punt: use the minimum linelength reported by
6556
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
6557
 
    lt_cv_sys_max_cmd_len=8192;
6558
 
    ;;
6559
 
 
6560
 
  amigaos*)
6561
 
    # On AmigaOS with pdksh, this test takes hours, literally.
6562
 
    # So we just punt and use a minimum line length of 8192.
6563
 
    lt_cv_sys_max_cmd_len=8192;
6564
 
    ;;
6565
 
 
6566
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6567
 
    # This has been around since 386BSD, at least.  Likely further.
6568
 
    if test -x /sbin/sysctl; then
6569
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6570
 
    elif test -x /usr/sbin/sysctl; then
6571
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6572
 
    else
6573
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6574
 
    fi
6575
 
    # And add a safety zone
6576
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6577
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6578
 
    ;;
6579
 
 
6580
 
  interix*)
6581
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6582
 
    lt_cv_sys_max_cmd_len=196608
6583
 
    ;;
6584
 
 
6585
 
  osf*)
6586
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6587
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6588
 
    # nice to cause kernel panics so lets avoid the loop below.
6589
 
    # First set a reasonable default.
6590
 
    lt_cv_sys_max_cmd_len=16384
6591
 
    #
6592
 
    if test -x /sbin/sysconfig; then
6593
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6594
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6595
 
      esac
6596
 
    fi
6597
 
    ;;
6598
 
  sco3.2v5*)
6599
 
    lt_cv_sys_max_cmd_len=102400
6600
 
    ;;
6601
 
  sysv5* | sco5v6* | sysv4.2uw2*)
6602
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6603
 
    if test -n "$kargmax"; then
6604
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
6605
 
    else
6606
 
      lt_cv_sys_max_cmd_len=32768
6607
 
    fi
6608
 
    ;;
6609
 
  *)
6610
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6611
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
6612
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6613
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6614
 
    else
6615
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6616
 
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6617
 
               = "XX$teststring") >/dev/null 2>&1 &&
6618
 
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
6619
 
              lt_cv_sys_max_cmd_len=$new_result &&
6620
 
              test $i != 17 # 1/2 MB should be enough
6621
 
      do
6622
 
        i=`expr $i + 1`
6623
 
        teststring=$teststring$teststring
6624
 
      done
6625
 
      teststring=
6626
 
      # Add a significant safety factor because C++ compilers can tack on massive
6627
 
      # amounts of additional arguments before passing them to the linker.
6628
 
      # It appears as though 1/2 is a usable value.
6629
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6630
 
    fi
6631
 
    ;;
6632
 
  esac
6633
 
 
6634
 
fi
6635
 
 
6636
 
if test -n $lt_cv_sys_max_cmd_len ; then
6637
 
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6638
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6639
 
else
6640
 
  { echo "$as_me:$LINENO: result: none" >&5
6641
 
echo "${ECHO_T}none" >&6; }
6642
 
fi
6643
 
 
6644
 
 
6645
 
 
6646
 
 
6647
6389
 
6648
6390
# Check for command to grab the raw symbol name followed by C symbol from nm.
6649
 
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6650
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6651
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6652
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6391
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 
6392
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 
6393
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
6394
  $as_echo_n "(cached) " >&6
6653
6395
else
6654
6396
 
6655
6397
# These are sane defaults that work on at least a few old systems.
6661
6403
# Regexp to match symbols that can be accessed directly from C.
6662
6404
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6663
6405
 
6664
 
# Transform an extracted symbol line into a proper C declaration
6665
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6666
 
 
6667
 
# Transform an extracted symbol line into symbol name and symbol address
6668
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
6669
 
 
6670
6406
# Define system-specific variables.
6671
6407
case $host_os in
6672
6408
aix*)
6673
6409
  symcode='[BCDT]'
6674
6410
  ;;
6675
 
cygwin* | mingw* | pw32*)
 
6411
cygwin* | mingw* | pw32* | cegcc*)
6676
6412
  symcode='[ABCDGISTW]'
6677
6413
  ;;
6678
 
hpux*) # Its linker distinguishes data from code symbols
 
6414
hpux*)
6679
6415
  if test "$host_cpu" = ia64; then
6680
6416
    symcode='[ABCDEGRST]'
6681
6417
  fi
6682
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6683
 
  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
6684
 
  ;;
6685
 
linux* | k*bsd*-gnu)
6686
 
  if test "$host_cpu" = ia64; then
6687
 
    symcode='[ABCDGIRSTW]'
6688
 
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6689
 
    lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
6690
 
  fi
6691
6418
  ;;
6692
6419
irix* | nonstopux*)
6693
6420
  symcode='[BCDEGRST]'
6712
6439
  ;;
6713
6440
esac
6714
6441
 
 
6442
# If we're using GNU nm, then use its standard symbol codes.
 
6443
case `$NM -V 2>&1` in
 
6444
*GNU* | *'with BFD'*)
 
6445
  symcode='[ABCDGIRSTW]' ;;
 
6446
esac
 
6447
 
 
6448
# Transform an extracted symbol line into a proper C declaration.
 
6449
# Some systems (esp. on ia64) link data and code symbols differently,
 
6450
# so use this general approach.
 
6451
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
6452
 
 
6453
# Transform an extracted symbol line into symbol name and symbol address
 
6454
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
6455
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'"
 
6456
 
6715
6457
# Handle CRLF in mingw tool chain
6716
6458
opt_cr=
6717
6459
case $build_os in
6718
6460
mingw*)
6719
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
6461
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6720
6462
  ;;
6721
6463
esac
6722
6464
 
6723
 
# If we're using GNU nm, then use its standard symbol codes.
6724
 
case `$NM -V 2>&1` in
6725
 
*GNU* | *'with BFD'*)
6726
 
  symcode='[ABCDGIRSTW]' ;;
6727
 
esac
6728
 
 
6729
 
# Try without a prefix undercore, then with it.
 
6465
# Try without a prefix underscore, then with it.
6730
6466
for ac_symprfx in "" "_"; do
6731
6467
 
6732
6468
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6733
6469
  symxfrm="\\1 $ac_symprfx\\2 \\2"
6734
6470
 
6735
6471
  # Write the raw and C identifiers.
6736
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
6472
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
6473
    # Fake it for dumpbin and say T for any non-static function
 
6474
    # and D for any global variable.
 
6475
    # Also find C++ and __fastcall symbols from MSVC++,
 
6476
    # which start with @ or ?.
 
6477
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
6478
"     {last_section=section; section=\$ 3};"\
 
6479
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
6480
"     \$ 0!~/External *\|/{next};"\
 
6481
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
6482
"     {if(hide[section]) next};"\
 
6483
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
6484
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
6485
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
6486
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
6487
"     ' prfx=^$ac_symprfx"
 
6488
  else
 
6489
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
6490
  fi
6737
6491
 
6738
6492
  # Check to see that the pipe works correctly.
6739
6493
  pipe_works=no
6740
6494
 
6741
6495
  rm -f conftest*
6742
 
  cat > conftest.$ac_ext <<EOF
 
6496
  cat > conftest.$ac_ext <<_LT_EOF
6743
6497
#ifdef __cplusplus
6744
6498
extern "C" {
6745
6499
#endif
6746
6500
char nm_test_var;
6747
 
void nm_test_func(){}
 
6501
void nm_test_func(void);
 
6502
void nm_test_func(void){}
6748
6503
#ifdef __cplusplus
6749
6504
}
6750
6505
#endif
6751
6506
int main(){nm_test_var='a';nm_test_func();return(0);}
6752
 
EOF
 
6507
_LT_EOF
6753
6508
 
6754
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6509
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6755
6510
  (eval $ac_compile) 2>&5
6756
6511
  ac_status=$?
6757
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6758
 
  (exit $ac_status); }; then
 
6512
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6513
  test $ac_status = 0; }; then
6759
6514
    # Now try to grab the symbols.
6760
6515
    nlist=conftest.nm
6761
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
 
6516
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6762
6517
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6763
6518
  ac_status=$?
6764
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6765
 
  (exit $ac_status); } && test -s "$nlist"; then
 
6519
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6520
  test $ac_status = 0; } && test -s "$nlist"; then
6766
6521
      # Try sorting and uniquifying the output.
6767
6522
      if sort "$nlist" | uniq > "$nlist"T; then
6768
6523
        mv -f "$nlist"T "$nlist"
6771
6526
      fi
6772
6527
 
6773
6528
      # Make sure that we snagged all the symbols we need.
6774
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
6775
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
6776
 
          cat <<EOF > conftest.$ac_ext
 
6529
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
6530
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
6531
          cat <<_LT_EOF > conftest.$ac_ext
6777
6532
#ifdef __cplusplus
6778
6533
extern "C" {
6779
6534
#endif
6780
6535
 
6781
 
EOF
 
6536
_LT_EOF
6782
6537
          # Now generate the symbol file.
6783
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6784
 
 
6785
 
          cat <<EOF >> conftest.$ac_ext
6786
 
#if defined (__STDC__) && __STDC__
6787
 
# define lt_ptr_t void *
6788
 
#else
6789
 
# define lt_ptr_t char *
6790
 
# define const
6791
 
#endif
6792
 
 
6793
 
/* The mapping between symbol names and symbols. */
 
6538
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
6539
 
 
6540
          cat <<_LT_EOF >> conftest.$ac_ext
 
6541
 
 
6542
/* The mapping between symbol names and symbols.  */
6794
6543
const struct {
6795
6544
  const char *name;
6796
 
  lt_ptr_t address;
 
6545
  void       *address;
6797
6546
}
6798
 
lt_preloaded_symbols[] =
 
6547
lt__PROGRAM__LTX_preloaded_symbols[] =
6799
6548
{
6800
 
EOF
6801
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
6802
 
          cat <<\EOF >> conftest.$ac_ext
6803
 
  {0, (lt_ptr_t) 0}
 
6549
  { "@PROGRAM@", (void *) 0 },
 
6550
_LT_EOF
 
6551
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
6552
          cat <<\_LT_EOF >> conftest.$ac_ext
 
6553
  {0, (void *) 0}
6804
6554
};
6805
6555
 
 
6556
/* This works around a problem in FreeBSD linker */
 
6557
#ifdef FREEBSD_WORKAROUND
 
6558
static const void *lt_preloaded_setup() {
 
6559
  return lt__PROGRAM__LTX_preloaded_symbols;
 
6560
}
 
6561
#endif
 
6562
 
6806
6563
#ifdef __cplusplus
6807
6564
}
6808
6565
#endif
6809
 
EOF
 
6566
_LT_EOF
6810
6567
          # Now try linking the two files.
6811
6568
          mv conftest.$ac_objext conftstm.$ac_objext
6812
6569
          lt_save_LIBS="$LIBS"
6813
6570
          lt_save_CFLAGS="$CFLAGS"
6814
6571
          LIBS="conftstm.$ac_objext"
6815
6572
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6816
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
6573
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6817
6574
  (eval $ac_link) 2>&5
6818
6575
  ac_status=$?
6819
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6820
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 
6576
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6577
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6821
6578
            pipe_works=yes
6822
6579
          fi
6823
6580
          LIBS="$lt_save_LIBS"
6835
6592
    echo "$progname: failed program was:" >&5
6836
6593
    cat conftest.$ac_ext >&5
6837
6594
  fi
6838
 
  rm -f conftest* conftst*
 
6595
  rm -rf conftest* conftst*
6839
6596
 
6840
6597
  # Do not use the global_symbol_pipe unless it works.
6841
6598
  if test "$pipe_works" = yes; then
6851
6608
  lt_cv_sys_global_symbol_to_cdecl=
6852
6609
fi
6853
6610
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6854
 
  { echo "$as_me:$LINENO: result: failed" >&5
6855
 
echo "${ECHO_T}failed" >&6; }
6856
 
else
6857
 
  { echo "$as_me:$LINENO: result: ok" >&5
6858
 
echo "${ECHO_T}ok" >&6; }
6859
 
fi
6860
 
 
6861
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
6862
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6863
 
if test "${lt_cv_objdir+set}" = set; then
6864
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6611
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 
6612
$as_echo "failed" >&6; }
 
6613
else
 
6614
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
6615
$as_echo "ok" >&6; }
 
6616
fi
 
6617
 
 
6618
 
 
6619
 
 
6620
 
 
6621
 
 
6622
 
 
6623
 
 
6624
 
 
6625
 
 
6626
 
 
6627
 
 
6628
 
 
6629
 
 
6630
 
 
6631
 
 
6632
 
 
6633
 
 
6634
 
 
6635
 
 
6636
 
 
6637
 
 
6638
 
 
6639
# Check whether --enable-libtool-lock was given.
 
6640
if test "${enable_libtool_lock+set}" = set; then :
 
6641
  enableval=$enable_libtool_lock;
 
6642
fi
 
6643
 
 
6644
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
6645
 
 
6646
# Some flags need to be propagated to the compiler or linker for good
 
6647
# libtool support.
 
6648
case $host in
 
6649
ia64-*-hpux*)
 
6650
  # Find out which ABI we are using.
 
6651
  echo 'int i;' > conftest.$ac_ext
 
6652
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6653
  (eval $ac_compile) 2>&5
 
6654
  ac_status=$?
 
6655
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6656
  test $ac_status = 0; }; then
 
6657
    case `/usr/bin/file conftest.$ac_objext` in
 
6658
      *ELF-32*)
 
6659
        HPUX_IA64_MODE="32"
 
6660
        ;;
 
6661
      *ELF-64*)
 
6662
        HPUX_IA64_MODE="64"
 
6663
        ;;
 
6664
    esac
 
6665
  fi
 
6666
  rm -rf conftest*
 
6667
  ;;
 
6668
*-*-irix6*)
 
6669
  # Find out which ABI we are using.
 
6670
  echo '#line 6670 "configure"' > conftest.$ac_ext
 
6671
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6672
  (eval $ac_compile) 2>&5
 
6673
  ac_status=$?
 
6674
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6675
  test $ac_status = 0; }; then
 
6676
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
6677
      case `/usr/bin/file conftest.$ac_objext` in
 
6678
        *32-bit*)
 
6679
          LD="${LD-ld} -melf32bsmip"
 
6680
          ;;
 
6681
        *N32*)
 
6682
          LD="${LD-ld} -melf32bmipn32"
 
6683
          ;;
 
6684
        *64-bit*)
 
6685
          LD="${LD-ld} -melf64bmip"
 
6686
        ;;
 
6687
      esac
 
6688
    else
 
6689
      case `/usr/bin/file conftest.$ac_objext` in
 
6690
        *32-bit*)
 
6691
          LD="${LD-ld} -32"
 
6692
          ;;
 
6693
        *N32*)
 
6694
          LD="${LD-ld} -n32"
 
6695
          ;;
 
6696
        *64-bit*)
 
6697
          LD="${LD-ld} -64"
 
6698
          ;;
 
6699
      esac
 
6700
    fi
 
6701
  fi
 
6702
  rm -rf conftest*
 
6703
  ;;
 
6704
 
 
6705
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
6706
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
6707
  # Find out which ABI we are using.
 
6708
  echo 'int i;' > conftest.$ac_ext
 
6709
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6710
  (eval $ac_compile) 2>&5
 
6711
  ac_status=$?
 
6712
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6713
  test $ac_status = 0; }; then
 
6714
    case `/usr/bin/file conftest.o` in
 
6715
      *32-bit*)
 
6716
        case $host in
 
6717
          x86_64-*kfreebsd*-gnu)
 
6718
            LD="${LD-ld} -m elf_i386_fbsd"
 
6719
            ;;
 
6720
          x86_64-*linux*)
 
6721
            LD="${LD-ld} -m elf_i386"
 
6722
            ;;
 
6723
          ppc64-*linux*|powerpc64-*linux*)
 
6724
            LD="${LD-ld} -m elf32ppclinux"
 
6725
            ;;
 
6726
          s390x-*linux*)
 
6727
            LD="${LD-ld} -m elf_s390"
 
6728
            ;;
 
6729
          sparc64-*linux*)
 
6730
            LD="${LD-ld} -m elf32_sparc"
 
6731
            ;;
 
6732
        esac
 
6733
        ;;
 
6734
      *64-bit*)
 
6735
        case $host in
 
6736
          x86_64-*kfreebsd*-gnu)
 
6737
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
6738
            ;;
 
6739
          x86_64-*linux*)
 
6740
            LD="${LD-ld} -m elf_x86_64"
 
6741
            ;;
 
6742
          ppc*-*linux*|powerpc*-*linux*)
 
6743
            LD="${LD-ld} -m elf64ppc"
 
6744
            ;;
 
6745
          s390*-*linux*|s390*-*tpf*)
 
6746
            LD="${LD-ld} -m elf64_s390"
 
6747
            ;;
 
6748
          sparc*-*linux*)
 
6749
            LD="${LD-ld} -m elf64_sparc"
 
6750
            ;;
 
6751
        esac
 
6752
        ;;
 
6753
    esac
 
6754
  fi
 
6755
  rm -rf conftest*
 
6756
  ;;
 
6757
 
 
6758
*-*-sco3.2v5*)
 
6759
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
6760
  SAVE_CFLAGS="$CFLAGS"
 
6761
  CFLAGS="$CFLAGS -belf"
 
6762
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 
6763
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
6764
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
6765
  $as_echo_n "(cached) " >&6
 
6766
else
 
6767
  ac_ext=c
 
6768
ac_cpp='$CPP $CPPFLAGS'
 
6769
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6770
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6771
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6772
 
 
6773
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6774
/* end confdefs.h.  */
 
6775
 
 
6776
int
 
6777
main ()
 
6778
{
 
6779
 
 
6780
  ;
 
6781
  return 0;
 
6782
}
 
6783
_ACEOF
 
6784
if ac_fn_c_try_link "$LINENO"; then :
 
6785
  lt_cv_cc_needs_belf=yes
 
6786
else
 
6787
  lt_cv_cc_needs_belf=no
 
6788
fi
 
6789
rm -f core conftest.err conftest.$ac_objext \
 
6790
    conftest$ac_exeext conftest.$ac_ext
 
6791
     ac_ext=c
 
6792
ac_cpp='$CPP $CPPFLAGS'
 
6793
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6794
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6795
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6796
 
 
6797
fi
 
6798
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 
6799
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
6800
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
6801
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
6802
    CFLAGS="$SAVE_CFLAGS"
 
6803
  fi
 
6804
  ;;
 
6805
sparc*-*solaris*)
 
6806
  # Find out which ABI we are using.
 
6807
  echo 'int i;' > conftest.$ac_ext
 
6808
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6809
  (eval $ac_compile) 2>&5
 
6810
  ac_status=$?
 
6811
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6812
  test $ac_status = 0; }; then
 
6813
    case `/usr/bin/file conftest.o` in
 
6814
    *64-bit*)
 
6815
      case $lt_cv_prog_gnu_ld in
 
6816
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
6817
      *)
 
6818
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
6819
          LD="${LD-ld} -64"
 
6820
        fi
 
6821
        ;;
 
6822
      esac
 
6823
      ;;
 
6824
    esac
 
6825
  fi
 
6826
  rm -rf conftest*
 
6827
  ;;
 
6828
esac
 
6829
 
 
6830
need_locks="$enable_libtool_lock"
 
6831
 
 
6832
 
 
6833
  case $host_os in
 
6834
    rhapsody* | darwin*)
 
6835
    if test -n "$ac_tool_prefix"; then
 
6836
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
6837
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
6838
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6839
$as_echo_n "checking for $ac_word... " >&6; }
 
6840
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
6841
  $as_echo_n "(cached) " >&6
 
6842
else
 
6843
  if test -n "$DSYMUTIL"; then
 
6844
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
6845
else
 
6846
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6847
for as_dir in $PATH
 
6848
do
 
6849
  IFS=$as_save_IFS
 
6850
  test -z "$as_dir" && as_dir=.
 
6851
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6852
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6853
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
6854
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6855
    break 2
 
6856
  fi
 
6857
done
 
6858
  done
 
6859
IFS=$as_save_IFS
 
6860
 
 
6861
fi
 
6862
fi
 
6863
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
6864
if test -n "$DSYMUTIL"; then
 
6865
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 
6866
$as_echo "$DSYMUTIL" >&6; }
 
6867
else
 
6868
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6869
$as_echo "no" >&6; }
 
6870
fi
 
6871
 
 
6872
 
 
6873
fi
 
6874
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
6875
  ac_ct_DSYMUTIL=$DSYMUTIL
 
6876
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
6877
set dummy dsymutil; ac_word=$2
 
6878
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6879
$as_echo_n "checking for $ac_word... " >&6; }
 
6880
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
6881
  $as_echo_n "(cached) " >&6
 
6882
else
 
6883
  if test -n "$ac_ct_DSYMUTIL"; then
 
6884
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
6885
else
 
6886
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6887
for as_dir in $PATH
 
6888
do
 
6889
  IFS=$as_save_IFS
 
6890
  test -z "$as_dir" && as_dir=.
 
6891
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6892
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6893
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
6894
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6895
    break 2
 
6896
  fi
 
6897
done
 
6898
  done
 
6899
IFS=$as_save_IFS
 
6900
 
 
6901
fi
 
6902
fi
 
6903
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
6904
if test -n "$ac_ct_DSYMUTIL"; then
 
6905
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 
6906
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
6907
else
 
6908
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6909
$as_echo "no" >&6; }
 
6910
fi
 
6911
 
 
6912
  if test "x$ac_ct_DSYMUTIL" = x; then
 
6913
    DSYMUTIL=":"
 
6914
  else
 
6915
    case $cross_compiling:$ac_tool_warned in
 
6916
yes:)
 
6917
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6918
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6919
ac_tool_warned=yes ;;
 
6920
esac
 
6921
    DSYMUTIL=$ac_ct_DSYMUTIL
 
6922
  fi
 
6923
else
 
6924
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
6925
fi
 
6926
 
 
6927
    if test -n "$ac_tool_prefix"; then
 
6928
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
6929
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
6930
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6931
$as_echo_n "checking for $ac_word... " >&6; }
 
6932
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
6933
  $as_echo_n "(cached) " >&6
 
6934
else
 
6935
  if test -n "$NMEDIT"; then
 
6936
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
6937
else
 
6938
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6939
for as_dir in $PATH
 
6940
do
 
6941
  IFS=$as_save_IFS
 
6942
  test -z "$as_dir" && as_dir=.
 
6943
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6944
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6945
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
6946
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6947
    break 2
 
6948
  fi
 
6949
done
 
6950
  done
 
6951
IFS=$as_save_IFS
 
6952
 
 
6953
fi
 
6954
fi
 
6955
NMEDIT=$ac_cv_prog_NMEDIT
 
6956
if test -n "$NMEDIT"; then
 
6957
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 
6958
$as_echo "$NMEDIT" >&6; }
 
6959
else
 
6960
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6961
$as_echo "no" >&6; }
 
6962
fi
 
6963
 
 
6964
 
 
6965
fi
 
6966
if test -z "$ac_cv_prog_NMEDIT"; then
 
6967
  ac_ct_NMEDIT=$NMEDIT
 
6968
  # Extract the first word of "nmedit", so it can be a program name with args.
 
6969
set dummy nmedit; ac_word=$2
 
6970
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6971
$as_echo_n "checking for $ac_word... " >&6; }
 
6972
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
6973
  $as_echo_n "(cached) " >&6
 
6974
else
 
6975
  if test -n "$ac_ct_NMEDIT"; then
 
6976
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
6977
else
 
6978
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6979
for as_dir in $PATH
 
6980
do
 
6981
  IFS=$as_save_IFS
 
6982
  test -z "$as_dir" && as_dir=.
 
6983
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6984
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6985
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
6986
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6987
    break 2
 
6988
  fi
 
6989
done
 
6990
  done
 
6991
IFS=$as_save_IFS
 
6992
 
 
6993
fi
 
6994
fi
 
6995
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
6996
if test -n "$ac_ct_NMEDIT"; then
 
6997
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 
6998
$as_echo "$ac_ct_NMEDIT" >&6; }
 
6999
else
 
7000
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7001
$as_echo "no" >&6; }
 
7002
fi
 
7003
 
 
7004
  if test "x$ac_ct_NMEDIT" = x; then
 
7005
    NMEDIT=":"
 
7006
  else
 
7007
    case $cross_compiling:$ac_tool_warned in
 
7008
yes:)
 
7009
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7010
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7011
ac_tool_warned=yes ;;
 
7012
esac
 
7013
    NMEDIT=$ac_ct_NMEDIT
 
7014
  fi
 
7015
else
 
7016
  NMEDIT="$ac_cv_prog_NMEDIT"
 
7017
fi
 
7018
 
 
7019
    if test -n "$ac_tool_prefix"; then
 
7020
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
7021
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
7022
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7023
$as_echo_n "checking for $ac_word... " >&6; }
 
7024
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
7025
  $as_echo_n "(cached) " >&6
 
7026
else
 
7027
  if test -n "$LIPO"; then
 
7028
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
7029
else
 
7030
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7031
for as_dir in $PATH
 
7032
do
 
7033
  IFS=$as_save_IFS
 
7034
  test -z "$as_dir" && as_dir=.
 
7035
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7036
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7037
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
7038
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7039
    break 2
 
7040
  fi
 
7041
done
 
7042
  done
 
7043
IFS=$as_save_IFS
 
7044
 
 
7045
fi
 
7046
fi
 
7047
LIPO=$ac_cv_prog_LIPO
 
7048
if test -n "$LIPO"; then
 
7049
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
7050
$as_echo "$LIPO" >&6; }
 
7051
else
 
7052
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7053
$as_echo "no" >&6; }
 
7054
fi
 
7055
 
 
7056
 
 
7057
fi
 
7058
if test -z "$ac_cv_prog_LIPO"; then
 
7059
  ac_ct_LIPO=$LIPO
 
7060
  # Extract the first word of "lipo", so it can be a program name with args.
 
7061
set dummy lipo; ac_word=$2
 
7062
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7063
$as_echo_n "checking for $ac_word... " >&6; }
 
7064
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
7065
  $as_echo_n "(cached) " >&6
 
7066
else
 
7067
  if test -n "$ac_ct_LIPO"; then
 
7068
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
7069
else
 
7070
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7071
for as_dir in $PATH
 
7072
do
 
7073
  IFS=$as_save_IFS
 
7074
  test -z "$as_dir" && as_dir=.
 
7075
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7076
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7077
    ac_cv_prog_ac_ct_LIPO="lipo"
 
7078
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7079
    break 2
 
7080
  fi
 
7081
done
 
7082
  done
 
7083
IFS=$as_save_IFS
 
7084
 
 
7085
fi
 
7086
fi
 
7087
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
7088
if test -n "$ac_ct_LIPO"; then
 
7089
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 
7090
$as_echo "$ac_ct_LIPO" >&6; }
 
7091
else
 
7092
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7093
$as_echo "no" >&6; }
 
7094
fi
 
7095
 
 
7096
  if test "x$ac_ct_LIPO" = x; then
 
7097
    LIPO=":"
 
7098
  else
 
7099
    case $cross_compiling:$ac_tool_warned in
 
7100
yes:)
 
7101
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7102
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7103
ac_tool_warned=yes ;;
 
7104
esac
 
7105
    LIPO=$ac_ct_LIPO
 
7106
  fi
 
7107
else
 
7108
  LIPO="$ac_cv_prog_LIPO"
 
7109
fi
 
7110
 
 
7111
    if test -n "$ac_tool_prefix"; then
 
7112
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
7113
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
7114
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7115
$as_echo_n "checking for $ac_word... " >&6; }
 
7116
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
7117
  $as_echo_n "(cached) " >&6
 
7118
else
 
7119
  if test -n "$OTOOL"; then
 
7120
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
7121
else
 
7122
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7123
for as_dir in $PATH
 
7124
do
 
7125
  IFS=$as_save_IFS
 
7126
  test -z "$as_dir" && as_dir=.
 
7127
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7128
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7129
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
7130
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7131
    break 2
 
7132
  fi
 
7133
done
 
7134
  done
 
7135
IFS=$as_save_IFS
 
7136
 
 
7137
fi
 
7138
fi
 
7139
OTOOL=$ac_cv_prog_OTOOL
 
7140
if test -n "$OTOOL"; then
 
7141
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 
7142
$as_echo "$OTOOL" >&6; }
 
7143
else
 
7144
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7145
$as_echo "no" >&6; }
 
7146
fi
 
7147
 
 
7148
 
 
7149
fi
 
7150
if test -z "$ac_cv_prog_OTOOL"; then
 
7151
  ac_ct_OTOOL=$OTOOL
 
7152
  # Extract the first word of "otool", so it can be a program name with args.
 
7153
set dummy otool; ac_word=$2
 
7154
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7155
$as_echo_n "checking for $ac_word... " >&6; }
 
7156
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
7157
  $as_echo_n "(cached) " >&6
 
7158
else
 
7159
  if test -n "$ac_ct_OTOOL"; then
 
7160
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
7161
else
 
7162
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7163
for as_dir in $PATH
 
7164
do
 
7165
  IFS=$as_save_IFS
 
7166
  test -z "$as_dir" && as_dir=.
 
7167
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7168
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7169
    ac_cv_prog_ac_ct_OTOOL="otool"
 
7170
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7171
    break 2
 
7172
  fi
 
7173
done
 
7174
  done
 
7175
IFS=$as_save_IFS
 
7176
 
 
7177
fi
 
7178
fi
 
7179
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
7180
if test -n "$ac_ct_OTOOL"; then
 
7181
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 
7182
$as_echo "$ac_ct_OTOOL" >&6; }
 
7183
else
 
7184
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7185
$as_echo "no" >&6; }
 
7186
fi
 
7187
 
 
7188
  if test "x$ac_ct_OTOOL" = x; then
 
7189
    OTOOL=":"
 
7190
  else
 
7191
    case $cross_compiling:$ac_tool_warned in
 
7192
yes:)
 
7193
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7194
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7195
ac_tool_warned=yes ;;
 
7196
esac
 
7197
    OTOOL=$ac_ct_OTOOL
 
7198
  fi
 
7199
else
 
7200
  OTOOL="$ac_cv_prog_OTOOL"
 
7201
fi
 
7202
 
 
7203
    if test -n "$ac_tool_prefix"; then
 
7204
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
7205
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
7206
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7207
$as_echo_n "checking for $ac_word... " >&6; }
 
7208
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
7209
  $as_echo_n "(cached) " >&6
 
7210
else
 
7211
  if test -n "$OTOOL64"; then
 
7212
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
7213
else
 
7214
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7215
for as_dir in $PATH
 
7216
do
 
7217
  IFS=$as_save_IFS
 
7218
  test -z "$as_dir" && as_dir=.
 
7219
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7220
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7221
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
7222
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7223
    break 2
 
7224
  fi
 
7225
done
 
7226
  done
 
7227
IFS=$as_save_IFS
 
7228
 
 
7229
fi
 
7230
fi
 
7231
OTOOL64=$ac_cv_prog_OTOOL64
 
7232
if test -n "$OTOOL64"; then
 
7233
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 
7234
$as_echo "$OTOOL64" >&6; }
 
7235
else
 
7236
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7237
$as_echo "no" >&6; }
 
7238
fi
 
7239
 
 
7240
 
 
7241
fi
 
7242
if test -z "$ac_cv_prog_OTOOL64"; then
 
7243
  ac_ct_OTOOL64=$OTOOL64
 
7244
  # Extract the first word of "otool64", so it can be a program name with args.
 
7245
set dummy otool64; ac_word=$2
 
7246
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7247
$as_echo_n "checking for $ac_word... " >&6; }
 
7248
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
7249
  $as_echo_n "(cached) " >&6
 
7250
else
 
7251
  if test -n "$ac_ct_OTOOL64"; then
 
7252
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
7253
else
 
7254
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7255
for as_dir in $PATH
 
7256
do
 
7257
  IFS=$as_save_IFS
 
7258
  test -z "$as_dir" && as_dir=.
 
7259
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7260
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7261
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
7262
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7263
    break 2
 
7264
  fi
 
7265
done
 
7266
  done
 
7267
IFS=$as_save_IFS
 
7268
 
 
7269
fi
 
7270
fi
 
7271
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
7272
if test -n "$ac_ct_OTOOL64"; then
 
7273
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 
7274
$as_echo "$ac_ct_OTOOL64" >&6; }
 
7275
else
 
7276
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7277
$as_echo "no" >&6; }
 
7278
fi
 
7279
 
 
7280
  if test "x$ac_ct_OTOOL64" = x; then
 
7281
    OTOOL64=":"
 
7282
  else
 
7283
    case $cross_compiling:$ac_tool_warned in
 
7284
yes:)
 
7285
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7286
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7287
ac_tool_warned=yes ;;
 
7288
esac
 
7289
    OTOOL64=$ac_ct_OTOOL64
 
7290
  fi
 
7291
else
 
7292
  OTOOL64="$ac_cv_prog_OTOOL64"
 
7293
fi
 
7294
 
 
7295
 
 
7296
 
 
7297
 
 
7298
 
 
7299
 
 
7300
 
 
7301
 
 
7302
 
 
7303
 
 
7304
 
 
7305
 
 
7306
 
 
7307
 
 
7308
 
 
7309
 
 
7310
 
 
7311
 
 
7312
 
 
7313
 
 
7314
 
 
7315
 
 
7316
 
 
7317
 
 
7318
 
 
7319
 
 
7320
 
 
7321
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 
7322
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
7323
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
7324
  $as_echo_n "(cached) " >&6
 
7325
else
 
7326
  lt_cv_apple_cc_single_mod=no
 
7327
      if test -z "${LT_MULTI_MODULE}"; then
 
7328
        # By default we will add the -single_module flag. You can override
 
7329
        # by either setting the environment variable LT_MULTI_MODULE
 
7330
        # non-empty at configure time, or by adding -multi_module to the
 
7331
        # link flags.
 
7332
        rm -rf libconftest.dylib*
 
7333
        echo "int foo(void){return 1;}" > conftest.c
 
7334
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7335
-dynamiclib -Wl,-single_module conftest.c" >&5
 
7336
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7337
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
7338
        _lt_result=$?
 
7339
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
7340
          lt_cv_apple_cc_single_mod=yes
 
7341
        else
 
7342
          cat conftest.err >&5
 
7343
        fi
 
7344
        rm -rf libconftest.dylib*
 
7345
        rm -f conftest.*
 
7346
      fi
 
7347
fi
 
7348
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 
7349
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
7350
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 
7351
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
7352
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
7353
  $as_echo_n "(cached) " >&6
 
7354
else
 
7355
  lt_cv_ld_exported_symbols_list=no
 
7356
      save_LDFLAGS=$LDFLAGS
 
7357
      echo "_main" > conftest.sym
 
7358
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
7359
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7360
/* end confdefs.h.  */
 
7361
 
 
7362
int
 
7363
main ()
 
7364
{
 
7365
 
 
7366
  ;
 
7367
  return 0;
 
7368
}
 
7369
_ACEOF
 
7370
if ac_fn_c_try_link "$LINENO"; then :
 
7371
  lt_cv_ld_exported_symbols_list=yes
 
7372
else
 
7373
  lt_cv_ld_exported_symbols_list=no
 
7374
fi
 
7375
rm -f core conftest.err conftest.$ac_objext \
 
7376
    conftest$ac_exeext conftest.$ac_ext
 
7377
        LDFLAGS="$save_LDFLAGS"
 
7378
 
 
7379
fi
 
7380
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 
7381
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
7382
    case $host_os in
 
7383
    rhapsody* | darwin1.[012])
 
7384
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
7385
    darwin1.*)
 
7386
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7387
    darwin*) # darwin 5.x on
 
7388
      # if running on 10.5 or later, the deployment target defaults
 
7389
      # to the OS version, if on x86, and 10.4, the deployment
 
7390
      # target defaults to 10.4. Don't you love it?
 
7391
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
7392
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
7393
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7394
        10.[012]*)
 
7395
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7396
        10.*)
 
7397
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7398
      esac
 
7399
    ;;
 
7400
  esac
 
7401
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
7402
      _lt_dar_single_mod='$single_module'
 
7403
    fi
 
7404
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
7405
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
7406
    else
 
7407
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
7408
    fi
 
7409
    if test "$DSYMUTIL" != ":"; then
 
7410
      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
7411
    else
 
7412
      _lt_dsymutil=
 
7413
    fi
 
7414
    ;;
 
7415
  esac
 
7416
 
 
7417
ac_ext=c
 
7418
ac_cpp='$CPP $CPPFLAGS'
 
7419
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7420
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7421
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7422
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
7423
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
7424
# On Suns, sometimes $CPP names a directory.
 
7425
if test -n "$CPP" && test -d "$CPP"; then
 
7426
  CPP=
 
7427
fi
 
7428
if test -z "$CPP"; then
 
7429
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
7430
  $as_echo_n "(cached) " >&6
 
7431
else
 
7432
      # Double quotes because CPP needs to be expanded
 
7433
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
7434
    do
 
7435
      ac_preproc_ok=false
 
7436
for ac_c_preproc_warn_flag in '' yes
 
7437
do
 
7438
  # Use a header file that comes with gcc, so configuring glibc
 
7439
  # with a fresh cross-compiler works.
 
7440
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7441
  # <limits.h> exists even on freestanding compilers.
 
7442
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
7443
  # not just through cpp. "Syntax error" is here to catch this case.
 
7444
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7445
/* end confdefs.h.  */
 
7446
#ifdef __STDC__
 
7447
# include <limits.h>
 
7448
#else
 
7449
# include <assert.h>
 
7450
#endif
 
7451
                     Syntax error
 
7452
_ACEOF
 
7453
if ac_fn_c_try_cpp "$LINENO"; then :
 
7454
 
 
7455
else
 
7456
  # Broken: fails on valid input.
 
7457
continue
 
7458
fi
 
7459
rm -f conftest.err conftest.$ac_ext
 
7460
 
 
7461
  # OK, works on sane cases.  Now check whether nonexistent headers
 
7462
  # can be detected and how.
 
7463
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7464
/* end confdefs.h.  */
 
7465
#include <ac_nonexistent.h>
 
7466
_ACEOF
 
7467
if ac_fn_c_try_cpp "$LINENO"; then :
 
7468
  # Broken: success on invalid input.
 
7469
continue
 
7470
else
 
7471
  # Passes both tests.
 
7472
ac_preproc_ok=:
 
7473
break
 
7474
fi
 
7475
rm -f conftest.err conftest.$ac_ext
 
7476
 
 
7477
done
 
7478
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
7479
rm -f conftest.err conftest.$ac_ext
 
7480
if $ac_preproc_ok; then :
 
7481
  break
 
7482
fi
 
7483
 
 
7484
    done
 
7485
    ac_cv_prog_CPP=$CPP
 
7486
 
 
7487
fi
 
7488
  CPP=$ac_cv_prog_CPP
 
7489
else
 
7490
  ac_cv_prog_CPP=$CPP
 
7491
fi
 
7492
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
7493
$as_echo "$CPP" >&6; }
 
7494
ac_preproc_ok=false
 
7495
for ac_c_preproc_warn_flag in '' yes
 
7496
do
 
7497
  # Use a header file that comes with gcc, so configuring glibc
 
7498
  # with a fresh cross-compiler works.
 
7499
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7500
  # <limits.h> exists even on freestanding compilers.
 
7501
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
7502
  # not just through cpp. "Syntax error" is here to catch this case.
 
7503
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7504
/* end confdefs.h.  */
 
7505
#ifdef __STDC__
 
7506
# include <limits.h>
 
7507
#else
 
7508
# include <assert.h>
 
7509
#endif
 
7510
                     Syntax error
 
7511
_ACEOF
 
7512
if ac_fn_c_try_cpp "$LINENO"; then :
 
7513
 
 
7514
else
 
7515
  # Broken: fails on valid input.
 
7516
continue
 
7517
fi
 
7518
rm -f conftest.err conftest.$ac_ext
 
7519
 
 
7520
  # OK, works on sane cases.  Now check whether nonexistent headers
 
7521
  # can be detected and how.
 
7522
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7523
/* end confdefs.h.  */
 
7524
#include <ac_nonexistent.h>
 
7525
_ACEOF
 
7526
if ac_fn_c_try_cpp "$LINENO"; then :
 
7527
  # Broken: success on invalid input.
 
7528
continue
 
7529
else
 
7530
  # Passes both tests.
 
7531
ac_preproc_ok=:
 
7532
break
 
7533
fi
 
7534
rm -f conftest.err conftest.$ac_ext
 
7535
 
 
7536
done
 
7537
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
7538
rm -f conftest.err conftest.$ac_ext
 
7539
if $ac_preproc_ok; then :
 
7540
 
 
7541
else
 
7542
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
7543
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
7544
as_fn_error "C preprocessor \"$CPP\" fails sanity check
 
7545
See \`config.log' for more details." "$LINENO" 5; }
 
7546
fi
 
7547
 
 
7548
ac_ext=c
 
7549
ac_cpp='$CPP $CPPFLAGS'
 
7550
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7551
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7552
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7553
 
 
7554
 
 
7555
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
7556
$as_echo_n "checking for ANSI C header files... " >&6; }
 
7557
if test "${ac_cv_header_stdc+set}" = set; then :
 
7558
  $as_echo_n "(cached) " >&6
 
7559
else
 
7560
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7561
/* end confdefs.h.  */
 
7562
#include <stdlib.h>
 
7563
#include <stdarg.h>
 
7564
#include <string.h>
 
7565
#include <float.h>
 
7566
 
 
7567
int
 
7568
main ()
 
7569
{
 
7570
 
 
7571
  ;
 
7572
  return 0;
 
7573
}
 
7574
_ACEOF
 
7575
if ac_fn_c_try_compile "$LINENO"; then :
 
7576
  ac_cv_header_stdc=yes
 
7577
else
 
7578
  ac_cv_header_stdc=no
 
7579
fi
 
7580
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7581
 
 
7582
if test $ac_cv_header_stdc = yes; then
 
7583
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
7584
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7585
/* end confdefs.h.  */
 
7586
#include <string.h>
 
7587
 
 
7588
_ACEOF
 
7589
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
7590
  $EGREP "memchr" >/dev/null 2>&1; then :
 
7591
 
 
7592
else
 
7593
  ac_cv_header_stdc=no
 
7594
fi
 
7595
rm -f conftest*
 
7596
 
 
7597
fi
 
7598
 
 
7599
if test $ac_cv_header_stdc = yes; then
 
7600
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
7601
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7602
/* end confdefs.h.  */
 
7603
#include <stdlib.h>
 
7604
 
 
7605
_ACEOF
 
7606
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
7607
  $EGREP "free" >/dev/null 2>&1; then :
 
7608
 
 
7609
else
 
7610
  ac_cv_header_stdc=no
 
7611
fi
 
7612
rm -f conftest*
 
7613
 
 
7614
fi
 
7615
 
 
7616
if test $ac_cv_header_stdc = yes; then
 
7617
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
7618
  if test "$cross_compiling" = yes; then :
 
7619
  :
 
7620
else
 
7621
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7622
/* end confdefs.h.  */
 
7623
#include <ctype.h>
 
7624
#include <stdlib.h>
 
7625
#if ((' ' & 0x0FF) == 0x020)
 
7626
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
7627
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
7628
#else
 
7629
# define ISLOWER(c) \
 
7630
                   (('a' <= (c) && (c) <= 'i') \
 
7631
                     || ('j' <= (c) && (c) <= 'r') \
 
7632
                     || ('s' <= (c) && (c) <= 'z'))
 
7633
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
7634
#endif
 
7635
 
 
7636
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
7637
int
 
7638
main ()
 
7639
{
 
7640
  int i;
 
7641
  for (i = 0; i < 256; i++)
 
7642
    if (XOR (islower (i), ISLOWER (i))
 
7643
        || toupper (i) != TOUPPER (i))
 
7644
      return 2;
 
7645
  return 0;
 
7646
}
 
7647
_ACEOF
 
7648
if ac_fn_c_try_run "$LINENO"; then :
 
7649
 
 
7650
else
 
7651
  ac_cv_header_stdc=no
 
7652
fi
 
7653
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
7654
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
7655
fi
 
7656
 
 
7657
fi
 
7658
fi
 
7659
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
7660
$as_echo "$ac_cv_header_stdc" >&6; }
 
7661
if test $ac_cv_header_stdc = yes; then
 
7662
 
 
7663
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
7664
 
 
7665
fi
 
7666
 
 
7667
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
7668
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
7669
                  inttypes.h stdint.h unistd.h
 
7670
do :
 
7671
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7672
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
7673
"
 
7674
eval as_val=\$$as_ac_Header
 
7675
   if test "x$as_val" = x""yes; then :
 
7676
  cat >>confdefs.h <<_ACEOF
 
7677
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7678
_ACEOF
 
7679
 
 
7680
fi
 
7681
 
 
7682
done
 
7683
 
 
7684
 
 
7685
for ac_header in dlfcn.h
 
7686
do :
 
7687
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
7688
"
 
7689
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
7690
  cat >>confdefs.h <<_ACEOF
 
7691
#define HAVE_DLFCN_H 1
 
7692
_ACEOF
 
7693
 
 
7694
fi
 
7695
 
 
7696
done
 
7697
 
 
7698
 
 
7699
 
 
7700
ac_ext=cpp
 
7701
ac_cpp='$CXXCPP $CPPFLAGS'
 
7702
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7703
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7704
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
7705
if test -z "$CXX"; then
 
7706
  if test -n "$CCC"; then
 
7707
    CXX=$CCC
 
7708
  else
 
7709
    if test -n "$ac_tool_prefix"; then
 
7710
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
7711
  do
 
7712
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
7713
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
7714
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7715
$as_echo_n "checking for $ac_word... " >&6; }
 
7716
if test "${ac_cv_prog_CXX+set}" = set; then :
 
7717
  $as_echo_n "(cached) " >&6
 
7718
else
 
7719
  if test -n "$CXX"; then
 
7720
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
7721
else
 
7722
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7723
for as_dir in $PATH
 
7724
do
 
7725
  IFS=$as_save_IFS
 
7726
  test -z "$as_dir" && as_dir=.
 
7727
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7728
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7729
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 
7730
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7731
    break 2
 
7732
  fi
 
7733
done
 
7734
  done
 
7735
IFS=$as_save_IFS
 
7736
 
 
7737
fi
 
7738
fi
 
7739
CXX=$ac_cv_prog_CXX
 
7740
if test -n "$CXX"; then
 
7741
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 
7742
$as_echo "$CXX" >&6; }
 
7743
else
 
7744
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7745
$as_echo "no" >&6; }
 
7746
fi
 
7747
 
 
7748
 
 
7749
    test -n "$CXX" && break
 
7750
  done
 
7751
fi
 
7752
if test -z "$CXX"; then
 
7753
  ac_ct_CXX=$CXX
 
7754
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
7755
do
 
7756
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
7757
set dummy $ac_prog; ac_word=$2
 
7758
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7759
$as_echo_n "checking for $ac_word... " >&6; }
 
7760
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
7761
  $as_echo_n "(cached) " >&6
 
7762
else
 
7763
  if test -n "$ac_ct_CXX"; then
 
7764
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 
7765
else
 
7766
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7767
for as_dir in $PATH
 
7768
do
 
7769
  IFS=$as_save_IFS
 
7770
  test -z "$as_dir" && as_dir=.
 
7771
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7772
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7773
    ac_cv_prog_ac_ct_CXX="$ac_prog"
 
7774
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7775
    break 2
 
7776
  fi
 
7777
done
 
7778
  done
 
7779
IFS=$as_save_IFS
 
7780
 
 
7781
fi
 
7782
fi
 
7783
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 
7784
if test -n "$ac_ct_CXX"; then
 
7785
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 
7786
$as_echo "$ac_ct_CXX" >&6; }
 
7787
else
 
7788
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7789
$as_echo "no" >&6; }
 
7790
fi
 
7791
 
 
7792
 
 
7793
  test -n "$ac_ct_CXX" && break
 
7794
done
 
7795
 
 
7796
  if test "x$ac_ct_CXX" = x; then
 
7797
    CXX="g++"
 
7798
  else
 
7799
    case $cross_compiling:$ac_tool_warned in
 
7800
yes:)
 
7801
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7802
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7803
ac_tool_warned=yes ;;
 
7804
esac
 
7805
    CXX=$ac_ct_CXX
 
7806
  fi
 
7807
fi
 
7808
 
 
7809
  fi
 
7810
fi
 
7811
# Provide some information about the compiler.
 
7812
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 
7813
set X $ac_compile
 
7814
ac_compiler=$2
 
7815
for ac_option in --version -v -V -qversion; do
 
7816
  { { ac_try="$ac_compiler $ac_option >&5"
 
7817
case "(($ac_try" in
 
7818
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7819
  *) ac_try_echo=$ac_try;;
 
7820
esac
 
7821
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
7822
$as_echo "$ac_try_echo"; } >&5
 
7823
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
7824
  ac_status=$?
 
7825
  if test -s conftest.err; then
 
7826
    sed '10a\
 
7827
... rest of stderr output deleted ...
 
7828
         10q' conftest.err >conftest.er1
 
7829
    cat conftest.er1 >&5
 
7830
  fi
 
7831
  rm -f conftest.er1 conftest.err
 
7832
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7833
  test $ac_status = 0; }
 
7834
done
 
7835
 
 
7836
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 
7837
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
7838
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
7839
  $as_echo_n "(cached) " >&6
 
7840
else
 
7841
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7842
/* end confdefs.h.  */
 
7843
 
 
7844
int
 
7845
main ()
 
7846
{
 
7847
#ifndef __GNUC__
 
7848
       choke me
 
7849
#endif
 
7850
 
 
7851
  ;
 
7852
  return 0;
 
7853
}
 
7854
_ACEOF
 
7855
if ac_fn_cxx_try_compile "$LINENO"; then :
 
7856
  ac_compiler_gnu=yes
 
7857
else
 
7858
  ac_compiler_gnu=no
 
7859
fi
 
7860
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7861
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 
7862
 
 
7863
fi
 
7864
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 
7865
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
7866
if test $ac_compiler_gnu = yes; then
 
7867
  GXX=yes
 
7868
else
 
7869
  GXX=
 
7870
fi
 
7871
ac_test_CXXFLAGS=${CXXFLAGS+set}
 
7872
ac_save_CXXFLAGS=$CXXFLAGS
 
7873
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 
7874
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
7875
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
7876
  $as_echo_n "(cached) " >&6
 
7877
else
 
7878
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
7879
   ac_cxx_werror_flag=yes
 
7880
   ac_cv_prog_cxx_g=no
 
7881
   CXXFLAGS="-g"
 
7882
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7883
/* end confdefs.h.  */
 
7884
 
 
7885
int
 
7886
main ()
 
7887
{
 
7888
 
 
7889
  ;
 
7890
  return 0;
 
7891
}
 
7892
_ACEOF
 
7893
if ac_fn_cxx_try_compile "$LINENO"; then :
 
7894
  ac_cv_prog_cxx_g=yes
 
7895
else
 
7896
  CXXFLAGS=""
 
7897
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7898
/* end confdefs.h.  */
 
7899
 
 
7900
int
 
7901
main ()
 
7902
{
 
7903
 
 
7904
  ;
 
7905
  return 0;
 
7906
}
 
7907
_ACEOF
 
7908
if ac_fn_cxx_try_compile "$LINENO"; then :
 
7909
 
 
7910
else
 
7911
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
7912
         CXXFLAGS="-g"
 
7913
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7914
/* end confdefs.h.  */
 
7915
 
 
7916
int
 
7917
main ()
 
7918
{
 
7919
 
 
7920
  ;
 
7921
  return 0;
 
7922
}
 
7923
_ACEOF
 
7924
if ac_fn_cxx_try_compile "$LINENO"; then :
 
7925
  ac_cv_prog_cxx_g=yes
 
7926
fi
 
7927
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7928
fi
 
7929
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7930
fi
 
7931
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7932
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
7933
fi
 
7934
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 
7935
$as_echo "$ac_cv_prog_cxx_g" >&6; }
 
7936
if test "$ac_test_CXXFLAGS" = set; then
 
7937
  CXXFLAGS=$ac_save_CXXFLAGS
 
7938
elif test $ac_cv_prog_cxx_g = yes; then
 
7939
  if test "$GXX" = yes; then
 
7940
    CXXFLAGS="-g -O2"
 
7941
  else
 
7942
    CXXFLAGS="-g"
 
7943
  fi
 
7944
else
 
7945
  if test "$GXX" = yes; then
 
7946
    CXXFLAGS="-O2"
 
7947
  else
 
7948
    CXXFLAGS=
 
7949
  fi
 
7950
fi
 
7951
ac_ext=c
 
7952
ac_cpp='$CPP $CPPFLAGS'
 
7953
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7954
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7955
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7956
 
 
7957
depcc="$CXX"  am_compiler_list=
 
7958
 
 
7959
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
7960
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
7961
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
7962
  $as_echo_n "(cached) " >&6
 
7963
else
 
7964
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
7965
  # We make a subdir and do the tests there.  Otherwise we can end up
 
7966
  # making bogus files that we don't know about and never remove.  For
 
7967
  # instance it was reported that on HP-UX the gcc test will end up
 
7968
  # making a dummy file named `D' -- because `-MD' means `put the output
 
7969
  # in D'.
 
7970
  mkdir conftest.dir
 
7971
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
7972
  # using a relative directory.
 
7973
  cp "$am_depcomp" conftest.dir
 
7974
  cd conftest.dir
 
7975
  # We will build objects and dependencies in a subdirectory because
 
7976
  # it helps to detect inapplicable dependency modes.  For instance
 
7977
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
7978
  # side effect of compilation, but ICC will put the dependencies in
 
7979
  # the current directory while Tru64 will put them in the object
 
7980
  # directory.
 
7981
  mkdir sub
 
7982
 
 
7983
  am_cv_CXX_dependencies_compiler_type=none
 
7984
  if test "$am_compiler_list" = ""; then
 
7985
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
7986
  fi
 
7987
  am__universal=false
 
7988
  case " $depcc " in #(
 
7989
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
7990
     esac
 
7991
 
 
7992
  for depmode in $am_compiler_list; do
 
7993
    # Setup a source with many dependencies, because some compilers
 
7994
    # like to wrap large dependency lists on column 80 (with \), and
 
7995
    # we should not choose a depcomp mode which is confused by this.
 
7996
    #
 
7997
    # We need to recreate these files for each test, as the compiler may
 
7998
    # overwrite some of them when testing with obscure command lines.
 
7999
    # This happens at least with the AIX C compiler.
 
8000
    : > sub/conftest.c
 
8001
    for i in 1 2 3 4 5 6; do
 
8002
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
8003
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
8004
      # Solaris 8's {/usr,}/bin/sh.
 
8005
      touch sub/conftst$i.h
 
8006
    done
 
8007
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
8008
 
 
8009
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
8010
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
8011
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
8012
    # versions had trouble with output in subdirs
 
8013
    am__obj=sub/conftest.${OBJEXT-o}
 
8014
    am__minus_obj="-o $am__obj"
 
8015
    case $depmode in
 
8016
    gcc)
 
8017
      # This depmode causes a compiler race in universal mode.
 
8018
      test "$am__universal" = false || continue
 
8019
      ;;
 
8020
    nosideeffect)
 
8021
      # after this tag, mechanisms are not by side-effect, so they'll
 
8022
      # only be used when explicitly requested
 
8023
      if test "x$enable_dependency_tracking" = xyes; then
 
8024
        continue
 
8025
      else
 
8026
        break
 
8027
      fi
 
8028
      ;;
 
8029
    msvisualcpp | msvcmsys)
 
8030
      # This compiler won't grok `-c -o', but also, the minuso test has
 
8031
      # not run yet.  These depmodes are late enough in the game, and
 
8032
      # so weak that their functioning should not be impacted.
 
8033
      am__obj=conftest.${OBJEXT-o}
 
8034
      am__minus_obj=
 
8035
      ;;
 
8036
    none) break ;;
 
8037
    esac
 
8038
    if depmode=$depmode \
 
8039
       source=sub/conftest.c object=$am__obj \
 
8040
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
8041
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
8042
         >/dev/null 2>conftest.err &&
 
8043
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
8044
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
8045
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
8046
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
8047
      # icc doesn't choke on unknown options, it will just issue warnings
 
8048
      # or remarks (even with -Werror).  So we grep stderr for any message
 
8049
      # that says an option was ignored or not supported.
 
8050
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
8051
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
8052
      # The diagnosis changed in icc 8.0:
 
8053
      #   icc: Command line remark: option '-MP' not supported
 
8054
      if (grep 'ignoring option' conftest.err ||
 
8055
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
8056
        am_cv_CXX_dependencies_compiler_type=$depmode
 
8057
        break
 
8058
      fi
 
8059
    fi
 
8060
  done
 
8061
 
 
8062
  cd ..
 
8063
  rm -rf conftest.dir
 
8064
else
 
8065
  am_cv_CXX_dependencies_compiler_type=none
 
8066
fi
 
8067
 
 
8068
fi
 
8069
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
8070
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 
8071
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 
8072
 
 
8073
 if
 
8074
  test "x$enable_dependency_tracking" != xno \
 
8075
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 
8076
  am__fastdepCXX_TRUE=
 
8077
  am__fastdepCXX_FALSE='#'
 
8078
else
 
8079
  am__fastdepCXX_TRUE='#'
 
8080
  am__fastdepCXX_FALSE=
 
8081
fi
 
8082
 
 
8083
 
 
8084
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
8085
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
8086
    (test "X$CXX" != "Xg++"))) ; then
 
8087
  ac_ext=cpp
 
8088
ac_cpp='$CXXCPP $CPPFLAGS'
 
8089
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
8090
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
8091
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
8092
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
 
8093
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
 
8094
if test -z "$CXXCPP"; then
 
8095
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
 
8096
  $as_echo_n "(cached) " >&6
 
8097
else
 
8098
      # Double quotes because CXXCPP needs to be expanded
 
8099
    for CXXCPP in "$CXX -E" "/lib/cpp"
 
8100
    do
 
8101
      ac_preproc_ok=false
 
8102
for ac_cxx_preproc_warn_flag in '' yes
 
8103
do
 
8104
  # Use a header file that comes with gcc, so configuring glibc
 
8105
  # with a fresh cross-compiler works.
 
8106
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
8107
  # <limits.h> exists even on freestanding compilers.
 
8108
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
8109
  # not just through cpp. "Syntax error" is here to catch this case.
 
8110
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8111
/* end confdefs.h.  */
 
8112
#ifdef __STDC__
 
8113
# include <limits.h>
 
8114
#else
 
8115
# include <assert.h>
 
8116
#endif
 
8117
                     Syntax error
 
8118
_ACEOF
 
8119
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
8120
 
 
8121
else
 
8122
  # Broken: fails on valid input.
 
8123
continue
 
8124
fi
 
8125
rm -f conftest.err conftest.$ac_ext
 
8126
 
 
8127
  # OK, works on sane cases.  Now check whether nonexistent headers
 
8128
  # can be detected and how.
 
8129
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8130
/* end confdefs.h.  */
 
8131
#include <ac_nonexistent.h>
 
8132
_ACEOF
 
8133
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
8134
  # Broken: success on invalid input.
 
8135
continue
 
8136
else
 
8137
  # Passes both tests.
 
8138
ac_preproc_ok=:
 
8139
break
 
8140
fi
 
8141
rm -f conftest.err conftest.$ac_ext
 
8142
 
 
8143
done
 
8144
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
8145
rm -f conftest.err conftest.$ac_ext
 
8146
if $ac_preproc_ok; then :
 
8147
  break
 
8148
fi
 
8149
 
 
8150
    done
 
8151
    ac_cv_prog_CXXCPP=$CXXCPP
 
8152
 
 
8153
fi
 
8154
  CXXCPP=$ac_cv_prog_CXXCPP
 
8155
else
 
8156
  ac_cv_prog_CXXCPP=$CXXCPP
 
8157
fi
 
8158
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
 
8159
$as_echo "$CXXCPP" >&6; }
 
8160
ac_preproc_ok=false
 
8161
for ac_cxx_preproc_warn_flag in '' yes
 
8162
do
 
8163
  # Use a header file that comes with gcc, so configuring glibc
 
8164
  # with a fresh cross-compiler works.
 
8165
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
8166
  # <limits.h> exists even on freestanding compilers.
 
8167
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
8168
  # not just through cpp. "Syntax error" is here to catch this case.
 
8169
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8170
/* end confdefs.h.  */
 
8171
#ifdef __STDC__
 
8172
# include <limits.h>
 
8173
#else
 
8174
# include <assert.h>
 
8175
#endif
 
8176
                     Syntax error
 
8177
_ACEOF
 
8178
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
8179
 
 
8180
else
 
8181
  # Broken: fails on valid input.
 
8182
continue
 
8183
fi
 
8184
rm -f conftest.err conftest.$ac_ext
 
8185
 
 
8186
  # OK, works on sane cases.  Now check whether nonexistent headers
 
8187
  # can be detected and how.
 
8188
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8189
/* end confdefs.h.  */
 
8190
#include <ac_nonexistent.h>
 
8191
_ACEOF
 
8192
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
8193
  # Broken: success on invalid input.
 
8194
continue
 
8195
else
 
8196
  # Passes both tests.
 
8197
ac_preproc_ok=:
 
8198
break
 
8199
fi
 
8200
rm -f conftest.err conftest.$ac_ext
 
8201
 
 
8202
done
 
8203
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
8204
rm -f conftest.err conftest.$ac_ext
 
8205
if $ac_preproc_ok; then :
 
8206
 
 
8207
else
 
8208
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
8209
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
8210
_lt_caught_CXX_error=yes; }
 
8211
fi
 
8212
 
 
8213
ac_ext=c
 
8214
ac_cpp='$CPP $CPPFLAGS'
 
8215
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
8216
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
8217
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
8218
 
 
8219
else
 
8220
  _lt_caught_CXX_error=yes
 
8221
fi
 
8222
 
 
8223
 
 
8224
 
 
8225
 
 
8226
 
 
8227
# Set options
 
8228
enable_win32_dll=yes
 
8229
 
 
8230
case $host in
 
8231
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
 
8232
  if test -n "$ac_tool_prefix"; then
 
8233
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
 
8234
set dummy ${ac_tool_prefix}as; ac_word=$2
 
8235
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8236
$as_echo_n "checking for $ac_word... " >&6; }
 
8237
if test "${ac_cv_prog_AS+set}" = set; then :
 
8238
  $as_echo_n "(cached) " >&6
 
8239
else
 
8240
  if test -n "$AS"; then
 
8241
  ac_cv_prog_AS="$AS" # Let the user override the test.
 
8242
else
 
8243
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8244
for as_dir in $PATH
 
8245
do
 
8246
  IFS=$as_save_IFS
 
8247
  test -z "$as_dir" && as_dir=.
 
8248
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8249
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8250
    ac_cv_prog_AS="${ac_tool_prefix}as"
 
8251
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8252
    break 2
 
8253
  fi
 
8254
done
 
8255
  done
 
8256
IFS=$as_save_IFS
 
8257
 
 
8258
fi
 
8259
fi
 
8260
AS=$ac_cv_prog_AS
 
8261
if test -n "$AS"; then
 
8262
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
 
8263
$as_echo "$AS" >&6; }
 
8264
else
 
8265
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8266
$as_echo "no" >&6; }
 
8267
fi
 
8268
 
 
8269
 
 
8270
fi
 
8271
if test -z "$ac_cv_prog_AS"; then
 
8272
  ac_ct_AS=$AS
 
8273
  # Extract the first word of "as", so it can be a program name with args.
 
8274
set dummy as; ac_word=$2
 
8275
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8276
$as_echo_n "checking for $ac_word... " >&6; }
 
8277
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
 
8278
  $as_echo_n "(cached) " >&6
 
8279
else
 
8280
  if test -n "$ac_ct_AS"; then
 
8281
  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
 
8282
else
 
8283
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8284
for as_dir in $PATH
 
8285
do
 
8286
  IFS=$as_save_IFS
 
8287
  test -z "$as_dir" && as_dir=.
 
8288
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8289
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8290
    ac_cv_prog_ac_ct_AS="as"
 
8291
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8292
    break 2
 
8293
  fi
 
8294
done
 
8295
  done
 
8296
IFS=$as_save_IFS
 
8297
 
 
8298
fi
 
8299
fi
 
8300
ac_ct_AS=$ac_cv_prog_ac_ct_AS
 
8301
if test -n "$ac_ct_AS"; then
 
8302
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
 
8303
$as_echo "$ac_ct_AS" >&6; }
 
8304
else
 
8305
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8306
$as_echo "no" >&6; }
 
8307
fi
 
8308
 
 
8309
  if test "x$ac_ct_AS" = x; then
 
8310
    AS="false"
 
8311
  else
 
8312
    case $cross_compiling:$ac_tool_warned in
 
8313
yes:)
 
8314
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8315
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8316
ac_tool_warned=yes ;;
 
8317
esac
 
8318
    AS=$ac_ct_AS
 
8319
  fi
 
8320
else
 
8321
  AS="$ac_cv_prog_AS"
 
8322
fi
 
8323
 
 
8324
  if test -n "$ac_tool_prefix"; then
 
8325
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
8326
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
8327
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8328
$as_echo_n "checking for $ac_word... " >&6; }
 
8329
if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
 
8330
  $as_echo_n "(cached) " >&6
 
8331
else
 
8332
  if test -n "$DLLTOOL"; then
 
8333
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
8334
else
 
8335
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8336
for as_dir in $PATH
 
8337
do
 
8338
  IFS=$as_save_IFS
 
8339
  test -z "$as_dir" && as_dir=.
 
8340
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8341
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8342
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
8343
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8344
    break 2
 
8345
  fi
 
8346
done
 
8347
  done
 
8348
IFS=$as_save_IFS
 
8349
 
 
8350
fi
 
8351
fi
 
8352
DLLTOOL=$ac_cv_prog_DLLTOOL
 
8353
if test -n "$DLLTOOL"; then
 
8354
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
8355
$as_echo "$DLLTOOL" >&6; }
 
8356
else
 
8357
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8358
$as_echo "no" >&6; }
 
8359
fi
 
8360
 
 
8361
 
 
8362
fi
 
8363
if test -z "$ac_cv_prog_DLLTOOL"; then
 
8364
  ac_ct_DLLTOOL=$DLLTOOL
 
8365
  # Extract the first word of "dlltool", so it can be a program name with args.
 
8366
set dummy dlltool; ac_word=$2
 
8367
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8368
$as_echo_n "checking for $ac_word... " >&6; }
 
8369
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
 
8370
  $as_echo_n "(cached) " >&6
 
8371
else
 
8372
  if test -n "$ac_ct_DLLTOOL"; then
 
8373
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
8374
else
 
8375
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8376
for as_dir in $PATH
 
8377
do
 
8378
  IFS=$as_save_IFS
 
8379
  test -z "$as_dir" && as_dir=.
 
8380
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8381
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8382
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
8383
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8384
    break 2
 
8385
  fi
 
8386
done
 
8387
  done
 
8388
IFS=$as_save_IFS
 
8389
 
 
8390
fi
 
8391
fi
 
8392
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
8393
if test -n "$ac_ct_DLLTOOL"; then
 
8394
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
8395
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
8396
else
 
8397
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8398
$as_echo "no" >&6; }
 
8399
fi
 
8400
 
 
8401
  if test "x$ac_ct_DLLTOOL" = x; then
 
8402
    DLLTOOL="false"
 
8403
  else
 
8404
    case $cross_compiling:$ac_tool_warned in
 
8405
yes:)
 
8406
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8407
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8408
ac_tool_warned=yes ;;
 
8409
esac
 
8410
    DLLTOOL=$ac_ct_DLLTOOL
 
8411
  fi
 
8412
else
 
8413
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
8414
fi
 
8415
 
 
8416
  if test -n "$ac_tool_prefix"; then
 
8417
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
8418
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
8419
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8420
$as_echo_n "checking for $ac_word... " >&6; }
 
8421
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
8422
  $as_echo_n "(cached) " >&6
 
8423
else
 
8424
  if test -n "$OBJDUMP"; then
 
8425
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
8426
else
 
8427
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8428
for as_dir in $PATH
 
8429
do
 
8430
  IFS=$as_save_IFS
 
8431
  test -z "$as_dir" && as_dir=.
 
8432
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8433
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8434
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
8435
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8436
    break 2
 
8437
  fi
 
8438
done
 
8439
  done
 
8440
IFS=$as_save_IFS
 
8441
 
 
8442
fi
 
8443
fi
 
8444
OBJDUMP=$ac_cv_prog_OBJDUMP
 
8445
if test -n "$OBJDUMP"; then
 
8446
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
8447
$as_echo "$OBJDUMP" >&6; }
 
8448
else
 
8449
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8450
$as_echo "no" >&6; }
 
8451
fi
 
8452
 
 
8453
 
 
8454
fi
 
8455
if test -z "$ac_cv_prog_OBJDUMP"; then
 
8456
  ac_ct_OBJDUMP=$OBJDUMP
 
8457
  # Extract the first word of "objdump", so it can be a program name with args.
 
8458
set dummy objdump; ac_word=$2
 
8459
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8460
$as_echo_n "checking for $ac_word... " >&6; }
 
8461
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
8462
  $as_echo_n "(cached) " >&6
 
8463
else
 
8464
  if test -n "$ac_ct_OBJDUMP"; then
 
8465
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
8466
else
 
8467
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8468
for as_dir in $PATH
 
8469
do
 
8470
  IFS=$as_save_IFS
 
8471
  test -z "$as_dir" && as_dir=.
 
8472
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8473
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8474
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
8475
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8476
    break 2
 
8477
  fi
 
8478
done
 
8479
  done
 
8480
IFS=$as_save_IFS
 
8481
 
 
8482
fi
 
8483
fi
 
8484
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
8485
if test -n "$ac_ct_OBJDUMP"; then
 
8486
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
8487
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
8488
else
 
8489
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8490
$as_echo "no" >&6; }
 
8491
fi
 
8492
 
 
8493
  if test "x$ac_ct_OBJDUMP" = x; then
 
8494
    OBJDUMP="false"
 
8495
  else
 
8496
    case $cross_compiling:$ac_tool_warned in
 
8497
yes:)
 
8498
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8499
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8500
ac_tool_warned=yes ;;
 
8501
esac
 
8502
    OBJDUMP=$ac_ct_OBJDUMP
 
8503
  fi
 
8504
else
 
8505
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
8506
fi
 
8507
 
 
8508
  ;;
 
8509
esac
 
8510
 
 
8511
test -z "$AS" && AS=as
 
8512
 
 
8513
 
 
8514
 
 
8515
 
 
8516
 
 
8517
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
8518
 
 
8519
 
 
8520
 
 
8521
 
 
8522
 
 
8523
test -z "$OBJDUMP" && OBJDUMP=objdump
 
8524
 
 
8525
 
 
8526
 
 
8527
 
 
8528
 
 
8529
 
 
8530
 
 
8531
        enable_dlopen=no
 
8532
 
 
8533
 
 
8534
 
 
8535
            # Check whether --enable-shared was given.
 
8536
if test "${enable_shared+set}" = set; then :
 
8537
  enableval=$enable_shared; p=${PACKAGE-default}
 
8538
    case $enableval in
 
8539
    yes) enable_shared=yes ;;
 
8540
    no) enable_shared=no ;;
 
8541
    *)
 
8542
      enable_shared=no
 
8543
      # Look at the argument we got.  We use all the common list separators.
 
8544
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8545
      for pkg in $enableval; do
 
8546
        IFS="$lt_save_ifs"
 
8547
        if test "X$pkg" = "X$p"; then
 
8548
          enable_shared=yes
 
8549
        fi
 
8550
      done
 
8551
      IFS="$lt_save_ifs"
 
8552
      ;;
 
8553
    esac
 
8554
else
 
8555
  enable_shared=yes
 
8556
fi
 
8557
 
 
8558
 
 
8559
 
 
8560
 
 
8561
 
 
8562
 
 
8563
 
 
8564
 
 
8565
 
 
8566
  # Check whether --enable-static was given.
 
8567
if test "${enable_static+set}" = set; then :
 
8568
  enableval=$enable_static; p=${PACKAGE-default}
 
8569
    case $enableval in
 
8570
    yes) enable_static=yes ;;
 
8571
    no) enable_static=no ;;
 
8572
    *)
 
8573
     enable_static=no
 
8574
      # Look at the argument we got.  We use all the common list separators.
 
8575
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8576
      for pkg in $enableval; do
 
8577
        IFS="$lt_save_ifs"
 
8578
        if test "X$pkg" = "X$p"; then
 
8579
          enable_static=yes
 
8580
        fi
 
8581
      done
 
8582
      IFS="$lt_save_ifs"
 
8583
      ;;
 
8584
    esac
 
8585
else
 
8586
  enable_static=yes
 
8587
fi
 
8588
 
 
8589
 
 
8590
 
 
8591
 
 
8592
 
 
8593
 
 
8594
 
 
8595
 
 
8596
 
 
8597
 
 
8598
# Check whether --with-pic was given.
 
8599
if test "${with_pic+set}" = set; then :
 
8600
  withval=$with_pic; pic_mode="$withval"
 
8601
else
 
8602
  pic_mode=default
 
8603
fi
 
8604
 
 
8605
 
 
8606
test -z "$pic_mode" && pic_mode=default
 
8607
 
 
8608
 
 
8609
 
 
8610
 
 
8611
 
 
8612
 
 
8613
 
 
8614
  # Check whether --enable-fast-install was given.
 
8615
if test "${enable_fast_install+set}" = set; then :
 
8616
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
8617
    case $enableval in
 
8618
    yes) enable_fast_install=yes ;;
 
8619
    no) enable_fast_install=no ;;
 
8620
    *)
 
8621
      enable_fast_install=no
 
8622
      # Look at the argument we got.  We use all the common list separators.
 
8623
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8624
      for pkg in $enableval; do
 
8625
        IFS="$lt_save_ifs"
 
8626
        if test "X$pkg" = "X$p"; then
 
8627
          enable_fast_install=yes
 
8628
        fi
 
8629
      done
 
8630
      IFS="$lt_save_ifs"
 
8631
      ;;
 
8632
    esac
 
8633
else
 
8634
  enable_fast_install=yes
 
8635
fi
 
8636
 
 
8637
 
 
8638
 
 
8639
 
 
8640
 
 
8641
 
 
8642
 
 
8643
 
 
8644
 
 
8645
 
 
8646
 
 
8647
# This can be used to rebuild libtool when needed
 
8648
LIBTOOL_DEPS="$ltmain"
 
8649
 
 
8650
# Always use our own libtool.
 
8651
LIBTOOL="${CONFIG_SHELL-$SHELL} "'$(top_builddir)/libtool'
 
8652
 
 
8653
 
 
8654
 
 
8655
 
 
8656
 
 
8657
 
 
8658
 
 
8659
 
 
8660
 
 
8661
 
 
8662
 
 
8663
 
 
8664
 
 
8665
 
 
8666
 
 
8667
 
 
8668
 
 
8669
 
 
8670
 
 
8671
 
 
8672
 
 
8673
 
 
8674
 
 
8675
 
 
8676
 
 
8677
test -z "$LN_S" && LN_S="ln -s"
 
8678
 
 
8679
 
 
8680
 
 
8681
 
 
8682
 
 
8683
 
 
8684
 
 
8685
 
 
8686
 
 
8687
 
 
8688
 
 
8689
 
 
8690
 
 
8691
 
 
8692
if test -n "${ZSH_VERSION+set}" ; then
 
8693
   setopt NO_GLOB_SUBST
 
8694
fi
 
8695
 
 
8696
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 
8697
$as_echo_n "checking for objdir... " >&6; }
 
8698
if test "${lt_cv_objdir+set}" = set; then :
 
8699
  $as_echo_n "(cached) " >&6
6865
8700
else
6866
8701
  rm -f .libs 2>/dev/null
6867
8702
mkdir .libs 2>/dev/null
6873
8708
fi
6874
8709
rmdir .libs 2>/dev/null
6875
8710
fi
6876
 
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6877
 
echo "${ECHO_T}$lt_cv_objdir" >&6; }
 
8711
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 
8712
$as_echo "$lt_cv_objdir" >&6; }
6878
8713
objdir=$lt_cv_objdir
6879
8714
 
6880
8715
 
6881
8716
 
6882
8717
 
6883
8718
 
 
8719
cat >>confdefs.h <<_ACEOF
 
8720
#define LT_OBJDIR "$lt_cv_objdir/"
 
8721
_ACEOF
 
8722
 
 
8723
 
 
8724
 
 
8725
 
 
8726
 
 
8727
 
 
8728
 
 
8729
 
 
8730
 
 
8731
 
 
8732
 
 
8733
 
 
8734
 
 
8735
 
 
8736
 
 
8737
 
 
8738
 
6884
8739
case $host_os in
6885
8740
aix3*)
6886
8741
  # AIX sometimes has problems with the GCC collect2 program.  For some
6895
8750
 
6896
8751
# Sed substitution that helps us do robust quoting.  It backslashifies
6897
8752
# metacharacters that are still active within double-quoted strings.
6898
 
Xsed='sed -e 1s/^X//'
6899
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
 
8753
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6900
8754
 
6901
8755
# Same as above, but do not quote variable references.
6902
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
 
8756
double_quote_subst='s/\(["`\\]\)/\\\1/g'
6903
8757
 
6904
8758
# Sed substitution to delay expansion of an escaped shell variable in a
6905
8759
# double_quote_subst'ed string.
6906
8760
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6907
8761
 
 
8762
# Sed substitution to delay expansion of an escaped single quote.
 
8763
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
8764
 
6908
8765
# Sed substitution to avoid accidental globbing in evaled expressions
6909
8766
no_glob_subst='s/\*/\\\*/g'
6910
8767
 
6911
 
# Constants:
6912
 
rm="rm -f"
6913
 
 
6914
8768
# Global variables:
6915
 
default_ofile=libtool
 
8769
ofile=libtool
6916
8770
can_build_shared=yes
6917
8771
 
6918
8772
# All known linkers require a `.a' archive for static linking (except MSVC,
6919
8773
# which needs '.lib').
6920
8774
libext=a
6921
 
ltmain="$ac_aux_dir/ltmain.sh"
6922
 
ofile="$default_ofile"
 
8775
 
6923
8776
with_gnu_ld="$lt_cv_prog_gnu_ld"
6924
8777
 
6925
 
if test -n "$ac_tool_prefix"; then
6926
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6927
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
6928
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6929
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6930
 
if test "${ac_cv_prog_AR+set}" = set; then
6931
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6932
 
else
6933
 
  if test -n "$AR"; then
6934
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
6935
 
else
6936
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6937
 
for as_dir in $PATH
6938
 
do
6939
 
  IFS=$as_save_IFS
6940
 
  test -z "$as_dir" && as_dir=.
6941
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6942
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6943
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6944
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6945
 
    break 2
6946
 
  fi
6947
 
done
6948
 
done
6949
 
IFS=$as_save_IFS
6950
 
 
6951
 
fi
6952
 
fi
6953
 
AR=$ac_cv_prog_AR
6954
 
if test -n "$AR"; then
6955
 
  { echo "$as_me:$LINENO: result: $AR" >&5
6956
 
echo "${ECHO_T}$AR" >&6; }
6957
 
else
6958
 
  { echo "$as_me:$LINENO: result: no" >&5
6959
 
echo "${ECHO_T}no" >&6; }
6960
 
fi
6961
 
 
6962
 
 
6963
 
fi
6964
 
if test -z "$ac_cv_prog_AR"; then
6965
 
  ac_ct_AR=$AR
6966
 
  # Extract the first word of "ar", so it can be a program name with args.
6967
 
set dummy ar; ac_word=$2
6968
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6969
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6970
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6971
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6972
 
else
6973
 
  if test -n "$ac_ct_AR"; then
6974
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6975
 
else
6976
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6977
 
for as_dir in $PATH
6978
 
do
6979
 
  IFS=$as_save_IFS
6980
 
  test -z "$as_dir" && as_dir=.
6981
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6982
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6983
 
    ac_cv_prog_ac_ct_AR="ar"
6984
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6985
 
    break 2
6986
 
  fi
6987
 
done
6988
 
done
6989
 
IFS=$as_save_IFS
6990
 
 
6991
 
fi
6992
 
fi
6993
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6994
 
if test -n "$ac_ct_AR"; then
6995
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6996
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
6997
 
else
6998
 
  { echo "$as_me:$LINENO: result: no" >&5
6999
 
echo "${ECHO_T}no" >&6; }
7000
 
fi
7001
 
 
7002
 
  if test "x$ac_ct_AR" = x; then
7003
 
    AR="false"
7004
 
  else
7005
 
    case $cross_compiling:$ac_tool_warned in
7006
 
yes:)
7007
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7008
 
whose name does not start with the host triplet.  If you think this
7009
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7010
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7011
 
whose name does not start with the host triplet.  If you think this
7012
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7013
 
ac_tool_warned=yes ;;
7014
 
esac
7015
 
    AR=$ac_ct_AR
7016
 
  fi
7017
 
else
7018
 
  AR="$ac_cv_prog_AR"
7019
 
fi
7020
 
 
7021
 
if test -n "$ac_tool_prefix"; then
7022
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7023
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7024
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7025
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7026
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
7027
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7028
 
else
7029
 
  if test -n "$RANLIB"; then
7030
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7031
 
else
7032
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7033
 
for as_dir in $PATH
7034
 
do
7035
 
  IFS=$as_save_IFS
7036
 
  test -z "$as_dir" && as_dir=.
7037
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7038
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7039
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7040
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7041
 
    break 2
7042
 
  fi
7043
 
done
7044
 
done
7045
 
IFS=$as_save_IFS
7046
 
 
7047
 
fi
7048
 
fi
7049
 
RANLIB=$ac_cv_prog_RANLIB
7050
 
if test -n "$RANLIB"; then
7051
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
7052
 
echo "${ECHO_T}$RANLIB" >&6; }
7053
 
else
7054
 
  { echo "$as_me:$LINENO: result: no" >&5
7055
 
echo "${ECHO_T}no" >&6; }
7056
 
fi
7057
 
 
7058
 
 
7059
 
fi
7060
 
if test -z "$ac_cv_prog_RANLIB"; then
7061
 
  ac_ct_RANLIB=$RANLIB
7062
 
  # Extract the first word of "ranlib", so it can be a program name with args.
7063
 
set dummy ranlib; ac_word=$2
7064
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7065
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7066
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7067
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7068
 
else
7069
 
  if test -n "$ac_ct_RANLIB"; then
7070
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7071
 
else
7072
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7073
 
for as_dir in $PATH
7074
 
do
7075
 
  IFS=$as_save_IFS
7076
 
  test -z "$as_dir" && as_dir=.
7077
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7078
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7079
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
7080
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7081
 
    break 2
7082
 
  fi
7083
 
done
7084
 
done
7085
 
IFS=$as_save_IFS
7086
 
 
7087
 
fi
7088
 
fi
7089
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7090
 
if test -n "$ac_ct_RANLIB"; then
7091
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7092
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7093
 
else
7094
 
  { echo "$as_me:$LINENO: result: no" >&5
7095
 
echo "${ECHO_T}no" >&6; }
7096
 
fi
7097
 
 
7098
 
  if test "x$ac_ct_RANLIB" = x; then
7099
 
    RANLIB=":"
7100
 
  else
7101
 
    case $cross_compiling:$ac_tool_warned in
7102
 
yes:)
7103
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7104
 
whose name does not start with the host triplet.  If you think this
7105
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7106
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7107
 
whose name does not start with the host triplet.  If you think this
7108
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7109
 
ac_tool_warned=yes ;;
7110
 
esac
7111
 
    RANLIB=$ac_ct_RANLIB
7112
 
  fi
7113
 
else
7114
 
  RANLIB="$ac_cv_prog_RANLIB"
7115
 
fi
7116
 
 
7117
 
if test -n "$ac_tool_prefix"; then
7118
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7119
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
7120
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7121
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7122
 
if test "${ac_cv_prog_STRIP+set}" = set; then
7123
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7124
 
else
7125
 
  if test -n "$STRIP"; then
7126
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7127
 
else
7128
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7129
 
for as_dir in $PATH
7130
 
do
7131
 
  IFS=$as_save_IFS
7132
 
  test -z "$as_dir" && as_dir=.
7133
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7134
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7135
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7136
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7137
 
    break 2
7138
 
  fi
7139
 
done
7140
 
done
7141
 
IFS=$as_save_IFS
7142
 
 
7143
 
fi
7144
 
fi
7145
 
STRIP=$ac_cv_prog_STRIP
7146
 
if test -n "$STRIP"; then
7147
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
7148
 
echo "${ECHO_T}$STRIP" >&6; }
7149
 
else
7150
 
  { echo "$as_me:$LINENO: result: no" >&5
7151
 
echo "${ECHO_T}no" >&6; }
7152
 
fi
7153
 
 
7154
 
 
7155
 
fi
7156
 
if test -z "$ac_cv_prog_STRIP"; then
7157
 
  ac_ct_STRIP=$STRIP
7158
 
  # Extract the first word of "strip", so it can be a program name with args.
7159
 
set dummy strip; ac_word=$2
7160
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7161
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7162
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7163
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7164
 
else
7165
 
  if test -n "$ac_ct_STRIP"; then
7166
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7167
 
else
7168
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7169
 
for as_dir in $PATH
7170
 
do
7171
 
  IFS=$as_save_IFS
7172
 
  test -z "$as_dir" && as_dir=.
7173
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7174
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7175
 
    ac_cv_prog_ac_ct_STRIP="strip"
7176
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7177
 
    break 2
7178
 
  fi
7179
 
done
7180
 
done
7181
 
IFS=$as_save_IFS
7182
 
 
7183
 
fi
7184
 
fi
7185
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7186
 
if test -n "$ac_ct_STRIP"; then
7187
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7188
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7189
 
else
7190
 
  { echo "$as_me:$LINENO: result: no" >&5
7191
 
echo "${ECHO_T}no" >&6; }
7192
 
fi
7193
 
 
7194
 
  if test "x$ac_ct_STRIP" = x; then
7195
 
    STRIP=":"
7196
 
  else
7197
 
    case $cross_compiling:$ac_tool_warned in
7198
 
yes:)
7199
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7200
 
whose name does not start with the host triplet.  If you think this
7201
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7202
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7203
 
whose name does not start with the host triplet.  If you think this
7204
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7205
 
ac_tool_warned=yes ;;
7206
 
esac
7207
 
    STRIP=$ac_ct_STRIP
7208
 
  fi
7209
 
else
7210
 
  STRIP="$ac_cv_prog_STRIP"
7211
 
fi
7212
 
 
7213
 
 
7214
8778
old_CC="$CC"
7215
8779
old_CFLAGS="$CFLAGS"
7216
8780
 
7217
8781
# Set sane defaults for various variables
7218
 
test -z "$AR" && AR=ar
7219
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
7220
 
test -z "$AS" && AS=as
7221
8782
test -z "$CC" && CC=cc
7222
8783
test -z "$LTCC" && LTCC=$CC
7223
8784
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7224
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
7225
8785
test -z "$LD" && LD=ld
7226
 
test -z "$LN_S" && LN_S="ln -s"
7227
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7228
 
test -z "$NM" && NM=nm
7229
 
test -z "$SED" && SED=sed
7230
 
test -z "$OBJDUMP" && OBJDUMP=objdump
7231
 
test -z "$RANLIB" && RANLIB=:
7232
 
test -z "$STRIP" && STRIP=:
7233
8786
test -z "$ac_objext" && ac_objext=o
7234
8787
 
7235
 
# Determine commands to create old-style static archives.
7236
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7237
 
old_postinstall_cmds='chmod 644 $oldlib'
7238
 
old_postuninstall_cmds=
7239
 
 
7240
 
if test -n "$RANLIB"; then
7241
 
  case $host_os in
7242
 
  openbsd*)
7243
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7244
 
    ;;
7245
 
  *)
7246
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7247
 
    ;;
7248
 
  esac
7249
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7250
 
fi
7251
 
 
7252
8788
for cc_temp in $compiler""; do
7253
8789
  case $cc_temp in
7254
8790
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7257
8793
    *) break;;
7258
8794
  esac
7259
8795
done
7260
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
8796
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7261
8797
 
7262
8798
 
7263
8799
# Only perform the check for file, if the check method requires it
 
8800
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7264
8801
case $deplibs_check_method in
7265
8802
file_magic*)
7266
8803
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7267
 
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7268
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7269
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7270
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8804
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 
8805
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
8806
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
8807
  $as_echo_n "(cached) " >&6
7271
8808
else
7272
8809
  case $MAGIC_CMD in
7273
8810
[\\/*] |  ?:[\\/]*)
7291
8828
            $EGREP "$file_magic_regex" > /dev/null; then
7292
8829
            :
7293
8830
          else
7294
 
            cat <<EOF 1>&2
 
8831
            cat <<_LT_EOF 1>&2
7295
8832
 
7296
8833
*** Warning: the command libtool uses to detect shared libraries,
7297
8834
*** $file_magic_cmd, produces output that libtool cannot recognize.
7302
8839
*** may want to report the problem to your system manager and/or to
7303
8840
*** bug-libtool@gnu.org
7304
8841
 
7305
 
EOF
 
8842
_LT_EOF
7306
8843
          fi ;;
7307
8844
        esac
7308
8845
      fi
7317
8854
 
7318
8855
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7319
8856
if test -n "$MAGIC_CMD"; then
7320
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7321
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
 
8857
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
8858
$as_echo "$MAGIC_CMD" >&6; }
7322
8859
else
7323
 
  { echo "$as_me:$LINENO: result: no" >&5
7324
 
echo "${ECHO_T}no" >&6; }
 
8860
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8861
$as_echo "no" >&6; }
7325
8862
fi
7326
8863
 
 
8864
 
 
8865
 
 
8866
 
 
8867
 
7327
8868
if test -z "$lt_cv_path_MAGIC_CMD"; then
7328
8869
  if test -n "$ac_tool_prefix"; then
7329
 
    { echo "$as_me:$LINENO: checking for file" >&5
7330
 
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7331
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7332
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8870
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 
8871
$as_echo_n "checking for file... " >&6; }
 
8872
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
8873
  $as_echo_n "(cached) " >&6
7333
8874
else
7334
8875
  case $MAGIC_CMD in
7335
8876
[\\/*] |  ?:[\\/]*)
7353
8894
            $EGREP "$file_magic_regex" > /dev/null; then
7354
8895
            :
7355
8896
          else
7356
 
            cat <<EOF 1>&2
 
8897
            cat <<_LT_EOF 1>&2
7357
8898
 
7358
8899
*** Warning: the command libtool uses to detect shared libraries,
7359
8900
*** $file_magic_cmd, produces output that libtool cannot recognize.
7364
8905
*** may want to report the problem to your system manager and/or to
7365
8906
*** bug-libtool@gnu.org
7366
8907
 
7367
 
EOF
 
8908
_LT_EOF
7368
8909
          fi ;;
7369
8910
        esac
7370
8911
      fi
7379
8920
 
7380
8921
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7381
8922
if test -n "$MAGIC_CMD"; then
7382
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7383
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
 
8923
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
8924
$as_echo "$MAGIC_CMD" >&6; }
7384
8925
else
7385
 
  { echo "$as_me:$LINENO: result: no" >&5
7386
 
echo "${ECHO_T}no" >&6; }
 
8926
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8927
$as_echo "no" >&6; }
7387
8928
fi
7388
8929
 
 
8930
 
7389
8931
  else
7390
8932
    MAGIC_CMD=:
7391
8933
  fi
7395
8937
  ;;
7396
8938
esac
7397
8939
 
7398
 
enable_dlopen=no
7399
 
enable_win32_dll=yes
7400
 
 
7401
 
# Check whether --enable-libtool-lock was given.
7402
 
if test "${enable_libtool_lock+set}" = set; then
7403
 
  enableval=$enable_libtool_lock;
7404
 
fi
7405
 
 
7406
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7407
 
 
7408
 
 
7409
 
# Check whether --with-pic was given.
7410
 
if test "${with_pic+set}" = set; then
7411
 
  withval=$with_pic; pic_mode="$withval"
7412
 
else
7413
 
  pic_mode=default
7414
 
fi
7415
 
 
7416
 
test -z "$pic_mode" && pic_mode=default
7417
 
 
7418
8940
# Use C for the default configuration in the libtool script
7419
 
tagname=
 
8941
 
7420
8942
lt_save_CC="$CC"
7421
8943
ac_ext=c
7422
8944
ac_cpp='$CPP $CPPFLAGS'
7439
8961
lt_simple_link_test_code='int main(){return(0);}'
7440
8962
 
7441
8963
 
 
8964
 
 
8965
 
 
8966
 
 
8967
 
 
8968
 
7442
8969
# If no C compiler was specified, use CC.
7443
8970
LTCC=${LTCC-"$CC"}
7444
8971
 
7448
8975
# Allow CC to be a program name with arguments.
7449
8976
compiler=$CC
7450
8977
 
 
8978
# Save the default compiler, since it gets overwritten when the other
 
8979
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
8980
compiler_DEFAULT=$CC
7451
8981
 
7452
8982
# save warnings/boilerplate of simple test code
7453
8983
ac_outfile=conftest.$ac_objext
7454
8984
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7455
8985
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7456
8986
_lt_compiler_boilerplate=`cat conftest.err`
7457
 
$rm conftest*
 
8987
$RM conftest*
7458
8988
 
7459
8989
ac_outfile=conftest.$ac_objext
7460
8990
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7461
8991
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7462
8992
_lt_linker_boilerplate=`cat conftest.err`
7463
 
$rm conftest*
 
8993
$RM -r conftest*
7464
8994
 
7465
8995
 
7466
8996
## CAVEAT EMPTOR:
7467
8997
## There is no encapsulation within the following macros, do not change
7468
8998
## the running order or otherwise move them around unless you know exactly
7469
8999
## what you are doing...
 
9000
if test -n "$compiler"; then
7470
9001
 
7471
9002
lt_prog_compiler_no_builtin_flag=
7472
9003
 
7473
9004
if test "$GCC" = yes; then
7474
9005
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7475
9006
 
7476
 
 
7477
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7478
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7479
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7480
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9007
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
9008
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
9009
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
9010
  $as_echo_n "(cached) " >&6
7481
9011
else
7482
9012
  lt_cv_prog_compiler_rtti_exceptions=no
7483
 
  ac_outfile=conftest.$ac_objext
 
9013
   ac_outfile=conftest.$ac_objext
7484
9014
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7485
9015
   lt_compiler_flag="-fno-rtti -fno-exceptions"
7486
9016
   # Insert the option either (1) after the last *FLAGS variable, or
7492
9022
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7493
9023
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7494
9024
   -e 's:$: $lt_compiler_flag:'`
7495
 
   (eval echo "\"\$as_me:7495: $lt_compile\"" >&5)
 
9025
   (eval echo "\"\$as_me:9025: $lt_compile\"" >&5)
7496
9026
   (eval "$lt_compile" 2>conftest.err)
7497
9027
   ac_status=$?
7498
9028
   cat conftest.err >&5
7499
 
   echo "$as_me:7499: \$? = $ac_status" >&5
 
9029
   echo "$as_me:9029: \$? = $ac_status" >&5
7500
9030
   if (exit $ac_status) && test -s "$ac_outfile"; then
7501
9031
     # The compiler can only warn and ignore the option if not recognized
7502
9032
     # So say no if there are warnings other than the usual output.
7503
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
9033
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7504
9034
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7505
9035
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7506
9036
       lt_cv_prog_compiler_rtti_exceptions=yes
7507
9037
     fi
7508
9038
   fi
7509
 
   $rm conftest*
 
9039
   $RM conftest*
7510
9040
 
7511
9041
fi
7512
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7513
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
9042
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
9043
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7514
9044
 
7515
9045
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7516
9046
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7520
9050
 
7521
9051
fi
7522
9052
 
7523
 
lt_prog_compiler_wl=
 
9053
 
 
9054
 
 
9055
 
 
9056
 
 
9057
 
 
9058
  lt_prog_compiler_wl=
7524
9059
lt_prog_compiler_pic=
7525
9060
lt_prog_compiler_static=
7526
9061
 
7527
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7528
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
9062
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
9063
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7529
9064
 
7530
9065
  if test "$GCC" = yes; then
7531
9066
    lt_prog_compiler_wl='-Wl,'
7541
9076
      ;;
7542
9077
 
7543
9078
    amigaos*)
7544
 
      # FIXME: we need at least 68020 code to build shared libraries, but
7545
 
      # adding the `-m68020' flag to GCC prevents building anything better,
7546
 
      # like `-m68040'.
7547
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
9079
      case $host_cpu in
 
9080
      powerpc)
 
9081
            # see comment about AmigaOS4 .so support
 
9082
            lt_prog_compiler_pic='-fPIC'
 
9083
        ;;
 
9084
      m68k)
 
9085
            # FIXME: we need at least 68020 code to build shared libraries, but
 
9086
            # adding the `-m68020' flag to GCC prevents building anything better,
 
9087
            # like `-m68040'.
 
9088
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
9089
        ;;
 
9090
      esac
7548
9091
      ;;
7549
9092
 
7550
9093
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7551
9094
      # PIC is the default for these OSes.
7552
9095
      ;;
7553
9096
 
7554
 
    mingw* | cygwin* | pw32* | os2*)
 
9097
    mingw* | cygwin* | pw32* | os2* | cegcc*)
7555
9098
      # This hack is so that the source file can tell whether it is being
7556
9099
      # built for inclusion in a dll (and should export symbols for example).
7557
9100
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
7565
9108
      lt_prog_compiler_pic='-fno-common'
7566
9109
      ;;
7567
9110
 
 
9111
    hpux*)
 
9112
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
9113
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
9114
      # sets the default TLS model and affects inlining.
 
9115
      case $host_cpu in
 
9116
      hppa*64*)
 
9117
        # +Z the default
 
9118
        ;;
 
9119
      *)
 
9120
        lt_prog_compiler_pic='-fPIC'
 
9121
        ;;
 
9122
      esac
 
9123
      ;;
 
9124
 
7568
9125
    interix[3-9]*)
7569
9126
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7570
9127
      # Instead, we relocate shared libraries at runtime.
7577
9134
      enable_shared=no
7578
9135
      ;;
7579
9136
 
 
9137
    *nto* | *qnx*)
 
9138
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
9139
      # it will coredump.
 
9140
      lt_prog_compiler_pic='-fPIC -shared'
 
9141
      ;;
 
9142
 
7580
9143
    sysv4*MP*)
7581
9144
      if test -d /usr/nec; then
7582
9145
        lt_prog_compiler_pic=-Kconform_pic
7583
9146
      fi
7584
9147
      ;;
7585
9148
 
7586
 
    hpux*)
7587
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7588
 
      # not for PA HP-UX.
7589
 
      case $host_cpu in
7590
 
      hppa*64*|ia64*)
7591
 
        # +Z the default
7592
 
        ;;
7593
 
      *)
7594
 
        lt_prog_compiler_pic='-fPIC'
7595
 
        ;;
7596
 
      esac
7597
 
      ;;
7598
 
 
7599
9149
    *)
7600
9150
      lt_prog_compiler_pic='-fPIC'
7601
9151
      ;;
7612
9162
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7613
9163
      fi
7614
9164
      ;;
7615
 
      darwin*)
7616
 
        # PIC is the default on this platform
7617
 
        # Common symbols not allowed in MH_DYLIB files
7618
 
       case $cc_basename in
7619
 
         xlc*)
7620
 
         lt_prog_compiler_pic='-qnocommon'
7621
 
         lt_prog_compiler_wl='-Wl,'
7622
 
         ;;
7623
 
       esac
7624
 
       ;;
7625
9165
 
7626
 
    mingw* | cygwin* | pw32* | os2*)
 
9166
    mingw* | cygwin* | pw32* | os2* | cegcc*)
7627
9167
      # This hack is so that the source file can tell whether it is being
7628
9168
      # built for inclusion in a dll (and should export symbols for example).
7629
9169
      lt_prog_compiler_pic='-DDLL_EXPORT'
7651
9191
      lt_prog_compiler_static='-non_shared'
7652
9192
      ;;
7653
9193
 
7654
 
    newsos6)
7655
 
      lt_prog_compiler_pic='-KPIC'
7656
 
      lt_prog_compiler_static='-Bstatic'
7657
 
      ;;
7658
 
 
7659
9194
    linux* | k*bsd*-gnu)
7660
9195
      case $cc_basename in
7661
 
      icc* | ecc*)
 
9196
      # old Intel for x86_64 which still supported -KPIC.
 
9197
      ecc*)
7662
9198
        lt_prog_compiler_wl='-Wl,'
7663
9199
        lt_prog_compiler_pic='-KPIC'
7664
9200
        lt_prog_compiler_static='-static'
7665
9201
        ;;
 
9202
      # icc used to be incompatible with GCC.
 
9203
      # ICC 10 doesn't accept -KPIC any more.
 
9204
      icc* | ifort*)
 
9205
        lt_prog_compiler_wl='-Wl,'
 
9206
        lt_prog_compiler_pic='-fPIC'
 
9207
        lt_prog_compiler_static='-static'
 
9208
        ;;
 
9209
      # Lahey Fortran 8.1.
 
9210
      lf95*)
 
9211
        lt_prog_compiler_wl='-Wl,'
 
9212
        lt_prog_compiler_pic='--shared'
 
9213
        lt_prog_compiler_static='--static'
 
9214
        ;;
7666
9215
      pgcc* | pgf77* | pgf90* | pgf95*)
7667
9216
        # Portland Group compilers (*not* the Pentium gcc compiler,
7668
9217
        # which looks to be a dead project)
7675
9224
        # All Alpha code is PIC.
7676
9225
        lt_prog_compiler_static='-non_shared'
7677
9226
        ;;
7678
 
      como)
7679
 
        lt_prog_compiler_wl='-lopt='
7680
 
        ;;
 
9227
      xl*)
 
9228
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
9229
        lt_prog_compiler_wl='-Wl,'
 
9230
        lt_prog_compiler_pic='-qpic'
 
9231
        lt_prog_compiler_static='-qstaticlink'
 
9232
        ;;
7681
9233
      *)
7682
 
        case `$CC -V 2>&1 | sed 5q` in
 
9234
        case `$CC -V 2>&1 | sed 5q` in
7683
9235
        *Sun\ C*)
7684
9236
          # Sun C 5.9
7685
9237
          lt_prog_compiler_pic='-KPIC'
7697
9249
      esac
7698
9250
      ;;
7699
9251
 
 
9252
    newsos6)
 
9253
      lt_prog_compiler_pic='-KPIC'
 
9254
      lt_prog_compiler_static='-Bstatic'
 
9255
      ;;
 
9256
 
 
9257
    *nto* | *qnx*)
 
9258
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
9259
      # it will coredump.
 
9260
      lt_prog_compiler_pic='-fPIC -shared'
 
9261
      ;;
 
9262
 
7700
9263
    osf3* | osf4* | osf5*)
7701
9264
      lt_prog_compiler_wl='-Wl,'
7702
9265
      # All OSF/1 code is PIC.
7759
9322
    esac
7760
9323
  fi
7761
9324
 
7762
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7763
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
 
9325
case $host_os in
 
9326
  # For platforms which do not support PIC, -DPIC is meaningless:
 
9327
  *djgpp*)
 
9328
    lt_prog_compiler_pic=
 
9329
    ;;
 
9330
  *)
 
9331
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
9332
    ;;
 
9333
esac
 
9334
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
 
9335
$as_echo "$lt_prog_compiler_pic" >&6; }
 
9336
 
 
9337
 
 
9338
 
 
9339
 
 
9340
 
7764
9341
 
7765
9342
#
7766
9343
# Check to make sure the PIC flag actually works.
7767
9344
#
7768
9345
if test -n "$lt_prog_compiler_pic"; then
7769
 
 
7770
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7771
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7772
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
7773
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9346
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
9347
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
9348
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
9349
  $as_echo_n "(cached) " >&6
7774
9350
else
7775
 
  lt_prog_compiler_pic_works=no
7776
 
  ac_outfile=conftest.$ac_objext
 
9351
  lt_cv_prog_compiler_pic_works=no
 
9352
   ac_outfile=conftest.$ac_objext
7777
9353
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7778
9354
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7779
9355
   # Insert the option either (1) after the last *FLAGS variable, or
7785
9361
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7786
9362
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7787
9363
   -e 's:$: $lt_compiler_flag:'`
7788
 
   (eval echo "\"\$as_me:7788: $lt_compile\"" >&5)
 
9364
   (eval echo "\"\$as_me:9364: $lt_compile\"" >&5)
7789
9365
   (eval "$lt_compile" 2>conftest.err)
7790
9366
   ac_status=$?
7791
9367
   cat conftest.err >&5
7792
 
   echo "$as_me:7792: \$? = $ac_status" >&5
 
9368
   echo "$as_me:9368: \$? = $ac_status" >&5
7793
9369
   if (exit $ac_status) && test -s "$ac_outfile"; then
7794
9370
     # The compiler can only warn and ignore the option if not recognized
7795
9371
     # So say no if there are warnings other than the usual output.
7796
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
9372
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7797
9373
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7798
9374
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7799
 
       lt_prog_compiler_pic_works=yes
 
9375
       lt_cv_prog_compiler_pic_works=yes
7800
9376
     fi
7801
9377
   fi
7802
 
   $rm conftest*
 
9378
   $RM conftest*
7803
9379
 
7804
9380
fi
7805
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7806
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
 
9381
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 
9382
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7807
9383
 
7808
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
 
9384
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7809
9385
    case $lt_prog_compiler_pic in
7810
9386
     "" | " "*) ;;
7811
9387
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7816
9392
fi
7817
9393
 
7818
9394
fi
7819
 
case $host_os in
7820
 
  # For platforms which do not support PIC, -DPIC is meaningless:
7821
 
  *djgpp*)
7822
 
    lt_prog_compiler_pic=
7823
 
    ;;
7824
 
  *)
7825
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7826
 
    ;;
7827
 
esac
 
9395
 
 
9396
 
 
9397
 
 
9398
 
 
9399
 
7828
9400
 
7829
9401
#
7830
9402
# Check to make sure the static flag actually works.
7831
9403
#
7832
9404
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7833
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7834
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7835
 
if test "${lt_prog_compiler_static_works+set}" = set; then
7836
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9405
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
9406
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
9407
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
9408
  $as_echo_n "(cached) " >&6
7837
9409
else
7838
 
  lt_prog_compiler_static_works=no
 
9410
  lt_cv_prog_compiler_static_works=no
7839
9411
   save_LDFLAGS="$LDFLAGS"
7840
9412
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7841
9413
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
7845
9417
     if test -s conftest.err; then
7846
9418
       # Append any errors to the config.log.
7847
9419
       cat conftest.err 1>&5
7848
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
9420
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7849
9421
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7850
9422
       if diff conftest.exp conftest.er2 >/dev/null; then
7851
 
         lt_prog_compiler_static_works=yes
 
9423
         lt_cv_prog_compiler_static_works=yes
7852
9424
       fi
7853
9425
     else
7854
 
       lt_prog_compiler_static_works=yes
 
9426
       lt_cv_prog_compiler_static_works=yes
7855
9427
     fi
7856
9428
   fi
7857
 
   $rm conftest*
 
9429
   $RM -r conftest*
7858
9430
   LDFLAGS="$save_LDFLAGS"
7859
9431
 
7860
9432
fi
7861
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7862
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
 
9433
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 
9434
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7863
9435
 
7864
 
if test x"$lt_prog_compiler_static_works" = xyes; then
 
9436
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7865
9437
    :
7866
9438
else
7867
9439
    lt_prog_compiler_static=
7868
9440
fi
7869
9441
 
7870
9442
 
7871
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7872
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7873
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7874
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7875
 
else
7876
 
  lt_cv_prog_compiler_c_o=no
7877
 
   $rm -r conftest 2>/dev/null
7878
 
   mkdir conftest
7879
 
   cd conftest
7880
 
   mkdir out
7881
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7882
 
 
7883
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
7884
 
   # Insert the option either (1) after the last *FLAGS variable, or
7885
 
   # (2) before a word containing "conftest.", or (3) at the end.
7886
 
   # Note that $ac_compile itself does not contain backslashes and begins
7887
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7888
 
   lt_compile=`echo "$ac_compile" | $SED \
7889
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7890
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7891
 
   -e 's:$: $lt_compiler_flag:'`
7892
 
   (eval echo "\"\$as_me:7892: $lt_compile\"" >&5)
7893
 
   (eval "$lt_compile" 2>out/conftest.err)
7894
 
   ac_status=$?
7895
 
   cat out/conftest.err >&5
7896
 
   echo "$as_me:7896: \$? = $ac_status" >&5
7897
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7898
 
   then
7899
 
     # The compiler can only warn and ignore the option if not recognized
7900
 
     # So say no if there are warnings
7901
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7902
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7903
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7904
 
       lt_cv_prog_compiler_c_o=yes
7905
 
     fi
7906
 
   fi
7907
 
   chmod u+w . 2>&5
7908
 
   $rm conftest*
7909
 
   # SGI C++ compiler will create directory out/ii_files/ for
7910
 
   # template instantiation
7911
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
7912
 
   $rm out/* && rmdir out
7913
 
   cd ..
7914
 
   rmdir conftest
7915
 
   $rm conftest*
7916
 
 
7917
 
fi
7918
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7919
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
 
9443
 
 
9444
 
 
9445
 
 
9446
 
 
9447
 
 
9448
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9449
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
9450
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
9451
  $as_echo_n "(cached) " >&6
 
9452
else
 
9453
  lt_cv_prog_compiler_c_o=no
 
9454
   $RM -r conftest 2>/dev/null
 
9455
   mkdir conftest
 
9456
   cd conftest
 
9457
   mkdir out
 
9458
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9459
 
 
9460
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
9461
   # Insert the option either (1) after the last *FLAGS variable, or
 
9462
   # (2) before a word containing "conftest.", or (3) at the end.
 
9463
   # Note that $ac_compile itself does not contain backslashes and begins
 
9464
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9465
   lt_compile=`echo "$ac_compile" | $SED \
 
9466
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9467
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9468
   -e 's:$: $lt_compiler_flag:'`
 
9469
   (eval echo "\"\$as_me:9469: $lt_compile\"" >&5)
 
9470
   (eval "$lt_compile" 2>out/conftest.err)
 
9471
   ac_status=$?
 
9472
   cat out/conftest.err >&5
 
9473
   echo "$as_me:9473: \$? = $ac_status" >&5
 
9474
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
9475
   then
 
9476
     # The compiler can only warn and ignore the option if not recognized
 
9477
     # So say no if there are warnings
 
9478
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9479
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
9480
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
9481
       lt_cv_prog_compiler_c_o=yes
 
9482
     fi
 
9483
   fi
 
9484
   chmod u+w . 2>&5
 
9485
   $RM conftest*
 
9486
   # SGI C++ compiler will create directory out/ii_files/ for
 
9487
   # template instantiation
 
9488
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
9489
   $RM out/* && rmdir out
 
9490
   cd ..
 
9491
   $RM -r conftest
 
9492
   $RM conftest*
 
9493
 
 
9494
fi
 
9495
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
9496
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
9497
 
 
9498
 
 
9499
 
 
9500
 
 
9501
 
 
9502
 
 
9503
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9504
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
9505
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
9506
  $as_echo_n "(cached) " >&6
 
9507
else
 
9508
  lt_cv_prog_compiler_c_o=no
 
9509
   $RM -r conftest 2>/dev/null
 
9510
   mkdir conftest
 
9511
   cd conftest
 
9512
   mkdir out
 
9513
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9514
 
 
9515
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
9516
   # Insert the option either (1) after the last *FLAGS variable, or
 
9517
   # (2) before a word containing "conftest.", or (3) at the end.
 
9518
   # Note that $ac_compile itself does not contain backslashes and begins
 
9519
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9520
   lt_compile=`echo "$ac_compile" | $SED \
 
9521
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9522
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9523
   -e 's:$: $lt_compiler_flag:'`
 
9524
   (eval echo "\"\$as_me:9524: $lt_compile\"" >&5)
 
9525
   (eval "$lt_compile" 2>out/conftest.err)
 
9526
   ac_status=$?
 
9527
   cat out/conftest.err >&5
 
9528
   echo "$as_me:9528: \$? = $ac_status" >&5
 
9529
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
9530
   then
 
9531
     # The compiler can only warn and ignore the option if not recognized
 
9532
     # So say no if there are warnings
 
9533
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9534
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
9535
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
9536
       lt_cv_prog_compiler_c_o=yes
 
9537
     fi
 
9538
   fi
 
9539
   chmod u+w . 2>&5
 
9540
   $RM conftest*
 
9541
   # SGI C++ compiler will create directory out/ii_files/ for
 
9542
   # template instantiation
 
9543
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
9544
   $RM out/* && rmdir out
 
9545
   cd ..
 
9546
   $RM -r conftest
 
9547
   $RM conftest*
 
9548
 
 
9549
fi
 
9550
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
9551
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
9552
 
 
9553
 
7920
9554
 
7921
9555
 
7922
9556
hard_links="nottested"
7923
9557
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7924
9558
  # do not overwrite the value of need_locks provided by the user
7925
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7926
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
9559
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
9560
$as_echo_n "checking if we can lock with hard links... " >&6; }
7927
9561
  hard_links=yes
7928
 
  $rm conftest*
 
9562
  $RM conftest*
7929
9563
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7930
9564
  touch conftest.a
7931
9565
  ln conftest.a conftest.b 2>&5 || hard_links=no
7932
9566
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7933
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
7934
 
echo "${ECHO_T}$hard_links" >&6; }
 
9567
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
9568
$as_echo "$hard_links" >&6; }
7935
9569
  if test "$hard_links" = no; then
7936
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7937
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
9570
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
9571
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7938
9572
    need_locks=warn
7939
9573
  fi
7940
9574
else
7941
9575
  need_locks=no
7942
9576
fi
7943
9577
 
7944
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7945
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
9578
 
 
9579
 
 
9580
 
 
9581
 
 
9582
 
 
9583
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
9584
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7946
9585
 
7947
9586
  runpath_var=
7948
9587
  allow_undefined_flag=
7949
 
  enable_shared_with_static_runtimes=no
 
9588
  always_export_symbols=no
7950
9589
  archive_cmds=
7951
9590
  archive_expsym_cmds=
7952
 
  old_archive_From_new_cmds=
7953
 
  old_archive_from_expsyms_cmds=
 
9591
  compiler_needs_object=no
 
9592
  enable_shared_with_static_runtimes=no
7954
9593
  export_dynamic_flag_spec=
7955
 
  whole_archive_flag_spec=
7956
 
  thread_safe_flag_spec=
 
9594
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
9595
  hardcode_automatic=no
 
9596
  hardcode_direct=no
 
9597
  hardcode_direct_absolute=no
7957
9598
  hardcode_libdir_flag_spec=
7958
9599
  hardcode_libdir_flag_spec_ld=
7959
9600
  hardcode_libdir_separator=
7960
 
  hardcode_direct=no
7961
9601
  hardcode_minus_L=no
7962
9602
  hardcode_shlibpath_var=unsupported
 
9603
  inherit_rpath=no
7963
9604
  link_all_deplibs=unknown
7964
 
  hardcode_automatic=no
7965
9605
  module_cmds=
7966
9606
  module_expsym_cmds=
7967
 
  always_export_symbols=no
7968
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
9607
  old_archive_from_new_cmds=
 
9608
  old_archive_from_expsyms_cmds=
 
9609
  thread_safe_flag_spec=
 
9610
  whole_archive_flag_spec=
7969
9611
  # include_expsyms should be a list of space-separated symbols to be *always*
7970
9612
  # included in the symbol list
7971
9613
  include_expsyms=
7973
9615
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
7974
9616
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7975
9617
  # as well as any symbol that contains `d'.
7976
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
 
9618
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7977
9619
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7978
9620
  # platforms (ab)use it in PIC code, but their linkers get confused if
7979
9621
  # the symbol is explicitly referenced.  Since portable code cannot
7980
9622
  # rely on this symbol name, it's probably fine to never include it in
7981
9623
  # preloaded symbol tables.
 
9624
  # Exclude shared library initialization/finalization symbols.
7982
9625
  extract_expsyms_cmds=
7983
 
  # Just being paranoid about ensuring that cc_basename is set.
7984
 
  for cc_temp in $compiler""; do
7985
 
  case $cc_temp in
7986
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7987
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7988
 
    \-*) ;;
7989
 
    *) break;;
7990
 
  esac
7991
 
done
7992
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7993
9626
 
7994
9627
  case $host_os in
7995
 
  cygwin* | mingw* | pw32*)
 
9628
  cygwin* | mingw* | pw32* | cegcc*)
7996
9629
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
7997
9630
    # When not using gcc, we currently assume that we are using
7998
9631
    # Microsoft Visual C++.
8018
9651
    # are reset later if shared libraries are not supported. Putting them
8019
9652
    # here allows them to be overridden if necessary.
8020
9653
    runpath_var=LD_RUN_PATH
8021
 
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
9654
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8022
9655
    export_dynamic_flag_spec='${wl}--export-dynamic'
8023
9656
    # ancient GNU ld didn't support --whole-archive et. al.
8024
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
8025
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8026
 
      else
8027
 
        whole_archive_flag_spec=
 
9657
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
9658
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
9659
    else
 
9660
      whole_archive_flag_spec=
8028
9661
    fi
8029
9662
    supports_anon_versioning=no
8030
 
    case `$LD -v 2>/dev/null` in
 
9663
    case `$LD -v 2>&1` in
8031
9664
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8032
9665
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8033
9666
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8037
9670
 
8038
9671
    # See if GNU ld supports shared libraries.
8039
9672
    case $host_os in
8040
 
    aix3* | aix4* | aix5*)
 
9673
    aix[3-9]*)
8041
9674
      # On AIX/PPC, the GNU linker is very broken
8042
9675
      if test "$host_cpu" != ia64; then
8043
9676
        ld_shlibs=no
8044
 
        cat <<EOF 1>&2
 
9677
        cat <<_LT_EOF 1>&2
8045
9678
 
8046
9679
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8047
9680
*** to be unable to reliably create shared libraries on AIX.
8049
9682
*** really care for shared libraries, you may want to modify your PATH
8050
9683
*** so that a non-GNU linker is found, and then restart.
8051
9684
 
8052
 
EOF
 
9685
_LT_EOF
8053
9686
      fi
8054
9687
      ;;
8055
9688
 
8056
9689
    amigaos*)
8057
 
      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)'
8058
 
      hardcode_libdir_flag_spec='-L$libdir'
8059
 
      hardcode_minus_L=yes
8060
 
 
8061
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8062
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
8063
 
      # to version 4, is to share data among multiple programs linked
8064
 
      # with the same dynamic library.  Since this doesn't match the
8065
 
      # behavior of shared libraries on other platforms, we can't use
8066
 
      # them.
8067
 
      ld_shlibs=no
 
9690
      case $host_cpu in
 
9691
      powerpc)
 
9692
            # see comment about AmigaOS4 .so support
 
9693
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9694
            archive_expsym_cmds=''
 
9695
        ;;
 
9696
      m68k)
 
9697
            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)'
 
9698
            hardcode_libdir_flag_spec='-L$libdir'
 
9699
            hardcode_minus_L=yes
 
9700
        ;;
 
9701
      esac
8068
9702
      ;;
8069
9703
 
8070
9704
    beos*)
8071
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9705
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8072
9706
        allow_undefined_flag=unsupported
8073
9707
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8074
9708
        # support --undefined.  This deserves some investigation.  FIXME
8078
9712
      fi
8079
9713
      ;;
8080
9714
 
8081
 
    cygwin* | mingw* | pw32*)
8082
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
9715
    cygwin* | mingw* | pw32* | cegcc*)
 
9716
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8083
9717
      # as there is no search path for DLLs.
8084
9718
      hardcode_libdir_flag_spec='-L$libdir'
8085
9719
      allow_undefined_flag=unsupported
8086
9720
      always_export_symbols=no
8087
9721
      enable_shared_with_static_runtimes=yes
8088
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9722
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8089
9723
 
8090
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
9724
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8091
9725
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8092
9726
        # If the export-symbols file already is a .def file (1st line
8093
9727
        # is EXPORTS), use it as is; otherwise, prepend...
8118
9752
      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'
8119
9753
      ;;
8120
9754
 
8121
 
    gnu* | linux* | k*bsd*-gnu)
8122
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9755
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
9756
      tmp_diet=no
 
9757
      if test "$host_os" = linux-dietlibc; then
 
9758
        case $cc_basename in
 
9759
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
9760
        esac
 
9761
      fi
 
9762
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
9763
         && test "$tmp_diet" = no
 
9764
      then
8123
9765
        tmp_addflag=
 
9766
        tmp_sharedflag='-shared'
8124
9767
        case $cc_basename,$host_cpu in
8125
 
        pgcc*)                          # Portland Group C compiler
8126
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
9768
        pgcc*)                          # Portland Group C compiler
 
9769
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8127
9770
          tmp_addflag=' $pic_flag'
8128
9771
          ;;
8129
9772
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8130
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
9773
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8131
9774
          tmp_addflag=' $pic_flag -Mnomain' ;;
8132
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
9775
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8133
9776
          tmp_addflag=' -i_dynamic' ;;
8134
9777
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8135
9778
          tmp_addflag=' -i_dynamic -nofor_main' ;;
8136
9779
        ifc* | ifort*)                  # Intel Fortran compiler
8137
9780
          tmp_addflag=' -nofor_main' ;;
 
9781
        lf95*)                          # Lahey Fortran 8.1
 
9782
          whole_archive_flag_spec=
 
9783
          tmp_sharedflag='--shared' ;;
 
9784
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
9785
          tmp_sharedflag='-qmkshrobj'
 
9786
          tmp_addflag= ;;
8138
9787
        esac
8139
9788
        case `$CC -V 2>&1 | sed 5q` in
8140
9789
        *Sun\ C*)                       # Sun C 5.9
8141
 
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
9790
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
9791
          compiler_needs_object=yes
8142
9792
          tmp_sharedflag='-G' ;;
8143
9793
        *Sun\ F*)                       # Sun Fortran 8.3
8144
9794
          tmp_sharedflag='-G' ;;
8145
 
        *)
8146
 
          tmp_sharedflag='-shared' ;;
8147
9795
        esac
8148
9796
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8149
9797
 
8150
 
        if test $supports_anon_versioning = yes; then
8151
 
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
8152
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8153
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
8154
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8155
 
        fi
 
9798
        if test "x$supports_anon_versioning" = xyes; then
 
9799
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
9800
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
9801
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
9802
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
9803
        fi
 
9804
 
 
9805
        case $cc_basename in
 
9806
        xlf*)
 
9807
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
9808
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
9809
          hardcode_libdir_flag_spec=
 
9810
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
9811
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
9812
          if test "x$supports_anon_versioning" = xyes; then
 
9813
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
9814
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
9815
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
9816
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
9817
          fi
 
9818
          ;;
 
9819
        esac
8156
9820
      else
8157
 
        ld_shlibs=no
 
9821
        ld_shlibs=no
8158
9822
      fi
8159
9823
      ;;
8160
9824
 
8161
9825
    netbsd*)
8162
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
9826
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8163
9827
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8164
9828
        wlarc=
8165
9829
      else
8169
9833
      ;;
8170
9834
 
8171
9835
    solaris*)
8172
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
9836
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8173
9837
        ld_shlibs=no
8174
 
        cat <<EOF 1>&2
 
9838
        cat <<_LT_EOF 1>&2
8175
9839
 
8176
9840
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8177
9841
*** create shared libraries on Solaris systems.  Therefore, libtool
8180
9844
*** your PATH or compiler configuration so that the native linker is
8181
9845
*** used, and then restart.
8182
9846
 
8183
 
EOF
8184
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9847
_LT_EOF
 
9848
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8185
9849
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8186
9850
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8187
9851
      else
8205
9869
_LT_EOF
8206
9870
        ;;
8207
9871
        *)
8208
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8209
 
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8210
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8211
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
9872
          # For security reasons, it is highly recommended that you always
 
9873
          # use absolute paths for naming shared libraries, and exclude the
 
9874
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
9875
          # requires that you compile everything twice, which is a pain.
 
9876
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9877
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9878
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9879
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8212
9880
          else
8213
9881
            ld_shlibs=no
8214
9882
          fi
8224
9892
      ;;
8225
9893
 
8226
9894
    *)
8227
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9895
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8228
9896
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8229
9897
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8230
9898
      else
8256
9924
      fi
8257
9925
      ;;
8258
9926
 
8259
 
    aix4* | aix5*)
 
9927
    aix[4-9]*)
8260
9928
      if test "$host_cpu" = ia64; then
8261
9929
        # On IA64, the linker does run time linking by default, so we don't
8262
9930
        # have to do anything special.
8266
9934
      else
8267
9935
        # If we're using GNU nm, then we don't want the "-C" option.
8268
9936
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
8269
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
8270
 
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
 
9937
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
9938
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8271
9939
        else
8272
 
          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'
 
9940
          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'
8273
9941
        fi
8274
9942
        aix_use_runtimelinking=no
8275
9943
 
8276
9944
        # Test if we are trying to use run time linking or normal
8277
9945
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8278
9946
        # need to do runtime linking.
8279
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
9947
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8280
9948
          for ld_flag in $LDFLAGS; do
8281
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8282
 
            aix_use_runtimelinking=yes
8283
 
            break
8284
 
          fi
 
9949
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
9950
            aix_use_runtimelinking=yes
 
9951
            break
 
9952
          fi
8285
9953
          done
8286
9954
          ;;
8287
9955
        esac
8298
9966
 
8299
9967
      archive_cmds=''
8300
9968
      hardcode_direct=yes
 
9969
      hardcode_direct_absolute=yes
8301
9970
      hardcode_libdir_separator=':'
8302
9971
      link_all_deplibs=yes
 
9972
      file_list_spec='${wl}-f,'
8303
9973
 
8304
9974
      if test "$GCC" = yes; then
8305
9975
        case $host_os in aix4.[012]|aix4.[012].*)
8306
9976
        # We only want to do this on AIX 4.2 and lower, the check
8307
9977
        # below for broken collect2 doesn't work under 4.3+
8308
9978
          collect2name=`${CC} -print-prog-name=collect2`
8309
 
          if test -f "$collect2name" && \
8310
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
 
9979
          if test -f "$collect2name" &&
 
9980
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8311
9981
          then
8312
 
          # We have reworked collect2
8313
 
          :
 
9982
          # We have reworked collect2
 
9983
          :
8314
9984
          else
8315
 
          # We have old collect2
8316
 
          hardcode_direct=unsupported
8317
 
          # It fails to find uninstalled libraries when the uninstalled
8318
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
8319
 
          # to unsupported forces relinking
8320
 
          hardcode_minus_L=yes
8321
 
          hardcode_libdir_flag_spec='-L$libdir'
8322
 
          hardcode_libdir_separator=
 
9985
          # We have old collect2
 
9986
          hardcode_direct=unsupported
 
9987
          # It fails to find uninstalled libraries when the uninstalled
 
9988
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
9989
          # to unsupported forces relinking
 
9990
          hardcode_minus_L=yes
 
9991
          hardcode_libdir_flag_spec='-L$libdir'
 
9992
          hardcode_libdir_separator=
8323
9993
          fi
8324
9994
          ;;
8325
9995
        esac
8330
10000
      else
8331
10001
        # not using gcc
8332
10002
        if test "$host_cpu" = ia64; then
8333
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8334
 
        # chokes on -Wl,-G. The following line is correct:
 
10003
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
10004
        # chokes on -Wl,-G. The following line is correct:
8335
10005
          shared_flag='-G'
8336
10006
        else
8337
10007
          if test "$aix_use_runtimelinking" = yes; then
8342
10012
        fi
8343
10013
      fi
8344
10014
 
 
10015
      export_dynamic_flag_spec='${wl}-bexpall'
8345
10016
      # It seems that -bexpall does not export symbols beginning with
8346
10017
      # underscore (_), so it is better to generate a list of symbols to export.
8347
10018
      always_export_symbols=yes
8349
10020
        # Warning - without using the other runtime loading flags (-brtl),
8350
10021
        # -berok will link without error, but may produce a broken library.
8351
10022
        allow_undefined_flag='-berok'
8352
 
       # Determine the default libpath from the value encoded in an empty executable.
8353
 
       cat >conftest.$ac_ext <<_ACEOF
8354
 
/* confdefs.h.  */
8355
 
_ACEOF
8356
 
cat confdefs.h >>conftest.$ac_ext
8357
 
cat >>conftest.$ac_ext <<_ACEOF
 
10023
        # Determine the default libpath from the value encoded in an
 
10024
        # empty executable.
 
10025
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8358
10026
/* end confdefs.h.  */
8359
10027
 
8360
10028
int
8365
10033
  return 0;
8366
10034
}
8367
10035
_ACEOF
8368
 
rm -f conftest.$ac_objext conftest$ac_exeext
8369
 
if { (ac_try="$ac_link"
8370
 
case "(($ac_try" in
8371
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8372
 
  *) ac_try_echo=$ac_try;;
8373
 
esac
8374
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8375
 
  (eval "$ac_link") 2>conftest.er1
8376
 
  ac_status=$?
8377
 
  grep -v '^ *+' conftest.er1 >conftest.err
8378
 
  rm -f conftest.er1
8379
 
  cat conftest.err >&5
8380
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8381
 
  (exit $ac_status); } && {
8382
 
         test -z "$ac_c_werror_flag" ||
8383
 
         test ! -s conftest.err
8384
 
       } && test -s conftest$ac_exeext &&
8385
 
       $as_test_x conftest$ac_exeext; then
 
10036
if ac_fn_c_try_link "$LINENO"; then :
8386
10037
 
8387
10038
lt_aix_libpath_sed='
8388
10039
    /Import File Strings/,/^$/ {
8396
10047
if test -z "$aix_libpath"; then
8397
10048
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8398
10049
fi
8399
 
else
8400
 
  echo "$as_me: failed program was:" >&5
8401
 
sed 's/^/| /' conftest.$ac_ext >&5
8402
 
 
8403
 
 
8404
10050
fi
8405
 
 
8406
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8407
 
      conftest$ac_exeext conftest.$ac_ext
 
10051
rm -f core conftest.err conftest.$ac_objext \
 
10052
    conftest$ac_exeext conftest.$ac_ext
8408
10053
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8409
10054
 
8410
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8411
 
        archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8412
 
       else
 
10055
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
10056
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
10057
      else
8413
10058
        if test "$host_cpu" = ia64; then
8414
10059
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8415
10060
          allow_undefined_flag="-z nodefs"
8416
10061
          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"
8417
10062
        else
8418
 
         # Determine the default libpath from the value encoded in an empty executable.
8419
 
         cat >conftest.$ac_ext <<_ACEOF
8420
 
/* confdefs.h.  */
8421
 
_ACEOF
8422
 
cat confdefs.h >>conftest.$ac_ext
8423
 
cat >>conftest.$ac_ext <<_ACEOF
 
10063
         # Determine the default libpath from the value encoded in an
 
10064
         # empty executable.
 
10065
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8424
10066
/* end confdefs.h.  */
8425
10067
 
8426
10068
int
8431
10073
  return 0;
8432
10074
}
8433
10075
_ACEOF
8434
 
rm -f conftest.$ac_objext conftest$ac_exeext
8435
 
if { (ac_try="$ac_link"
8436
 
case "(($ac_try" in
8437
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8438
 
  *) ac_try_echo=$ac_try;;
8439
 
esac
8440
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8441
 
  (eval "$ac_link") 2>conftest.er1
8442
 
  ac_status=$?
8443
 
  grep -v '^ *+' conftest.er1 >conftest.err
8444
 
  rm -f conftest.er1
8445
 
  cat conftest.err >&5
8446
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8447
 
  (exit $ac_status); } && {
8448
 
         test -z "$ac_c_werror_flag" ||
8449
 
         test ! -s conftest.err
8450
 
       } && test -s conftest$ac_exeext &&
8451
 
       $as_test_x conftest$ac_exeext; then
 
10076
if ac_fn_c_try_link "$LINENO"; then :
8452
10077
 
8453
10078
lt_aix_libpath_sed='
8454
10079
    /Import File Strings/,/^$/ {
8462
10087
if test -z "$aix_libpath"; then
8463
10088
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8464
10089
fi
8465
 
else
8466
 
  echo "$as_me: failed program was:" >&5
8467
 
sed 's/^/| /' conftest.$ac_ext >&5
8468
 
 
8469
 
 
8470
10090
fi
8471
 
 
8472
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8473
 
      conftest$ac_exeext conftest.$ac_ext
 
10091
rm -f core conftest.err conftest.$ac_objext \
 
10092
    conftest$ac_exeext conftest.$ac_ext
8474
10093
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8475
10094
 
8476
10095
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8488
10107
      ;;
8489
10108
 
8490
10109
    amigaos*)
8491
 
      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)'
8492
 
      hardcode_libdir_flag_spec='-L$libdir'
8493
 
      hardcode_minus_L=yes
8494
 
      # see comment about different semantics on the GNU ld section
8495
 
      ld_shlibs=no
 
10110
      case $host_cpu in
 
10111
      powerpc)
 
10112
            # see comment about AmigaOS4 .so support
 
10113
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10114
            archive_expsym_cmds=''
 
10115
        ;;
 
10116
      m68k)
 
10117
            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)'
 
10118
            hardcode_libdir_flag_spec='-L$libdir'
 
10119
            hardcode_minus_L=yes
 
10120
        ;;
 
10121
      esac
8496
10122
      ;;
8497
10123
 
8498
10124
    bsdi[45]*)
8499
10125
      export_dynamic_flag_spec=-rdynamic
8500
10126
      ;;
8501
10127
 
8502
 
    cygwin* | mingw* | pw32*)
 
10128
    cygwin* | mingw* | pw32* | cegcc*)
8503
10129
      # When not using gcc, we currently assume that we are using
8504
10130
      # Microsoft Visual C++.
8505
10131
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8511
10137
      # Tell ltmain to make .dll files, not .so files.
8512
10138
      shrext_cmds=".dll"
8513
10139
      # FIXME: Setting linknames here is a bad hack.
8514
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
10140
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8515
10141
      # The linker will automatically build a .lib file if we build a DLL.
8516
 
      old_archive_From_new_cmds='true'
 
10142
      old_archive_from_new_cmds='true'
8517
10143
      # FIXME: Should let the user specify the lib program.
8518
10144
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8519
10145
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8521
10147
      ;;
8522
10148
 
8523
10149
    darwin* | rhapsody*)
8524
 
      case $host_os in
8525
 
        rhapsody* | darwin1.[012])
8526
 
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
8527
 
         ;;
8528
 
       *) # Darwin 1.3 on
8529
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8530
 
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8531
 
         else
8532
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
8533
 
             10.[012])
8534
 
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8535
 
               ;;
8536
 
             10.*)
8537
 
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8538
 
               ;;
8539
 
           esac
8540
 
         fi
8541
 
         ;;
8542
 
      esac
8543
 
      archive_cmds_need_lc=no
8544
 
      hardcode_direct=no
8545
 
      hardcode_automatic=yes
8546
 
      hardcode_shlibpath_var=unsupported
8547
 
      whole_archive_flag_spec=''
8548
 
      link_all_deplibs=yes
8549
 
    if test "$GCC" = yes ; then
8550
 
        output_verbose_link_cmd='echo'
8551
 
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8552
 
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8553
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8554
 
      archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8555
 
      module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8556
 
    else
8557
 
      case $cc_basename in
8558
 
        xlc*)
8559
 
         output_verbose_link_cmd='echo'
8560
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8561
 
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8562
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8563
 
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8564
 
          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8565
 
          ;;
8566
 
       *)
8567
 
         ld_shlibs=no
8568
 
          ;;
8569
 
      esac
8570
 
    fi
 
10150
 
 
10151
 
 
10152
  archive_cmds_need_lc=no
 
10153
  hardcode_direct=no
 
10154
  hardcode_automatic=yes
 
10155
  hardcode_shlibpath_var=unsupported
 
10156
  whole_archive_flag_spec=''
 
10157
  link_all_deplibs=yes
 
10158
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
10159
  case $cc_basename in
 
10160
     ifort*) _lt_dar_can_shared=yes ;;
 
10161
     *) _lt_dar_can_shared=$GCC ;;
 
10162
  esac
 
10163
  if test "$_lt_dar_can_shared" = "yes"; then
 
10164
    output_verbose_link_cmd=echo
 
10165
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
10166
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
10167
    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}"
 
10168
    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}"
 
10169
 
 
10170
  else
 
10171
  ld_shlibs=no
 
10172
  fi
 
10173
 
8571
10174
      ;;
8572
10175
 
8573
10176
    dgux*)
8609
10212
 
8610
10213
    hpux9*)
8611
10214
      if test "$GCC" = yes; then
8612
 
        archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
10215
        archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8613
10216
      else
8614
 
        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'
 
10217
        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'
8615
10218
      fi
8616
10219
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8617
10220
      hardcode_libdir_separator=:
8631
10234
      fi
8632
10235
      if test "$with_gnu_ld" = no; then
8633
10236
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
10237
        hardcode_libdir_flag_spec_ld='+b $libdir'
8634
10238
        hardcode_libdir_separator=:
8635
 
 
8636
10239
        hardcode_direct=yes
 
10240
        hardcode_direct_absolute=yes
8637
10241
        export_dynamic_flag_spec='${wl}-E'
8638
 
 
8639
10242
        # hardcode_minus_L: Not really in the search PATH,
8640
10243
        # but as the default location of the library.
8641
10244
        hardcode_minus_L=yes
8649
10252
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8650
10253
          ;;
8651
10254
        ia64*)
8652
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
10255
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8653
10256
          ;;
8654
10257
        *)
8655
10258
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8674
10277
 
8675
10278
        case $host_cpu in
8676
10279
        hppa*64*|ia64*)
8677
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
8678
10280
          hardcode_direct=no
8679
10281
          hardcode_shlibpath_var=no
8680
10282
          ;;
8681
10283
        *)
8682
10284
          hardcode_direct=yes
 
10285
          hardcode_direct_absolute=yes
8683
10286
          export_dynamic_flag_spec='${wl}-E'
8684
10287
 
8685
10288
          # hardcode_minus_L: Not really in the search PATH,
8692
10295
 
8693
10296
    irix5* | irix6* | nonstopux*)
8694
10297
      if test "$GCC" = yes; then
8695
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
10298
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
10299
        # Try to use the -exported_symbol ld option, if it does not
 
10300
        # work, assume that -exports_file does not work either and
 
10301
        # implicitly export all symbols.
 
10302
        save_LDFLAGS="$LDFLAGS"
 
10303
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
10304
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10305
/* end confdefs.h.  */
 
10306
int foo(void) {}
 
10307
_ACEOF
 
10308
if ac_fn_c_try_link "$LINENO"; then :
 
10309
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
 
10310
 
 
10311
fi
 
10312
rm -f core conftest.err conftest.$ac_objext \
 
10313
    conftest$ac_exeext conftest.$ac_ext
 
10314
        LDFLAGS="$save_LDFLAGS"
8696
10315
      else
8697
 
        archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8698
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
10316
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
10317
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8699
10318
      fi
 
10319
      archive_cmds_need_lc='no'
8700
10320
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8701
10321
      hardcode_libdir_separator=:
 
10322
      inherit_rpath=yes
8702
10323
      link_all_deplibs=yes
8703
10324
      ;;
8704
10325
 
8705
10326
    netbsd*)
8706
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
10327
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8707
10328
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8708
10329
      else
8709
10330
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8721
10342
      hardcode_shlibpath_var=no
8722
10343
      ;;
8723
10344
 
 
10345
    *nto* | *qnx*)
 
10346
      ;;
 
10347
 
8724
10348
    openbsd*)
8725
10349
      if test -f /usr/libexec/ld.so; then
8726
10350
        hardcode_direct=yes
8727
10351
        hardcode_shlibpath_var=no
8728
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
10352
        hardcode_direct_absolute=yes
 
10353
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8729
10354
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8730
10355
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8731
10356
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8741
10366
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8742
10367
             ;;
8743
10368
          esac
8744
 
        fi
 
10369
        fi
8745
10370
      else
8746
10371
        ld_shlibs=no
8747
10372
      fi
8751
10376
      hardcode_libdir_flag_spec='-L$libdir'
8752
10377
      hardcode_minus_L=yes
8753
10378
      allow_undefined_flag=unsupported
8754
 
      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'
8755
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
10379
      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'
 
10380
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8756
10381
      ;;
8757
10382
 
8758
10383
    osf3*)
8759
10384
      if test "$GCC" = yes; then
8760
10385
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8761
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
10386
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8762
10387
      else
8763
10388
        allow_undefined_flag=' -expect_unresolved \*'
8764
 
        archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
 
10389
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8765
10390
      fi
 
10391
      archive_cmds_need_lc='no'
8766
10392
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8767
10393
      hardcode_libdir_separator=:
8768
10394
      ;;
8770
10396
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
8771
10397
      if test "$GCC" = yes; then
8772
10398
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8773
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
10399
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8774
10400
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8775
10401
      else
8776
10402
        allow_undefined_flag=' -expect_unresolved \*'
8777
 
        archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8778
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8779
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
 
10403
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
10404
        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~
 
10405
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8780
10406
 
8781
10407
        # Both c and cxx compiler support -rpath directly
8782
10408
        hardcode_libdir_flag_spec='-rpath $libdir'
8783
10409
      fi
 
10410
      archive_cmds_need_lc='no'
8784
10411
      hardcode_libdir_separator=:
8785
10412
      ;;
8786
10413
 
8787
10414
    solaris*)
8788
 
      no_undefined_flag=' -z text'
 
10415
      no_undefined_flag=' -z defs'
8789
10416
      if test "$GCC" = yes; then
8790
10417
        wlarc='${wl}'
8791
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8792
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8793
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
10418
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10419
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10420
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8794
10421
      else
8795
 
        wlarc=''
8796
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8797
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8798
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
10422
        case `$CC -V 2>&1` in
 
10423
        *"Compilers 5.0"*)
 
10424
          wlarc=''
 
10425
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10426
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10427
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
10428
          ;;
 
10429
        *)
 
10430
          wlarc='${wl}'
 
10431
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
10432
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10433
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
10434
          ;;
 
10435
        esac
8799
10436
      fi
8800
10437
      hardcode_libdir_flag_spec='-R$libdir'
8801
10438
      hardcode_shlibpath_var=no
8805
10442
        # The compiler driver will combine and reorder linker options,
8806
10443
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
8807
10444
        # but is careful enough not to reorder.
8808
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
10445
        # Supported since Solaris 2.6 (maybe 2.5.1?)
8809
10446
        if test "$GCC" = yes; then
8810
10447
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8811
10448
        else
8894
10531
      allow_undefined_flag='${wl}-z,nodefs'
8895
10532
      archive_cmds_need_lc=no
8896
10533
      hardcode_shlibpath_var=no
8897
 
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
10534
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
8898
10535
      hardcode_libdir_separator=':'
8899
10536
      link_all_deplibs=yes
8900
10537
      export_dynamic_flag_spec='${wl}-Bexport'
8901
10538
      runpath_var='LD_RUN_PATH'
8902
10539
 
8903
10540
      if test "$GCC" = yes; then
8904
 
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8905
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10541
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10542
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8906
10543
      else
8907
 
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8908
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10544
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10545
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8909
10546
      fi
8910
10547
      ;;
8911
10548
 
8919
10556
      ld_shlibs=no
8920
10557
      ;;
8921
10558
    esac
 
10559
 
 
10560
    if test x$host_vendor = xsni; then
 
10561
      case $host in
 
10562
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
10563
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
10564
        ;;
 
10565
      esac
 
10566
    fi
8922
10567
  fi
8923
10568
 
8924
 
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8925
 
echo "${ECHO_T}$ld_shlibs" >&6; }
 
10569
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 
10570
$as_echo "$ld_shlibs" >&6; }
8926
10571
test "$ld_shlibs" = no && can_build_shared=no
8927
10572
 
 
10573
with_gnu_ld=$with_gnu_ld
 
10574
 
 
10575
 
 
10576
 
 
10577
 
 
10578
 
 
10579
 
 
10580
 
 
10581
 
 
10582
 
 
10583
 
 
10584
 
 
10585
 
 
10586
 
 
10587
 
 
10588
 
8928
10589
#
8929
10590
# Do we need to explicitly link libc?
8930
10591
#
8942
10603
      # Test whether the compiler implicitly links with -lc since on some
8943
10604
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
8944
10605
      # to ld, don't add -lc before -lgcc.
8945
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8946
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8947
 
      $rm conftest*
 
10606
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
10607
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
10608
      $RM conftest*
8948
10609
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8949
10610
 
8950
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
10611
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8951
10612
  (eval $ac_compile) 2>&5
8952
10613
  ac_status=$?
8953
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8954
 
  (exit $ac_status); } 2>conftest.err; then
 
10614
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10615
  test $ac_status = 0; } 2>conftest.err; then
8955
10616
        soname=conftest
8956
10617
        lib=conftest
8957
10618
        libobjs=conftest.$ac_objext
8965
10626
        libname=conftest
8966
10627
        lt_save_allow_undefined_flag=$allow_undefined_flag
8967
10628
        allow_undefined_flag=
8968
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8969
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
10629
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
10630
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8970
10631
  ac_status=$?
8971
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8972
 
  (exit $ac_status); }
 
10632
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10633
  test $ac_status = 0; }
8973
10634
        then
8974
10635
          archive_cmds_need_lc=no
8975
10636
        else
8979
10640
      else
8980
10641
        cat conftest.err 1>&5
8981
10642
      fi
8982
 
      $rm conftest*
8983
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8984
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
 
10643
      $RM conftest*
 
10644
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
 
10645
$as_echo "$archive_cmds_need_lc" >&6; }
8985
10646
      ;;
8986
10647
    esac
8987
10648
  fi
8988
10649
  ;;
8989
10650
esac
8990
10651
 
8991
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8992
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8993
 
library_names_spec=
8994
 
libname_spec='lib$name'
8995
 
soname_spec=
8996
 
shrext_cmds=".so"
8997
 
postinstall_cmds=
8998
 
postuninstall_cmds=
8999
 
finish_cmds=
9000
 
finish_eval=
9001
 
shlibpath_var=
9002
 
shlibpath_overrides_runpath=unknown
9003
 
version_type=none
9004
 
dynamic_linker="$host_os ld.so"
9005
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
10652
 
 
10653
 
 
10654
 
 
10655
 
 
10656
 
 
10657
 
 
10658
 
 
10659
 
 
10660
 
 
10661
 
 
10662
 
 
10663
 
 
10664
 
 
10665
 
 
10666
 
 
10667
 
 
10668
 
 
10669
 
 
10670
 
 
10671
 
 
10672
 
 
10673
 
 
10674
 
 
10675
 
 
10676
 
 
10677
 
 
10678
 
 
10679
 
 
10680
 
 
10681
 
 
10682
 
 
10683
 
 
10684
 
 
10685
 
 
10686
 
 
10687
 
 
10688
 
 
10689
 
 
10690
 
 
10691
 
 
10692
 
 
10693
 
 
10694
 
 
10695
 
 
10696
 
 
10697
 
 
10698
 
 
10699
 
 
10700
 
 
10701
 
 
10702
 
 
10703
 
 
10704
 
 
10705
 
 
10706
 
 
10707
 
 
10708
 
 
10709
 
 
10710
 
 
10711
 
 
10712
 
 
10713
 
 
10714
 
 
10715
 
 
10716
 
 
10717
 
 
10718
 
 
10719
 
 
10720
 
 
10721
 
 
10722
 
 
10723
 
 
10724
 
 
10725
 
 
10726
 
 
10727
 
 
10728
 
 
10729
 
 
10730
 
 
10731
 
 
10732
 
 
10733
 
 
10734
 
 
10735
 
 
10736
 
 
10737
 
 
10738
 
 
10739
 
 
10740
 
 
10741
 
 
10742
 
 
10743
 
 
10744
 
 
10745
 
 
10746
 
 
10747
 
 
10748
 
 
10749
 
 
10750
 
 
10751
 
 
10752
 
 
10753
 
 
10754
 
 
10755
 
 
10756
 
 
10757
 
 
10758
 
 
10759
 
 
10760
 
 
10761
 
 
10762
 
 
10763
 
 
10764
 
 
10765
 
 
10766
 
 
10767
 
 
10768
 
 
10769
 
 
10770
 
 
10771
 
 
10772
 
 
10773
 
 
10774
 
 
10775
 
 
10776
 
 
10777
 
 
10778
 
 
10779
 
 
10780
 
 
10781
 
 
10782
 
 
10783
 
 
10784
 
 
10785
 
 
10786
 
 
10787
 
 
10788
 
 
10789
 
 
10790
 
 
10791
 
 
10792
 
 
10793
 
 
10794
 
 
10795
 
 
10796
 
 
10797
 
 
10798
 
 
10799
 
 
10800
 
 
10801
 
 
10802
 
 
10803
 
 
10804
 
 
10805
 
 
10806
 
 
10807
 
 
10808
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
10809
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9006
10810
 
9007
10811
if test "$GCC" = yes; then
9008
10812
  case $host_os in
9010
10814
    *) lt_awk_arg="/^libraries:/" ;;
9011
10815
  esac
9012
10816
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9013
 
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
 
10817
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9014
10818
    # if the path contains ";" then we assume it to be the separator
9015
10819
    # otherwise default to the standard path separator (i.e. ":") - it is
9016
10820
    # assumed that no part of a normal pathname contains ";" but that should
9017
10821
    # okay in the real world where ";" in dirpaths is itself problematic.
9018
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
10822
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9019
10823
  else
9020
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
10824
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9021
10825
  fi
9022
10826
  # Ok, now we have the path, separated by spaces, we can step through it
9023
10827
  # and add multilib dir if necessary.
9031
10835
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9032
10836
    fi
9033
10837
  done
9034
 
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
10838
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9035
10839
BEGIN {RS=" "; FS="/|\n";} {
9036
10840
  lt_foo="";
9037
10841
  lt_count=0;
9051
10855
  if (lt_foo != "") { lt_freq[lt_foo]++; }
9052
10856
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9053
10857
}'`
9054
 
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
 
10858
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9055
10859
else
9056
10860
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9057
10861
fi
 
10862
library_names_spec=
 
10863
libname_spec='lib$name'
 
10864
soname_spec=
 
10865
shrext_cmds=".so"
 
10866
postinstall_cmds=
 
10867
postuninstall_cmds=
 
10868
finish_cmds=
 
10869
finish_eval=
 
10870
shlibpath_var=
 
10871
shlibpath_overrides_runpath=unknown
 
10872
version_type=none
 
10873
dynamic_linker="$host_os ld.so"
 
10874
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9058
10875
need_lib_prefix=unknown
9059
10876
hardcode_into_libs=no
9060
10877
 
9072
10889
  soname_spec='${libname}${release}${shared_ext}$major'
9073
10890
  ;;
9074
10891
 
9075
 
aix4* | aix5*)
 
10892
aix[4-9]*)
9076
10893
  version_type=linux
9077
10894
  need_lib_prefix=no
9078
10895
  need_version=no
9091
10908
      aix4 | aix4.[01] | aix4.[01].*)
9092
10909
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9093
10910
           echo ' yes '
9094
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
10911
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9095
10912
        :
9096
10913
      else
9097
10914
        can_build_shared=no
9117
10934
  ;;
9118
10935
 
9119
10936
amigaos*)
9120
 
  library_names_spec='$libname.ixlibrary $libname.a'
9121
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
9122
 
  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
10937
  case $host_cpu in
 
10938
  powerpc)
 
10939
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
10940
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
10941
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10942
    ;;
 
10943
  m68k)
 
10944
    library_names_spec='$libname.ixlibrary $libname.a'
 
10945
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
10946
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
10947
    ;;
 
10948
  esac
9123
10949
  ;;
9124
10950
 
9125
10951
beos*)
9142
10968
  # libtool to hard-code these into programs
9143
10969
  ;;
9144
10970
 
9145
 
cygwin* | mingw* | pw32*)
 
10971
cygwin* | mingw* | pw32* | cegcc*)
9146
10972
  version_type=windows
9147
10973
  shrext_cmds=".dll"
9148
10974
  need_version=no
9149
10975
  need_lib_prefix=no
9150
10976
 
9151
10977
  case $GCC,$host_os in
9152
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
10978
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9153
10979
    library_names_spec='$libname.dll.a'
9154
10980
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9155
10981
    postinstall_cmds='base_file=`basename \${file}`~
9156
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
10982
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9157
10983
      dldir=$destdir/`dirname \$dlpath`~
9158
10984
      test -d \$dldir || mkdir -p \$dldir~
9159
10985
      $install_prog $dir/$dlname \$dldir/$dlname~
9160
 
      chmod a+x \$dldir/$dlname'
 
10986
      chmod a+x \$dldir/$dlname~
 
10987
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
10988
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
10989
      fi'
9161
10990
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9162
10991
      dlpath=$dir/\$dldll~
9163
 
       $rm \$dlpath'
 
10992
       $RM \$dlpath'
9164
10993
    shlibpath_overrides_runpath=yes
9165
10994
 
9166
10995
    case $host_os in
9169
10998
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9170
10999
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9171
11000
      ;;
9172
 
    mingw*)
 
11001
    mingw* | cegcc*)
9173
11002
      # MinGW DLLs use traditional 'lib' prefix
9174
11003
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9175
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9176
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
11004
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
11005
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9177
11006
        # It is most probably a Windows format PATH printed by
9178
11007
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9179
11008
        # path with ; separators, and with drive letters. We can handle the
9180
11009
        # drive letters (cygwin fileutils understands them), so leave them,
9181
11010
        # especially as we might pass files found there to a mingw objdump,
9182
11011
        # which wouldn't understand a cygwinified path. Ahh.
9183
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
11012
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9184
11013
      else
9185
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
11014
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9186
11015
      fi
9187
11016
      ;;
9188
11017
    pw32*)
9206
11035
  version_type=darwin
9207
11036
  need_lib_prefix=no
9208
11037
  need_version=no
9209
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
11038
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9210
11039
  soname_spec='${libname}${release}${major}$shared_ext'
9211
11040
  shlibpath_overrides_runpath=yes
9212
11041
  shlibpath_var=DYLD_LIBRARY_PATH
9305
11134
    fi
9306
11135
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9307
11136
    ;;
9308
 
   hppa*64*)
9309
 
     shrext_cmds='.sl'
9310
 
     hardcode_into_libs=yes
9311
 
     dynamic_linker="$host_os dld.sl"
9312
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9313
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9314
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9315
 
     soname_spec='${libname}${release}${shared_ext}$major'
9316
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9317
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9318
 
     ;;
9319
 
   *)
 
11137
  hppa*64*)
 
11138
    shrext_cmds='.sl'
 
11139
    hardcode_into_libs=yes
 
11140
    dynamic_linker="$host_os dld.sl"
 
11141
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
11142
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
11143
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11144
    soname_spec='${libname}${release}${shared_ext}$major'
 
11145
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
11146
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
11147
    ;;
 
11148
  *)
9320
11149
    shrext_cmds='.sl'
9321
11150
    dynamic_linker="$host_os dld.sl"
9322
11151
    shlibpath_var=SHLIB_PATH
9325
11154
    soname_spec='${libname}${release}${shared_ext}$major'
9326
11155
    ;;
9327
11156
  esac
9328
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
11157
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9329
11158
  postinstall_cmds='chmod 555 $lib'
 
11159
  # or fails outright, so override atomically:
 
11160
  install_override_mode=555
9330
11161
  ;;
9331
11162
 
9332
11163
interix[3-9]*)
9393
11224
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9394
11225
  shlibpath_var=LD_LIBRARY_PATH
9395
11226
  shlibpath_overrides_runpath=no
 
11227
  # Some binutils ld are patched to set DT_RUNPATH
 
11228
  save_LDFLAGS=$LDFLAGS
 
11229
  save_libdir=$libdir
 
11230
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
11231
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
11232
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11233
/* end confdefs.h.  */
 
11234
 
 
11235
int
 
11236
main ()
 
11237
{
 
11238
 
 
11239
  ;
 
11240
  return 0;
 
11241
}
 
11242
_ACEOF
 
11243
if ac_fn_c_try_link "$LINENO"; then :
 
11244
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
11245
  shlibpath_overrides_runpath=yes
 
11246
fi
 
11247
fi
 
11248
rm -f core conftest.err conftest.$ac_objext \
 
11249
    conftest$ac_exeext conftest.$ac_ext
 
11250
  LDFLAGS=$save_LDFLAGS
 
11251
  libdir=$save_libdir
 
11252
 
9396
11253
  # This implies no fast_install, which is unacceptable.
9397
11254
  # Some rework will be needed to allow for fast_install
9398
11255
  # before this can be enabled.
9400
11257
 
9401
11258
  # Append ld.so.conf contents to the search path
9402
11259
  if test -f /etc/ld.so.conf; then
9403
 
    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;/^$/d' | tr '\n' ' '`
 
11260
    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;/^$/d' | tr '\n' ' '`
9404
11261
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9405
11262
  fi
9406
11263
 
9417
11274
  version_type=sunos
9418
11275
  need_lib_prefix=no
9419
11276
  need_version=no
9420
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
11277
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9421
11278
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9422
11279
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9423
11280
    dynamic_linker='NetBSD (a.out) ld.so'
9438
11295
  shlibpath_overrides_runpath=yes
9439
11296
  ;;
9440
11297
 
9441
 
nto-qnx*)
9442
 
  version_type=linux
 
11298
*nto* | *qnx*)
 
11299
  version_type=qnx
9443
11300
  need_lib_prefix=no
9444
11301
  need_version=no
9445
11302
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9446
11303
  soname_spec='${libname}${release}${shared_ext}$major'
9447
11304
  shlibpath_var=LD_LIBRARY_PATH
9448
 
  shlibpath_overrides_runpath=yes
 
11305
  shlibpath_overrides_runpath=no
 
11306
  hardcode_into_libs=yes
 
11307
  dynamic_linker='ldqnx.so'
9449
11308
  ;;
9450
11309
 
9451
11310
openbsd*)
9454
11313
  need_lib_prefix=no
9455
11314
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9456
11315
  case $host_os in
9457
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9458
 
    *)                         need_version=no  ;;
 
11316
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
11317
    *)                          need_version=no  ;;
9459
11318
  esac
9460
11319
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9461
11320
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9462
11321
  shlibpath_var=LD_LIBRARY_PATH
9463
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
11322
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9464
11323
    case $host_os in
9465
11324
      openbsd2.[89] | openbsd2.[89].*)
9466
11325
        shlibpath_overrides_runpath=no
9532
11391
    sni)
9533
11392
      shlibpath_overrides_runpath=no
9534
11393
      need_lib_prefix=no
9535
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
9536
11394
      runpath_var=LD_RUN_PATH
9537
11395
      ;;
9538
11396
    siemens)
9563
11421
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9564
11422
  soname_spec='${libname}${release}${shared_ext}$major'
9565
11423
  shlibpath_var=LD_LIBRARY_PATH
 
11424
  shlibpath_overrides_runpath=yes
9566
11425
  hardcode_into_libs=yes
9567
11426
  if test "$with_gnu_ld" = yes; then
9568
11427
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9569
 
    shlibpath_overrides_runpath=no
9570
11428
  else
9571
11429
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9572
 
    shlibpath_overrides_runpath=yes
9573
11430
    case $host_os in
9574
11431
      sco3.2v5*)
9575
11432
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9579
11436
  sys_lib_dlsearch_path_spec='/usr/lib'
9580
11437
  ;;
9581
11438
 
 
11439
tpf*)
 
11440
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
11441
  version_type=linux
 
11442
  need_lib_prefix=no
 
11443
  need_version=no
 
11444
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11445
  shlibpath_var=LD_LIBRARY_PATH
 
11446
  shlibpath_overrides_runpath=no
 
11447
  hardcode_into_libs=yes
 
11448
  ;;
 
11449
 
9582
11450
uts4*)
9583
11451
  version_type=linux
9584
11452
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9590
11458
  dynamic_linker=no
9591
11459
  ;;
9592
11460
esac
9593
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9594
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
11461
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
11462
$as_echo "$dynamic_linker" >&6; }
9595
11463
test "$dynamic_linker" = no && can_build_shared=no
9596
11464
 
9597
11465
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9599
11467
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9600
11468
fi
9601
11469
 
9602
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9603
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
11470
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
11471
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
11472
fi
 
11473
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
11474
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
11475
fi
 
11476
 
 
11477
 
 
11478
 
 
11479
 
 
11480
 
 
11481
 
 
11482
 
 
11483
 
 
11484
 
 
11485
 
 
11486
 
 
11487
 
 
11488
 
 
11489
 
 
11490
 
 
11491
 
 
11492
 
 
11493
 
 
11494
 
 
11495
 
 
11496
 
 
11497
 
 
11498
 
 
11499
 
 
11500
 
 
11501
 
 
11502
 
 
11503
 
 
11504
 
 
11505
 
 
11506
 
 
11507
 
 
11508
 
 
11509
 
 
11510
 
 
11511
 
 
11512
 
 
11513
 
 
11514
 
 
11515
 
 
11516
 
 
11517
 
 
11518
 
 
11519
 
 
11520
 
 
11521
 
 
11522
 
 
11523
 
 
11524
 
 
11525
 
 
11526
 
 
11527
 
 
11528
 
 
11529
 
 
11530
 
 
11531
 
 
11532
 
 
11533
 
 
11534
 
 
11535
 
 
11536
 
 
11537
 
 
11538
 
 
11539
 
 
11540
 
 
11541
 
 
11542
 
 
11543
 
 
11544
 
 
11545
 
 
11546
 
 
11547
 
 
11548
 
 
11549
 
 
11550
 
 
11551
 
 
11552
 
 
11553
 
 
11554
 
 
11555
 
 
11556
 
 
11557
 
 
11558
 
 
11559
 
 
11560
 
 
11561
 
 
11562
 
 
11563
 
 
11564
 
 
11565
 
 
11566
 
 
11567
 
 
11568
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
11569
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9604
11570
hardcode_action=
9605
 
if test -n "$hardcode_libdir_flag_spec" || \
9606
 
   test -n "$runpath_var" || \
 
11571
if test -n "$hardcode_libdir_flag_spec" ||
 
11572
   test -n "$runpath_var" ||
9607
11573
   test "X$hardcode_automatic" = "Xyes" ; then
9608
11574
 
9609
 
  # We can hardcode non-existant directories.
 
11575
  # We can hardcode non-existent directories.
9610
11576
  if test "$hardcode_direct" != no &&
9611
11577
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
9612
11578
     # have to relink, otherwise we might link with an installed library
9613
11579
     # when we should be linking with a yet-to-be-installed one
9614
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
11580
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9615
11581
     test "$hardcode_minus_L" != no; then
9616
11582
    # Linking always hardcodes the temporary library directory.
9617
11583
    hardcode_action=relink
9624
11590
  # directories.
9625
11591
  hardcode_action=unsupported
9626
11592
fi
9627
 
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
9628
 
echo "${ECHO_T}$hardcode_action" >&6; }
 
11593
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 
11594
$as_echo "$hardcode_action" >&6; }
9629
11595
 
9630
 
if test "$hardcode_action" = relink; then
 
11596
if test "$hardcode_action" = relink ||
 
11597
   test "$inherit_rpath" = yes; then
9631
11598
  # Fast installation is not supported
9632
11599
  enable_fast_install=no
9633
11600
elif test "$shlibpath_overrides_runpath" = yes ||
9636
11603
  enable_fast_install=needless
9637
11604
fi
9638
11605
 
9639
 
striplib=
9640
 
old_striplib=
9641
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9642
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9643
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
9644
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9645
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9646
 
  { echo "$as_me:$LINENO: result: yes" >&5
9647
 
echo "${ECHO_T}yes" >&6; }
9648
 
else
9649
 
# FIXME - insert some real tests, host_os isn't really good enough
9650
 
  case $host_os in
9651
 
   darwin*)
9652
 
       if test -n "$STRIP" ; then
9653
 
         striplib="$STRIP -x"
9654
 
         old_striplib="$STRIP -S"
9655
 
         { echo "$as_me:$LINENO: result: yes" >&5
9656
 
echo "${ECHO_T}yes" >&6; }
9657
 
       else
9658
 
  { echo "$as_me:$LINENO: result: no" >&5
9659
 
echo "${ECHO_T}no" >&6; }
9660
 
fi
9661
 
       ;;
9662
 
   *)
9663
 
  { echo "$as_me:$LINENO: result: no" >&5
9664
 
echo "${ECHO_T}no" >&6; }
9665
 
    ;;
9666
 
  esac
9667
 
fi
9668
 
 
9669
 
if test "x$enable_dlopen" != xyes; then
 
11606
 
 
11607
 
 
11608
 
 
11609
 
 
11610
 
 
11611
  if test "x$enable_dlopen" != xyes; then
9670
11612
  enable_dlopen=unknown
9671
11613
  enable_dlopen_self=unknown
9672
11614
  enable_dlopen_self_static=unknown
9681
11623
    lt_cv_dlopen_self=yes
9682
11624
    ;;
9683
11625
 
9684
 
  mingw* | pw32*)
 
11626
  mingw* | pw32* | cegcc*)
9685
11627
    lt_cv_dlopen="LoadLibrary"
9686
11628
    lt_cv_dlopen_libs=
9687
 
   ;;
 
11629
    ;;
9688
11630
 
9689
11631
  cygwin*)
9690
11632
    lt_cv_dlopen="dlopen"
9691
11633
    lt_cv_dlopen_libs=
9692
 
   ;;
 
11634
    ;;
9693
11635
 
9694
11636
  darwin*)
9695
11637
  # if libdl is installed we need to link against it
9696
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9697
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9698
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9699
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11638
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
11639
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
11640
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11641
  $as_echo_n "(cached) " >&6
9700
11642
else
9701
11643
  ac_check_lib_save_LIBS=$LIBS
9702
11644
LIBS="-ldl  $LIBS"
9703
 
cat >conftest.$ac_ext <<_ACEOF
9704
 
/* confdefs.h.  */
9705
 
_ACEOF
9706
 
cat confdefs.h >>conftest.$ac_ext
9707
 
cat >>conftest.$ac_ext <<_ACEOF
 
11645
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9708
11646
/* end confdefs.h.  */
9709
11647
 
9710
11648
/* Override any GCC internal prototype to avoid an error.
9722
11660
  return 0;
9723
11661
}
9724
11662
_ACEOF
9725
 
rm -f conftest.$ac_objext conftest$ac_exeext
9726
 
if { (ac_try="$ac_link"
9727
 
case "(($ac_try" in
9728
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9729
 
  *) ac_try_echo=$ac_try;;
9730
 
esac
9731
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9732
 
  (eval "$ac_link") 2>conftest.er1
9733
 
  ac_status=$?
9734
 
  grep -v '^ *+' conftest.er1 >conftest.err
9735
 
  rm -f conftest.er1
9736
 
  cat conftest.err >&5
9737
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9738
 
  (exit $ac_status); } && {
9739
 
         test -z "$ac_c_werror_flag" ||
9740
 
         test ! -s conftest.err
9741
 
       } && test -s conftest$ac_exeext &&
9742
 
       $as_test_x conftest$ac_exeext; then
 
11663
if ac_fn_c_try_link "$LINENO"; then :
9743
11664
  ac_cv_lib_dl_dlopen=yes
9744
11665
else
9745
 
  echo "$as_me: failed program was:" >&5
9746
 
sed 's/^/| /' conftest.$ac_ext >&5
9747
 
 
9748
 
        ac_cv_lib_dl_dlopen=no
 
11666
  ac_cv_lib_dl_dlopen=no
9749
11667
fi
9750
 
 
9751
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9752
 
      conftest$ac_exeext conftest.$ac_ext
 
11668
rm -f core conftest.err conftest.$ac_objext \
 
11669
    conftest$ac_exeext conftest.$ac_ext
9753
11670
LIBS=$ac_check_lib_save_LIBS
9754
11671
fi
9755
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9756
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9757
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
11672
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
11673
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11674
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
9758
11675
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9759
11676
else
9760
11677
 
9764
11681
 
9765
11682
fi
9766
11683
 
9767
 
   ;;
 
11684
    ;;
9768
11685
 
9769
11686
  *)
9770
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
9771
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9772
 
if test "${ac_cv_func_shl_load+set}" = set; then
9773
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9774
 
else
9775
 
  cat >conftest.$ac_ext <<_ACEOF
9776
 
/* confdefs.h.  */
9777
 
_ACEOF
9778
 
cat confdefs.h >>conftest.$ac_ext
9779
 
cat >>conftest.$ac_ext <<_ACEOF
9780
 
/* end confdefs.h.  */
9781
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9782
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9783
 
#define shl_load innocuous_shl_load
9784
 
 
9785
 
/* System header to define __stub macros and hopefully few prototypes,
9786
 
    which can conflict with char shl_load (); below.
9787
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9788
 
    <limits.h> exists even on freestanding compilers.  */
9789
 
 
9790
 
#ifdef __STDC__
9791
 
# include <limits.h>
9792
 
#else
9793
 
# include <assert.h>
9794
 
#endif
9795
 
 
9796
 
#undef shl_load
9797
 
 
9798
 
/* Override any GCC internal prototype to avoid an error.
9799
 
   Use char because int might match the return type of a GCC
9800
 
   builtin and then its argument prototype would still apply.  */
9801
 
#ifdef __cplusplus
9802
 
extern "C"
9803
 
#endif
9804
 
char shl_load ();
9805
 
/* The GNU C library defines this for functions which it implements
9806
 
    to always fail with ENOSYS.  Some functions are actually named
9807
 
    something starting with __ and the normal name is an alias.  */
9808
 
#if defined __stub_shl_load || defined __stub___shl_load
9809
 
choke me
9810
 
#endif
9811
 
 
9812
 
int
9813
 
main ()
9814
 
{
9815
 
return shl_load ();
9816
 
  ;
9817
 
  return 0;
9818
 
}
9819
 
_ACEOF
9820
 
rm -f conftest.$ac_objext conftest$ac_exeext
9821
 
if { (ac_try="$ac_link"
9822
 
case "(($ac_try" in
9823
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9824
 
  *) ac_try_echo=$ac_try;;
9825
 
esac
9826
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9827
 
  (eval "$ac_link") 2>conftest.er1
9828
 
  ac_status=$?
9829
 
  grep -v '^ *+' conftest.er1 >conftest.err
9830
 
  rm -f conftest.er1
9831
 
  cat conftest.err >&5
9832
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9833
 
  (exit $ac_status); } && {
9834
 
         test -z "$ac_c_werror_flag" ||
9835
 
         test ! -s conftest.err
9836
 
       } && test -s conftest$ac_exeext &&
9837
 
       $as_test_x conftest$ac_exeext; then
9838
 
  ac_cv_func_shl_load=yes
9839
 
else
9840
 
  echo "$as_me: failed program was:" >&5
9841
 
sed 's/^/| /' conftest.$ac_ext >&5
9842
 
 
9843
 
        ac_cv_func_shl_load=no
9844
 
fi
9845
 
 
9846
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9847
 
      conftest$ac_exeext conftest.$ac_ext
9848
 
fi
9849
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9850
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9851
 
if test $ac_cv_func_shl_load = yes; then
 
11687
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
11688
if test "x$ac_cv_func_shl_load" = x""yes; then :
9852
11689
  lt_cv_dlopen="shl_load"
9853
11690
else
9854
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9855
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9856
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9857
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11691
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 
11692
$as_echo_n "checking for shl_load in -ldld... " >&6; }
 
11693
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
11694
  $as_echo_n "(cached) " >&6
9858
11695
else
9859
11696
  ac_check_lib_save_LIBS=$LIBS
9860
11697
LIBS="-ldld  $LIBS"
9861
 
cat >conftest.$ac_ext <<_ACEOF
9862
 
/* confdefs.h.  */
9863
 
_ACEOF
9864
 
cat confdefs.h >>conftest.$ac_ext
9865
 
cat >>conftest.$ac_ext <<_ACEOF
 
11698
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9866
11699
/* end confdefs.h.  */
9867
11700
 
9868
11701
/* Override any GCC internal prototype to avoid an error.
9880
11713
  return 0;
9881
11714
}
9882
11715
_ACEOF
9883
 
rm -f conftest.$ac_objext conftest$ac_exeext
9884
 
if { (ac_try="$ac_link"
9885
 
case "(($ac_try" in
9886
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9887
 
  *) ac_try_echo=$ac_try;;
9888
 
esac
9889
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9890
 
  (eval "$ac_link") 2>conftest.er1
9891
 
  ac_status=$?
9892
 
  grep -v '^ *+' conftest.er1 >conftest.err
9893
 
  rm -f conftest.er1
9894
 
  cat conftest.err >&5
9895
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9896
 
  (exit $ac_status); } && {
9897
 
         test -z "$ac_c_werror_flag" ||
9898
 
         test ! -s conftest.err
9899
 
       } && test -s conftest$ac_exeext &&
9900
 
       $as_test_x conftest$ac_exeext; then
 
11716
if ac_fn_c_try_link "$LINENO"; then :
9901
11717
  ac_cv_lib_dld_shl_load=yes
9902
11718
else
9903
 
  echo "$as_me: failed program was:" >&5
9904
 
sed 's/^/| /' conftest.$ac_ext >&5
9905
 
 
9906
 
        ac_cv_lib_dld_shl_load=no
 
11719
  ac_cv_lib_dld_shl_load=no
9907
11720
fi
9908
 
 
9909
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9910
 
      conftest$ac_exeext conftest.$ac_ext
 
11721
rm -f core conftest.err conftest.$ac_objext \
 
11722
    conftest$ac_exeext conftest.$ac_ext
9911
11723
LIBS=$ac_check_lib_save_LIBS
9912
11724
fi
9913
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9914
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9915
 
if test $ac_cv_lib_dld_shl_load = yes; then
9916
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9917
 
else
9918
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
9919
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9920
 
if test "${ac_cv_func_dlopen+set}" = set; then
9921
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
9922
 
else
9923
 
  cat >conftest.$ac_ext <<_ACEOF
9924
 
/* confdefs.h.  */
9925
 
_ACEOF
9926
 
cat confdefs.h >>conftest.$ac_ext
9927
 
cat >>conftest.$ac_ext <<_ACEOF
9928
 
/* end confdefs.h.  */
9929
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9930
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9931
 
#define dlopen innocuous_dlopen
9932
 
 
9933
 
/* System header to define __stub macros and hopefully few prototypes,
9934
 
    which can conflict with char dlopen (); below.
9935
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9936
 
    <limits.h> exists even on freestanding compilers.  */
9937
 
 
9938
 
#ifdef __STDC__
9939
 
# include <limits.h>
9940
 
#else
9941
 
# include <assert.h>
9942
 
#endif
9943
 
 
9944
 
#undef dlopen
9945
 
 
9946
 
/* Override any GCC internal prototype to avoid an error.
9947
 
   Use char because int might match the return type of a GCC
9948
 
   builtin and then its argument prototype would still apply.  */
9949
 
#ifdef __cplusplus
9950
 
extern "C"
9951
 
#endif
9952
 
char dlopen ();
9953
 
/* The GNU C library defines this for functions which it implements
9954
 
    to always fail with ENOSYS.  Some functions are actually named
9955
 
    something starting with __ and the normal name is an alias.  */
9956
 
#if defined __stub_dlopen || defined __stub___dlopen
9957
 
choke me
9958
 
#endif
9959
 
 
9960
 
int
9961
 
main ()
9962
 
{
9963
 
return dlopen ();
9964
 
  ;
9965
 
  return 0;
9966
 
}
9967
 
_ACEOF
9968
 
rm -f conftest.$ac_objext conftest$ac_exeext
9969
 
if { (ac_try="$ac_link"
9970
 
case "(($ac_try" in
9971
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9972
 
  *) ac_try_echo=$ac_try;;
9973
 
esac
9974
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9975
 
  (eval "$ac_link") 2>conftest.er1
9976
 
  ac_status=$?
9977
 
  grep -v '^ *+' conftest.er1 >conftest.err
9978
 
  rm -f conftest.er1
9979
 
  cat conftest.err >&5
9980
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9981
 
  (exit $ac_status); } && {
9982
 
         test -z "$ac_c_werror_flag" ||
9983
 
         test ! -s conftest.err
9984
 
       } && test -s conftest$ac_exeext &&
9985
 
       $as_test_x conftest$ac_exeext; then
9986
 
  ac_cv_func_dlopen=yes
9987
 
else
9988
 
  echo "$as_me: failed program was:" >&5
9989
 
sed 's/^/| /' conftest.$ac_ext >&5
9990
 
 
9991
 
        ac_cv_func_dlopen=no
9992
 
fi
9993
 
 
9994
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9995
 
      conftest$ac_exeext conftest.$ac_ext
9996
 
fi
9997
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9998
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9999
 
if test $ac_cv_func_dlopen = yes; then
 
11725
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 
11726
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
11727
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
11728
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 
11729
else
 
11730
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
11731
if test "x$ac_cv_func_dlopen" = x""yes; then :
10000
11732
  lt_cv_dlopen="dlopen"
10001
11733
else
10002
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10003
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10004
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10005
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11734
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
11735
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
11736
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11737
  $as_echo_n "(cached) " >&6
10006
11738
else
10007
11739
  ac_check_lib_save_LIBS=$LIBS
10008
11740
LIBS="-ldl  $LIBS"
10009
 
cat >conftest.$ac_ext <<_ACEOF
10010
 
/* confdefs.h.  */
10011
 
_ACEOF
10012
 
cat confdefs.h >>conftest.$ac_ext
10013
 
cat >>conftest.$ac_ext <<_ACEOF
 
11741
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10014
11742
/* end confdefs.h.  */
10015
11743
 
10016
11744
/* Override any GCC internal prototype to avoid an error.
10028
11756
  return 0;
10029
11757
}
10030
11758
_ACEOF
10031
 
rm -f conftest.$ac_objext conftest$ac_exeext
10032
 
if { (ac_try="$ac_link"
10033
 
case "(($ac_try" in
10034
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10035
 
  *) ac_try_echo=$ac_try;;
10036
 
esac
10037
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10038
 
  (eval "$ac_link") 2>conftest.er1
10039
 
  ac_status=$?
10040
 
  grep -v '^ *+' conftest.er1 >conftest.err
10041
 
  rm -f conftest.er1
10042
 
  cat conftest.err >&5
10043
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10044
 
  (exit $ac_status); } && {
10045
 
         test -z "$ac_c_werror_flag" ||
10046
 
         test ! -s conftest.err
10047
 
       } && test -s conftest$ac_exeext &&
10048
 
       $as_test_x conftest$ac_exeext; then
 
11759
if ac_fn_c_try_link "$LINENO"; then :
10049
11760
  ac_cv_lib_dl_dlopen=yes
10050
11761
else
10051
 
  echo "$as_me: failed program was:" >&5
10052
 
sed 's/^/| /' conftest.$ac_ext >&5
10053
 
 
10054
 
        ac_cv_lib_dl_dlopen=no
 
11762
  ac_cv_lib_dl_dlopen=no
10055
11763
fi
10056
 
 
10057
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10058
 
      conftest$ac_exeext conftest.$ac_ext
 
11764
rm -f core conftest.err conftest.$ac_objext \
 
11765
    conftest$ac_exeext conftest.$ac_ext
10059
11766
LIBS=$ac_check_lib_save_LIBS
10060
11767
fi
10061
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10062
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10063
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
11768
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
11769
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11770
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10064
11771
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10065
11772
else
10066
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10067
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10068
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10069
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11773
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 
11774
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
 
11775
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
11776
  $as_echo_n "(cached) " >&6
10070
11777
else
10071
11778
  ac_check_lib_save_LIBS=$LIBS
10072
11779
LIBS="-lsvld  $LIBS"
10073
 
cat >conftest.$ac_ext <<_ACEOF
10074
 
/* confdefs.h.  */
10075
 
_ACEOF
10076
 
cat confdefs.h >>conftest.$ac_ext
10077
 
cat >>conftest.$ac_ext <<_ACEOF
 
11780
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10078
11781
/* end confdefs.h.  */
10079
11782
 
10080
11783
/* Override any GCC internal prototype to avoid an error.
10092
11795
  return 0;
10093
11796
}
10094
11797
_ACEOF
10095
 
rm -f conftest.$ac_objext conftest$ac_exeext
10096
 
if { (ac_try="$ac_link"
10097
 
case "(($ac_try" in
10098
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10099
 
  *) ac_try_echo=$ac_try;;
10100
 
esac
10101
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10102
 
  (eval "$ac_link") 2>conftest.er1
10103
 
  ac_status=$?
10104
 
  grep -v '^ *+' conftest.er1 >conftest.err
10105
 
  rm -f conftest.er1
10106
 
  cat conftest.err >&5
10107
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10108
 
  (exit $ac_status); } && {
10109
 
         test -z "$ac_c_werror_flag" ||
10110
 
         test ! -s conftest.err
10111
 
       } && test -s conftest$ac_exeext &&
10112
 
       $as_test_x conftest$ac_exeext; then
 
11798
if ac_fn_c_try_link "$LINENO"; then :
10113
11799
  ac_cv_lib_svld_dlopen=yes
10114
11800
else
10115
 
  echo "$as_me: failed program was:" >&5
10116
 
sed 's/^/| /' conftest.$ac_ext >&5
10117
 
 
10118
 
        ac_cv_lib_svld_dlopen=no
 
11801
  ac_cv_lib_svld_dlopen=no
10119
11802
fi
10120
 
 
10121
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10122
 
      conftest$ac_exeext conftest.$ac_ext
 
11803
rm -f core conftest.err conftest.$ac_objext \
 
11804
    conftest$ac_exeext conftest.$ac_ext
10123
11805
LIBS=$ac_check_lib_save_LIBS
10124
11806
fi
10125
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10126
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10127
 
if test $ac_cv_lib_svld_dlopen = yes; then
 
11807
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 
11808
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
11809
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10128
11810
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10129
11811
else
10130
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10131
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10132
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10133
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11812
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 
11813
$as_echo_n "checking for dld_link in -ldld... " >&6; }
 
11814
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
11815
  $as_echo_n "(cached) " >&6
10134
11816
else
10135
11817
  ac_check_lib_save_LIBS=$LIBS
10136
11818
LIBS="-ldld  $LIBS"
10137
 
cat >conftest.$ac_ext <<_ACEOF
10138
 
/* confdefs.h.  */
10139
 
_ACEOF
10140
 
cat confdefs.h >>conftest.$ac_ext
10141
 
cat >>conftest.$ac_ext <<_ACEOF
 
11819
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10142
11820
/* end confdefs.h.  */
10143
11821
 
10144
11822
/* Override any GCC internal prototype to avoid an error.
10156
11834
  return 0;
10157
11835
}
10158
11836
_ACEOF
10159
 
rm -f conftest.$ac_objext conftest$ac_exeext
10160
 
if { (ac_try="$ac_link"
10161
 
case "(($ac_try" in
10162
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10163
 
  *) ac_try_echo=$ac_try;;
10164
 
esac
10165
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10166
 
  (eval "$ac_link") 2>conftest.er1
10167
 
  ac_status=$?
10168
 
  grep -v '^ *+' conftest.er1 >conftest.err
10169
 
  rm -f conftest.er1
10170
 
  cat conftest.err >&5
10171
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10172
 
  (exit $ac_status); } && {
10173
 
         test -z "$ac_c_werror_flag" ||
10174
 
         test ! -s conftest.err
10175
 
       } && test -s conftest$ac_exeext &&
10176
 
       $as_test_x conftest$ac_exeext; then
 
11837
if ac_fn_c_try_link "$LINENO"; then :
10177
11838
  ac_cv_lib_dld_dld_link=yes
10178
11839
else
10179
 
  echo "$as_me: failed program was:" >&5
10180
 
sed 's/^/| /' conftest.$ac_ext >&5
10181
 
 
10182
 
        ac_cv_lib_dld_dld_link=no
 
11840
  ac_cv_lib_dld_dld_link=no
10183
11841
fi
10184
 
 
10185
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10186
 
      conftest$ac_exeext conftest.$ac_ext
 
11842
rm -f core conftest.err conftest.$ac_objext \
 
11843
    conftest$ac_exeext conftest.$ac_ext
10187
11844
LIBS=$ac_check_lib_save_LIBS
10188
11845
fi
10189
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10190
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10191
 
if test $ac_cv_lib_dld_dld_link = yes; then
10192
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
 
11846
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 
11847
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
11848
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
11849
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10193
11850
fi
10194
11851
 
10195
11852
 
10227
11884
    save_LIBS="$LIBS"
10228
11885
    LIBS="$lt_cv_dlopen_libs $LIBS"
10229
11886
 
10230
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10231
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10232
 
if test "${lt_cv_dlopen_self+set}" = set; then
10233
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11887
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 
11888
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
 
11889
if test "${lt_cv_dlopen_self+set}" = set; then :
 
11890
  $as_echo_n "(cached) " >&6
10234
11891
else
10235
11892
          if test "$cross_compiling" = yes; then :
10236
11893
  lt_cv_dlopen_self=cross
10237
11894
else
10238
11895
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10239
11896
  lt_status=$lt_dlunknown
10240
 
  cat > conftest.$ac_ext <<EOF
10241
 
#line 10241 "configure"
 
11897
  cat > conftest.$ac_ext <<_LT_EOF
 
11898
#line 11898 "configure"
10242
11899
#include "confdefs.h"
10243
11900
 
10244
11901
#if HAVE_DLFCN_H
10279
11936
#  endif
10280
11937
#endif
10281
11938
 
10282
 
#ifdef __cplusplus
10283
 
extern "C" void exit (int);
10284
 
#endif
10285
 
 
10286
11939
void fnord() { int i=42;}
10287
11940
int main ()
10288
11941
{
10298
11951
  else
10299
11952
    puts (dlerror ());
10300
11953
 
10301
 
    exit (status);
 
11954
  return status;
10302
11955
}
10303
 
EOF
10304
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
11956
_LT_EOF
 
11957
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10305
11958
  (eval $ac_link) 2>&5
10306
11959
  ac_status=$?
10307
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10308
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11960
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11961
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10309
11962
    (./conftest; exit; ) >&5 2>/dev/null
10310
11963
    lt_status=$?
10311
11964
    case x$lt_status in
10322
11975
 
10323
11976
 
10324
11977
fi
10325
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10326
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
 
11978
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 
11979
$as_echo "$lt_cv_dlopen_self" >&6; }
10327
11980
 
10328
11981
    if test "x$lt_cv_dlopen_self" = xyes; then
10329
11982
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10330
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10331
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10332
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
10333
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11983
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 
11984
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 
11985
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
11986
  $as_echo_n "(cached) " >&6
10334
11987
else
10335
11988
          if test "$cross_compiling" = yes; then :
10336
11989
  lt_cv_dlopen_self_static=cross
10337
11990
else
10338
11991
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10339
11992
  lt_status=$lt_dlunknown
10340
 
  cat > conftest.$ac_ext <<EOF
10341
 
#line 10341 "configure"
 
11993
  cat > conftest.$ac_ext <<_LT_EOF
 
11994
#line 11994 "configure"
10342
11995
#include "confdefs.h"
10343
11996
 
10344
11997
#if HAVE_DLFCN_H
10379
12032
#  endif
10380
12033
#endif
10381
12034
 
10382
 
#ifdef __cplusplus
10383
 
extern "C" void exit (int);
10384
 
#endif
10385
 
 
10386
12035
void fnord() { int i=42;}
10387
12036
int main ()
10388
12037
{
10398
12047
  else
10399
12048
    puts (dlerror ());
10400
12049
 
10401
 
    exit (status);
 
12050
  return status;
10402
12051
}
10403
 
EOF
10404
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
12052
_LT_EOF
 
12053
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10405
12054
  (eval $ac_link) 2>&5
10406
12055
  ac_status=$?
10407
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10408
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
12056
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12057
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10409
12058
    (./conftest; exit; ) >&5 2>/dev/null
10410
12059
    lt_status=$?
10411
12060
    case x$lt_status in
10422
12071
 
10423
12072
 
10424
12073
fi
10425
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10426
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
 
12074
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 
12075
$as_echo "$lt_cv_dlopen_self_static" >&6; }
10427
12076
    fi
10428
12077
 
10429
12078
    CPPFLAGS="$save_CPPFLAGS"
10444
12093
fi
10445
12094
 
10446
12095
 
10447
 
# Report which library types will actually be built
10448
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10449
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10450
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
10451
 
echo "${ECHO_T}$can_build_shared" >&6; }
10452
 
 
10453
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10454
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10455
 
test "$can_build_shared" = "no" && enable_shared=no
10456
 
 
10457
 
# On AIX, shared libraries and static libraries use the same namespace, and
10458
 
# are all built from PIC.
10459
 
case $host_os in
10460
 
aix3*)
10461
 
  test "$enable_shared" = yes && enable_static=no
10462
 
  if test -n "$RANLIB"; then
10463
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
10464
 
    postinstall_cmds='$RANLIB $lib'
10465
 
  fi
10466
 
  ;;
10467
 
 
10468
 
aix4* | aix5*)
10469
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
12096
 
 
12097
 
 
12098
 
 
12099
 
 
12100
 
 
12101
 
 
12102
 
 
12103
 
 
12104
 
 
12105
 
 
12106
 
 
12107
 
 
12108
 
 
12109
 
 
12110
 
 
12111
striplib=
 
12112
old_striplib=
 
12113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 
12114
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
12115
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
12116
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
12117
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
12118
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12119
$as_echo "yes" >&6; }
 
12120
else
 
12121
# FIXME - insert some real tests, host_os isn't really good enough
 
12122
  case $host_os in
 
12123
  darwin*)
 
12124
    if test -n "$STRIP" ; then
 
12125
      striplib="$STRIP -x"
 
12126
      old_striplib="$STRIP -S"
 
12127
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12128
$as_echo "yes" >&6; }
 
12129
    else
 
12130
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12131
$as_echo "no" >&6; }
 
12132
    fi
 
12133
    ;;
 
12134
  *)
 
12135
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12136
$as_echo "no" >&6; }
 
12137
    ;;
 
12138
  esac
 
12139
fi
 
12140
 
 
12141
 
 
12142
 
 
12143
 
 
12144
 
 
12145
 
 
12146
 
 
12147
 
 
12148
 
 
12149
 
 
12150
 
 
12151
 
 
12152
  # Report which library types will actually be built
 
12153
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 
12154
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
12155
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 
12156
$as_echo "$can_build_shared" >&6; }
 
12157
 
 
12158
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 
12159
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
12160
  test "$can_build_shared" = "no" && enable_shared=no
 
12161
 
 
12162
  # On AIX, shared libraries and static libraries use the same namespace, and
 
12163
  # are all built from PIC.
 
12164
  case $host_os in
 
12165
  aix3*)
10470
12166
    test "$enable_shared" = yes && enable_static=no
10471
 
  fi
10472
 
    ;;
10473
 
esac
10474
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
10475
 
echo "${ECHO_T}$enable_shared" >&6; }
10476
 
 
10477
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10478
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10479
 
# Make sure either enable_shared or enable_static is yes.
10480
 
test "$enable_shared" = yes || enable_static=yes
10481
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
10482
 
echo "${ECHO_T}$enable_static" >&6; }
10483
 
 
10484
 
# The else clause should only fire when bootstrapping the
10485
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
10486
 
# with your package, and you will get complaints that there are
10487
 
# no rules to generate ltmain.sh.
10488
 
if test -f "$ltmain"; then
10489
 
  # See if we are running on zsh, and set the options which allow our commands through
10490
 
  # without removal of \ escapes.
10491
 
  if test -n "${ZSH_VERSION+set}" ; then
10492
 
    setopt NO_GLOB_SUBST
10493
 
  fi
10494
 
  # Now quote all the things that may contain metacharacters while being
10495
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
10496
 
  # variables and quote the copies for generation of the libtool script.
10497
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10498
 
    SED SHELL STRIP \
10499
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10500
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10501
 
    deplibs_check_method reload_flag reload_cmds need_locks \
10502
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10503
 
    lt_cv_sys_global_symbol_to_c_name_address \
10504
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10505
 
    old_postinstall_cmds old_postuninstall_cmds \
10506
 
    compiler \
10507
 
    CC \
10508
 
    LD \
10509
 
    lt_prog_compiler_wl \
10510
 
    lt_prog_compiler_pic \
10511
 
    lt_prog_compiler_static \
10512
 
    lt_prog_compiler_no_builtin_flag \
10513
 
    export_dynamic_flag_spec \
10514
 
    thread_safe_flag_spec \
10515
 
    whole_archive_flag_spec \
10516
 
    enable_shared_with_static_runtimes \
10517
 
    old_archive_cmds \
10518
 
    old_archive_from_new_cmds \
10519
 
    predep_objects \
10520
 
    postdep_objects \
10521
 
    predeps \
10522
 
    postdeps \
10523
 
    compiler_lib_search_path \
10524
 
    archive_cmds \
10525
 
    archive_expsym_cmds \
10526
 
    postinstall_cmds \
10527
 
    postuninstall_cmds \
10528
 
    old_archive_from_expsyms_cmds \
10529
 
    allow_undefined_flag \
10530
 
    no_undefined_flag \
10531
 
    export_symbols_cmds \
10532
 
    hardcode_libdir_flag_spec \
10533
 
    hardcode_libdir_flag_spec_ld \
10534
 
    hardcode_libdir_separator \
10535
 
    hardcode_automatic \
10536
 
    module_cmds \
10537
 
    module_expsym_cmds \
10538
 
    lt_cv_prog_compiler_c_o \
10539
 
    fix_srcfile_path \
10540
 
    exclude_expsyms \
10541
 
    include_expsyms; do
10542
 
 
10543
 
    case $var in
10544
 
    old_archive_cmds | \
10545
 
    old_archive_from_new_cmds | \
10546
 
    archive_cmds | \
10547
 
    archive_expsym_cmds | \
10548
 
    module_cmds | \
10549
 
    module_expsym_cmds | \
10550
 
    old_archive_from_expsyms_cmds | \
10551
 
    export_symbols_cmds | \
10552
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
10553
 
    postinstall_cmds | postuninstall_cmds | \
10554
 
    old_postinstall_cmds | old_postuninstall_cmds | \
10555
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10556
 
      # Double-quote double-evaled strings.
10557
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10558
 
      ;;
10559
 
    *)
10560
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10561
 
      ;;
10562
 
    esac
10563
 
  done
10564
 
 
10565
 
  case $lt_echo in
10566
 
  *'\$0 --fallback-echo"')
10567
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10568
 
    ;;
10569
 
  esac
10570
 
 
10571
 
cfgfile="${ofile}T"
10572
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10573
 
  $rm -f "$cfgfile"
10574
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
10575
 
echo "$as_me: creating $ofile" >&6;}
10576
 
 
10577
 
  cat <<__EOF__ >> "$cfgfile"
10578
 
#! $SHELL
10579
 
 
10580
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
10581
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10582
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
10583
 
#
10584
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
10585
 
# Free Software Foundation, Inc.
10586
 
#
10587
 
# This file is part of GNU Libtool:
10588
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10589
 
#
10590
 
# This program is free software; you can redistribute it and/or modify
10591
 
# it under the terms of the GNU General Public License as published by
10592
 
# the Free Software Foundation; either version 2 of the License, or
10593
 
# (at your option) any later version.
10594
 
#
10595
 
# This program is distributed in the hope that it will be useful, but
10596
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
10597
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
10598
 
# General Public License for more details.
10599
 
#
10600
 
# You should have received a copy of the GNU General Public License
10601
 
# along with this program; if not, write to the Free Software
10602
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10603
 
#
10604
 
# As a special exception to the GNU General Public License, if you
10605
 
# distribute this file as part of a program that contains a
10606
 
# configuration script generated by Autoconf, you may include it under
10607
 
# the same distribution terms that you use for the rest of that program.
10608
 
 
10609
 
# A sed program that does not truncate output.
10610
 
SED=$lt_SED
10611
 
 
10612
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
10613
 
Xsed="$SED -e 1s/^X//"
10614
 
 
10615
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
10616
 
# if CDPATH is set.
10617
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10618
 
 
10619
 
# The names of the tagged configurations supported by this script.
10620
 
available_tags=
10621
 
 
10622
 
# ### BEGIN LIBTOOL CONFIG
10623
 
 
10624
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10625
 
 
10626
 
# Shell to use when invoking shell scripts.
10627
 
SHELL=$lt_SHELL
10628
 
 
10629
 
# Whether or not to build shared libraries.
10630
 
build_libtool_libs=$enable_shared
10631
 
 
10632
 
# Whether or not to build static libraries.
10633
 
build_old_libs=$enable_static
10634
 
 
10635
 
# Whether or not to add -lc for building shared libraries.
10636
 
build_libtool_need_lc=$archive_cmds_need_lc
10637
 
 
10638
 
# Whether or not to disallow shared libs when runtime libs are static
10639
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10640
 
 
10641
 
# Whether or not to optimize for fast installation.
10642
 
fast_install=$enable_fast_install
10643
 
 
10644
 
# The host system.
10645
 
host_alias=$host_alias
10646
 
host=$host
10647
 
host_os=$host_os
10648
 
 
10649
 
# The build system.
10650
 
build_alias=$build_alias
10651
 
build=$build
10652
 
build_os=$build_os
10653
 
 
10654
 
# An echo program that does not interpret backslashes.
10655
 
echo=$lt_echo
10656
 
 
10657
 
# The archiver.
10658
 
AR=$lt_AR
10659
 
AR_FLAGS=$lt_AR_FLAGS
10660
 
 
10661
 
# A C compiler.
10662
 
LTCC=$lt_LTCC
10663
 
 
10664
 
# LTCC compiler flags.
10665
 
LTCFLAGS=$lt_LTCFLAGS
10666
 
 
10667
 
# A language-specific compiler.
10668
 
CC=$lt_compiler
10669
 
 
10670
 
# Is the compiler the GNU C compiler?
10671
 
with_gcc=$GCC
10672
 
 
10673
 
# An ERE matcher.
10674
 
EGREP=$lt_EGREP
10675
 
 
10676
 
# The linker used to build libraries.
10677
 
LD=$lt_LD
10678
 
 
10679
 
# Whether we need hard or soft links.
10680
 
LN_S=$lt_LN_S
10681
 
 
10682
 
# A BSD-compatible nm program.
10683
 
NM=$lt_NM
10684
 
 
10685
 
# A symbol stripping program
10686
 
STRIP=$lt_STRIP
10687
 
 
10688
 
# Used to examine libraries when file_magic_cmd begins "file"
10689
 
MAGIC_CMD=$MAGIC_CMD
10690
 
 
10691
 
# Used on cygwin: DLL creation program.
10692
 
DLLTOOL="$DLLTOOL"
10693
 
 
10694
 
# Used on cygwin: object dumper.
10695
 
OBJDUMP="$OBJDUMP"
10696
 
 
10697
 
# Used on cygwin: assembler.
10698
 
AS="$AS"
10699
 
 
10700
 
# The name of the directory that contains temporary libtool files.
10701
 
objdir=$objdir
10702
 
 
10703
 
# How to create reloadable object files.
10704
 
reload_flag=$lt_reload_flag
10705
 
reload_cmds=$lt_reload_cmds
10706
 
 
10707
 
# How to pass a linker flag through the compiler.
10708
 
wl=$lt_lt_prog_compiler_wl
10709
 
 
10710
 
# Object file suffix (normally "o").
10711
 
objext="$ac_objext"
10712
 
 
10713
 
# Old archive suffix (normally "a").
10714
 
libext="$libext"
10715
 
 
10716
 
# Shared library suffix (normally ".so").
10717
 
shrext_cmds='$shrext_cmds'
10718
 
 
10719
 
# Executable file suffix (normally "").
10720
 
exeext="$exeext"
10721
 
 
10722
 
# Additional compiler flags for building library objects.
10723
 
pic_flag=$lt_lt_prog_compiler_pic
10724
 
pic_mode=$pic_mode
10725
 
 
10726
 
# What is the maximum length of a command?
10727
 
max_cmd_len=$lt_cv_sys_max_cmd_len
10728
 
 
10729
 
# Does compiler simultaneously support -c and -o options?
10730
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10731
 
 
10732
 
# Must we lock files when doing compilation?
10733
 
need_locks=$lt_need_locks
10734
 
 
10735
 
# Do we need the lib prefix for modules?
10736
 
need_lib_prefix=$need_lib_prefix
10737
 
 
10738
 
# Do we need a version for libraries?
10739
 
need_version=$need_version
10740
 
 
10741
 
# Whether dlopen is supported.
10742
 
dlopen_support=$enable_dlopen
10743
 
 
10744
 
# Whether dlopen of programs is supported.
10745
 
dlopen_self=$enable_dlopen_self
10746
 
 
10747
 
# Whether dlopen of statically linked programs is supported.
10748
 
dlopen_self_static=$enable_dlopen_self_static
10749
 
 
10750
 
# Compiler flag to prevent dynamic linking.
10751
 
link_static_flag=$lt_lt_prog_compiler_static
10752
 
 
10753
 
# Compiler flag to turn off builtin functions.
10754
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10755
 
 
10756
 
# Compiler flag to allow reflexive dlopens.
10757
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10758
 
 
10759
 
# Compiler flag to generate shared objects directly from archives.
10760
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
10761
 
 
10762
 
# Compiler flag to generate thread-safe objects.
10763
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
10764
 
 
10765
 
# Library versioning type.
10766
 
version_type=$version_type
10767
 
 
10768
 
# Format of library name prefix.
10769
 
libname_spec=$lt_libname_spec
10770
 
 
10771
 
# List of archive names.  First name is the real one, the rest are links.
10772
 
# The last name is the one that the linker finds with -lNAME.
10773
 
library_names_spec=$lt_library_names_spec
10774
 
 
10775
 
# The coded name of the library, if different from the real name.
10776
 
soname_spec=$lt_soname_spec
10777
 
 
10778
 
# Commands used to build and install an old-style archive.
10779
 
RANLIB=$lt_RANLIB
10780
 
old_archive_cmds=$lt_old_archive_cmds
10781
 
old_postinstall_cmds=$lt_old_postinstall_cmds
10782
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
10783
 
 
10784
 
# Create an old-style archive from a shared archive.
10785
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10786
 
 
10787
 
# Create a temporary old-style archive to link instead of a shared archive.
10788
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10789
 
 
10790
 
# Commands used to build and install a shared archive.
10791
 
archive_cmds=$lt_archive_cmds
10792
 
archive_expsym_cmds=$lt_archive_expsym_cmds
10793
 
postinstall_cmds=$lt_postinstall_cmds
10794
 
postuninstall_cmds=$lt_postuninstall_cmds
10795
 
 
10796
 
# Commands used to build a loadable module (assumed same as above if empty)
10797
 
module_cmds=$lt_module_cmds
10798
 
module_expsym_cmds=$lt_module_expsym_cmds
10799
 
 
10800
 
# Commands to strip libraries.
10801
 
old_striplib=$lt_old_striplib
10802
 
striplib=$lt_striplib
10803
 
 
10804
 
# Dependencies to place before the objects being linked to create a
10805
 
# shared library.
10806
 
predep_objects=$lt_predep_objects
10807
 
 
10808
 
# Dependencies to place after the objects being linked to create a
10809
 
# shared library.
10810
 
postdep_objects=$lt_postdep_objects
10811
 
 
10812
 
# Dependencies to place before the objects being linked to create a
10813
 
# shared library.
10814
 
predeps=$lt_predeps
10815
 
 
10816
 
# Dependencies to place after the objects being linked to create a
10817
 
# shared library.
10818
 
postdeps=$lt_postdeps
10819
 
 
10820
 
# The library search path used internally by the compiler when linking
10821
 
# a shared library.
10822
 
compiler_lib_search_path=$lt_compiler_lib_search_path
10823
 
 
10824
 
# Method to check whether dependent libraries are shared objects.
10825
 
deplibs_check_method=$lt_deplibs_check_method
10826
 
 
10827
 
# Command to use when deplibs_check_method == file_magic.
10828
 
file_magic_cmd=$lt_file_magic_cmd
10829
 
 
10830
 
# Flag that allows shared libraries with undefined symbols to be built.
10831
 
allow_undefined_flag=$lt_allow_undefined_flag
10832
 
 
10833
 
# Flag that forces no undefined symbols.
10834
 
no_undefined_flag=$lt_no_undefined_flag
10835
 
 
10836
 
# Commands used to finish a libtool library installation in a directory.
10837
 
finish_cmds=$lt_finish_cmds
10838
 
 
10839
 
# Same as above, but a single script fragment to be evaled but not shown.
10840
 
finish_eval=$lt_finish_eval
10841
 
 
10842
 
# Take the output of nm and produce a listing of raw symbols and C names.
10843
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10844
 
 
10845
 
# Transform the output of nm in a proper C declaration
10846
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10847
 
 
10848
 
# Transform the output of nm in a C name address pair
10849
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10850
 
 
10851
 
# This is the shared library runtime path variable.
10852
 
runpath_var=$runpath_var
10853
 
 
10854
 
# This is the shared library path variable.
10855
 
shlibpath_var=$shlibpath_var
10856
 
 
10857
 
# Is shlibpath searched before the hard-coded library search path?
10858
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10859
 
 
10860
 
# How to hardcode a shared library path into an executable.
10861
 
hardcode_action=$hardcode_action
10862
 
 
10863
 
# Whether we should hardcode library paths into libraries.
10864
 
hardcode_into_libs=$hardcode_into_libs
10865
 
 
10866
 
# Flag to hardcode \$libdir into a binary during linking.
10867
 
# This must work even if \$libdir does not exist.
10868
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10869
 
 
10870
 
# If ld is used when linking, flag to hardcode \$libdir into
10871
 
# a binary during linking. This must work even if \$libdir does
10872
 
# not exist.
10873
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10874
 
 
10875
 
# Whether we need a single -rpath flag with a separated argument.
10876
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
10877
 
 
10878
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10879
 
# resulting binary.
10880
 
hardcode_direct=$hardcode_direct
10881
 
 
10882
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10883
 
# resulting binary.
10884
 
hardcode_minus_L=$hardcode_minus_L
10885
 
 
10886
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10887
 
# the resulting binary.
10888
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
10889
 
 
10890
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
10891
 
# and all subsequent libraries and executables linked against it.
10892
 
hardcode_automatic=$hardcode_automatic
10893
 
 
10894
 
# Variables whose values should be saved in libtool wrapper scripts and
10895
 
# restored at relink time.
10896
 
variables_saved_for_relink="$variables_saved_for_relink"
10897
 
 
10898
 
# Whether libtool must link a program against all its dependency libraries.
10899
 
link_all_deplibs=$link_all_deplibs
10900
 
 
10901
 
# Compile-time system search path for libraries
10902
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10903
 
 
10904
 
# Run-time system search path for libraries
10905
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10906
 
 
10907
 
# Fix the shell variable \$srcfile for the compiler.
10908
 
fix_srcfile_path=$lt_fix_srcfile_path
10909
 
 
10910
 
# Set to yes if exported symbols are required.
10911
 
always_export_symbols=$always_export_symbols
10912
 
 
10913
 
# The commands to list exported symbols.
10914
 
export_symbols_cmds=$lt_export_symbols_cmds
10915
 
 
10916
 
# The commands to extract the exported symbol list from a shared archive.
10917
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
10918
 
 
10919
 
# Symbols that should not be listed in the preloaded symbols.
10920
 
exclude_expsyms=$lt_exclude_expsyms
10921
 
 
10922
 
# Symbols that must always be exported.
10923
 
include_expsyms=$lt_include_expsyms
10924
 
 
10925
 
# ### END LIBTOOL CONFIG
10926
 
 
10927
 
__EOF__
10928
 
 
10929
 
 
10930
 
  case $host_os in
10931
 
  aix3*)
10932
 
    cat <<\EOF >> "$cfgfile"
10933
 
 
10934
 
# AIX sometimes has problems with the GCC collect2 program.  For some
10935
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
10936
 
# vanish in a puff of smoke.
10937
 
if test "X${COLLECT_NAMES+set}" != Xset; then
10938
 
  COLLECT_NAMES=
10939
 
  export COLLECT_NAMES
10940
 
fi
10941
 
EOF
10942
 
    ;;
10943
 
  esac
10944
 
 
10945
 
  # We use sed instead of cat because bash on DJGPP gets confused if
10946
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
10947
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
10948
 
  # is reportedly fixed, but why not run on old versions too?
10949
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10950
 
 
10951
 
  mv -f "$cfgfile" "$ofile" || \
10952
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10953
 
  chmod +x "$ofile"
10954
 
 
10955
 
else
10956
 
  # If there is no Makefile yet, we rely on a make rule to execute
10957
 
  # `config.status --recheck' to rerun these tests and create the
10958
 
  # libtool script then.
10959
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10960
 
  if test -f "$ltmain_in"; then
10961
 
    test -f Makefile && make "$ltmain"
10962
 
  fi
10963
 
fi
10964
 
 
10965
 
 
 
12167
    if test -n "$RANLIB"; then
 
12168
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
12169
      postinstall_cmds='$RANLIB $lib'
 
12170
    fi
 
12171
    ;;
 
12172
 
 
12173
  aix[4-9]*)
 
12174
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
12175
      test "$enable_shared" = yes && enable_static=no
 
12176
    fi
 
12177
    ;;
 
12178
  esac
 
12179
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 
12180
$as_echo "$enable_shared" >&6; }
 
12181
 
 
12182
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 
12183
$as_echo_n "checking whether to build static libraries... " >&6; }
 
12184
  # Make sure either enable_shared or enable_static is yes.
 
12185
  test "$enable_shared" = yes || enable_static=yes
 
12186
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 
12187
$as_echo "$enable_static" >&6; }
 
12188
 
 
12189
 
 
12190
 
 
12191
 
 
12192
fi
10966
12193
ac_ext=c
10967
12194
ac_cpp='$CPP $CPPFLAGS'
10968
12195
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10972
12199
CC="$lt_save_CC"
10973
12200
 
10974
12201
 
10975
 
# Check whether --with-tags was given.
10976
 
if test "${with_tags+set}" = set; then
10977
 
  withval=$with_tags; tagnames="$withval"
10978
 
fi
10979
 
 
10980
 
 
10981
 
if test -f "$ltmain" && test -n "$tagnames"; then
10982
 
  if test ! -f "${ofile}"; then
10983
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
10984
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
10985
 
  fi
10986
 
 
10987
 
  if test -z "$LTCC"; then
10988
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
10989
 
    if test -z "$LTCC"; then
10990
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10991
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
10992
 
    else
10993
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
10994
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
10995
 
    fi
10996
 
  fi
10997
 
  if test -z "$LTCFLAGS"; then
10998
 
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
10999
 
  fi
11000
 
 
11001
 
  # Extract list of available tagged configurations in $ofile.
11002
 
  # Note that this assumes the entire list is on one line.
11003
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11004
 
 
11005
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11006
 
  for tagname in $tagnames; do
11007
 
    IFS="$lt_save_ifs"
11008
 
    # Check whether tagname contains only valid characters
11009
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11010
 
    "") ;;
11011
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11012
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
11013
 
   { (exit 1); exit 1; }; }
11014
 
        ;;
11015
 
    esac
11016
 
 
11017
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11018
 
    then
11019
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11020
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11021
 
   { (exit 1); exit 1; }; }
11022
 
    fi
11023
 
 
11024
 
    # Update the list of available tags.
11025
 
    if test -n "$tagname"; then
11026
 
      echo appending configuration tag \"$tagname\" to $ofile
11027
 
 
11028
 
      case $tagname in
11029
 
      CXX)
11030
 
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11031
 
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11032
 
            (test "X$CXX" != "Xg++"))) ; then
11033
 
          ac_ext=cpp
 
12202
ac_ext=cpp
11034
12203
ac_cpp='$CXXCPP $CPPFLAGS'
11035
12204
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11036
12205
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11037
12206
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11038
12207
 
11039
 
 
11040
 
 
11041
 
 
11042
12208
archive_cmds_need_lc_CXX=no
11043
12209
allow_undefined_flag_CXX=
11044
12210
always_export_symbols_CXX=no
11045
12211
archive_expsym_cmds_CXX=
 
12212
compiler_needs_object_CXX=no
11046
12213
export_dynamic_flag_spec_CXX=
11047
12214
hardcode_direct_CXX=no
 
12215
hardcode_direct_absolute_CXX=no
11048
12216
hardcode_libdir_flag_spec_CXX=
11049
12217
hardcode_libdir_flag_spec_ld_CXX=
11050
12218
hardcode_libdir_separator_CXX=
11051
12219
hardcode_minus_L_CXX=no
11052
12220
hardcode_shlibpath_var_CXX=unsupported
11053
12221
hardcode_automatic_CXX=no
 
12222
inherit_rpath_CXX=no
11054
12223
module_cmds_CXX=
11055
12224
module_expsym_cmds_CXX=
11056
12225
link_all_deplibs_CXX=unknown
11059
12228
whole_archive_flag_spec_CXX=
11060
12229
enable_shared_with_static_runtimes_CXX=no
11061
12230
 
11062
 
# Dependencies to place before and after the object being linked:
11063
 
predep_objects_CXX=
11064
 
postdep_objects_CXX=
11065
 
predeps_CXX=
11066
 
postdeps_CXX=
11067
 
compiler_lib_search_path_CXX=
11068
 
 
11069
12231
# Source file extension for C++ test sources.
11070
12232
ac_ext=cpp
11071
12233
 
11073
12235
objext=o
11074
12236
objext_CXX=$objext
11075
12237
 
11076
 
# Code to be used in simple compile tests
11077
 
lt_simple_compile_test_code="int some_variable = 0;"
11078
 
 
11079
 
# Code to be used in simple link tests
11080
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11081
 
 
11082
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
12238
# No sense in running all these tests if we already determined that
 
12239
# the CXX compiler isn't working.  Some variables (like enable_shared)
 
12240
# are currently assumed to apply to all compilers on this platform,
 
12241
# and will be corrupted by setting them based on a non-working compiler.
 
12242
if test "$_lt_caught_CXX_error" != yes; then
 
12243
  # Code to be used in simple compile tests
 
12244
  lt_simple_compile_test_code="int some_variable = 0;"
 
12245
 
 
12246
  # Code to be used in simple link tests
 
12247
  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
 
12248
 
 
12249
  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
12250
 
 
12251
 
 
12252
 
 
12253
 
 
12254
 
11083
12255
 
11084
12256
# If no C compiler was specified, use CC.
11085
12257
LTCC=${LTCC-"$CC"}
11091
12263
compiler=$CC
11092
12264
 
11093
12265
 
11094
 
# save warnings/boilerplate of simple test code
11095
 
ac_outfile=conftest.$ac_objext
 
12266
  # save warnings/boilerplate of simple test code
 
12267
  ac_outfile=conftest.$ac_objext
11096
12268
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11097
12269
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11098
12270
_lt_compiler_boilerplate=`cat conftest.err`
11099
 
$rm conftest*
 
12271
$RM conftest*
11100
12272
 
11101
 
ac_outfile=conftest.$ac_objext
 
12273
  ac_outfile=conftest.$ac_objext
11102
12274
echo "$lt_simple_link_test_code" >conftest.$ac_ext
11103
12275
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11104
12276
_lt_linker_boilerplate=`cat conftest.err`
11105
 
$rm conftest*
11106
 
 
11107
 
 
11108
 
# Allow CC to be a program name with arguments.
11109
 
lt_save_CC=$CC
11110
 
lt_save_LD=$LD
11111
 
lt_save_GCC=$GCC
11112
 
GCC=$GXX
11113
 
lt_save_with_gnu_ld=$with_gnu_ld
11114
 
lt_save_path_LD=$lt_cv_path_LD
11115
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11116
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11117
 
else
11118
 
  $as_unset lt_cv_prog_gnu_ld
11119
 
fi
11120
 
if test -n "${lt_cv_path_LDCXX+set}"; then
11121
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
11122
 
else
11123
 
  $as_unset lt_cv_path_LD
11124
 
fi
11125
 
test -z "${LDCXX+set}" || LD=$LDCXX
11126
 
CC=${CXX-"c++"}
11127
 
compiler=$CC
11128
 
compiler_CXX=$CC
11129
 
for cc_temp in $compiler""; do
 
12277
$RM -r conftest*
 
12278
 
 
12279
 
 
12280
  # Allow CC to be a program name with arguments.
 
12281
  lt_save_CC=$CC
 
12282
  lt_save_LD=$LD
 
12283
  lt_save_GCC=$GCC
 
12284
  GCC=$GXX
 
12285
  lt_save_with_gnu_ld=$with_gnu_ld
 
12286
  lt_save_path_LD=$lt_cv_path_LD
 
12287
  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
 
12288
    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
 
12289
  else
 
12290
    $as_unset lt_cv_prog_gnu_ld
 
12291
  fi
 
12292
  if test -n "${lt_cv_path_LDCXX+set}"; then
 
12293
    lt_cv_path_LD=$lt_cv_path_LDCXX
 
12294
  else
 
12295
    $as_unset lt_cv_path_LD
 
12296
  fi
 
12297
  test -z "${LDCXX+set}" || LD=$LDCXX
 
12298
  CC=${CXX-"c++"}
 
12299
  compiler=$CC
 
12300
  compiler_CXX=$CC
 
12301
  for cc_temp in $compiler""; do
11130
12302
  case $cc_temp in
11131
12303
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11132
12304
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11134
12306
    *) break;;
11135
12307
  esac
11136
12308
done
11137
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11138
 
 
11139
 
 
11140
 
# We don't want -fno-exception wen compiling C++ code, so set the
11141
 
# no_builtin_flag separately
11142
 
if test "$GXX" = yes; then
11143
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11144
 
else
11145
 
  lt_prog_compiler_no_builtin_flag_CXX=
11146
 
fi
11147
 
 
11148
 
if test "$GXX" = yes; then
11149
 
  # Set up default GNU C++ configuration
 
12309
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
12310
 
 
12311
 
 
12312
  if test -n "$compiler"; then
 
12313
    # We don't want -fno-exception when compiling C++ code, so set the
 
12314
    # no_builtin_flag separately
 
12315
    if test "$GXX" = yes; then
 
12316
      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
 
12317
    else
 
12318
      lt_prog_compiler_no_builtin_flag_CXX=
 
12319
    fi
 
12320
 
 
12321
    if test "$GXX" = yes; then
 
12322
      # Set up default GNU C++ configuration
 
12323
 
11150
12324
 
11151
12325
 
11152
12326
# Check whether --with-gnu-ld was given.
11153
 
if test "${with_gnu_ld+set}" = set; then
 
12327
if test "${with_gnu_ld+set}" = set; then :
11154
12328
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11155
12329
else
11156
12330
  with_gnu_ld=no
11159
12333
ac_prog=ld
11160
12334
if test "$GCC" = yes; then
11161
12335
  # Check if gcc -print-prog-name=ld gives a path.
11162
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11163
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 
12336
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
12337
$as_echo_n "checking for ld used by $CC... " >&6; }
11164
12338
  case $host in
11165
12339
  *-*-mingw*)
11166
12340
    # gcc leaves a trailing carriage return which upsets mingw
11173
12347
    [\\/]* | ?:[\\/]*)
11174
12348
      re_direlt='/[^/][^/]*/\.\./'
11175
12349
      # Canonicalize the pathname of ld
11176
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
11177
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11178
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
12350
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
12351
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
12352
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11179
12353
      done
11180
12354
      test -z "$LD" && LD="$ac_prog"
11181
12355
      ;;
11189
12363
    ;;
11190
12364
  esac
11191
12365
elif test "$with_gnu_ld" = yes; then
11192
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
11193
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
12366
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
12367
$as_echo_n "checking for GNU ld... " >&6; }
11194
12368
else
11195
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11196
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
12369
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
12370
$as_echo_n "checking for non-GNU ld... " >&6; }
11197
12371
fi
11198
 
if test "${lt_cv_path_LD+set}" = set; then
11199
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12372
if test "${lt_cv_path_LD+set}" = set; then :
 
12373
  $as_echo_n "(cached) " >&6
11200
12374
else
11201
12375
  if test -z "$LD"; then
11202
12376
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11226
12400
 
11227
12401
LD="$lt_cv_path_LD"
11228
12402
if test -n "$LD"; then
11229
 
  { echo "$as_me:$LINENO: result: $LD" >&5
11230
 
echo "${ECHO_T}$LD" >&6; }
 
12403
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
12404
$as_echo "$LD" >&6; }
11231
12405
else
11232
 
  { echo "$as_me:$LINENO: result: no" >&5
11233
 
echo "${ECHO_T}no" >&6; }
 
12406
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12407
$as_echo "no" >&6; }
11234
12408
fi
11235
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11236
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11237
 
   { (exit 1); exit 1; }; }
11238
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11239
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11240
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
11241
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12409
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
12410
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
12411
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
12412
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
12413
  $as_echo_n "(cached) " >&6
11242
12414
else
11243
12415
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
11244
12416
case `$LD -v 2>&1 </dev/null` in
11250
12422
  ;;
11251
12423
esac
11252
12424
fi
11253
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11254
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 
12425
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
12426
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
11255
12427
with_gnu_ld=$lt_cv_prog_gnu_ld
11256
12428
 
11257
12429
 
11258
12430
 
11259
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
11260
 
  # archiving commands below assume that GNU ld is being used.
11261
 
  if test "$with_gnu_ld" = yes; then
11262
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11263
 
    archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11264
 
 
11265
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11266
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11267
 
 
11268
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
11269
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11270
 
    #     investigate it a little bit more. (MM)
11271
 
    wlarc='${wl}'
11272
 
 
11273
 
    # ancient GNU ld didn't support --whole-archive et. al.
11274
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
11275
 
        grep 'no-whole-archive' > /dev/null; then
11276
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11277
 
    else
11278
 
      whole_archive_flag_spec_CXX=
11279
 
    fi
11280
 
  else
11281
 
    with_gnu_ld=no
11282
 
    wlarc=
11283
 
 
11284
 
    # A generic and very simple default shared library creation
11285
 
    # command for GNU C++ for the case where it uses the native
11286
 
    # linker, instead of GNU ld.  If possible, this setting should
11287
 
    # overridden to take advantage of the native linker features on
11288
 
    # the platform it is being used on.
11289
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11290
 
  fi
11291
 
 
11292
 
  # Commands to make compiler produce verbose output that lists
11293
 
  # what "hidden" libraries, object files and flags are used when
11294
 
  # linking a shared library.
11295
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11296
 
 
11297
 
else
11298
 
  GXX=no
11299
 
  with_gnu_ld=no
11300
 
  wlarc=
11301
 
fi
11302
 
 
11303
 
# PORTME: fill in a description of your system's C++ link characteristics
11304
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11305
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11306
 
ld_shlibs_CXX=yes
11307
 
case $host_os in
11308
 
  aix3*)
11309
 
    # FIXME: insert proper C++ library support
11310
 
    ld_shlibs_CXX=no
11311
 
    ;;
11312
 
  aix4* | aix5*)
11313
 
    if test "$host_cpu" = ia64; then
11314
 
      # On IA64, the linker does run time linking by default, so we don't
11315
 
      # have to do anything special.
11316
 
      aix_use_runtimelinking=no
11317
 
      exp_sym_flag='-Bexport'
11318
 
      no_entry_flag=""
11319
 
    else
11320
 
      aix_use_runtimelinking=no
11321
 
 
11322
 
      # Test if we are trying to use run time linking or normal
11323
 
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11324
 
      # need to do runtime linking.
11325
 
      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11326
 
        for ld_flag in $LDFLAGS; do
11327
 
          case $ld_flag in
11328
 
          *-brtl*)
11329
 
            aix_use_runtimelinking=yes
11330
 
            break
11331
 
            ;;
11332
 
          esac
11333
 
        done
11334
 
        ;;
11335
 
      esac
11336
 
 
11337
 
      exp_sym_flag='-bexport'
11338
 
      no_entry_flag='-bnoentry'
11339
 
    fi
11340
 
 
11341
 
    # When large executables or shared objects are built, AIX ld can
11342
 
    # have problems creating the table of contents.  If linking a library
11343
 
    # or program results in "error TOC overflow" add -mminimal-toc to
11344
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11345
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11346
 
 
11347
 
    archive_cmds_CXX=''
11348
 
    hardcode_direct_CXX=yes
11349
 
    hardcode_libdir_separator_CXX=':'
11350
 
    link_all_deplibs_CXX=yes
11351
 
 
11352
 
    if test "$GXX" = yes; then
11353
 
      case $host_os in aix4.[012]|aix4.[012].*)
11354
 
      # We only want to do this on AIX 4.2 and lower, the check
11355
 
      # below for broken collect2 doesn't work under 4.3+
11356
 
        collect2name=`${CC} -print-prog-name=collect2`
11357
 
        if test -f "$collect2name" && \
11358
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
11359
 
        then
11360
 
          # We have reworked collect2
11361
 
          :
11362
 
        else
11363
 
          # We have old collect2
11364
 
          hardcode_direct_CXX=unsupported
11365
 
          # It fails to find uninstalled libraries when the uninstalled
11366
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
11367
 
          # to unsupported forces relinking
11368
 
          hardcode_minus_L_CXX=yes
11369
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
11370
 
          hardcode_libdir_separator_CXX=
11371
 
        fi
11372
 
        ;;
11373
 
      esac
11374
 
      shared_flag='-shared'
11375
 
      if test "$aix_use_runtimelinking" = yes; then
11376
 
        shared_flag="$shared_flag "'${wl}-G'
11377
 
      fi
11378
 
    else
11379
 
      # not using gcc
11380
 
      if test "$host_cpu" = ia64; then
11381
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11382
 
        # chokes on -Wl,-G. The following line is correct:
11383
 
        shared_flag='-G'
11384
 
      else
11385
 
        if test "$aix_use_runtimelinking" = yes; then
11386
 
          shared_flag='${wl}-G'
11387
 
        else
11388
 
          shared_flag='${wl}-bM:SRE'
11389
 
        fi
11390
 
      fi
11391
 
    fi
11392
 
 
11393
 
    # It seems that -bexpall does not export symbols beginning with
11394
 
    # underscore (_), so it is better to generate a list of symbols to export.
11395
 
    always_export_symbols_CXX=yes
11396
 
    if test "$aix_use_runtimelinking" = yes; then
11397
 
      # Warning - without using the other runtime loading flags (-brtl),
11398
 
      # -berok will link without error, but may produce a broken library.
11399
 
      allow_undefined_flag_CXX='-berok'
11400
 
      # Determine the default libpath from the value encoded in an empty executable.
11401
 
      cat >conftest.$ac_ext <<_ACEOF
11402
 
/* confdefs.h.  */
11403
 
_ACEOF
11404
 
cat confdefs.h >>conftest.$ac_ext
11405
 
cat >>conftest.$ac_ext <<_ACEOF
11406
 
/* end confdefs.h.  */
11407
 
 
11408
 
int
11409
 
main ()
11410
 
{
11411
 
 
11412
 
  ;
11413
 
  return 0;
11414
 
}
11415
 
_ACEOF
11416
 
rm -f conftest.$ac_objext conftest$ac_exeext
11417
 
if { (ac_try="$ac_link"
11418
 
case "(($ac_try" in
11419
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11420
 
  *) ac_try_echo=$ac_try;;
11421
 
esac
11422
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11423
 
  (eval "$ac_link") 2>conftest.er1
11424
 
  ac_status=$?
11425
 
  grep -v '^ *+' conftest.er1 >conftest.err
11426
 
  rm -f conftest.er1
11427
 
  cat conftest.err >&5
11428
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11429
 
  (exit $ac_status); } && {
11430
 
         test -z "$ac_cxx_werror_flag" ||
11431
 
         test ! -s conftest.err
11432
 
       } && test -s conftest$ac_exeext &&
11433
 
       $as_test_x conftest$ac_exeext; then
11434
 
 
11435
 
lt_aix_libpath_sed='
11436
 
    /Import File Strings/,/^$/ {
11437
 
        /^0/ {
11438
 
            s/^0  *\(.*\)$/\1/
11439
 
            p
11440
 
        }
11441
 
    }'
11442
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11443
 
# Check for a 64-bit object if we didn't find anything.
11444
 
if test -z "$aix_libpath"; then
11445
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11446
 
fi
11447
 
else
11448
 
  echo "$as_me: failed program was:" >&5
11449
 
sed 's/^/| /' conftest.$ac_ext >&5
11450
 
 
11451
 
 
11452
 
fi
11453
 
 
11454
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11455
 
      conftest$ac_exeext conftest.$ac_ext
11456
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11457
 
 
11458
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11459
 
 
11460
 
      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11461
 
     else
11462
 
      if test "$host_cpu" = ia64; then
11463
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11464
 
        allow_undefined_flag_CXX="-z nodefs"
11465
 
        archive_expsym_cmds_CXX="\$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"
11466
 
      else
11467
 
        # Determine the default libpath from the value encoded in an empty executable.
11468
 
        cat >conftest.$ac_ext <<_ACEOF
11469
 
/* confdefs.h.  */
11470
 
_ACEOF
11471
 
cat confdefs.h >>conftest.$ac_ext
11472
 
cat >>conftest.$ac_ext <<_ACEOF
11473
 
/* end confdefs.h.  */
11474
 
 
11475
 
int
11476
 
main ()
11477
 
{
11478
 
 
11479
 
  ;
11480
 
  return 0;
11481
 
}
11482
 
_ACEOF
11483
 
rm -f conftest.$ac_objext conftest$ac_exeext
11484
 
if { (ac_try="$ac_link"
11485
 
case "(($ac_try" in
11486
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11487
 
  *) ac_try_echo=$ac_try;;
11488
 
esac
11489
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11490
 
  (eval "$ac_link") 2>conftest.er1
11491
 
  ac_status=$?
11492
 
  grep -v '^ *+' conftest.er1 >conftest.err
11493
 
  rm -f conftest.er1
11494
 
  cat conftest.err >&5
11495
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11496
 
  (exit $ac_status); } && {
11497
 
         test -z "$ac_cxx_werror_flag" ||
11498
 
         test ! -s conftest.err
11499
 
       } && test -s conftest$ac_exeext &&
11500
 
       $as_test_x conftest$ac_exeext; then
11501
 
 
11502
 
lt_aix_libpath_sed='
11503
 
    /Import File Strings/,/^$/ {
11504
 
        /^0/ {
11505
 
            s/^0  *\(.*\)$/\1/
11506
 
            p
11507
 
        }
11508
 
    }'
11509
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11510
 
# Check for a 64-bit object if we didn't find anything.
11511
 
if test -z "$aix_libpath"; then
11512
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11513
 
fi
11514
 
else
11515
 
  echo "$as_me: failed program was:" >&5
11516
 
sed 's/^/| /' conftest.$ac_ext >&5
11517
 
 
11518
 
 
11519
 
fi
11520
 
 
11521
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11522
 
      conftest$ac_exeext conftest.$ac_ext
11523
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11524
 
 
11525
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11526
 
        # Warning - without using the other run time loading flags,
11527
 
        # -berok will link without error, but may produce a broken library.
11528
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
11529
 
        allow_undefined_flag_CXX=' ${wl}-berok'
11530
 
        # Exported symbols can be pulled into shared objects from archives
11531
 
        whole_archive_flag_spec_CXX='$convenience'
11532
 
        archive_cmds_need_lc_CXX=yes
11533
 
        # This is similar to how AIX traditionally builds its shared libraries.
11534
 
        archive_expsym_cmds_CXX="\$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'
11535
 
      fi
11536
 
    fi
11537
 
    ;;
11538
 
 
11539
 
  beos*)
11540
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11541
 
      allow_undefined_flag_CXX=unsupported
11542
 
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11543
 
      # support --undefined.  This deserves some investigation.  FIXME
11544
 
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11545
 
    else
11546
 
      ld_shlibs_CXX=no
11547
 
    fi
11548
 
    ;;
11549
 
 
11550
 
  chorus*)
11551
 
    case $cc_basename in
11552
 
      *)
11553
 
        # FIXME: insert proper C++ library support
11554
 
        ld_shlibs_CXX=no
11555
 
        ;;
11556
 
    esac
11557
 
    ;;
11558
 
 
11559
 
  cygwin* | mingw* | pw32*)
11560
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11561
 
    # as there is no search path for DLLs.
11562
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
11563
 
    allow_undefined_flag_CXX=unsupported
11564
 
    always_export_symbols_CXX=no
11565
 
    enable_shared_with_static_runtimes_CXX=yes
11566
 
 
11567
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11568
 
      archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11569
 
      # If the export-symbols file already is a .def file (1st line
11570
 
      # is EXPORTS), use it as is; otherwise, prepend...
11571
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11572
 
        cp $export_symbols $output_objdir/$soname.def;
11573
 
      else
11574
 
        echo EXPORTS > $output_objdir/$soname.def;
11575
 
        cat $export_symbols >> $output_objdir/$soname.def;
11576
 
      fi~
11577
 
      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11578
 
    else
11579
 
      ld_shlibs_CXX=no
11580
 
    fi
11581
 
  ;;
11582
 
      darwin* | rhapsody*)
11583
 
        case $host_os in
11584
 
        rhapsody* | darwin1.[012])
11585
 
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11586
 
         ;;
11587
 
       *) # Darwin 1.3 on
11588
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11589
 
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11590
 
         else
11591
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
11592
 
             10.[012])
11593
 
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11594
 
               ;;
11595
 
             10.*)
11596
 
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11597
 
               ;;
11598
 
           esac
11599
 
         fi
11600
 
         ;;
11601
 
        esac
11602
 
      archive_cmds_need_lc_CXX=no
11603
 
      hardcode_direct_CXX=no
11604
 
      hardcode_automatic_CXX=yes
11605
 
      hardcode_shlibpath_var_CXX=unsupported
11606
 
      whole_archive_flag_spec_CXX=''
11607
 
      link_all_deplibs_CXX=yes
11608
 
 
11609
 
    if test "$GXX" = yes ; then
11610
 
      lt_int_apple_cc_single_mod=no
11611
 
      output_verbose_link_cmd='echo'
11612
 
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11613
 
       lt_int_apple_cc_single_mod=yes
11614
 
      fi
11615
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11616
 
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11617
 
      else
11618
 
          archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
12431
 
 
12432
 
 
12433
 
 
12434
 
 
12435
      # Check if GNU C++ uses GNU ld as the underlying linker, since the
 
12436
      # archiving commands below assume that GNU ld is being used.
 
12437
      if test "$with_gnu_ld" = yes; then
 
12438
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12439
        archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
12440
 
 
12441
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
12442
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
12443
 
 
12444
        # If archive_cmds runs LD, not CC, wlarc should be empty
 
12445
        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
 
12446
        #     investigate it a little bit more. (MM)
 
12447
        wlarc='${wl}'
 
12448
 
 
12449
        # ancient GNU ld didn't support --whole-archive et. al.
 
12450
        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
 
12451
          $GREP 'no-whole-archive' > /dev/null; then
 
12452
          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
12453
        else
 
12454
          whole_archive_flag_spec_CXX=
11619
12455
        fi
11620
 
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11621
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11622
 
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11623
 
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11624
 
          else
11625
 
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11626
 
          fi
11627
 
            module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11628
12456
      else
11629
 
      case $cc_basename in
11630
 
        xlc*)
11631
 
         output_verbose_link_cmd='echo'
11632
 
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
11633
 
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11634
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11635
 
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11636
 
          module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11637
 
          ;;
11638
 
       *)
11639
 
         ld_shlibs_CXX=no
11640
 
          ;;
11641
 
      esac
 
12457
        with_gnu_ld=no
 
12458
        wlarc=
 
12459
 
 
12460
        # A generic and very simple default shared library creation
 
12461
        # command for GNU C++ for the case where it uses the native
 
12462
        # linker, instead of GNU ld.  If possible, this setting should
 
12463
        # overridden to take advantage of the native linker features on
 
12464
        # the platform it is being used on.
 
12465
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11642
12466
      fi
11643
 
        ;;
11644
 
 
11645
 
  dgux*)
11646
 
    case $cc_basename in
11647
 
      ec++*)
11648
 
        # FIXME: insert proper C++ library support
11649
 
        ld_shlibs_CXX=no
11650
 
        ;;
11651
 
      ghcx*)
11652
 
        # Green Hills C++ Compiler
11653
 
        # FIXME: insert proper C++ library support
11654
 
        ld_shlibs_CXX=no
11655
 
        ;;
11656
 
      *)
11657
 
        # FIXME: insert proper C++ library support
11658
 
        ld_shlibs_CXX=no
11659
 
        ;;
11660
 
    esac
11661
 
    ;;
11662
 
  freebsd[12]*)
11663
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
11664
 
    ld_shlibs_CXX=no
11665
 
    ;;
11666
 
  freebsd-elf*)
11667
 
    archive_cmds_need_lc_CXX=no
11668
 
    ;;
11669
 
  freebsd* | dragonfly*)
11670
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11671
 
    # conventions
11672
 
    ld_shlibs_CXX=yes
11673
 
    ;;
11674
 
  gnu*)
11675
 
    ;;
11676
 
  hpux9*)
11677
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11678
 
    hardcode_libdir_separator_CXX=:
11679
 
    export_dynamic_flag_spec_CXX='${wl}-E'
11680
 
    hardcode_direct_CXX=yes
11681
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
11682
 
                                # but as the default
11683
 
                                # location of the library.
11684
 
 
11685
 
    case $cc_basename in
11686
 
    CC*)
11687
 
      # FIXME: insert proper C++ library support
11688
 
      ld_shlibs_CXX=no
11689
 
      ;;
11690
 
    aCC*)
11691
 
      archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
12467
 
11692
12468
      # Commands to make compiler produce verbose output that lists
11693
12469
      # what "hidden" libraries, object files and flags are used when
11694
12470
      # linking a shared library.
11695
 
      #
11696
 
      # There doesn't appear to be a way to prevent this compiler from
11697
 
      # explicitly linking system object files so we need to strip them
11698
 
      # from the output so that they don't get included in the library
11699
 
      # dependencies.
11700
 
      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11701
 
      ;;
11702
 
    *)
11703
 
      if test "$GXX" = yes; then
11704
 
        archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11705
 
      else
 
12471
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
12472
 
 
12473
    else
 
12474
      GXX=no
 
12475
      with_gnu_ld=no
 
12476
      wlarc=
 
12477
    fi
 
12478
 
 
12479
    # PORTME: fill in a description of your system's C++ link characteristics
 
12480
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
12481
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
12482
    ld_shlibs_CXX=yes
 
12483
    case $host_os in
 
12484
      aix3*)
11706
12485
        # FIXME: insert proper C++ library support
11707
12486
        ld_shlibs_CXX=no
11708
 
      fi
11709
 
      ;;
11710
 
    esac
11711
 
    ;;
11712
 
  hpux10*|hpux11*)
11713
 
    if test $with_gnu_ld = no; then
11714
 
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11715
 
      hardcode_libdir_separator_CXX=:
11716
 
 
11717
 
      case $host_cpu in
11718
 
      hppa*64*|ia64*) ;;
11719
 
      *)
 
12487
        ;;
 
12488
      aix[4-9]*)
 
12489
        if test "$host_cpu" = ia64; then
 
12490
          # On IA64, the linker does run time linking by default, so we don't
 
12491
          # have to do anything special.
 
12492
          aix_use_runtimelinking=no
 
12493
          exp_sym_flag='-Bexport'
 
12494
          no_entry_flag=""
 
12495
        else
 
12496
          aix_use_runtimelinking=no
 
12497
 
 
12498
          # Test if we are trying to use run time linking or normal
 
12499
          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
12500
          # need to do runtime linking.
 
12501
          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
12502
            for ld_flag in $LDFLAGS; do
 
12503
              case $ld_flag in
 
12504
              *-brtl*)
 
12505
                aix_use_runtimelinking=yes
 
12506
                break
 
12507
                ;;
 
12508
              esac
 
12509
            done
 
12510
            ;;
 
12511
          esac
 
12512
 
 
12513
          exp_sym_flag='-bexport'
 
12514
          no_entry_flag='-bnoentry'
 
12515
        fi
 
12516
 
 
12517
        # When large executables or shared objects are built, AIX ld can
 
12518
        # have problems creating the table of contents.  If linking a library
 
12519
        # or program results in "error TOC overflow" add -mminimal-toc to
 
12520
        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
12521
        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
12522
 
 
12523
        archive_cmds_CXX=''
 
12524
        hardcode_direct_CXX=yes
 
12525
        hardcode_direct_absolute_CXX=yes
 
12526
        hardcode_libdir_separator_CXX=':'
 
12527
        link_all_deplibs_CXX=yes
 
12528
        file_list_spec_CXX='${wl}-f,'
 
12529
 
 
12530
        if test "$GXX" = yes; then
 
12531
          case $host_os in aix4.[012]|aix4.[012].*)
 
12532
          # We only want to do this on AIX 4.2 and lower, the check
 
12533
          # below for broken collect2 doesn't work under 4.3+
 
12534
          collect2name=`${CC} -print-prog-name=collect2`
 
12535
          if test -f "$collect2name" &&
 
12536
             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
12537
          then
 
12538
            # We have reworked collect2
 
12539
            :
 
12540
          else
 
12541
            # We have old collect2
 
12542
            hardcode_direct_CXX=unsupported
 
12543
            # It fails to find uninstalled libraries when the uninstalled
 
12544
            # path is not listed in the libpath.  Setting hardcode_minus_L
 
12545
            # to unsupported forces relinking
 
12546
            hardcode_minus_L_CXX=yes
 
12547
            hardcode_libdir_flag_spec_CXX='-L$libdir'
 
12548
            hardcode_libdir_separator_CXX=
 
12549
          fi
 
12550
          esac
 
12551
          shared_flag='-shared'
 
12552
          if test "$aix_use_runtimelinking" = yes; then
 
12553
            shared_flag="$shared_flag "'${wl}-G'
 
12554
          fi
 
12555
        else
 
12556
          # not using gcc
 
12557
          if test "$host_cpu" = ia64; then
 
12558
          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
12559
          # chokes on -Wl,-G. The following line is correct:
 
12560
          shared_flag='-G'
 
12561
          else
 
12562
            if test "$aix_use_runtimelinking" = yes; then
 
12563
              shared_flag='${wl}-G'
 
12564
            else
 
12565
              shared_flag='${wl}-bM:SRE'
 
12566
            fi
 
12567
          fi
 
12568
        fi
 
12569
 
 
12570
        export_dynamic_flag_spec_CXX='${wl}-bexpall'
 
12571
        # It seems that -bexpall does not export symbols beginning with
 
12572
        # underscore (_), so it is better to generate a list of symbols to
 
12573
        # export.
 
12574
        always_export_symbols_CXX=yes
 
12575
        if test "$aix_use_runtimelinking" = yes; then
 
12576
          # Warning - without using the other runtime loading flags (-brtl),
 
12577
          # -berok will link without error, but may produce a broken library.
 
12578
          allow_undefined_flag_CXX='-berok'
 
12579
          # Determine the default libpath from the value encoded in an empty
 
12580
          # executable.
 
12581
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12582
/* end confdefs.h.  */
 
12583
 
 
12584
int
 
12585
main ()
 
12586
{
 
12587
 
 
12588
  ;
 
12589
  return 0;
 
12590
}
 
12591
_ACEOF
 
12592
if ac_fn_cxx_try_link "$LINENO"; then :
 
12593
 
 
12594
lt_aix_libpath_sed='
 
12595
    /Import File Strings/,/^$/ {
 
12596
        /^0/ {
 
12597
            s/^0  *\(.*\)$/\1/
 
12598
            p
 
12599
        }
 
12600
    }'
 
12601
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12602
# Check for a 64-bit object if we didn't find anything.
 
12603
if test -z "$aix_libpath"; then
 
12604
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12605
fi
 
12606
fi
 
12607
rm -f core conftest.err conftest.$ac_objext \
 
12608
    conftest$ac_exeext conftest.$ac_ext
 
12609
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
12610
 
 
12611
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 
12612
 
 
12613
          archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
12614
        else
 
12615
          if test "$host_cpu" = ia64; then
 
12616
            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
 
12617
            allow_undefined_flag_CXX="-z nodefs"
 
12618
            archive_expsym_cmds_CXX="\$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"
 
12619
          else
 
12620
            # Determine the default libpath from the value encoded in an
 
12621
            # empty executable.
 
12622
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12623
/* end confdefs.h.  */
 
12624
 
 
12625
int
 
12626
main ()
 
12627
{
 
12628
 
 
12629
  ;
 
12630
  return 0;
 
12631
}
 
12632
_ACEOF
 
12633
if ac_fn_cxx_try_link "$LINENO"; then :
 
12634
 
 
12635
lt_aix_libpath_sed='
 
12636
    /Import File Strings/,/^$/ {
 
12637
        /^0/ {
 
12638
            s/^0  *\(.*\)$/\1/
 
12639
            p
 
12640
        }
 
12641
    }'
 
12642
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12643
# Check for a 64-bit object if we didn't find anything.
 
12644
if test -z "$aix_libpath"; then
 
12645
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12646
fi
 
12647
fi
 
12648
rm -f core conftest.err conftest.$ac_objext \
 
12649
    conftest$ac_exeext conftest.$ac_ext
 
12650
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
12651
 
 
12652
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 
12653
            # Warning - without using the other run time loading flags,
 
12654
            # -berok will link without error, but may produce a broken library.
 
12655
            no_undefined_flag_CXX=' ${wl}-bernotok'
 
12656
            allow_undefined_flag_CXX=' ${wl}-berok'
 
12657
            # Exported symbols can be pulled into shared objects from archives
 
12658
            whole_archive_flag_spec_CXX='$convenience'
 
12659
            archive_cmds_need_lc_CXX=yes
 
12660
            # This is similar to how AIX traditionally builds its shared
 
12661
            # libraries.
 
12662
            archive_expsym_cmds_CXX="\$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'
 
12663
          fi
 
12664
        fi
 
12665
        ;;
 
12666
 
 
12667
      beos*)
 
12668
        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
12669
          allow_undefined_flag_CXX=unsupported
 
12670
          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
12671
          # support --undefined.  This deserves some investigation.  FIXME
 
12672
          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12673
        else
 
12674
          ld_shlibs_CXX=no
 
12675
        fi
 
12676
        ;;
 
12677
 
 
12678
      chorus*)
 
12679
        case $cc_basename in
 
12680
          *)
 
12681
          # FIXME: insert proper C++ library support
 
12682
          ld_shlibs_CXX=no
 
12683
          ;;
 
12684
        esac
 
12685
        ;;
 
12686
 
 
12687
      cygwin* | mingw* | pw32* | cegcc*)
 
12688
        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
 
12689
        # as there is no search path for DLLs.
 
12690
        hardcode_libdir_flag_spec_CXX='-L$libdir'
 
12691
        allow_undefined_flag_CXX=unsupported
 
12692
        always_export_symbols_CXX=no
 
12693
        enable_shared_with_static_runtimes_CXX=yes
 
12694
 
 
12695
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
12696
          archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
12697
          # If the export-symbols file already is a .def file (1st line
 
12698
          # is EXPORTS), use it as is; otherwise, prepend...
 
12699
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
12700
            cp $export_symbols $output_objdir/$soname.def;
 
12701
          else
 
12702
            echo EXPORTS > $output_objdir/$soname.def;
 
12703
            cat $export_symbols >> $output_objdir/$soname.def;
 
12704
          fi~
 
12705
          $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
12706
        else
 
12707
          ld_shlibs_CXX=no
 
12708
        fi
 
12709
        ;;
 
12710
      darwin* | rhapsody*)
 
12711
 
 
12712
 
 
12713
  archive_cmds_need_lc_CXX=no
 
12714
  hardcode_direct_CXX=no
 
12715
  hardcode_automatic_CXX=yes
 
12716
  hardcode_shlibpath_var_CXX=unsupported
 
12717
  whole_archive_flag_spec_CXX=''
 
12718
  link_all_deplibs_CXX=yes
 
12719
  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
 
12720
  case $cc_basename in
 
12721
     ifort*) _lt_dar_can_shared=yes ;;
 
12722
     *) _lt_dar_can_shared=$GCC ;;
 
12723
  esac
 
12724
  if test "$_lt_dar_can_shared" = "yes"; then
 
12725
    output_verbose_link_cmd=echo
 
12726
    archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
12727
    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
12728
    archive_expsym_cmds_CXX="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}"
 
12729
    module_expsym_cmds_CXX="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}"
 
12730
       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
12731
      archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
 
12732
      archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
 
12733
    fi
 
12734
 
 
12735
  else
 
12736
  ld_shlibs_CXX=no
 
12737
  fi
 
12738
 
 
12739
        ;;
 
12740
 
 
12741
      dgux*)
 
12742
        case $cc_basename in
 
12743
          ec++*)
 
12744
            # FIXME: insert proper C++ library support
 
12745
            ld_shlibs_CXX=no
 
12746
            ;;
 
12747
          ghcx*)
 
12748
            # Green Hills C++ Compiler
 
12749
            # FIXME: insert proper C++ library support
 
12750
            ld_shlibs_CXX=no
 
12751
            ;;
 
12752
          *)
 
12753
            # FIXME: insert proper C++ library support
 
12754
            ld_shlibs_CXX=no
 
12755
            ;;
 
12756
        esac
 
12757
        ;;
 
12758
 
 
12759
      freebsd[12]*)
 
12760
        # C++ shared libraries reported to be fairly broken before
 
12761
        # switch to ELF
 
12762
        ld_shlibs_CXX=no
 
12763
        ;;
 
12764
 
 
12765
      freebsd-elf*)
 
12766
        archive_cmds_need_lc_CXX=no
 
12767
        ;;
 
12768
 
 
12769
      freebsd* | dragonfly*)
 
12770
        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
 
12771
        # conventions
 
12772
        ld_shlibs_CXX=yes
 
12773
        ;;
 
12774
 
 
12775
      gnu*)
 
12776
        ;;
 
12777
 
 
12778
      hpux9*)
 
12779
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
12780
        hardcode_libdir_separator_CXX=:
 
12781
        export_dynamic_flag_spec_CXX='${wl}-E'
 
12782
        hardcode_direct_CXX=yes
 
12783
        hardcode_minus_L_CXX=yes # Not in the search PATH,
 
12784
                                             # but as the default
 
12785
                                             # location of the library.
 
12786
 
 
12787
        case $cc_basename in
 
12788
          CC*)
 
12789
            # FIXME: insert proper C++ library support
 
12790
            ld_shlibs_CXX=no
 
12791
            ;;
 
12792
          aCC*)
 
12793
            archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
12794
            # Commands to make compiler produce verbose output that lists
 
12795
            # what "hidden" libraries, object files and flags are used when
 
12796
            # linking a shared library.
 
12797
            #
 
12798
            # There doesn't appear to be a way to prevent this compiler from
 
12799
            # explicitly linking system object files so we need to strip them
 
12800
            # from the output so that they don't get included in the library
 
12801
            # dependencies.
 
12802
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
12803
            ;;
 
12804
          *)
 
12805
            if test "$GXX" = yes; then
 
12806
              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
12807
            else
 
12808
              # FIXME: insert proper C++ library support
 
12809
              ld_shlibs_CXX=no
 
12810
            fi
 
12811
            ;;
 
12812
        esac
 
12813
        ;;
 
12814
 
 
12815
      hpux10*|hpux11*)
 
12816
        if test $with_gnu_ld = no; then
 
12817
          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
12818
          hardcode_libdir_separator_CXX=:
 
12819
 
 
12820
          case $host_cpu in
 
12821
            hppa*64*|ia64*)
 
12822
              ;;
 
12823
            *)
 
12824
              export_dynamic_flag_spec_CXX='${wl}-E'
 
12825
              ;;
 
12826
          esac
 
12827
        fi
 
12828
        case $host_cpu in
 
12829
          hppa*64*|ia64*)
 
12830
            hardcode_direct_CXX=no
 
12831
            hardcode_shlibpath_var_CXX=no
 
12832
            ;;
 
12833
          *)
 
12834
            hardcode_direct_CXX=yes
 
12835
            hardcode_direct_absolute_CXX=yes
 
12836
            hardcode_minus_L_CXX=yes # Not in the search PATH,
 
12837
                                                 # but as the default
 
12838
                                                 # location of the library.
 
12839
            ;;
 
12840
        esac
 
12841
 
 
12842
        case $cc_basename in
 
12843
          CC*)
 
12844
            # FIXME: insert proper C++ library support
 
12845
            ld_shlibs_CXX=no
 
12846
            ;;
 
12847
          aCC*)
 
12848
            case $host_cpu in
 
12849
              hppa*64*)
 
12850
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12851
                ;;
 
12852
              ia64*)
 
12853
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12854
                ;;
 
12855
              *)
 
12856
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12857
                ;;
 
12858
            esac
 
12859
            # Commands to make compiler produce verbose output that lists
 
12860
            # what "hidden" libraries, object files and flags are used when
 
12861
            # linking a shared library.
 
12862
            #
 
12863
            # There doesn't appear to be a way to prevent this compiler from
 
12864
            # explicitly linking system object files so we need to strip them
 
12865
            # from the output so that they don't get included in the library
 
12866
            # dependencies.
 
12867
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
12868
            ;;
 
12869
          *)
 
12870
            if test "$GXX" = yes; then
 
12871
              if test $with_gnu_ld = no; then
 
12872
                case $host_cpu in
 
12873
                  hppa*64*)
 
12874
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12875
                    ;;
 
12876
                  ia64*)
 
12877
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12878
                    ;;
 
12879
                  *)
 
12880
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12881
                    ;;
 
12882
                esac
 
12883
              fi
 
12884
            else
 
12885
              # FIXME: insert proper C++ library support
 
12886
              ld_shlibs_CXX=no
 
12887
            fi
 
12888
            ;;
 
12889
        esac
 
12890
        ;;
 
12891
 
 
12892
      interix[3-9]*)
 
12893
        hardcode_direct_CXX=no
 
12894
        hardcode_shlibpath_var_CXX=no
 
12895
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11720
12896
        export_dynamic_flag_spec_CXX='${wl}-E'
11721
 
        ;;
11722
 
      esac
11723
 
    fi
11724
 
    case $host_cpu in
11725
 
    hppa*64*|ia64*)
11726
 
      hardcode_direct_CXX=no
 
12897
        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
12898
        # Instead, shared libraries are loaded at an image base (0x10000000 by
 
12899
        # default) and relocated if they conflict, which is a slow very memory
 
12900
        # consuming and fragmenting process.  To avoid this, we pick a random,
 
12901
        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
12902
        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
12903
        archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
12904
        archive_expsym_cmds_CXX='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'
 
12905
        ;;
 
12906
      irix5* | irix6*)
 
12907
        case $cc_basename in
 
12908
          CC*)
 
12909
            # SGI C++
 
12910
            archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
12911
 
 
12912
            # Archives containing C++ object files must be created using
 
12913
            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
 
12914
            # necessary to make sure instantiated templates are included
 
12915
            # in the archive.
 
12916
            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
 
12917
            ;;
 
12918
          *)
 
12919
            if test "$GXX" = yes; then
 
12920
              if test "$with_gnu_ld" = no; then
 
12921
                archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
12922
              else
 
12923
                archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
 
12924
              fi
 
12925
            fi
 
12926
            link_all_deplibs_CXX=yes
 
12927
            ;;
 
12928
        esac
 
12929
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
12930
        hardcode_libdir_separator_CXX=:
 
12931
        inherit_rpath_CXX=yes
 
12932
        ;;
 
12933
 
 
12934
      linux* | k*bsd*-gnu)
 
12935
        case $cc_basename in
 
12936
          KCC*)
 
12937
            # Kuck and Associates, Inc. (KAI) C++ Compiler
 
12938
 
 
12939
            # KCC will only create a shared library if the output file
 
12940
            # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
12941
            # to its proper name (with version) after linking.
 
12942
            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
 
12943
            archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
 
12944
            # Commands to make compiler produce verbose output that lists
 
12945
            # what "hidden" libraries, object files and flags are used when
 
12946
            # linking a shared library.
 
12947
            #
 
12948
            # There doesn't appear to be a way to prevent this compiler from
 
12949
            # explicitly linking system object files so we need to strip them
 
12950
            # from the output so that they don't get included in the library
 
12951
            # dependencies.
 
12952
            output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
12953
 
 
12954
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
12955
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
12956
 
 
12957
            # Archives containing C++ object files must be created using
 
12958
            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
 
12959
            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
 
12960
            ;;
 
12961
          icpc* | ecpc* )
 
12962
            # Intel C++
 
12963
            with_gnu_ld=yes
 
12964
            # version 8.0 and above of icpc choke on multiply defined symbols
 
12965
            # if we add $predep_objects and $postdep_objects, however 7.1 and
 
12966
            # earlier do not add the objects themselves.
 
12967
            case `$CC -V 2>&1` in
 
12968
              *"Version 7."*)
 
12969
                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12970
                archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
12971
                ;;
 
12972
              *)  # Version 8.0 or newer
 
12973
                tmp_idyn=
 
12974
                case $host_cpu in
 
12975
                  ia64*) tmp_idyn=' -i_dynamic';;
 
12976
                esac
 
12977
                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12978
                archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
12979
                ;;
 
12980
            esac
 
12981
            archive_cmds_need_lc_CXX=no
 
12982
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
12983
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
12984
            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
12985
            ;;
 
12986
          pgCC* | pgcpp*)
 
12987
            # Portland Group C++ compiler
 
12988
            case `$CC -V` in
 
12989
            *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
 
12990
              prelink_cmds_CXX='tpldir=Template.dir~
 
12991
                rm -rf $tpldir~
 
12992
                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
 
12993
                compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
 
12994
              old_archive_cmds_CXX='tpldir=Template.dir~
 
12995
                rm -rf $tpldir~
 
12996
                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
 
12997
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
 
12998
                $RANLIB $oldlib'
 
12999
              archive_cmds_CXX='tpldir=Template.dir~
 
13000
                rm -rf $tpldir~
 
13001
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
 
13002
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
13003
              archive_expsym_cmds_CXX='tpldir=Template.dir~
 
13004
                rm -rf $tpldir~
 
13005
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
 
13006
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
 
13007
              ;;
 
13008
            *) # Version 6 will use weak symbols
 
13009
              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
13010
              archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
 
13011
              ;;
 
13012
            esac
 
13013
 
 
13014
            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
 
13015
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
13016
            whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
13017
            ;;
 
13018
          cxx*)
 
13019
            # Compaq C++
 
13020
            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
13021
            archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
 
13022
 
 
13023
            runpath_var=LD_RUN_PATH
 
13024
            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 
13025
            hardcode_libdir_separator_CXX=:
 
13026
 
 
13027
            # Commands to make compiler produce verbose output that lists
 
13028
            # what "hidden" libraries, object files and flags are used when
 
13029
            # linking a shared library.
 
13030
            #
 
13031
            # There doesn't appear to be a way to prevent this compiler from
 
13032
            # explicitly linking system object files so we need to strip them
 
13033
            # from the output so that they don't get included in the library
 
13034
            # dependencies.
 
13035
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
13036
            ;;
 
13037
          xl*)
 
13038
            # IBM XL 8.0 on PPC, with GNU ld
 
13039
            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
13040
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
13041
            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
13042
            if test "x$supports_anon_versioning" = xyes; then
 
13043
              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
 
13044
                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
13045
                echo "local: *; };" >> $output_objdir/$libname.ver~
 
13046
                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
13047
            fi
 
13048
            ;;
 
13049
          *)
 
13050
            case `$CC -V 2>&1 | sed 5q` in
 
13051
            *Sun\ C*)
 
13052
              # Sun C++ 5.9
 
13053
              no_undefined_flag_CXX=' -zdefs'
 
13054
              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13055
              archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
 
13056
              hardcode_libdir_flag_spec_CXX='-R$libdir'
 
13057
              whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
13058
              compiler_needs_object_CXX=yes
 
13059
 
 
13060
              # Not sure whether something based on
 
13061
              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
13062
              # would be better.
 
13063
              output_verbose_link_cmd='echo'
 
13064
 
 
13065
              # Archives containing C++ object files must be created using
 
13066
              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
13067
              # necessary to make sure instantiated templates are included
 
13068
              # in the archive.
 
13069
              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
13070
              ;;
 
13071
            esac
 
13072
            ;;
 
13073
        esac
 
13074
        ;;
 
13075
 
 
13076
      lynxos*)
 
13077
        # FIXME: insert proper C++ library support
 
13078
        ld_shlibs_CXX=no
 
13079
        ;;
 
13080
 
 
13081
      m88k*)
 
13082
        # FIXME: insert proper C++ library support
 
13083
        ld_shlibs_CXX=no
 
13084
        ;;
 
13085
 
 
13086
      mvs*)
 
13087
        case $cc_basename in
 
13088
          cxx*)
 
13089
            # FIXME: insert proper C++ library support
 
13090
            ld_shlibs_CXX=no
 
13091
            ;;
 
13092
          *)
 
13093
            # FIXME: insert proper C++ library support
 
13094
            ld_shlibs_CXX=no
 
13095
            ;;
 
13096
        esac
 
13097
        ;;
 
13098
 
 
13099
      netbsd*)
 
13100
        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
13101
          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
 
13102
          wlarc=
 
13103
          hardcode_libdir_flag_spec_CXX='-R$libdir'
 
13104
          hardcode_direct_CXX=yes
 
13105
          hardcode_shlibpath_var_CXX=no
 
13106
        fi
 
13107
        # Workaround some broken pre-1.5 toolchains
 
13108
        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
 
13109
        ;;
 
13110
 
 
13111
      *nto* | *qnx*)
 
13112
        ld_shlibs_CXX=yes
 
13113
        ;;
 
13114
 
 
13115
      openbsd2*)
 
13116
        # C++ shared libraries are fairly broken
 
13117
        ld_shlibs_CXX=no
 
13118
        ;;
 
13119
 
 
13120
      openbsd*)
 
13121
        if test -f /usr/libexec/ld.so; then
 
13122
          hardcode_direct_CXX=yes
 
13123
          hardcode_shlibpath_var_CXX=no
 
13124
          hardcode_direct_absolute_CXX=yes
 
13125
          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
13126
          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
13127
          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
13128
            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
13129
            export_dynamic_flag_spec_CXX='${wl}-E'
 
13130
            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
13131
          fi
 
13132
          output_verbose_link_cmd=echo
 
13133
        else
 
13134
          ld_shlibs_CXX=no
 
13135
        fi
 
13136
        ;;
 
13137
 
 
13138
      osf3* | osf4* | osf5*)
 
13139
        case $cc_basename in
 
13140
          KCC*)
 
13141
            # Kuck and Associates, Inc. (KAI) C++ Compiler
 
13142
 
 
13143
            # KCC will only create a shared library if the output file
 
13144
            # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
13145
            # to its proper name (with version) after linking.
 
13146
            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
 
13147
 
 
13148
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
13149
            hardcode_libdir_separator_CXX=:
 
13150
 
 
13151
            # Archives containing C++ object files must be created using
 
13152
            # the KAI C++ compiler.
 
13153
            case $host in
 
13154
              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
 
13155
              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
 
13156
            esac
 
13157
            ;;
 
13158
          RCC*)
 
13159
            # Rational C++ 2.4.1
 
13160
            # FIXME: insert proper C++ library support
 
13161
            ld_shlibs_CXX=no
 
13162
            ;;
 
13163
          cxx*)
 
13164
            case $host in
 
13165
              osf3*)
 
13166
                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 
13167
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
13168
                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
13169
                ;;
 
13170
              *)
 
13171
                allow_undefined_flag_CXX=' -expect_unresolved \*'
 
13172
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
13173
                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
 
13174
                  echo "-hidden">> $lib.exp~
 
13175
                  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
 
13176
                  $RM $lib.exp'
 
13177
                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 
13178
                ;;
 
13179
            esac
 
13180
 
 
13181
            hardcode_libdir_separator_CXX=:
 
13182
 
 
13183
            # Commands to make compiler produce verbose output that lists
 
13184
            # what "hidden" libraries, object files and flags are used when
 
13185
            # linking a shared library.
 
13186
            #
 
13187
            # There doesn't appear to be a way to prevent this compiler from
 
13188
            # explicitly linking system object files so we need to strip them
 
13189
            # from the output so that they don't get included in the library
 
13190
            # dependencies.
 
13191
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
13192
            ;;
 
13193
          *)
 
13194
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
13195
              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 
13196
              case $host in
 
13197
                osf3*)
 
13198
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
13199
                  ;;
 
13200
                *)
 
13201
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
13202
                  ;;
 
13203
              esac
 
13204
 
 
13205
              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
13206
              hardcode_libdir_separator_CXX=:
 
13207
 
 
13208
              # Commands to make compiler produce verbose output that lists
 
13209
              # what "hidden" libraries, object files and flags are used when
 
13210
              # linking a shared library.
 
13211
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
13212
 
 
13213
            else
 
13214
              # FIXME: insert proper C++ library support
 
13215
              ld_shlibs_CXX=no
 
13216
            fi
 
13217
            ;;
 
13218
        esac
 
13219
        ;;
 
13220
 
 
13221
      psos*)
 
13222
        # FIXME: insert proper C++ library support
 
13223
        ld_shlibs_CXX=no
 
13224
        ;;
 
13225
 
 
13226
      sunos4*)
 
13227
        case $cc_basename in
 
13228
          CC*)
 
13229
            # Sun C++ 4.x
 
13230
            # FIXME: insert proper C++ library support
 
13231
            ld_shlibs_CXX=no
 
13232
            ;;
 
13233
          lcc*)
 
13234
            # Lucid
 
13235
            # FIXME: insert proper C++ library support
 
13236
            ld_shlibs_CXX=no
 
13237
            ;;
 
13238
          *)
 
13239
            # FIXME: insert proper C++ library support
 
13240
            ld_shlibs_CXX=no
 
13241
            ;;
 
13242
        esac
 
13243
        ;;
 
13244
 
 
13245
      solaris*)
 
13246
        case $cc_basename in
 
13247
          CC*)
 
13248
            # Sun C++ 4.2, 5.x and Centerline C++
 
13249
            archive_cmds_need_lc_CXX=yes
 
13250
            no_undefined_flag_CXX=' -zdefs'
 
13251
            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13252
            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
13253
              $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
13254
 
 
13255
            hardcode_libdir_flag_spec_CXX='-R$libdir'
 
13256
            hardcode_shlibpath_var_CXX=no
 
13257
            case $host_os in
 
13258
              solaris2.[0-5] | solaris2.[0-5].*) ;;
 
13259
              *)
 
13260
                # The compiler driver will combine and reorder linker options,
 
13261
                # but understands `-z linker_flag'.
 
13262
                # Supported since Solaris 2.6 (maybe 2.5.1?)
 
13263
                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
 
13264
                ;;
 
13265
            esac
 
13266
            link_all_deplibs_CXX=yes
 
13267
 
 
13268
            output_verbose_link_cmd='echo'
 
13269
 
 
13270
            # Archives containing C++ object files must be created using
 
13271
            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
13272
            # necessary to make sure instantiated templates are included
 
13273
            # in the archive.
 
13274
            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
13275
            ;;
 
13276
          gcx*)
 
13277
            # Green Hills C++ Compiler
 
13278
            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
13279
 
 
13280
            # The C++ compiler must be used to create the archive.
 
13281
            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
 
13282
            ;;
 
13283
          *)
 
13284
            # GNU C++ compiler with Solaris linker
 
13285
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
13286
              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
 
13287
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
 
13288
                archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
13289
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
13290
                  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
13291
 
 
13292
                # Commands to make compiler produce verbose output that lists
 
13293
                # what "hidden" libraries, object files and flags are used when
 
13294
                # linking a shared library.
 
13295
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
13296
              else
 
13297
                # g++ 2.7 appears to require `-G' NOT `-shared' on this
 
13298
                # platform.
 
13299
                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
13300
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
13301
                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
13302
 
 
13303
                # Commands to make compiler produce verbose output that lists
 
13304
                # what "hidden" libraries, object files and flags are used when
 
13305
                # linking a shared library.
 
13306
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
13307
              fi
 
13308
 
 
13309
              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 
13310
              case $host_os in
 
13311
                solaris2.[0-5] | solaris2.[0-5].*) ;;
 
13312
                *)
 
13313
                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
13314
                  ;;
 
13315
              esac
 
13316
            fi
 
13317
            ;;
 
13318
        esac
 
13319
        ;;
 
13320
 
 
13321
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
13322
      no_undefined_flag_CXX='${wl}-z,text'
 
13323
      archive_cmds_need_lc_CXX=no
11727
13324
      hardcode_shlibpath_var_CXX=no
11728
 
      ;;
11729
 
    *)
11730
 
      hardcode_direct_CXX=yes
11731
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
11732
 
                                              # but as the default
11733
 
                                              # location of the library.
11734
 
      ;;
11735
 
    esac
 
13325
      runpath_var='LD_RUN_PATH'
11736
13326
 
11737
 
    case $cc_basename in
11738
 
      CC*)
11739
 
        # FIXME: insert proper C++ library support
11740
 
        ld_shlibs_CXX=no
11741
 
        ;;
11742
 
      aCC*)
11743
 
        case $host_cpu in
11744
 
        hppa*64*)
11745
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11746
 
          ;;
11747
 
        ia64*)
11748
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13327
      case $cc_basename in
 
13328
        CC*)
 
13329
          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13330
          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11749
13331
          ;;
11750
13332
        *)
11751
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11752
 
          ;;
11753
 
        esac
11754
 
        # Commands to make compiler produce verbose output that lists
11755
 
        # what "hidden" libraries, object files and flags are used when
11756
 
        # linking a shared library.
11757
 
        #
11758
 
        # There doesn't appear to be a way to prevent this compiler from
11759
 
        # explicitly linking system object files so we need to strip them
11760
 
        # from the output so that they don't get included in the library
11761
 
        # dependencies.
11762
 
        output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11763
 
        ;;
11764
 
      *)
11765
 
        if test "$GXX" = yes; then
11766
 
          if test $with_gnu_ld = no; then
11767
 
            case $host_cpu in
11768
 
            hppa*64*)
11769
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11770
 
              ;;
11771
 
            ia64*)
11772
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11773
 
              ;;
11774
 
            *)
11775
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11776
 
              ;;
11777
 
            esac
11778
 
          fi
11779
 
        else
11780
 
          # FIXME: insert proper C++ library support
11781
 
          ld_shlibs_CXX=no
11782
 
        fi
11783
 
        ;;
11784
 
    esac
11785
 
    ;;
11786
 
  interix[3-9]*)
11787
 
    hardcode_direct_CXX=no
11788
 
    hardcode_shlibpath_var_CXX=no
11789
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11790
 
    export_dynamic_flag_spec_CXX='${wl}-E'
11791
 
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11792
 
    # Instead, shared libraries are loaded at an image base (0x10000000 by
11793
 
    # default) and relocated if they conflict, which is a slow very memory
11794
 
    # consuming and fragmenting process.  To avoid this, we pick a random,
11795
 
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11796
 
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11797
 
    archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11798
 
    archive_expsym_cmds_CXX='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'
11799
 
    ;;
11800
 
  irix5* | irix6*)
11801
 
    case $cc_basename in
11802
 
      CC*)
11803
 
        # SGI C++
11804
 
        archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11805
 
 
11806
 
        # Archives containing C++ object files must be created using
11807
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
11808
 
        # necessary to make sure instantiated templates are included
11809
 
        # in the archive.
11810
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11811
 
        ;;
11812
 
      *)
11813
 
        if test "$GXX" = yes; then
11814
 
          if test "$with_gnu_ld" = no; then
11815
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11816
 
          else
11817
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
11818
 
          fi
11819
 
        fi
11820
 
        link_all_deplibs_CXX=yes
11821
 
        ;;
11822
 
    esac
11823
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11824
 
    hardcode_libdir_separator_CXX=:
11825
 
    ;;
11826
 
  linux* | k*bsd*-gnu)
11827
 
    case $cc_basename in
11828
 
      KCC*)
11829
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11830
 
 
11831
 
        # KCC will only create a shared library if the output file
11832
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11833
 
        # to its proper name (with version) after linking.
11834
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11835
 
        archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
11836
 
        # Commands to make compiler produce verbose output that lists
11837
 
        # what "hidden" libraries, object files and flags are used when
11838
 
        # linking a shared library.
11839
 
        #
11840
 
        # There doesn't appear to be a way to prevent this compiler from
11841
 
        # explicitly linking system object files so we need to strip them
11842
 
        # from the output so that they don't get included in the library
11843
 
        # dependencies.
11844
 
        output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11845
 
 
11846
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
11847
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11848
 
 
11849
 
        # Archives containing C++ object files must be created using
11850
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11851
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11852
 
        ;;
11853
 
      icpc*)
11854
 
        # Intel C++
11855
 
        with_gnu_ld=yes
11856
 
        # version 8.0 and above of icpc choke on multiply defined symbols
11857
 
        # if we add $predep_objects and $postdep_objects, however 7.1 and
11858
 
        # earlier do not add the objects themselves.
11859
 
        case `$CC -V 2>&1` in
11860
 
        *"Version 7."*)
11861
 
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11862
 
          archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11863
 
          ;;
11864
 
        *)  # Version 8.0 or newer
11865
 
          tmp_idyn=
11866
 
          case $host_cpu in
11867
 
            ia64*) tmp_idyn=' -i_dynamic';;
11868
 
          esac
11869
 
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11870
 
          archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11871
 
          ;;
11872
 
        esac
 
13333
          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13334
          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13335
          ;;
 
13336
      esac
 
13337
      ;;
 
13338
 
 
13339
      sysv5* | sco3.2v5* | sco5v6*)
 
13340
        # Note: We can NOT use -z defs as we might desire, because we do not
 
13341
        # link with -lc, and that would cause any symbols used from libc to
 
13342
        # always be unresolved, which means just about no library would
 
13343
        # ever link correctly.  If we're not using GNU ld we use -z text
 
13344
        # though, which does catch some bad symbols but isn't as heavy-handed
 
13345
        # as -z defs.
 
13346
        no_undefined_flag_CXX='${wl}-z,text'
 
13347
        allow_undefined_flag_CXX='${wl}-z,nodefs'
11873
13348
        archive_cmds_need_lc_CXX=no
11874
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11875
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11876
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11877
 
        ;;
11878
 
      pgCC*)
11879
 
        # Portland Group C++ compiler
11880
 
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11881
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11882
 
 
11883
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11884
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11885
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
11886
 
        ;;
11887
 
      cxx*)
11888
 
        # Compaq C++
11889
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11890
 
        archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
11891
 
 
11892
 
        runpath_var=LD_RUN_PATH
11893
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11894
 
        hardcode_libdir_separator_CXX=:
11895
 
 
11896
 
        # Commands to make compiler produce verbose output that lists
11897
 
        # what "hidden" libraries, object files and flags are used when
11898
 
        # linking a shared library.
11899
 
        #
11900
 
        # There doesn't appear to be a way to prevent this compiler from
11901
 
        # explicitly linking system object files so we need to strip them
11902
 
        # from the output so that they don't get included in the library
11903
 
        # dependencies.
11904
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11905
 
        ;;
11906
 
      *)
11907
 
        case `$CC -V 2>&1 | sed 5q` in
11908
 
        *Sun\ C*)
11909
 
          # Sun C++ 5.9
11910
 
          no_undefined_flag_CXX=' -zdefs'
11911
 
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11912
 
          archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
11913
 
          hardcode_libdir_flag_spec_CXX='-R$libdir'
11914
 
          whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
11915
 
 
11916
 
          # Not sure whether something based on
11917
 
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11918
 
          # would be better.
11919
 
          output_verbose_link_cmd='echo'
11920
 
 
11921
 
          # Archives containing C++ object files must be created using
11922
 
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
11923
 
          # necessary to make sure instantiated templates are included
11924
 
          # in the archive.
11925
 
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11926
 
          ;;
11927
 
        esac
11928
 
        ;;
11929
 
    esac
11930
 
    ;;
11931
 
  lynxos*)
11932
 
    # FIXME: insert proper C++ library support
11933
 
    ld_shlibs_CXX=no
11934
 
    ;;
11935
 
  m88k*)
11936
 
    # FIXME: insert proper C++ library support
11937
 
    ld_shlibs_CXX=no
11938
 
    ;;
11939
 
  mvs*)
11940
 
    case $cc_basename in
11941
 
      cxx*)
11942
 
        # FIXME: insert proper C++ library support
11943
 
        ld_shlibs_CXX=no
11944
 
        ;;
11945
 
      *)
11946
 
        # FIXME: insert proper C++ library support
11947
 
        ld_shlibs_CXX=no
11948
 
        ;;
11949
 
    esac
11950
 
    ;;
11951
 
  netbsd*)
11952
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11953
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11954
 
      wlarc=
11955
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
11956
 
      hardcode_direct_CXX=yes
11957
 
      hardcode_shlibpath_var_CXX=no
11958
 
    fi
11959
 
    # Workaround some broken pre-1.5 toolchains
11960
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11961
 
    ;;
11962
 
  openbsd2*)
11963
 
    # C++ shared libraries are fairly broken
11964
 
    ld_shlibs_CXX=no
11965
 
    ;;
11966
 
  openbsd*)
11967
 
    if test -f /usr/libexec/ld.so; then
11968
 
      hardcode_direct_CXX=yes
11969
 
      hardcode_shlibpath_var_CXX=no
11970
 
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11971
 
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11972
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11973
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11974
 
        export_dynamic_flag_spec_CXX='${wl}-E'
11975
 
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11976
 
      fi
11977
 
      output_verbose_link_cmd='echo'
11978
 
    else
11979
 
      ld_shlibs_CXX=no
11980
 
    fi
11981
 
    ;;
11982
 
  osf3*)
11983
 
    case $cc_basename in
11984
 
      KCC*)
11985
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11986
 
 
11987
 
        # KCC will only create a shared library if the output file
11988
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11989
 
        # to its proper name (with version) after linking.
11990
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11991
 
 
11992
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11993
 
        hardcode_libdir_separator_CXX=:
11994
 
 
11995
 
        # Archives containing C++ object files must be created using
11996
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11997
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11998
 
 
11999
 
        ;;
12000
 
      RCC*)
12001
 
        # Rational C++ 2.4.1
12002
 
        # FIXME: insert proper C++ library support
12003
 
        ld_shlibs_CXX=no
12004
 
        ;;
12005
 
      cxx*)
12006
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12007
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12008
 
 
12009
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12010
 
        hardcode_libdir_separator_CXX=:
12011
 
 
12012
 
        # Commands to make compiler produce verbose output that lists
12013
 
        # what "hidden" libraries, object files and flags are used when
12014
 
        # linking a shared library.
12015
 
        #
12016
 
        # There doesn't appear to be a way to prevent this compiler from
12017
 
        # explicitly linking system object files so we need to strip them
12018
 
        # from the output so that they don't get included in the library
12019
 
        # dependencies.
12020
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12021
 
        ;;
12022
 
      *)
12023
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12024
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12025
 
          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12026
 
 
12027
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12028
 
          hardcode_libdir_separator_CXX=:
12029
 
 
12030
 
          # Commands to make compiler produce verbose output that lists
12031
 
          # what "hidden" libraries, object files and flags are used when
12032
 
          # linking a shared library.
12033
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12034
 
 
12035
 
        else
12036
 
          # FIXME: insert proper C++ library support
12037
 
          ld_shlibs_CXX=no
12038
 
        fi
12039
 
        ;;
12040
 
    esac
12041
 
    ;;
12042
 
  osf4* | osf5*)
12043
 
    case $cc_basename in
12044
 
      KCC*)
12045
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
12046
 
 
12047
 
        # KCC will only create a shared library if the output file
12048
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
12049
 
        # to its proper name (with version) after linking.
12050
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12051
 
 
12052
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12053
 
        hardcode_libdir_separator_CXX=:
12054
 
 
12055
 
        # Archives containing C++ object files must be created using
12056
 
        # the KAI C++ compiler.
12057
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
12058
 
        ;;
12059
 
      RCC*)
12060
 
        # Rational C++ 2.4.1
12061
 
        # FIXME: insert proper C++ library support
12062
 
        ld_shlibs_CXX=no
12063
 
        ;;
12064
 
      cxx*)
12065
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
12066
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12067
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12068
 
          echo "-hidden">> $lib.exp~
12069
 
          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
12070
 
          $rm $lib.exp'
12071
 
 
12072
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12073
 
        hardcode_libdir_separator_CXX=:
12074
 
 
12075
 
        # Commands to make compiler produce verbose output that lists
12076
 
        # what "hidden" libraries, object files and flags are used when
12077
 
        # linking a shared library.
12078
 
        #
12079
 
        # There doesn't appear to be a way to prevent this compiler from
12080
 
        # explicitly linking system object files so we need to strip them
12081
 
        # from the output so that they don't get included in the library
12082
 
        # dependencies.
12083
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12084
 
        ;;
12085
 
      *)
12086
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12087
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12088
 
         archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12089
 
 
12090
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12091
 
          hardcode_libdir_separator_CXX=:
12092
 
 
12093
 
          # Commands to make compiler produce verbose output that lists
12094
 
          # what "hidden" libraries, object files and flags are used when
12095
 
          # linking a shared library.
12096
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12097
 
 
12098
 
        else
12099
 
          # FIXME: insert proper C++ library support
12100
 
          ld_shlibs_CXX=no
12101
 
        fi
12102
 
        ;;
12103
 
    esac
12104
 
    ;;
12105
 
  psos*)
12106
 
    # FIXME: insert proper C++ library support
12107
 
    ld_shlibs_CXX=no
12108
 
    ;;
12109
 
  sunos4*)
12110
 
    case $cc_basename in
12111
 
      CC*)
12112
 
        # Sun C++ 4.x
12113
 
        # FIXME: insert proper C++ library support
12114
 
        ld_shlibs_CXX=no
12115
 
        ;;
12116
 
      lcc*)
12117
 
        # Lucid
12118
 
        # FIXME: insert proper C++ library support
12119
 
        ld_shlibs_CXX=no
12120
 
        ;;
12121
 
      *)
12122
 
        # FIXME: insert proper C++ library support
12123
 
        ld_shlibs_CXX=no
12124
 
        ;;
12125
 
    esac
12126
 
    ;;
12127
 
  solaris*)
12128
 
    case $cc_basename in
12129
 
      CC*)
12130
 
        # Sun C++ 4.2, 5.x and Centerline C++
12131
 
        archive_cmds_need_lc_CXX=yes
12132
 
        no_undefined_flag_CXX=' -zdefs'
12133
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12134
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12135
 
        $CC -G${allow_undefined_flag}  ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12136
 
 
12137
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
12138
13349
        hardcode_shlibpath_var_CXX=no
12139
 
        case $host_os in
12140
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
12141
 
          *)
12142
 
            # The compiler driver will combine and reorder linker options,
12143
 
            # but understands `-z linker_flag'.
12144
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
12145
 
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12146
 
            ;;
12147
 
        esac
 
13350
        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
 
13351
        hardcode_libdir_separator_CXX=':'
12148
13352
        link_all_deplibs_CXX=yes
12149
 
 
12150
 
        output_verbose_link_cmd='echo'
12151
 
 
12152
 
        # Archives containing C++ object files must be created using
12153
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12154
 
        # necessary to make sure instantiated templates are included
12155
 
        # in the archive.
12156
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12157
 
        ;;
12158
 
      gcx*)
12159
 
        # Green Hills C++ Compiler
12160
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12161
 
 
12162
 
        # The C++ compiler must be used to create the archive.
12163
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12164
 
        ;;
12165
 
      *)
12166
 
        # GNU C++ compiler with Solaris linker
12167
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12168
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12169
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
12170
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12171
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12172
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12173
 
 
12174
 
            # Commands to make compiler produce verbose output that lists
12175
 
            # what "hidden" libraries, object files and flags are used when
12176
 
            # linking a shared library.
12177
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12178
 
          else
12179
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
12180
 
            # platform.
12181
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12182
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12183
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12184
 
 
12185
 
            # Commands to make compiler produce verbose output that lists
12186
 
            # what "hidden" libraries, object files and flags are used when
12187
 
            # linking a shared library.
12188
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12189
 
          fi
12190
 
 
12191
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12192
 
          case $host_os in
12193
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
 
13353
        export_dynamic_flag_spec_CXX='${wl}-Bexport'
 
13354
        runpath_var='LD_RUN_PATH'
 
13355
 
 
13356
        case $cc_basename in
 
13357
          CC*)
 
13358
            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13359
            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13360
            ;;
12194
13361
          *)
12195
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12196
 
            ;;
12197
 
          esac
12198
 
        fi
12199
 
        ;;
12200
 
    esac
12201
 
    ;;
12202
 
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12203
 
    no_undefined_flag_CXX='${wl}-z,text'
12204
 
    archive_cmds_need_lc_CXX=no
12205
 
    hardcode_shlibpath_var_CXX=no
12206
 
    runpath_var='LD_RUN_PATH'
12207
 
 
12208
 
    case $cc_basename in
12209
 
      CC*)
12210
 
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12211
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12212
 
        ;;
12213
 
      *)
12214
 
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12215
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12216
 
        ;;
12217
 
    esac
12218
 
    ;;
12219
 
  sysv5* | sco3.2v5* | sco5v6*)
12220
 
    # Note: We can NOT use -z defs as we might desire, because we do not
12221
 
    # link with -lc, and that would cause any symbols used from libc to
12222
 
    # always be unresolved, which means just about no library would
12223
 
    # ever link correctly.  If we're not using GNU ld we use -z text
12224
 
    # though, which does catch some bad symbols but isn't as heavy-handed
12225
 
    # as -z defs.
12226
 
    # For security reasons, it is highly recommended that you always
12227
 
    # use absolute paths for naming shared libraries, and exclude the
12228
 
    # DT_RUNPATH tag from executables and libraries.  But doing so
12229
 
    # requires that you compile everything twice, which is a pain.
12230
 
    # So that behaviour is only enabled if SCOABSPATH is set to a
12231
 
    # non-empty value in the environment.  Most likely only useful for
12232
 
    # creating official distributions of packages.
12233
 
    # This is a hack until libtool officially supports absolute path
12234
 
    # names for shared libraries.
12235
 
    no_undefined_flag_CXX='${wl}-z,text'
12236
 
    allow_undefined_flag_CXX='${wl}-z,nodefs'
12237
 
    archive_cmds_need_lc_CXX=no
12238
 
    hardcode_shlibpath_var_CXX=no
12239
 
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12240
 
    hardcode_libdir_separator_CXX=':'
12241
 
    link_all_deplibs_CXX=yes
12242
 
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
12243
 
    runpath_var='LD_RUN_PATH'
12244
 
 
12245
 
    case $cc_basename in
12246
 
      CC*)
12247
 
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12248
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12249
 
        ;;
12250
 
      *)
12251
 
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12252
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12253
 
        ;;
12254
 
    esac
12255
 
    ;;
12256
 
  tandem*)
12257
 
    case $cc_basename in
12258
 
      NCC*)
12259
 
        # NonStop-UX NCC 3.20
12260
 
        # FIXME: insert proper C++ library support
12261
 
        ld_shlibs_CXX=no
12262
 
        ;;
12263
 
      *)
12264
 
        # FIXME: insert proper C++ library support
12265
 
        ld_shlibs_CXX=no
12266
 
        ;;
12267
 
    esac
12268
 
    ;;
12269
 
  vxworks*)
12270
 
    # FIXME: insert proper C++ library support
12271
 
    ld_shlibs_CXX=no
12272
 
    ;;
12273
 
  *)
12274
 
    # FIXME: insert proper C++ library support
12275
 
    ld_shlibs_CXX=no
12276
 
    ;;
12277
 
esac
12278
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12279
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12280
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
12281
 
 
12282
 
GCC_CXX="$GXX"
12283
 
LD_CXX="$LD"
12284
 
 
12285
 
## CAVEAT EMPTOR:
12286
 
## There is no encapsulation within the following macros, do not change
12287
 
## the running order or otherwise move them around unless you know exactly
12288
 
## what you are doing...
12289
 
 
12290
 
cat > conftest.$ac_ext <<EOF
 
13362
            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13363
            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13364
            ;;
 
13365
        esac
 
13366
      ;;
 
13367
 
 
13368
      tandem*)
 
13369
        case $cc_basename in
 
13370
          NCC*)
 
13371
            # NonStop-UX NCC 3.20
 
13372
            # FIXME: insert proper C++ library support
 
13373
            ld_shlibs_CXX=no
 
13374
            ;;
 
13375
          *)
 
13376
            # FIXME: insert proper C++ library support
 
13377
            ld_shlibs_CXX=no
 
13378
            ;;
 
13379
        esac
 
13380
        ;;
 
13381
 
 
13382
      vxworks*)
 
13383
        # FIXME: insert proper C++ library support
 
13384
        ld_shlibs_CXX=no
 
13385
        ;;
 
13386
 
 
13387
      *)
 
13388
        # FIXME: insert proper C++ library support
 
13389
        ld_shlibs_CXX=no
 
13390
        ;;
 
13391
    esac
 
13392
 
 
13393
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
 
13394
$as_echo "$ld_shlibs_CXX" >&6; }
 
13395
    test "$ld_shlibs_CXX" = no && can_build_shared=no
 
13396
 
 
13397
    GCC_CXX="$GXX"
 
13398
    LD_CXX="$LD"
 
13399
 
 
13400
    ## CAVEAT EMPTOR:
 
13401
    ## There is no encapsulation within the following macros, do not change
 
13402
    ## the running order or otherwise move them around unless you know exactly
 
13403
    ## what you are doing...
 
13404
    # Dependencies to place before and after the object being linked:
 
13405
predep_objects_CXX=
 
13406
postdep_objects_CXX=
 
13407
predeps_CXX=
 
13408
postdeps_CXX=
 
13409
compiler_lib_search_path_CXX=
 
13410
 
 
13411
cat > conftest.$ac_ext <<_LT_EOF
12291
13412
class Foo
12292
13413
{
12293
13414
public:
12295
13416
private:
12296
13417
  int a;
12297
13418
};
12298
 
EOF
 
13419
_LT_EOF
12299
13420
 
12300
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
13421
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12301
13422
  (eval $ac_compile) 2>&5
12302
13423
  ac_status=$?
12303
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12304
 
  (exit $ac_status); }; then
 
13424
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13425
  test $ac_status = 0; }; then
12305
13426
  # Parse the compiler output and extract the necessary
12306
13427
  # objects, libraries and library flags.
12307
13428
 
12309
13430
  # the conftest object file.
12310
13431
  pre_test_object_deps_done=no
12311
13432
 
12312
 
  # The `*' in the case matches for architectures that use `case' in
12313
 
  # $output_verbose_cmd can trigger glob expansion during the loop
12314
 
  # eval without this substitution.
12315
 
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12316
 
 
12317
 
  for p in `eval $output_verbose_link_cmd`; do
 
13433
  for p in `eval "$output_verbose_link_cmd"`; do
12318
13434
    case $p in
12319
13435
 
12320
13436
    -L* | -R* | -l*)
12321
13437
       # Some compilers place space between "-{L,R}" and the path.
12322
13438
       # Remove the space.
12323
 
       if test $p = "-L" \
12324
 
          || test $p = "-R"; then
 
13439
       if test $p = "-L" ||
 
13440
          test $p = "-R"; then
12325
13441
         prev=$p
12326
13442
         continue
12327
13443
       else
12386
13502
  echo "libtool.m4: error: problem compiling CXX test program"
12387
13503
fi
12388
13504
 
12389
 
$rm -f confest.$objext
 
13505
$RM -f confest.$objext
12390
13506
 
12391
13507
# PORTME: override above test on systems where it is broken
12392
13508
case $host_os in
12402
13518
  case `$CC -V 2>&1 | sed 5q` in
12403
13519
  *Sun\ C*)
12404
13520
    # Sun C++ 5.9
12405
 
    #
 
13521
 
12406
13522
    # The more standards-conforming stlport4 library is
12407
13523
    # incompatible with the Cstd library. Avoid specifying
12408
13524
    # it if it's in CXXFLAGS. Ignore libCrun as
12412
13528
      solaris_use_stlport4=yes
12413
13529
      ;;
12414
13530
    esac
 
13531
 
12415
13532
    if test "$solaris_use_stlport4" != yes; then
12416
13533
      postdeps_CXX='-library=Cstd -library=Crun'
12417
13534
    fi
12447
13564
case " $postdeps_CXX " in
12448
13565
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
12449
13566
esac
12450
 
 
12451
 
lt_prog_compiler_wl_CXX=
 
13567
 compiler_lib_search_dirs_CXX=
 
13568
if test -n "${compiler_lib_search_path_CXX}"; then
 
13569
 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
13570
fi
 
13571
 
 
13572
 
 
13573
 
 
13574
 
 
13575
 
 
13576
 
 
13577
 
 
13578
 
 
13579
 
 
13580
 
 
13581
 
 
13582
 
 
13583
 
 
13584
 
 
13585
 
 
13586
 
 
13587
 
 
13588
 
 
13589
 
 
13590
 
 
13591
 
 
13592
 
 
13593
 
 
13594
 
 
13595
 
 
13596
 
 
13597
 
 
13598
 
 
13599
 
 
13600
 
 
13601
 
 
13602
    lt_prog_compiler_wl_CXX=
12452
13603
lt_prog_compiler_pic_CXX=
12453
13604
lt_prog_compiler_static_CXX=
12454
13605
 
12455
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12456
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
13606
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
13607
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12457
13608
 
12458
13609
  # C++ specific cases for pic, static, wl, etc.
12459
13610
  if test "$GXX" = yes; then
12468
13619
        lt_prog_compiler_static_CXX='-Bstatic'
12469
13620
      fi
12470
13621
      ;;
 
13622
 
12471
13623
    amigaos*)
12472
 
      # FIXME: we need at least 68020 code to build shared libraries, but
12473
 
      # adding the `-m68020' flag to GCC prevents building anything better,
12474
 
      # like `-m68040'.
12475
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
 
13624
      case $host_cpu in
 
13625
      powerpc)
 
13626
            # see comment about AmigaOS4 .so support
 
13627
            lt_prog_compiler_pic_CXX='-fPIC'
 
13628
        ;;
 
13629
      m68k)
 
13630
            # FIXME: we need at least 68020 code to build shared libraries, but
 
13631
            # adding the `-m68020' flag to GCC prevents building anything better,
 
13632
            # like `-m68040'.
 
13633
            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
 
13634
        ;;
 
13635
      esac
12476
13636
      ;;
 
13637
 
12477
13638
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12478
13639
      # PIC is the default for these OSes.
12479
13640
      ;;
12480
 
    mingw* | cygwin* | os2* | pw32*)
 
13641
    mingw* | cygwin* | os2* | pw32* | cegcc*)
12481
13642
      # This hack is so that the source file can tell whether it is being
12482
13643
      # built for inclusion in a dll (and should export symbols for example).
12483
13644
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
12503
13664
      fi
12504
13665
      ;;
12505
13666
    hpux*)
12506
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12507
 
      # not for PA HP-UX.
 
13667
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
13668
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
13669
      # sets the default TLS model and affects inlining.
12508
13670
      case $host_cpu in
12509
 
      hppa*64*|ia64*)
 
13671
      hppa*64*)
12510
13672
        ;;
12511
13673
      *)
12512
13674
        lt_prog_compiler_pic_CXX='-fPIC'
12513
13675
        ;;
12514
13676
      esac
12515
13677
      ;;
 
13678
    *qnx* | *nto*)
 
13679
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
13680
      # it will coredump.
 
13681
      lt_prog_compiler_pic_CXX='-fPIC -shared'
 
13682
      ;;
12516
13683
    *)
12517
13684
      lt_prog_compiler_pic_CXX='-fPIC'
12518
13685
      ;;
12519
13686
    esac
12520
13687
  else
12521
13688
    case $host_os in
12522
 
      aix4* | aix5*)
 
13689
      aix[4-9]*)
12523
13690
        # All AIX code is PIC.
12524
13691
        if test "$host_cpu" = ia64; then
12525
13692
          # AIX 5 now supports IA64 processor
12532
13699
        case $cc_basename in
12533
13700
        cxch68*)
12534
13701
          # Green Hills C++ Compiler
12535
 
          # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
 
13702
          # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
12536
13703
          ;;
12537
13704
        esac
12538
13705
        ;;
12539
 
       darwin*)
12540
 
         # PIC is the default on this platform
12541
 
         # Common symbols not allowed in MH_DYLIB files
12542
 
         case $cc_basename in
12543
 
           xlc*)
12544
 
           lt_prog_compiler_pic_CXX='-qnocommon'
12545
 
           lt_prog_compiler_wl_CXX='-Wl,'
12546
 
           ;;
12547
 
         esac
12548
 
       ;;
12549
13706
      dgux*)
12550
13707
        case $cc_basename in
12551
13708
          ec++*)
12609
13766
            lt_prog_compiler_wl_CXX='--backend -Wl,'
12610
13767
            lt_prog_compiler_pic_CXX='-fPIC'
12611
13768
            ;;
12612
 
          icpc* | ecpc*)
12613
 
            # Intel C++
 
13769
          ecpc* )
 
13770
            # old Intel C++ for x86_64 which still supported -KPIC.
12614
13771
            lt_prog_compiler_wl_CXX='-Wl,'
12615
13772
            lt_prog_compiler_pic_CXX='-KPIC'
12616
13773
            lt_prog_compiler_static_CXX='-static'
12617
13774
            ;;
12618
 
          pgCC*)
12619
 
            # Portland Group C++ compiler.
 
13775
          icpc* )
 
13776
            # Intel C++, used to be incompatible with GCC.
 
13777
            # ICC 10 doesn't accept -KPIC any more.
 
13778
            lt_prog_compiler_wl_CXX='-Wl,'
 
13779
            lt_prog_compiler_pic_CXX='-fPIC'
 
13780
            lt_prog_compiler_static_CXX='-static'
 
13781
            ;;
 
13782
          pgCC* | pgcpp*)
 
13783
            # Portland Group C++ compiler
12620
13784
            lt_prog_compiler_wl_CXX='-Wl,'
12621
13785
            lt_prog_compiler_pic_CXX='-fpic'
12622
13786
            lt_prog_compiler_static_CXX='-Bstatic'
12628
13792
            lt_prog_compiler_pic_CXX=
12629
13793
            lt_prog_compiler_static_CXX='-non_shared'
12630
13794
            ;;
 
13795
          xlc* | xlC*)
 
13796
            # IBM XL 8.0 on PPC
 
13797
            lt_prog_compiler_wl_CXX='-Wl,'
 
13798
            lt_prog_compiler_pic_CXX='-qpic'
 
13799
            lt_prog_compiler_static_CXX='-qstaticlink'
 
13800
            ;;
12631
13801
          *)
12632
13802
            case `$CC -V 2>&1 | sed 5q` in
12633
13803
            *Sun\ C*)
12655
13825
        ;;
12656
13826
      netbsd*)
12657
13827
        ;;
 
13828
      *qnx* | *nto*)
 
13829
        # QNX uses GNU C++, but need to define -shared option too, otherwise
 
13830
        # it will coredump.
 
13831
        lt_prog_compiler_pic_CXX='-fPIC -shared'
 
13832
        ;;
12658
13833
      osf3* | osf4* | osf5*)
12659
13834
        case $cc_basename in
12660
13835
          KCC*)
12709
13884
            ;;
12710
13885
        esac
12711
13886
        ;;
 
13887
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
13888
        case $cc_basename in
 
13889
          CC*)
 
13890
            lt_prog_compiler_wl_CXX='-Wl,'
 
13891
            lt_prog_compiler_pic_CXX='-KPIC'
 
13892
            lt_prog_compiler_static_CXX='-Bstatic'
 
13893
            ;;
 
13894
        esac
 
13895
        ;;
12712
13896
      tandem*)
12713
13897
        case $cc_basename in
12714
13898
          NCC*)
12719
13903
            ;;
12720
13904
        esac
12721
13905
        ;;
12722
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12723
 
        case $cc_basename in
12724
 
          CC*)
12725
 
            lt_prog_compiler_wl_CXX='-Wl,'
12726
 
            lt_prog_compiler_pic_CXX='-KPIC'
12727
 
            lt_prog_compiler_static_CXX='-Bstatic'
12728
 
            ;;
12729
 
        esac
12730
 
        ;;
12731
13906
      vxworks*)
12732
13907
        ;;
12733
13908
      *)
12736
13911
    esac
12737
13912
  fi
12738
13913
 
12739
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12740
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
 
13914
case $host_os in
 
13915
  # For platforms which do not support PIC, -DPIC is meaningless:
 
13916
  *djgpp*)
 
13917
    lt_prog_compiler_pic_CXX=
 
13918
    ;;
 
13919
  *)
 
13920
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
 
13921
    ;;
 
13922
esac
 
13923
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
 
13924
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
 
13925
 
 
13926
 
12741
13927
 
12742
13928
#
12743
13929
# Check to make sure the PIC flag actually works.
12744
13930
#
12745
13931
if test -n "$lt_prog_compiler_pic_CXX"; then
12746
 
 
12747
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12748
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12749
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12750
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13932
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
13933
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
 
13934
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
 
13935
  $as_echo_n "(cached) " >&6
12751
13936
else
12752
 
  lt_prog_compiler_pic_works_CXX=no
12753
 
  ac_outfile=conftest.$ac_objext
 
13937
  lt_cv_prog_compiler_pic_works_CXX=no
 
13938
   ac_outfile=conftest.$ac_objext
12754
13939
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12755
13940
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12756
13941
   # Insert the option either (1) after the last *FLAGS variable, or
12762
13947
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12763
13948
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12764
13949
   -e 's:$: $lt_compiler_flag:'`
12765
 
   (eval echo "\"\$as_me:12765: $lt_compile\"" >&5)
 
13950
   (eval echo "\"\$as_me:13950: $lt_compile\"" >&5)
12766
13951
   (eval "$lt_compile" 2>conftest.err)
12767
13952
   ac_status=$?
12768
13953
   cat conftest.err >&5
12769
 
   echo "$as_me:12769: \$? = $ac_status" >&5
 
13954
   echo "$as_me:13954: \$? = $ac_status" >&5
12770
13955
   if (exit $ac_status) && test -s "$ac_outfile"; then
12771
13956
     # The compiler can only warn and ignore the option if not recognized
12772
13957
     # So say no if there are warnings other than the usual output.
12773
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
13958
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12774
13959
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12775
13960
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12776
 
       lt_prog_compiler_pic_works_CXX=yes
 
13961
       lt_cv_prog_compiler_pic_works_CXX=yes
12777
13962
     fi
12778
13963
   fi
12779
 
   $rm conftest*
 
13964
   $RM conftest*
12780
13965
 
12781
13966
fi
12782
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12783
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
 
13967
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
13968
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
12784
13969
 
12785
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
 
13970
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
12786
13971
    case $lt_prog_compiler_pic_CXX in
12787
13972
     "" | " "*) ;;
12788
13973
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12793
13978
fi
12794
13979
 
12795
13980
fi
12796
 
case $host_os in
12797
 
  # For platforms which do not support PIC, -DPIC is meaningless:
12798
 
  *djgpp*)
12799
 
    lt_prog_compiler_pic_CXX=
12800
 
    ;;
12801
 
  *)
12802
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12803
 
    ;;
12804
 
esac
 
13981
 
 
13982
 
12805
13983
 
12806
13984
#
12807
13985
# Check to make sure the static flag actually works.
12808
13986
#
12809
13987
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12810
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12811
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12812
 
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12813
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13988
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
13989
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
13990
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
 
13991
  $as_echo_n "(cached) " >&6
12814
13992
else
12815
 
  lt_prog_compiler_static_works_CXX=no
 
13993
  lt_cv_prog_compiler_static_works_CXX=no
12816
13994
   save_LDFLAGS="$LDFLAGS"
12817
13995
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12818
13996
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
12822
14000
     if test -s conftest.err; then
12823
14001
       # Append any errors to the config.log.
12824
14002
       cat conftest.err 1>&5
12825
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
14003
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12826
14004
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12827
14005
       if diff conftest.exp conftest.er2 >/dev/null; then
12828
 
         lt_prog_compiler_static_works_CXX=yes
 
14006
         lt_cv_prog_compiler_static_works_CXX=yes
12829
14007
       fi
12830
14008
     else
12831
 
       lt_prog_compiler_static_works_CXX=yes
 
14009
       lt_cv_prog_compiler_static_works_CXX=yes
12832
14010
     fi
12833
14011
   fi
12834
 
   $rm conftest*
 
14012
   $RM -r conftest*
12835
14013
   LDFLAGS="$save_LDFLAGS"
12836
14014
 
12837
14015
fi
12838
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12839
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
 
14016
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
14017
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
12840
14018
 
12841
 
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
 
14019
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
12842
14020
    :
12843
14021
else
12844
14022
    lt_prog_compiler_static_CXX=
12845
14023
fi
12846
14024
 
12847
14025
 
12848
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12849
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12850
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12851
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12852
 
else
12853
 
  lt_cv_prog_compiler_c_o_CXX=no
12854
 
   $rm -r conftest 2>/dev/null
12855
 
   mkdir conftest
12856
 
   cd conftest
12857
 
   mkdir out
12858
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12859
 
 
12860
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
12861
 
   # Insert the option either (1) after the last *FLAGS variable, or
12862
 
   # (2) before a word containing "conftest.", or (3) at the end.
12863
 
   # Note that $ac_compile itself does not contain backslashes and begins
12864
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
12865
 
   lt_compile=`echo "$ac_compile" | $SED \
12866
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12867
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12868
 
   -e 's:$: $lt_compiler_flag:'`
12869
 
   (eval echo "\"\$as_me:12869: $lt_compile\"" >&5)
12870
 
   (eval "$lt_compile" 2>out/conftest.err)
12871
 
   ac_status=$?
12872
 
   cat out/conftest.err >&5
12873
 
   echo "$as_me:12873: \$? = $ac_status" >&5
12874
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12875
 
   then
12876
 
     # The compiler can only warn and ignore the option if not recognized
12877
 
     # So say no if there are warnings
12878
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12879
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12880
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12881
 
       lt_cv_prog_compiler_c_o_CXX=yes
12882
 
     fi
12883
 
   fi
12884
 
   chmod u+w . 2>&5
12885
 
   $rm conftest*
12886
 
   # SGI C++ compiler will create directory out/ii_files/ for
12887
 
   # template instantiation
12888
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
12889
 
   $rm out/* && rmdir out
12890
 
   cd ..
12891
 
   rmdir conftest
12892
 
   $rm conftest*
12893
 
 
12894
 
fi
12895
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12896
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
14026
 
 
14027
 
 
14028
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14029
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
14030
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
14031
  $as_echo_n "(cached) " >&6
 
14032
else
 
14033
  lt_cv_prog_compiler_c_o_CXX=no
 
14034
   $RM -r conftest 2>/dev/null
 
14035
   mkdir conftest
 
14036
   cd conftest
 
14037
   mkdir out
 
14038
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14039
 
 
14040
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
14041
   # Insert the option either (1) after the last *FLAGS variable, or
 
14042
   # (2) before a word containing "conftest.", or (3) at the end.
 
14043
   # Note that $ac_compile itself does not contain backslashes and begins
 
14044
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
14045
   lt_compile=`echo "$ac_compile" | $SED \
 
14046
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
14047
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
14048
   -e 's:$: $lt_compiler_flag:'`
 
14049
   (eval echo "\"\$as_me:14049: $lt_compile\"" >&5)
 
14050
   (eval "$lt_compile" 2>out/conftest.err)
 
14051
   ac_status=$?
 
14052
   cat out/conftest.err >&5
 
14053
   echo "$as_me:14053: \$? = $ac_status" >&5
 
14054
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
14055
   then
 
14056
     # The compiler can only warn and ignore the option if not recognized
 
14057
     # So say no if there are warnings
 
14058
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
14059
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
14060
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
14061
       lt_cv_prog_compiler_c_o_CXX=yes
 
14062
     fi
 
14063
   fi
 
14064
   chmod u+w . 2>&5
 
14065
   $RM conftest*
 
14066
   # SGI C++ compiler will create directory out/ii_files/ for
 
14067
   # template instantiation
 
14068
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
14069
   $RM out/* && rmdir out
 
14070
   cd ..
 
14071
   $RM -r conftest
 
14072
   $RM conftest*
 
14073
 
 
14074
fi
 
14075
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
14076
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
14077
 
 
14078
 
 
14079
 
 
14080
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14081
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
14082
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
14083
  $as_echo_n "(cached) " >&6
 
14084
else
 
14085
  lt_cv_prog_compiler_c_o_CXX=no
 
14086
   $RM -r conftest 2>/dev/null
 
14087
   mkdir conftest
 
14088
   cd conftest
 
14089
   mkdir out
 
14090
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14091
 
 
14092
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
14093
   # Insert the option either (1) after the last *FLAGS variable, or
 
14094
   # (2) before a word containing "conftest.", or (3) at the end.
 
14095
   # Note that $ac_compile itself does not contain backslashes and begins
 
14096
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
14097
   lt_compile=`echo "$ac_compile" | $SED \
 
14098
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
14099
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
14100
   -e 's:$: $lt_compiler_flag:'`
 
14101
   (eval echo "\"\$as_me:14101: $lt_compile\"" >&5)
 
14102
   (eval "$lt_compile" 2>out/conftest.err)
 
14103
   ac_status=$?
 
14104
   cat out/conftest.err >&5
 
14105
   echo "$as_me:14105: \$? = $ac_status" >&5
 
14106
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
14107
   then
 
14108
     # The compiler can only warn and ignore the option if not recognized
 
14109
     # So say no if there are warnings
 
14110
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
14111
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
14112
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
14113
       lt_cv_prog_compiler_c_o_CXX=yes
 
14114
     fi
 
14115
   fi
 
14116
   chmod u+w . 2>&5
 
14117
   $RM conftest*
 
14118
   # SGI C++ compiler will create directory out/ii_files/ for
 
14119
   # template instantiation
 
14120
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
14121
   $RM out/* && rmdir out
 
14122
   cd ..
 
14123
   $RM -r conftest
 
14124
   $RM conftest*
 
14125
 
 
14126
fi
 
14127
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
14128
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
14129
 
 
14130
 
12897
14131
 
12898
14132
 
12899
14133
hard_links="nottested"
12900
14134
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12901
14135
  # do not overwrite the value of need_locks provided by the user
12902
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12903
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
14136
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
14137
$as_echo_n "checking if we can lock with hard links... " >&6; }
12904
14138
  hard_links=yes
12905
 
  $rm conftest*
 
14139
  $RM conftest*
12906
14140
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12907
14141
  touch conftest.a
12908
14142
  ln conftest.a conftest.b 2>&5 || hard_links=no
12909
14143
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12910
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
12911
 
echo "${ECHO_T}$hard_links" >&6; }
 
14144
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
14145
$as_echo "$hard_links" >&6; }
12912
14146
  if test "$hard_links" = no; then
12913
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12914
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
14147
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
14148
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12915
14149
    need_locks=warn
12916
14150
  fi
12917
14151
else
12918
14152
  need_locks=no
12919
14153
fi
12920
14154
 
12921
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12922
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
14155
 
 
14156
 
 
14157
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14158
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12923
14159
 
12924
14160
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12925
14161
  case $host_os in
12926
 
  aix4* | aix5*)
 
14162
  aix[4-9]*)
12927
14163
    # If we're using GNU nm, then we don't want the "-C" option.
12928
14164
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
12929
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
12930
 
      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
 
14165
    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
14166
      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12931
14167
    else
12932
 
      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
 
14168
      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12933
14169
    fi
12934
14170
    ;;
12935
14171
  pw32*)
12936
14172
    export_symbols_cmds_CXX="$ltdll_cmds"
12937
14173
  ;;
12938
 
  cygwin* | mingw*)
12939
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
14174
  cygwin* | mingw* | cegcc*)
 
14175
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
12940
14176
  ;;
12941
14177
  *)
12942
14178
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12943
14179
  ;;
12944
14180
  esac
 
14181
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12945
14182
 
12946
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12947
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
 
14183
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
 
14184
$as_echo "$ld_shlibs_CXX" >&6; }
12948
14185
test "$ld_shlibs_CXX" = no && can_build_shared=no
12949
14186
 
 
14187
with_gnu_ld_CXX=$with_gnu_ld
 
14188
 
 
14189
 
 
14190
 
 
14191
 
 
14192
 
 
14193
 
12950
14194
#
12951
14195
# Do we need to explicitly link libc?
12952
14196
#
12964
14208
      # Test whether the compiler implicitly links with -lc since on some
12965
14209
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
12966
14210
      # to ld, don't add -lc before -lgcc.
12967
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12968
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12969
 
      $rm conftest*
 
14211
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
14212
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
14213
      $RM conftest*
12970
14214
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12971
14215
 
12972
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
14216
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12973
14217
  (eval $ac_compile) 2>&5
12974
14218
  ac_status=$?
12975
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12976
 
  (exit $ac_status); } 2>conftest.err; then
 
14219
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14220
  test $ac_status = 0; } 2>conftest.err; then
12977
14221
        soname=conftest
12978
14222
        lib=conftest
12979
14223
        libobjs=conftest.$ac_objext
12987
14231
        libname=conftest
12988
14232
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12989
14233
        allow_undefined_flag_CXX=
12990
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12991
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
14234
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
14235
  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12992
14236
  ac_status=$?
12993
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12994
 
  (exit $ac_status); }
 
14237
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14238
  test $ac_status = 0; }
12995
14239
        then
12996
14240
          archive_cmds_need_lc_CXX=no
12997
14241
        else
13001
14245
      else
13002
14246
        cat conftest.err 1>&5
13003
14247
      fi
13004
 
      $rm conftest*
13005
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13006
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
 
14248
      $RM conftest*
 
14249
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
 
14250
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
13007
14251
      ;;
13008
14252
    esac
13009
14253
  fi
13010
14254
  ;;
13011
14255
esac
13012
14256
 
13013
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13014
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 
14257
 
 
14258
 
 
14259
 
 
14260
 
 
14261
 
 
14262
 
 
14263
 
 
14264
 
 
14265
 
 
14266
 
 
14267
 
 
14268
 
 
14269
 
 
14270
 
 
14271
 
 
14272
 
 
14273
 
 
14274
 
 
14275
 
 
14276
 
 
14277
 
 
14278
 
 
14279
 
 
14280
 
 
14281
 
 
14282
 
 
14283
 
 
14284
 
 
14285
 
 
14286
 
 
14287
 
 
14288
 
 
14289
 
 
14290
 
 
14291
 
 
14292
 
 
14293
 
 
14294
 
 
14295
 
 
14296
 
 
14297
 
 
14298
 
 
14299
 
 
14300
 
 
14301
 
 
14302
 
 
14303
 
 
14304
 
 
14305
 
 
14306
 
 
14307
 
 
14308
 
 
14309
 
 
14310
 
 
14311
 
 
14312
 
 
14313
 
 
14314
 
 
14315
 
 
14316
 
 
14317
 
 
14318
 
 
14319
 
 
14320
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
14321
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
14322
 
13015
14323
library_names_spec=
13016
14324
libname_spec='lib$name'
13017
14325
soname_spec=
13025
14333
version_type=none
13026
14334
dynamic_linker="$host_os ld.so"
13027
14335
sys_lib_dlsearch_path_spec="/lib /usr/lib"
13028
 
 
13029
14336
need_lib_prefix=unknown
13030
14337
hardcode_into_libs=no
13031
14338
 
13043
14350
  soname_spec='${libname}${release}${shared_ext}$major'
13044
14351
  ;;
13045
14352
 
13046
 
aix4* | aix5*)
 
14353
aix[4-9]*)
13047
14354
  version_type=linux
13048
14355
  need_lib_prefix=no
13049
14356
  need_version=no
13062
14369
      aix4 | aix4.[01] | aix4.[01].*)
13063
14370
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13064
14371
           echo ' yes '
13065
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
14372
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13066
14373
        :
13067
14374
      else
13068
14375
        can_build_shared=no
13088
14395
  ;;
13089
14396
 
13090
14397
amigaos*)
13091
 
  library_names_spec='$libname.ixlibrary $libname.a'
13092
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
13093
 
  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
14398
  case $host_cpu in
 
14399
  powerpc)
 
14400
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
14401
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
14402
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14403
    ;;
 
14404
  m68k)
 
14405
    library_names_spec='$libname.ixlibrary $libname.a'
 
14406
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
14407
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
14408
    ;;
 
14409
  esac
13094
14410
  ;;
13095
14411
 
13096
14412
beos*)
13113
14429
  # libtool to hard-code these into programs
13114
14430
  ;;
13115
14431
 
13116
 
cygwin* | mingw* | pw32*)
 
14432
cygwin* | mingw* | pw32* | cegcc*)
13117
14433
  version_type=windows
13118
14434
  shrext_cmds=".dll"
13119
14435
  need_version=no
13120
14436
  need_lib_prefix=no
13121
14437
 
13122
14438
  case $GCC,$host_os in
13123
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
14439
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
13124
14440
    library_names_spec='$libname.dll.a'
13125
14441
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
13126
14442
    postinstall_cmds='base_file=`basename \${file}`~
13127
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
14443
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13128
14444
      dldir=$destdir/`dirname \$dlpath`~
13129
14445
      test -d \$dldir || mkdir -p \$dldir~
13130
14446
      $install_prog $dir/$dlname \$dldir/$dlname~
13131
 
      chmod a+x \$dldir/$dlname'
 
14447
      chmod a+x \$dldir/$dlname~
 
14448
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
14449
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
14450
      fi'
13132
14451
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13133
14452
      dlpath=$dir/\$dldll~
13134
 
       $rm \$dlpath'
 
14453
       $RM \$dlpath'
13135
14454
    shlibpath_overrides_runpath=yes
13136
14455
 
13137
14456
    case $host_os in
13140
14459
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13141
14460
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13142
14461
      ;;
13143
 
    mingw*)
 
14462
    mingw* | cegcc*)
13144
14463
      # MinGW DLLs use traditional 'lib' prefix
13145
14464
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13146
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13147
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
14465
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
14466
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13148
14467
        # It is most probably a Windows format PATH printed by
13149
14468
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
13150
14469
        # path with ; separators, and with drive letters. We can handle the
13151
14470
        # drive letters (cygwin fileutils understands them), so leave them,
13152
14471
        # especially as we might pass files found there to a mingw objdump,
13153
14472
        # which wouldn't understand a cygwinified path. Ahh.
13154
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
14473
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13155
14474
      else
13156
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
14475
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13157
14476
      fi
13158
14477
      ;;
13159
14478
    pw32*)
13177
14496
  version_type=darwin
13178
14497
  need_lib_prefix=no
13179
14498
  need_version=no
13180
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
14499
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13181
14500
  soname_spec='${libname}${release}${major}$shared_ext'
13182
14501
  shlibpath_overrides_runpath=yes
13183
14502
  shlibpath_var=DYLD_LIBRARY_PATH
13275
14594
    fi
13276
14595
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13277
14596
    ;;
13278
 
   hppa*64*)
13279
 
     shrext_cmds='.sl'
13280
 
     hardcode_into_libs=yes
13281
 
     dynamic_linker="$host_os dld.sl"
13282
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13283
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13284
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13285
 
     soname_spec='${libname}${release}${shared_ext}$major'
13286
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13287
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13288
 
     ;;
13289
 
   *)
 
14597
  hppa*64*)
 
14598
    shrext_cmds='.sl'
 
14599
    hardcode_into_libs=yes
 
14600
    dynamic_linker="$host_os dld.sl"
 
14601
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
14602
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
14603
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14604
    soname_spec='${libname}${release}${shared_ext}$major'
 
14605
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
14606
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
14607
    ;;
 
14608
  *)
13290
14609
    shrext_cmds='.sl'
13291
14610
    dynamic_linker="$host_os dld.sl"
13292
14611
    shlibpath_var=SHLIB_PATH
13295
14614
    soname_spec='${libname}${release}${shared_ext}$major'
13296
14615
    ;;
13297
14616
  esac
13298
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
14617
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13299
14618
  postinstall_cmds='chmod 555 $lib'
 
14619
  # or fails outright, so override atomically:
 
14620
  install_override_mode=555
13300
14621
  ;;
13301
14622
 
13302
14623
interix[3-9]*)
13363
14684
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13364
14685
  shlibpath_var=LD_LIBRARY_PATH
13365
14686
  shlibpath_overrides_runpath=no
 
14687
  # Some binutils ld are patched to set DT_RUNPATH
 
14688
  save_LDFLAGS=$LDFLAGS
 
14689
  save_libdir=$libdir
 
14690
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
 
14691
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
 
14692
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14693
/* end confdefs.h.  */
 
14694
 
 
14695
int
 
14696
main ()
 
14697
{
 
14698
 
 
14699
  ;
 
14700
  return 0;
 
14701
}
 
14702
_ACEOF
 
14703
if ac_fn_cxx_try_link "$LINENO"; then :
 
14704
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
14705
  shlibpath_overrides_runpath=yes
 
14706
fi
 
14707
fi
 
14708
rm -f core conftest.err conftest.$ac_objext \
 
14709
    conftest$ac_exeext conftest.$ac_ext
 
14710
  LDFLAGS=$save_LDFLAGS
 
14711
  libdir=$save_libdir
 
14712
 
13366
14713
  # This implies no fast_install, which is unacceptable.
13367
14714
  # Some rework will be needed to allow for fast_install
13368
14715
  # before this can be enabled.
13370
14717
 
13371
14718
  # Append ld.so.conf contents to the search path
13372
14719
  if test -f /etc/ld.so.conf; then
13373
 
    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;/^$/d' | tr '\n' ' '`
 
14720
    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;/^$/d' | tr '\n' ' '`
13374
14721
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13375
14722
  fi
13376
14723
 
13387
14734
  version_type=sunos
13388
14735
  need_lib_prefix=no
13389
14736
  need_version=no
13390
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
14737
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13391
14738
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13392
14739
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13393
14740
    dynamic_linker='NetBSD (a.out) ld.so'
13408
14755
  shlibpath_overrides_runpath=yes
13409
14756
  ;;
13410
14757
 
13411
 
nto-qnx*)
13412
 
  version_type=linux
 
14758
*nto* | *qnx*)
 
14759
  version_type=qnx
13413
14760
  need_lib_prefix=no
13414
14761
  need_version=no
13415
14762
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13416
14763
  soname_spec='${libname}${release}${shared_ext}$major'
13417
14764
  shlibpath_var=LD_LIBRARY_PATH
13418
 
  shlibpath_overrides_runpath=yes
 
14765
  shlibpath_overrides_runpath=no
 
14766
  hardcode_into_libs=yes
 
14767
  dynamic_linker='ldqnx.so'
13419
14768
  ;;
13420
14769
 
13421
14770
openbsd*)
13424
14773
  need_lib_prefix=no
13425
14774
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13426
14775
  case $host_os in
13427
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13428
 
    *)                         need_version=no  ;;
 
14776
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
14777
    *)                          need_version=no  ;;
13429
14778
  esac
13430
14779
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13431
14780
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13432
14781
  shlibpath_var=LD_LIBRARY_PATH
13433
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
14782
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13434
14783
    case $host_os in
13435
14784
      openbsd2.[89] | openbsd2.[89].*)
13436
14785
        shlibpath_overrides_runpath=no
13502
14851
    sni)
13503
14852
      shlibpath_overrides_runpath=no
13504
14853
      need_lib_prefix=no
13505
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
13506
14854
      runpath_var=LD_RUN_PATH
13507
14855
      ;;
13508
14856
    siemens)
13533
14881
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13534
14882
  soname_spec='${libname}${release}${shared_ext}$major'
13535
14883
  shlibpath_var=LD_LIBRARY_PATH
 
14884
  shlibpath_overrides_runpath=yes
13536
14885
  hardcode_into_libs=yes
13537
14886
  if test "$with_gnu_ld" = yes; then
13538
14887
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13539
 
    shlibpath_overrides_runpath=no
13540
14888
  else
13541
14889
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13542
 
    shlibpath_overrides_runpath=yes
13543
14890
    case $host_os in
13544
14891
      sco3.2v5*)
13545
14892
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13549
14896
  sys_lib_dlsearch_path_spec='/usr/lib'
13550
14897
  ;;
13551
14898
 
 
14899
tpf*)
 
14900
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
14901
  version_type=linux
 
14902
  need_lib_prefix=no
 
14903
  need_version=no
 
14904
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14905
  shlibpath_var=LD_LIBRARY_PATH
 
14906
  shlibpath_overrides_runpath=no
 
14907
  hardcode_into_libs=yes
 
14908
  ;;
 
14909
 
13552
14910
uts4*)
13553
14911
  version_type=linux
13554
14912
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13560
14918
  dynamic_linker=no
13561
14919
  ;;
13562
14920
esac
13563
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13564
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
14921
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
14922
$as_echo "$dynamic_linker" >&6; }
13565
14923
test "$dynamic_linker" = no && can_build_shared=no
13566
14924
 
13567
14925
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13569
14927
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13570
14928
fi
13571
14929
 
13572
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13573
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
14930
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
14931
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
14932
fi
 
14933
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
14934
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
14935
fi
 
14936
 
 
14937
 
 
14938
 
 
14939
 
 
14940
 
 
14941
 
 
14942
 
 
14943
 
 
14944
 
 
14945
 
 
14946
 
 
14947
 
 
14948
 
 
14949
 
 
14950
 
 
14951
 
 
14952
 
 
14953
 
 
14954
 
 
14955
 
 
14956
 
 
14957
 
 
14958
 
 
14959
 
 
14960
 
 
14961
 
 
14962
 
 
14963
 
 
14964
 
 
14965
 
 
14966
 
 
14967
 
 
14968
 
 
14969
 
 
14970
 
 
14971
 
 
14972
 
 
14973
 
 
14974
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
14975
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13574
14976
hardcode_action_CXX=
13575
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
13576
 
   test -n "$runpath_var_CXX" || \
 
14977
if test -n "$hardcode_libdir_flag_spec_CXX" ||
 
14978
   test -n "$runpath_var_CXX" ||
13577
14979
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
13578
14980
 
13579
 
  # We can hardcode non-existant directories.
 
14981
  # We can hardcode non-existent directories.
13580
14982
  if test "$hardcode_direct_CXX" != no &&
13581
14983
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
13582
14984
     # have to relink, otherwise we might link with an installed library
13583
14985
     # when we should be linking with a yet-to-be-installed one
13584
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
 
14986
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13585
14987
     test "$hardcode_minus_L_CXX" != no; then
13586
14988
    # Linking always hardcodes the temporary library directory.
13587
14989
    hardcode_action_CXX=relink
13594
14996
  # directories.
13595
14997
  hardcode_action_CXX=unsupported
13596
14998
fi
13597
 
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13598
 
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13599
 
 
13600
 
if test "$hardcode_action_CXX" = relink; then
13601
 
  # Fast installation is not supported
13602
 
  enable_fast_install=no
13603
 
elif test "$shlibpath_overrides_runpath" = yes ||
13604
 
     test "$enable_shared" = no; then
13605
 
  # Fast installation is not necessary
13606
 
  enable_fast_install=needless
13607
 
fi
13608
 
 
13609
 
 
13610
 
# The else clause should only fire when bootstrapping the
13611
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
13612
 
# with your package, and you will get complaints that there are
13613
 
# no rules to generate ltmain.sh.
13614
 
if test -f "$ltmain"; then
13615
 
  # See if we are running on zsh, and set the options which allow our commands through
13616
 
  # without removal of \ escapes.
13617
 
  if test -n "${ZSH_VERSION+set}" ; then
13618
 
    setopt NO_GLOB_SUBST
13619
 
  fi
13620
 
  # Now quote all the things that may contain metacharacters while being
13621
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
13622
 
  # variables and quote the copies for generation of the libtool script.
13623
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13624
 
    SED SHELL STRIP \
13625
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13626
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13627
 
    deplibs_check_method reload_flag reload_cmds need_locks \
13628
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13629
 
    lt_cv_sys_global_symbol_to_c_name_address \
13630
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13631
 
    old_postinstall_cmds old_postuninstall_cmds \
13632
 
    compiler_CXX \
13633
 
    CC_CXX \
13634
 
    LD_CXX \
13635
 
    lt_prog_compiler_wl_CXX \
13636
 
    lt_prog_compiler_pic_CXX \
13637
 
    lt_prog_compiler_static_CXX \
13638
 
    lt_prog_compiler_no_builtin_flag_CXX \
13639
 
    export_dynamic_flag_spec_CXX \
13640
 
    thread_safe_flag_spec_CXX \
13641
 
    whole_archive_flag_spec_CXX \
13642
 
    enable_shared_with_static_runtimes_CXX \
13643
 
    old_archive_cmds_CXX \
13644
 
    old_archive_from_new_cmds_CXX \
13645
 
    predep_objects_CXX \
13646
 
    postdep_objects_CXX \
13647
 
    predeps_CXX \
13648
 
    postdeps_CXX \
13649
 
    compiler_lib_search_path_CXX \
13650
 
    archive_cmds_CXX \
13651
 
    archive_expsym_cmds_CXX \
13652
 
    postinstall_cmds_CXX \
13653
 
    postuninstall_cmds_CXX \
13654
 
    old_archive_from_expsyms_cmds_CXX \
13655
 
    allow_undefined_flag_CXX \
13656
 
    no_undefined_flag_CXX \
13657
 
    export_symbols_cmds_CXX \
13658
 
    hardcode_libdir_flag_spec_CXX \
13659
 
    hardcode_libdir_flag_spec_ld_CXX \
13660
 
    hardcode_libdir_separator_CXX \
13661
 
    hardcode_automatic_CXX \
13662
 
    module_cmds_CXX \
13663
 
    module_expsym_cmds_CXX \
13664
 
    lt_cv_prog_compiler_c_o_CXX \
13665
 
    fix_srcfile_path_CXX \
13666
 
    exclude_expsyms_CXX \
13667
 
    include_expsyms_CXX; do
13668
 
 
13669
 
    case $var in
13670
 
    old_archive_cmds_CXX | \
13671
 
    old_archive_from_new_cmds_CXX | \
13672
 
    archive_cmds_CXX | \
13673
 
    archive_expsym_cmds_CXX | \
13674
 
    module_cmds_CXX | \
13675
 
    module_expsym_cmds_CXX | \
13676
 
    old_archive_from_expsyms_cmds_CXX | \
13677
 
    export_symbols_cmds_CXX | \
13678
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
13679
 
    postinstall_cmds | postuninstall_cmds | \
13680
 
    old_postinstall_cmds | old_postuninstall_cmds | \
13681
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
13682
 
      # Double-quote double-evaled strings.
13683
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13684
 
      ;;
13685
 
    *)
13686
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13687
 
      ;;
13688
 
    esac
13689
 
  done
13690
 
 
13691
 
  case $lt_echo in
13692
 
  *'\$0 --fallback-echo"')
13693
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13694
 
    ;;
13695
 
  esac
13696
 
 
13697
 
cfgfile="$ofile"
13698
 
 
13699
 
  cat <<__EOF__ >> "$cfgfile"
13700
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
13701
 
 
13702
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13703
 
 
13704
 
# Shell to use when invoking shell scripts.
13705
 
SHELL=$lt_SHELL
13706
 
 
13707
 
# Whether or not to build shared libraries.
13708
 
build_libtool_libs=$enable_shared
13709
 
 
13710
 
# Whether or not to build static libraries.
13711
 
build_old_libs=$enable_static
13712
 
 
13713
 
# Whether or not to add -lc for building shared libraries.
13714
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
13715
 
 
13716
 
# Whether or not to disallow shared libs when runtime libs are static
13717
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13718
 
 
13719
 
# Whether or not to optimize for fast installation.
13720
 
fast_install=$enable_fast_install
13721
 
 
13722
 
# The host system.
13723
 
host_alias=$host_alias
13724
 
host=$host
13725
 
host_os=$host_os
13726
 
 
13727
 
# The build system.
13728
 
build_alias=$build_alias
13729
 
build=$build
13730
 
build_os=$build_os
13731
 
 
13732
 
# An echo program that does not interpret backslashes.
13733
 
echo=$lt_echo
13734
 
 
13735
 
# The archiver.
13736
 
AR=$lt_AR
13737
 
AR_FLAGS=$lt_AR_FLAGS
13738
 
 
13739
 
# A C compiler.
13740
 
LTCC=$lt_LTCC
13741
 
 
13742
 
# LTCC compiler flags.
13743
 
LTCFLAGS=$lt_LTCFLAGS
13744
 
 
13745
 
# A language-specific compiler.
13746
 
CC=$lt_compiler_CXX
13747
 
 
13748
 
# Is the compiler the GNU C compiler?
13749
 
with_gcc=$GCC_CXX
13750
 
 
13751
 
# An ERE matcher.
13752
 
EGREP=$lt_EGREP
13753
 
 
13754
 
# The linker used to build libraries.
13755
 
LD=$lt_LD_CXX
13756
 
 
13757
 
# Whether we need hard or soft links.
13758
 
LN_S=$lt_LN_S
13759
 
 
13760
 
# A BSD-compatible nm program.
13761
 
NM=$lt_NM
13762
 
 
13763
 
# A symbol stripping program
13764
 
STRIP=$lt_STRIP
13765
 
 
13766
 
# Used to examine libraries when file_magic_cmd begins "file"
13767
 
MAGIC_CMD=$MAGIC_CMD
13768
 
 
13769
 
# Used on cygwin: DLL creation program.
13770
 
DLLTOOL="$DLLTOOL"
13771
 
 
13772
 
# Used on cygwin: object dumper.
13773
 
OBJDUMP="$OBJDUMP"
13774
 
 
13775
 
# Used on cygwin: assembler.
13776
 
AS="$AS"
13777
 
 
13778
 
# The name of the directory that contains temporary libtool files.
13779
 
objdir=$objdir
13780
 
 
13781
 
# How to create reloadable object files.
13782
 
reload_flag=$lt_reload_flag
13783
 
reload_cmds=$lt_reload_cmds
13784
 
 
13785
 
# How to pass a linker flag through the compiler.
13786
 
wl=$lt_lt_prog_compiler_wl_CXX
13787
 
 
13788
 
# Object file suffix (normally "o").
13789
 
objext="$ac_objext"
13790
 
 
13791
 
# Old archive suffix (normally "a").
13792
 
libext="$libext"
13793
 
 
13794
 
# Shared library suffix (normally ".so").
13795
 
shrext_cmds='$shrext_cmds'
13796
 
 
13797
 
# Executable file suffix (normally "").
13798
 
exeext="$exeext"
13799
 
 
13800
 
# Additional compiler flags for building library objects.
13801
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
13802
 
pic_mode=$pic_mode
13803
 
 
13804
 
# What is the maximum length of a command?
13805
 
max_cmd_len=$lt_cv_sys_max_cmd_len
13806
 
 
13807
 
# Does compiler simultaneously support -c and -o options?
13808
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13809
 
 
13810
 
# Must we lock files when doing compilation?
13811
 
need_locks=$lt_need_locks
13812
 
 
13813
 
# Do we need the lib prefix for modules?
13814
 
need_lib_prefix=$need_lib_prefix
13815
 
 
13816
 
# Do we need a version for libraries?
13817
 
need_version=$need_version
13818
 
 
13819
 
# Whether dlopen is supported.
13820
 
dlopen_support=$enable_dlopen
13821
 
 
13822
 
# Whether dlopen of programs is supported.
13823
 
dlopen_self=$enable_dlopen_self
13824
 
 
13825
 
# Whether dlopen of statically linked programs is supported.
13826
 
dlopen_self_static=$enable_dlopen_self_static
13827
 
 
13828
 
# Compiler flag to prevent dynamic linking.
13829
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
13830
 
 
13831
 
# Compiler flag to turn off builtin functions.
13832
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13833
 
 
13834
 
# Compiler flag to allow reflexive dlopens.
13835
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13836
 
 
13837
 
# Compiler flag to generate shared objects directly from archives.
13838
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13839
 
 
13840
 
# Compiler flag to generate thread-safe objects.
13841
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13842
 
 
13843
 
# Library versioning type.
13844
 
version_type=$version_type
13845
 
 
13846
 
# Format of library name prefix.
13847
 
libname_spec=$lt_libname_spec
13848
 
 
13849
 
# List of archive names.  First name is the real one, the rest are links.
13850
 
# The last name is the one that the linker finds with -lNAME.
13851
 
library_names_spec=$lt_library_names_spec
13852
 
 
13853
 
# The coded name of the library, if different from the real name.
13854
 
soname_spec=$lt_soname_spec
13855
 
 
13856
 
# Commands used to build and install an old-style archive.
13857
 
RANLIB=$lt_RANLIB
13858
 
old_archive_cmds=$lt_old_archive_cmds_CXX
13859
 
old_postinstall_cmds=$lt_old_postinstall_cmds
13860
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
13861
 
 
13862
 
# Create an old-style archive from a shared archive.
13863
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13864
 
 
13865
 
# Create a temporary old-style archive to link instead of a shared archive.
13866
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13867
 
 
13868
 
# Commands used to build and install a shared archive.
13869
 
archive_cmds=$lt_archive_cmds_CXX
13870
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13871
 
postinstall_cmds=$lt_postinstall_cmds
13872
 
postuninstall_cmds=$lt_postuninstall_cmds
13873
 
 
13874
 
# Commands used to build a loadable module (assumed same as above if empty)
13875
 
module_cmds=$lt_module_cmds_CXX
13876
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
13877
 
 
13878
 
# Commands to strip libraries.
13879
 
old_striplib=$lt_old_striplib
13880
 
striplib=$lt_striplib
13881
 
 
13882
 
# Dependencies to place before the objects being linked to create a
13883
 
# shared library.
13884
 
predep_objects=$lt_predep_objects_CXX
13885
 
 
13886
 
# Dependencies to place after the objects being linked to create a
13887
 
# shared library.
13888
 
postdep_objects=$lt_postdep_objects_CXX
13889
 
 
13890
 
# Dependencies to place before the objects being linked to create a
13891
 
# shared library.
13892
 
predeps=$lt_predeps_CXX
13893
 
 
13894
 
# Dependencies to place after the objects being linked to create a
13895
 
# shared library.
13896
 
postdeps=$lt_postdeps_CXX
13897
 
 
13898
 
# The library search path used internally by the compiler when linking
13899
 
# a shared library.
13900
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13901
 
 
13902
 
# Method to check whether dependent libraries are shared objects.
13903
 
deplibs_check_method=$lt_deplibs_check_method
13904
 
 
13905
 
# Command to use when deplibs_check_method == file_magic.
13906
 
file_magic_cmd=$lt_file_magic_cmd
13907
 
 
13908
 
# Flag that allows shared libraries with undefined symbols to be built.
13909
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
13910
 
 
13911
 
# Flag that forces no undefined symbols.
13912
 
no_undefined_flag=$lt_no_undefined_flag_CXX
13913
 
 
13914
 
# Commands used to finish a libtool library installation in a directory.
13915
 
finish_cmds=$lt_finish_cmds
13916
 
 
13917
 
# Same as above, but a single script fragment to be evaled but not shown.
13918
 
finish_eval=$lt_finish_eval
13919
 
 
13920
 
# Take the output of nm and produce a listing of raw symbols and C names.
13921
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13922
 
 
13923
 
# Transform the output of nm in a proper C declaration
13924
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13925
 
 
13926
 
# Transform the output of nm in a C name address pair
13927
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13928
 
 
13929
 
# This is the shared library runtime path variable.
13930
 
runpath_var=$runpath_var
13931
 
 
13932
 
# This is the shared library path variable.
13933
 
shlibpath_var=$shlibpath_var
13934
 
 
13935
 
# Is shlibpath searched before the hard-coded library search path?
13936
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13937
 
 
13938
 
# How to hardcode a shared library path into an executable.
13939
 
hardcode_action=$hardcode_action_CXX
13940
 
 
13941
 
# Whether we should hardcode library paths into libraries.
13942
 
hardcode_into_libs=$hardcode_into_libs
13943
 
 
13944
 
# Flag to hardcode \$libdir into a binary during linking.
13945
 
# This must work even if \$libdir does not exist.
13946
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13947
 
 
13948
 
# If ld is used when linking, flag to hardcode \$libdir into
13949
 
# a binary during linking. This must work even if \$libdir does
13950
 
# not exist.
13951
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13952
 
 
13953
 
# Whether we need a single -rpath flag with a separated argument.
13954
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13955
 
 
13956
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13957
 
# resulting binary.
13958
 
hardcode_direct=$hardcode_direct_CXX
13959
 
 
13960
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13961
 
# resulting binary.
13962
 
hardcode_minus_L=$hardcode_minus_L_CXX
13963
 
 
13964
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13965
 
# the resulting binary.
13966
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13967
 
 
13968
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
13969
 
# and all subsequent libraries and executables linked against it.
13970
 
hardcode_automatic=$hardcode_automatic_CXX
13971
 
 
13972
 
# Variables whose values should be saved in libtool wrapper scripts and
13973
 
# restored at relink time.
13974
 
variables_saved_for_relink="$variables_saved_for_relink"
13975
 
 
13976
 
# Whether libtool must link a program against all its dependency libraries.
13977
 
link_all_deplibs=$link_all_deplibs_CXX
13978
 
 
13979
 
# Compile-time system search path for libraries
13980
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13981
 
 
13982
 
# Run-time system search path for libraries
13983
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13984
 
 
13985
 
# Fix the shell variable \$srcfile for the compiler.
13986
 
fix_srcfile_path=$lt_fix_srcfile_path
13987
 
 
13988
 
# Set to yes if exported symbols are required.
13989
 
always_export_symbols=$always_export_symbols_CXX
13990
 
 
13991
 
# The commands to list exported symbols.
13992
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
13993
 
 
13994
 
# The commands to extract the exported symbol list from a shared archive.
13995
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
13996
 
 
13997
 
# Symbols that should not be listed in the preloaded symbols.
13998
 
exclude_expsyms=$lt_exclude_expsyms_CXX
13999
 
 
14000
 
# Symbols that must always be exported.
14001
 
include_expsyms=$lt_include_expsyms_CXX
14002
 
 
14003
 
# ### END LIBTOOL TAG CONFIG: $tagname
14004
 
 
14005
 
__EOF__
14006
 
 
14007
 
 
14008
 
else
14009
 
  # If there is no Makefile yet, we rely on a make rule to execute
14010
 
  # `config.status --recheck' to rerun these tests and create the
14011
 
  # libtool script then.
14012
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14013
 
  if test -f "$ltmain_in"; then
14014
 
    test -f Makefile && make "$ltmain"
14015
 
  fi
14016
 
fi
14017
 
 
14018
 
 
14019
 
ac_ext=c
14020
 
ac_cpp='$CPP $CPPFLAGS'
14021
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14022
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14023
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14024
 
 
14025
 
CC=$lt_save_CC
14026
 
LDCXX=$LD
14027
 
LD=$lt_save_LD
14028
 
GCC=$lt_save_GCC
14029
 
with_gnu_ldcxx=$with_gnu_ld
14030
 
with_gnu_ld=$lt_save_with_gnu_ld
14031
 
lt_cv_path_LDCXX=$lt_cv_path_LD
14032
 
lt_cv_path_LD=$lt_save_path_LD
14033
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14034
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14035
 
 
14036
 
        else
14037
 
          tagname=""
14038
 
        fi
14039
 
        ;;
14040
 
 
14041
 
      F77)
14042
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
14043
 
 
14044
 
ac_ext=f
14045
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14046
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14047
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
14048
 
 
14049
 
 
14050
 
archive_cmds_need_lc_F77=no
14051
 
allow_undefined_flag_F77=
14052
 
always_export_symbols_F77=no
14053
 
archive_expsym_cmds_F77=
14054
 
export_dynamic_flag_spec_F77=
14055
 
hardcode_direct_F77=no
14056
 
hardcode_libdir_flag_spec_F77=
14057
 
hardcode_libdir_flag_spec_ld_F77=
14058
 
hardcode_libdir_separator_F77=
14059
 
hardcode_minus_L_F77=no
14060
 
hardcode_automatic_F77=no
14061
 
module_cmds_F77=
14062
 
module_expsym_cmds_F77=
14063
 
link_all_deplibs_F77=unknown
14064
 
old_archive_cmds_F77=$old_archive_cmds
14065
 
no_undefined_flag_F77=
14066
 
whole_archive_flag_spec_F77=
14067
 
enable_shared_with_static_runtimes_F77=no
14068
 
 
14069
 
# Source file extension for f77 test sources.
14070
 
ac_ext=f
14071
 
 
14072
 
# Object file extension for compiled f77 test sources.
14073
 
objext=o
14074
 
objext_F77=$objext
14075
 
 
14076
 
# Code to be used in simple compile tests
14077
 
lt_simple_compile_test_code="\
14078
 
      subroutine t
14079
 
      return
14080
 
      end
14081
 
"
14082
 
 
14083
 
# Code to be used in simple link tests
14084
 
lt_simple_link_test_code="\
14085
 
      program t
14086
 
      end
14087
 
"
14088
 
 
14089
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
14090
 
 
14091
 
# If no C compiler was specified, use CC.
14092
 
LTCC=${LTCC-"$CC"}
14093
 
 
14094
 
# If no C compiler flags were specified, use CFLAGS.
14095
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14096
 
 
14097
 
# Allow CC to be a program name with arguments.
14098
 
compiler=$CC
14099
 
 
14100
 
 
14101
 
# save warnings/boilerplate of simple test code
14102
 
ac_outfile=conftest.$ac_objext
14103
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14104
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14105
 
_lt_compiler_boilerplate=`cat conftest.err`
14106
 
$rm conftest*
14107
 
 
14108
 
ac_outfile=conftest.$ac_objext
14109
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
14110
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14111
 
_lt_linker_boilerplate=`cat conftest.err`
14112
 
$rm conftest*
14113
 
 
14114
 
 
14115
 
# Allow CC to be a program name with arguments.
14116
 
lt_save_CC="$CC"
14117
 
CC=${F77-"f77"}
14118
 
compiler=$CC
14119
 
compiler_F77=$CC
14120
 
for cc_temp in $compiler""; do
14121
 
  case $cc_temp in
14122
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14123
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14124
 
    \-*) ;;
14125
 
    *) break;;
14126
 
  esac
14127
 
done
14128
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14129
 
 
14130
 
 
14131
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14132
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14133
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
14134
 
echo "${ECHO_T}$can_build_shared" >&6; }
14135
 
 
14136
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14137
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14138
 
test "$can_build_shared" = "no" && enable_shared=no
14139
 
 
14140
 
# On AIX, shared libraries and static libraries use the same namespace, and
14141
 
# are all built from PIC.
14142
 
case $host_os in
14143
 
aix3*)
14144
 
  test "$enable_shared" = yes && enable_static=no
14145
 
  if test -n "$RANLIB"; then
14146
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
14147
 
    postinstall_cmds='$RANLIB $lib'
14148
 
  fi
14149
 
  ;;
14150
 
aix4* | aix5*)
14151
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14152
 
    test "$enable_shared" = yes && enable_static=no
14153
 
  fi
14154
 
  ;;
14155
 
esac
14156
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
14157
 
echo "${ECHO_T}$enable_shared" >&6; }
14158
 
 
14159
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14160
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14161
 
# Make sure either enable_shared or enable_static is yes.
14162
 
test "$enable_shared" = yes || enable_static=yes
14163
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
14164
 
echo "${ECHO_T}$enable_static" >&6; }
14165
 
 
14166
 
GCC_F77="$G77"
14167
 
LD_F77="$LD"
14168
 
 
14169
 
lt_prog_compiler_wl_F77=
14170
 
lt_prog_compiler_pic_F77=
14171
 
lt_prog_compiler_static_F77=
14172
 
 
14173
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14174
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14175
 
 
14176
 
  if test "$GCC" = yes; then
14177
 
    lt_prog_compiler_wl_F77='-Wl,'
14178
 
    lt_prog_compiler_static_F77='-static'
14179
 
 
14180
 
    case $host_os in
14181
 
      aix*)
14182
 
      # All AIX code is PIC.
14183
 
      if test "$host_cpu" = ia64; then
14184
 
        # AIX 5 now supports IA64 processor
14185
 
        lt_prog_compiler_static_F77='-Bstatic'
14186
 
      fi
14187
 
      ;;
14188
 
 
14189
 
    amigaos*)
14190
 
      # FIXME: we need at least 68020 code to build shared libraries, but
14191
 
      # adding the `-m68020' flag to GCC prevents building anything better,
14192
 
      # like `-m68040'.
14193
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
14194
 
      ;;
14195
 
 
14196
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14197
 
      # PIC is the default for these OSes.
14198
 
      ;;
14199
 
 
14200
 
    mingw* | cygwin* | pw32* | os2*)
14201
 
      # This hack is so that the source file can tell whether it is being
14202
 
      # built for inclusion in a dll (and should export symbols for example).
14203
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
14204
 
      # (--disable-auto-import) libraries
14205
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14206
 
      ;;
14207
 
 
14208
 
    darwin* | rhapsody*)
14209
 
      # PIC is the default on this platform
14210
 
      # Common symbols not allowed in MH_DYLIB files
14211
 
      lt_prog_compiler_pic_F77='-fno-common'
14212
 
      ;;
14213
 
 
14214
 
    interix[3-9]*)
14215
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14216
 
      # Instead, we relocate shared libraries at runtime.
14217
 
      ;;
14218
 
 
14219
 
    msdosdjgpp*)
14220
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
14221
 
      # on systems that don't support them.
14222
 
      lt_prog_compiler_can_build_shared_F77=no
14223
 
      enable_shared=no
14224
 
      ;;
14225
 
 
14226
 
    sysv4*MP*)
14227
 
      if test -d /usr/nec; then
14228
 
        lt_prog_compiler_pic_F77=-Kconform_pic
14229
 
      fi
14230
 
      ;;
14231
 
 
14232
 
    hpux*)
14233
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14234
 
      # not for PA HP-UX.
14235
 
      case $host_cpu in
14236
 
      hppa*64*|ia64*)
14237
 
        # +Z the default
14238
 
        ;;
14239
 
      *)
14240
 
        lt_prog_compiler_pic_F77='-fPIC'
14241
 
        ;;
14242
 
      esac
14243
 
      ;;
14244
 
 
14245
 
    *)
14246
 
      lt_prog_compiler_pic_F77='-fPIC'
14247
 
      ;;
14248
 
    esac
14249
 
  else
14250
 
    # PORTME Check for flag to pass linker flags through the system compiler.
14251
 
    case $host_os in
14252
 
    aix*)
14253
 
      lt_prog_compiler_wl_F77='-Wl,'
14254
 
      if test "$host_cpu" = ia64; then
14255
 
        # AIX 5 now supports IA64 processor
14256
 
        lt_prog_compiler_static_F77='-Bstatic'
14257
 
      else
14258
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
14259
 
      fi
14260
 
      ;;
14261
 
      darwin*)
14262
 
        # PIC is the default on this platform
14263
 
        # Common symbols not allowed in MH_DYLIB files
14264
 
       case $cc_basename in
14265
 
         xlc*)
14266
 
         lt_prog_compiler_pic_F77='-qnocommon'
14267
 
         lt_prog_compiler_wl_F77='-Wl,'
14268
 
         ;;
14269
 
       esac
14270
 
       ;;
14271
 
 
14272
 
    mingw* | cygwin* | pw32* | os2*)
14273
 
      # This hack is so that the source file can tell whether it is being
14274
 
      # built for inclusion in a dll (and should export symbols for example).
14275
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14276
 
      ;;
14277
 
 
14278
 
    hpux9* | hpux10* | hpux11*)
14279
 
      lt_prog_compiler_wl_F77='-Wl,'
14280
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14281
 
      # not for PA HP-UX.
14282
 
      case $host_cpu in
14283
 
      hppa*64*|ia64*)
14284
 
        # +Z the default
14285
 
        ;;
14286
 
      *)
14287
 
        lt_prog_compiler_pic_F77='+Z'
14288
 
        ;;
14289
 
      esac
14290
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
14291
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
14292
 
      ;;
14293
 
 
14294
 
    irix5* | irix6* | nonstopux*)
14295
 
      lt_prog_compiler_wl_F77='-Wl,'
14296
 
      # PIC (with -KPIC) is the default.
14297
 
      lt_prog_compiler_static_F77='-non_shared'
14298
 
      ;;
14299
 
 
14300
 
    newsos6)
14301
 
      lt_prog_compiler_pic_F77='-KPIC'
14302
 
      lt_prog_compiler_static_F77='-Bstatic'
14303
 
      ;;
14304
 
 
14305
 
    linux* | k*bsd*-gnu)
14306
 
      case $cc_basename in
14307
 
      icc* | ecc*)
14308
 
        lt_prog_compiler_wl_F77='-Wl,'
14309
 
        lt_prog_compiler_pic_F77='-KPIC'
14310
 
        lt_prog_compiler_static_F77='-static'
14311
 
        ;;
14312
 
      pgcc* | pgf77* | pgf90* | pgf95*)
14313
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
14314
 
        # which looks to be a dead project)
14315
 
        lt_prog_compiler_wl_F77='-Wl,'
14316
 
        lt_prog_compiler_pic_F77='-fpic'
14317
 
        lt_prog_compiler_static_F77='-Bstatic'
14318
 
        ;;
14319
 
      ccc*)
14320
 
        lt_prog_compiler_wl_F77='-Wl,'
14321
 
        # All Alpha code is PIC.
14322
 
        lt_prog_compiler_static_F77='-non_shared'
14323
 
        ;;
14324
 
      como)
14325
 
        lt_prog_compiler_wl_F77='-lopt='
14326
 
        ;;
14327
 
      *)
14328
 
        case `$CC -V 2>&1 | sed 5q` in
14329
 
        *Sun\ C*)
14330
 
          # Sun C 5.9
14331
 
          lt_prog_compiler_pic_F77='-KPIC'
14332
 
          lt_prog_compiler_static_F77='-Bstatic'
14333
 
          lt_prog_compiler_wl_F77='-Wl,'
14334
 
          ;;
14335
 
        *Sun\ F*)
14336
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
14337
 
          lt_prog_compiler_pic_F77='-KPIC'
14338
 
          lt_prog_compiler_static_F77='-Bstatic'
14339
 
          lt_prog_compiler_wl_F77=''
14340
 
          ;;
14341
 
        esac
14342
 
        ;;
14343
 
      esac
14344
 
      ;;
14345
 
 
14346
 
    osf3* | osf4* | osf5*)
14347
 
      lt_prog_compiler_wl_F77='-Wl,'
14348
 
      # All OSF/1 code is PIC.
14349
 
      lt_prog_compiler_static_F77='-non_shared'
14350
 
      ;;
14351
 
 
14352
 
    rdos*)
14353
 
      lt_prog_compiler_static_F77='-non_shared'
14354
 
      ;;
14355
 
 
14356
 
    solaris*)
14357
 
      lt_prog_compiler_pic_F77='-KPIC'
14358
 
      lt_prog_compiler_static_F77='-Bstatic'
14359
 
      case $cc_basename in
14360
 
      f77* | f90* | f95*)
14361
 
        lt_prog_compiler_wl_F77='-Qoption ld ';;
14362
 
      *)
14363
 
        lt_prog_compiler_wl_F77='-Wl,';;
14364
 
      esac
14365
 
      ;;
14366
 
 
14367
 
    sunos4*)
14368
 
      lt_prog_compiler_wl_F77='-Qoption ld '
14369
 
      lt_prog_compiler_pic_F77='-PIC'
14370
 
      lt_prog_compiler_static_F77='-Bstatic'
14371
 
      ;;
14372
 
 
14373
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
14374
 
      lt_prog_compiler_wl_F77='-Wl,'
14375
 
      lt_prog_compiler_pic_F77='-KPIC'
14376
 
      lt_prog_compiler_static_F77='-Bstatic'
14377
 
      ;;
14378
 
 
14379
 
    sysv4*MP*)
14380
 
      if test -d /usr/nec ;then
14381
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
14382
 
        lt_prog_compiler_static_F77='-Bstatic'
14383
 
      fi
14384
 
      ;;
14385
 
 
14386
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14387
 
      lt_prog_compiler_wl_F77='-Wl,'
14388
 
      lt_prog_compiler_pic_F77='-KPIC'
14389
 
      lt_prog_compiler_static_F77='-Bstatic'
14390
 
      ;;
14391
 
 
14392
 
    unicos*)
14393
 
      lt_prog_compiler_wl_F77='-Wl,'
14394
 
      lt_prog_compiler_can_build_shared_F77=no
14395
 
      ;;
14396
 
 
14397
 
    uts4*)
14398
 
      lt_prog_compiler_pic_F77='-pic'
14399
 
      lt_prog_compiler_static_F77='-Bstatic'
14400
 
      ;;
14401
 
 
14402
 
    *)
14403
 
      lt_prog_compiler_can_build_shared_F77=no
14404
 
      ;;
14405
 
    esac
14406
 
  fi
14407
 
 
14408
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14409
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14410
 
 
14411
 
#
14412
 
# Check to make sure the PIC flag actually works.
14413
 
#
14414
 
if test -n "$lt_prog_compiler_pic_F77"; then
14415
 
 
14416
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14417
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14418
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14419
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14420
 
else
14421
 
  lt_prog_compiler_pic_works_F77=no
14422
 
  ac_outfile=conftest.$ac_objext
14423
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14424
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
14425
 
   # Insert the option either (1) after the last *FLAGS variable, or
14426
 
   # (2) before a word containing "conftest.", or (3) at the end.
14427
 
   # Note that $ac_compile itself does not contain backslashes and begins
14428
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14429
 
   # The option is referenced via a variable to avoid confusing sed.
14430
 
   lt_compile=`echo "$ac_compile" | $SED \
14431
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14432
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14433
 
   -e 's:$: $lt_compiler_flag:'`
14434
 
   (eval echo "\"\$as_me:14434: $lt_compile\"" >&5)
14435
 
   (eval "$lt_compile" 2>conftest.err)
14436
 
   ac_status=$?
14437
 
   cat conftest.err >&5
14438
 
   echo "$as_me:14438: \$? = $ac_status" >&5
14439
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
14440
 
     # The compiler can only warn and ignore the option if not recognized
14441
 
     # So say no if there are warnings other than the usual output.
14442
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14443
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14444
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14445
 
       lt_prog_compiler_pic_works_F77=yes
14446
 
     fi
14447
 
   fi
14448
 
   $rm conftest*
14449
 
 
14450
 
fi
14451
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14452
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14453
 
 
14454
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
14455
 
    case $lt_prog_compiler_pic_F77 in
14456
 
     "" | " "*) ;;
14457
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
14458
 
     esac
14459
 
else
14460
 
    lt_prog_compiler_pic_F77=
14461
 
     lt_prog_compiler_can_build_shared_F77=no
14462
 
fi
14463
 
 
14464
 
fi
14465
 
case $host_os in
14466
 
  # For platforms which do not support PIC, -DPIC is meaningless:
14467
 
  *djgpp*)
14468
 
    lt_prog_compiler_pic_F77=
14469
 
    ;;
14470
 
  *)
14471
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
14472
 
    ;;
14473
 
esac
14474
 
 
14475
 
#
14476
 
# Check to make sure the static flag actually works.
14477
 
#
14478
 
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
14479
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14480
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14481
 
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14482
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14483
 
else
14484
 
  lt_prog_compiler_static_works_F77=no
14485
 
   save_LDFLAGS="$LDFLAGS"
14486
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14487
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14488
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14489
 
     # The linker can only warn and ignore the option if not recognized
14490
 
     # So say no if there are warnings
14491
 
     if test -s conftest.err; then
14492
 
       # Append any errors to the config.log.
14493
 
       cat conftest.err 1>&5
14494
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14495
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14496
 
       if diff conftest.exp conftest.er2 >/dev/null; then
14497
 
         lt_prog_compiler_static_works_F77=yes
14498
 
       fi
14499
 
     else
14500
 
       lt_prog_compiler_static_works_F77=yes
14501
 
     fi
14502
 
   fi
14503
 
   $rm conftest*
14504
 
   LDFLAGS="$save_LDFLAGS"
14505
 
 
14506
 
fi
14507
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14508
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14509
 
 
14510
 
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
14511
 
    :
14512
 
else
14513
 
    lt_prog_compiler_static_F77=
14514
 
fi
14515
 
 
14516
 
 
14517
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14518
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14519
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14520
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14521
 
else
14522
 
  lt_cv_prog_compiler_c_o_F77=no
14523
 
   $rm -r conftest 2>/dev/null
14524
 
   mkdir conftest
14525
 
   cd conftest
14526
 
   mkdir out
14527
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14528
 
 
14529
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14530
 
   # Insert the option either (1) after the last *FLAGS variable, or
14531
 
   # (2) before a word containing "conftest.", or (3) at the end.
14532
 
   # Note that $ac_compile itself does not contain backslashes and begins
14533
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14534
 
   lt_compile=`echo "$ac_compile" | $SED \
14535
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14536
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14537
 
   -e 's:$: $lt_compiler_flag:'`
14538
 
   (eval echo "\"\$as_me:14538: $lt_compile\"" >&5)
14539
 
   (eval "$lt_compile" 2>out/conftest.err)
14540
 
   ac_status=$?
14541
 
   cat out/conftest.err >&5
14542
 
   echo "$as_me:14542: \$? = $ac_status" >&5
14543
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14544
 
   then
14545
 
     # The compiler can only warn and ignore the option if not recognized
14546
 
     # So say no if there are warnings
14547
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14548
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14549
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14550
 
       lt_cv_prog_compiler_c_o_F77=yes
14551
 
     fi
14552
 
   fi
14553
 
   chmod u+w . 2>&5
14554
 
   $rm conftest*
14555
 
   # SGI C++ compiler will create directory out/ii_files/ for
14556
 
   # template instantiation
14557
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14558
 
   $rm out/* && rmdir out
14559
 
   cd ..
14560
 
   rmdir conftest
14561
 
   $rm conftest*
14562
 
 
14563
 
fi
14564
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14565
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14566
 
 
14567
 
 
14568
 
hard_links="nottested"
14569
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
14570
 
  # do not overwrite the value of need_locks provided by the user
14571
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14572
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14573
 
  hard_links=yes
14574
 
  $rm conftest*
14575
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14576
 
  touch conftest.a
14577
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
14578
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14579
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
14580
 
echo "${ECHO_T}$hard_links" >&6; }
14581
 
  if test "$hard_links" = no; then
14582
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14583
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14584
 
    need_locks=warn
14585
 
  fi
14586
 
else
14587
 
  need_locks=no
14588
 
fi
14589
 
 
14590
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14591
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14592
 
 
14593
 
  runpath_var=
14594
 
  allow_undefined_flag_F77=
14595
 
  enable_shared_with_static_runtimes_F77=no
14596
 
  archive_cmds_F77=
14597
 
  archive_expsym_cmds_F77=
14598
 
  old_archive_From_new_cmds_F77=
14599
 
  old_archive_from_expsyms_cmds_F77=
14600
 
  export_dynamic_flag_spec_F77=
14601
 
  whole_archive_flag_spec_F77=
14602
 
  thread_safe_flag_spec_F77=
14603
 
  hardcode_libdir_flag_spec_F77=
14604
 
  hardcode_libdir_flag_spec_ld_F77=
14605
 
  hardcode_libdir_separator_F77=
14606
 
  hardcode_direct_F77=no
14607
 
  hardcode_minus_L_F77=no
14608
 
  hardcode_shlibpath_var_F77=unsupported
14609
 
  link_all_deplibs_F77=unknown
14610
 
  hardcode_automatic_F77=no
14611
 
  module_cmds_F77=
14612
 
  module_expsym_cmds_F77=
14613
 
  always_export_symbols_F77=no
14614
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14615
 
  # include_expsyms should be a list of space-separated symbols to be *always*
14616
 
  # included in the symbol list
14617
 
  include_expsyms_F77=
14618
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
14619
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
14620
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14621
 
  # as well as any symbol that contains `d'.
14622
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
14623
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14624
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
14625
 
  # the symbol is explicitly referenced.  Since portable code cannot
14626
 
  # rely on this symbol name, it's probably fine to never include it in
14627
 
  # preloaded symbol tables.
14628
 
  extract_expsyms_cmds=
14629
 
  # Just being paranoid about ensuring that cc_basename is set.
14630
 
  for cc_temp in $compiler""; do
14631
 
  case $cc_temp in
14632
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14633
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14634
 
    \-*) ;;
14635
 
    *) break;;
14636
 
  esac
14637
 
done
14638
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14639
 
 
14640
 
  case $host_os in
14641
 
  cygwin* | mingw* | pw32*)
14642
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
14643
 
    # When not using gcc, we currently assume that we are using
14644
 
    # Microsoft Visual C++.
14645
 
    if test "$GCC" != yes; then
14646
 
      with_gnu_ld=no
14647
 
    fi
14648
 
    ;;
14649
 
  interix*)
14650
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
14651
 
    with_gnu_ld=yes
14652
 
    ;;
14653
 
  openbsd*)
14654
 
    with_gnu_ld=no
14655
 
    ;;
14656
 
  esac
14657
 
 
14658
 
  ld_shlibs_F77=yes
14659
 
  if test "$with_gnu_ld" = yes; then
14660
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
14661
 
    wlarc='${wl}'
14662
 
 
14663
 
    # Set some defaults for GNU ld with shared library support. These
14664
 
    # are reset later if shared libraries are not supported. Putting them
14665
 
    # here allows them to be overridden if necessary.
14666
 
    runpath_var=LD_RUN_PATH
14667
 
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
14668
 
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
14669
 
    # ancient GNU ld didn't support --whole-archive et. al.
14670
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14671
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14672
 
      else
14673
 
        whole_archive_flag_spec_F77=
14674
 
    fi
14675
 
    supports_anon_versioning=no
14676
 
    case `$LD -v 2>/dev/null` in
14677
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14678
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14679
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14680
 
      *\ 2.11.*) ;; # other 2.11 versions
14681
 
      *) supports_anon_versioning=yes ;;
14682
 
    esac
14683
 
 
14684
 
    # See if GNU ld supports shared libraries.
14685
 
    case $host_os in
14686
 
    aix3* | aix4* | aix5*)
14687
 
      # On AIX/PPC, the GNU linker is very broken
14688
 
      if test "$host_cpu" != ia64; then
14689
 
        ld_shlibs_F77=no
14690
 
        cat <<EOF 1>&2
14691
 
 
14692
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
14693
 
*** to be unable to reliably create shared libraries on AIX.
14694
 
*** Therefore, libtool is disabling shared libraries support.  If you
14695
 
*** really care for shared libraries, you may want to modify your PATH
14696
 
*** so that a non-GNU linker is found, and then restart.
14697
 
 
14698
 
EOF
14699
 
      fi
14700
 
      ;;
14701
 
 
14702
 
    amigaos*)
14703
 
      archive_cmds_F77='$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)'
14704
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14705
 
      hardcode_minus_L_F77=yes
14706
 
 
14707
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14708
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
14709
 
      # to version 4, is to share data among multiple programs linked
14710
 
      # with the same dynamic library.  Since this doesn't match the
14711
 
      # behavior of shared libraries on other platforms, we can't use
14712
 
      # them.
14713
 
      ld_shlibs_F77=no
14714
 
      ;;
14715
 
 
14716
 
    beos*)
14717
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14718
 
        allow_undefined_flag_F77=unsupported
14719
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14720
 
        # support --undefined.  This deserves some investigation.  FIXME
14721
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14722
 
      else
14723
 
        ld_shlibs_F77=no
14724
 
      fi
14725
 
      ;;
14726
 
 
14727
 
    cygwin* | mingw* | pw32*)
14728
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14729
 
      # as there is no search path for DLLs.
14730
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14731
 
      allow_undefined_flag_F77=unsupported
14732
 
      always_export_symbols_F77=no
14733
 
      enable_shared_with_static_runtimes_F77=yes
14734
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14735
 
 
14736
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14737
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14738
 
        # If the export-symbols file already is a .def file (1st line
14739
 
        # is EXPORTS), use it as is; otherwise, prepend...
14740
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14741
 
          cp $export_symbols $output_objdir/$soname.def;
14742
 
        else
14743
 
          echo EXPORTS > $output_objdir/$soname.def;
14744
 
          cat $export_symbols >> $output_objdir/$soname.def;
14745
 
        fi~
14746
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14747
 
      else
14748
 
        ld_shlibs_F77=no
14749
 
      fi
14750
 
      ;;
14751
 
 
14752
 
    interix[3-9]*)
14753
 
      hardcode_direct_F77=no
14754
 
      hardcode_shlibpath_var_F77=no
14755
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14756
 
      export_dynamic_flag_spec_F77='${wl}-E'
14757
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14758
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
14759
 
      # default) and relocated if they conflict, which is a slow very memory
14760
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
14761
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14762
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14763
 
      archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14764
 
      archive_expsym_cmds_F77='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'
14765
 
      ;;
14766
 
 
14767
 
    gnu* | linux* | k*bsd*-gnu)
14768
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14769
 
        tmp_addflag=
14770
 
        case $cc_basename,$host_cpu in
14771
 
        pgcc*)                          # Portland Group C compiler
14772
 
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14773
 
          tmp_addflag=' $pic_flag'
14774
 
          ;;
14775
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
14776
 
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14777
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
14778
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
14779
 
          tmp_addflag=' -i_dynamic' ;;
14780
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
14781
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
14782
 
        ifc* | ifort*)                  # Intel Fortran compiler
14783
 
          tmp_addflag=' -nofor_main' ;;
14784
 
        esac
14785
 
        case `$CC -V 2>&1 | sed 5q` in
14786
 
        *Sun\ C*)                       # Sun C 5.9
14787
 
          whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14788
 
          tmp_sharedflag='-G' ;;
14789
 
        *Sun\ F*)                       # Sun Fortran 8.3
14790
 
          tmp_sharedflag='-G' ;;
14791
 
        *)
14792
 
          tmp_sharedflag='-shared' ;;
14793
 
        esac
14794
 
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14795
 
 
14796
 
        if test $supports_anon_versioning = yes; then
14797
 
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
14798
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14799
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
14800
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14801
 
        fi
14802
 
      else
14803
 
        ld_shlibs_F77=no
14804
 
      fi
14805
 
      ;;
14806
 
 
14807
 
    netbsd*)
14808
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14809
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14810
 
        wlarc=
14811
 
      else
14812
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14813
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14814
 
      fi
14815
 
      ;;
14816
 
 
14817
 
    solaris*)
14818
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
14819
 
        ld_shlibs_F77=no
14820
 
        cat <<EOF 1>&2
14821
 
 
14822
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
14823
 
*** create shared libraries on Solaris systems.  Therefore, libtool
14824
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
14825
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
14826
 
*** your PATH or compiler configuration so that the native linker is
14827
 
*** used, and then restart.
14828
 
 
14829
 
EOF
14830
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14831
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14832
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14833
 
      else
14834
 
        ld_shlibs_F77=no
14835
 
      fi
14836
 
      ;;
14837
 
 
14838
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14839
 
      case `$LD -v 2>&1` in
14840
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14841
 
        ld_shlibs_F77=no
14842
 
        cat <<_LT_EOF 1>&2
14843
 
 
14844
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14845
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
14846
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
14847
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
14848
 
*** your PATH or compiler configuration so that the native linker is
14849
 
*** used, and then restart.
14850
 
 
14851
 
_LT_EOF
14852
 
        ;;
14853
 
        *)
14854
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14855
 
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14856
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14857
 
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14858
 
          else
14859
 
            ld_shlibs_F77=no
14860
 
          fi
14861
 
        ;;
14862
 
      esac
14863
 
      ;;
14864
 
 
14865
 
    sunos4*)
14866
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14867
 
      wlarc=
14868
 
      hardcode_direct_F77=yes
14869
 
      hardcode_shlibpath_var_F77=no
14870
 
      ;;
14871
 
 
14872
 
    *)
14873
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14874
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14875
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14876
 
      else
14877
 
        ld_shlibs_F77=no
14878
 
      fi
14879
 
      ;;
14880
 
    esac
14881
 
 
14882
 
    if test "$ld_shlibs_F77" = no; then
14883
 
      runpath_var=
14884
 
      hardcode_libdir_flag_spec_F77=
14885
 
      export_dynamic_flag_spec_F77=
14886
 
      whole_archive_flag_spec_F77=
14887
 
    fi
14888
 
  else
14889
 
    # PORTME fill in a description of your system's linker (not GNU ld)
14890
 
    case $host_os in
14891
 
    aix3*)
14892
 
      allow_undefined_flag_F77=unsupported
14893
 
      always_export_symbols_F77=yes
14894
 
      archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
14895
 
      # Note: this linker hardcodes the directories in LIBPATH if there
14896
 
      # are no directories specified by -L.
14897
 
      hardcode_minus_L_F77=yes
14898
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14899
 
        # Neither direct hardcoding nor static linking is supported with a
14900
 
        # broken collect2.
14901
 
        hardcode_direct_F77=unsupported
14902
 
      fi
14903
 
      ;;
14904
 
 
14905
 
    aix4* | aix5*)
14906
 
      if test "$host_cpu" = ia64; then
14907
 
        # On IA64, the linker does run time linking by default, so we don't
14908
 
        # have to do anything special.
14909
 
        aix_use_runtimelinking=no
14910
 
        exp_sym_flag='-Bexport'
14911
 
        no_entry_flag=""
14912
 
      else
14913
 
        # If we're using GNU nm, then we don't want the "-C" option.
14914
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
14915
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14916
 
          export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14917
 
        else
14918
 
          export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14919
 
        fi
14920
 
        aix_use_runtimelinking=no
14921
 
 
14922
 
        # Test if we are trying to use run time linking or normal
14923
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14924
 
        # need to do runtime linking.
14925
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
14926
 
          for ld_flag in $LDFLAGS; do
14927
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14928
 
            aix_use_runtimelinking=yes
14929
 
            break
14930
 
          fi
14931
 
          done
14932
 
          ;;
14933
 
        esac
14934
 
 
14935
 
        exp_sym_flag='-bexport'
14936
 
        no_entry_flag='-bnoentry'
14937
 
      fi
14938
 
 
14939
 
      # When large executables or shared objects are built, AIX ld can
14940
 
      # have problems creating the table of contents.  If linking a library
14941
 
      # or program results in "error TOC overflow" add -mminimal-toc to
14942
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14943
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14944
 
 
14945
 
      archive_cmds_F77=''
14946
 
      hardcode_direct_F77=yes
14947
 
      hardcode_libdir_separator_F77=':'
14948
 
      link_all_deplibs_F77=yes
14949
 
 
14950
 
      if test "$GCC" = yes; then
14951
 
        case $host_os in aix4.[012]|aix4.[012].*)
14952
 
        # We only want to do this on AIX 4.2 and lower, the check
14953
 
        # below for broken collect2 doesn't work under 4.3+
14954
 
          collect2name=`${CC} -print-prog-name=collect2`
14955
 
          if test -f "$collect2name" && \
14956
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
14957
 
          then
14958
 
          # We have reworked collect2
14959
 
          :
14960
 
          else
14961
 
          # We have old collect2
14962
 
          hardcode_direct_F77=unsupported
14963
 
          # It fails to find uninstalled libraries when the uninstalled
14964
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
14965
 
          # to unsupported forces relinking
14966
 
          hardcode_minus_L_F77=yes
14967
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
14968
 
          hardcode_libdir_separator_F77=
14969
 
          fi
14970
 
          ;;
14971
 
        esac
14972
 
        shared_flag='-shared'
14973
 
        if test "$aix_use_runtimelinking" = yes; then
14974
 
          shared_flag="$shared_flag "'${wl}-G'
14975
 
        fi
14976
 
      else
14977
 
        # not using gcc
14978
 
        if test "$host_cpu" = ia64; then
14979
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14980
 
        # chokes on -Wl,-G. The following line is correct:
14981
 
          shared_flag='-G'
14982
 
        else
14983
 
          if test "$aix_use_runtimelinking" = yes; then
14984
 
            shared_flag='${wl}-G'
14985
 
          else
14986
 
            shared_flag='${wl}-bM:SRE'
14987
 
          fi
14988
 
        fi
14989
 
      fi
14990
 
 
14991
 
      # It seems that -bexpall does not export symbols beginning with
14992
 
      # underscore (_), so it is better to generate a list of symbols to export.
14993
 
      always_export_symbols_F77=yes
14994
 
      if test "$aix_use_runtimelinking" = yes; then
14995
 
        # Warning - without using the other runtime loading flags (-brtl),
14996
 
        # -berok will link without error, but may produce a broken library.
14997
 
        allow_undefined_flag_F77='-berok'
14998
 
       # Determine the default libpath from the value encoded in an empty executable.
14999
 
       cat >conftest.$ac_ext <<_ACEOF
15000
 
      program main
15001
 
 
15002
 
      end
15003
 
_ACEOF
15004
 
rm -f conftest.$ac_objext conftest$ac_exeext
15005
 
if { (ac_try="$ac_link"
15006
 
case "(($ac_try" in
15007
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15008
 
  *) ac_try_echo=$ac_try;;
15009
 
esac
15010
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15011
 
  (eval "$ac_link") 2>conftest.er1
15012
 
  ac_status=$?
15013
 
  grep -v '^ *+' conftest.er1 >conftest.err
15014
 
  rm -f conftest.er1
15015
 
  cat conftest.err >&5
15016
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15017
 
  (exit $ac_status); } && {
15018
 
         test -z "$ac_f77_werror_flag" ||
15019
 
         test ! -s conftest.err
15020
 
       } && test -s conftest$ac_exeext &&
15021
 
       $as_test_x conftest$ac_exeext; then
15022
 
 
15023
 
lt_aix_libpath_sed='
15024
 
    /Import File Strings/,/^$/ {
15025
 
        /^0/ {
15026
 
            s/^0  *\(.*\)$/\1/
15027
 
            p
15028
 
        }
15029
 
    }'
15030
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15031
 
# Check for a 64-bit object if we didn't find anything.
15032
 
if test -z "$aix_libpath"; then
15033
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15034
 
fi
15035
 
else
15036
 
  echo "$as_me: failed program was:" >&5
15037
 
sed 's/^/| /' conftest.$ac_ext >&5
15038
 
 
15039
 
 
15040
 
fi
15041
 
 
15042
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15043
 
      conftest$ac_exeext conftest.$ac_ext
15044
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15045
 
 
15046
 
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15047
 
        archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
15048
 
       else
15049
 
        if test "$host_cpu" = ia64; then
15050
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15051
 
          allow_undefined_flag_F77="-z nodefs"
15052
 
          archive_expsym_cmds_F77="\$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"
15053
 
        else
15054
 
         # Determine the default libpath from the value encoded in an empty executable.
15055
 
         cat >conftest.$ac_ext <<_ACEOF
15056
 
      program main
15057
 
 
15058
 
      end
15059
 
_ACEOF
15060
 
rm -f conftest.$ac_objext conftest$ac_exeext
15061
 
if { (ac_try="$ac_link"
15062
 
case "(($ac_try" in
15063
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15064
 
  *) ac_try_echo=$ac_try;;
15065
 
esac
15066
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15067
 
  (eval "$ac_link") 2>conftest.er1
15068
 
  ac_status=$?
15069
 
  grep -v '^ *+' conftest.er1 >conftest.err
15070
 
  rm -f conftest.er1
15071
 
  cat conftest.err >&5
15072
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15073
 
  (exit $ac_status); } && {
15074
 
         test -z "$ac_f77_werror_flag" ||
15075
 
         test ! -s conftest.err
15076
 
       } && test -s conftest$ac_exeext &&
15077
 
       $as_test_x conftest$ac_exeext; then
15078
 
 
15079
 
lt_aix_libpath_sed='
15080
 
    /Import File Strings/,/^$/ {
15081
 
        /^0/ {
15082
 
            s/^0  *\(.*\)$/\1/
15083
 
            p
15084
 
        }
15085
 
    }'
15086
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15087
 
# Check for a 64-bit object if we didn't find anything.
15088
 
if test -z "$aix_libpath"; then
15089
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15090
 
fi
15091
 
else
15092
 
  echo "$as_me: failed program was:" >&5
15093
 
sed 's/^/| /' conftest.$ac_ext >&5
15094
 
 
15095
 
 
15096
 
fi
15097
 
 
15098
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15099
 
      conftest$ac_exeext conftest.$ac_ext
15100
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15101
 
 
15102
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15103
 
          # Warning - without using the other run time loading flags,
15104
 
          # -berok will link without error, but may produce a broken library.
15105
 
          no_undefined_flag_F77=' ${wl}-bernotok'
15106
 
          allow_undefined_flag_F77=' ${wl}-berok'
15107
 
          # Exported symbols can be pulled into shared objects from archives
15108
 
          whole_archive_flag_spec_F77='$convenience'
15109
 
          archive_cmds_need_lc_F77=yes
15110
 
          # This is similar to how AIX traditionally builds its shared libraries.
15111
 
          archive_expsym_cmds_F77="\$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'
15112
 
        fi
15113
 
      fi
15114
 
      ;;
15115
 
 
15116
 
    amigaos*)
15117
 
      archive_cmds_F77='$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)'
15118
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15119
 
      hardcode_minus_L_F77=yes
15120
 
      # see comment about different semantics on the GNU ld section
15121
 
      ld_shlibs_F77=no
15122
 
      ;;
15123
 
 
15124
 
    bsdi[45]*)
15125
 
      export_dynamic_flag_spec_F77=-rdynamic
15126
 
      ;;
15127
 
 
15128
 
    cygwin* | mingw* | pw32*)
15129
 
      # When not using gcc, we currently assume that we are using
15130
 
      # Microsoft Visual C++.
15131
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
15132
 
      # no search path for DLLs.
15133
 
      hardcode_libdir_flag_spec_F77=' '
15134
 
      allow_undefined_flag_F77=unsupported
15135
 
      # Tell ltmain to make .lib files, not .a files.
15136
 
      libext=lib
15137
 
      # Tell ltmain to make .dll files, not .so files.
15138
 
      shrext_cmds=".dll"
15139
 
      # FIXME: Setting linknames here is a bad hack.
15140
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15141
 
      # The linker will automatically build a .lib file if we build a DLL.
15142
 
      old_archive_From_new_cmds_F77='true'
15143
 
      # FIXME: Should let the user specify the lib program.
15144
 
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
15145
 
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
15146
 
      enable_shared_with_static_runtimes_F77=yes
15147
 
      ;;
15148
 
 
15149
 
    darwin* | rhapsody*)
15150
 
      case $host_os in
15151
 
        rhapsody* | darwin1.[012])
15152
 
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
15153
 
         ;;
15154
 
       *) # Darwin 1.3 on
15155
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15156
 
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15157
 
         else
15158
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
15159
 
             10.[012])
15160
 
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15161
 
               ;;
15162
 
             10.*)
15163
 
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
15164
 
               ;;
15165
 
           esac
15166
 
         fi
15167
 
         ;;
15168
 
      esac
15169
 
      archive_cmds_need_lc_F77=no
15170
 
      hardcode_direct_F77=no
15171
 
      hardcode_automatic_F77=yes
15172
 
      hardcode_shlibpath_var_F77=unsupported
15173
 
      whole_archive_flag_spec_F77=''
15174
 
      link_all_deplibs_F77=yes
15175
 
    if test "$GCC" = yes ; then
15176
 
        output_verbose_link_cmd='echo'
15177
 
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15178
 
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15179
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15180
 
      archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15181
 
      module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15182
 
    else
15183
 
      case $cc_basename in
15184
 
        xlc*)
15185
 
         output_verbose_link_cmd='echo'
15186
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15187
 
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15188
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15189
 
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15190
 
          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15191
 
          ;;
15192
 
       *)
15193
 
         ld_shlibs_F77=no
15194
 
          ;;
15195
 
      esac
15196
 
    fi
15197
 
      ;;
15198
 
 
15199
 
    dgux*)
15200
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15201
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15202
 
      hardcode_shlibpath_var_F77=no
15203
 
      ;;
15204
 
 
15205
 
    freebsd1*)
15206
 
      ld_shlibs_F77=no
15207
 
      ;;
15208
 
 
15209
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15210
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
15211
 
    # does not break anything, and helps significantly (at the cost of a little
15212
 
    # extra space).
15213
 
    freebsd2.2*)
15214
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15215
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15216
 
      hardcode_direct_F77=yes
15217
 
      hardcode_shlibpath_var_F77=no
15218
 
      ;;
15219
 
 
15220
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15221
 
    freebsd2*)
15222
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15223
 
      hardcode_direct_F77=yes
15224
 
      hardcode_minus_L_F77=yes
15225
 
      hardcode_shlibpath_var_F77=no
15226
 
      ;;
15227
 
 
15228
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15229
 
    freebsd* | dragonfly*)
15230
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15231
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15232
 
      hardcode_direct_F77=yes
15233
 
      hardcode_shlibpath_var_F77=no
15234
 
      ;;
15235
 
 
15236
 
    hpux9*)
15237
 
      if test "$GCC" = yes; then
15238
 
        archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15239
 
      else
15240
 
        archive_cmds_F77='$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'
15241
 
      fi
15242
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15243
 
      hardcode_libdir_separator_F77=:
15244
 
      hardcode_direct_F77=yes
15245
 
 
15246
 
      # hardcode_minus_L: Not really in the search PATH,
15247
 
      # but as the default location of the library.
15248
 
      hardcode_minus_L_F77=yes
15249
 
      export_dynamic_flag_spec_F77='${wl}-E'
15250
 
      ;;
15251
 
 
15252
 
    hpux10*)
15253
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15254
 
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15255
 
      else
15256
 
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15257
 
      fi
15258
 
      if test "$with_gnu_ld" = no; then
15259
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15260
 
        hardcode_libdir_separator_F77=:
15261
 
 
15262
 
        hardcode_direct_F77=yes
15263
 
        export_dynamic_flag_spec_F77='${wl}-E'
15264
 
 
15265
 
        # hardcode_minus_L: Not really in the search PATH,
15266
 
        # but as the default location of the library.
15267
 
        hardcode_minus_L_F77=yes
15268
 
      fi
15269
 
      ;;
15270
 
 
15271
 
    hpux11*)
15272
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15273
 
        case $host_cpu in
15274
 
        hppa*64*)
15275
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15276
 
          ;;
15277
 
        ia64*)
15278
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15279
 
          ;;
15280
 
        *)
15281
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15282
 
          ;;
15283
 
        esac
15284
 
      else
15285
 
        case $host_cpu in
15286
 
        hppa*64*)
15287
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15288
 
          ;;
15289
 
        ia64*)
15290
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15291
 
          ;;
15292
 
        *)
15293
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15294
 
          ;;
15295
 
        esac
15296
 
      fi
15297
 
      if test "$with_gnu_ld" = no; then
15298
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15299
 
        hardcode_libdir_separator_F77=:
15300
 
 
15301
 
        case $host_cpu in
15302
 
        hppa*64*|ia64*)
15303
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
15304
 
          hardcode_direct_F77=no
15305
 
          hardcode_shlibpath_var_F77=no
15306
 
          ;;
15307
 
        *)
15308
 
          hardcode_direct_F77=yes
15309
 
          export_dynamic_flag_spec_F77='${wl}-E'
15310
 
 
15311
 
          # hardcode_minus_L: Not really in the search PATH,
15312
 
          # but as the default location of the library.
15313
 
          hardcode_minus_L_F77=yes
15314
 
          ;;
15315
 
        esac
15316
 
      fi
15317
 
      ;;
15318
 
 
15319
 
    irix5* | irix6* | nonstopux*)
15320
 
      if test "$GCC" = yes; then
15321
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15322
 
      else
15323
 
        archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15324
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
15325
 
      fi
15326
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15327
 
      hardcode_libdir_separator_F77=:
15328
 
      link_all_deplibs_F77=yes
15329
 
      ;;
15330
 
 
15331
 
    netbsd*)
15332
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15333
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
15334
 
      else
15335
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
15336
 
      fi
15337
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15338
 
      hardcode_direct_F77=yes
15339
 
      hardcode_shlibpath_var_F77=no
15340
 
      ;;
15341
 
 
15342
 
    newsos6)
15343
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15344
 
      hardcode_direct_F77=yes
15345
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15346
 
      hardcode_libdir_separator_F77=:
15347
 
      hardcode_shlibpath_var_F77=no
15348
 
      ;;
15349
 
 
15350
 
    openbsd*)
15351
 
      if test -f /usr/libexec/ld.so; then
15352
 
        hardcode_direct_F77=yes
15353
 
        hardcode_shlibpath_var_F77=no
15354
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15355
 
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15356
 
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15357
 
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15358
 
          export_dynamic_flag_spec_F77='${wl}-E'
15359
 
        else
15360
 
          case $host_os in
15361
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15362
 
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15363
 
             hardcode_libdir_flag_spec_F77='-R$libdir'
15364
 
             ;;
15365
 
           *)
15366
 
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15367
 
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15368
 
             ;;
15369
 
          esac
15370
 
        fi
15371
 
      else
15372
 
        ld_shlibs_F77=no
15373
 
      fi
15374
 
      ;;
15375
 
 
15376
 
    os2*)
15377
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15378
 
      hardcode_minus_L_F77=yes
15379
 
      allow_undefined_flag_F77=unsupported
15380
 
      archive_cmds_F77='$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'
15381
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15382
 
      ;;
15383
 
 
15384
 
    osf3*)
15385
 
      if test "$GCC" = yes; then
15386
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15387
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15388
 
      else
15389
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
15390
 
        archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15391
 
      fi
15392
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15393
 
      hardcode_libdir_separator_F77=:
15394
 
      ;;
15395
 
 
15396
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
15397
 
      if test "$GCC" = yes; then
15398
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15399
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15400
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15401
 
      else
15402
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
15403
 
        archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15404
 
        archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
15405
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
15406
 
 
15407
 
        # Both c and cxx compiler support -rpath directly
15408
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
15409
 
      fi
15410
 
      hardcode_libdir_separator_F77=:
15411
 
      ;;
15412
 
 
15413
 
    solaris*)
15414
 
      no_undefined_flag_F77=' -z text'
15415
 
      if test "$GCC" = yes; then
15416
 
        wlarc='${wl}'
15417
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15418
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15419
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15420
 
      else
15421
 
        wlarc=''
15422
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15423
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15424
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15425
 
      fi
15426
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15427
 
      hardcode_shlibpath_var_F77=no
15428
 
      case $host_os in
15429
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
15430
 
      *)
15431
 
        # The compiler driver will combine and reorder linker options,
15432
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
15433
 
        # but is careful enough not to reorder.
15434
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
15435
 
        if test "$GCC" = yes; then
15436
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15437
 
        else
15438
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
15439
 
        fi
15440
 
        ;;
15441
 
      esac
15442
 
      link_all_deplibs_F77=yes
15443
 
      ;;
15444
 
 
15445
 
    sunos4*)
15446
 
      if test "x$host_vendor" = xsequent; then
15447
 
        # Use $CC to link under sequent, because it throws in some extra .o
15448
 
        # files that make .init and .fini sections work.
15449
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15450
 
      else
15451
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15452
 
      fi
15453
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15454
 
      hardcode_direct_F77=yes
15455
 
      hardcode_minus_L_F77=yes
15456
 
      hardcode_shlibpath_var_F77=no
15457
 
      ;;
15458
 
 
15459
 
    sysv4)
15460
 
      case $host_vendor in
15461
 
        sni)
15462
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15463
 
          hardcode_direct_F77=yes # is this really true???
15464
 
        ;;
15465
 
        siemens)
15466
 
          ## LD is ld it makes a PLAMLIB
15467
 
          ## CC just makes a GrossModule.
15468
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15469
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
15470
 
          hardcode_direct_F77=no
15471
 
        ;;
15472
 
        motorola)
15473
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15474
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
15475
 
        ;;
15476
 
      esac
15477
 
      runpath_var='LD_RUN_PATH'
15478
 
      hardcode_shlibpath_var_F77=no
15479
 
      ;;
15480
 
 
15481
 
    sysv4.3*)
15482
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15483
 
      hardcode_shlibpath_var_F77=no
15484
 
      export_dynamic_flag_spec_F77='-Bexport'
15485
 
      ;;
15486
 
 
15487
 
    sysv4*MP*)
15488
 
      if test -d /usr/nec; then
15489
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15490
 
        hardcode_shlibpath_var_F77=no
15491
 
        runpath_var=LD_RUN_PATH
15492
 
        hardcode_runpath_var=yes
15493
 
        ld_shlibs_F77=yes
15494
 
      fi
15495
 
      ;;
15496
 
 
15497
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15498
 
      no_undefined_flag_F77='${wl}-z,text'
15499
 
      archive_cmds_need_lc_F77=no
15500
 
      hardcode_shlibpath_var_F77=no
15501
 
      runpath_var='LD_RUN_PATH'
15502
 
 
15503
 
      if test "$GCC" = yes; then
15504
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15505
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15506
 
      else
15507
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15508
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15509
 
      fi
15510
 
      ;;
15511
 
 
15512
 
    sysv5* | sco3.2v5* | sco5v6*)
15513
 
      # Note: We can NOT use -z defs as we might desire, because we do not
15514
 
      # link with -lc, and that would cause any symbols used from libc to
15515
 
      # always be unresolved, which means just about no library would
15516
 
      # ever link correctly.  If we're not using GNU ld we use -z text
15517
 
      # though, which does catch some bad symbols but isn't as heavy-handed
15518
 
      # as -z defs.
15519
 
      no_undefined_flag_F77='${wl}-z,text'
15520
 
      allow_undefined_flag_F77='${wl}-z,nodefs'
15521
 
      archive_cmds_need_lc_F77=no
15522
 
      hardcode_shlibpath_var_F77=no
15523
 
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15524
 
      hardcode_libdir_separator_F77=':'
15525
 
      link_all_deplibs_F77=yes
15526
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
15527
 
      runpath_var='LD_RUN_PATH'
15528
 
 
15529
 
      if test "$GCC" = yes; then
15530
 
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15531
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15532
 
      else
15533
 
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15534
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15535
 
      fi
15536
 
      ;;
15537
 
 
15538
 
    uts4*)
15539
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15540
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15541
 
      hardcode_shlibpath_var_F77=no
15542
 
      ;;
15543
 
 
15544
 
    *)
15545
 
      ld_shlibs_F77=no
15546
 
      ;;
15547
 
    esac
15548
 
  fi
15549
 
 
15550
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15551
 
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15552
 
test "$ld_shlibs_F77" = no && can_build_shared=no
15553
 
 
15554
 
#
15555
 
# Do we need to explicitly link libc?
15556
 
#
15557
 
case "x$archive_cmds_need_lc_F77" in
15558
 
x|xyes)
15559
 
  # Assume -lc should be added
15560
 
  archive_cmds_need_lc_F77=yes
15561
 
 
15562
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
15563
 
    case $archive_cmds_F77 in
15564
 
    *'~'*)
15565
 
      # FIXME: we may have to deal with multi-command sequences.
15566
 
      ;;
15567
 
    '$CC '*)
15568
 
      # Test whether the compiler implicitly links with -lc since on some
15569
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15570
 
      # to ld, don't add -lc before -lgcc.
15571
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15572
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15573
 
      $rm conftest*
15574
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15575
 
 
15576
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15577
 
  (eval $ac_compile) 2>&5
15578
 
  ac_status=$?
15579
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15580
 
  (exit $ac_status); } 2>conftest.err; then
15581
 
        soname=conftest
15582
 
        lib=conftest
15583
 
        libobjs=conftest.$ac_objext
15584
 
        deplibs=
15585
 
        wl=$lt_prog_compiler_wl_F77
15586
 
        pic_flag=$lt_prog_compiler_pic_F77
15587
 
        compiler_flags=-v
15588
 
        linker_flags=-v
15589
 
        verstring=
15590
 
        output_objdir=.
15591
 
        libname=conftest
15592
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
15593
 
        allow_undefined_flag_F77=
15594
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15595
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15596
 
  ac_status=$?
15597
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15598
 
  (exit $ac_status); }
15599
 
        then
15600
 
          archive_cmds_need_lc_F77=no
15601
 
        else
15602
 
          archive_cmds_need_lc_F77=yes
15603
 
        fi
15604
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
15605
 
      else
15606
 
        cat conftest.err 1>&5
15607
 
      fi
15608
 
      $rm conftest*
15609
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15610
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15611
 
      ;;
15612
 
    esac
15613
 
  fi
15614
 
  ;;
15615
 
esac
15616
 
 
15617
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15618
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15619
 
library_names_spec=
15620
 
libname_spec='lib$name'
15621
 
soname_spec=
15622
 
shrext_cmds=".so"
15623
 
postinstall_cmds=
15624
 
postuninstall_cmds=
15625
 
finish_cmds=
15626
 
finish_eval=
15627
 
shlibpath_var=
15628
 
shlibpath_overrides_runpath=unknown
15629
 
version_type=none
15630
 
dynamic_linker="$host_os ld.so"
15631
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
15632
 
 
15633
 
need_lib_prefix=unknown
15634
 
hardcode_into_libs=no
15635
 
 
15636
 
# when you set need_version to no, make sure it does not cause -set_version
15637
 
# flags to be left without arguments
15638
 
need_version=unknown
15639
 
 
15640
 
case $host_os in
15641
 
aix3*)
15642
 
  version_type=linux
15643
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15644
 
  shlibpath_var=LIBPATH
15645
 
 
15646
 
  # AIX 3 has no versioning support, so we append a major version to the name.
15647
 
  soname_spec='${libname}${release}${shared_ext}$major'
15648
 
  ;;
15649
 
 
15650
 
aix4* | aix5*)
15651
 
  version_type=linux
15652
 
  need_lib_prefix=no
15653
 
  need_version=no
15654
 
  hardcode_into_libs=yes
15655
 
  if test "$host_cpu" = ia64; then
15656
 
    # AIX 5 supports IA64
15657
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15658
 
    shlibpath_var=LD_LIBRARY_PATH
15659
 
  else
15660
 
    # With GCC up to 2.95.x, collect2 would create an import file
15661
 
    # for dependence libraries.  The import file would start with
15662
 
    # the line `#! .'.  This would cause the generated library to
15663
 
    # depend on `.', always an invalid library.  This was fixed in
15664
 
    # development snapshots of GCC prior to 3.0.
15665
 
    case $host_os in
15666
 
      aix4 | aix4.[01] | aix4.[01].*)
15667
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15668
 
           echo ' yes '
15669
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15670
 
        :
15671
 
      else
15672
 
        can_build_shared=no
15673
 
      fi
15674
 
      ;;
15675
 
    esac
15676
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15677
 
    # soname into executable. Probably we can add versioning support to
15678
 
    # collect2, so additional links can be useful in future.
15679
 
    if test "$aix_use_runtimelinking" = yes; then
15680
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15681
 
      # instead of lib<name>.a to let people know that these are not
15682
 
      # typical AIX shared libraries.
15683
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15684
 
    else
15685
 
      # We preserve .a as extension for shared libraries through AIX4.2
15686
 
      # and later when we are not doing run time linking.
15687
 
      library_names_spec='${libname}${release}.a $libname.a'
15688
 
      soname_spec='${libname}${release}${shared_ext}$major'
15689
 
    fi
15690
 
    shlibpath_var=LIBPATH
15691
 
  fi
15692
 
  ;;
15693
 
 
15694
 
amigaos*)
15695
 
  library_names_spec='$libname.ixlibrary $libname.a'
15696
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
15697
 
  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
15698
 
  ;;
15699
 
 
15700
 
beos*)
15701
 
  library_names_spec='${libname}${shared_ext}'
15702
 
  dynamic_linker="$host_os ld.so"
15703
 
  shlibpath_var=LIBRARY_PATH
15704
 
  ;;
15705
 
 
15706
 
bsdi[45]*)
15707
 
  version_type=linux
15708
 
  need_version=no
15709
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15710
 
  soname_spec='${libname}${release}${shared_ext}$major'
15711
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15712
 
  shlibpath_var=LD_LIBRARY_PATH
15713
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15714
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15715
 
  # the default ld.so.conf also contains /usr/contrib/lib and
15716
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15717
 
  # libtool to hard-code these into programs
15718
 
  ;;
15719
 
 
15720
 
cygwin* | mingw* | pw32*)
15721
 
  version_type=windows
15722
 
  shrext_cmds=".dll"
15723
 
  need_version=no
15724
 
  need_lib_prefix=no
15725
 
 
15726
 
  case $GCC,$host_os in
15727
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
15728
 
    library_names_spec='$libname.dll.a'
15729
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15730
 
    postinstall_cmds='base_file=`basename \${file}`~
15731
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15732
 
      dldir=$destdir/`dirname \$dlpath`~
15733
 
      test -d \$dldir || mkdir -p \$dldir~
15734
 
      $install_prog $dir/$dlname \$dldir/$dlname~
15735
 
      chmod a+x \$dldir/$dlname'
15736
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15737
 
      dlpath=$dir/\$dldll~
15738
 
       $rm \$dlpath'
15739
 
    shlibpath_overrides_runpath=yes
15740
 
 
15741
 
    case $host_os in
15742
 
    cygwin*)
15743
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15744
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15745
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15746
 
      ;;
15747
 
    mingw*)
15748
 
      # MinGW DLLs use traditional 'lib' prefix
15749
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15750
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15751
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15752
 
        # It is most probably a Windows format PATH printed by
15753
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
15754
 
        # path with ; separators, and with drive letters. We can handle the
15755
 
        # drive letters (cygwin fileutils understands them), so leave them,
15756
 
        # especially as we might pass files found there to a mingw objdump,
15757
 
        # which wouldn't understand a cygwinified path. Ahh.
15758
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15759
 
      else
15760
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15761
 
      fi
15762
 
      ;;
15763
 
    pw32*)
15764
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
15765
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15766
 
      ;;
15767
 
    esac
15768
 
    ;;
15769
 
 
15770
 
  *)
15771
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15772
 
    ;;
15773
 
  esac
15774
 
  dynamic_linker='Win32 ld.exe'
15775
 
  # FIXME: first we should search . and the directory the executable is in
15776
 
  shlibpath_var=PATH
15777
 
  ;;
15778
 
 
15779
 
darwin* | rhapsody*)
15780
 
  dynamic_linker="$host_os dyld"
15781
 
  version_type=darwin
15782
 
  need_lib_prefix=no
15783
 
  need_version=no
15784
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15785
 
  soname_spec='${libname}${release}${major}$shared_ext'
15786
 
  shlibpath_overrides_runpath=yes
15787
 
  shlibpath_var=DYLD_LIBRARY_PATH
15788
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15789
 
 
15790
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15791
 
  ;;
15792
 
 
15793
 
dgux*)
15794
 
  version_type=linux
15795
 
  need_lib_prefix=no
15796
 
  need_version=no
15797
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15798
 
  soname_spec='${libname}${release}${shared_ext}$major'
15799
 
  shlibpath_var=LD_LIBRARY_PATH
15800
 
  ;;
15801
 
 
15802
 
freebsd1*)
15803
 
  dynamic_linker=no
15804
 
  ;;
15805
 
 
15806
 
freebsd* | dragonfly*)
15807
 
  # DragonFly does not have aout.  When/if they implement a new
15808
 
  # versioning mechanism, adjust this.
15809
 
  if test -x /usr/bin/objformat; then
15810
 
    objformat=`/usr/bin/objformat`
15811
 
  else
15812
 
    case $host_os in
15813
 
    freebsd[123]*) objformat=aout ;;
15814
 
    *) objformat=elf ;;
15815
 
    esac
15816
 
  fi
15817
 
  version_type=freebsd-$objformat
15818
 
  case $version_type in
15819
 
    freebsd-elf*)
15820
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15821
 
      need_version=no
15822
 
      need_lib_prefix=no
15823
 
      ;;
15824
 
    freebsd-*)
15825
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15826
 
      need_version=yes
15827
 
      ;;
15828
 
  esac
15829
 
  shlibpath_var=LD_LIBRARY_PATH
15830
 
  case $host_os in
15831
 
  freebsd2*)
15832
 
    shlibpath_overrides_runpath=yes
15833
 
    ;;
15834
 
  freebsd3.[01]* | freebsdelf3.[01]*)
15835
 
    shlibpath_overrides_runpath=yes
15836
 
    hardcode_into_libs=yes
15837
 
    ;;
15838
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15839
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15840
 
    shlibpath_overrides_runpath=no
15841
 
    hardcode_into_libs=yes
15842
 
    ;;
15843
 
  *) # from 4.6 on, and DragonFly
15844
 
    shlibpath_overrides_runpath=yes
15845
 
    hardcode_into_libs=yes
15846
 
    ;;
15847
 
  esac
15848
 
  ;;
15849
 
 
15850
 
gnu*)
15851
 
  version_type=linux
15852
 
  need_lib_prefix=no
15853
 
  need_version=no
15854
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15855
 
  soname_spec='${libname}${release}${shared_ext}$major'
15856
 
  shlibpath_var=LD_LIBRARY_PATH
15857
 
  hardcode_into_libs=yes
15858
 
  ;;
15859
 
 
15860
 
hpux9* | hpux10* | hpux11*)
15861
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
15862
 
  # link against other versions.
15863
 
  version_type=sunos
15864
 
  need_lib_prefix=no
15865
 
  need_version=no
15866
 
  case $host_cpu in
15867
 
  ia64*)
15868
 
    shrext_cmds='.so'
15869
 
    hardcode_into_libs=yes
15870
 
    dynamic_linker="$host_os dld.so"
15871
 
    shlibpath_var=LD_LIBRARY_PATH
15872
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15873
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15874
 
    soname_spec='${libname}${release}${shared_ext}$major'
15875
 
    if test "X$HPUX_IA64_MODE" = X32; then
15876
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15877
 
    else
15878
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15879
 
    fi
15880
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15881
 
    ;;
15882
 
   hppa*64*)
15883
 
     shrext_cmds='.sl'
15884
 
     hardcode_into_libs=yes
15885
 
     dynamic_linker="$host_os dld.sl"
15886
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15887
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15888
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15889
 
     soname_spec='${libname}${release}${shared_ext}$major'
15890
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15891
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15892
 
     ;;
15893
 
   *)
15894
 
    shrext_cmds='.sl'
15895
 
    dynamic_linker="$host_os dld.sl"
15896
 
    shlibpath_var=SHLIB_PATH
15897
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15898
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15899
 
    soname_spec='${libname}${release}${shared_ext}$major'
15900
 
    ;;
15901
 
  esac
15902
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
15903
 
  postinstall_cmds='chmod 555 $lib'
15904
 
  ;;
15905
 
 
15906
 
interix[3-9]*)
15907
 
  version_type=linux
15908
 
  need_lib_prefix=no
15909
 
  need_version=no
15910
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15911
 
  soname_spec='${libname}${release}${shared_ext}$major'
15912
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15913
 
  shlibpath_var=LD_LIBRARY_PATH
15914
 
  shlibpath_overrides_runpath=no
15915
 
  hardcode_into_libs=yes
15916
 
  ;;
15917
 
 
15918
 
irix5* | irix6* | nonstopux*)
15919
 
  case $host_os in
15920
 
    nonstopux*) version_type=nonstopux ;;
15921
 
    *)
15922
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
15923
 
                version_type=linux
15924
 
        else
15925
 
                version_type=irix
15926
 
        fi ;;
15927
 
  esac
15928
 
  need_lib_prefix=no
15929
 
  need_version=no
15930
 
  soname_spec='${libname}${release}${shared_ext}$major'
15931
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15932
 
  case $host_os in
15933
 
  irix5* | nonstopux*)
15934
 
    libsuff= shlibsuff=
15935
 
    ;;
15936
 
  *)
15937
 
    case $LD in # libtool.m4 will add one of these switches to LD
15938
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15939
 
      libsuff= shlibsuff= libmagic=32-bit;;
15940
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15941
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
15942
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15943
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
15944
 
    *) libsuff= shlibsuff= libmagic=never-match;;
15945
 
    esac
15946
 
    ;;
15947
 
  esac
15948
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15949
 
  shlibpath_overrides_runpath=no
15950
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15951
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15952
 
  hardcode_into_libs=yes
15953
 
  ;;
15954
 
 
15955
 
# No shared lib support for Linux oldld, aout, or coff.
15956
 
linux*oldld* | linux*aout* | linux*coff*)
15957
 
  dynamic_linker=no
15958
 
  ;;
15959
 
 
15960
 
# This must be Linux ELF.
15961
 
linux* | k*bsd*-gnu)
15962
 
  version_type=linux
15963
 
  need_lib_prefix=no
15964
 
  need_version=no
15965
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15966
 
  soname_spec='${libname}${release}${shared_ext}$major'
15967
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15968
 
  shlibpath_var=LD_LIBRARY_PATH
15969
 
  shlibpath_overrides_runpath=no
15970
 
  # This implies no fast_install, which is unacceptable.
15971
 
  # Some rework will be needed to allow for fast_install
15972
 
  # before this can be enabled.
15973
 
  hardcode_into_libs=yes
15974
 
 
15975
 
  # Append ld.so.conf contents to the search path
15976
 
  if test -f /etc/ld.so.conf; then
15977
 
    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;/^$/d' | tr '\n' ' '`
15978
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15979
 
  fi
15980
 
 
15981
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
15982
 
  # powerpc, because MkLinux only supported shared libraries with the
15983
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
15984
 
  # most powerpc-linux boxes support dynamic linking these days and
15985
 
  # people can always --disable-shared, the test was removed, and we
15986
 
  # assume the GNU/Linux dynamic linker is in use.
15987
 
  dynamic_linker='GNU/Linux ld.so'
15988
 
  ;;
15989
 
 
15990
 
netbsd*)
15991
 
  version_type=sunos
15992
 
  need_lib_prefix=no
15993
 
  need_version=no
15994
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15995
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15996
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15997
 
    dynamic_linker='NetBSD (a.out) ld.so'
15998
 
  else
15999
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16000
 
    soname_spec='${libname}${release}${shared_ext}$major'
16001
 
    dynamic_linker='NetBSD ld.elf_so'
16002
 
  fi
16003
 
  shlibpath_var=LD_LIBRARY_PATH
16004
 
  shlibpath_overrides_runpath=yes
16005
 
  hardcode_into_libs=yes
16006
 
  ;;
16007
 
 
16008
 
newsos6)
16009
 
  version_type=linux
16010
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16011
 
  shlibpath_var=LD_LIBRARY_PATH
16012
 
  shlibpath_overrides_runpath=yes
16013
 
  ;;
16014
 
 
16015
 
nto-qnx*)
16016
 
  version_type=linux
16017
 
  need_lib_prefix=no
16018
 
  need_version=no
16019
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16020
 
  soname_spec='${libname}${release}${shared_ext}$major'
16021
 
  shlibpath_var=LD_LIBRARY_PATH
16022
 
  shlibpath_overrides_runpath=yes
16023
 
  ;;
16024
 
 
16025
 
openbsd*)
16026
 
  version_type=sunos
16027
 
  sys_lib_dlsearch_path_spec="/usr/lib"
16028
 
  need_lib_prefix=no
16029
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16030
 
  case $host_os in
16031
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16032
 
    *)                         need_version=no  ;;
16033
 
  esac
16034
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16035
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16036
 
  shlibpath_var=LD_LIBRARY_PATH
16037
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16038
 
    case $host_os in
16039
 
      openbsd2.[89] | openbsd2.[89].*)
16040
 
        shlibpath_overrides_runpath=no
16041
 
        ;;
16042
 
      *)
16043
 
        shlibpath_overrides_runpath=yes
16044
 
        ;;
16045
 
      esac
16046
 
  else
16047
 
    shlibpath_overrides_runpath=yes
16048
 
  fi
16049
 
  ;;
16050
 
 
16051
 
os2*)
16052
 
  libname_spec='$name'
16053
 
  shrext_cmds=".dll"
16054
 
  need_lib_prefix=no
16055
 
  library_names_spec='$libname${shared_ext} $libname.a'
16056
 
  dynamic_linker='OS/2 ld.exe'
16057
 
  shlibpath_var=LIBPATH
16058
 
  ;;
16059
 
 
16060
 
osf3* | osf4* | osf5*)
16061
 
  version_type=osf
16062
 
  need_lib_prefix=no
16063
 
  need_version=no
16064
 
  soname_spec='${libname}${release}${shared_ext}$major'
16065
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16066
 
  shlibpath_var=LD_LIBRARY_PATH
16067
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16068
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16069
 
  ;;
16070
 
 
16071
 
rdos*)
16072
 
  dynamic_linker=no
16073
 
  ;;
16074
 
 
16075
 
solaris*)
16076
 
  version_type=linux
16077
 
  need_lib_prefix=no
16078
 
  need_version=no
16079
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16080
 
  soname_spec='${libname}${release}${shared_ext}$major'
16081
 
  shlibpath_var=LD_LIBRARY_PATH
16082
 
  shlibpath_overrides_runpath=yes
16083
 
  hardcode_into_libs=yes
16084
 
  # ldd complains unless libraries are executable
16085
 
  postinstall_cmds='chmod +x $lib'
16086
 
  ;;
16087
 
 
16088
 
sunos4*)
16089
 
  version_type=sunos
16090
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16091
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16092
 
  shlibpath_var=LD_LIBRARY_PATH
16093
 
  shlibpath_overrides_runpath=yes
16094
 
  if test "$with_gnu_ld" = yes; then
16095
 
    need_lib_prefix=no
16096
 
  fi
16097
 
  need_version=yes
16098
 
  ;;
16099
 
 
16100
 
sysv4 | sysv4.3*)
16101
 
  version_type=linux
16102
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16103
 
  soname_spec='${libname}${release}${shared_ext}$major'
16104
 
  shlibpath_var=LD_LIBRARY_PATH
16105
 
  case $host_vendor in
16106
 
    sni)
16107
 
      shlibpath_overrides_runpath=no
16108
 
      need_lib_prefix=no
16109
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
16110
 
      runpath_var=LD_RUN_PATH
16111
 
      ;;
16112
 
    siemens)
16113
 
      need_lib_prefix=no
16114
 
      ;;
16115
 
    motorola)
16116
 
      need_lib_prefix=no
16117
 
      need_version=no
16118
 
      shlibpath_overrides_runpath=no
16119
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16120
 
      ;;
16121
 
  esac
16122
 
  ;;
16123
 
 
16124
 
sysv4*MP*)
16125
 
  if test -d /usr/nec ;then
16126
 
    version_type=linux
16127
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16128
 
    soname_spec='$libname${shared_ext}.$major'
16129
 
    shlibpath_var=LD_LIBRARY_PATH
16130
 
  fi
16131
 
  ;;
16132
 
 
16133
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16134
 
  version_type=freebsd-elf
16135
 
  need_lib_prefix=no
16136
 
  need_version=no
16137
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16138
 
  soname_spec='${libname}${release}${shared_ext}$major'
16139
 
  shlibpath_var=LD_LIBRARY_PATH
16140
 
  hardcode_into_libs=yes
16141
 
  if test "$with_gnu_ld" = yes; then
16142
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16143
 
    shlibpath_overrides_runpath=no
16144
 
  else
16145
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16146
 
    shlibpath_overrides_runpath=yes
16147
 
    case $host_os in
16148
 
      sco3.2v5*)
16149
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16150
 
        ;;
16151
 
    esac
16152
 
  fi
16153
 
  sys_lib_dlsearch_path_spec='/usr/lib'
16154
 
  ;;
16155
 
 
16156
 
uts4*)
16157
 
  version_type=linux
16158
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16159
 
  soname_spec='${libname}${release}${shared_ext}$major'
16160
 
  shlibpath_var=LD_LIBRARY_PATH
16161
 
  ;;
16162
 
 
16163
 
*)
16164
 
  dynamic_linker=no
16165
 
  ;;
16166
 
esac
16167
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16168
 
echo "${ECHO_T}$dynamic_linker" >&6; }
16169
 
test "$dynamic_linker" = no && can_build_shared=no
16170
 
 
16171
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16172
 
if test "$GCC" = yes; then
16173
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16174
 
fi
16175
 
 
16176
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16177
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16178
 
hardcode_action_F77=
16179
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
16180
 
   test -n "$runpath_var_F77" || \
16181
 
   test "X$hardcode_automatic_F77" = "Xyes" ; then
16182
 
 
16183
 
  # We can hardcode non-existant directories.
16184
 
  if test "$hardcode_direct_F77" != no &&
16185
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
16186
 
     # have to relink, otherwise we might link with an installed library
16187
 
     # when we should be linking with a yet-to-be-installed one
16188
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16189
 
     test "$hardcode_minus_L_F77" != no; then
16190
 
    # Linking always hardcodes the temporary library directory.
16191
 
    hardcode_action_F77=relink
16192
 
  else
16193
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
16194
 
    hardcode_action_F77=immediate
16195
 
  fi
16196
 
else
16197
 
  # We cannot hardcode anything, or else we can only hardcode existing
16198
 
  # directories.
16199
 
  hardcode_action_F77=unsupported
16200
 
fi
16201
 
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16202
 
echo "${ECHO_T}$hardcode_action_F77" >&6; }
16203
 
 
16204
 
if test "$hardcode_action_F77" = relink; then
16205
 
  # Fast installation is not supported
16206
 
  enable_fast_install=no
16207
 
elif test "$shlibpath_overrides_runpath" = yes ||
16208
 
     test "$enable_shared" = no; then
16209
 
  # Fast installation is not necessary
16210
 
  enable_fast_install=needless
16211
 
fi
16212
 
 
16213
 
 
16214
 
# The else clause should only fire when bootstrapping the
16215
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
16216
 
# with your package, and you will get complaints that there are
16217
 
# no rules to generate ltmain.sh.
16218
 
if test -f "$ltmain"; then
16219
 
  # See if we are running on zsh, and set the options which allow our commands through
16220
 
  # without removal of \ escapes.
16221
 
  if test -n "${ZSH_VERSION+set}" ; then
16222
 
    setopt NO_GLOB_SUBST
16223
 
  fi
16224
 
  # Now quote all the things that may contain metacharacters while being
16225
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
16226
 
  # variables and quote the copies for generation of the libtool script.
16227
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16228
 
    SED SHELL STRIP \
16229
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16230
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16231
 
    deplibs_check_method reload_flag reload_cmds need_locks \
16232
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16233
 
    lt_cv_sys_global_symbol_to_c_name_address \
16234
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16235
 
    old_postinstall_cmds old_postuninstall_cmds \
16236
 
    compiler_F77 \
16237
 
    CC_F77 \
16238
 
    LD_F77 \
16239
 
    lt_prog_compiler_wl_F77 \
16240
 
    lt_prog_compiler_pic_F77 \
16241
 
    lt_prog_compiler_static_F77 \
16242
 
    lt_prog_compiler_no_builtin_flag_F77 \
16243
 
    export_dynamic_flag_spec_F77 \
16244
 
    thread_safe_flag_spec_F77 \
16245
 
    whole_archive_flag_spec_F77 \
16246
 
    enable_shared_with_static_runtimes_F77 \
16247
 
    old_archive_cmds_F77 \
16248
 
    old_archive_from_new_cmds_F77 \
16249
 
    predep_objects_F77 \
16250
 
    postdep_objects_F77 \
16251
 
    predeps_F77 \
16252
 
    postdeps_F77 \
16253
 
    compiler_lib_search_path_F77 \
16254
 
    archive_cmds_F77 \
16255
 
    archive_expsym_cmds_F77 \
16256
 
    postinstall_cmds_F77 \
16257
 
    postuninstall_cmds_F77 \
16258
 
    old_archive_from_expsyms_cmds_F77 \
16259
 
    allow_undefined_flag_F77 \
16260
 
    no_undefined_flag_F77 \
16261
 
    export_symbols_cmds_F77 \
16262
 
    hardcode_libdir_flag_spec_F77 \
16263
 
    hardcode_libdir_flag_spec_ld_F77 \
16264
 
    hardcode_libdir_separator_F77 \
16265
 
    hardcode_automatic_F77 \
16266
 
    module_cmds_F77 \
16267
 
    module_expsym_cmds_F77 \
16268
 
    lt_cv_prog_compiler_c_o_F77 \
16269
 
    fix_srcfile_path_F77 \
16270
 
    exclude_expsyms_F77 \
16271
 
    include_expsyms_F77; do
16272
 
 
16273
 
    case $var in
16274
 
    old_archive_cmds_F77 | \
16275
 
    old_archive_from_new_cmds_F77 | \
16276
 
    archive_cmds_F77 | \
16277
 
    archive_expsym_cmds_F77 | \
16278
 
    module_cmds_F77 | \
16279
 
    module_expsym_cmds_F77 | \
16280
 
    old_archive_from_expsyms_cmds_F77 | \
16281
 
    export_symbols_cmds_F77 | \
16282
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
16283
 
    postinstall_cmds | postuninstall_cmds | \
16284
 
    old_postinstall_cmds | old_postuninstall_cmds | \
16285
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16286
 
      # Double-quote double-evaled strings.
16287
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16288
 
      ;;
16289
 
    *)
16290
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16291
 
      ;;
16292
 
    esac
16293
 
  done
16294
 
 
16295
 
  case $lt_echo in
16296
 
  *'\$0 --fallback-echo"')
16297
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16298
 
    ;;
16299
 
  esac
16300
 
 
16301
 
cfgfile="$ofile"
16302
 
 
16303
 
  cat <<__EOF__ >> "$cfgfile"
16304
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
16305
 
 
16306
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16307
 
 
16308
 
# Shell to use when invoking shell scripts.
16309
 
SHELL=$lt_SHELL
16310
 
 
16311
 
# Whether or not to build shared libraries.
16312
 
build_libtool_libs=$enable_shared
16313
 
 
16314
 
# Whether or not to build static libraries.
16315
 
build_old_libs=$enable_static
16316
 
 
16317
 
# Whether or not to add -lc for building shared libraries.
16318
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
16319
 
 
16320
 
# Whether or not to disallow shared libs when runtime libs are static
16321
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16322
 
 
16323
 
# Whether or not to optimize for fast installation.
16324
 
fast_install=$enable_fast_install
16325
 
 
16326
 
# The host system.
16327
 
host_alias=$host_alias
16328
 
host=$host
16329
 
host_os=$host_os
16330
 
 
16331
 
# The build system.
16332
 
build_alias=$build_alias
16333
 
build=$build
16334
 
build_os=$build_os
16335
 
 
16336
 
# An echo program that does not interpret backslashes.
16337
 
echo=$lt_echo
16338
 
 
16339
 
# The archiver.
16340
 
AR=$lt_AR
16341
 
AR_FLAGS=$lt_AR_FLAGS
16342
 
 
16343
 
# A C compiler.
16344
 
LTCC=$lt_LTCC
16345
 
 
16346
 
# LTCC compiler flags.
16347
 
LTCFLAGS=$lt_LTCFLAGS
16348
 
 
16349
 
# A language-specific compiler.
16350
 
CC=$lt_compiler_F77
16351
 
 
16352
 
# Is the compiler the GNU C compiler?
16353
 
with_gcc=$GCC_F77
16354
 
 
16355
 
# An ERE matcher.
16356
 
EGREP=$lt_EGREP
16357
 
 
16358
 
# The linker used to build libraries.
16359
 
LD=$lt_LD_F77
16360
 
 
16361
 
# Whether we need hard or soft links.
16362
 
LN_S=$lt_LN_S
16363
 
 
16364
 
# A BSD-compatible nm program.
16365
 
NM=$lt_NM
16366
 
 
16367
 
# A symbol stripping program
16368
 
STRIP=$lt_STRIP
16369
 
 
16370
 
# Used to examine libraries when file_magic_cmd begins "file"
16371
 
MAGIC_CMD=$MAGIC_CMD
16372
 
 
16373
 
# Used on cygwin: DLL creation program.
16374
 
DLLTOOL="$DLLTOOL"
16375
 
 
16376
 
# Used on cygwin: object dumper.
16377
 
OBJDUMP="$OBJDUMP"
16378
 
 
16379
 
# Used on cygwin: assembler.
16380
 
AS="$AS"
16381
 
 
16382
 
# The name of the directory that contains temporary libtool files.
16383
 
objdir=$objdir
16384
 
 
16385
 
# How to create reloadable object files.
16386
 
reload_flag=$lt_reload_flag
16387
 
reload_cmds=$lt_reload_cmds
16388
 
 
16389
 
# How to pass a linker flag through the compiler.
16390
 
wl=$lt_lt_prog_compiler_wl_F77
16391
 
 
16392
 
# Object file suffix (normally "o").
16393
 
objext="$ac_objext"
16394
 
 
16395
 
# Old archive suffix (normally "a").
16396
 
libext="$libext"
16397
 
 
16398
 
# Shared library suffix (normally ".so").
16399
 
shrext_cmds='$shrext_cmds'
16400
 
 
16401
 
# Executable file suffix (normally "").
16402
 
exeext="$exeext"
16403
 
 
16404
 
# Additional compiler flags for building library objects.
16405
 
pic_flag=$lt_lt_prog_compiler_pic_F77
16406
 
pic_mode=$pic_mode
16407
 
 
16408
 
# What is the maximum length of a command?
16409
 
max_cmd_len=$lt_cv_sys_max_cmd_len
16410
 
 
16411
 
# Does compiler simultaneously support -c and -o options?
16412
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16413
 
 
16414
 
# Must we lock files when doing compilation?
16415
 
need_locks=$lt_need_locks
16416
 
 
16417
 
# Do we need the lib prefix for modules?
16418
 
need_lib_prefix=$need_lib_prefix
16419
 
 
16420
 
# Do we need a version for libraries?
16421
 
need_version=$need_version
16422
 
 
16423
 
# Whether dlopen is supported.
16424
 
dlopen_support=$enable_dlopen
16425
 
 
16426
 
# Whether dlopen of programs is supported.
16427
 
dlopen_self=$enable_dlopen_self
16428
 
 
16429
 
# Whether dlopen of statically linked programs is supported.
16430
 
dlopen_self_static=$enable_dlopen_self_static
16431
 
 
16432
 
# Compiler flag to prevent dynamic linking.
16433
 
link_static_flag=$lt_lt_prog_compiler_static_F77
16434
 
 
16435
 
# Compiler flag to turn off builtin functions.
16436
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16437
 
 
16438
 
# Compiler flag to allow reflexive dlopens.
16439
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16440
 
 
16441
 
# Compiler flag to generate shared objects directly from archives.
16442
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16443
 
 
16444
 
# Compiler flag to generate thread-safe objects.
16445
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16446
 
 
16447
 
# Library versioning type.
16448
 
version_type=$version_type
16449
 
 
16450
 
# Format of library name prefix.
16451
 
libname_spec=$lt_libname_spec
16452
 
 
16453
 
# List of archive names.  First name is the real one, the rest are links.
16454
 
# The last name is the one that the linker finds with -lNAME.
16455
 
library_names_spec=$lt_library_names_spec
16456
 
 
16457
 
# The coded name of the library, if different from the real name.
16458
 
soname_spec=$lt_soname_spec
16459
 
 
16460
 
# Commands used to build and install an old-style archive.
16461
 
RANLIB=$lt_RANLIB
16462
 
old_archive_cmds=$lt_old_archive_cmds_F77
16463
 
old_postinstall_cmds=$lt_old_postinstall_cmds
16464
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16465
 
 
16466
 
# Create an old-style archive from a shared archive.
16467
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16468
 
 
16469
 
# Create a temporary old-style archive to link instead of a shared archive.
16470
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16471
 
 
16472
 
# Commands used to build and install a shared archive.
16473
 
archive_cmds=$lt_archive_cmds_F77
16474
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16475
 
postinstall_cmds=$lt_postinstall_cmds
16476
 
postuninstall_cmds=$lt_postuninstall_cmds
16477
 
 
16478
 
# Commands used to build a loadable module (assumed same as above if empty)
16479
 
module_cmds=$lt_module_cmds_F77
16480
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
16481
 
 
16482
 
# Commands to strip libraries.
16483
 
old_striplib=$lt_old_striplib
16484
 
striplib=$lt_striplib
16485
 
 
16486
 
# Dependencies to place before the objects being linked to create a
16487
 
# shared library.
16488
 
predep_objects=$lt_predep_objects_F77
16489
 
 
16490
 
# Dependencies to place after the objects being linked to create a
16491
 
# shared library.
16492
 
postdep_objects=$lt_postdep_objects_F77
16493
 
 
16494
 
# Dependencies to place before the objects being linked to create a
16495
 
# shared library.
16496
 
predeps=$lt_predeps_F77
16497
 
 
16498
 
# Dependencies to place after the objects being linked to create a
16499
 
# shared library.
16500
 
postdeps=$lt_postdeps_F77
16501
 
 
16502
 
# The library search path used internally by the compiler when linking
16503
 
# a shared library.
16504
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16505
 
 
16506
 
# Method to check whether dependent libraries are shared objects.
16507
 
deplibs_check_method=$lt_deplibs_check_method
16508
 
 
16509
 
# Command to use when deplibs_check_method == file_magic.
16510
 
file_magic_cmd=$lt_file_magic_cmd
16511
 
 
16512
 
# Flag that allows shared libraries with undefined symbols to be built.
16513
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
16514
 
 
16515
 
# Flag that forces no undefined symbols.
16516
 
no_undefined_flag=$lt_no_undefined_flag_F77
16517
 
 
16518
 
# Commands used to finish a libtool library installation in a directory.
16519
 
finish_cmds=$lt_finish_cmds
16520
 
 
16521
 
# Same as above, but a single script fragment to be evaled but not shown.
16522
 
finish_eval=$lt_finish_eval
16523
 
 
16524
 
# Take the output of nm and produce a listing of raw symbols and C names.
16525
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16526
 
 
16527
 
# Transform the output of nm in a proper C declaration
16528
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16529
 
 
16530
 
# Transform the output of nm in a C name address pair
16531
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16532
 
 
16533
 
# This is the shared library runtime path variable.
16534
 
runpath_var=$runpath_var
16535
 
 
16536
 
# This is the shared library path variable.
16537
 
shlibpath_var=$shlibpath_var
16538
 
 
16539
 
# Is shlibpath searched before the hard-coded library search path?
16540
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16541
 
 
16542
 
# How to hardcode a shared library path into an executable.
16543
 
hardcode_action=$hardcode_action_F77
16544
 
 
16545
 
# Whether we should hardcode library paths into libraries.
16546
 
hardcode_into_libs=$hardcode_into_libs
16547
 
 
16548
 
# Flag to hardcode \$libdir into a binary during linking.
16549
 
# This must work even if \$libdir does not exist.
16550
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16551
 
 
16552
 
# If ld is used when linking, flag to hardcode \$libdir into
16553
 
# a binary during linking. This must work even if \$libdir does
16554
 
# not exist.
16555
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16556
 
 
16557
 
# Whether we need a single -rpath flag with a separated argument.
16558
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16559
 
 
16560
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16561
 
# resulting binary.
16562
 
hardcode_direct=$hardcode_direct_F77
16563
 
 
16564
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16565
 
# resulting binary.
16566
 
hardcode_minus_L=$hardcode_minus_L_F77
16567
 
 
16568
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16569
 
# the resulting binary.
16570
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16571
 
 
16572
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
16573
 
# and all subsequent libraries and executables linked against it.
16574
 
hardcode_automatic=$hardcode_automatic_F77
16575
 
 
16576
 
# Variables whose values should be saved in libtool wrapper scripts and
16577
 
# restored at relink time.
16578
 
variables_saved_for_relink="$variables_saved_for_relink"
16579
 
 
16580
 
# Whether libtool must link a program against all its dependency libraries.
16581
 
link_all_deplibs=$link_all_deplibs_F77
16582
 
 
16583
 
# Compile-time system search path for libraries
16584
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16585
 
 
16586
 
# Run-time system search path for libraries
16587
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16588
 
 
16589
 
# Fix the shell variable \$srcfile for the compiler.
16590
 
fix_srcfile_path=$lt_fix_srcfile_path
16591
 
 
16592
 
# Set to yes if exported symbols are required.
16593
 
always_export_symbols=$always_export_symbols_F77
16594
 
 
16595
 
# The commands to list exported symbols.
16596
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
16597
 
 
16598
 
# The commands to extract the exported symbol list from a shared archive.
16599
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
16600
 
 
16601
 
# Symbols that should not be listed in the preloaded symbols.
16602
 
exclude_expsyms=$lt_exclude_expsyms_F77
16603
 
 
16604
 
# Symbols that must always be exported.
16605
 
include_expsyms=$lt_include_expsyms_F77
16606
 
 
16607
 
# ### END LIBTOOL TAG CONFIG: $tagname
16608
 
 
16609
 
__EOF__
16610
 
 
16611
 
 
16612
 
else
16613
 
  # If there is no Makefile yet, we rely on a make rule to execute
16614
 
  # `config.status --recheck' to rerun these tests and create the
16615
 
  # libtool script then.
16616
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16617
 
  if test -f "$ltmain_in"; then
16618
 
    test -f Makefile && make "$ltmain"
16619
 
  fi
16620
 
fi
16621
 
 
16622
 
 
16623
 
ac_ext=c
16624
 
ac_cpp='$CPP $CPPFLAGS'
16625
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16626
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16627
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16628
 
 
16629
 
CC="$lt_save_CC"
16630
 
 
16631
 
        else
16632
 
          tagname=""
16633
 
        fi
16634
 
        ;;
16635
 
 
16636
 
      GCJ)
16637
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16638
 
 
16639
 
 
16640
 
# Source file extension for Java test sources.
16641
 
ac_ext=java
16642
 
 
16643
 
# Object file extension for compiled Java test sources.
16644
 
objext=o
16645
 
objext_GCJ=$objext
16646
 
 
16647
 
# Code to be used in simple compile tests
16648
 
lt_simple_compile_test_code="class foo {}"
16649
 
 
16650
 
# Code to be used in simple link tests
16651
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
16652
 
 
16653
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16654
 
 
16655
 
# If no C compiler was specified, use CC.
16656
 
LTCC=${LTCC-"$CC"}
16657
 
 
16658
 
# If no C compiler flags were specified, use CFLAGS.
16659
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16660
 
 
16661
 
# Allow CC to be a program name with arguments.
16662
 
compiler=$CC
16663
 
 
16664
 
 
16665
 
# save warnings/boilerplate of simple test code
16666
 
ac_outfile=conftest.$ac_objext
16667
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
16668
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16669
 
_lt_compiler_boilerplate=`cat conftest.err`
16670
 
$rm conftest*
16671
 
 
16672
 
ac_outfile=conftest.$ac_objext
16673
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
16674
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16675
 
_lt_linker_boilerplate=`cat conftest.err`
16676
 
$rm conftest*
16677
 
 
16678
 
 
16679
 
# Allow CC to be a program name with arguments.
16680
 
lt_save_CC="$CC"
16681
 
CC=${GCJ-"gcj"}
16682
 
compiler=$CC
16683
 
compiler_GCJ=$CC
16684
 
for cc_temp in $compiler""; do
16685
 
  case $cc_temp in
16686
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16687
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16688
 
    \-*) ;;
16689
 
    *) break;;
16690
 
  esac
16691
 
done
16692
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16693
 
 
16694
 
 
16695
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
16696
 
archive_cmds_need_lc_GCJ=no
16697
 
 
16698
 
old_archive_cmds_GCJ=$old_archive_cmds
16699
 
 
16700
 
## CAVEAT EMPTOR:
16701
 
## There is no encapsulation within the following macros, do not change
16702
 
## the running order or otherwise move them around unless you know exactly
16703
 
## what you are doing...
16704
 
 
16705
 
lt_prog_compiler_no_builtin_flag_GCJ=
16706
 
 
16707
 
if test "$GCC" = yes; then
16708
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
16709
 
 
16710
 
 
16711
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16712
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16713
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16714
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16715
 
else
16716
 
  lt_cv_prog_compiler_rtti_exceptions=no
16717
 
  ac_outfile=conftest.$ac_objext
16718
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16719
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
16720
 
   # Insert the option either (1) after the last *FLAGS variable, or
16721
 
   # (2) before a word containing "conftest.", or (3) at the end.
16722
 
   # Note that $ac_compile itself does not contain backslashes and begins
16723
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16724
 
   # The option is referenced via a variable to avoid confusing sed.
16725
 
   lt_compile=`echo "$ac_compile" | $SED \
16726
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16727
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16728
 
   -e 's:$: $lt_compiler_flag:'`
16729
 
   (eval echo "\"\$as_me:16729: $lt_compile\"" >&5)
16730
 
   (eval "$lt_compile" 2>conftest.err)
16731
 
   ac_status=$?
16732
 
   cat conftest.err >&5
16733
 
   echo "$as_me:16733: \$? = $ac_status" >&5
16734
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
16735
 
     # The compiler can only warn and ignore the option if not recognized
16736
 
     # So say no if there are warnings other than the usual output.
16737
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16738
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16739
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16740
 
       lt_cv_prog_compiler_rtti_exceptions=yes
16741
 
     fi
16742
 
   fi
16743
 
   $rm conftest*
16744
 
 
16745
 
fi
16746
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16747
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16748
 
 
16749
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
16750
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16751
 
else
16752
 
    :
16753
 
fi
16754
 
 
16755
 
fi
16756
 
 
16757
 
lt_prog_compiler_wl_GCJ=
16758
 
lt_prog_compiler_pic_GCJ=
16759
 
lt_prog_compiler_static_GCJ=
16760
 
 
16761
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16762
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16763
 
 
16764
 
  if test "$GCC" = yes; then
16765
 
    lt_prog_compiler_wl_GCJ='-Wl,'
16766
 
    lt_prog_compiler_static_GCJ='-static'
16767
 
 
16768
 
    case $host_os in
16769
 
      aix*)
16770
 
      # All AIX code is PIC.
16771
 
      if test "$host_cpu" = ia64; then
16772
 
        # AIX 5 now supports IA64 processor
16773
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16774
 
      fi
16775
 
      ;;
16776
 
 
16777
 
    amigaos*)
16778
 
      # FIXME: we need at least 68020 code to build shared libraries, but
16779
 
      # adding the `-m68020' flag to GCC prevents building anything better,
16780
 
      # like `-m68040'.
16781
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
16782
 
      ;;
16783
 
 
16784
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16785
 
      # PIC is the default for these OSes.
16786
 
      ;;
16787
 
 
16788
 
    mingw* | cygwin* | pw32* | os2*)
16789
 
      # This hack is so that the source file can tell whether it is being
16790
 
      # built for inclusion in a dll (and should export symbols for example).
16791
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
16792
 
      # (--disable-auto-import) libraries
16793
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16794
 
      ;;
16795
 
 
16796
 
    darwin* | rhapsody*)
16797
 
      # PIC is the default on this platform
16798
 
      # Common symbols not allowed in MH_DYLIB files
16799
 
      lt_prog_compiler_pic_GCJ='-fno-common'
16800
 
      ;;
16801
 
 
16802
 
    interix[3-9]*)
16803
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16804
 
      # Instead, we relocate shared libraries at runtime.
16805
 
      ;;
16806
 
 
16807
 
    msdosdjgpp*)
16808
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
16809
 
      # on systems that don't support them.
16810
 
      lt_prog_compiler_can_build_shared_GCJ=no
16811
 
      enable_shared=no
16812
 
      ;;
16813
 
 
16814
 
    sysv4*MP*)
16815
 
      if test -d /usr/nec; then
16816
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
16817
 
      fi
16818
 
      ;;
16819
 
 
16820
 
    hpux*)
16821
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16822
 
      # not for PA HP-UX.
16823
 
      case $host_cpu in
16824
 
      hppa*64*|ia64*)
16825
 
        # +Z the default
16826
 
        ;;
16827
 
      *)
16828
 
        lt_prog_compiler_pic_GCJ='-fPIC'
16829
 
        ;;
16830
 
      esac
16831
 
      ;;
16832
 
 
16833
 
    *)
16834
 
      lt_prog_compiler_pic_GCJ='-fPIC'
16835
 
      ;;
16836
 
    esac
16837
 
  else
16838
 
    # PORTME Check for flag to pass linker flags through the system compiler.
16839
 
    case $host_os in
16840
 
    aix*)
16841
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16842
 
      if test "$host_cpu" = ia64; then
16843
 
        # AIX 5 now supports IA64 processor
16844
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16845
 
      else
16846
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
16847
 
      fi
16848
 
      ;;
16849
 
      darwin*)
16850
 
        # PIC is the default on this platform
16851
 
        # Common symbols not allowed in MH_DYLIB files
16852
 
       case $cc_basename in
16853
 
         xlc*)
16854
 
         lt_prog_compiler_pic_GCJ='-qnocommon'
16855
 
         lt_prog_compiler_wl_GCJ='-Wl,'
16856
 
         ;;
16857
 
       esac
16858
 
       ;;
16859
 
 
16860
 
    mingw* | cygwin* | pw32* | os2*)
16861
 
      # This hack is so that the source file can tell whether it is being
16862
 
      # built for inclusion in a dll (and should export symbols for example).
16863
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16864
 
      ;;
16865
 
 
16866
 
    hpux9* | hpux10* | hpux11*)
16867
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16868
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16869
 
      # not for PA HP-UX.
16870
 
      case $host_cpu in
16871
 
      hppa*64*|ia64*)
16872
 
        # +Z the default
16873
 
        ;;
16874
 
      *)
16875
 
        lt_prog_compiler_pic_GCJ='+Z'
16876
 
        ;;
16877
 
      esac
16878
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
16879
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
16880
 
      ;;
16881
 
 
16882
 
    irix5* | irix6* | nonstopux*)
16883
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16884
 
      # PIC (with -KPIC) is the default.
16885
 
      lt_prog_compiler_static_GCJ='-non_shared'
16886
 
      ;;
16887
 
 
16888
 
    newsos6)
16889
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16890
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16891
 
      ;;
16892
 
 
16893
 
    linux* | k*bsd*-gnu)
16894
 
      case $cc_basename in
16895
 
      icc* | ecc*)
16896
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16897
 
        lt_prog_compiler_pic_GCJ='-KPIC'
16898
 
        lt_prog_compiler_static_GCJ='-static'
16899
 
        ;;
16900
 
      pgcc* | pgf77* | pgf90* | pgf95*)
16901
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
16902
 
        # which looks to be a dead project)
16903
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16904
 
        lt_prog_compiler_pic_GCJ='-fpic'
16905
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16906
 
        ;;
16907
 
      ccc*)
16908
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16909
 
        # All Alpha code is PIC.
16910
 
        lt_prog_compiler_static_GCJ='-non_shared'
16911
 
        ;;
16912
 
      como)
16913
 
        lt_prog_compiler_wl_GCJ='-lopt='
16914
 
        ;;
16915
 
      *)
16916
 
        case `$CC -V 2>&1 | sed 5q` in
16917
 
        *Sun\ C*)
16918
 
          # Sun C 5.9
16919
 
          lt_prog_compiler_pic_GCJ='-KPIC'
16920
 
          lt_prog_compiler_static_GCJ='-Bstatic'
16921
 
          lt_prog_compiler_wl_GCJ='-Wl,'
16922
 
          ;;
16923
 
        *Sun\ F*)
16924
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
16925
 
          lt_prog_compiler_pic_GCJ='-KPIC'
16926
 
          lt_prog_compiler_static_GCJ='-Bstatic'
16927
 
          lt_prog_compiler_wl_GCJ=''
16928
 
          ;;
16929
 
        esac
16930
 
        ;;
16931
 
      esac
16932
 
      ;;
16933
 
 
16934
 
    osf3* | osf4* | osf5*)
16935
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16936
 
      # All OSF/1 code is PIC.
16937
 
      lt_prog_compiler_static_GCJ='-non_shared'
16938
 
      ;;
16939
 
 
16940
 
    rdos*)
16941
 
      lt_prog_compiler_static_GCJ='-non_shared'
16942
 
      ;;
16943
 
 
16944
 
    solaris*)
16945
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16946
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16947
 
      case $cc_basename in
16948
 
      f77* | f90* | f95*)
16949
 
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
16950
 
      *)
16951
 
        lt_prog_compiler_wl_GCJ='-Wl,';;
16952
 
      esac
16953
 
      ;;
16954
 
 
16955
 
    sunos4*)
16956
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
16957
 
      lt_prog_compiler_pic_GCJ='-PIC'
16958
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16959
 
      ;;
16960
 
 
16961
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
16962
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16963
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16964
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16965
 
      ;;
16966
 
 
16967
 
    sysv4*MP*)
16968
 
      if test -d /usr/nec ;then
16969
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
16970
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16971
 
      fi
16972
 
      ;;
16973
 
 
16974
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16975
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16976
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16977
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16978
 
      ;;
16979
 
 
16980
 
    unicos*)
16981
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16982
 
      lt_prog_compiler_can_build_shared_GCJ=no
16983
 
      ;;
16984
 
 
16985
 
    uts4*)
16986
 
      lt_prog_compiler_pic_GCJ='-pic'
16987
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16988
 
      ;;
16989
 
 
16990
 
    *)
16991
 
      lt_prog_compiler_can_build_shared_GCJ=no
16992
 
      ;;
16993
 
    esac
16994
 
  fi
16995
 
 
16996
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16997
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16998
 
 
16999
 
#
17000
 
# Check to make sure the PIC flag actually works.
17001
 
#
17002
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
17003
 
 
17004
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17005
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
17006
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
17007
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17008
 
else
17009
 
  lt_prog_compiler_pic_works_GCJ=no
17010
 
  ac_outfile=conftest.$ac_objext
17011
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17012
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
17013
 
   # Insert the option either (1) after the last *FLAGS variable, or
17014
 
   # (2) before a word containing "conftest.", or (3) at the end.
17015
 
   # Note that $ac_compile itself does not contain backslashes and begins
17016
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17017
 
   # The option is referenced via a variable to avoid confusing sed.
17018
 
   lt_compile=`echo "$ac_compile" | $SED \
17019
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17020
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17021
 
   -e 's:$: $lt_compiler_flag:'`
17022
 
   (eval echo "\"\$as_me:17022: $lt_compile\"" >&5)
17023
 
   (eval "$lt_compile" 2>conftest.err)
17024
 
   ac_status=$?
17025
 
   cat conftest.err >&5
17026
 
   echo "$as_me:17026: \$? = $ac_status" >&5
17027
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
17028
 
     # The compiler can only warn and ignore the option if not recognized
17029
 
     # So say no if there are warnings other than the usual output.
17030
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17031
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17032
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17033
 
       lt_prog_compiler_pic_works_GCJ=yes
17034
 
     fi
17035
 
   fi
17036
 
   $rm conftest*
17037
 
 
17038
 
fi
17039
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
17040
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
17041
 
 
17042
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
17043
 
    case $lt_prog_compiler_pic_GCJ in
17044
 
     "" | " "*) ;;
17045
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
17046
 
     esac
17047
 
else
17048
 
    lt_prog_compiler_pic_GCJ=
17049
 
     lt_prog_compiler_can_build_shared_GCJ=no
17050
 
fi
17051
 
 
17052
 
fi
17053
 
case $host_os in
17054
 
  # For platforms which do not support PIC, -DPIC is meaningless:
17055
 
  *djgpp*)
17056
 
    lt_prog_compiler_pic_GCJ=
17057
 
    ;;
17058
 
  *)
17059
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
17060
 
    ;;
17061
 
esac
17062
 
 
17063
 
#
17064
 
# Check to make sure the static flag actually works.
17065
 
#
17066
 
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
17067
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17068
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17069
 
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
17070
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17071
 
else
17072
 
  lt_prog_compiler_static_works_GCJ=no
17073
 
   save_LDFLAGS="$LDFLAGS"
17074
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17075
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
17076
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17077
 
     # The linker can only warn and ignore the option if not recognized
17078
 
     # So say no if there are warnings
17079
 
     if test -s conftest.err; then
17080
 
       # Append any errors to the config.log.
17081
 
       cat conftest.err 1>&5
17082
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17083
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17084
 
       if diff conftest.exp conftest.er2 >/dev/null; then
17085
 
         lt_prog_compiler_static_works_GCJ=yes
17086
 
       fi
17087
 
     else
17088
 
       lt_prog_compiler_static_works_GCJ=yes
17089
 
     fi
17090
 
   fi
17091
 
   $rm conftest*
17092
 
   LDFLAGS="$save_LDFLAGS"
17093
 
 
17094
 
fi
17095
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
17096
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
17097
 
 
17098
 
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
17099
 
    :
17100
 
else
17101
 
    lt_prog_compiler_static_GCJ=
17102
 
fi
17103
 
 
17104
 
 
17105
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17106
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17107
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17108
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17109
 
else
17110
 
  lt_cv_prog_compiler_c_o_GCJ=no
17111
 
   $rm -r conftest 2>/dev/null
17112
 
   mkdir conftest
17113
 
   cd conftest
17114
 
   mkdir out
17115
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17116
 
 
17117
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
17118
 
   # Insert the option either (1) after the last *FLAGS variable, or
17119
 
   # (2) before a word containing "conftest.", or (3) at the end.
17120
 
   # Note that $ac_compile itself does not contain backslashes and begins
17121
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17122
 
   lt_compile=`echo "$ac_compile" | $SED \
17123
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17124
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17125
 
   -e 's:$: $lt_compiler_flag:'`
17126
 
   (eval echo "\"\$as_me:17126: $lt_compile\"" >&5)
17127
 
   (eval "$lt_compile" 2>out/conftest.err)
17128
 
   ac_status=$?
17129
 
   cat out/conftest.err >&5
17130
 
   echo "$as_me:17130: \$? = $ac_status" >&5
17131
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17132
 
   then
17133
 
     # The compiler can only warn and ignore the option if not recognized
17134
 
     # So say no if there are warnings
17135
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17136
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17137
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17138
 
       lt_cv_prog_compiler_c_o_GCJ=yes
17139
 
     fi
17140
 
   fi
17141
 
   chmod u+w . 2>&5
17142
 
   $rm conftest*
17143
 
   # SGI C++ compiler will create directory out/ii_files/ for
17144
 
   # template instantiation
17145
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
17146
 
   $rm out/* && rmdir out
17147
 
   cd ..
17148
 
   rmdir conftest
17149
 
   $rm conftest*
17150
 
 
17151
 
fi
17152
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17153
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17154
 
 
17155
 
 
17156
 
hard_links="nottested"
17157
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
17158
 
  # do not overwrite the value of need_locks provided by the user
17159
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17160
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17161
 
  hard_links=yes
17162
 
  $rm conftest*
17163
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17164
 
  touch conftest.a
17165
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
17166
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17167
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
17168
 
echo "${ECHO_T}$hard_links" >&6; }
17169
 
  if test "$hard_links" = no; then
17170
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17171
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17172
 
    need_locks=warn
17173
 
  fi
17174
 
else
17175
 
  need_locks=no
17176
 
fi
17177
 
 
17178
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17179
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17180
 
 
17181
 
  runpath_var=
17182
 
  allow_undefined_flag_GCJ=
17183
 
  enable_shared_with_static_runtimes_GCJ=no
17184
 
  archive_cmds_GCJ=
17185
 
  archive_expsym_cmds_GCJ=
17186
 
  old_archive_From_new_cmds_GCJ=
17187
 
  old_archive_from_expsyms_cmds_GCJ=
17188
 
  export_dynamic_flag_spec_GCJ=
17189
 
  whole_archive_flag_spec_GCJ=
17190
 
  thread_safe_flag_spec_GCJ=
17191
 
  hardcode_libdir_flag_spec_GCJ=
17192
 
  hardcode_libdir_flag_spec_ld_GCJ=
17193
 
  hardcode_libdir_separator_GCJ=
17194
 
  hardcode_direct_GCJ=no
17195
 
  hardcode_minus_L_GCJ=no
17196
 
  hardcode_shlibpath_var_GCJ=unsupported
17197
 
  link_all_deplibs_GCJ=unknown
17198
 
  hardcode_automatic_GCJ=no
17199
 
  module_cmds_GCJ=
17200
 
  module_expsym_cmds_GCJ=
17201
 
  always_export_symbols_GCJ=no
17202
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17203
 
  # include_expsyms should be a list of space-separated symbols to be *always*
17204
 
  # included in the symbol list
17205
 
  include_expsyms_GCJ=
17206
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
17207
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
17208
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17209
 
  # as well as any symbol that contains `d'.
17210
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
17211
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17212
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
17213
 
  # the symbol is explicitly referenced.  Since portable code cannot
17214
 
  # rely on this symbol name, it's probably fine to never include it in
17215
 
  # preloaded symbol tables.
17216
 
  extract_expsyms_cmds=
17217
 
  # Just being paranoid about ensuring that cc_basename is set.
17218
 
  for cc_temp in $compiler""; do
17219
 
  case $cc_temp in
17220
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17221
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17222
 
    \-*) ;;
17223
 
    *) break;;
17224
 
  esac
17225
 
done
17226
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17227
 
 
17228
 
  case $host_os in
17229
 
  cygwin* | mingw* | pw32*)
17230
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
17231
 
    # When not using gcc, we currently assume that we are using
17232
 
    # Microsoft Visual C++.
17233
 
    if test "$GCC" != yes; then
17234
 
      with_gnu_ld=no
17235
 
    fi
17236
 
    ;;
17237
 
  interix*)
17238
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
17239
 
    with_gnu_ld=yes
17240
 
    ;;
17241
 
  openbsd*)
17242
 
    with_gnu_ld=no
17243
 
    ;;
17244
 
  esac
17245
 
 
17246
 
  ld_shlibs_GCJ=yes
17247
 
  if test "$with_gnu_ld" = yes; then
17248
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
17249
 
    wlarc='${wl}'
17250
 
 
17251
 
    # Set some defaults for GNU ld with shared library support. These
17252
 
    # are reset later if shared libraries are not supported. Putting them
17253
 
    # here allows them to be overridden if necessary.
17254
 
    runpath_var=LD_RUN_PATH
17255
 
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
17256
 
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
17257
 
    # ancient GNU ld didn't support --whole-archive et. al.
17258
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17259
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17260
 
      else
17261
 
        whole_archive_flag_spec_GCJ=
17262
 
    fi
17263
 
    supports_anon_versioning=no
17264
 
    case `$LD -v 2>/dev/null` in
17265
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17266
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17267
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17268
 
      *\ 2.11.*) ;; # other 2.11 versions
17269
 
      *) supports_anon_versioning=yes ;;
17270
 
    esac
17271
 
 
17272
 
    # See if GNU ld supports shared libraries.
17273
 
    case $host_os in
17274
 
    aix3* | aix4* | aix5*)
17275
 
      # On AIX/PPC, the GNU linker is very broken
17276
 
      if test "$host_cpu" != ia64; then
17277
 
        ld_shlibs_GCJ=no
17278
 
        cat <<EOF 1>&2
17279
 
 
17280
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
17281
 
*** to be unable to reliably create shared libraries on AIX.
17282
 
*** Therefore, libtool is disabling shared libraries support.  If you
17283
 
*** really care for shared libraries, you may want to modify your PATH
17284
 
*** so that a non-GNU linker is found, and then restart.
17285
 
 
17286
 
EOF
17287
 
      fi
17288
 
      ;;
17289
 
 
17290
 
    amigaos*)
17291
 
      archive_cmds_GCJ='$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)'
17292
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17293
 
      hardcode_minus_L_GCJ=yes
17294
 
 
17295
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17296
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
17297
 
      # to version 4, is to share data among multiple programs linked
17298
 
      # with the same dynamic library.  Since this doesn't match the
17299
 
      # behavior of shared libraries on other platforms, we can't use
17300
 
      # them.
17301
 
      ld_shlibs_GCJ=no
17302
 
      ;;
17303
 
 
17304
 
    beos*)
17305
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17306
 
        allow_undefined_flag_GCJ=unsupported
17307
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17308
 
        # support --undefined.  This deserves some investigation.  FIXME
17309
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17310
 
      else
17311
 
        ld_shlibs_GCJ=no
17312
 
      fi
17313
 
      ;;
17314
 
 
17315
 
    cygwin* | mingw* | pw32*)
17316
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17317
 
      # as there is no search path for DLLs.
17318
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17319
 
      allow_undefined_flag_GCJ=unsupported
17320
 
      always_export_symbols_GCJ=no
17321
 
      enable_shared_with_static_runtimes_GCJ=yes
17322
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17323
 
 
17324
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17325
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17326
 
        # If the export-symbols file already is a .def file (1st line
17327
 
        # is EXPORTS), use it as is; otherwise, prepend...
17328
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17329
 
          cp $export_symbols $output_objdir/$soname.def;
17330
 
        else
17331
 
          echo EXPORTS > $output_objdir/$soname.def;
17332
 
          cat $export_symbols >> $output_objdir/$soname.def;
17333
 
        fi~
17334
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17335
 
      else
17336
 
        ld_shlibs_GCJ=no
17337
 
      fi
17338
 
      ;;
17339
 
 
17340
 
    interix[3-9]*)
17341
 
      hardcode_direct_GCJ=no
17342
 
      hardcode_shlibpath_var_GCJ=no
17343
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17344
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
17345
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17346
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
17347
 
      # default) and relocated if they conflict, which is a slow very memory
17348
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
17349
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17350
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
17351
 
      archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17352
 
      archive_expsym_cmds_GCJ='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'
17353
 
      ;;
17354
 
 
17355
 
    gnu* | linux* | k*bsd*-gnu)
17356
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17357
 
        tmp_addflag=
17358
 
        case $cc_basename,$host_cpu in
17359
 
        pgcc*)                          # Portland Group C compiler
17360
 
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17361
 
          tmp_addflag=' $pic_flag'
17362
 
          ;;
17363
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
17364
 
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17365
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
17366
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
17367
 
          tmp_addflag=' -i_dynamic' ;;
17368
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
17369
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
17370
 
        ifc* | ifort*)                  # Intel Fortran compiler
17371
 
          tmp_addflag=' -nofor_main' ;;
17372
 
        esac
17373
 
        case `$CC -V 2>&1 | sed 5q` in
17374
 
        *Sun\ C*)                       # Sun C 5.9
17375
 
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17376
 
          tmp_sharedflag='-G' ;;
17377
 
        *Sun\ F*)                       # Sun Fortran 8.3
17378
 
          tmp_sharedflag='-G' ;;
17379
 
        *)
17380
 
          tmp_sharedflag='-shared' ;;
17381
 
        esac
17382
 
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17383
 
 
17384
 
        if test $supports_anon_versioning = yes; then
17385
 
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
17386
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17387
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
17388
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17389
 
        fi
17390
 
      else
17391
 
        ld_shlibs_GCJ=no
17392
 
      fi
17393
 
      ;;
17394
 
 
17395
 
    netbsd*)
17396
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17397
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17398
 
        wlarc=
17399
 
      else
17400
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17401
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17402
 
      fi
17403
 
      ;;
17404
 
 
17405
 
    solaris*)
17406
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17407
 
        ld_shlibs_GCJ=no
17408
 
        cat <<EOF 1>&2
17409
 
 
17410
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
17411
 
*** create shared libraries on Solaris systems.  Therefore, libtool
17412
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17413
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
17414
 
*** your PATH or compiler configuration so that the native linker is
17415
 
*** used, and then restart.
17416
 
 
17417
 
EOF
17418
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17419
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17420
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17421
 
      else
17422
 
        ld_shlibs_GCJ=no
17423
 
      fi
17424
 
      ;;
17425
 
 
17426
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17427
 
      case `$LD -v 2>&1` in
17428
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17429
 
        ld_shlibs_GCJ=no
17430
 
        cat <<_LT_EOF 1>&2
17431
 
 
17432
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17433
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
17434
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17435
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
17436
 
*** your PATH or compiler configuration so that the native linker is
17437
 
*** used, and then restart.
17438
 
 
17439
 
_LT_EOF
17440
 
        ;;
17441
 
        *)
17442
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17443
 
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17444
 
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17445
 
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17446
 
          else
17447
 
            ld_shlibs_GCJ=no
17448
 
          fi
17449
 
        ;;
17450
 
      esac
17451
 
      ;;
17452
 
 
17453
 
    sunos4*)
17454
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17455
 
      wlarc=
17456
 
      hardcode_direct_GCJ=yes
17457
 
      hardcode_shlibpath_var_GCJ=no
17458
 
      ;;
17459
 
 
17460
 
    *)
17461
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17462
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17463
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17464
 
      else
17465
 
        ld_shlibs_GCJ=no
17466
 
      fi
17467
 
      ;;
17468
 
    esac
17469
 
 
17470
 
    if test "$ld_shlibs_GCJ" = no; then
17471
 
      runpath_var=
17472
 
      hardcode_libdir_flag_spec_GCJ=
17473
 
      export_dynamic_flag_spec_GCJ=
17474
 
      whole_archive_flag_spec_GCJ=
17475
 
    fi
17476
 
  else
17477
 
    # PORTME fill in a description of your system's linker (not GNU ld)
17478
 
    case $host_os in
17479
 
    aix3*)
17480
 
      allow_undefined_flag_GCJ=unsupported
17481
 
      always_export_symbols_GCJ=yes
17482
 
      archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
17483
 
      # Note: this linker hardcodes the directories in LIBPATH if there
17484
 
      # are no directories specified by -L.
17485
 
      hardcode_minus_L_GCJ=yes
17486
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17487
 
        # Neither direct hardcoding nor static linking is supported with a
17488
 
        # broken collect2.
17489
 
        hardcode_direct_GCJ=unsupported
17490
 
      fi
17491
 
      ;;
17492
 
 
17493
 
    aix4* | aix5*)
17494
 
      if test "$host_cpu" = ia64; then
17495
 
        # On IA64, the linker does run time linking by default, so we don't
17496
 
        # have to do anything special.
17497
 
        aix_use_runtimelinking=no
17498
 
        exp_sym_flag='-Bexport'
17499
 
        no_entry_flag=""
17500
 
      else
17501
 
        # If we're using GNU nm, then we don't want the "-C" option.
17502
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
17503
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17504
 
          export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17505
 
        else
17506
 
          export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17507
 
        fi
17508
 
        aix_use_runtimelinking=no
17509
 
 
17510
 
        # Test if we are trying to use run time linking or normal
17511
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17512
 
        # need to do runtime linking.
17513
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
17514
 
          for ld_flag in $LDFLAGS; do
17515
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17516
 
            aix_use_runtimelinking=yes
17517
 
            break
17518
 
          fi
17519
 
          done
17520
 
          ;;
17521
 
        esac
17522
 
 
17523
 
        exp_sym_flag='-bexport'
17524
 
        no_entry_flag='-bnoentry'
17525
 
      fi
17526
 
 
17527
 
      # When large executables or shared objects are built, AIX ld can
17528
 
      # have problems creating the table of contents.  If linking a library
17529
 
      # or program results in "error TOC overflow" add -mminimal-toc to
17530
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
17531
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17532
 
 
17533
 
      archive_cmds_GCJ=''
17534
 
      hardcode_direct_GCJ=yes
17535
 
      hardcode_libdir_separator_GCJ=':'
17536
 
      link_all_deplibs_GCJ=yes
17537
 
 
17538
 
      if test "$GCC" = yes; then
17539
 
        case $host_os in aix4.[012]|aix4.[012].*)
17540
 
        # We only want to do this on AIX 4.2 and lower, the check
17541
 
        # below for broken collect2 doesn't work under 4.3+
17542
 
          collect2name=`${CC} -print-prog-name=collect2`
17543
 
          if test -f "$collect2name" && \
17544
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
17545
 
          then
17546
 
          # We have reworked collect2
17547
 
          :
17548
 
          else
17549
 
          # We have old collect2
17550
 
          hardcode_direct_GCJ=unsupported
17551
 
          # It fails to find uninstalled libraries when the uninstalled
17552
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
17553
 
          # to unsupported forces relinking
17554
 
          hardcode_minus_L_GCJ=yes
17555
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
17556
 
          hardcode_libdir_separator_GCJ=
17557
 
          fi
17558
 
          ;;
17559
 
        esac
17560
 
        shared_flag='-shared'
17561
 
        if test "$aix_use_runtimelinking" = yes; then
17562
 
          shared_flag="$shared_flag "'${wl}-G'
17563
 
        fi
17564
 
      else
17565
 
        # not using gcc
17566
 
        if test "$host_cpu" = ia64; then
17567
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17568
 
        # chokes on -Wl,-G. The following line is correct:
17569
 
          shared_flag='-G'
17570
 
        else
17571
 
          if test "$aix_use_runtimelinking" = yes; then
17572
 
            shared_flag='${wl}-G'
17573
 
          else
17574
 
            shared_flag='${wl}-bM:SRE'
17575
 
          fi
17576
 
        fi
17577
 
      fi
17578
 
 
17579
 
      # It seems that -bexpall does not export symbols beginning with
17580
 
      # underscore (_), so it is better to generate a list of symbols to export.
17581
 
      always_export_symbols_GCJ=yes
17582
 
      if test "$aix_use_runtimelinking" = yes; then
17583
 
        # Warning - without using the other runtime loading flags (-brtl),
17584
 
        # -berok will link without error, but may produce a broken library.
17585
 
        allow_undefined_flag_GCJ='-berok'
17586
 
       # Determine the default libpath from the value encoded in an empty executable.
17587
 
       cat >conftest.$ac_ext <<_ACEOF
17588
 
/* confdefs.h.  */
17589
 
_ACEOF
17590
 
cat confdefs.h >>conftest.$ac_ext
17591
 
cat >>conftest.$ac_ext <<_ACEOF
17592
 
/* end confdefs.h.  */
17593
 
 
17594
 
int
17595
 
main ()
17596
 
{
17597
 
 
17598
 
  ;
17599
 
  return 0;
17600
 
}
17601
 
_ACEOF
17602
 
rm -f conftest.$ac_objext conftest$ac_exeext
17603
 
if { (ac_try="$ac_link"
17604
 
case "(($ac_try" in
17605
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17606
 
  *) ac_try_echo=$ac_try;;
17607
 
esac
17608
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17609
 
  (eval "$ac_link") 2>conftest.er1
17610
 
  ac_status=$?
17611
 
  grep -v '^ *+' conftest.er1 >conftest.err
17612
 
  rm -f conftest.er1
17613
 
  cat conftest.err >&5
17614
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17615
 
  (exit $ac_status); } && {
17616
 
         test -z "$ac_c_werror_flag" ||
17617
 
         test ! -s conftest.err
17618
 
       } && test -s conftest$ac_exeext &&
17619
 
       $as_test_x conftest$ac_exeext; then
17620
 
 
17621
 
lt_aix_libpath_sed='
17622
 
    /Import File Strings/,/^$/ {
17623
 
        /^0/ {
17624
 
            s/^0  *\(.*\)$/\1/
17625
 
            p
17626
 
        }
17627
 
    }'
17628
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17629
 
# Check for a 64-bit object if we didn't find anything.
17630
 
if test -z "$aix_libpath"; then
17631
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17632
 
fi
17633
 
else
17634
 
  echo "$as_me: failed program was:" >&5
17635
 
sed 's/^/| /' conftest.$ac_ext >&5
17636
 
 
17637
 
 
17638
 
fi
17639
 
 
17640
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17641
 
      conftest$ac_exeext conftest.$ac_ext
17642
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17643
 
 
17644
 
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17645
 
        archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17646
 
       else
17647
 
        if test "$host_cpu" = ia64; then
17648
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17649
 
          allow_undefined_flag_GCJ="-z nodefs"
17650
 
          archive_expsym_cmds_GCJ="\$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"
17651
 
        else
17652
 
         # Determine the default libpath from the value encoded in an empty executable.
17653
 
         cat >conftest.$ac_ext <<_ACEOF
17654
 
/* confdefs.h.  */
17655
 
_ACEOF
17656
 
cat confdefs.h >>conftest.$ac_ext
17657
 
cat >>conftest.$ac_ext <<_ACEOF
17658
 
/* end confdefs.h.  */
17659
 
 
17660
 
int
17661
 
main ()
17662
 
{
17663
 
 
17664
 
  ;
17665
 
  return 0;
17666
 
}
17667
 
_ACEOF
17668
 
rm -f conftest.$ac_objext conftest$ac_exeext
17669
 
if { (ac_try="$ac_link"
17670
 
case "(($ac_try" in
17671
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17672
 
  *) ac_try_echo=$ac_try;;
17673
 
esac
17674
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17675
 
  (eval "$ac_link") 2>conftest.er1
17676
 
  ac_status=$?
17677
 
  grep -v '^ *+' conftest.er1 >conftest.err
17678
 
  rm -f conftest.er1
17679
 
  cat conftest.err >&5
17680
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17681
 
  (exit $ac_status); } && {
17682
 
         test -z "$ac_c_werror_flag" ||
17683
 
         test ! -s conftest.err
17684
 
       } && test -s conftest$ac_exeext &&
17685
 
       $as_test_x conftest$ac_exeext; then
17686
 
 
17687
 
lt_aix_libpath_sed='
17688
 
    /Import File Strings/,/^$/ {
17689
 
        /^0/ {
17690
 
            s/^0  *\(.*\)$/\1/
17691
 
            p
17692
 
        }
17693
 
    }'
17694
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17695
 
# Check for a 64-bit object if we didn't find anything.
17696
 
if test -z "$aix_libpath"; then
17697
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17698
 
fi
17699
 
else
17700
 
  echo "$as_me: failed program was:" >&5
17701
 
sed 's/^/| /' conftest.$ac_ext >&5
17702
 
 
17703
 
 
17704
 
fi
17705
 
 
17706
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17707
 
      conftest$ac_exeext conftest.$ac_ext
17708
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17709
 
 
17710
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17711
 
          # Warning - without using the other run time loading flags,
17712
 
          # -berok will link without error, but may produce a broken library.
17713
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
17714
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
17715
 
          # Exported symbols can be pulled into shared objects from archives
17716
 
          whole_archive_flag_spec_GCJ='$convenience'
17717
 
          archive_cmds_need_lc_GCJ=yes
17718
 
          # This is similar to how AIX traditionally builds its shared libraries.
17719
 
          archive_expsym_cmds_GCJ="\$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'
17720
 
        fi
17721
 
      fi
17722
 
      ;;
17723
 
 
17724
 
    amigaos*)
17725
 
      archive_cmds_GCJ='$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)'
17726
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17727
 
      hardcode_minus_L_GCJ=yes
17728
 
      # see comment about different semantics on the GNU ld section
17729
 
      ld_shlibs_GCJ=no
17730
 
      ;;
17731
 
 
17732
 
    bsdi[45]*)
17733
 
      export_dynamic_flag_spec_GCJ=-rdynamic
17734
 
      ;;
17735
 
 
17736
 
    cygwin* | mingw* | pw32*)
17737
 
      # When not using gcc, we currently assume that we are using
17738
 
      # Microsoft Visual C++.
17739
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
17740
 
      # no search path for DLLs.
17741
 
      hardcode_libdir_flag_spec_GCJ=' '
17742
 
      allow_undefined_flag_GCJ=unsupported
17743
 
      # Tell ltmain to make .lib files, not .a files.
17744
 
      libext=lib
17745
 
      # Tell ltmain to make .dll files, not .so files.
17746
 
      shrext_cmds=".dll"
17747
 
      # FIXME: Setting linknames here is a bad hack.
17748
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17749
 
      # The linker will automatically build a .lib file if we build a DLL.
17750
 
      old_archive_From_new_cmds_GCJ='true'
17751
 
      # FIXME: Should let the user specify the lib program.
17752
 
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
17753
 
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
17754
 
      enable_shared_with_static_runtimes_GCJ=yes
17755
 
      ;;
17756
 
 
17757
 
    darwin* | rhapsody*)
17758
 
      case $host_os in
17759
 
        rhapsody* | darwin1.[012])
17760
 
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
17761
 
         ;;
17762
 
       *) # Darwin 1.3 on
17763
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17764
 
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17765
 
         else
17766
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
17767
 
             10.[012])
17768
 
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17769
 
               ;;
17770
 
             10.*)
17771
 
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
17772
 
               ;;
17773
 
           esac
17774
 
         fi
17775
 
         ;;
17776
 
      esac
17777
 
      archive_cmds_need_lc_GCJ=no
17778
 
      hardcode_direct_GCJ=no
17779
 
      hardcode_automatic_GCJ=yes
17780
 
      hardcode_shlibpath_var_GCJ=unsupported
17781
 
      whole_archive_flag_spec_GCJ=''
17782
 
      link_all_deplibs_GCJ=yes
17783
 
    if test "$GCC" = yes ; then
17784
 
        output_verbose_link_cmd='echo'
17785
 
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17786
 
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17787
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17788
 
      archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17789
 
      module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17790
 
    else
17791
 
      case $cc_basename in
17792
 
        xlc*)
17793
 
         output_verbose_link_cmd='echo'
17794
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17795
 
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17796
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17797
 
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17798
 
          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17799
 
          ;;
17800
 
       *)
17801
 
         ld_shlibs_GCJ=no
17802
 
          ;;
17803
 
      esac
17804
 
    fi
17805
 
      ;;
17806
 
 
17807
 
    dgux*)
17808
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17809
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17810
 
      hardcode_shlibpath_var_GCJ=no
17811
 
      ;;
17812
 
 
17813
 
    freebsd1*)
17814
 
      ld_shlibs_GCJ=no
17815
 
      ;;
17816
 
 
17817
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17818
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
17819
 
    # does not break anything, and helps significantly (at the cost of a little
17820
 
    # extra space).
17821
 
    freebsd2.2*)
17822
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17823
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17824
 
      hardcode_direct_GCJ=yes
17825
 
      hardcode_shlibpath_var_GCJ=no
17826
 
      ;;
17827
 
 
17828
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17829
 
    freebsd2*)
17830
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17831
 
      hardcode_direct_GCJ=yes
17832
 
      hardcode_minus_L_GCJ=yes
17833
 
      hardcode_shlibpath_var_GCJ=no
17834
 
      ;;
17835
 
 
17836
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17837
 
    freebsd* | dragonfly*)
17838
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17839
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17840
 
      hardcode_direct_GCJ=yes
17841
 
      hardcode_shlibpath_var_GCJ=no
17842
 
      ;;
17843
 
 
17844
 
    hpux9*)
17845
 
      if test "$GCC" = yes; then
17846
 
        archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17847
 
      else
17848
 
        archive_cmds_GCJ='$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'
17849
 
      fi
17850
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17851
 
      hardcode_libdir_separator_GCJ=:
17852
 
      hardcode_direct_GCJ=yes
17853
 
 
17854
 
      # hardcode_minus_L: Not really in the search PATH,
17855
 
      # but as the default location of the library.
17856
 
      hardcode_minus_L_GCJ=yes
17857
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
17858
 
      ;;
17859
 
 
17860
 
    hpux10*)
17861
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17862
 
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17863
 
      else
17864
 
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17865
 
      fi
17866
 
      if test "$with_gnu_ld" = no; then
17867
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17868
 
        hardcode_libdir_separator_GCJ=:
17869
 
 
17870
 
        hardcode_direct_GCJ=yes
17871
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
17872
 
 
17873
 
        # hardcode_minus_L: Not really in the search PATH,
17874
 
        # but as the default location of the library.
17875
 
        hardcode_minus_L_GCJ=yes
17876
 
      fi
17877
 
      ;;
17878
 
 
17879
 
    hpux11*)
17880
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17881
 
        case $host_cpu in
17882
 
        hppa*64*)
17883
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17884
 
          ;;
17885
 
        ia64*)
17886
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17887
 
          ;;
17888
 
        *)
17889
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17890
 
          ;;
17891
 
        esac
17892
 
      else
17893
 
        case $host_cpu in
17894
 
        hppa*64*)
17895
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17896
 
          ;;
17897
 
        ia64*)
17898
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17899
 
          ;;
17900
 
        *)
17901
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17902
 
          ;;
17903
 
        esac
17904
 
      fi
17905
 
      if test "$with_gnu_ld" = no; then
17906
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17907
 
        hardcode_libdir_separator_GCJ=:
17908
 
 
17909
 
        case $host_cpu in
17910
 
        hppa*64*|ia64*)
17911
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
17912
 
          hardcode_direct_GCJ=no
17913
 
          hardcode_shlibpath_var_GCJ=no
17914
 
          ;;
17915
 
        *)
17916
 
          hardcode_direct_GCJ=yes
17917
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
17918
 
 
17919
 
          # hardcode_minus_L: Not really in the search PATH,
17920
 
          # but as the default location of the library.
17921
 
          hardcode_minus_L_GCJ=yes
17922
 
          ;;
17923
 
        esac
17924
 
      fi
17925
 
      ;;
17926
 
 
17927
 
    irix5* | irix6* | nonstopux*)
17928
 
      if test "$GCC" = yes; then
17929
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17930
 
      else
17931
 
        archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17932
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
17933
 
      fi
17934
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17935
 
      hardcode_libdir_separator_GCJ=:
17936
 
      link_all_deplibs_GCJ=yes
17937
 
      ;;
17938
 
 
17939
 
    netbsd*)
17940
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17941
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
17942
 
      else
17943
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
17944
 
      fi
17945
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17946
 
      hardcode_direct_GCJ=yes
17947
 
      hardcode_shlibpath_var_GCJ=no
17948
 
      ;;
17949
 
 
17950
 
    newsos6)
17951
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17952
 
      hardcode_direct_GCJ=yes
17953
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17954
 
      hardcode_libdir_separator_GCJ=:
17955
 
      hardcode_shlibpath_var_GCJ=no
17956
 
      ;;
17957
 
 
17958
 
    openbsd*)
17959
 
      if test -f /usr/libexec/ld.so; then
17960
 
        hardcode_direct_GCJ=yes
17961
 
        hardcode_shlibpath_var_GCJ=no
17962
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17963
 
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17964
 
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17965
 
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17966
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
17967
 
        else
17968
 
          case $host_os in
17969
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17970
 
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17971
 
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
17972
 
             ;;
17973
 
           *)
17974
 
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17975
 
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17976
 
             ;;
17977
 
          esac
17978
 
        fi
17979
 
      else
17980
 
        ld_shlibs_GCJ=no
17981
 
      fi
17982
 
      ;;
17983
 
 
17984
 
    os2*)
17985
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17986
 
      hardcode_minus_L_GCJ=yes
17987
 
      allow_undefined_flag_GCJ=unsupported
17988
 
      archive_cmds_GCJ='$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'
17989
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17990
 
      ;;
17991
 
 
17992
 
    osf3*)
17993
 
      if test "$GCC" = yes; then
17994
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
17995
 
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17996
 
      else
17997
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
17998
 
        archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17999
 
      fi
18000
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18001
 
      hardcode_libdir_separator_GCJ=:
18002
 
      ;;
18003
 
 
18004
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
18005
 
      if test "$GCC" = yes; then
18006
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18007
 
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18008
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18009
 
      else
18010
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
18011
 
        archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18012
 
        archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
18013
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
18014
 
 
18015
 
        # Both c and cxx compiler support -rpath directly
18016
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
18017
 
      fi
18018
 
      hardcode_libdir_separator_GCJ=:
18019
 
      ;;
18020
 
 
18021
 
    solaris*)
18022
 
      no_undefined_flag_GCJ=' -z text'
18023
 
      if test "$GCC" = yes; then
18024
 
        wlarc='${wl}'
18025
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18026
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18027
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18028
 
      else
18029
 
        wlarc=''
18030
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18031
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18032
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18033
 
      fi
18034
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18035
 
      hardcode_shlibpath_var_GCJ=no
18036
 
      case $host_os in
18037
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
18038
 
      *)
18039
 
        # The compiler driver will combine and reorder linker options,
18040
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
18041
 
        # but is careful enough not to reorder.
18042
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
18043
 
        if test "$GCC" = yes; then
18044
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18045
 
        else
18046
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
18047
 
        fi
18048
 
        ;;
18049
 
      esac
18050
 
      link_all_deplibs_GCJ=yes
18051
 
      ;;
18052
 
 
18053
 
    sunos4*)
18054
 
      if test "x$host_vendor" = xsequent; then
18055
 
        # Use $CC to link under sequent, because it throws in some extra .o
18056
 
        # files that make .init and .fini sections work.
18057
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18058
 
      else
18059
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18060
 
      fi
18061
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18062
 
      hardcode_direct_GCJ=yes
18063
 
      hardcode_minus_L_GCJ=yes
18064
 
      hardcode_shlibpath_var_GCJ=no
18065
 
      ;;
18066
 
 
18067
 
    sysv4)
18068
 
      case $host_vendor in
18069
 
        sni)
18070
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18071
 
          hardcode_direct_GCJ=yes # is this really true???
18072
 
        ;;
18073
 
        siemens)
18074
 
          ## LD is ld it makes a PLAMLIB
18075
 
          ## CC just makes a GrossModule.
18076
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18077
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
18078
 
          hardcode_direct_GCJ=no
18079
 
        ;;
18080
 
        motorola)
18081
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18082
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
18083
 
        ;;
18084
 
      esac
18085
 
      runpath_var='LD_RUN_PATH'
18086
 
      hardcode_shlibpath_var_GCJ=no
18087
 
      ;;
18088
 
 
18089
 
    sysv4.3*)
18090
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18091
 
      hardcode_shlibpath_var_GCJ=no
18092
 
      export_dynamic_flag_spec_GCJ='-Bexport'
18093
 
      ;;
18094
 
 
18095
 
    sysv4*MP*)
18096
 
      if test -d /usr/nec; then
18097
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18098
 
        hardcode_shlibpath_var_GCJ=no
18099
 
        runpath_var=LD_RUN_PATH
18100
 
        hardcode_runpath_var=yes
18101
 
        ld_shlibs_GCJ=yes
18102
 
      fi
18103
 
      ;;
18104
 
 
18105
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18106
 
      no_undefined_flag_GCJ='${wl}-z,text'
18107
 
      archive_cmds_need_lc_GCJ=no
18108
 
      hardcode_shlibpath_var_GCJ=no
18109
 
      runpath_var='LD_RUN_PATH'
18110
 
 
18111
 
      if test "$GCC" = yes; then
18112
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18113
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18114
 
      else
18115
 
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18116
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18117
 
      fi
18118
 
      ;;
18119
 
 
18120
 
    sysv5* | sco3.2v5* | sco5v6*)
18121
 
      # Note: We can NOT use -z defs as we might desire, because we do not
18122
 
      # link with -lc, and that would cause any symbols used from libc to
18123
 
      # always be unresolved, which means just about no library would
18124
 
      # ever link correctly.  If we're not using GNU ld we use -z text
18125
 
      # though, which does catch some bad symbols but isn't as heavy-handed
18126
 
      # as -z defs.
18127
 
      no_undefined_flag_GCJ='${wl}-z,text'
18128
 
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
18129
 
      archive_cmds_need_lc_GCJ=no
18130
 
      hardcode_shlibpath_var_GCJ=no
18131
 
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18132
 
      hardcode_libdir_separator_GCJ=':'
18133
 
      link_all_deplibs_GCJ=yes
18134
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
18135
 
      runpath_var='LD_RUN_PATH'
18136
 
 
18137
 
      if test "$GCC" = yes; then
18138
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18139
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18140
 
      else
18141
 
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18142
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18143
 
      fi
18144
 
      ;;
18145
 
 
18146
 
    uts4*)
18147
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18148
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18149
 
      hardcode_shlibpath_var_GCJ=no
18150
 
      ;;
18151
 
 
18152
 
    *)
18153
 
      ld_shlibs_GCJ=no
18154
 
      ;;
18155
 
    esac
18156
 
  fi
18157
 
 
18158
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18159
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18160
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
18161
 
 
18162
 
#
18163
 
# Do we need to explicitly link libc?
18164
 
#
18165
 
case "x$archive_cmds_need_lc_GCJ" in
18166
 
x|xyes)
18167
 
  # Assume -lc should be added
18168
 
  archive_cmds_need_lc_GCJ=yes
18169
 
 
18170
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
18171
 
    case $archive_cmds_GCJ in
18172
 
    *'~'*)
18173
 
      # FIXME: we may have to deal with multi-command sequences.
18174
 
      ;;
18175
 
    '$CC '*)
18176
 
      # Test whether the compiler implicitly links with -lc since on some
18177
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
18178
 
      # to ld, don't add -lc before -lgcc.
18179
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18180
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18181
 
      $rm conftest*
18182
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18183
 
 
18184
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18185
 
  (eval $ac_compile) 2>&5
18186
 
  ac_status=$?
18187
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18188
 
  (exit $ac_status); } 2>conftest.err; then
18189
 
        soname=conftest
18190
 
        lib=conftest
18191
 
        libobjs=conftest.$ac_objext
18192
 
        deplibs=
18193
 
        wl=$lt_prog_compiler_wl_GCJ
18194
 
        pic_flag=$lt_prog_compiler_pic_GCJ
18195
 
        compiler_flags=-v
18196
 
        linker_flags=-v
18197
 
        verstring=
18198
 
        output_objdir=.
18199
 
        libname=conftest
18200
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
18201
 
        allow_undefined_flag_GCJ=
18202
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18203
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18204
 
  ac_status=$?
18205
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18206
 
  (exit $ac_status); }
18207
 
        then
18208
 
          archive_cmds_need_lc_GCJ=no
18209
 
        else
18210
 
          archive_cmds_need_lc_GCJ=yes
18211
 
        fi
18212
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
18213
 
      else
18214
 
        cat conftest.err 1>&5
18215
 
      fi
18216
 
      $rm conftest*
18217
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18218
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18219
 
      ;;
18220
 
    esac
18221
 
  fi
18222
 
  ;;
18223
 
esac
18224
 
 
18225
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18226
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18227
 
library_names_spec=
18228
 
libname_spec='lib$name'
18229
 
soname_spec=
18230
 
shrext_cmds=".so"
18231
 
postinstall_cmds=
18232
 
postuninstall_cmds=
18233
 
finish_cmds=
18234
 
finish_eval=
18235
 
shlibpath_var=
18236
 
shlibpath_overrides_runpath=unknown
18237
 
version_type=none
18238
 
dynamic_linker="$host_os ld.so"
18239
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
18240
 
 
18241
 
need_lib_prefix=unknown
18242
 
hardcode_into_libs=no
18243
 
 
18244
 
# when you set need_version to no, make sure it does not cause -set_version
18245
 
# flags to be left without arguments
18246
 
need_version=unknown
18247
 
 
18248
 
case $host_os in
18249
 
aix3*)
18250
 
  version_type=linux
18251
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18252
 
  shlibpath_var=LIBPATH
18253
 
 
18254
 
  # AIX 3 has no versioning support, so we append a major version to the name.
18255
 
  soname_spec='${libname}${release}${shared_ext}$major'
18256
 
  ;;
18257
 
 
18258
 
aix4* | aix5*)
18259
 
  version_type=linux
18260
 
  need_lib_prefix=no
18261
 
  need_version=no
18262
 
  hardcode_into_libs=yes
18263
 
  if test "$host_cpu" = ia64; then
18264
 
    # AIX 5 supports IA64
18265
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18266
 
    shlibpath_var=LD_LIBRARY_PATH
18267
 
  else
18268
 
    # With GCC up to 2.95.x, collect2 would create an import file
18269
 
    # for dependence libraries.  The import file would start with
18270
 
    # the line `#! .'.  This would cause the generated library to
18271
 
    # depend on `.', always an invalid library.  This was fixed in
18272
 
    # development snapshots of GCC prior to 3.0.
18273
 
    case $host_os in
18274
 
      aix4 | aix4.[01] | aix4.[01].*)
18275
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18276
 
           echo ' yes '
18277
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18278
 
        :
18279
 
      else
18280
 
        can_build_shared=no
18281
 
      fi
18282
 
      ;;
18283
 
    esac
18284
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18285
 
    # soname into executable. Probably we can add versioning support to
18286
 
    # collect2, so additional links can be useful in future.
18287
 
    if test "$aix_use_runtimelinking" = yes; then
18288
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18289
 
      # instead of lib<name>.a to let people know that these are not
18290
 
      # typical AIX shared libraries.
18291
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18292
 
    else
18293
 
      # We preserve .a as extension for shared libraries through AIX4.2
18294
 
      # and later when we are not doing run time linking.
18295
 
      library_names_spec='${libname}${release}.a $libname.a'
18296
 
      soname_spec='${libname}${release}${shared_ext}$major'
18297
 
    fi
18298
 
    shlibpath_var=LIBPATH
18299
 
  fi
18300
 
  ;;
18301
 
 
18302
 
amigaos*)
18303
 
  library_names_spec='$libname.ixlibrary $libname.a'
18304
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
18305
 
  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
18306
 
  ;;
18307
 
 
18308
 
beos*)
18309
 
  library_names_spec='${libname}${shared_ext}'
18310
 
  dynamic_linker="$host_os ld.so"
18311
 
  shlibpath_var=LIBRARY_PATH
18312
 
  ;;
18313
 
 
18314
 
bsdi[45]*)
18315
 
  version_type=linux
18316
 
  need_version=no
18317
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18318
 
  soname_spec='${libname}${release}${shared_ext}$major'
18319
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18320
 
  shlibpath_var=LD_LIBRARY_PATH
18321
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18322
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18323
 
  # the default ld.so.conf also contains /usr/contrib/lib and
18324
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18325
 
  # libtool to hard-code these into programs
18326
 
  ;;
18327
 
 
18328
 
cygwin* | mingw* | pw32*)
18329
 
  version_type=windows
18330
 
  shrext_cmds=".dll"
18331
 
  need_version=no
18332
 
  need_lib_prefix=no
18333
 
 
18334
 
  case $GCC,$host_os in
18335
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
18336
 
    library_names_spec='$libname.dll.a'
18337
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
18338
 
    postinstall_cmds='base_file=`basename \${file}`~
18339
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18340
 
      dldir=$destdir/`dirname \$dlpath`~
18341
 
      test -d \$dldir || mkdir -p \$dldir~
18342
 
      $install_prog $dir/$dlname \$dldir/$dlname~
18343
 
      chmod a+x \$dldir/$dlname'
18344
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18345
 
      dlpath=$dir/\$dldll~
18346
 
       $rm \$dlpath'
18347
 
    shlibpath_overrides_runpath=yes
18348
 
 
18349
 
    case $host_os in
18350
 
    cygwin*)
18351
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18352
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18353
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18354
 
      ;;
18355
 
    mingw*)
18356
 
      # MinGW DLLs use traditional 'lib' prefix
18357
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18358
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18359
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18360
 
        # It is most probably a Windows format PATH printed by
18361
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
18362
 
        # path with ; separators, and with drive letters. We can handle the
18363
 
        # drive letters (cygwin fileutils understands them), so leave them,
18364
 
        # especially as we might pass files found there to a mingw objdump,
18365
 
        # which wouldn't understand a cygwinified path. Ahh.
18366
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18367
 
      else
18368
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
18369
 
      fi
18370
 
      ;;
18371
 
    pw32*)
18372
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
18373
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18374
 
      ;;
18375
 
    esac
18376
 
    ;;
18377
 
 
18378
 
  *)
18379
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18380
 
    ;;
18381
 
  esac
18382
 
  dynamic_linker='Win32 ld.exe'
18383
 
  # FIXME: first we should search . and the directory the executable is in
18384
 
  shlibpath_var=PATH
18385
 
  ;;
18386
 
 
18387
 
darwin* | rhapsody*)
18388
 
  dynamic_linker="$host_os dyld"
18389
 
  version_type=darwin
18390
 
  need_lib_prefix=no
18391
 
  need_version=no
18392
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18393
 
  soname_spec='${libname}${release}${major}$shared_ext'
18394
 
  shlibpath_overrides_runpath=yes
18395
 
  shlibpath_var=DYLD_LIBRARY_PATH
18396
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18397
 
 
18398
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18399
 
  ;;
18400
 
 
18401
 
dgux*)
18402
 
  version_type=linux
18403
 
  need_lib_prefix=no
18404
 
  need_version=no
18405
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18406
 
  soname_spec='${libname}${release}${shared_ext}$major'
18407
 
  shlibpath_var=LD_LIBRARY_PATH
18408
 
  ;;
18409
 
 
18410
 
freebsd1*)
18411
 
  dynamic_linker=no
18412
 
  ;;
18413
 
 
18414
 
freebsd* | dragonfly*)
18415
 
  # DragonFly does not have aout.  When/if they implement a new
18416
 
  # versioning mechanism, adjust this.
18417
 
  if test -x /usr/bin/objformat; then
18418
 
    objformat=`/usr/bin/objformat`
18419
 
  else
18420
 
    case $host_os in
18421
 
    freebsd[123]*) objformat=aout ;;
18422
 
    *) objformat=elf ;;
18423
 
    esac
18424
 
  fi
18425
 
  version_type=freebsd-$objformat
18426
 
  case $version_type in
18427
 
    freebsd-elf*)
18428
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18429
 
      need_version=no
18430
 
      need_lib_prefix=no
18431
 
      ;;
18432
 
    freebsd-*)
18433
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18434
 
      need_version=yes
18435
 
      ;;
18436
 
  esac
18437
 
  shlibpath_var=LD_LIBRARY_PATH
18438
 
  case $host_os in
18439
 
  freebsd2*)
18440
 
    shlibpath_overrides_runpath=yes
18441
 
    ;;
18442
 
  freebsd3.[01]* | freebsdelf3.[01]*)
18443
 
    shlibpath_overrides_runpath=yes
18444
 
    hardcode_into_libs=yes
18445
 
    ;;
18446
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18447
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18448
 
    shlibpath_overrides_runpath=no
18449
 
    hardcode_into_libs=yes
18450
 
    ;;
18451
 
  *) # from 4.6 on, and DragonFly
18452
 
    shlibpath_overrides_runpath=yes
18453
 
    hardcode_into_libs=yes
18454
 
    ;;
18455
 
  esac
18456
 
  ;;
18457
 
 
18458
 
gnu*)
18459
 
  version_type=linux
18460
 
  need_lib_prefix=no
18461
 
  need_version=no
18462
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18463
 
  soname_spec='${libname}${release}${shared_ext}$major'
18464
 
  shlibpath_var=LD_LIBRARY_PATH
18465
 
  hardcode_into_libs=yes
18466
 
  ;;
18467
 
 
18468
 
hpux9* | hpux10* | hpux11*)
18469
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
18470
 
  # link against other versions.
18471
 
  version_type=sunos
18472
 
  need_lib_prefix=no
18473
 
  need_version=no
18474
 
  case $host_cpu in
18475
 
  ia64*)
18476
 
    shrext_cmds='.so'
18477
 
    hardcode_into_libs=yes
18478
 
    dynamic_linker="$host_os dld.so"
18479
 
    shlibpath_var=LD_LIBRARY_PATH
18480
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18481
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18482
 
    soname_spec='${libname}${release}${shared_ext}$major'
18483
 
    if test "X$HPUX_IA64_MODE" = X32; then
18484
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18485
 
    else
18486
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18487
 
    fi
18488
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18489
 
    ;;
18490
 
   hppa*64*)
18491
 
     shrext_cmds='.sl'
18492
 
     hardcode_into_libs=yes
18493
 
     dynamic_linker="$host_os dld.sl"
18494
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18495
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18496
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18497
 
     soname_spec='${libname}${release}${shared_ext}$major'
18498
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18499
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18500
 
     ;;
18501
 
   *)
18502
 
    shrext_cmds='.sl'
18503
 
    dynamic_linker="$host_os dld.sl"
18504
 
    shlibpath_var=SHLIB_PATH
18505
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18506
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18507
 
    soname_spec='${libname}${release}${shared_ext}$major'
18508
 
    ;;
18509
 
  esac
18510
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
18511
 
  postinstall_cmds='chmod 555 $lib'
18512
 
  ;;
18513
 
 
18514
 
interix[3-9]*)
18515
 
  version_type=linux
18516
 
  need_lib_prefix=no
18517
 
  need_version=no
18518
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18519
 
  soname_spec='${libname}${release}${shared_ext}$major'
18520
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18521
 
  shlibpath_var=LD_LIBRARY_PATH
18522
 
  shlibpath_overrides_runpath=no
18523
 
  hardcode_into_libs=yes
18524
 
  ;;
18525
 
 
18526
 
irix5* | irix6* | nonstopux*)
18527
 
  case $host_os in
18528
 
    nonstopux*) version_type=nonstopux ;;
18529
 
    *)
18530
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
18531
 
                version_type=linux
18532
 
        else
18533
 
                version_type=irix
18534
 
        fi ;;
18535
 
  esac
18536
 
  need_lib_prefix=no
18537
 
  need_version=no
18538
 
  soname_spec='${libname}${release}${shared_ext}$major'
18539
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18540
 
  case $host_os in
18541
 
  irix5* | nonstopux*)
18542
 
    libsuff= shlibsuff=
18543
 
    ;;
18544
 
  *)
18545
 
    case $LD in # libtool.m4 will add one of these switches to LD
18546
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18547
 
      libsuff= shlibsuff= libmagic=32-bit;;
18548
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18549
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
18550
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18551
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
18552
 
    *) libsuff= shlibsuff= libmagic=never-match;;
18553
 
    esac
18554
 
    ;;
18555
 
  esac
18556
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18557
 
  shlibpath_overrides_runpath=no
18558
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18559
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18560
 
  hardcode_into_libs=yes
18561
 
  ;;
18562
 
 
18563
 
# No shared lib support for Linux oldld, aout, or coff.
18564
 
linux*oldld* | linux*aout* | linux*coff*)
18565
 
  dynamic_linker=no
18566
 
  ;;
18567
 
 
18568
 
# This must be Linux ELF.
18569
 
linux* | k*bsd*-gnu)
18570
 
  version_type=linux
18571
 
  need_lib_prefix=no
18572
 
  need_version=no
18573
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18574
 
  soname_spec='${libname}${release}${shared_ext}$major'
18575
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18576
 
  shlibpath_var=LD_LIBRARY_PATH
18577
 
  shlibpath_overrides_runpath=no
18578
 
  # This implies no fast_install, which is unacceptable.
18579
 
  # Some rework will be needed to allow for fast_install
18580
 
  # before this can be enabled.
18581
 
  hardcode_into_libs=yes
18582
 
 
18583
 
  # Append ld.so.conf contents to the search path
18584
 
  if test -f /etc/ld.so.conf; then
18585
 
    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;/^$/d' | tr '\n' ' '`
18586
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18587
 
  fi
18588
 
 
18589
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
18590
 
  # powerpc, because MkLinux only supported shared libraries with the
18591
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
18592
 
  # most powerpc-linux boxes support dynamic linking these days and
18593
 
  # people can always --disable-shared, the test was removed, and we
18594
 
  # assume the GNU/Linux dynamic linker is in use.
18595
 
  dynamic_linker='GNU/Linux ld.so'
18596
 
  ;;
18597
 
 
18598
 
netbsd*)
18599
 
  version_type=sunos
18600
 
  need_lib_prefix=no
18601
 
  need_version=no
18602
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18603
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18604
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18605
 
    dynamic_linker='NetBSD (a.out) ld.so'
18606
 
  else
18607
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18608
 
    soname_spec='${libname}${release}${shared_ext}$major'
18609
 
    dynamic_linker='NetBSD ld.elf_so'
18610
 
  fi
18611
 
  shlibpath_var=LD_LIBRARY_PATH
18612
 
  shlibpath_overrides_runpath=yes
18613
 
  hardcode_into_libs=yes
18614
 
  ;;
18615
 
 
18616
 
newsos6)
18617
 
  version_type=linux
18618
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18619
 
  shlibpath_var=LD_LIBRARY_PATH
18620
 
  shlibpath_overrides_runpath=yes
18621
 
  ;;
18622
 
 
18623
 
nto-qnx*)
18624
 
  version_type=linux
18625
 
  need_lib_prefix=no
18626
 
  need_version=no
18627
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18628
 
  soname_spec='${libname}${release}${shared_ext}$major'
18629
 
  shlibpath_var=LD_LIBRARY_PATH
18630
 
  shlibpath_overrides_runpath=yes
18631
 
  ;;
18632
 
 
18633
 
openbsd*)
18634
 
  version_type=sunos
18635
 
  sys_lib_dlsearch_path_spec="/usr/lib"
18636
 
  need_lib_prefix=no
18637
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18638
 
  case $host_os in
18639
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18640
 
    *)                         need_version=no  ;;
18641
 
  esac
18642
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18643
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18644
 
  shlibpath_var=LD_LIBRARY_PATH
18645
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18646
 
    case $host_os in
18647
 
      openbsd2.[89] | openbsd2.[89].*)
18648
 
        shlibpath_overrides_runpath=no
18649
 
        ;;
18650
 
      *)
18651
 
        shlibpath_overrides_runpath=yes
18652
 
        ;;
18653
 
      esac
18654
 
  else
18655
 
    shlibpath_overrides_runpath=yes
18656
 
  fi
18657
 
  ;;
18658
 
 
18659
 
os2*)
18660
 
  libname_spec='$name'
18661
 
  shrext_cmds=".dll"
18662
 
  need_lib_prefix=no
18663
 
  library_names_spec='$libname${shared_ext} $libname.a'
18664
 
  dynamic_linker='OS/2 ld.exe'
18665
 
  shlibpath_var=LIBPATH
18666
 
  ;;
18667
 
 
18668
 
osf3* | osf4* | osf5*)
18669
 
  version_type=osf
18670
 
  need_lib_prefix=no
18671
 
  need_version=no
18672
 
  soname_spec='${libname}${release}${shared_ext}$major'
18673
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18674
 
  shlibpath_var=LD_LIBRARY_PATH
18675
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18676
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18677
 
  ;;
18678
 
 
18679
 
rdos*)
18680
 
  dynamic_linker=no
18681
 
  ;;
18682
 
 
18683
 
solaris*)
18684
 
  version_type=linux
18685
 
  need_lib_prefix=no
18686
 
  need_version=no
18687
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18688
 
  soname_spec='${libname}${release}${shared_ext}$major'
18689
 
  shlibpath_var=LD_LIBRARY_PATH
18690
 
  shlibpath_overrides_runpath=yes
18691
 
  hardcode_into_libs=yes
18692
 
  # ldd complains unless libraries are executable
18693
 
  postinstall_cmds='chmod +x $lib'
18694
 
  ;;
18695
 
 
18696
 
sunos4*)
18697
 
  version_type=sunos
18698
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18699
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18700
 
  shlibpath_var=LD_LIBRARY_PATH
18701
 
  shlibpath_overrides_runpath=yes
18702
 
  if test "$with_gnu_ld" = yes; then
18703
 
    need_lib_prefix=no
18704
 
  fi
18705
 
  need_version=yes
18706
 
  ;;
18707
 
 
18708
 
sysv4 | sysv4.3*)
18709
 
  version_type=linux
18710
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18711
 
  soname_spec='${libname}${release}${shared_ext}$major'
18712
 
  shlibpath_var=LD_LIBRARY_PATH
18713
 
  case $host_vendor in
18714
 
    sni)
18715
 
      shlibpath_overrides_runpath=no
18716
 
      need_lib_prefix=no
18717
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
18718
 
      runpath_var=LD_RUN_PATH
18719
 
      ;;
18720
 
    siemens)
18721
 
      need_lib_prefix=no
18722
 
      ;;
18723
 
    motorola)
18724
 
      need_lib_prefix=no
18725
 
      need_version=no
18726
 
      shlibpath_overrides_runpath=no
18727
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18728
 
      ;;
18729
 
  esac
18730
 
  ;;
18731
 
 
18732
 
sysv4*MP*)
18733
 
  if test -d /usr/nec ;then
18734
 
    version_type=linux
18735
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18736
 
    soname_spec='$libname${shared_ext}.$major'
18737
 
    shlibpath_var=LD_LIBRARY_PATH
18738
 
  fi
18739
 
  ;;
18740
 
 
18741
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18742
 
  version_type=freebsd-elf
18743
 
  need_lib_prefix=no
18744
 
  need_version=no
18745
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18746
 
  soname_spec='${libname}${release}${shared_ext}$major'
18747
 
  shlibpath_var=LD_LIBRARY_PATH
18748
 
  hardcode_into_libs=yes
18749
 
  if test "$with_gnu_ld" = yes; then
18750
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18751
 
    shlibpath_overrides_runpath=no
18752
 
  else
18753
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18754
 
    shlibpath_overrides_runpath=yes
18755
 
    case $host_os in
18756
 
      sco3.2v5*)
18757
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18758
 
        ;;
18759
 
    esac
18760
 
  fi
18761
 
  sys_lib_dlsearch_path_spec='/usr/lib'
18762
 
  ;;
18763
 
 
18764
 
uts4*)
18765
 
  version_type=linux
18766
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18767
 
  soname_spec='${libname}${release}${shared_ext}$major'
18768
 
  shlibpath_var=LD_LIBRARY_PATH
18769
 
  ;;
18770
 
 
18771
 
*)
18772
 
  dynamic_linker=no
18773
 
  ;;
18774
 
esac
18775
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18776
 
echo "${ECHO_T}$dynamic_linker" >&6; }
18777
 
test "$dynamic_linker" = no && can_build_shared=no
18778
 
 
18779
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18780
 
if test "$GCC" = yes; then
18781
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18782
 
fi
18783
 
 
18784
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18785
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18786
 
hardcode_action_GCJ=
18787
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18788
 
   test -n "$runpath_var_GCJ" || \
18789
 
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18790
 
 
18791
 
  # We can hardcode non-existant directories.
18792
 
  if test "$hardcode_direct_GCJ" != no &&
18793
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
18794
 
     # have to relink, otherwise we might link with an installed library
18795
 
     # when we should be linking with a yet-to-be-installed one
18796
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18797
 
     test "$hardcode_minus_L_GCJ" != no; then
18798
 
    # Linking always hardcodes the temporary library directory.
18799
 
    hardcode_action_GCJ=relink
18800
 
  else
18801
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
18802
 
    hardcode_action_GCJ=immediate
18803
 
  fi
18804
 
else
18805
 
  # We cannot hardcode anything, or else we can only hardcode existing
18806
 
  # directories.
18807
 
  hardcode_action_GCJ=unsupported
18808
 
fi
18809
 
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18810
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18811
 
 
18812
 
if test "$hardcode_action_GCJ" = relink; then
18813
 
  # Fast installation is not supported
18814
 
  enable_fast_install=no
18815
 
elif test "$shlibpath_overrides_runpath" = yes ||
18816
 
     test "$enable_shared" = no; then
18817
 
  # Fast installation is not necessary
18818
 
  enable_fast_install=needless
18819
 
fi
18820
 
 
18821
 
 
18822
 
# The else clause should only fire when bootstrapping the
18823
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
18824
 
# with your package, and you will get complaints that there are
18825
 
# no rules to generate ltmain.sh.
18826
 
if test -f "$ltmain"; then
18827
 
  # See if we are running on zsh, and set the options which allow our commands through
18828
 
  # without removal of \ escapes.
18829
 
  if test -n "${ZSH_VERSION+set}" ; then
18830
 
    setopt NO_GLOB_SUBST
18831
 
  fi
18832
 
  # Now quote all the things that may contain metacharacters while being
18833
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18834
 
  # variables and quote the copies for generation of the libtool script.
18835
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18836
 
    SED SHELL STRIP \
18837
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18838
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18839
 
    deplibs_check_method reload_flag reload_cmds need_locks \
18840
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18841
 
    lt_cv_sys_global_symbol_to_c_name_address \
18842
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18843
 
    old_postinstall_cmds old_postuninstall_cmds \
18844
 
    compiler_GCJ \
18845
 
    CC_GCJ \
18846
 
    LD_GCJ \
18847
 
    lt_prog_compiler_wl_GCJ \
18848
 
    lt_prog_compiler_pic_GCJ \
18849
 
    lt_prog_compiler_static_GCJ \
18850
 
    lt_prog_compiler_no_builtin_flag_GCJ \
18851
 
    export_dynamic_flag_spec_GCJ \
18852
 
    thread_safe_flag_spec_GCJ \
18853
 
    whole_archive_flag_spec_GCJ \
18854
 
    enable_shared_with_static_runtimes_GCJ \
18855
 
    old_archive_cmds_GCJ \
18856
 
    old_archive_from_new_cmds_GCJ \
18857
 
    predep_objects_GCJ \
18858
 
    postdep_objects_GCJ \
18859
 
    predeps_GCJ \
18860
 
    postdeps_GCJ \
18861
 
    compiler_lib_search_path_GCJ \
18862
 
    archive_cmds_GCJ \
18863
 
    archive_expsym_cmds_GCJ \
18864
 
    postinstall_cmds_GCJ \
18865
 
    postuninstall_cmds_GCJ \
18866
 
    old_archive_from_expsyms_cmds_GCJ \
18867
 
    allow_undefined_flag_GCJ \
18868
 
    no_undefined_flag_GCJ \
18869
 
    export_symbols_cmds_GCJ \
18870
 
    hardcode_libdir_flag_spec_GCJ \
18871
 
    hardcode_libdir_flag_spec_ld_GCJ \
18872
 
    hardcode_libdir_separator_GCJ \
18873
 
    hardcode_automatic_GCJ \
18874
 
    module_cmds_GCJ \
18875
 
    module_expsym_cmds_GCJ \
18876
 
    lt_cv_prog_compiler_c_o_GCJ \
18877
 
    fix_srcfile_path_GCJ \
18878
 
    exclude_expsyms_GCJ \
18879
 
    include_expsyms_GCJ; do
18880
 
 
18881
 
    case $var in
18882
 
    old_archive_cmds_GCJ | \
18883
 
    old_archive_from_new_cmds_GCJ | \
18884
 
    archive_cmds_GCJ | \
18885
 
    archive_expsym_cmds_GCJ | \
18886
 
    module_cmds_GCJ | \
18887
 
    module_expsym_cmds_GCJ | \
18888
 
    old_archive_from_expsyms_cmds_GCJ | \
18889
 
    export_symbols_cmds_GCJ | \
18890
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
18891
 
    postinstall_cmds | postuninstall_cmds | \
18892
 
    old_postinstall_cmds | old_postuninstall_cmds | \
18893
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18894
 
      # Double-quote double-evaled strings.
18895
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18896
 
      ;;
18897
 
    *)
18898
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18899
 
      ;;
18900
 
    esac
18901
 
  done
18902
 
 
18903
 
  case $lt_echo in
18904
 
  *'\$0 --fallback-echo"')
18905
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18906
 
    ;;
18907
 
  esac
18908
 
 
18909
 
cfgfile="$ofile"
18910
 
 
18911
 
  cat <<__EOF__ >> "$cfgfile"
18912
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
18913
 
 
18914
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18915
 
 
18916
 
# Shell to use when invoking shell scripts.
18917
 
SHELL=$lt_SHELL
18918
 
 
18919
 
# Whether or not to build shared libraries.
18920
 
build_libtool_libs=$enable_shared
18921
 
 
18922
 
# Whether or not to build static libraries.
18923
 
build_old_libs=$enable_static
18924
 
 
18925
 
# Whether or not to add -lc for building shared libraries.
18926
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18927
 
 
18928
 
# Whether or not to disallow shared libs when runtime libs are static
18929
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18930
 
 
18931
 
# Whether or not to optimize for fast installation.
18932
 
fast_install=$enable_fast_install
18933
 
 
18934
 
# The host system.
18935
 
host_alias=$host_alias
18936
 
host=$host
18937
 
host_os=$host_os
18938
 
 
18939
 
# The build system.
18940
 
build_alias=$build_alias
18941
 
build=$build
18942
 
build_os=$build_os
18943
 
 
18944
 
# An echo program that does not interpret backslashes.
18945
 
echo=$lt_echo
18946
 
 
18947
 
# The archiver.
18948
 
AR=$lt_AR
18949
 
AR_FLAGS=$lt_AR_FLAGS
18950
 
 
18951
 
# A C compiler.
18952
 
LTCC=$lt_LTCC
18953
 
 
18954
 
# LTCC compiler flags.
18955
 
LTCFLAGS=$lt_LTCFLAGS
18956
 
 
18957
 
# A language-specific compiler.
18958
 
CC=$lt_compiler_GCJ
18959
 
 
18960
 
# Is the compiler the GNU C compiler?
18961
 
with_gcc=$GCC_GCJ
18962
 
 
18963
 
# An ERE matcher.
18964
 
EGREP=$lt_EGREP
18965
 
 
18966
 
# The linker used to build libraries.
18967
 
LD=$lt_LD_GCJ
18968
 
 
18969
 
# Whether we need hard or soft links.
18970
 
LN_S=$lt_LN_S
18971
 
 
18972
 
# A BSD-compatible nm program.
18973
 
NM=$lt_NM
18974
 
 
18975
 
# A symbol stripping program
18976
 
STRIP=$lt_STRIP
18977
 
 
18978
 
# Used to examine libraries when file_magic_cmd begins "file"
18979
 
MAGIC_CMD=$MAGIC_CMD
18980
 
 
18981
 
# Used on cygwin: DLL creation program.
18982
 
DLLTOOL="$DLLTOOL"
18983
 
 
18984
 
# Used on cygwin: object dumper.
18985
 
OBJDUMP="$OBJDUMP"
18986
 
 
18987
 
# Used on cygwin: assembler.
18988
 
AS="$AS"
18989
 
 
18990
 
# The name of the directory that contains temporary libtool files.
18991
 
objdir=$objdir
18992
 
 
18993
 
# How to create reloadable object files.
18994
 
reload_flag=$lt_reload_flag
18995
 
reload_cmds=$lt_reload_cmds
18996
 
 
18997
 
# How to pass a linker flag through the compiler.
18998
 
wl=$lt_lt_prog_compiler_wl_GCJ
18999
 
 
19000
 
# Object file suffix (normally "o").
19001
 
objext="$ac_objext"
19002
 
 
19003
 
# Old archive suffix (normally "a").
19004
 
libext="$libext"
19005
 
 
19006
 
# Shared library suffix (normally ".so").
19007
 
shrext_cmds='$shrext_cmds'
19008
 
 
19009
 
# Executable file suffix (normally "").
19010
 
exeext="$exeext"
19011
 
 
19012
 
# Additional compiler flags for building library objects.
19013
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
19014
 
pic_mode=$pic_mode
19015
 
 
19016
 
# What is the maximum length of a command?
19017
 
max_cmd_len=$lt_cv_sys_max_cmd_len
19018
 
 
19019
 
# Does compiler simultaneously support -c and -o options?
19020
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19021
 
 
19022
 
# Must we lock files when doing compilation?
19023
 
need_locks=$lt_need_locks
19024
 
 
19025
 
# Do we need the lib prefix for modules?
19026
 
need_lib_prefix=$need_lib_prefix
19027
 
 
19028
 
# Do we need a version for libraries?
19029
 
need_version=$need_version
19030
 
 
19031
 
# Whether dlopen is supported.
19032
 
dlopen_support=$enable_dlopen
19033
 
 
19034
 
# Whether dlopen of programs is supported.
19035
 
dlopen_self=$enable_dlopen_self
19036
 
 
19037
 
# Whether dlopen of statically linked programs is supported.
19038
 
dlopen_self_static=$enable_dlopen_self_static
19039
 
 
19040
 
# Compiler flag to prevent dynamic linking.
19041
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
19042
 
 
19043
 
# Compiler flag to turn off builtin functions.
19044
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19045
 
 
19046
 
# Compiler flag to allow reflexive dlopens.
19047
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19048
 
 
19049
 
# Compiler flag to generate shared objects directly from archives.
19050
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19051
 
 
19052
 
# Compiler flag to generate thread-safe objects.
19053
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19054
 
 
19055
 
# Library versioning type.
19056
 
version_type=$version_type
19057
 
 
19058
 
# Format of library name prefix.
19059
 
libname_spec=$lt_libname_spec
19060
 
 
19061
 
# List of archive names.  First name is the real one, the rest are links.
19062
 
# The last name is the one that the linker finds with -lNAME.
19063
 
library_names_spec=$lt_library_names_spec
19064
 
 
19065
 
# The coded name of the library, if different from the real name.
19066
 
soname_spec=$lt_soname_spec
19067
 
 
19068
 
# Commands used to build and install an old-style archive.
19069
 
RANLIB=$lt_RANLIB
19070
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
19071
 
old_postinstall_cmds=$lt_old_postinstall_cmds
19072
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19073
 
 
19074
 
# Create an old-style archive from a shared archive.
19075
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19076
 
 
19077
 
# Create a temporary old-style archive to link instead of a shared archive.
19078
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19079
 
 
19080
 
# Commands used to build and install a shared archive.
19081
 
archive_cmds=$lt_archive_cmds_GCJ
19082
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19083
 
postinstall_cmds=$lt_postinstall_cmds
19084
 
postuninstall_cmds=$lt_postuninstall_cmds
19085
 
 
19086
 
# Commands used to build a loadable module (assumed same as above if empty)
19087
 
module_cmds=$lt_module_cmds_GCJ
19088
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19089
 
 
19090
 
# Commands to strip libraries.
19091
 
old_striplib=$lt_old_striplib
19092
 
striplib=$lt_striplib
19093
 
 
19094
 
# Dependencies to place before the objects being linked to create a
19095
 
# shared library.
19096
 
predep_objects=$lt_predep_objects_GCJ
19097
 
 
19098
 
# Dependencies to place after the objects being linked to create a
19099
 
# shared library.
19100
 
postdep_objects=$lt_postdep_objects_GCJ
19101
 
 
19102
 
# Dependencies to place before the objects being linked to create a
19103
 
# shared library.
19104
 
predeps=$lt_predeps_GCJ
19105
 
 
19106
 
# Dependencies to place after the objects being linked to create a
19107
 
# shared library.
19108
 
postdeps=$lt_postdeps_GCJ
19109
 
 
19110
 
# The library search path used internally by the compiler when linking
19111
 
# a shared library.
19112
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19113
 
 
19114
 
# Method to check whether dependent libraries are shared objects.
19115
 
deplibs_check_method=$lt_deplibs_check_method
19116
 
 
19117
 
# Command to use when deplibs_check_method == file_magic.
19118
 
file_magic_cmd=$lt_file_magic_cmd
19119
 
 
19120
 
# Flag that allows shared libraries with undefined symbols to be built.
19121
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19122
 
 
19123
 
# Flag that forces no undefined symbols.
19124
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
19125
 
 
19126
 
# Commands used to finish a libtool library installation in a directory.
19127
 
finish_cmds=$lt_finish_cmds
19128
 
 
19129
 
# Same as above, but a single script fragment to be evaled but not shown.
19130
 
finish_eval=$lt_finish_eval
19131
 
 
19132
 
# Take the output of nm and produce a listing of raw symbols and C names.
19133
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19134
 
 
19135
 
# Transform the output of nm in a proper C declaration
19136
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19137
 
 
19138
 
# Transform the output of nm in a C name address pair
19139
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19140
 
 
19141
 
# This is the shared library runtime path variable.
19142
 
runpath_var=$runpath_var
19143
 
 
19144
 
# This is the shared library path variable.
19145
 
shlibpath_var=$shlibpath_var
19146
 
 
19147
 
# Is shlibpath searched before the hard-coded library search path?
19148
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19149
 
 
19150
 
# How to hardcode a shared library path into an executable.
19151
 
hardcode_action=$hardcode_action_GCJ
19152
 
 
19153
 
# Whether we should hardcode library paths into libraries.
19154
 
hardcode_into_libs=$hardcode_into_libs
19155
 
 
19156
 
# Flag to hardcode \$libdir into a binary during linking.
19157
 
# This must work even if \$libdir does not exist.
19158
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19159
 
 
19160
 
# If ld is used when linking, flag to hardcode \$libdir into
19161
 
# a binary during linking. This must work even if \$libdir does
19162
 
# not exist.
19163
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19164
 
 
19165
 
# Whether we need a single -rpath flag with a separated argument.
19166
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19167
 
 
19168
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19169
 
# resulting binary.
19170
 
hardcode_direct=$hardcode_direct_GCJ
19171
 
 
19172
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19173
 
# resulting binary.
19174
 
hardcode_minus_L=$hardcode_minus_L_GCJ
19175
 
 
19176
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19177
 
# the resulting binary.
19178
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19179
 
 
19180
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
19181
 
# and all subsequent libraries and executables linked against it.
19182
 
hardcode_automatic=$hardcode_automatic_GCJ
19183
 
 
19184
 
# Variables whose values should be saved in libtool wrapper scripts and
19185
 
# restored at relink time.
19186
 
variables_saved_for_relink="$variables_saved_for_relink"
19187
 
 
19188
 
# Whether libtool must link a program against all its dependency libraries.
19189
 
link_all_deplibs=$link_all_deplibs_GCJ
19190
 
 
19191
 
# Compile-time system search path for libraries
19192
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19193
 
 
19194
 
# Run-time system search path for libraries
19195
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19196
 
 
19197
 
# Fix the shell variable \$srcfile for the compiler.
19198
 
fix_srcfile_path=$lt_fix_srcfile_path
19199
 
 
19200
 
# Set to yes if exported symbols are required.
19201
 
always_export_symbols=$always_export_symbols_GCJ
19202
 
 
19203
 
# The commands to list exported symbols.
19204
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19205
 
 
19206
 
# The commands to extract the exported symbol list from a shared archive.
19207
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19208
 
 
19209
 
# Symbols that should not be listed in the preloaded symbols.
19210
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
19211
 
 
19212
 
# Symbols that must always be exported.
19213
 
include_expsyms=$lt_include_expsyms_GCJ
19214
 
 
19215
 
# ### END LIBTOOL TAG CONFIG: $tagname
19216
 
 
19217
 
__EOF__
19218
 
 
19219
 
 
19220
 
else
19221
 
  # If there is no Makefile yet, we rely on a make rule to execute
19222
 
  # `config.status --recheck' to rerun these tests and create the
19223
 
  # libtool script then.
19224
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19225
 
  if test -f "$ltmain_in"; then
19226
 
    test -f Makefile && make "$ltmain"
19227
 
  fi
19228
 
fi
19229
 
 
19230
 
 
19231
 
ac_ext=c
19232
 
ac_cpp='$CPP $CPPFLAGS'
19233
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19234
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19235
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19236
 
 
19237
 
CC="$lt_save_CC"
19238
 
 
19239
 
        else
19240
 
          tagname=""
19241
 
        fi
19242
 
        ;;
19243
 
 
19244
 
      RC)
19245
 
 
19246
 
 
19247
 
# Source file extension for RC test sources.
19248
 
ac_ext=rc
19249
 
 
19250
 
# Object file extension for compiled RC test sources.
19251
 
objext=o
19252
 
objext_RC=$objext
19253
 
 
19254
 
# Code to be used in simple compile tests
19255
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19256
 
 
19257
 
# Code to be used in simple link tests
19258
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
19259
 
 
19260
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19261
 
 
19262
 
# If no C compiler was specified, use CC.
19263
 
LTCC=${LTCC-"$CC"}
19264
 
 
19265
 
# If no C compiler flags were specified, use CFLAGS.
19266
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
19267
 
 
19268
 
# Allow CC to be a program name with arguments.
19269
 
compiler=$CC
19270
 
 
19271
 
 
19272
 
# save warnings/boilerplate of simple test code
19273
 
ac_outfile=conftest.$ac_objext
19274
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
19275
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19276
 
_lt_compiler_boilerplate=`cat conftest.err`
19277
 
$rm conftest*
19278
 
 
19279
 
ac_outfile=conftest.$ac_objext
19280
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
19281
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19282
 
_lt_linker_boilerplate=`cat conftest.err`
19283
 
$rm conftest*
19284
 
 
19285
 
 
19286
 
# Allow CC to be a program name with arguments.
19287
 
lt_save_CC="$CC"
19288
 
CC=${RC-"windres"}
19289
 
compiler=$CC
19290
 
compiler_RC=$CC
19291
 
for cc_temp in $compiler""; do
19292
 
  case $cc_temp in
19293
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19294
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19295
 
    \-*) ;;
19296
 
    *) break;;
19297
 
  esac
19298
 
done
19299
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19300
 
 
19301
 
lt_cv_prog_compiler_c_o_RC=yes
19302
 
 
19303
 
# The else clause should only fire when bootstrapping the
19304
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
19305
 
# with your package, and you will get complaints that there are
19306
 
# no rules to generate ltmain.sh.
19307
 
if test -f "$ltmain"; then
19308
 
  # See if we are running on zsh, and set the options which allow our commands through
19309
 
  # without removal of \ escapes.
19310
 
  if test -n "${ZSH_VERSION+set}" ; then
19311
 
    setopt NO_GLOB_SUBST
19312
 
  fi
19313
 
  # Now quote all the things that may contain metacharacters while being
19314
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19315
 
  # variables and quote the copies for generation of the libtool script.
19316
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19317
 
    SED SHELL STRIP \
19318
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19319
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19320
 
    deplibs_check_method reload_flag reload_cmds need_locks \
19321
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19322
 
    lt_cv_sys_global_symbol_to_c_name_address \
19323
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19324
 
    old_postinstall_cmds old_postuninstall_cmds \
19325
 
    compiler_RC \
19326
 
    CC_RC \
19327
 
    LD_RC \
19328
 
    lt_prog_compiler_wl_RC \
19329
 
    lt_prog_compiler_pic_RC \
19330
 
    lt_prog_compiler_static_RC \
19331
 
    lt_prog_compiler_no_builtin_flag_RC \
19332
 
    export_dynamic_flag_spec_RC \
19333
 
    thread_safe_flag_spec_RC \
19334
 
    whole_archive_flag_spec_RC \
19335
 
    enable_shared_with_static_runtimes_RC \
19336
 
    old_archive_cmds_RC \
19337
 
    old_archive_from_new_cmds_RC \
19338
 
    predep_objects_RC \
19339
 
    postdep_objects_RC \
19340
 
    predeps_RC \
19341
 
    postdeps_RC \
19342
 
    compiler_lib_search_path_RC \
19343
 
    archive_cmds_RC \
19344
 
    archive_expsym_cmds_RC \
19345
 
    postinstall_cmds_RC \
19346
 
    postuninstall_cmds_RC \
19347
 
    old_archive_from_expsyms_cmds_RC \
19348
 
    allow_undefined_flag_RC \
19349
 
    no_undefined_flag_RC \
19350
 
    export_symbols_cmds_RC \
19351
 
    hardcode_libdir_flag_spec_RC \
19352
 
    hardcode_libdir_flag_spec_ld_RC \
19353
 
    hardcode_libdir_separator_RC \
19354
 
    hardcode_automatic_RC \
19355
 
    module_cmds_RC \
19356
 
    module_expsym_cmds_RC \
19357
 
    lt_cv_prog_compiler_c_o_RC \
19358
 
    fix_srcfile_path_RC \
19359
 
    exclude_expsyms_RC \
19360
 
    include_expsyms_RC; do
19361
 
 
19362
 
    case $var in
19363
 
    old_archive_cmds_RC | \
19364
 
    old_archive_from_new_cmds_RC | \
19365
 
    archive_cmds_RC | \
19366
 
    archive_expsym_cmds_RC | \
19367
 
    module_cmds_RC | \
19368
 
    module_expsym_cmds_RC | \
19369
 
    old_archive_from_expsyms_cmds_RC | \
19370
 
    export_symbols_cmds_RC | \
19371
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
19372
 
    postinstall_cmds | postuninstall_cmds | \
19373
 
    old_postinstall_cmds | old_postuninstall_cmds | \
19374
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19375
 
      # Double-quote double-evaled strings.
19376
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19377
 
      ;;
19378
 
    *)
19379
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19380
 
      ;;
19381
 
    esac
19382
 
  done
19383
 
 
19384
 
  case $lt_echo in
19385
 
  *'\$0 --fallback-echo"')
19386
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19387
 
    ;;
19388
 
  esac
19389
 
 
19390
 
cfgfile="$ofile"
19391
 
 
19392
 
  cat <<__EOF__ >> "$cfgfile"
19393
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19394
 
 
19395
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19396
 
 
19397
 
# Shell to use when invoking shell scripts.
19398
 
SHELL=$lt_SHELL
19399
 
 
19400
 
# Whether or not to build shared libraries.
19401
 
build_libtool_libs=$enable_shared
19402
 
 
19403
 
# Whether or not to build static libraries.
19404
 
build_old_libs=$enable_static
19405
 
 
19406
 
# Whether or not to add -lc for building shared libraries.
19407
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
19408
 
 
19409
 
# Whether or not to disallow shared libs when runtime libs are static
19410
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19411
 
 
19412
 
# Whether or not to optimize for fast installation.
19413
 
fast_install=$enable_fast_install
19414
 
 
19415
 
# The host system.
19416
 
host_alias=$host_alias
19417
 
host=$host
19418
 
host_os=$host_os
19419
 
 
19420
 
# The build system.
19421
 
build_alias=$build_alias
19422
 
build=$build
19423
 
build_os=$build_os
19424
 
 
19425
 
# An echo program that does not interpret backslashes.
19426
 
echo=$lt_echo
19427
 
 
19428
 
# The archiver.
19429
 
AR=$lt_AR
19430
 
AR_FLAGS=$lt_AR_FLAGS
19431
 
 
19432
 
# A C compiler.
19433
 
LTCC=$lt_LTCC
19434
 
 
19435
 
# LTCC compiler flags.
19436
 
LTCFLAGS=$lt_LTCFLAGS
19437
 
 
19438
 
# A language-specific compiler.
19439
 
CC=$lt_compiler_RC
19440
 
 
19441
 
# Is the compiler the GNU C compiler?
19442
 
with_gcc=$GCC_RC
19443
 
 
19444
 
# An ERE matcher.
19445
 
EGREP=$lt_EGREP
19446
 
 
19447
 
# The linker used to build libraries.
19448
 
LD=$lt_LD_RC
19449
 
 
19450
 
# Whether we need hard or soft links.
19451
 
LN_S=$lt_LN_S
19452
 
 
19453
 
# A BSD-compatible nm program.
19454
 
NM=$lt_NM
19455
 
 
19456
 
# A symbol stripping program
19457
 
STRIP=$lt_STRIP
19458
 
 
19459
 
# Used to examine libraries when file_magic_cmd begins "file"
19460
 
MAGIC_CMD=$MAGIC_CMD
19461
 
 
19462
 
# Used on cygwin: DLL creation program.
19463
 
DLLTOOL="$DLLTOOL"
19464
 
 
19465
 
# Used on cygwin: object dumper.
19466
 
OBJDUMP="$OBJDUMP"
19467
 
 
19468
 
# Used on cygwin: assembler.
19469
 
AS="$AS"
19470
 
 
19471
 
# The name of the directory that contains temporary libtool files.
19472
 
objdir=$objdir
19473
 
 
19474
 
# How to create reloadable object files.
19475
 
reload_flag=$lt_reload_flag
19476
 
reload_cmds=$lt_reload_cmds
19477
 
 
19478
 
# How to pass a linker flag through the compiler.
19479
 
wl=$lt_lt_prog_compiler_wl_RC
19480
 
 
19481
 
# Object file suffix (normally "o").
19482
 
objext="$ac_objext"
19483
 
 
19484
 
# Old archive suffix (normally "a").
19485
 
libext="$libext"
19486
 
 
19487
 
# Shared library suffix (normally ".so").
19488
 
shrext_cmds='$shrext_cmds'
19489
 
 
19490
 
# Executable file suffix (normally "").
19491
 
exeext="$exeext"
19492
 
 
19493
 
# Additional compiler flags for building library objects.
19494
 
pic_flag=$lt_lt_prog_compiler_pic_RC
19495
 
pic_mode=$pic_mode
19496
 
 
19497
 
# What is the maximum length of a command?
19498
 
max_cmd_len=$lt_cv_sys_max_cmd_len
19499
 
 
19500
 
# Does compiler simultaneously support -c and -o options?
19501
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19502
 
 
19503
 
# Must we lock files when doing compilation?
19504
 
need_locks=$lt_need_locks
19505
 
 
19506
 
# Do we need the lib prefix for modules?
19507
 
need_lib_prefix=$need_lib_prefix
19508
 
 
19509
 
# Do we need a version for libraries?
19510
 
need_version=$need_version
19511
 
 
19512
 
# Whether dlopen is supported.
19513
 
dlopen_support=$enable_dlopen
19514
 
 
19515
 
# Whether dlopen of programs is supported.
19516
 
dlopen_self=$enable_dlopen_self
19517
 
 
19518
 
# Whether dlopen of statically linked programs is supported.
19519
 
dlopen_self_static=$enable_dlopen_self_static
19520
 
 
19521
 
# Compiler flag to prevent dynamic linking.
19522
 
link_static_flag=$lt_lt_prog_compiler_static_RC
19523
 
 
19524
 
# Compiler flag to turn off builtin functions.
19525
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19526
 
 
19527
 
# Compiler flag to allow reflexive dlopens.
19528
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19529
 
 
19530
 
# Compiler flag to generate shared objects directly from archives.
19531
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19532
 
 
19533
 
# Compiler flag to generate thread-safe objects.
19534
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19535
 
 
19536
 
# Library versioning type.
19537
 
version_type=$version_type
19538
 
 
19539
 
# Format of library name prefix.
19540
 
libname_spec=$lt_libname_spec
19541
 
 
19542
 
# List of archive names.  First name is the real one, the rest are links.
19543
 
# The last name is the one that the linker finds with -lNAME.
19544
 
library_names_spec=$lt_library_names_spec
19545
 
 
19546
 
# The coded name of the library, if different from the real name.
19547
 
soname_spec=$lt_soname_spec
19548
 
 
19549
 
# Commands used to build and install an old-style archive.
19550
 
RANLIB=$lt_RANLIB
19551
 
old_archive_cmds=$lt_old_archive_cmds_RC
19552
 
old_postinstall_cmds=$lt_old_postinstall_cmds
19553
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19554
 
 
19555
 
# Create an old-style archive from a shared archive.
19556
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19557
 
 
19558
 
# Create a temporary old-style archive to link instead of a shared archive.
19559
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19560
 
 
19561
 
# Commands used to build and install a shared archive.
19562
 
archive_cmds=$lt_archive_cmds_RC
19563
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19564
 
postinstall_cmds=$lt_postinstall_cmds
19565
 
postuninstall_cmds=$lt_postuninstall_cmds
19566
 
 
19567
 
# Commands used to build a loadable module (assumed same as above if empty)
19568
 
module_cmds=$lt_module_cmds_RC
19569
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
19570
 
 
19571
 
# Commands to strip libraries.
19572
 
old_striplib=$lt_old_striplib
19573
 
striplib=$lt_striplib
19574
 
 
19575
 
# Dependencies to place before the objects being linked to create a
19576
 
# shared library.
19577
 
predep_objects=$lt_predep_objects_RC
19578
 
 
19579
 
# Dependencies to place after the objects being linked to create a
19580
 
# shared library.
19581
 
postdep_objects=$lt_postdep_objects_RC
19582
 
 
19583
 
# Dependencies to place before the objects being linked to create a
19584
 
# shared library.
19585
 
predeps=$lt_predeps_RC
19586
 
 
19587
 
# Dependencies to place after the objects being linked to create a
19588
 
# shared library.
19589
 
postdeps=$lt_postdeps_RC
19590
 
 
19591
 
# The library search path used internally by the compiler when linking
19592
 
# a shared library.
19593
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19594
 
 
19595
 
# Method to check whether dependent libraries are shared objects.
19596
 
deplibs_check_method=$lt_deplibs_check_method
19597
 
 
19598
 
# Command to use when deplibs_check_method == file_magic.
19599
 
file_magic_cmd=$lt_file_magic_cmd
19600
 
 
19601
 
# Flag that allows shared libraries with undefined symbols to be built.
19602
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
19603
 
 
19604
 
# Flag that forces no undefined symbols.
19605
 
no_undefined_flag=$lt_no_undefined_flag_RC
19606
 
 
19607
 
# Commands used to finish a libtool library installation in a directory.
19608
 
finish_cmds=$lt_finish_cmds
19609
 
 
19610
 
# Same as above, but a single script fragment to be evaled but not shown.
19611
 
finish_eval=$lt_finish_eval
19612
 
 
19613
 
# Take the output of nm and produce a listing of raw symbols and C names.
19614
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19615
 
 
19616
 
# Transform the output of nm in a proper C declaration
19617
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19618
 
 
19619
 
# Transform the output of nm in a C name address pair
19620
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19621
 
 
19622
 
# This is the shared library runtime path variable.
19623
 
runpath_var=$runpath_var
19624
 
 
19625
 
# This is the shared library path variable.
19626
 
shlibpath_var=$shlibpath_var
19627
 
 
19628
 
# Is shlibpath searched before the hard-coded library search path?
19629
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19630
 
 
19631
 
# How to hardcode a shared library path into an executable.
19632
 
hardcode_action=$hardcode_action_RC
19633
 
 
19634
 
# Whether we should hardcode library paths into libraries.
19635
 
hardcode_into_libs=$hardcode_into_libs
19636
 
 
19637
 
# Flag to hardcode \$libdir into a binary during linking.
19638
 
# This must work even if \$libdir does not exist.
19639
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19640
 
 
19641
 
# If ld is used when linking, flag to hardcode \$libdir into
19642
 
# a binary during linking. This must work even if \$libdir does
19643
 
# not exist.
19644
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19645
 
 
19646
 
# Whether we need a single -rpath flag with a separated argument.
19647
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19648
 
 
19649
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19650
 
# resulting binary.
19651
 
hardcode_direct=$hardcode_direct_RC
19652
 
 
19653
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19654
 
# resulting binary.
19655
 
hardcode_minus_L=$hardcode_minus_L_RC
19656
 
 
19657
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19658
 
# the resulting binary.
19659
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19660
 
 
19661
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
19662
 
# and all subsequent libraries and executables linked against it.
19663
 
hardcode_automatic=$hardcode_automatic_RC
19664
 
 
19665
 
# Variables whose values should be saved in libtool wrapper scripts and
19666
 
# restored at relink time.
19667
 
variables_saved_for_relink="$variables_saved_for_relink"
19668
 
 
19669
 
# Whether libtool must link a program against all its dependency libraries.
19670
 
link_all_deplibs=$link_all_deplibs_RC
19671
 
 
19672
 
# Compile-time system search path for libraries
19673
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19674
 
 
19675
 
# Run-time system search path for libraries
19676
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19677
 
 
19678
 
# Fix the shell variable \$srcfile for the compiler.
19679
 
fix_srcfile_path=$lt_fix_srcfile_path
19680
 
 
19681
 
# Set to yes if exported symbols are required.
19682
 
always_export_symbols=$always_export_symbols_RC
19683
 
 
19684
 
# The commands to list exported symbols.
19685
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
19686
 
 
19687
 
# The commands to extract the exported symbol list from a shared archive.
19688
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19689
 
 
19690
 
# Symbols that should not be listed in the preloaded symbols.
19691
 
exclude_expsyms=$lt_exclude_expsyms_RC
19692
 
 
19693
 
# Symbols that must always be exported.
19694
 
include_expsyms=$lt_include_expsyms_RC
19695
 
 
19696
 
# ### END LIBTOOL TAG CONFIG: $tagname
19697
 
 
19698
 
__EOF__
19699
 
 
19700
 
 
19701
 
else
19702
 
  # If there is no Makefile yet, we rely on a make rule to execute
19703
 
  # `config.status --recheck' to rerun these tests and create the
19704
 
  # libtool script then.
19705
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19706
 
  if test -f "$ltmain_in"; then
19707
 
    test -f Makefile && make "$ltmain"
19708
 
  fi
19709
 
fi
19710
 
 
19711
 
 
19712
 
ac_ext=c
19713
 
ac_cpp='$CPP $CPPFLAGS'
19714
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19715
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19716
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19717
 
 
19718
 
CC="$lt_save_CC"
19719
 
 
19720
 
        ;;
19721
 
 
19722
 
      *)
19723
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19724
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19725
 
   { (exit 1); exit 1; }; }
19726
 
        ;;
19727
 
      esac
19728
 
 
19729
 
      # Append the new tag name to the list of available tags.
19730
 
      if test -n "$tagname" ; then
19731
 
      available_tags="$available_tags $tagname"
19732
 
    fi
19733
 
    fi
19734
 
  done
19735
 
  IFS="$lt_save_ifs"
19736
 
 
19737
 
  # Now substitute the updated list of available tags.
19738
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19739
 
    mv "${ofile}T" "$ofile"
19740
 
    chmod +x "$ofile"
19741
 
  else
19742
 
    rm -f "${ofile}T"
19743
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19744
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19745
 
   { (exit 1); exit 1; }; }
19746
 
  fi
19747
 
fi
19748
 
 
19749
 
 
19750
 
 
19751
 
# This can be used to rebuild libtool when needed
19752
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
19753
 
 
19754
 
# Always use our own libtool.
19755
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
19756
 
 
19757
 
# Prevent multiple expansion
19758
 
 
19759
 
 
19760
 
 
19761
 
 
19762
 
 
19763
 
 
19764
 
 
19765
 
 
19766
 
 
19767
 
 
19768
 
 
19769
 
 
19770
 
 
19771
 
 
19772
 
 
19773
 
 
19774
 
 
19775
 
 
 
14999
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
 
15000
$as_echo "$hardcode_action_CXX" >&6; }
 
15001
 
 
15002
if test "$hardcode_action_CXX" = relink ||
 
15003
   test "$inherit_rpath_CXX" = yes; then
 
15004
  # Fast installation is not supported
 
15005
  enable_fast_install=no
 
15006
elif test "$shlibpath_overrides_runpath" = yes ||
 
15007
     test "$enable_shared" = no; then
 
15008
  # Fast installation is not necessary
 
15009
  enable_fast_install=needless
 
15010
fi
 
15011
 
 
15012
 
 
15013
 
 
15014
 
 
15015
 
 
15016
 
 
15017
 
 
15018
  fi # test -n "$compiler"
 
15019
 
 
15020
  CC=$lt_save_CC
 
15021
  LDCXX=$LD
 
15022
  LD=$lt_save_LD
 
15023
  GCC=$lt_save_GCC
 
15024
  with_gnu_ld=$lt_save_with_gnu_ld
 
15025
  lt_cv_path_LDCXX=$lt_cv_path_LD
 
15026
  lt_cv_path_LD=$lt_save_path_LD
 
15027
  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
 
15028
  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
 
15029
fi # test "$_lt_caught_CXX_error" != yes
 
15030
 
 
15031
ac_ext=c
 
15032
ac_cpp='$CPP $CPPFLAGS'
 
15033
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15034
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15035
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
15036
 
 
15037
 
 
15038
 
 
15039
 
 
15040
 
 
15041
 
 
15042
 
 
15043
 
 
15044
 
 
15045
 
 
15046
 
 
15047
 
 
15048
 
 
15049
        ac_config_commands="$ac_config_commands libtool"
 
15050
 
 
15051
 
 
15052
 
 
15053
 
 
15054
# Only expand once:
19776
15055
 
19777
15056
 
19778
15057
case "$host_os" in
19785
15064
 
19786
15065
 
19787
15066
 
19788
 
{ echo "$as_me:$LINENO: checking for inline" >&5
19789
 
echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19790
 
if test "${ac_cv_c_inline+set}" = set; then
19791
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15067
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
 
15068
$as_echo_n "checking for inline... " >&6; }
 
15069
if test "${ac_cv_c_inline+set}" = set; then :
 
15070
  $as_echo_n "(cached) " >&6
19792
15071
else
19793
15072
  ac_cv_c_inline=no
19794
15073
for ac_kw in inline __inline__ __inline; do
19795
 
  cat >conftest.$ac_ext <<_ACEOF
19796
 
/* confdefs.h.  */
19797
 
_ACEOF
19798
 
cat confdefs.h >>conftest.$ac_ext
19799
 
cat >>conftest.$ac_ext <<_ACEOF
 
15074
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19800
15075
/* end confdefs.h.  */
19801
15076
#ifndef __cplusplus
19802
15077
typedef int foo_t;
19805
15080
#endif
19806
15081
 
19807
15082
_ACEOF
19808
 
rm -f conftest.$ac_objext
19809
 
if { (ac_try="$ac_compile"
19810
 
case "(($ac_try" in
19811
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19812
 
  *) ac_try_echo=$ac_try;;
19813
 
esac
19814
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19815
 
  (eval "$ac_compile") 2>conftest.er1
19816
 
  ac_status=$?
19817
 
  grep -v '^ *+' conftest.er1 >conftest.err
19818
 
  rm -f conftest.er1
19819
 
  cat conftest.err >&5
19820
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19821
 
  (exit $ac_status); } && {
19822
 
         test -z "$ac_c_werror_flag" ||
19823
 
         test ! -s conftest.err
19824
 
       } && test -s conftest.$ac_objext; then
 
15083
if ac_fn_c_try_compile "$LINENO"; then :
19825
15084
  ac_cv_c_inline=$ac_kw
19826
 
else
19827
 
  echo "$as_me: failed program was:" >&5
19828
 
sed 's/^/| /' conftest.$ac_ext >&5
19829
 
 
19830
 
 
19831
15085
fi
19832
 
 
19833
15086
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19834
15087
  test "$ac_cv_c_inline" != no && break
19835
15088
done
19836
15089
 
19837
15090
fi
19838
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19839
 
echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19840
 
 
 
15091
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
 
15092
$as_echo "$ac_cv_c_inline" >&6; }
19841
15093
 
19842
15094
case $ac_cv_c_inline in
19843
15095
  inline | yes) ;;
19854
15106
    ;;
19855
15107
esac
19856
15108
 
19857
 
{ echo "$as_me:$LINENO: checking for size_t" >&5
19858
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19859
 
if test "${ac_cv_type_size_t+set}" = set; then
19860
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19861
 
else
19862
 
  cat >conftest.$ac_ext <<_ACEOF
19863
 
/* confdefs.h.  */
19864
 
_ACEOF
19865
 
cat confdefs.h >>conftest.$ac_ext
19866
 
cat >>conftest.$ac_ext <<_ACEOF
19867
 
/* end confdefs.h.  */
19868
 
$ac_includes_default
19869
 
typedef size_t ac__type_new_;
19870
 
int
19871
 
main ()
19872
 
{
19873
 
if ((ac__type_new_ *) 0)
19874
 
  return 0;
19875
 
if (sizeof (ac__type_new_))
19876
 
  return 0;
19877
 
  ;
19878
 
  return 0;
19879
 
}
19880
 
_ACEOF
19881
 
rm -f conftest.$ac_objext
19882
 
if { (ac_try="$ac_compile"
19883
 
case "(($ac_try" in
19884
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19885
 
  *) ac_try_echo=$ac_try;;
19886
 
esac
19887
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19888
 
  (eval "$ac_compile") 2>conftest.er1
19889
 
  ac_status=$?
19890
 
  grep -v '^ *+' conftest.er1 >conftest.err
19891
 
  rm -f conftest.er1
19892
 
  cat conftest.err >&5
19893
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19894
 
  (exit $ac_status); } && {
19895
 
         test -z "$ac_c_werror_flag" ||
19896
 
         test ! -s conftest.err
19897
 
       } && test -s conftest.$ac_objext; then
19898
 
  ac_cv_type_size_t=yes
19899
 
else
19900
 
  echo "$as_me: failed program was:" >&5
19901
 
sed 's/^/| /' conftest.$ac_ext >&5
19902
 
 
19903
 
        ac_cv_type_size_t=no
19904
 
fi
19905
 
 
19906
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19907
 
fi
19908
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19909
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19910
 
if test $ac_cv_type_size_t = yes; then
19911
 
  :
 
15109
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 
15110
if test "x$ac_cv_type_size_t" = x""yes; then :
 
15111
 
19912
15112
else
19913
15113
 
19914
15114
cat >>confdefs.h <<_ACEOF
19918
15118
fi
19919
15119
 
19920
15120
 
19921
 
  { echo "$as_me:$LINENO: checking for long long int" >&5
19922
 
echo $ECHO_N "checking for long long int... $ECHO_C" >&6; }
19923
 
if test "${ac_cv_type_long_long_int+set}" = set; then
19924
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15121
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
 
15122
$as_echo_n "checking for long long int... " >&6; }
 
15123
if test "${ac_cv_type_long_long_int+set}" = set; then :
 
15124
  $as_echo_n "(cached) " >&6
19925
15125
else
19926
 
  cat >conftest.$ac_ext <<_ACEOF
19927
 
 
19928
 
  /* confdefs.h.  */
19929
 
_ACEOF
19930
 
cat confdefs.h >>conftest.$ac_ext
19931
 
cat >>conftest.$ac_ext <<_ACEOF
 
15126
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19932
15127
/* end confdefs.h.  */
19933
 
/* Test preprocessor.  */
19934
 
      #if ! (-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
19935
 
        error in preprocessor;
19936
 
      #endif
19937
 
      #if ! (18446744073709551615ULL <= -1ull)
19938
 
        error in preprocessor;
19939
 
      #endif
 
15128
 
 
15129
  /* For now, do not test the preprocessor; as of 2007 there are too many
 
15130
         implementations with broken preprocessors.  Perhaps this can
 
15131
         be revisited in 2012.  In the meantime, code should not expect
 
15132
         #if to work with literals wider than 32 bits.  */
19940
15133
      /* Test literals.  */
19941
15134
      long long int ll = 9223372036854775807ll;
19942
15135
      long long int nll = -9223372036854775807LL;
19943
15136
      unsigned long long int ull = 18446744073709551615ULL;
19944
15137
      /* Test constant expressions.   */
19945
15138
      typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
19946
 
                     ? 1 : -1)];
 
15139
                     ? 1 : -1)];
19947
15140
      typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
19948
 
                     ? 1 : -1)];
 
15141
                     ? 1 : -1)];
19949
15142
      int i = 63;
19950
15143
int
19951
15144
main ()
19954
15147
      long long int llmax = 9223372036854775807ll;
19955
15148
      unsigned long long int ullmax = 18446744073709551615ull;
19956
15149
      return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
19957
 
              | (llmax / ll) | (llmax % ll)
19958
 
              | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
19959
 
              | (ullmax / ull) | (ullmax % ull));
 
15150
              | (llmax / ll) | (llmax % ll)
 
15151
              | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
 
15152
              | (ullmax / ull) | (ullmax % ull));
19960
15153
  ;
19961
15154
  return 0;
19962
15155
}
19963
15156
 
19964
15157
_ACEOF
19965
 
rm -f conftest.$ac_objext conftest$ac_exeext
19966
 
if { (ac_try="$ac_link"
19967
 
case "(($ac_try" in
19968
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19969
 
  *) ac_try_echo=$ac_try;;
19970
 
esac
19971
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19972
 
  (eval "$ac_link") 2>conftest.er1
19973
 
  ac_status=$?
19974
 
  grep -v '^ *+' conftest.er1 >conftest.err
19975
 
  rm -f conftest.er1
19976
 
  cat conftest.err >&5
19977
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978
 
  (exit $ac_status); } && {
19979
 
         test -z "$ac_c_werror_flag" ||
19980
 
         test ! -s conftest.err
19981
 
       } && test -s conftest$ac_exeext &&
19982
 
       $as_test_x conftest$ac_exeext; then
19983
 
                        if test "$cross_compiling" = yes; then
 
15158
if ac_fn_c_try_link "$LINENO"; then :
 
15159
                          if test "$cross_compiling" = yes; then :
19984
15160
  ac_cv_type_long_long_int=yes
19985
15161
else
19986
 
  cat >conftest.$ac_ext <<_ACEOF
19987
 
/* confdefs.h.  */
19988
 
_ACEOF
19989
 
cat confdefs.h >>conftest.$ac_ext
19990
 
cat >>conftest.$ac_ext <<_ACEOF
 
15162
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19991
15163
/* end confdefs.h.  */
19992
15164
#include <limits.h>
19993
 
               #ifndef LLONG_MAX
19994
 
               # define HALF \
19995
 
                        (1LL << (sizeof (long long int) * CHAR_BIT - 2))
19996
 
               # define LLONG_MAX (HALF - 1 + HALF)
19997
 
               #endif
 
15165
               #ifndef LLONG_MAX
 
15166
               # define HALF \
 
15167
                        (1LL << (sizeof (long long int) * CHAR_BIT - 2))
 
15168
               # define LLONG_MAX (HALF - 1 + HALF)
 
15169
               #endif
19998
15170
int
19999
15171
main ()
20000
15172
{
20001
15173
long long int n = 1;
20002
 
               int i;
20003
 
               for (i = 0; ; i++)
20004
 
                 {
20005
 
                   long long int m = n << i;
20006
 
                   if (m >> i != n)
20007
 
                     return 1;
20008
 
                   if (LLONG_MAX / 2 < m)
20009
 
                     break;
20010
 
                 }
20011
 
               return 0;
 
15174
               int i;
 
15175
               for (i = 0; ; i++)
 
15176
                 {
 
15177
                   long long int m = n << i;
 
15178
                   if (m >> i != n)
 
15179
                     return 1;
 
15180
                   if (LLONG_MAX / 2 < m)
 
15181
                     break;
 
15182
                 }
 
15183
               return 0;
20012
15184
  ;
20013
15185
  return 0;
20014
15186
}
20015
15187
_ACEOF
20016
 
rm -f conftest$ac_exeext
20017
 
if { (ac_try="$ac_link"
20018
 
case "(($ac_try" in
20019
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20020
 
  *) ac_try_echo=$ac_try;;
20021
 
esac
20022
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20023
 
  (eval "$ac_link") 2>&5
20024
 
  ac_status=$?
20025
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20026
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20027
 
  { (case "(($ac_try" in
20028
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20029
 
  *) ac_try_echo=$ac_try;;
20030
 
esac
20031
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20032
 
  (eval "$ac_try") 2>&5
20033
 
  ac_status=$?
20034
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20035
 
  (exit $ac_status); }; }; then
 
15188
if ac_fn_c_try_run "$LINENO"; then :
20036
15189
  ac_cv_type_long_long_int=yes
20037
15190
else
20038
 
  echo "$as_me: program exited with status $ac_status" >&5
20039
 
echo "$as_me: failed program was:" >&5
20040
 
sed 's/^/| /' conftest.$ac_ext >&5
20041
 
 
20042
 
( exit $ac_status )
20043
 
ac_cv_type_long_long_int=no
20044
 
fi
20045
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20046
 
fi
20047
 
 
 
15191
  ac_cv_type_long_long_int=no
 
15192
fi
 
15193
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
15194
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
15195
fi
20048
15196
 
20049
15197
else
20050
 
  echo "$as_me: failed program was:" >&5
20051
 
sed 's/^/| /' conftest.$ac_ext >&5
20052
 
 
20053
 
        ac_cv_type_long_long_int=no
20054
 
fi
20055
 
 
20056
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20057
 
      conftest$ac_exeext conftest.$ac_ext
20058
 
fi
20059
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
20060
 
echo "${ECHO_T}$ac_cv_type_long_long_int" >&6; }
 
15198
  ac_cv_type_long_long_int=no
 
15199
fi
 
15200
rm -f core conftest.err conftest.$ac_objext \
 
15201
    conftest$ac_exeext conftest.$ac_ext
 
15202
fi
 
15203
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
 
15204
$as_echo "$ac_cv_type_long_long_int" >&6; }
20061
15205
  if test $ac_cv_type_long_long_int = yes; then
20062
15206
 
20063
 
cat >>confdefs.h <<\_ACEOF
20064
 
#define HAVE_LONG_LONG_INT 1
20065
 
_ACEOF
20066
 
 
20067
 
  fi
20068
 
 
20069
 
 
20070
 
 
20071
 
  ac_cv_type_long_long=$ac_cv_type_long_long_int
20072
 
  if test $ac_cv_type_long_long = yes; then
20073
 
 
20074
 
cat >>confdefs.h <<\_ACEOF
20075
 
#define HAVE_LONG_LONG 1
20076
 
_ACEOF
20077
 
 
20078
 
  fi
20079
 
 
20080
 
 
20081
 
  { echo "$as_me:$LINENO: checking for long double" >&5
20082
 
echo $ECHO_N "checking for long double... $ECHO_C" >&6; }
20083
 
if test "${gt_cv_c_long_double+set}" = set; then
20084
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20085
 
else
20086
 
  if test "$GCC" = yes; then
20087
 
       gt_cv_c_long_double=yes
20088
 
     else
20089
 
       cat >conftest.$ac_ext <<_ACEOF
20090
 
/* confdefs.h.  */
20091
 
_ACEOF
20092
 
cat confdefs.h >>conftest.$ac_ext
20093
 
cat >>conftest.$ac_ext <<_ACEOF
20094
 
/* end confdefs.h.  */
20095
 
 
20096
 
         /* The Stardent Vistra knows sizeof(long double), but does not support it.  */
20097
 
         long double foo = 0.0;
20098
 
         /* On Ultrix 4.3 cc, long double is 4 and double is 8.  */
20099
 
         int array [2*(sizeof(long double) >= sizeof(double)) - 1];
20100
 
 
20101
 
int
20102
 
main ()
20103
 
{
20104
 
 
20105
 
  ;
20106
 
  return 0;
20107
 
}
20108
 
_ACEOF
20109
 
rm -f conftest.$ac_objext
20110
 
if { (ac_try="$ac_compile"
20111
 
case "(($ac_try" in
20112
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20113
 
  *) ac_try_echo=$ac_try;;
20114
 
esac
20115
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20116
 
  (eval "$ac_compile") 2>conftest.er1
20117
 
  ac_status=$?
20118
 
  grep -v '^ *+' conftest.er1 >conftest.err
20119
 
  rm -f conftest.er1
20120
 
  cat conftest.err >&5
20121
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20122
 
  (exit $ac_status); } && {
20123
 
         test -z "$ac_c_werror_flag" ||
20124
 
         test ! -s conftest.err
20125
 
       } && test -s conftest.$ac_objext; then
20126
 
  gt_cv_c_long_double=yes
20127
 
else
20128
 
  echo "$as_me: failed program was:" >&5
20129
 
sed 's/^/| /' conftest.$ac_ext >&5
20130
 
 
20131
 
        gt_cv_c_long_double=no
20132
 
fi
20133
 
 
20134
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20135
 
     fi
20136
 
fi
20137
 
{ echo "$as_me:$LINENO: result: $gt_cv_c_long_double" >&5
20138
 
echo "${ECHO_T}$gt_cv_c_long_double" >&6; }
20139
 
  if test $gt_cv_c_long_double = yes; then
20140
 
 
20141
 
cat >>confdefs.h <<\_ACEOF
20142
 
#define HAVE_LONG_DOUBLE 1
20143
 
_ACEOF
20144
 
 
20145
 
  fi
20146
 
 
20147
 
 
20148
 
  { echo "$as_me:$LINENO: checking for wchar_t" >&5
20149
 
echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
20150
 
if test "${gt_cv_c_wchar_t+set}" = set; then
20151
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20152
 
else
20153
 
  cat >conftest.$ac_ext <<_ACEOF
20154
 
/* confdefs.h.  */
20155
 
_ACEOF
20156
 
cat confdefs.h >>conftest.$ac_ext
20157
 
cat >>conftest.$ac_ext <<_ACEOF
 
15207
$as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h
 
15208
 
 
15209
  fi
 
15210
 
 
15211
 
 
15212
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
 
15213
$as_echo_n "checking for wchar_t... " >&6; }
 
15214
if test "${gt_cv_c_wchar_t+set}" = set; then :
 
15215
  $as_echo_n "(cached) " >&6
 
15216
else
 
15217
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20158
15218
/* end confdefs.h.  */
20159
15219
#include <stddef.h>
20160
15220
       wchar_t foo = (wchar_t)'\0';
20166
15226
  return 0;
20167
15227
}
20168
15228
_ACEOF
20169
 
rm -f conftest.$ac_objext
20170
 
if { (ac_try="$ac_compile"
20171
 
case "(($ac_try" in
20172
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20173
 
  *) ac_try_echo=$ac_try;;
20174
 
esac
20175
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20176
 
  (eval "$ac_compile") 2>conftest.er1
20177
 
  ac_status=$?
20178
 
  grep -v '^ *+' conftest.er1 >conftest.err
20179
 
  rm -f conftest.er1
20180
 
  cat conftest.err >&5
20181
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20182
 
  (exit $ac_status); } && {
20183
 
         test -z "$ac_c_werror_flag" ||
20184
 
         test ! -s conftest.err
20185
 
       } && test -s conftest.$ac_objext; then
 
15229
if ac_fn_c_try_compile "$LINENO"; then :
20186
15230
  gt_cv_c_wchar_t=yes
20187
15231
else
20188
 
  echo "$as_me: failed program was:" >&5
20189
 
sed 's/^/| /' conftest.$ac_ext >&5
20190
 
 
20191
 
        gt_cv_c_wchar_t=no
 
15232
  gt_cv_c_wchar_t=no
20192
15233
fi
20193
 
 
20194
15234
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20195
15235
fi
20196
 
{ echo "$as_me:$LINENO: result: $gt_cv_c_wchar_t" >&5
20197
 
echo "${ECHO_T}$gt_cv_c_wchar_t" >&6; }
 
15236
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5
 
15237
$as_echo "$gt_cv_c_wchar_t" >&6; }
20198
15238
  if test $gt_cv_c_wchar_t = yes; then
20199
15239
 
20200
 
cat >>confdefs.h <<\_ACEOF
20201
 
#define HAVE_WCHAR_T 1
20202
 
_ACEOF
 
15240
$as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h
20203
15241
 
20204
15242
  fi
20205
15243
 
20206
15244
 
20207
 
  { echo "$as_me:$LINENO: checking for wint_t" >&5
20208
 
echo $ECHO_N "checking for wint_t... $ECHO_C" >&6; }
20209
 
if test "${gt_cv_c_wint_t+set}" = set; then
20210
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15245
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
 
15246
$as_echo_n "checking for wint_t... " >&6; }
 
15247
if test "${gt_cv_c_wint_t+set}" = set; then :
 
15248
  $as_echo_n "(cached) " >&6
20211
15249
else
20212
 
  cat >conftest.$ac_ext <<_ACEOF
20213
 
/* confdefs.h.  */
20214
 
_ACEOF
20215
 
cat confdefs.h >>conftest.$ac_ext
20216
 
cat >>conftest.$ac_ext <<_ACEOF
 
15250
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20217
15251
/* end confdefs.h.  */
20218
15252
 
20219
15253
/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
20233
15267
  return 0;
20234
15268
}
20235
15269
_ACEOF
20236
 
rm -f conftest.$ac_objext
20237
 
if { (ac_try="$ac_compile"
20238
 
case "(($ac_try" in
20239
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20240
 
  *) ac_try_echo=$ac_try;;
20241
 
esac
20242
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20243
 
  (eval "$ac_compile") 2>conftest.er1
20244
 
  ac_status=$?
20245
 
  grep -v '^ *+' conftest.er1 >conftest.err
20246
 
  rm -f conftest.er1
20247
 
  cat conftest.err >&5
20248
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20249
 
  (exit $ac_status); } && {
20250
 
         test -z "$ac_c_werror_flag" ||
20251
 
         test ! -s conftest.err
20252
 
       } && test -s conftest.$ac_objext; then
 
15270
if ac_fn_c_try_compile "$LINENO"; then :
20253
15271
  gt_cv_c_wint_t=yes
20254
15272
else
20255
 
  echo "$as_me: failed program was:" >&5
20256
 
sed 's/^/| /' conftest.$ac_ext >&5
20257
 
 
20258
 
        gt_cv_c_wint_t=no
 
15273
  gt_cv_c_wint_t=no
20259
15274
fi
20260
 
 
20261
15275
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20262
15276
fi
20263
 
{ echo "$as_me:$LINENO: result: $gt_cv_c_wint_t" >&5
20264
 
echo "${ECHO_T}$gt_cv_c_wint_t" >&6; }
 
15277
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5
 
15278
$as_echo "$gt_cv_c_wint_t" >&6; }
20265
15279
  if test $gt_cv_c_wint_t = yes; then
20266
15280
 
20267
 
cat >>confdefs.h <<\_ACEOF
20268
 
#define HAVE_WINT_T 1
20269
 
_ACEOF
 
15281
$as_echo "#define HAVE_WINT_T 1" >>confdefs.h
20270
15282
 
20271
15283
  fi
20272
15284
 
20273
 
{ echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
20274
 
echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6; }
20275
 
if test "${ac_cv_type_ptrdiff_t+set}" = set; then
20276
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20277
 
else
20278
 
  cat >conftest.$ac_ext <<_ACEOF
20279
 
/* confdefs.h.  */
20280
 
_ACEOF
20281
 
cat confdefs.h >>conftest.$ac_ext
20282
 
cat >>conftest.$ac_ext <<_ACEOF
20283
 
/* end confdefs.h.  */
20284
 
$ac_includes_default
20285
 
typedef ptrdiff_t ac__type_new_;
20286
 
int
20287
 
main ()
20288
 
{
20289
 
if ((ac__type_new_ *) 0)
20290
 
  return 0;
20291
 
if (sizeof (ac__type_new_))
20292
 
  return 0;
20293
 
  ;
20294
 
  return 0;
20295
 
}
20296
 
_ACEOF
20297
 
rm -f conftest.$ac_objext
20298
 
if { (ac_try="$ac_compile"
20299
 
case "(($ac_try" in
20300
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20301
 
  *) ac_try_echo=$ac_try;;
20302
 
esac
20303
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20304
 
  (eval "$ac_compile") 2>conftest.er1
20305
 
  ac_status=$?
20306
 
  grep -v '^ *+' conftest.er1 >conftest.err
20307
 
  rm -f conftest.er1
20308
 
  cat conftest.err >&5
20309
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20310
 
  (exit $ac_status); } && {
20311
 
         test -z "$ac_c_werror_flag" ||
20312
 
         test ! -s conftest.err
20313
 
       } && test -s conftest.$ac_objext; then
20314
 
  ac_cv_type_ptrdiff_t=yes
20315
 
else
20316
 
  echo "$as_me: failed program was:" >&5
20317
 
sed 's/^/| /' conftest.$ac_ext >&5
20318
 
 
20319
 
        ac_cv_type_ptrdiff_t=no
20320
 
fi
20321
 
 
20322
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20323
 
fi
20324
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
20325
 
echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6; }
20326
 
if test $ac_cv_type_ptrdiff_t = yes; then
20327
 
  :
20328
 
else
20329
 
 
20330
 
cat >>confdefs.h <<\_ACEOF
20331
 
#define ptrdiff_t long
20332
 
_ACEOF
20333
 
 
20334
 
 
20335
 
fi
20336
 
 
20337
 
 
20338
 
  { echo "$as_me:$LINENO: checking for inttypes.h" >&5
20339
 
echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6; }
20340
 
if test "${gl_cv_header_inttypes_h+set}" = set; then
20341
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20342
 
else
20343
 
  cat >conftest.$ac_ext <<_ACEOF
20344
 
/* confdefs.h.  */
20345
 
_ACEOF
20346
 
cat confdefs.h >>conftest.$ac_ext
20347
 
cat >>conftest.$ac_ext <<_ACEOF
 
15285
ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
 
15286
if test "x$ac_cv_type_ptrdiff_t" = x""yes; then :
 
15287
 
 
15288
else
 
15289
 
 
15290
$as_echo "#define ptrdiff_t long" >>confdefs.h
 
15291
 
 
15292
 
 
15293
fi
 
15294
 
 
15295
 
 
15296
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
 
15297
$as_echo_n "checking for inttypes.h... " >&6; }
 
15298
if test "${gl_cv_header_inttypes_h+set}" = set; then :
 
15299
  $as_echo_n "(cached) " >&6
 
15300
else
 
15301
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20348
15302
/* end confdefs.h.  */
20349
15303
#include <sys/types.h>
20350
15304
#include <inttypes.h>
20356
15310
  return 0;
20357
15311
}
20358
15312
_ACEOF
20359
 
rm -f conftest.$ac_objext
20360
 
if { (ac_try="$ac_compile"
20361
 
case "(($ac_try" in
20362
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20363
 
  *) ac_try_echo=$ac_try;;
20364
 
esac
20365
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20366
 
  (eval "$ac_compile") 2>conftest.er1
20367
 
  ac_status=$?
20368
 
  grep -v '^ *+' conftest.er1 >conftest.err
20369
 
  rm -f conftest.er1
20370
 
  cat conftest.err >&5
20371
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20372
 
  (exit $ac_status); } && {
20373
 
         test -z "$ac_c_werror_flag" ||
20374
 
         test ! -s conftest.err
20375
 
       } && test -s conftest.$ac_objext; then
 
15313
if ac_fn_c_try_compile "$LINENO"; then :
20376
15314
  gl_cv_header_inttypes_h=yes
20377
15315
else
20378
 
  echo "$as_me: failed program was:" >&5
20379
 
sed 's/^/| /' conftest.$ac_ext >&5
20380
 
 
20381
 
        gl_cv_header_inttypes_h=no
 
15316
  gl_cv_header_inttypes_h=no
20382
15317
fi
20383
 
 
20384
15318
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20385
15319
fi
20386
 
{ echo "$as_me:$LINENO: result: $gl_cv_header_inttypes_h" >&5
20387
 
echo "${ECHO_T}$gl_cv_header_inttypes_h" >&6; }
 
15320
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_inttypes_h" >&5
 
15321
$as_echo "$gl_cv_header_inttypes_h" >&6; }
20388
15322
  if test $gl_cv_header_inttypes_h = yes; then
20389
15323
 
20390
15324
cat >>confdefs.h <<_ACEOF
20394
15328
  fi
20395
15329
 
20396
15330
 
20397
 
  { echo "$as_me:$LINENO: checking for stdint.h" >&5
20398
 
echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; }
20399
 
if test "${gl_cv_header_stdint_h+set}" = set; then
20400
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15331
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
 
15332
$as_echo_n "checking for stdint.h... " >&6; }
 
15333
if test "${gl_cv_header_stdint_h+set}" = set; then :
 
15334
  $as_echo_n "(cached) " >&6
20401
15335
else
20402
 
  cat >conftest.$ac_ext <<_ACEOF
20403
 
/* confdefs.h.  */
20404
 
_ACEOF
20405
 
cat confdefs.h >>conftest.$ac_ext
20406
 
cat >>conftest.$ac_ext <<_ACEOF
 
15336
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20407
15337
/* end confdefs.h.  */
20408
15338
#include <sys/types.h>
20409
15339
#include <stdint.h>
20415
15345
  return 0;
20416
15346
}
20417
15347
_ACEOF
20418
 
rm -f conftest.$ac_objext
20419
 
if { (ac_try="$ac_compile"
20420
 
case "(($ac_try" in
20421
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20422
 
  *) ac_try_echo=$ac_try;;
20423
 
esac
20424
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20425
 
  (eval "$ac_compile") 2>conftest.er1
20426
 
  ac_status=$?
20427
 
  grep -v '^ *+' conftest.er1 >conftest.err
20428
 
  rm -f conftest.er1
20429
 
  cat conftest.err >&5
20430
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20431
 
  (exit $ac_status); } && {
20432
 
         test -z "$ac_c_werror_flag" ||
20433
 
         test ! -s conftest.err
20434
 
       } && test -s conftest.$ac_objext; then
 
15348
if ac_fn_c_try_compile "$LINENO"; then :
20435
15349
  gl_cv_header_stdint_h=yes
20436
15350
else
20437
 
  echo "$as_me: failed program was:" >&5
20438
 
sed 's/^/| /' conftest.$ac_ext >&5
20439
 
 
20440
 
        gl_cv_header_stdint_h=no
 
15351
  gl_cv_header_stdint_h=no
20441
15352
fi
20442
 
 
20443
15353
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20444
15354
fi
20445
 
{ echo "$as_me:$LINENO: result: $gl_cv_header_stdint_h" >&5
20446
 
echo "${ECHO_T}$gl_cv_header_stdint_h" >&6; }
 
15355
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_h" >&5
 
15356
$as_echo "$gl_cv_header_stdint_h" >&6; }
20447
15357
  if test $gl_cv_header_stdint_h = yes; then
20448
15358
 
20449
15359
cat >>confdefs.h <<_ACEOF
20455
15365
 
20456
15366
 
20457
15367
 
20458
 
  { echo "$as_me:$LINENO: checking for intmax_t" >&5
20459
 
echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6; }
20460
 
if test "${gt_cv_c_intmax_t+set}" = set; then
20461
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15368
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5
 
15369
$as_echo_n "checking for intmax_t... " >&6; }
 
15370
if test "${gt_cv_c_intmax_t+set}" = set; then :
 
15371
  $as_echo_n "(cached) " >&6
20462
15372
else
20463
 
  cat >conftest.$ac_ext <<_ACEOF
20464
 
/* confdefs.h.  */
20465
 
_ACEOF
20466
 
cat confdefs.h >>conftest.$ac_ext
20467
 
cat >>conftest.$ac_ext <<_ACEOF
 
15373
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20468
15374
/* end confdefs.h.  */
20469
15375
 
20470
15376
#include <stddef.h>
20485
15391
  return 0;
20486
15392
}
20487
15393
_ACEOF
20488
 
rm -f conftest.$ac_objext
20489
 
if { (ac_try="$ac_compile"
20490
 
case "(($ac_try" in
20491
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20492
 
  *) ac_try_echo=$ac_try;;
20493
 
esac
20494
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20495
 
  (eval "$ac_compile") 2>conftest.er1
20496
 
  ac_status=$?
20497
 
  grep -v '^ *+' conftest.er1 >conftest.err
20498
 
  rm -f conftest.er1
20499
 
  cat conftest.err >&5
20500
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20501
 
  (exit $ac_status); } && {
20502
 
         test -z "$ac_c_werror_flag" ||
20503
 
         test ! -s conftest.err
20504
 
       } && test -s conftest.$ac_objext; then
 
15394
if ac_fn_c_try_compile "$LINENO"; then :
20505
15395
  gt_cv_c_intmax_t=yes
20506
15396
else
20507
 
  echo "$as_me: failed program was:" >&5
20508
 
sed 's/^/| /' conftest.$ac_ext >&5
20509
 
 
20510
 
        gt_cv_c_intmax_t=no
 
15397
  gt_cv_c_intmax_t=no
20511
15398
fi
20512
 
 
20513
15399
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20514
15400
fi
20515
 
{ echo "$as_me:$LINENO: result: $gt_cv_c_intmax_t" >&5
20516
 
echo "${ECHO_T}$gt_cv_c_intmax_t" >&6; }
 
15401
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_intmax_t" >&5
 
15402
$as_echo "$gt_cv_c_intmax_t" >&6; }
20517
15403
  if test $gt_cv_c_intmax_t = yes; then
20518
15404
 
20519
 
cat >>confdefs.h <<\_ACEOF
20520
 
#define HAVE_INTMAX_T 1
20521
 
_ACEOF
 
15405
$as_echo "#define HAVE_INTMAX_T 1" >>confdefs.h
20522
15406
 
20523
15407
  fi
20524
15408
 
20525
15409
 
20526
 
 
20527
 
for ac_header in stdint.h
20528
 
do
20529
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20530
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20531
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
20532
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20533
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20534
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20535
 
fi
20536
 
ac_res=`eval echo '${'$as_ac_Header'}'`
20537
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
20538
 
echo "${ECHO_T}$ac_res" >&6; }
20539
 
else
20540
 
  # Is the header compilable?
20541
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
20542
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20543
 
cat >conftest.$ac_ext <<_ACEOF
20544
 
/* confdefs.h.  */
20545
 
_ACEOF
20546
 
cat confdefs.h >>conftest.$ac_ext
20547
 
cat >>conftest.$ac_ext <<_ACEOF
20548
 
/* end confdefs.h.  */
20549
 
$ac_includes_default
20550
 
#include <$ac_header>
20551
 
_ACEOF
20552
 
rm -f conftest.$ac_objext
20553
 
if { (ac_try="$ac_compile"
20554
 
case "(($ac_try" in
20555
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20556
 
  *) ac_try_echo=$ac_try;;
20557
 
esac
20558
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20559
 
  (eval "$ac_compile") 2>conftest.er1
20560
 
  ac_status=$?
20561
 
  grep -v '^ *+' conftest.er1 >conftest.err
20562
 
  rm -f conftest.er1
20563
 
  cat conftest.err >&5
20564
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20565
 
  (exit $ac_status); } && {
20566
 
         test -z "$ac_c_werror_flag" ||
20567
 
         test ! -s conftest.err
20568
 
       } && test -s conftest.$ac_objext; then
20569
 
  ac_header_compiler=yes
20570
 
else
20571
 
  echo "$as_me: failed program was:" >&5
20572
 
sed 's/^/| /' conftest.$ac_ext >&5
20573
 
 
20574
 
        ac_header_compiler=no
20575
 
fi
20576
 
 
20577
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20578
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20579
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
20580
 
 
20581
 
# Is the header present?
20582
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
20583
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20584
 
cat >conftest.$ac_ext <<_ACEOF
20585
 
/* confdefs.h.  */
20586
 
_ACEOF
20587
 
cat confdefs.h >>conftest.$ac_ext
20588
 
cat >>conftest.$ac_ext <<_ACEOF
20589
 
/* end confdefs.h.  */
20590
 
#include <$ac_header>
20591
 
_ACEOF
20592
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
20593
 
case "(($ac_try" in
20594
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20595
 
  *) ac_try_echo=$ac_try;;
20596
 
esac
20597
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20598
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20599
 
  ac_status=$?
20600
 
  grep -v '^ *+' conftest.er1 >conftest.err
20601
 
  rm -f conftest.er1
20602
 
  cat conftest.err >&5
20603
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20604
 
  (exit $ac_status); } >/dev/null && {
20605
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20606
 
         test ! -s conftest.err
20607
 
       }; then
20608
 
  ac_header_preproc=yes
20609
 
else
20610
 
  echo "$as_me: failed program was:" >&5
20611
 
sed 's/^/| /' conftest.$ac_ext >&5
20612
 
 
20613
 
  ac_header_preproc=no
20614
 
fi
20615
 
 
20616
 
rm -f conftest.err conftest.$ac_ext
20617
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20618
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
20619
 
 
20620
 
# So?  What about this header?
20621
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20622
 
  yes:no: )
20623
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20624
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20625
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20626
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20627
 
    ac_header_preproc=yes
20628
 
    ;;
20629
 
  no:yes:* )
20630
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20631
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20632
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
20633
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
20634
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20635
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20636
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
20637
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
20638
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20639
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20640
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20641
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20642
 
 
20643
 
    ;;
20644
 
esac
20645
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
20646
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20647
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20648
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20649
 
else
20650
 
  eval "$as_ac_Header=\$ac_header_preproc"
20651
 
fi
20652
 
ac_res=`eval echo '${'$as_ac_Header'}'`
20653
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
20654
 
echo "${ECHO_T}$ac_res" >&6; }
20655
 
 
20656
 
fi
20657
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
15410
  for ac_header in stdint.h
 
15411
do :
 
15412
  ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
 
15413
if test "x$ac_cv_header_stdint_h" = x""yes; then :
20658
15414
  cat >>confdefs.h <<_ACEOF
20659
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
15415
#define HAVE_STDINT_H 1
20660
15416
_ACEOF
20661
15417
 
20662
15418
fi
20663
15419
 
20664
15420
done
20665
15421
 
20666
 
    { echo "$as_me:$LINENO: checking for SIZE_MAX" >&5
20667
 
echo $ECHO_N "checking for SIZE_MAX... $ECHO_C" >&6; }
20668
 
  if test "${gl_cv_size_max+set}" = set; then
20669
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15422
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5
 
15423
$as_echo_n "checking for SIZE_MAX... " >&6; }
 
15424
if test "${gl_cv_size_max+set}" = set; then :
 
15425
  $as_echo_n "(cached) " >&6
20670
15426
else
20671
15427
 
20672
15428
    gl_cv_size_max=
20673
 
    cat >conftest.$ac_ext <<_ACEOF
20674
 
/* confdefs.h.  */
20675
 
_ACEOF
20676
 
cat confdefs.h >>conftest.$ac_ext
20677
 
cat >>conftest.$ac_ext <<_ACEOF
 
15429
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20678
15430
/* end confdefs.h.  */
20679
15431
 
20680
15432
#include <limits.h>
20687
15439
 
20688
15440
_ACEOF
20689
15441
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20690
 
  $EGREP "Found it" >/dev/null 2>&1; then
 
15442
  $EGREP "Found it" >/dev/null 2>&1; then :
20691
15443
  gl_cv_size_max=yes
20692
15444
fi
20693
15445
rm -f conftest*
20694
15446
 
20695
15447
    if test -z "$gl_cv_size_max"; then
20696
 
                        if test "$cross_compiling" = yes; then
20697
 
  # Depending upon the size, compute the lo and hi bounds.
20698
 
cat >conftest.$ac_ext <<_ACEOF
20699
 
/* confdefs.h.  */
20700
 
_ACEOF
20701
 
cat confdefs.h >>conftest.$ac_ext
20702
 
cat >>conftest.$ac_ext <<_ACEOF
20703
 
/* end confdefs.h.  */
20704
 
#include <stddef.h>
20705
 
#include <limits.h>
20706
 
int
20707
 
main ()
20708
 
{
20709
 
static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) >= 0)];
20710
 
test_array [0] = 0
20711
 
 
20712
 
  ;
20713
 
  return 0;
20714
 
}
20715
 
_ACEOF
20716
 
rm -f conftest.$ac_objext
20717
 
if { (ac_try="$ac_compile"
20718
 
case "(($ac_try" in
20719
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20720
 
  *) ac_try_echo=$ac_try;;
20721
 
esac
20722
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20723
 
  (eval "$ac_compile") 2>conftest.er1
20724
 
  ac_status=$?
20725
 
  grep -v '^ *+' conftest.er1 >conftest.err
20726
 
  rm -f conftest.er1
20727
 
  cat conftest.err >&5
20728
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20729
 
  (exit $ac_status); } && {
20730
 
         test -z "$ac_c_werror_flag" ||
20731
 
         test ! -s conftest.err
20732
 
       } && test -s conftest.$ac_objext; then
20733
 
  ac_lo=0 ac_mid=0
20734
 
  while :; do
20735
 
    cat >conftest.$ac_ext <<_ACEOF
20736
 
/* confdefs.h.  */
20737
 
_ACEOF
20738
 
cat confdefs.h >>conftest.$ac_ext
20739
 
cat >>conftest.$ac_ext <<_ACEOF
20740
 
/* end confdefs.h.  */
20741
 
#include <stddef.h>
20742
 
#include <limits.h>
20743
 
int
20744
 
main ()
20745
 
{
20746
 
static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) <= $ac_mid)];
20747
 
test_array [0] = 0
20748
 
 
20749
 
  ;
20750
 
  return 0;
20751
 
}
20752
 
_ACEOF
20753
 
rm -f conftest.$ac_objext
20754
 
if { (ac_try="$ac_compile"
20755
 
case "(($ac_try" in
20756
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20757
 
  *) ac_try_echo=$ac_try;;
20758
 
esac
20759
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20760
 
  (eval "$ac_compile") 2>conftest.er1
20761
 
  ac_status=$?
20762
 
  grep -v '^ *+' conftest.er1 >conftest.err
20763
 
  rm -f conftest.er1
20764
 
  cat conftest.err >&5
20765
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20766
 
  (exit $ac_status); } && {
20767
 
         test -z "$ac_c_werror_flag" ||
20768
 
         test ! -s conftest.err
20769
 
       } && test -s conftest.$ac_objext; then
20770
 
  ac_hi=$ac_mid; break
20771
 
else
20772
 
  echo "$as_me: failed program was:" >&5
20773
 
sed 's/^/| /' conftest.$ac_ext >&5
20774
 
 
20775
 
        ac_lo=`expr $ac_mid + 1`
20776
 
                        if test $ac_lo -le $ac_mid; then
20777
 
                          ac_lo= ac_hi=
20778
 
                          break
20779
 
                        fi
20780
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
20781
 
fi
20782
 
 
20783
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20784
 
  done
20785
 
else
20786
 
  echo "$as_me: failed program was:" >&5
20787
 
sed 's/^/| /' conftest.$ac_ext >&5
20788
 
 
20789
 
        cat >conftest.$ac_ext <<_ACEOF
20790
 
/* confdefs.h.  */
20791
 
_ACEOF
20792
 
cat confdefs.h >>conftest.$ac_ext
20793
 
cat >>conftest.$ac_ext <<_ACEOF
20794
 
/* end confdefs.h.  */
20795
 
#include <stddef.h>
20796
 
#include <limits.h>
20797
 
int
20798
 
main ()
20799
 
{
20800
 
static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) < 0)];
20801
 
test_array [0] = 0
20802
 
 
20803
 
  ;
20804
 
  return 0;
20805
 
}
20806
 
_ACEOF
20807
 
rm -f conftest.$ac_objext
20808
 
if { (ac_try="$ac_compile"
20809
 
case "(($ac_try" in
20810
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20811
 
  *) ac_try_echo=$ac_try;;
20812
 
esac
20813
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20814
 
  (eval "$ac_compile") 2>conftest.er1
20815
 
  ac_status=$?
20816
 
  grep -v '^ *+' conftest.er1 >conftest.err
20817
 
  rm -f conftest.er1
20818
 
  cat conftest.err >&5
20819
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20820
 
  (exit $ac_status); } && {
20821
 
         test -z "$ac_c_werror_flag" ||
20822
 
         test ! -s conftest.err
20823
 
       } && test -s conftest.$ac_objext; then
20824
 
  ac_hi=-1 ac_mid=-1
20825
 
  while :; do
20826
 
    cat >conftest.$ac_ext <<_ACEOF
20827
 
/* confdefs.h.  */
20828
 
_ACEOF
20829
 
cat confdefs.h >>conftest.$ac_ext
20830
 
cat >>conftest.$ac_ext <<_ACEOF
20831
 
/* end confdefs.h.  */
20832
 
#include <stddef.h>
20833
 
#include <limits.h>
20834
 
int
20835
 
main ()
20836
 
{
20837
 
static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) >= $ac_mid)];
20838
 
test_array [0] = 0
20839
 
 
20840
 
  ;
20841
 
  return 0;
20842
 
}
20843
 
_ACEOF
20844
 
rm -f conftest.$ac_objext
20845
 
if { (ac_try="$ac_compile"
20846
 
case "(($ac_try" in
20847
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20848
 
  *) ac_try_echo=$ac_try;;
20849
 
esac
20850
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20851
 
  (eval "$ac_compile") 2>conftest.er1
20852
 
  ac_status=$?
20853
 
  grep -v '^ *+' conftest.er1 >conftest.err
20854
 
  rm -f conftest.er1
20855
 
  cat conftest.err >&5
20856
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20857
 
  (exit $ac_status); } && {
20858
 
         test -z "$ac_c_werror_flag" ||
20859
 
         test ! -s conftest.err
20860
 
       } && test -s conftest.$ac_objext; then
20861
 
  ac_lo=$ac_mid; break
20862
 
else
20863
 
  echo "$as_me: failed program was:" >&5
20864
 
sed 's/^/| /' conftest.$ac_ext >&5
20865
 
 
20866
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
20867
 
                        if test $ac_mid -le $ac_hi; then
20868
 
                          ac_lo= ac_hi=
20869
 
                          break
20870
 
                        fi
20871
 
                        ac_mid=`expr 2 '*' $ac_mid`
20872
 
fi
20873
 
 
20874
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20875
 
  done
20876
 
else
20877
 
  echo "$as_me: failed program was:" >&5
20878
 
sed 's/^/| /' conftest.$ac_ext >&5
20879
 
 
20880
 
        ac_lo= ac_hi=
20881
 
fi
20882
 
 
20883
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20884
 
fi
20885
 
 
20886
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20887
 
# Binary search between lo and hi bounds.
20888
 
while test "x$ac_lo" != "x$ac_hi"; do
20889
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20890
 
  cat >conftest.$ac_ext <<_ACEOF
20891
 
/* confdefs.h.  */
20892
 
_ACEOF
20893
 
cat confdefs.h >>conftest.$ac_ext
20894
 
cat >>conftest.$ac_ext <<_ACEOF
20895
 
/* end confdefs.h.  */
20896
 
#include <stddef.h>
20897
 
#include <limits.h>
20898
 
int
20899
 
main ()
20900
 
{
20901
 
static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) <= $ac_mid)];
20902
 
test_array [0] = 0
20903
 
 
20904
 
  ;
20905
 
  return 0;
20906
 
}
20907
 
_ACEOF
20908
 
rm -f conftest.$ac_objext
20909
 
if { (ac_try="$ac_compile"
20910
 
case "(($ac_try" in
20911
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20912
 
  *) ac_try_echo=$ac_try;;
20913
 
esac
20914
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20915
 
  (eval "$ac_compile") 2>conftest.er1
20916
 
  ac_status=$?
20917
 
  grep -v '^ *+' conftest.er1 >conftest.err
20918
 
  rm -f conftest.er1
20919
 
  cat conftest.err >&5
20920
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20921
 
  (exit $ac_status); } && {
20922
 
         test -z "$ac_c_werror_flag" ||
20923
 
         test ! -s conftest.err
20924
 
       } && test -s conftest.$ac_objext; then
20925
 
  ac_hi=$ac_mid
20926
 
else
20927
 
  echo "$as_me: failed program was:" >&5
20928
 
sed 's/^/| /' conftest.$ac_ext >&5
20929
 
 
20930
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
20931
 
fi
20932
 
 
20933
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20934
 
done
20935
 
case $ac_lo in
20936
 
?*) size_t_bits_minus_1=$ac_lo;;
20937
 
'') size_t_bits_minus_1= ;;
20938
 
esac
20939
 
else
20940
 
  cat >conftest.$ac_ext <<_ACEOF
20941
 
/* confdefs.h.  */
20942
 
_ACEOF
20943
 
cat confdefs.h >>conftest.$ac_ext
20944
 
cat >>conftest.$ac_ext <<_ACEOF
20945
 
/* end confdefs.h.  */
20946
 
#include <stddef.h>
20947
 
#include <limits.h>
20948
 
static long int longval () { return sizeof (size_t) * CHAR_BIT - 1; }
20949
 
static unsigned long int ulongval () { return sizeof (size_t) * CHAR_BIT - 1; }
20950
 
#include <stdio.h>
20951
 
#include <stdlib.h>
20952
 
int
20953
 
main ()
20954
 
{
20955
 
 
20956
 
  FILE *f = fopen ("conftest.val", "w");
20957
 
  if (! f)
20958
 
    return 1;
20959
 
  if ((sizeof (size_t) * CHAR_BIT - 1) < 0)
20960
 
    {
20961
 
      long int i = longval ();
20962
 
      if (i != (sizeof (size_t) * CHAR_BIT - 1))
20963
 
        return 1;
20964
 
      fprintf (f, "%ld\n", i);
20965
 
    }
20966
 
  else
20967
 
    {
20968
 
      unsigned long int i = ulongval ();
20969
 
      if (i != (sizeof (size_t) * CHAR_BIT - 1))
20970
 
        return 1;
20971
 
      fprintf (f, "%lu\n", i);
20972
 
    }
20973
 
  return ferror (f) || fclose (f) != 0;
20974
 
 
20975
 
  ;
20976
 
  return 0;
20977
 
}
20978
 
_ACEOF
20979
 
rm -f conftest$ac_exeext
20980
 
if { (ac_try="$ac_link"
20981
 
case "(($ac_try" in
20982
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20983
 
  *) ac_try_echo=$ac_try;;
20984
 
esac
20985
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20986
 
  (eval "$ac_link") 2>&5
20987
 
  ac_status=$?
20988
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20989
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20990
 
  { (case "(($ac_try" in
20991
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20992
 
  *) ac_try_echo=$ac_try;;
20993
 
esac
20994
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20995
 
  (eval "$ac_try") 2>&5
20996
 
  ac_status=$?
20997
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20998
 
  (exit $ac_status); }; }; then
20999
 
  size_t_bits_minus_1=`cat conftest.val`
21000
 
else
21001
 
  echo "$as_me: program exited with status $ac_status" >&5
21002
 
echo "$as_me: failed program was:" >&5
21003
 
sed 's/^/| /' conftest.$ac_ext >&5
21004
 
 
21005
 
( exit $ac_status )
21006
 
size_t_bits_minus_1=
21007
 
fi
21008
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21009
 
fi
21010
 
rm -f conftest.val
21011
 
      if test "$cross_compiling" = yes; then
21012
 
  # Depending upon the size, compute the lo and hi bounds.
21013
 
cat >conftest.$ac_ext <<_ACEOF
21014
 
/* confdefs.h.  */
21015
 
_ACEOF
21016
 
cat confdefs.h >>conftest.$ac_ext
21017
 
cat >>conftest.$ac_ext <<_ACEOF
21018
 
/* end confdefs.h.  */
21019
 
#include <stddef.h>
21020
 
int
21021
 
main ()
21022
 
{
21023
 
static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= 0)];
21024
 
test_array [0] = 0
21025
 
 
21026
 
  ;
21027
 
  return 0;
21028
 
}
21029
 
_ACEOF
21030
 
rm -f conftest.$ac_objext
21031
 
if { (ac_try="$ac_compile"
21032
 
case "(($ac_try" in
21033
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21034
 
  *) ac_try_echo=$ac_try;;
21035
 
esac
21036
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21037
 
  (eval "$ac_compile") 2>conftest.er1
21038
 
  ac_status=$?
21039
 
  grep -v '^ *+' conftest.er1 >conftest.err
21040
 
  rm -f conftest.er1
21041
 
  cat conftest.err >&5
21042
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043
 
  (exit $ac_status); } && {
21044
 
         test -z "$ac_c_werror_flag" ||
21045
 
         test ! -s conftest.err
21046
 
       } && test -s conftest.$ac_objext; then
21047
 
  ac_lo=0 ac_mid=0
21048
 
  while :; do
21049
 
    cat >conftest.$ac_ext <<_ACEOF
21050
 
/* confdefs.h.  */
21051
 
_ACEOF
21052
 
cat confdefs.h >>conftest.$ac_ext
21053
 
cat >>conftest.$ac_ext <<_ACEOF
21054
 
/* end confdefs.h.  */
21055
 
#include <stddef.h>
21056
 
int
21057
 
main ()
21058
 
{
21059
 
static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
21060
 
test_array [0] = 0
21061
 
 
21062
 
  ;
21063
 
  return 0;
21064
 
}
21065
 
_ACEOF
21066
 
rm -f conftest.$ac_objext
21067
 
if { (ac_try="$ac_compile"
21068
 
case "(($ac_try" in
21069
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21070
 
  *) ac_try_echo=$ac_try;;
21071
 
esac
21072
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21073
 
  (eval "$ac_compile") 2>conftest.er1
21074
 
  ac_status=$?
21075
 
  grep -v '^ *+' conftest.er1 >conftest.err
21076
 
  rm -f conftest.er1
21077
 
  cat conftest.err >&5
21078
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21079
 
  (exit $ac_status); } && {
21080
 
         test -z "$ac_c_werror_flag" ||
21081
 
         test ! -s conftest.err
21082
 
       } && test -s conftest.$ac_objext; then
21083
 
  ac_hi=$ac_mid; break
21084
 
else
21085
 
  echo "$as_me: failed program was:" >&5
21086
 
sed 's/^/| /' conftest.$ac_ext >&5
21087
 
 
21088
 
        ac_lo=`expr $ac_mid + 1`
21089
 
                        if test $ac_lo -le $ac_mid; then
21090
 
                          ac_lo= ac_hi=
21091
 
                          break
21092
 
                        fi
21093
 
                        ac_mid=`expr 2 '*' $ac_mid + 1`
21094
 
fi
21095
 
 
21096
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21097
 
  done
21098
 
else
21099
 
  echo "$as_me: failed program was:" >&5
21100
 
sed 's/^/| /' conftest.$ac_ext >&5
21101
 
 
21102
 
        cat >conftest.$ac_ext <<_ACEOF
21103
 
/* confdefs.h.  */
21104
 
_ACEOF
21105
 
cat confdefs.h >>conftest.$ac_ext
21106
 
cat >>conftest.$ac_ext <<_ACEOF
21107
 
/* end confdefs.h.  */
21108
 
#include <stddef.h>
21109
 
int
21110
 
main ()
21111
 
{
21112
 
static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) < 0)];
21113
 
test_array [0] = 0
21114
 
 
21115
 
  ;
21116
 
  return 0;
21117
 
}
21118
 
_ACEOF
21119
 
rm -f conftest.$ac_objext
21120
 
if { (ac_try="$ac_compile"
21121
 
case "(($ac_try" in
21122
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21123
 
  *) ac_try_echo=$ac_try;;
21124
 
esac
21125
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21126
 
  (eval "$ac_compile") 2>conftest.er1
21127
 
  ac_status=$?
21128
 
  grep -v '^ *+' conftest.er1 >conftest.err
21129
 
  rm -f conftest.er1
21130
 
  cat conftest.err >&5
21131
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21132
 
  (exit $ac_status); } && {
21133
 
         test -z "$ac_c_werror_flag" ||
21134
 
         test ! -s conftest.err
21135
 
       } && test -s conftest.$ac_objext; then
21136
 
  ac_hi=-1 ac_mid=-1
21137
 
  while :; do
21138
 
    cat >conftest.$ac_ext <<_ACEOF
21139
 
/* confdefs.h.  */
21140
 
_ACEOF
21141
 
cat confdefs.h >>conftest.$ac_ext
21142
 
cat >>conftest.$ac_ext <<_ACEOF
21143
 
/* end confdefs.h.  */
21144
 
#include <stddef.h>
21145
 
int
21146
 
main ()
21147
 
{
21148
 
static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= $ac_mid)];
21149
 
test_array [0] = 0
21150
 
 
21151
 
  ;
21152
 
  return 0;
21153
 
}
21154
 
_ACEOF
21155
 
rm -f conftest.$ac_objext
21156
 
if { (ac_try="$ac_compile"
21157
 
case "(($ac_try" in
21158
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21159
 
  *) ac_try_echo=$ac_try;;
21160
 
esac
21161
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21162
 
  (eval "$ac_compile") 2>conftest.er1
21163
 
  ac_status=$?
21164
 
  grep -v '^ *+' conftest.er1 >conftest.err
21165
 
  rm -f conftest.er1
21166
 
  cat conftest.err >&5
21167
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21168
 
  (exit $ac_status); } && {
21169
 
         test -z "$ac_c_werror_flag" ||
21170
 
         test ! -s conftest.err
21171
 
       } && test -s conftest.$ac_objext; then
21172
 
  ac_lo=$ac_mid; break
21173
 
else
21174
 
  echo "$as_me: failed program was:" >&5
21175
 
sed 's/^/| /' conftest.$ac_ext >&5
21176
 
 
21177
 
        ac_hi=`expr '(' $ac_mid ')' - 1`
21178
 
                        if test $ac_mid -le $ac_hi; then
21179
 
                          ac_lo= ac_hi=
21180
 
                          break
21181
 
                        fi
21182
 
                        ac_mid=`expr 2 '*' $ac_mid`
21183
 
fi
21184
 
 
21185
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21186
 
  done
21187
 
else
21188
 
  echo "$as_me: failed program was:" >&5
21189
 
sed 's/^/| /' conftest.$ac_ext >&5
21190
 
 
21191
 
        ac_lo= ac_hi=
21192
 
fi
21193
 
 
21194
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21195
 
fi
21196
 
 
21197
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21198
 
# Binary search between lo and hi bounds.
21199
 
while test "x$ac_lo" != "x$ac_hi"; do
21200
 
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21201
 
  cat >conftest.$ac_ext <<_ACEOF
21202
 
/* confdefs.h.  */
21203
 
_ACEOF
21204
 
cat confdefs.h >>conftest.$ac_ext
21205
 
cat >>conftest.$ac_ext <<_ACEOF
21206
 
/* end confdefs.h.  */
21207
 
#include <stddef.h>
21208
 
int
21209
 
main ()
21210
 
{
21211
 
static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
21212
 
test_array [0] = 0
21213
 
 
21214
 
  ;
21215
 
  return 0;
21216
 
}
21217
 
_ACEOF
21218
 
rm -f conftest.$ac_objext
21219
 
if { (ac_try="$ac_compile"
21220
 
case "(($ac_try" in
21221
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21222
 
  *) ac_try_echo=$ac_try;;
21223
 
esac
21224
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21225
 
  (eval "$ac_compile") 2>conftest.er1
21226
 
  ac_status=$?
21227
 
  grep -v '^ *+' conftest.er1 >conftest.err
21228
 
  rm -f conftest.er1
21229
 
  cat conftest.err >&5
21230
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21231
 
  (exit $ac_status); } && {
21232
 
         test -z "$ac_c_werror_flag" ||
21233
 
         test ! -s conftest.err
21234
 
       } && test -s conftest.$ac_objext; then
21235
 
  ac_hi=$ac_mid
21236
 
else
21237
 
  echo "$as_me: failed program was:" >&5
21238
 
sed 's/^/| /' conftest.$ac_ext >&5
21239
 
 
21240
 
        ac_lo=`expr '(' $ac_mid ')' + 1`
21241
 
fi
21242
 
 
21243
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21244
 
done
21245
 
case $ac_lo in
21246
 
?*) fits_in_uint=$ac_lo;;
21247
 
'') fits_in_uint= ;;
21248
 
esac
21249
 
else
21250
 
  cat >conftest.$ac_ext <<_ACEOF
21251
 
/* confdefs.h.  */
21252
 
_ACEOF
21253
 
cat confdefs.h >>conftest.$ac_ext
21254
 
cat >>conftest.$ac_ext <<_ACEOF
21255
 
/* end confdefs.h.  */
21256
 
#include <stddef.h>
21257
 
static long int longval () { return sizeof (size_t) <= sizeof (unsigned int); }
21258
 
static unsigned long int ulongval () { return sizeof (size_t) <= sizeof (unsigned int); }
21259
 
#include <stdio.h>
21260
 
#include <stdlib.h>
21261
 
int
21262
 
main ()
21263
 
{
21264
 
 
21265
 
  FILE *f = fopen ("conftest.val", "w");
21266
 
  if (! f)
21267
 
    return 1;
21268
 
  if ((sizeof (size_t) <= sizeof (unsigned int)) < 0)
21269
 
    {
21270
 
      long int i = longval ();
21271
 
      if (i != (sizeof (size_t) <= sizeof (unsigned int)))
21272
 
        return 1;
21273
 
      fprintf (f, "%ld\n", i);
21274
 
    }
21275
 
  else
21276
 
    {
21277
 
      unsigned long int i = ulongval ();
21278
 
      if (i != (sizeof (size_t) <= sizeof (unsigned int)))
21279
 
        return 1;
21280
 
      fprintf (f, "%lu\n", i);
21281
 
    }
21282
 
  return ferror (f) || fclose (f) != 0;
21283
 
 
21284
 
  ;
21285
 
  return 0;
21286
 
}
21287
 
_ACEOF
21288
 
rm -f conftest$ac_exeext
21289
 
if { (ac_try="$ac_link"
21290
 
case "(($ac_try" in
21291
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21292
 
  *) ac_try_echo=$ac_try;;
21293
 
esac
21294
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21295
 
  (eval "$ac_link") 2>&5
21296
 
  ac_status=$?
21297
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21298
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21299
 
  { (case "(($ac_try" in
21300
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21301
 
  *) ac_try_echo=$ac_try;;
21302
 
esac
21303
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21304
 
  (eval "$ac_try") 2>&5
21305
 
  ac_status=$?
21306
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21307
 
  (exit $ac_status); }; }; then
21308
 
  fits_in_uint=`cat conftest.val`
21309
 
else
21310
 
  echo "$as_me: program exited with status $ac_status" >&5
21311
 
echo "$as_me: failed program was:" >&5
21312
 
sed 's/^/| /' conftest.$ac_ext >&5
21313
 
 
21314
 
( exit $ac_status )
21315
 
fits_in_uint=
21316
 
fi
21317
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21318
 
fi
21319
 
rm -f conftest.val
 
15448
                        if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) * CHAR_BIT - 1" "size_t_bits_minus_1"        "#include <stddef.h>
 
15449
#include <limits.h>"; then :
 
15450
 
 
15451
else
 
15452
  size_t_bits_minus_1=
 
15453
fi
 
15454
 
 
15455
      if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint"        "#include <stddef.h>"; then :
 
15456
 
 
15457
else
 
15458
  fits_in_uint=
 
15459
fi
 
15460
 
21320
15461
      if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then
21321
15462
        if test $fits_in_uint = 1; then
21322
 
                              cat >conftest.$ac_ext <<_ACEOF
21323
 
/* confdefs.h.  */
21324
 
_ACEOF
21325
 
cat confdefs.h >>conftest.$ac_ext
21326
 
cat >>conftest.$ac_ext <<_ACEOF
 
15463
                              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21327
15464
/* end confdefs.h.  */
21328
15465
#include <stddef.h>
21329
15466
            extern size_t foo;
21337
15474
  return 0;
21338
15475
}
21339
15476
_ACEOF
21340
 
rm -f conftest.$ac_objext
21341
 
if { (ac_try="$ac_compile"
21342
 
case "(($ac_try" in
21343
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21344
 
  *) ac_try_echo=$ac_try;;
21345
 
esac
21346
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21347
 
  (eval "$ac_compile") 2>conftest.er1
21348
 
  ac_status=$?
21349
 
  grep -v '^ *+' conftest.er1 >conftest.err
21350
 
  rm -f conftest.er1
21351
 
  cat conftest.err >&5
21352
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21353
 
  (exit $ac_status); } && {
21354
 
         test -z "$ac_c_werror_flag" ||
21355
 
         test ! -s conftest.err
21356
 
       } && test -s conftest.$ac_objext; then
 
15477
if ac_fn_c_try_compile "$LINENO"; then :
21357
15478
  fits_in_uint=0
21358
 
else
21359
 
  echo "$as_me: failed program was:" >&5
21360
 
sed 's/^/| /' conftest.$ac_ext >&5
21361
 
 
21362
 
 
21363
15479
fi
21364
 
 
21365
15480
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21366
15481
        fi
21367
15482
                                if test $fits_in_uint = 1; then
21375
15490
    fi
21376
15491
 
21377
15492
fi
21378
 
 
21379
 
  { echo "$as_me:$LINENO: result: $gl_cv_size_max" >&5
21380
 
echo "${ECHO_T}$gl_cv_size_max" >&6; }
 
15493
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_size_max" >&5
 
15494
$as_echo "$gl_cv_size_max" >&6; }
21381
15495
  if test "$gl_cv_size_max" != yes; then
21382
15496
 
21383
15497
cat >>confdefs.h <<_ACEOF
21390
15504
 
21391
15505
 
21392
15506
 
21393
 
for ac_header in stdint.h
21394
 
do
21395
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21396
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21397
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
21398
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21399
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21400
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21401
 
fi
21402
 
ac_res=`eval echo '${'$as_ac_Header'}'`
21403
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21404
 
echo "${ECHO_T}$ac_res" >&6; }
21405
 
else
21406
 
  # Is the header compilable?
21407
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
21408
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21409
 
cat >conftest.$ac_ext <<_ACEOF
21410
 
/* confdefs.h.  */
21411
 
_ACEOF
21412
 
cat confdefs.h >>conftest.$ac_ext
21413
 
cat >>conftest.$ac_ext <<_ACEOF
21414
 
/* end confdefs.h.  */
21415
 
$ac_includes_default
21416
 
#include <$ac_header>
21417
 
_ACEOF
21418
 
rm -f conftest.$ac_objext
21419
 
if { (ac_try="$ac_compile"
21420
 
case "(($ac_try" in
21421
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21422
 
  *) ac_try_echo=$ac_try;;
21423
 
esac
21424
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21425
 
  (eval "$ac_compile") 2>conftest.er1
21426
 
  ac_status=$?
21427
 
  grep -v '^ *+' conftest.er1 >conftest.err
21428
 
  rm -f conftest.er1
21429
 
  cat conftest.err >&5
21430
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21431
 
  (exit $ac_status); } && {
21432
 
         test -z "$ac_c_werror_flag" ||
21433
 
         test ! -s conftest.err
21434
 
       } && test -s conftest.$ac_objext; then
21435
 
  ac_header_compiler=yes
21436
 
else
21437
 
  echo "$as_me: failed program was:" >&5
21438
 
sed 's/^/| /' conftest.$ac_ext >&5
21439
 
 
21440
 
        ac_header_compiler=no
21441
 
fi
21442
 
 
21443
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21444
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21445
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
21446
 
 
21447
 
# Is the header present?
21448
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
21449
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21450
 
cat >conftest.$ac_ext <<_ACEOF
21451
 
/* confdefs.h.  */
21452
 
_ACEOF
21453
 
cat confdefs.h >>conftest.$ac_ext
21454
 
cat >>conftest.$ac_ext <<_ACEOF
21455
 
/* end confdefs.h.  */
21456
 
#include <$ac_header>
21457
 
_ACEOF
21458
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
21459
 
case "(($ac_try" in
21460
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21461
 
  *) ac_try_echo=$ac_try;;
21462
 
esac
21463
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21464
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21465
 
  ac_status=$?
21466
 
  grep -v '^ *+' conftest.er1 >conftest.err
21467
 
  rm -f conftest.er1
21468
 
  cat conftest.err >&5
21469
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21470
 
  (exit $ac_status); } >/dev/null && {
21471
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21472
 
         test ! -s conftest.err
21473
 
       }; then
21474
 
  ac_header_preproc=yes
21475
 
else
21476
 
  echo "$as_me: failed program was:" >&5
21477
 
sed 's/^/| /' conftest.$ac_ext >&5
21478
 
 
21479
 
  ac_header_preproc=no
21480
 
fi
21481
 
 
21482
 
rm -f conftest.err conftest.$ac_ext
21483
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21484
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
21485
 
 
21486
 
# So?  What about this header?
21487
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21488
 
  yes:no: )
21489
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21490
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21491
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21492
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21493
 
    ac_header_preproc=yes
21494
 
    ;;
21495
 
  no:yes:* )
21496
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21497
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21498
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
21499
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
21500
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21501
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21502
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
21503
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
21504
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21505
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21506
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21507
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21508
 
 
21509
 
    ;;
21510
 
esac
21511
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
21512
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21513
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21514
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21515
 
else
21516
 
  eval "$as_ac_Header=\$ac_header_preproc"
21517
 
fi
21518
 
ac_res=`eval echo '${'$as_ac_Header'}'`
21519
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21520
 
echo "${ECHO_T}$ac_res" >&6; }
21521
 
 
21522
 
fi
21523
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
15507
  for ac_header in stdint.h
 
15508
do :
 
15509
  ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
 
15510
if test "x$ac_cv_header_stdint_h" = x""yes; then :
21524
15511
  cat >>confdefs.h <<_ACEOF
21525
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
15512
#define HAVE_STDINT_H 1
21526
15513
_ACEOF
21527
15514
 
21528
15515
fi
21532
15519
 
21533
15520
 
21534
15521
 
 
15522
 
 
15523
 
 
15524
 
 
15525
 
 
15526
          LIBC_FATAL_STDERR_=1
 
15527
  export LIBC_FATAL_STDERR_
 
15528
 
21535
15529
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21536
15530
# for constant arguments.  Useless!
21537
 
{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
21538
 
echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
21539
 
if test "${ac_cv_working_alloca_h+set}" = set; then
21540
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15531
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
 
15532
$as_echo_n "checking for working alloca.h... " >&6; }
 
15533
if test "${ac_cv_working_alloca_h+set}" = set; then :
 
15534
  $as_echo_n "(cached) " >&6
21541
15535
else
21542
 
  cat >conftest.$ac_ext <<_ACEOF
21543
 
/* confdefs.h.  */
21544
 
_ACEOF
21545
 
cat confdefs.h >>conftest.$ac_ext
21546
 
cat >>conftest.$ac_ext <<_ACEOF
 
15536
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21547
15537
/* end confdefs.h.  */
21548
15538
#include <alloca.h>
21549
15539
int
21555
15545
  return 0;
21556
15546
}
21557
15547
_ACEOF
21558
 
rm -f conftest.$ac_objext conftest$ac_exeext
21559
 
if { (ac_try="$ac_link"
21560
 
case "(($ac_try" in
21561
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21562
 
  *) ac_try_echo=$ac_try;;
21563
 
esac
21564
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21565
 
  (eval "$ac_link") 2>conftest.er1
21566
 
  ac_status=$?
21567
 
  grep -v '^ *+' conftest.er1 >conftest.err
21568
 
  rm -f conftest.er1
21569
 
  cat conftest.err >&5
21570
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21571
 
  (exit $ac_status); } && {
21572
 
         test -z "$ac_c_werror_flag" ||
21573
 
         test ! -s conftest.err
21574
 
       } && test -s conftest$ac_exeext &&
21575
 
       $as_test_x conftest$ac_exeext; then
 
15548
if ac_fn_c_try_link "$LINENO"; then :
21576
15549
  ac_cv_working_alloca_h=yes
21577
15550
else
21578
 
  echo "$as_me: failed program was:" >&5
21579
 
sed 's/^/| /' conftest.$ac_ext >&5
21580
 
 
21581
 
        ac_cv_working_alloca_h=no
21582
 
fi
21583
 
 
21584
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21585
 
      conftest$ac_exeext conftest.$ac_ext
21586
 
fi
21587
 
{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
21588
 
echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
 
15551
  ac_cv_working_alloca_h=no
 
15552
fi
 
15553
rm -f core conftest.err conftest.$ac_objext \
 
15554
    conftest$ac_exeext conftest.$ac_ext
 
15555
fi
 
15556
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
 
15557
$as_echo "$ac_cv_working_alloca_h" >&6; }
21589
15558
if test $ac_cv_working_alloca_h = yes; then
21590
15559
 
21591
 
cat >>confdefs.h <<\_ACEOF
21592
 
#define HAVE_ALLOCA_H 1
21593
 
_ACEOF
 
15560
$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
21594
15561
 
21595
15562
fi
21596
15563
 
21597
 
{ echo "$as_me:$LINENO: checking for alloca" >&5
21598
 
echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
21599
 
if test "${ac_cv_func_alloca_works+set}" = set; then
21600
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15564
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
 
15565
$as_echo_n "checking for alloca... " >&6; }
 
15566
if test "${ac_cv_func_alloca_works+set}" = set; then :
 
15567
  $as_echo_n "(cached) " >&6
21601
15568
else
21602
 
  cat >conftest.$ac_ext <<_ACEOF
21603
 
/* confdefs.h.  */
21604
 
_ACEOF
21605
 
cat confdefs.h >>conftest.$ac_ext
21606
 
cat >>conftest.$ac_ext <<_ACEOF
 
15569
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21607
15570
/* end confdefs.h.  */
21608
15571
#ifdef __GNUC__
21609
15572
# define alloca __builtin_alloca
21635
15598
  return 0;
21636
15599
}
21637
15600
_ACEOF
21638
 
rm -f conftest.$ac_objext conftest$ac_exeext
21639
 
if { (ac_try="$ac_link"
21640
 
case "(($ac_try" in
21641
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21642
 
  *) ac_try_echo=$ac_try;;
21643
 
esac
21644
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21645
 
  (eval "$ac_link") 2>conftest.er1
21646
 
  ac_status=$?
21647
 
  grep -v '^ *+' conftest.er1 >conftest.err
21648
 
  rm -f conftest.er1
21649
 
  cat conftest.err >&5
21650
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21651
 
  (exit $ac_status); } && {
21652
 
         test -z "$ac_c_werror_flag" ||
21653
 
         test ! -s conftest.err
21654
 
       } && test -s conftest$ac_exeext &&
21655
 
       $as_test_x conftest$ac_exeext; then
 
15601
if ac_fn_c_try_link "$LINENO"; then :
21656
15602
  ac_cv_func_alloca_works=yes
21657
15603
else
21658
 
  echo "$as_me: failed program was:" >&5
21659
 
sed 's/^/| /' conftest.$ac_ext >&5
21660
 
 
21661
 
        ac_cv_func_alloca_works=no
21662
 
fi
21663
 
 
21664
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21665
 
      conftest$ac_exeext conftest.$ac_ext
21666
 
fi
21667
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
21668
 
echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
 
15604
  ac_cv_func_alloca_works=no
 
15605
fi
 
15606
rm -f core conftest.err conftest.$ac_objext \
 
15607
    conftest$ac_exeext conftest.$ac_ext
 
15608
fi
 
15609
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
 
15610
$as_echo "$ac_cv_func_alloca_works" >&6; }
21669
15611
 
21670
15612
if test $ac_cv_func_alloca_works = yes; then
21671
15613
 
21672
 
cat >>confdefs.h <<\_ACEOF
21673
 
#define HAVE_ALLOCA 1
21674
 
_ACEOF
 
15614
$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
21675
15615
 
21676
15616
else
21677
15617
  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21679
15619
# contain a buggy version.  If you still want to use their alloca,
21680
15620
# use ar to extract alloca.o from them instead of compiling alloca.c.
21681
15621
 
 
15622
 
 
15623
 
 
15624
 
 
15625
 
21682
15626
ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
21683
15627
 
21684
 
cat >>confdefs.h <<\_ACEOF
21685
 
#define C_ALLOCA 1
21686
 
_ACEOF
21687
 
 
21688
 
 
21689
 
{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
21690
 
echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
21691
 
if test "${ac_cv_os_cray+set}" = set; then
21692
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15628
$as_echo "#define C_ALLOCA 1" >>confdefs.h
 
15629
 
 
15630
 
 
15631
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
 
15632
$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
 
15633
if test "${ac_cv_os_cray+set}" = set; then :
 
15634
  $as_echo_n "(cached) " >&6
21693
15635
else
21694
 
  cat >conftest.$ac_ext <<_ACEOF
21695
 
/* confdefs.h.  */
21696
 
_ACEOF
21697
 
cat confdefs.h >>conftest.$ac_ext
21698
 
cat >>conftest.$ac_ext <<_ACEOF
 
15636
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21699
15637
/* end confdefs.h.  */
21700
15638
#if defined CRAY && ! defined CRAY2
21701
15639
webecray
21705
15643
 
21706
15644
_ACEOF
21707
15645
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21708
 
  $EGREP "webecray" >/dev/null 2>&1; then
 
15646
  $EGREP "webecray" >/dev/null 2>&1; then :
21709
15647
  ac_cv_os_cray=yes
21710
15648
else
21711
15649
  ac_cv_os_cray=no
21713
15651
rm -f conftest*
21714
15652
 
21715
15653
fi
21716
 
{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
21717
 
echo "${ECHO_T}$ac_cv_os_cray" >&6; }
 
15654
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
 
15655
$as_echo "$ac_cv_os_cray" >&6; }
21718
15656
if test $ac_cv_os_cray = yes; then
21719
15657
  for ac_func in _getb67 GETB67 getb67; do
21720
 
    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21721
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
21722
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21723
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21724
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21725
 
else
21726
 
  cat >conftest.$ac_ext <<_ACEOF
21727
 
/* confdefs.h.  */
21728
 
_ACEOF
21729
 
cat confdefs.h >>conftest.$ac_ext
21730
 
cat >>conftest.$ac_ext <<_ACEOF
21731
 
/* end confdefs.h.  */
21732
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21733
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21734
 
#define $ac_func innocuous_$ac_func
21735
 
 
21736
 
/* System header to define __stub macros and hopefully few prototypes,
21737
 
    which can conflict with char $ac_func (); below.
21738
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21739
 
    <limits.h> exists even on freestanding compilers.  */
21740
 
 
21741
 
#ifdef __STDC__
21742
 
# include <limits.h>
21743
 
#else
21744
 
# include <assert.h>
21745
 
#endif
21746
 
 
21747
 
#undef $ac_func
21748
 
 
21749
 
/* Override any GCC internal prototype to avoid an error.
21750
 
   Use char because int might match the return type of a GCC
21751
 
   builtin and then its argument prototype would still apply.  */
21752
 
#ifdef __cplusplus
21753
 
extern "C"
21754
 
#endif
21755
 
char $ac_func ();
21756
 
/* The GNU C library defines this for functions which it implements
21757
 
    to always fail with ENOSYS.  Some functions are actually named
21758
 
    something starting with __ and the normal name is an alias.  */
21759
 
#if defined __stub_$ac_func || defined __stub___$ac_func
21760
 
choke me
21761
 
#endif
21762
 
 
21763
 
int
21764
 
main ()
21765
 
{
21766
 
return $ac_func ();
21767
 
  ;
21768
 
  return 0;
21769
 
}
21770
 
_ACEOF
21771
 
rm -f conftest.$ac_objext conftest$ac_exeext
21772
 
if { (ac_try="$ac_link"
21773
 
case "(($ac_try" in
21774
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21775
 
  *) ac_try_echo=$ac_try;;
21776
 
esac
21777
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21778
 
  (eval "$ac_link") 2>conftest.er1
21779
 
  ac_status=$?
21780
 
  grep -v '^ *+' conftest.er1 >conftest.err
21781
 
  rm -f conftest.er1
21782
 
  cat conftest.err >&5
21783
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21784
 
  (exit $ac_status); } && {
21785
 
         test -z "$ac_c_werror_flag" ||
21786
 
         test ! -s conftest.err
21787
 
       } && test -s conftest$ac_exeext &&
21788
 
       $as_test_x conftest$ac_exeext; then
21789
 
  eval "$as_ac_var=yes"
21790
 
else
21791
 
  echo "$as_me: failed program was:" >&5
21792
 
sed 's/^/| /' conftest.$ac_ext >&5
21793
 
 
21794
 
        eval "$as_ac_var=no"
21795
 
fi
21796
 
 
21797
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21798
 
      conftest$ac_exeext conftest.$ac_ext
21799
 
fi
21800
 
ac_res=`eval echo '${'$as_ac_var'}'`
21801
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21802
 
echo "${ECHO_T}$ac_res" >&6; }
21803
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
15658
    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
15659
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 
15660
eval as_val=\$$as_ac_var
 
15661
   if test "x$as_val" = x""yes; then :
21804
15662
 
21805
15663
cat >>confdefs.h <<_ACEOF
21806
15664
#define CRAY_STACKSEG_END $ac_func
21812
15670
  done
21813
15671
fi
21814
15672
 
21815
 
{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
21816
 
echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
21817
 
if test "${ac_cv_c_stack_direction+set}" = set; then
21818
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15673
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
 
15674
$as_echo_n "checking stack direction for C alloca... " >&6; }
 
15675
if test "${ac_cv_c_stack_direction+set}" = set; then :
 
15676
  $as_echo_n "(cached) " >&6
21819
15677
else
21820
 
  if test "$cross_compiling" = yes; then
 
15678
  if test "$cross_compiling" = yes; then :
21821
15679
  ac_cv_c_stack_direction=0
21822
15680
else
21823
 
  cat >conftest.$ac_ext <<_ACEOF
21824
 
/* confdefs.h.  */
21825
 
_ACEOF
21826
 
cat confdefs.h >>conftest.$ac_ext
21827
 
cat >>conftest.$ac_ext <<_ACEOF
 
15681
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21828
15682
/* end confdefs.h.  */
21829
15683
$ac_includes_default
21830
15684
int
21847
15701
  return find_stack_direction () < 0;
21848
15702
}
21849
15703
_ACEOF
21850
 
rm -f conftest$ac_exeext
21851
 
if { (ac_try="$ac_link"
21852
 
case "(($ac_try" in
21853
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21854
 
  *) ac_try_echo=$ac_try;;
21855
 
esac
21856
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21857
 
  (eval "$ac_link") 2>&5
21858
 
  ac_status=$?
21859
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21860
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21861
 
  { (case "(($ac_try" in
21862
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21863
 
  *) ac_try_echo=$ac_try;;
21864
 
esac
21865
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21866
 
  (eval "$ac_try") 2>&5
21867
 
  ac_status=$?
21868
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21869
 
  (exit $ac_status); }; }; then
 
15704
if ac_fn_c_try_run "$LINENO"; then :
21870
15705
  ac_cv_c_stack_direction=1
21871
15706
else
21872
 
  echo "$as_me: program exited with status $ac_status" >&5
21873
 
echo "$as_me: failed program was:" >&5
21874
 
sed 's/^/| /' conftest.$ac_ext >&5
21875
 
 
21876
 
( exit $ac_status )
21877
 
ac_cv_c_stack_direction=-1
21878
 
fi
21879
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21880
 
fi
21881
 
 
21882
 
 
21883
 
fi
21884
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
21885
 
echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
21886
 
 
 
15707
  ac_cv_c_stack_direction=-1
 
15708
fi
 
15709
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
15710
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
15711
fi
 
15712
 
 
15713
fi
 
15714
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
 
15715
$as_echo "$ac_cv_c_stack_direction" >&6; }
21887
15716
cat >>confdefs.h <<_ACEOF
21888
15717
#define STACK_DIRECTION $ac_cv_c_stack_direction
21889
15718
_ACEOF
21891
15720
 
21892
15721
fi
21893
15722
 
21894
 
cat >conftest.$ac_ext <<_ACEOF
21895
 
/* confdefs.h.  */
21896
 
_ACEOF
21897
 
cat confdefs.h >>conftest.$ac_ext
21898
 
cat >>conftest.$ac_ext <<_ACEOF
 
15723
 
 
15724
 
 
15725
 
 
15726
 
 
15727
  for ac_header in $gl_header_list
 
15728
do :
 
15729
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
15730
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
15731
eval as_val=\$$as_ac_Header
 
15732
   if test "x$as_val" = x""yes; then :
 
15733
  cat >>confdefs.h <<_ACEOF
 
15734
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
15735
_ACEOF
 
15736
 
 
15737
fi
 
15738
 
 
15739
done
 
15740
 
 
15741
 
 
15742
 
 
15743
 
 
15744
 
 
15745
 
 
15746
 
 
15747
 
 
15748
 
 
15749
 
 
15750
 
 
15751
 
 
15752
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5
 
15753
$as_echo_n "checking whether the preprocessor supports include_next... " >&6; }
 
15754
if test "${gl_cv_have_include_next+set}" = set; then :
 
15755
  $as_echo_n "(cached) " >&6
 
15756
else
 
15757
  rm -rf conftestd1a conftestd1b conftestd2
 
15758
     mkdir conftestd1a conftestd1b conftestd2
 
15759
                                                  cat <<EOF > conftestd1a/conftest.h
 
15760
#define DEFINED_IN_CONFTESTD1
 
15761
#include_next <conftest.h>
 
15762
#ifdef DEFINED_IN_CONFTESTD2
 
15763
int foo;
 
15764
#else
 
15765
#error "include_next doesn't work"
 
15766
#endif
 
15767
EOF
 
15768
     cat <<EOF > conftestd1b/conftest.h
 
15769
#define DEFINED_IN_CONFTESTD1
 
15770
#include <stdio.h>
 
15771
#include_next <conftest.h>
 
15772
#ifdef DEFINED_IN_CONFTESTD2
 
15773
int foo;
 
15774
#else
 
15775
#error "include_next doesn't work"
 
15776
#endif
 
15777
EOF
 
15778
     cat <<EOF > conftestd2/conftest.h
 
15779
#ifndef DEFINED_IN_CONFTESTD1
 
15780
#error "include_next test doesn't work"
 
15781
#endif
 
15782
#define DEFINED_IN_CONFTESTD2
 
15783
EOF
 
15784
     gl_save_CPPFLAGS="$CPPFLAGS"
 
15785
     CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1b -Iconftestd2"
 
15786
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15787
/* end confdefs.h.  */
 
15788
#include <conftest.h>
 
15789
_ACEOF
 
15790
if ac_fn_c_try_compile "$LINENO"; then :
 
15791
  gl_cv_have_include_next=yes
 
15792
else
 
15793
  CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2"
 
15794
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15795
/* end confdefs.h.  */
 
15796
#include <conftest.h>
 
15797
_ACEOF
 
15798
if ac_fn_c_try_compile "$LINENO"; then :
 
15799
  gl_cv_have_include_next=buggy
 
15800
else
 
15801
  gl_cv_have_include_next=no
 
15802
fi
 
15803
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
15804
 
 
15805
fi
 
15806
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
15807
     CPPFLAGS="$gl_save_CPPFLAGS"
 
15808
     rm -rf conftestd1a conftestd1b conftestd2
 
15809
 
 
15810
fi
 
15811
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_include_next" >&5
 
15812
$as_echo "$gl_cv_have_include_next" >&6; }
 
15813
  PRAGMA_SYSTEM_HEADER=
 
15814
  if test $gl_cv_have_include_next = yes; then
 
15815
    INCLUDE_NEXT=include_next
 
15816
    INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next
 
15817
    if test -n "$GCC"; then
 
15818
      PRAGMA_SYSTEM_HEADER='#pragma GCC system_header'
 
15819
    fi
 
15820
  else
 
15821
    if test $gl_cv_have_include_next = buggy; then
 
15822
      INCLUDE_NEXT=include
 
15823
      INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next
 
15824
    else
 
15825
      INCLUDE_NEXT=include
 
15826
      INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include
 
15827
    fi
 
15828
  fi
 
15829
 
 
15830
 
 
15831
 
 
15832
 
 
15833
 
 
15834
 
 
15835
 
 
15836
 
 
15837
 
 
15838
 
 
15839
 
 
15840
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for complete errno.h" >&5
 
15841
$as_echo_n "checking for complete errno.h... " >&6; }
 
15842
if test "${gl_cv_header_errno_h_complete+set}" = set; then :
 
15843
  $as_echo_n "(cached) " >&6
 
15844
else
 
15845
 
 
15846
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15847
/* end confdefs.h.  */
 
15848
 
 
15849
#include <errno.h>
 
15850
#if !defined ENOMSG
 
15851
booboo
 
15852
#endif
 
15853
#if !defined EIDRM
 
15854
booboo
 
15855
#endif
 
15856
#if !defined ENOLINK
 
15857
booboo
 
15858
#endif
 
15859
#if !defined EPROTO
 
15860
booboo
 
15861
#endif
 
15862
#if !defined EMULTIHOP
 
15863
booboo
 
15864
#endif
 
15865
#if !defined EBADMSG
 
15866
booboo
 
15867
#endif
 
15868
#if !defined EOVERFLOW
 
15869
booboo
 
15870
#endif
 
15871
#if !defined ENOTSUP
 
15872
booboo
 
15873
#endif
 
15874
#if !defined ESTALE
 
15875
booboo
 
15876
#endif
 
15877
#if !defined ECANCELED
 
15878
booboo
 
15879
#endif
 
15880
 
 
15881
_ACEOF
 
15882
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
15883
  $EGREP "booboo" >/dev/null 2>&1; then :
 
15884
  gl_cv_header_errno_h_complete=no
 
15885
else
 
15886
  gl_cv_header_errno_h_complete=yes
 
15887
fi
 
15888
rm -f conftest*
 
15889
 
 
15890
 
 
15891
fi
 
15892
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_complete" >&5
 
15893
$as_echo "$gl_cv_header_errno_h_complete" >&6; }
 
15894
  if test $gl_cv_header_errno_h_complete = yes; then
 
15895
    ERRNO_H=''
 
15896
  else
 
15897
 
 
15898
 
 
15899
 
 
15900
 
 
15901
  :
 
15902
 
 
15903
 
 
15904
 
 
15905
 
 
15906
 
 
15907
 
 
15908
 
 
15909
     if test $gl_cv_have_include_next = yes; then
 
15910
       gl_cv_next_errno_h='<'errno.h'>'
 
15911
     else
 
15912
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <errno.h>" >&5
 
15913
$as_echo_n "checking absolute name of <errno.h>... " >&6; }
 
15914
if test "${gl_cv_next_errno_h+set}" = set; then :
 
15915
  $as_echo_n "(cached) " >&6
 
15916
else
 
15917
 
 
15918
          if test $ac_cv_header_errno_h = yes; then
 
15919
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15920
/* end confdefs.h.  */
 
15921
#include <errno.h>
 
15922
 
 
15923
_ACEOF
 
15924
                                                                                                case "$host_os" in
 
15925
              aix*) gl_absname_cpp="$ac_cpp -C" ;;
 
15926
              *)    gl_absname_cpp="$ac_cpp" ;;
 
15927
            esac
 
15928
                                                gl_cv_next_errno_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
 
15929
               sed -n '\#/errno.h#{
 
15930
                 s#.*"\(.*/errno.h\)".*#\1#
 
15931
                 s#^/[^/]#//&#
 
15932
                 p
 
15933
                 q
 
15934
               }'`'"'
 
15935
          else
 
15936
            gl_cv_next_errno_h='<'errno.h'>'
 
15937
          fi
 
15938
 
 
15939
fi
 
15940
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_errno_h" >&5
 
15941
$as_echo "$gl_cv_next_errno_h" >&6; }
 
15942
     fi
 
15943
     NEXT_ERRNO_H=$gl_cv_next_errno_h
 
15944
 
 
15945
     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
 
15946
       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
 
15947
       gl_next_as_first_directive='<'errno.h'>'
 
15948
     else
 
15949
       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
 
15950
       gl_next_as_first_directive=$gl_cv_next_errno_h
 
15951
     fi
 
15952
     NEXT_AS_FIRST_DIRECTIVE_ERRNO_H=$gl_next_as_first_directive
 
15953
 
 
15954
 
 
15955
 
 
15956
    ERRNO_H='errno.h'
 
15957
  fi
 
15958
 
 
15959
 
 
15960
  if test -n "$ERRNO_H"; then
 
15961
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMULTIHOP value" >&5
 
15962
$as_echo_n "checking for EMULTIHOP value... " >&6; }
 
15963
if test "${gl_cv_header_errno_h_EMULTIHOP+set}" = set; then :
 
15964
  $as_echo_n "(cached) " >&6
 
15965
else
 
15966
 
 
15967
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15968
/* end confdefs.h.  */
 
15969
 
 
15970
#include <errno.h>
 
15971
#ifdef EMULTIHOP
 
15972
yes
 
15973
#endif
 
15974
 
 
15975
_ACEOF
 
15976
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
15977
  $EGREP "yes" >/dev/null 2>&1; then :
 
15978
  gl_cv_header_errno_h_EMULTIHOP=yes
 
15979
else
 
15980
  gl_cv_header_errno_h_EMULTIHOP=no
 
15981
fi
 
15982
rm -f conftest*
 
15983
 
 
15984
      if test $gl_cv_header_errno_h_EMULTIHOP = no; then
 
15985
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15986
/* end confdefs.h.  */
 
15987
 
 
15988
#define _XOPEN_SOURCE_EXTENDED 1
 
15989
#include <errno.h>
 
15990
#ifdef EMULTIHOP
 
15991
yes
 
15992
#endif
 
15993
 
 
15994
_ACEOF
 
15995
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
15996
  $EGREP "yes" >/dev/null 2>&1; then :
 
15997
  gl_cv_header_errno_h_EMULTIHOP=hidden
 
15998
fi
 
15999
rm -f conftest*
 
16000
 
 
16001
        if test $gl_cv_header_errno_h_EMULTIHOP = hidden; then
 
16002
                              if ac_fn_c_compute_int "$LINENO" "EMULTIHOP" "gl_cv_header_errno_h_EMULTIHOP"        "
 
16003
#define _XOPEN_SOURCE_EXTENDED 1
 
16004
#include <errno.h>
 
16005
/* The following two lines are a workaround against an autoconf-2.52 bug.  */
 
16006
#include <stdio.h>
 
16007
#include <stdlib.h>
 
16008
"; then :
 
16009
 
 
16010
fi
 
16011
 
 
16012
        fi
 
16013
      fi
 
16014
 
 
16015
fi
 
16016
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EMULTIHOP" >&5
 
16017
$as_echo "$gl_cv_header_errno_h_EMULTIHOP" >&6; }
 
16018
    case $gl_cv_header_errno_h_EMULTIHOP in
 
16019
      yes | no)
 
16020
        EMULTIHOP_HIDDEN=0; EMULTIHOP_VALUE=
 
16021
        ;;
 
16022
      *)
 
16023
        EMULTIHOP_HIDDEN=1; EMULTIHOP_VALUE="$gl_cv_header_errno_h_EMULTIHOP"
 
16024
        ;;
 
16025
    esac
 
16026
 
 
16027
 
 
16028
  fi
 
16029
 
 
16030
 
 
16031
  if test -n "$ERRNO_H"; then
 
16032
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK value" >&5
 
16033
$as_echo_n "checking for ENOLINK value... " >&6; }
 
16034
if test "${gl_cv_header_errno_h_ENOLINK+set}" = set; then :
 
16035
  $as_echo_n "(cached) " >&6
 
16036
else
 
16037
 
 
16038
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
16039
/* end confdefs.h.  */
 
16040
 
 
16041
#include <errno.h>
 
16042
#ifdef ENOLINK
 
16043
yes
 
16044
#endif
 
16045
 
 
16046
_ACEOF
 
16047
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
16048
  $EGREP "yes" >/dev/null 2>&1; then :
 
16049
  gl_cv_header_errno_h_ENOLINK=yes
 
16050
else
 
16051
  gl_cv_header_errno_h_ENOLINK=no
 
16052
fi
 
16053
rm -f conftest*
 
16054
 
 
16055
      if test $gl_cv_header_errno_h_ENOLINK = no; then
 
16056
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
16057
/* end confdefs.h.  */
 
16058
 
 
16059
#define _XOPEN_SOURCE_EXTENDED 1
 
16060
#include <errno.h>
 
16061
#ifdef ENOLINK
 
16062
yes
 
16063
#endif
 
16064
 
 
16065
_ACEOF
 
16066
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
16067
  $EGREP "yes" >/dev/null 2>&1; then :
 
16068
  gl_cv_header_errno_h_ENOLINK=hidden
 
16069
fi
 
16070
rm -f conftest*
 
16071
 
 
16072
        if test $gl_cv_header_errno_h_ENOLINK = hidden; then
 
16073
                              if ac_fn_c_compute_int "$LINENO" "ENOLINK" "gl_cv_header_errno_h_ENOLINK"        "
 
16074
#define _XOPEN_SOURCE_EXTENDED 1
 
16075
#include <errno.h>
 
16076
/* The following two lines are a workaround against an autoconf-2.52 bug.  */
 
16077
#include <stdio.h>
 
16078
#include <stdlib.h>
 
16079
"; then :
 
16080
 
 
16081
fi
 
16082
 
 
16083
        fi
 
16084
      fi
 
16085
 
 
16086
fi
 
16087
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_ENOLINK" >&5
 
16088
$as_echo "$gl_cv_header_errno_h_ENOLINK" >&6; }
 
16089
    case $gl_cv_header_errno_h_ENOLINK in
 
16090
      yes | no)
 
16091
        ENOLINK_HIDDEN=0; ENOLINK_VALUE=
 
16092
        ;;
 
16093
      *)
 
16094
        ENOLINK_HIDDEN=1; ENOLINK_VALUE="$gl_cv_header_errno_h_ENOLINK"
 
16095
        ;;
 
16096
    esac
 
16097
 
 
16098
 
 
16099
  fi
 
16100
 
 
16101
 
 
16102
  if test -n "$ERRNO_H"; then
 
16103
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW value" >&5
 
16104
$as_echo_n "checking for EOVERFLOW value... " >&6; }
 
16105
if test "${gl_cv_header_errno_h_EOVERFLOW+set}" = set; then :
 
16106
  $as_echo_n "(cached) " >&6
 
16107
else
 
16108
 
 
16109
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
16110
/* end confdefs.h.  */
 
16111
 
 
16112
#include <errno.h>
 
16113
#ifdef EOVERFLOW
 
16114
yes
 
16115
#endif
 
16116
 
 
16117
_ACEOF
 
16118
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
16119
  $EGREP "yes" >/dev/null 2>&1; then :
 
16120
  gl_cv_header_errno_h_EOVERFLOW=yes
 
16121
else
 
16122
  gl_cv_header_errno_h_EOVERFLOW=no
 
16123
fi
 
16124
rm -f conftest*
 
16125
 
 
16126
      if test $gl_cv_header_errno_h_EOVERFLOW = no; then
 
16127
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
16128
/* end confdefs.h.  */
 
16129
 
 
16130
#define _XOPEN_SOURCE_EXTENDED 1
 
16131
#include <errno.h>
 
16132
#ifdef EOVERFLOW
 
16133
yes
 
16134
#endif
 
16135
 
 
16136
_ACEOF
 
16137
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
16138
  $EGREP "yes" >/dev/null 2>&1; then :
 
16139
  gl_cv_header_errno_h_EOVERFLOW=hidden
 
16140
fi
 
16141
rm -f conftest*
 
16142
 
 
16143
        if test $gl_cv_header_errno_h_EOVERFLOW = hidden; then
 
16144
                              if ac_fn_c_compute_int "$LINENO" "EOVERFLOW" "gl_cv_header_errno_h_EOVERFLOW"        "
 
16145
#define _XOPEN_SOURCE_EXTENDED 1
 
16146
#include <errno.h>
 
16147
/* The following two lines are a workaround against an autoconf-2.52 bug.  */
 
16148
#include <stdio.h>
 
16149
#include <stdlib.h>
 
16150
"; then :
 
16151
 
 
16152
fi
 
16153
 
 
16154
        fi
 
16155
      fi
 
16156
 
 
16157
fi
 
16158
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EOVERFLOW" >&5
 
16159
$as_echo "$gl_cv_header_errno_h_EOVERFLOW" >&6; }
 
16160
    case $gl_cv_header_errno_h_EOVERFLOW in
 
16161
      yes | no)
 
16162
        EOVERFLOW_HIDDEN=0; EOVERFLOW_VALUE=
 
16163
        ;;
 
16164
      *)
 
16165
        EOVERFLOW_HIDDEN=1; EOVERFLOW_VALUE="$gl_cv_header_errno_h_EOVERFLOW"
 
16166
        ;;
 
16167
    esac
 
16168
 
 
16169
 
 
16170
  fi
 
16171
 
 
16172
 
 
16173
 
 
16174
   if true; then
 
16175
  GL_COND_LIBTOOL_TRUE=
 
16176
  GL_COND_LIBTOOL_FALSE='#'
 
16177
else
 
16178
  GL_COND_LIBTOOL_TRUE='#'
 
16179
  GL_COND_LIBTOOL_FALSE=
 
16180
fi
 
16181
 
 
16182
  gl_cond_libtool=true
 
16183
  gl_m4_base='gnulib-m4'
 
16184
 
 
16185
 
 
16186
 
 
16187
 
 
16188
 
 
16189
 
 
16190
 
 
16191
 
 
16192
 
 
16193
  gl_source_base='.'
 
16194
  # Code from module alloca:
 
16195
LTALLOCA=`echo "$ALLOCA" | sed -e 's/\.[^.]* /.lo /g;s/\.[^.]*$/.lo/'`
 
16196
 
 
16197
  # Code from module alloca-opt:
 
16198
 
 
16199
 
 
16200
 
 
16201
 
 
16202
 
 
16203
  if test $ac_cv_func_alloca_works = no; then
 
16204
 
 
16205
 
 
16206
  :
 
16207
 
 
16208
 
 
16209
 
 
16210
 
 
16211
 
 
16212
 
 
16213
 
 
16214
 
 
16215
  :
 
16216
 
 
16217
  fi
 
16218
 
 
16219
  # Define an additional variable used in the Makefile substitution.
 
16220
 
 
16221
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21899
16222
/* end confdefs.h.  */
21900
16223
 
21901
16224
#if defined __GNUC__ || defined _MSC_VER || !HAVE_ALLOCA_H
21904
16227
 
21905
16228
_ACEOF
21906
16229
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21907
 
  $EGREP "Need own alloca" >/dev/null 2>&1; then
 
16230
  $EGREP "Need own alloca" >/dev/null 2>&1; then :
21908
16231
  ALLOCA_H=alloca.h
21909
16232
else
21910
16233
  ALLOCA_H=
21913
16236
 
21914
16237
 
21915
16238
 
21916
 
 
21917
 
 
21918
 
 
21919
 
for ac_func in snprintf vasprintf wcslen
21920
 
do
21921
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21922
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
21923
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21924
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21925
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21926
 
else
21927
 
  cat >conftest.$ac_ext <<_ACEOF
21928
 
/* confdefs.h.  */
21929
 
_ACEOF
21930
 
cat confdefs.h >>conftest.$ac_ext
21931
 
cat >>conftest.$ac_ext <<_ACEOF
21932
 
/* end confdefs.h.  */
21933
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21934
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21935
 
#define $ac_func innocuous_$ac_func
21936
 
 
21937
 
/* System header to define __stub macros and hopefully few prototypes,
21938
 
    which can conflict with char $ac_func (); below.
21939
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21940
 
    <limits.h> exists even on freestanding compilers.  */
21941
 
 
21942
 
#ifdef __STDC__
21943
 
# include <limits.h>
21944
 
#else
21945
 
# include <assert.h>
21946
 
#endif
21947
 
 
21948
 
#undef $ac_func
21949
 
 
21950
 
/* Override any GCC internal prototype to avoid an error.
21951
 
   Use char because int might match the return type of a GCC
21952
 
   builtin and then its argument prototype would still apply.  */
21953
 
#ifdef __cplusplus
21954
 
extern "C"
21955
 
#endif
21956
 
char $ac_func ();
21957
 
/* The GNU C library defines this for functions which it implements
21958
 
    to always fail with ENOSYS.  Some functions are actually named
21959
 
    something starting with __ and the normal name is an alias.  */
21960
 
#if defined __stub_$ac_func || defined __stub___$ac_func
21961
 
choke me
21962
 
#endif
21963
 
 
21964
 
int
21965
 
main ()
21966
 
{
21967
 
return $ac_func ();
21968
 
  ;
21969
 
  return 0;
21970
 
}
21971
 
_ACEOF
21972
 
rm -f conftest.$ac_objext conftest$ac_exeext
21973
 
if { (ac_try="$ac_link"
21974
 
case "(($ac_try" in
21975
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21976
 
  *) ac_try_echo=$ac_try;;
21977
 
esac
21978
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21979
 
  (eval "$ac_link") 2>conftest.er1
21980
 
  ac_status=$?
21981
 
  grep -v '^ *+' conftest.er1 >conftest.err
21982
 
  rm -f conftest.er1
21983
 
  cat conftest.err >&5
21984
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21985
 
  (exit $ac_status); } && {
21986
 
         test -z "$ac_c_werror_flag" ||
21987
 
         test ! -s conftest.err
21988
 
       } && test -s conftest$ac_exeext &&
21989
 
       $as_test_x conftest$ac_exeext; then
21990
 
  eval "$as_ac_var=yes"
21991
 
else
21992
 
  echo "$as_me: failed program was:" >&5
21993
 
sed 's/^/| /' conftest.$ac_ext >&5
21994
 
 
21995
 
        eval "$as_ac_var=no"
21996
 
fi
21997
 
 
21998
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21999
 
      conftest$ac_exeext conftest.$ac_ext
22000
 
fi
22001
 
ac_res=`eval echo '${'$as_ac_var'}'`
22002
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
22003
 
echo "${ECHO_T}$ac_res" >&6; }
22004
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
16239
  # Code from module errno:
 
16240
 
 
16241
  # Code from module include_next:
 
16242
  # Code from module dummy:
 
16243
  # End of code from modules
 
16244
 
 
16245
 
 
16246
 
 
16247
 
 
16248
 
 
16249
 
 
16250
 
 
16251
  gltests_libdeps=
 
16252
  gltests_ltlibdeps=
 
16253
 
 
16254
 
 
16255
 
 
16256
 
 
16257
 
 
16258
 
 
16259
 
 
16260
 
 
16261
 
 
16262
  gl_source_base='tests'
 
16263
  gltests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS
 
16264
 
 
16265
  gl_module_indicator_condition=$gltests_WITNESS
 
16266
 
 
16267
 
 
16268
 
 
16269
 
 
16270
 
 
16271
 
 
16272
 
 
16273
 
 
16274
 
 
16275
 
 
16276
for ac_func in snprintf vasprintf strnlen wcslen wcsnlen mbrtowc wcrtomb
 
16277
do :
 
16278
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
16279
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 
16280
eval as_val=\$$as_ac_var
 
16281
   if test "x$as_val" = x""yes; then :
22005
16282
  cat >>confdefs.h <<_ACEOF
22006
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
16283
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22007
16284
_ACEOF
22008
16285
 
22009
16286
fi
22010
16287
done
22011
16288
 
22012
 
{ echo "$as_me:$LINENO: checking whether _snprintf is declared" >&5
22013
 
echo $ECHO_N "checking whether _snprintf is declared... $ECHO_C" >&6; }
22014
 
if test "${ac_cv_have_decl__snprintf+set}" = set; then
22015
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22016
 
else
22017
 
  cat >conftest.$ac_ext <<_ACEOF
22018
 
/* confdefs.h.  */
22019
 
_ACEOF
22020
 
cat confdefs.h >>conftest.$ac_ext
22021
 
cat >>conftest.$ac_ext <<_ACEOF
22022
 
/* end confdefs.h.  */
22023
 
$ac_includes_default
22024
 
int
22025
 
main ()
22026
 
{
22027
 
#ifndef _snprintf
22028
 
  (void) _snprintf;
22029
 
#endif
22030
 
 
22031
 
  ;
22032
 
  return 0;
22033
 
}
22034
 
_ACEOF
22035
 
rm -f conftest.$ac_objext
22036
 
if { (ac_try="$ac_compile"
22037
 
case "(($ac_try" in
22038
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22039
 
  *) ac_try_echo=$ac_try;;
22040
 
esac
22041
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22042
 
  (eval "$ac_compile") 2>conftest.er1
22043
 
  ac_status=$?
22044
 
  grep -v '^ *+' conftest.er1 >conftest.err
22045
 
  rm -f conftest.er1
22046
 
  cat conftest.err >&5
22047
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22048
 
  (exit $ac_status); } && {
22049
 
         test -z "$ac_c_werror_flag" ||
22050
 
         test ! -s conftest.err
22051
 
       } && test -s conftest.$ac_objext; then
22052
 
  ac_cv_have_decl__snprintf=yes
22053
 
else
22054
 
  echo "$as_me: failed program was:" >&5
22055
 
sed 's/^/| /' conftest.$ac_ext >&5
22056
 
 
22057
 
        ac_cv_have_decl__snprintf=no
22058
 
fi
22059
 
 
22060
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22061
 
fi
22062
 
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl__snprintf" >&5
22063
 
echo "${ECHO_T}$ac_cv_have_decl__snprintf" >&6; }
22064
 
if test $ac_cv_have_decl__snprintf = yes; then
 
16289
ac_fn_c_check_decl "$LINENO" "_snprintf" "ac_cv_have_decl__snprintf" "#include <stdio.h>
 
16290
"
 
16291
if test "x$ac_cv_have_decl__snprintf" = x""yes; then :
 
16292
  ac_have_decl=1
 
16293
else
 
16294
  ac_have_decl=0
 
16295
fi
22065
16296
 
22066
16297
cat >>confdefs.h <<_ACEOF
22067
 
#define HAVE_DECL__SNPRINTF 1
22068
 
_ACEOF
22069
 
 
22070
 
 
22071
 
else
22072
 
  cat >>confdefs.h <<_ACEOF
22073
 
#define HAVE_DECL__SNPRINTF 0
22074
 
_ACEOF
22075
 
 
22076
 
 
22077
 
fi
22078
 
 
22079
 
 
22080
 
 
22081
 
 
22082
 
  { echo "$as_me:$LINENO: checking whether printf() supports POSIX/XSI format strings" >&5
22083
 
echo $ECHO_N "checking whether printf() supports POSIX/XSI format strings... $ECHO_C" >&6; }
22084
 
if test "${gt_cv_func_printf_posix+set}" = set; then
22085
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22086
 
else
22087
 
 
22088
 
      if test "$cross_compiling" = yes; then
22089
 
 
22090
 
        cat >conftest.$ac_ext <<_ACEOF
22091
 
/* confdefs.h.  */
22092
 
_ACEOF
22093
 
cat confdefs.h >>conftest.$ac_ext
22094
 
cat >>conftest.$ac_ext <<_ACEOF
 
16298
#define HAVE_DECL__SNPRINTF $ac_have_decl
 
16299
_ACEOF
 
16300
 
 
16301
 
 
16302
 
 
16303
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf() supports POSIX/XSI format strings" >&5
 
16304
$as_echo_n "checking whether printf() supports POSIX/XSI format strings... " >&6; }
 
16305
if test "${gt_cv_func_printf_posix+set}" = set; then :
 
16306
  $as_echo_n "(cached) " >&6
 
16307
else
 
16308
 
 
16309
      if test "$cross_compiling" = yes; then :
 
16310
 
 
16311
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22095
16312
/* end confdefs.h.  */
22096
16313
 
22097
16314
#if defined __NetBSD__ || defined __BEOS__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
22100
16317
 
22101
16318
_ACEOF
22102
16319
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22103
 
  $EGREP "notposix" >/dev/null 2>&1; then
 
16320
  $EGREP "notposix" >/dev/null 2>&1; then :
22104
16321
  gt_cv_func_printf_posix="guessing no"
22105
16322
else
22106
16323
  gt_cv_func_printf_posix="guessing yes"
22109
16326
 
22110
16327
 
22111
16328
else
22112
 
  cat >conftest.$ac_ext <<_ACEOF
22113
 
/* confdefs.h.  */
22114
 
_ACEOF
22115
 
cat confdefs.h >>conftest.$ac_ext
22116
 
cat >>conftest.$ac_ext <<_ACEOF
 
16329
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22117
16330
/* end confdefs.h.  */
22118
16331
 
22119
16332
#include <stdio.h>
22128
16341
  return (strcmp (buf, "55 33") != 0);
22129
16342
}
22130
16343
_ACEOF
22131
 
rm -f conftest$ac_exeext
22132
 
if { (ac_try="$ac_link"
22133
 
case "(($ac_try" in
22134
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22135
 
  *) ac_try_echo=$ac_try;;
22136
 
esac
22137
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22138
 
  (eval "$ac_link") 2>&5
22139
 
  ac_status=$?
22140
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22141
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22142
 
  { (case "(($ac_try" in
22143
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22144
 
  *) ac_try_echo=$ac_try;;
22145
 
esac
22146
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22147
 
  (eval "$ac_try") 2>&5
22148
 
  ac_status=$?
22149
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22150
 
  (exit $ac_status); }; }; then
 
16344
if ac_fn_c_try_run "$LINENO"; then :
22151
16345
  gt_cv_func_printf_posix=yes
22152
16346
else
22153
 
  echo "$as_me: program exited with status $ac_status" >&5
22154
 
echo "$as_me: failed program was:" >&5
22155
 
sed 's/^/| /' conftest.$ac_ext >&5
22156
 
 
22157
 
( exit $ac_status )
22158
 
gt_cv_func_printf_posix=no
22159
 
fi
22160
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22161
 
fi
22162
 
 
22163
 
 
22164
 
 
22165
 
fi
22166
 
{ echo "$as_me:$LINENO: result: $gt_cv_func_printf_posix" >&5
22167
 
echo "${ECHO_T}$gt_cv_func_printf_posix" >&6; }
 
16347
  gt_cv_func_printf_posix=no
 
16348
fi
 
16349
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
16350
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
16351
fi
 
16352
 
 
16353
 
 
16354
fi
 
16355
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_printf_posix" >&5
 
16356
$as_echo "$gt_cv_func_printf_posix" >&6; }
22168
16357
  case $gt_cv_func_printf_posix in
22169
16358
    *yes)
22170
16359
 
22171
 
cat >>confdefs.h <<\_ACEOF
22172
 
#define HAVE_POSIX_PRINTF 1
22173
 
_ACEOF
 
16360
$as_echo "#define HAVE_POSIX_PRINTF 1" >>confdefs.h
22174
16361
 
22175
16362
      ;;
22176
16363
  esac
22179
16366
ac_aux_dir_abs=`cd $ac_aux_dir && pwd`
22180
16367
# Extract the first word of "dvips", so it can be a program name with args.
22181
16368
set dummy dvips; ac_word=$2
22182
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22183
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22184
 
if test "${ac_cv_path_DVIPS+set}" = set; then
22185
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16369
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
16370
$as_echo_n "checking for $ac_word... " >&6; }
 
16371
if test "${ac_cv_path_DVIPS+set}" = set; then :
 
16372
  $as_echo_n "(cached) " >&6
22186
16373
else
22187
16374
  case $DVIPS in
22188
16375
  [\\/]* | ?:[\\/]*)
22194
16381
do
22195
16382
  IFS=$as_save_IFS
22196
16383
  test -z "$as_dir" && as_dir=.
22197
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
16384
    for ac_exec_ext in '' $ac_executable_extensions; do
22198
16385
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22199
16386
    ac_cv_path_DVIPS="$as_dir/$ac_word$ac_exec_ext"
22200
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16387
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22201
16388
    break 2
22202
16389
  fi
22203
16390
done
22204
 
done
 
16391
  done
22205
16392
IFS=$as_save_IFS
22206
16393
 
22207
16394
  test -z "$ac_cv_path_DVIPS" && ac_cv_path_DVIPS="$ac_aux_dir_abs/missing dvips"
22210
16397
fi
22211
16398
DVIPS=$ac_cv_path_DVIPS
22212
16399
if test -n "$DVIPS"; then
22213
 
  { echo "$as_me:$LINENO: result: $DVIPS" >&5
22214
 
echo "${ECHO_T}$DVIPS" >&6; }
 
16400
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DVIPS" >&5
 
16401
$as_echo "$DVIPS" >&6; }
22215
16402
else
22216
 
  { echo "$as_me:$LINENO: result: no" >&5
22217
 
echo "${ECHO_T}no" >&6; }
 
16403
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16404
$as_echo "no" >&6; }
22218
16405
fi
22219
16406
 
22220
16407
 
22221
16408
# Extract the first word of "texi2pdf", so it can be a program name with args.
22222
16409
set dummy texi2pdf; ac_word=$2
22223
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22224
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22225
 
if test "${ac_cv_path_TEXI2PDF+set}" = set; then
22226
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16410
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
16411
$as_echo_n "checking for $ac_word... " >&6; }
 
16412
if test "${ac_cv_path_TEXI2PDF+set}" = set; then :
 
16413
  $as_echo_n "(cached) " >&6
22227
16414
else
22228
16415
  case $TEXI2PDF in
22229
16416
  [\\/]* | ?:[\\/]*)
22235
16422
do
22236
16423
  IFS=$as_save_IFS
22237
16424
  test -z "$as_dir" && as_dir=.
22238
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
16425
    for ac_exec_ext in '' $ac_executable_extensions; do
22239
16426
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22240
16427
    ac_cv_path_TEXI2PDF="$as_dir/$ac_word$ac_exec_ext"
22241
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16428
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22242
16429
    break 2
22243
16430
  fi
22244
16431
done
22245
 
done
 
16432
  done
22246
16433
IFS=$as_save_IFS
22247
16434
 
22248
16435
  test -z "$ac_cv_path_TEXI2PDF" && ac_cv_path_TEXI2PDF="$ac_aux_dir_abs/missing texi2pdf"
22251
16438
fi
22252
16439
TEXI2PDF=$ac_cv_path_TEXI2PDF
22253
16440
if test -n "$TEXI2PDF"; then
22254
 
  { echo "$as_me:$LINENO: result: $TEXI2PDF" >&5
22255
 
echo "${ECHO_T}$TEXI2PDF" >&6; }
 
16441
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEXI2PDF" >&5
 
16442
$as_echo "$TEXI2PDF" >&6; }
22256
16443
else
22257
 
  { echo "$as_me:$LINENO: result: no" >&5
22258
 
echo "${ECHO_T}no" >&6; }
 
16444
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16445
$as_echo "no" >&6; }
22259
16446
fi
22260
16447
 
22261
16448
 
22262
16449
# Extract the first word of "perl", so it can be a program name with args.
22263
16450
set dummy perl; ac_word=$2
22264
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22265
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22266
 
if test "${ac_cv_path_PERL+set}" = set; then
22267
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16451
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
16452
$as_echo_n "checking for $ac_word... " >&6; }
 
16453
if test "${ac_cv_path_PERL+set}" = set; then :
 
16454
  $as_echo_n "(cached) " >&6
22268
16455
else
22269
16456
  case $PERL in
22270
16457
  [\\/]* | ?:[\\/]*)
22276
16463
do
22277
16464
  IFS=$as_save_IFS
22278
16465
  test -z "$as_dir" && as_dir=.
22279
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
16466
    for ac_exec_ext in '' $ac_executable_extensions; do
22280
16467
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22281
16468
    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
22282
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
16469
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22283
16470
    break 2
22284
16471
  fi
22285
16472
done
22286
 
done
 
16473
  done
22287
16474
IFS=$as_save_IFS
22288
16475
 
22289
16476
  test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="$ac_aux_dir_abs/missing perl"
22292
16479
fi
22293
16480
PERL=$ac_cv_path_PERL
22294
16481
if test -n "$PERL"; then
22295
 
  { echo "$as_me:$LINENO: result: $PERL" >&5
22296
 
echo "${ECHO_T}$PERL" >&6; }
 
16482
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
 
16483
$as_echo "$PERL" >&6; }
22297
16484
else
22298
 
  { echo "$as_me:$LINENO: result: no" >&5
22299
 
echo "${ECHO_T}no" >&6; }
 
16485
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16486
$as_echo "no" >&6; }
22300
16487
fi
22301
16488
 
22302
16489
 
22331
16518
    case $ac_val in #(
22332
16519
    *${as_nl}*)
22333
16520
      case $ac_var in #(
22334
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22335
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
16521
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
16522
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22336
16523
      esac
22337
16524
      case $ac_var in #(
22338
16525
      _ | IFS | as_nl) ;; #(
22339
 
      *) $as_unset $ac_var ;;
 
16526
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
16527
      *) { eval $ac_var=; unset $ac_var;} ;;
22340
16528
      esac ;;
22341
16529
    esac
22342
16530
  done
22344
16532
  (set) 2>&1 |
22345
16533
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
22346
16534
    *${as_nl}ac_space=\ *)
22347
 
      # `set' does not quote correctly, so add quotes (double-quote
22348
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
16535
      # `set' does not quote correctly, so add quotes: double-quote
 
16536
      # substitution turns \\\\ into \\, and sed turns \\ into \.
22349
16537
      sed -n \
22350
16538
        "s/'/'\\\\''/g;
22351
16539
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22368
16556
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22369
16557
  if test -w "$cache_file"; then
22370
16558
    test "x$cache_file" != "x/dev/null" &&
22371
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22372
 
echo "$as_me: updating cache $cache_file" >&6;}
 
16559
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
16560
$as_echo "$as_me: updating cache $cache_file" >&6;}
22373
16561
    cat confcache >$cache_file
22374
16562
  else
22375
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22376
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
16563
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
16564
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22377
16565
  fi
22378
16566
fi
22379
16567
rm -f confcache
22389
16577
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22390
16578
  # 1. Remove the extension, and $U if already installed.
22391
16579
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22392
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
16580
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
22393
16581
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
22394
16582
  #    will be set to the directory where LIBOBJS objects are built.
22395
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22396
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
16583
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
16584
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22397
16585
done
22398
16586
LIBOBJS=$ac_libobjs
22399
16587
 
22400
16588
LTLIBOBJS=$ac_ltlibobjs
22401
16589
 
22402
16590
 
 
16591
 if test -n "$EXEEXT"; then
 
16592
  am__EXEEXT_TRUE=
 
16593
  am__EXEEXT_FALSE='#'
 
16594
else
 
16595
  am__EXEEXT_TRUE='#'
 
16596
  am__EXEEXT_FALSE=
 
16597
fi
 
16598
 
22403
16599
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22404
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
22405
 
Usually this means the macro was only invoked conditionally." >&5
22406
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
22407
 
Usually this means the macro was only invoked conditionally." >&2;}
22408
 
   { (exit 1); exit 1; }; }
 
16600
  as_fn_error "conditional \"AMDEP\" was never defined.
 
16601
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22409
16602
fi
22410
16603
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22411
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22412
 
Usually this means the macro was only invoked conditionally." >&5
22413
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22414
 
Usually this means the macro was only invoked conditionally." >&2;}
22415
 
   { (exit 1); exit 1; }; }
22416
 
fi
22417
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22418
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
22419
 
Usually this means the macro was only invoked conditionally." >&5
22420
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
22421
 
Usually this means the macro was only invoked conditionally." >&2;}
22422
 
   { (exit 1); exit 1; }; }
22423
 
fi
 
16604
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
16605
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16606
fi
 
16607
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
16608
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 
16609
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16610
fi
 
16611
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
16612
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 
16613
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16614
fi
 
16615
if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then
 
16616
  as_fn_error "conditional \"GL_COND_LIBTOOL\" was never defined.
 
16617
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16618
fi
 
16619
 
 
16620
    gl_libobjs=
 
16621
    gl_ltlibobjs=
 
16622
    if test -n "$gl_LIBOBJS"; then
 
16623
      # Remove the extension.
 
16624
      sed_drop_objext='s/\.o$//;s/\.obj$//'
 
16625
      for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
 
16626
        gl_libobjs="$gl_libobjs $i.$ac_objext"
 
16627
        gl_ltlibobjs="$gl_ltlibobjs $i.lo"
 
16628
      done
 
16629
    fi
 
16630
    gl_LIBOBJS=$gl_libobjs
 
16631
 
 
16632
    gl_LTLIBOBJS=$gl_ltlibobjs
 
16633
 
 
16634
 
 
16635
 
 
16636
    gltests_libobjs=
 
16637
    gltests_ltlibobjs=
 
16638
    if test -n "$gltests_LIBOBJS"; then
 
16639
      # Remove the extension.
 
16640
      sed_drop_objext='s/\.o$//;s/\.obj$//'
 
16641
      for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
 
16642
        gltests_libobjs="$gltests_libobjs $i.$ac_objext"
 
16643
        gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
 
16644
      done
 
16645
    fi
 
16646
    gltests_LIBOBJS=$gltests_libobjs
 
16647
 
 
16648
    gltests_LTLIBOBJS=$gltests_ltlibobjs
 
16649
 
 
16650
 
22424
16651
 
22425
16652
: ${CONFIG_STATUS=./config.status}
 
16653
ac_write_fail=0
22426
16654
ac_clean_files_save=$ac_clean_files
22427
16655
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22428
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22429
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
22430
 
cat >$CONFIG_STATUS <<_ACEOF
 
16656
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
16657
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
16658
as_write_fail=0
 
16659
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22431
16660
#! $SHELL
22432
16661
# Generated by $as_me.
22433
16662
# Run this file to recreate the current configuration.
22437
16666
debug=false
22438
16667
ac_cs_recheck=false
22439
16668
ac_cs_silent=false
 
16669
 
22440
16670
SHELL=\${CONFIG_SHELL-$SHELL}
22441
 
_ACEOF
22442
 
 
22443
 
cat >>$CONFIG_STATUS <<\_ACEOF
22444
 
## --------------------- ##
22445
 
## M4sh Initialization.  ##
22446
 
## --------------------- ##
 
16671
export SHELL
 
16672
_ASEOF
 
16673
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
16674
## -------------------- ##
 
16675
## M4sh Initialization. ##
 
16676
## -------------------- ##
22447
16677
 
22448
16678
# Be more Bourne compatible
22449
16679
DUALCASE=1; export DUALCASE # for MKS sh
22450
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
16680
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22451
16681
  emulate sh
22452
16682
  NULLCMD=:
22453
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
16683
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22454
16684
  # is contrary to our usage.  Disable this feature.
22455
16685
  alias -g '${1+"$@"}'='"$@"'
22456
16686
  setopt NO_GLOB_SUBST
22457
16687
else
22458
 
  case `(set -o) 2>/dev/null` in
22459
 
  *posix*) set -o posix ;;
 
16688
  case `(set -o) 2>/dev/null` in #(
 
16689
  *posix*) :
 
16690
    set -o posix ;; #(
 
16691
  *) :
 
16692
     ;;
22460
16693
esac
22461
 
 
22462
 
fi
22463
 
 
22464
 
 
22465
 
 
22466
 
 
22467
 
# PATH needs CR
22468
 
# Avoid depending upon Character Ranges.
22469
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22470
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22471
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22472
 
as_cr_digits='0123456789'
22473
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
16694
fi
 
16695
 
 
16696
 
 
16697
as_nl='
 
16698
'
 
16699
export as_nl
 
16700
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
16701
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
16702
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
16703
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
16704
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
16705
# but without wasting forks for bash or zsh.
 
16706
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
16707
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
16708
  as_echo='print -r --'
 
16709
  as_echo_n='print -rn --'
 
16710
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
16711
  as_echo='printf %s\n'
 
16712
  as_echo_n='printf %s'
 
16713
else
 
16714
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
16715
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
16716
    as_echo_n='/usr/ucb/echo -n'
 
16717
  else
 
16718
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
16719
    as_echo_n_body='eval
 
16720
      arg=$1;
 
16721
      case $arg in #(
 
16722
      *"$as_nl"*)
 
16723
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
16724
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
16725
      esac;
 
16726
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
16727
    '
 
16728
    export as_echo_n_body
 
16729
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
16730
  fi
 
16731
  export as_echo_body
 
16732
  as_echo='sh -c $as_echo_body as_echo'
 
16733
fi
22474
16734
 
22475
16735
# The user is always right.
22476
16736
if test "${PATH_SEPARATOR+set}" != set; then
22477
 
  echo "#! /bin/sh" >conf$$.sh
22478
 
  echo  "exit 0"   >>conf$$.sh
22479
 
  chmod +x conf$$.sh
22480
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22481
 
    PATH_SEPARATOR=';'
22482
 
  else
22483
 
    PATH_SEPARATOR=:
22484
 
  fi
22485
 
  rm -f conf$$.sh
22486
 
fi
22487
 
 
22488
 
# Support unset when possible.
22489
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22490
 
  as_unset=unset
22491
 
else
22492
 
  as_unset=false
 
16737
  PATH_SEPARATOR=:
 
16738
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
16739
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
16740
      PATH_SEPARATOR=';'
 
16741
  }
22493
16742
fi
22494
16743
 
22495
16744
 
22498
16747
# there to prevent editors from complaining about space-tab.
22499
16748
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
22500
16749
# splitting by setting IFS to empty value.)
22501
 
as_nl='
22502
 
'
22503
16750
IFS=" ""        $as_nl"
22504
16751
 
22505
16752
# Find who we are.  Look in the path if we contain no directory separator.
22506
 
case $0 in
 
16753
case $0 in #((
22507
16754
  *[\\/]* ) as_myself=$0 ;;
22508
16755
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22509
16756
for as_dir in $PATH
22510
16757
do
22511
16758
  IFS=$as_save_IFS
22512
16759
  test -z "$as_dir" && as_dir=.
22513
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22514
 
done
 
16760
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
16761
  done
22515
16762
IFS=$as_save_IFS
22516
16763
 
22517
16764
     ;;
22522
16769
  as_myself=$0
22523
16770
fi
22524
16771
if test ! -f "$as_myself"; then
22525
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22526
 
  { (exit 1); exit 1; }
 
16772
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
16773
  exit 1
22527
16774
fi
22528
16775
 
22529
 
# Work around bugs in pre-3.0 UWIN ksh.
22530
 
for as_var in ENV MAIL MAILPATH
22531
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
16776
# Unset variables that we do not need and which cause bugs (e.g. in
 
16777
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
16778
# suppresses any "Segmentation fault" message there.  '((' could
 
16779
# trigger a bug in pdksh 5.2.14.
 
16780
for as_var in BASH_ENV ENV MAIL MAILPATH
 
16781
do eval test x\${$as_var+set} = xset \
 
16782
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22532
16783
done
22533
16784
PS1='$ '
22534
16785
PS2='> '
22535
16786
PS4='+ '
22536
16787
 
22537
16788
# NLS nuisances.
22538
 
for as_var in \
22539
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22540
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22541
 
  LC_TELEPHONE LC_TIME
22542
 
do
22543
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22544
 
    eval $as_var=C; export $as_var
22545
 
  else
22546
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
16789
LC_ALL=C
 
16790
export LC_ALL
 
16791
LANGUAGE=C
 
16792
export LANGUAGE
 
16793
 
 
16794
# CDPATH.
 
16795
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
16796
 
 
16797
 
 
16798
# as_fn_error ERROR [LINENO LOG_FD]
 
16799
# ---------------------------------
 
16800
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
16801
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
16802
# script with status $?, using 1 if that was 0.
 
16803
as_fn_error ()
 
16804
{
 
16805
  as_status=$?; test $as_status -eq 0 && as_status=1
 
16806
  if test "$3"; then
 
16807
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
16808
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
22547
16809
  fi
22548
 
done
22549
 
 
22550
 
# Required to use basename.
 
16810
  $as_echo "$as_me: error: $1" >&2
 
16811
  as_fn_exit $as_status
 
16812
} # as_fn_error
 
16813
 
 
16814
 
 
16815
# as_fn_set_status STATUS
 
16816
# -----------------------
 
16817
# Set $? to STATUS, without forking.
 
16818
as_fn_set_status ()
 
16819
{
 
16820
  return $1
 
16821
} # as_fn_set_status
 
16822
 
 
16823
# as_fn_exit STATUS
 
16824
# -----------------
 
16825
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
16826
as_fn_exit ()
 
16827
{
 
16828
  set +e
 
16829
  as_fn_set_status $1
 
16830
  exit $1
 
16831
} # as_fn_exit
 
16832
 
 
16833
# as_fn_unset VAR
 
16834
# ---------------
 
16835
# Portably unset VAR.
 
16836
as_fn_unset ()
 
16837
{
 
16838
  { eval $1=; unset $1;}
 
16839
}
 
16840
as_unset=as_fn_unset
 
16841
# as_fn_append VAR VALUE
 
16842
# ----------------------
 
16843
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
16844
# advantage of any shell optimizations that allow amortized linear growth over
 
16845
# repeated appends, instead of the typical quadratic growth present in naive
 
16846
# implementations.
 
16847
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
16848
  eval 'as_fn_append ()
 
16849
  {
 
16850
    eval $1+=\$2
 
16851
  }'
 
16852
else
 
16853
  as_fn_append ()
 
16854
  {
 
16855
    eval $1=\$$1\$2
 
16856
  }
 
16857
fi # as_fn_append
 
16858
 
 
16859
# as_fn_arith ARG...
 
16860
# ------------------
 
16861
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
16862
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
16863
# must be portable across $(()) and expr.
 
16864
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
16865
  eval 'as_fn_arith ()
 
16866
  {
 
16867
    as_val=$(( $* ))
 
16868
  }'
 
16869
else
 
16870
  as_fn_arith ()
 
16871
  {
 
16872
    as_val=`expr "$@" || test $? -eq 1`
 
16873
  }
 
16874
fi # as_fn_arith
 
16875
 
 
16876
 
22551
16877
if expr a : '\(a\)' >/dev/null 2>&1 &&
22552
16878
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
22553
16879
  as_expr=expr
22561
16887
  as_basename=false
22562
16888
fi
22563
16889
 
 
16890
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
16891
  as_dirname=dirname
 
16892
else
 
16893
  as_dirname=false
 
16894
fi
22564
16895
 
22565
 
# Name of the executable.
22566
16896
as_me=`$as_basename -- "$0" ||
22567
16897
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22568
16898
         X"$0" : 'X\(//\)$' \| \
22569
16899
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22570
 
echo X/"$0" |
 
16900
$as_echo X/"$0" |
22571
16901
    sed '/^.*\/\([^/][^/]*\)\/*$/{
22572
16902
            s//\1/
22573
16903
            q
22582
16912
          }
22583
16913
          s/.*/./; q'`
22584
16914
 
22585
 
# CDPATH.
22586
 
$as_unset CDPATH
22587
 
 
22588
 
 
22589
 
 
22590
 
  as_lineno_1=$LINENO
22591
 
  as_lineno_2=$LINENO
22592
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
22593
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22594
 
 
22595
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22596
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
22597
 
  # line-number line after each line using $LINENO; the second 'sed'
22598
 
  # does the real work.  The second script uses 'N' to pair each
22599
 
  # line-number line with the line containing $LINENO, and appends
22600
 
  # trailing '-' during substitution so that $LINENO is not a special
22601
 
  # case at line end.
22602
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22603
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
22604
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
22605
 
  sed -n '
22606
 
    p
22607
 
    /[$]LINENO/=
22608
 
  ' <$as_myself |
22609
 
    sed '
22610
 
      s/[$]LINENO.*/&-/
22611
 
      t lineno
22612
 
      b
22613
 
      :lineno
22614
 
      N
22615
 
      :loop
22616
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22617
 
      t loop
22618
 
      s/-\n.*//
22619
 
    ' >$as_me.lineno &&
22620
 
  chmod +x "$as_me.lineno" ||
22621
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22622
 
   { (exit 1); exit 1; }; }
22623
 
 
22624
 
  # Don't try to exec as it changes $[0], causing all sort of problems
22625
 
  # (the dirname of $[0] is not the place where we might find the
22626
 
  # original and so on.  Autoconf is especially sensitive to this).
22627
 
  . "./$as_me.lineno"
22628
 
  # Exit status is that of the last command.
22629
 
  exit
22630
 
}
22631
 
 
22632
 
 
22633
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22634
 
  as_dirname=dirname
22635
 
else
22636
 
  as_dirname=false
22637
 
fi
 
16915
# Avoid depending upon Character Ranges.
 
16916
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
16917
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
16918
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
16919
as_cr_digits='0123456789'
 
16920
as_cr_alnum=$as_cr_Letters$as_cr_digits
22638
16921
 
22639
16922
ECHO_C= ECHO_N= ECHO_T=
22640
 
case `echo -n x` in
 
16923
case `echo -n x` in #(((((
22641
16924
-n*)
22642
 
  case `echo 'x\c'` in
 
16925
  case `echo 'xy\c'` in
22643
16926
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
22644
 
  *)   ECHO_C='\c';;
 
16927
  xy)  ECHO_C='\c';;
 
16928
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
16929
       ECHO_T=' ';;
22645
16930
  esac;;
22646
16931
*)
22647
16932
  ECHO_N='-n';;
22648
16933
esac
22649
16934
 
22650
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
22651
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
22652
 
  as_expr=expr
22653
 
else
22654
 
  as_expr=false
22655
 
fi
22656
 
 
22657
16935
rm -f conf$$ conf$$.exe conf$$.file
22658
16936
if test -d conf$$.dir; then
22659
16937
  rm -f conf$$.dir/conf$$.file
22660
16938
else
22661
16939
  rm -f conf$$.dir
22662
 
  mkdir conf$$.dir
 
16940
  mkdir conf$$.dir 2>/dev/null
22663
16941
fi
22664
 
echo >conf$$.file
22665
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
22666
 
  as_ln_s='ln -s'
22667
 
  # ... but there are two gotchas:
22668
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22669
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22670
 
  # In both cases, we have to default to `cp -p'.
22671
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
16942
if (echo >conf$$.file) 2>/dev/null; then
 
16943
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
16944
    as_ln_s='ln -s'
 
16945
    # ... but there are two gotchas:
 
16946
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
16947
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
16948
    # In both cases, we have to default to `cp -p'.
 
16949
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
16950
      as_ln_s='cp -p'
 
16951
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
16952
    as_ln_s=ln
 
16953
  else
22672
16954
    as_ln_s='cp -p'
22673
 
elif ln conf$$.file conf$$ 2>/dev/null; then
22674
 
  as_ln_s=ln
 
16955
  fi
22675
16956
else
22676
16957
  as_ln_s='cp -p'
22677
16958
fi
22678
16959
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22679
16960
rmdir conf$$.dir 2>/dev/null
22680
16961
 
 
16962
 
 
16963
# as_fn_mkdir_p
 
16964
# -------------
 
16965
# Create "$as_dir" as a directory, including parents if necessary.
 
16966
as_fn_mkdir_p ()
 
16967
{
 
16968
 
 
16969
  case $as_dir in #(
 
16970
  -*) as_dir=./$as_dir;;
 
16971
  esac
 
16972
  test -d "$as_dir" || eval $as_mkdir_p || {
 
16973
    as_dirs=
 
16974
    while :; do
 
16975
      case $as_dir in #(
 
16976
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
16977
      *) as_qdir=$as_dir;;
 
16978
      esac
 
16979
      as_dirs="'$as_qdir' $as_dirs"
 
16980
      as_dir=`$as_dirname -- "$as_dir" ||
 
16981
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
16982
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
16983
         X"$as_dir" : 'X\(//\)$' \| \
 
16984
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
16985
$as_echo X"$as_dir" |
 
16986
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
16987
            s//\1/
 
16988
            q
 
16989
          }
 
16990
          /^X\(\/\/\)[^/].*/{
 
16991
            s//\1/
 
16992
            q
 
16993
          }
 
16994
          /^X\(\/\/\)$/{
 
16995
            s//\1/
 
16996
            q
 
16997
          }
 
16998
          /^X\(\/\).*/{
 
16999
            s//\1/
 
17000
            q
 
17001
          }
 
17002
          s/.*/./; q'`
 
17003
      test -d "$as_dir" && break
 
17004
    done
 
17005
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
17006
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
17007
 
 
17008
 
 
17009
} # as_fn_mkdir_p
22681
17010
if mkdir -p . 2>/dev/null; then
22682
 
  as_mkdir_p=:
 
17011
  as_mkdir_p='mkdir -p "$as_dir"'
22683
17012
else
22684
17013
  test -d ./-p && rmdir ./-p
22685
17014
  as_mkdir_p=false
22696
17025
  as_test_x='
22697
17026
    eval sh -c '\''
22698
17027
      if test -d "$1"; then
22699
 
        test -d "$1/.";
 
17028
        test -d "$1/.";
22700
17029
      else
22701
 
        case $1 in
22702
 
        -*)set "./$1";;
 
17030
        case $1 in #(
 
17031
        -*)set "./$1";;
22703
17032
        esac;
22704
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
17033
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
22705
17034
        ???[sx]*):;;*)false;;esac;fi
22706
17035
    '\'' sh
22707
17036
  '
22716
17045
 
22717
17046
 
22718
17047
exec 6>&1
 
17048
## ----------------------------------- ##
 
17049
## Main body of $CONFIG_STATUS script. ##
 
17050
## ----------------------------------- ##
 
17051
_ASEOF
 
17052
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22719
17053
 
22720
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
17054
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
17055
# Save the log message, to keep $0 and so on meaningful, and to
22721
17056
# report actual input values of CONFIG_FILES etc. instead of their
22722
17057
# values after options handling.
22723
17058
ac_log="
22724
 
This file was extended by $as_me, which was
22725
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
17059
This file was extended by libasprintf $as_me 1.0, which was
 
17060
generated by GNU Autoconf 2.65.  Invocation command line was
22726
17061
 
22727
17062
  CONFIG_FILES    = $CONFIG_FILES
22728
17063
  CONFIG_HEADERS  = $CONFIG_HEADERS
22735
17070
 
22736
17071
_ACEOF
22737
17072
 
22738
 
cat >>$CONFIG_STATUS <<_ACEOF
 
17073
case $ac_config_files in *"
 
17074
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
17075
esac
 
17076
 
 
17077
case $ac_config_headers in *"
 
17078
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
17079
esac
 
17080
 
 
17081
 
 
17082
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22739
17083
# Files that config.status was made for.
22740
17084
config_files="$ac_config_files"
22741
17085
config_headers="$ac_config_headers"
22743
17087
 
22744
17088
_ACEOF
22745
17089
 
22746
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
17090
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22747
17091
ac_cs_usage="\
22748
 
\`$as_me' instantiates files from templates according to the
22749
 
current configuration.
 
17092
\`$as_me' instantiates files and other configuration actions
 
17093
from templates according to the current configuration.  Unless the files
 
17094
and actions are specified as TAGs, all are instantiated by default.
22750
17095
 
22751
 
Usage: $0 [OPTIONS] [FILE]...
 
17096
Usage: $0 [OPTION]... [TAG]...
22752
17097
 
22753
17098
  -h, --help       print this help, then exit
22754
17099
  -V, --version    print version number and configuration settings, then exit
22755
 
  -q, --quiet      do not print progress messages
 
17100
      --config     print configuration, then exit
 
17101
  -q, --quiet, --silent
 
17102
                   do not print progress messages
22756
17103
  -d, --debug      don't remove temporary files
22757
17104
      --recheck    update $as_me by reconfiguring in the same conditions
22758
 
  --file=FILE[:TEMPLATE]
22759
 
                   instantiate the configuration file FILE
22760
 
  --header=FILE[:TEMPLATE]
22761
 
                   instantiate the configuration header FILE
 
17105
      --file=FILE[:TEMPLATE]
 
17106
                   instantiate the configuration file FILE
 
17107
      --header=FILE[:TEMPLATE]
 
17108
                   instantiate the configuration header FILE
22762
17109
 
22763
17110
Configuration files:
22764
17111
$config_files
22769
17116
Configuration commands:
22770
17117
$config_commands
22771
17118
 
22772
 
Report bugs to <bug-autoconf@gnu.org>."
 
17119
Report bugs to the package provider."
22773
17120
 
22774
17121
_ACEOF
22775
 
cat >>$CONFIG_STATUS <<_ACEOF
 
17122
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
17123
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22776
17124
ac_cs_version="\\
22777
 
config.status
22778
 
configured by $0, generated by GNU Autoconf 2.61,
22779
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
17125
libasprintf config.status 1.0
 
17126
configured by $0, generated by GNU Autoconf 2.65,
 
17127
  with options \\"\$ac_cs_config\\"
22780
17128
 
22781
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
17129
Copyright (C) 2009 Free Software Foundation, Inc.
22782
17130
This config.status script is free software; the Free Software Foundation
22783
17131
gives unlimited permission to copy, distribute and modify it."
22784
17132
 
22786
17134
srcdir='$srcdir'
22787
17135
INSTALL='$INSTALL'
22788
17136
MKDIR_P='$MKDIR_P'
 
17137
AWK='$AWK'
 
17138
test -n "\$AWK" || AWK=awk
22789
17139
_ACEOF
22790
17140
 
22791
 
cat >>$CONFIG_STATUS <<\_ACEOF
22792
 
# If no file are specified by the user, then we need to provide default
22793
 
# value.  By we need to know if files were specified by the user.
 
17141
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
17142
# The default lists apply if the user does not specify any file.
22794
17143
ac_need_defaults=:
22795
17144
while test $# != 0
22796
17145
do
22812
17161
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22813
17162
    ac_cs_recheck=: ;;
22814
17163
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22815
 
    echo "$ac_cs_version"; exit ;;
 
17164
    $as_echo "$ac_cs_version"; exit ;;
 
17165
  --config | --confi | --conf | --con | --co | --c )
 
17166
    $as_echo "$ac_cs_config"; exit ;;
22816
17167
  --debug | --debu | --deb | --de | --d | -d )
22817
17168
    debug=: ;;
22818
17169
  --file | --fil | --fi | --f )
22819
17170
    $ac_shift
22820
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
17171
    case $ac_optarg in
 
17172
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
17173
    esac
 
17174
    as_fn_append CONFIG_FILES " '$ac_optarg'"
22821
17175
    ac_need_defaults=false;;
22822
17176
  --header | --heade | --head | --hea )
22823
17177
    $ac_shift
22824
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
17178
    case $ac_optarg in
 
17179
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
17180
    esac
 
17181
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22825
17182
    ac_need_defaults=false;;
22826
17183
  --he | --h)
22827
17184
    # Conflict between --help and --header
22828
 
    { echo "$as_me: error: ambiguous option: $1
22829
 
Try \`$0 --help' for more information." >&2
22830
 
   { (exit 1); exit 1; }; };;
 
17185
    as_fn_error "ambiguous option: \`$1'
 
17186
Try \`$0 --help' for more information.";;
22831
17187
  --help | --hel | -h )
22832
 
    echo "$ac_cs_usage"; exit ;;
 
17188
    $as_echo "$ac_cs_usage"; exit ;;
22833
17189
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22834
17190
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
22835
17191
    ac_cs_silent=: ;;
22836
17192
 
22837
17193
  # This is an error.
22838
 
  -*) { echo "$as_me: error: unrecognized option: $1
22839
 
Try \`$0 --help' for more information." >&2
22840
 
   { (exit 1); exit 1; }; } ;;
 
17194
  -*) as_fn_error "unrecognized option: \`$1'
 
17195
Try \`$0 --help' for more information." ;;
22841
17196
 
22842
 
  *) ac_config_targets="$ac_config_targets $1"
 
17197
  *) as_fn_append ac_config_targets " $1"
22843
17198
     ac_need_defaults=false ;;
22844
17199
 
22845
17200
  esac
22854
17209
fi
22855
17210
 
22856
17211
_ACEOF
22857
 
cat >>$CONFIG_STATUS <<_ACEOF
 
17212
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22858
17213
if \$ac_cs_recheck; then
22859
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22860
 
  CONFIG_SHELL=$SHELL
 
17214
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
17215
  shift
 
17216
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
17217
  CONFIG_SHELL='$SHELL'
22861
17218
  export CONFIG_SHELL
22862
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
17219
  exec "\$@"
22863
17220
fi
22864
17221
 
22865
17222
_ACEOF
22866
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
17223
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22867
17224
exec 5>>config.log
22868
17225
{
22869
17226
  echo
22870
17227
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22871
17228
## Running $as_me. ##
22872
17229
_ASBOX
22873
 
  echo "$ac_log"
 
17230
  $as_echo "$ac_log"
22874
17231
} >&5
22875
17232
 
22876
17233
_ACEOF
22877
 
cat >>$CONFIG_STATUS <<_ACEOF
 
17234
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22878
17235
#
22879
17236
# INIT-COMMANDS
22880
17237
#
22881
17238
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22882
17239
 
 
17240
 
 
17241
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
17242
# if CDPATH is set.
 
17243
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
17244
 
 
17245
sed_quote_subst='$sed_quote_subst'
 
17246
double_quote_subst='$double_quote_subst'
 
17247
delay_variable_subst='$delay_variable_subst'
 
17248
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
17249
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
17250
AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
 
17251
DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
17252
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 
17253
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
17254
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
17255
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
17256
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
17257
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
17258
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
17259
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
17260
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
17261
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
17262
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
17263
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
17264
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
17265
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
17266
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
17267
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
17268
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
17269
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
17270
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
17271
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
17272
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
17273
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
17274
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
17275
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
17276
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
17277
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
17278
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17279
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
17280
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
17281
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
17282
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
17283
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
17284
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
17285
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17286
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17287
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17288
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
17289
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
17290
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
17291
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
17292
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
17293
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
17294
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
 
17295
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
17296
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
17297
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
17298
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
17299
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
17300
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
17301
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
17302
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
17303
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
17304
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
17305
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
17306
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
17307
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
17308
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
17309
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
17310
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
17311
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
17312
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17313
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17314
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
17315
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
17316
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
17317
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
17318
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
17319
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17320
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17321
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17322
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17323
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17324
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17325
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
17326
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
17327
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
17328
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
17329
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
17330
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
17331
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
17332
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
17333
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
17334
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
17335
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
17336
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
17337
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
17338
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
17339
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
17340
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17341
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
17342
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
17343
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17344
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
17345
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
17346
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
17347
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
17348
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
17349
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
17350
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
17351
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
17352
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
17353
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
17354
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
17355
install_override_mode='`$ECHO "X$install_override_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
17356
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17357
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17358
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
17359
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
17360
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
17361
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
17362
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
17363
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
17364
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
17365
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
17366
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
17367
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
17368
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
17369
compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
 
17370
predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
 
17371
postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
 
17372
predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
 
17373
postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
 
17374
compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
 
17375
LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17376
old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17377
compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17378
GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17379
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17380
lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17381
lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17382
lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17383
lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17384
archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17385
enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17386
export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17387
whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17388
compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17389
old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17390
old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17391
archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17392
archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17393
module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17394
module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17395
with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17396
allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17397
no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17398
hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17399
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17400
hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17401
hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17402
hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17403
hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17404
hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17405
hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17406
inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17407
link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17408
fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17409
always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17410
export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17411
exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17412
include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17413
prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17414
file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17415
hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17416
compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17417
predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17418
postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17419
predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17420
postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17421
compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
17422
 
 
17423
LTCC='$LTCC'
 
17424
LTCFLAGS='$LTCFLAGS'
 
17425
compiler='$compiler_DEFAULT'
 
17426
 
 
17427
# Quote evaled strings.
 
17428
for var in SED \
 
17429
GREP \
 
17430
EGREP \
 
17431
FGREP \
 
17432
LD \
 
17433
NM \
 
17434
LN_S \
 
17435
lt_SP2NL \
 
17436
lt_NL2SP \
 
17437
reload_flag \
 
17438
deplibs_check_method \
 
17439
file_magic_cmd \
 
17440
AR \
 
17441
AR_FLAGS \
 
17442
STRIP \
 
17443
RANLIB \
 
17444
CC \
 
17445
CFLAGS \
 
17446
compiler \
 
17447
lt_cv_sys_global_symbol_pipe \
 
17448
lt_cv_sys_global_symbol_to_cdecl \
 
17449
lt_cv_sys_global_symbol_to_c_name_address \
 
17450
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
17451
SHELL \
 
17452
ECHO \
 
17453
lt_prog_compiler_no_builtin_flag \
 
17454
lt_prog_compiler_wl \
 
17455
lt_prog_compiler_pic \
 
17456
lt_prog_compiler_static \
 
17457
lt_cv_prog_compiler_c_o \
 
17458
need_locks \
 
17459
DSYMUTIL \
 
17460
NMEDIT \
 
17461
LIPO \
 
17462
OTOOL \
 
17463
OTOOL64 \
 
17464
shrext_cmds \
 
17465
export_dynamic_flag_spec \
 
17466
whole_archive_flag_spec \
 
17467
compiler_needs_object \
 
17468
with_gnu_ld \
 
17469
allow_undefined_flag \
 
17470
no_undefined_flag \
 
17471
hardcode_libdir_flag_spec \
 
17472
hardcode_libdir_flag_spec_ld \
 
17473
hardcode_libdir_separator \
 
17474
fix_srcfile_path \
 
17475
exclude_expsyms \
 
17476
include_expsyms \
 
17477
file_list_spec \
 
17478
variables_saved_for_relink \
 
17479
libname_spec \
 
17480
library_names_spec \
 
17481
soname_spec \
 
17482
install_override_mode \
 
17483
finish_eval \
 
17484
old_striplib \
 
17485
striplib \
 
17486
compiler_lib_search_dirs \
 
17487
predep_objects \
 
17488
postdep_objects \
 
17489
predeps \
 
17490
postdeps \
 
17491
compiler_lib_search_path \
 
17492
LD_CXX \
 
17493
compiler_CXX \
 
17494
lt_prog_compiler_no_builtin_flag_CXX \
 
17495
lt_prog_compiler_wl_CXX \
 
17496
lt_prog_compiler_pic_CXX \
 
17497
lt_prog_compiler_static_CXX \
 
17498
lt_cv_prog_compiler_c_o_CXX \
 
17499
export_dynamic_flag_spec_CXX \
 
17500
whole_archive_flag_spec_CXX \
 
17501
compiler_needs_object_CXX \
 
17502
with_gnu_ld_CXX \
 
17503
allow_undefined_flag_CXX \
 
17504
no_undefined_flag_CXX \
 
17505
hardcode_libdir_flag_spec_CXX \
 
17506
hardcode_libdir_flag_spec_ld_CXX \
 
17507
hardcode_libdir_separator_CXX \
 
17508
fix_srcfile_path_CXX \
 
17509
exclude_expsyms_CXX \
 
17510
include_expsyms_CXX \
 
17511
file_list_spec_CXX \
 
17512
compiler_lib_search_dirs_CXX \
 
17513
predep_objects_CXX \
 
17514
postdep_objects_CXX \
 
17515
predeps_CXX \
 
17516
postdeps_CXX \
 
17517
compiler_lib_search_path_CXX; do
 
17518
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
17519
    *[\\\\\\\`\\"\\\$]*)
 
17520
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
17521
      ;;
 
17522
    *)
 
17523
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
17524
      ;;
 
17525
    esac
 
17526
done
 
17527
 
 
17528
# Double-quote double-evaled strings.
 
17529
for var in reload_cmds \
 
17530
old_postinstall_cmds \
 
17531
old_postuninstall_cmds \
 
17532
old_archive_cmds \
 
17533
extract_expsyms_cmds \
 
17534
old_archive_from_new_cmds \
 
17535
old_archive_from_expsyms_cmds \
 
17536
archive_cmds \
 
17537
archive_expsym_cmds \
 
17538
module_cmds \
 
17539
module_expsym_cmds \
 
17540
export_symbols_cmds \
 
17541
prelink_cmds \
 
17542
postinstall_cmds \
 
17543
postuninstall_cmds \
 
17544
finish_cmds \
 
17545
sys_lib_search_path_spec \
 
17546
sys_lib_dlsearch_path_spec \
 
17547
old_archive_cmds_CXX \
 
17548
old_archive_from_new_cmds_CXX \
 
17549
old_archive_from_expsyms_cmds_CXX \
 
17550
archive_cmds_CXX \
 
17551
archive_expsym_cmds_CXX \
 
17552
module_cmds_CXX \
 
17553
module_expsym_cmds_CXX \
 
17554
export_symbols_cmds_CXX \
 
17555
prelink_cmds_CXX; do
 
17556
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
17557
    *[\\\\\\\`\\"\\\$]*)
 
17558
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
17559
      ;;
 
17560
    *)
 
17561
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
17562
      ;;
 
17563
    esac
 
17564
done
 
17565
 
 
17566
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
17567
case \$lt_ECHO in
 
17568
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
17569
  ;;
 
17570
esac
 
17571
 
 
17572
ac_aux_dir='$ac_aux_dir'
 
17573
xsi_shell='$xsi_shell'
 
17574
lt_shell_append='$lt_shell_append'
 
17575
 
 
17576
# See if we are running on zsh, and set the options which allow our
 
17577
# commands through without removal of \ escapes INIT.
 
17578
if test -n "\${ZSH_VERSION+set}" ; then
 
17579
   setopt NO_GLOB_SUBST
 
17580
fi
 
17581
 
 
17582
 
 
17583
    PACKAGE='$PACKAGE'
 
17584
    VERSION='$VERSION'
 
17585
    TIMESTAMP='$TIMESTAMP'
 
17586
    RM='$RM'
 
17587
    ofile='$ofile'
 
17588
 
 
17589
 
 
17590
 
 
17591
 
 
17592
 
 
17593
 
22883
17594
_ACEOF
22884
17595
 
22885
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
17596
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22886
17597
 
22887
17598
# Handling of arguments.
22888
17599
for ac_config_target in $ac_config_targets
22890
17601
  case $ac_config_target in
22891
17602
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
22892
17603
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
17604
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
22893
17605
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22894
17606
 
22895
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22896
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22897
 
   { (exit 1); exit 1; }; };;
 
17607
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22898
17608
  esac
22899
17609
done
22900
17610
 
22921
17631
  trap 'exit_status=$?
22922
17632
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22923
17633
' 0
22924
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
17634
  trap 'as_fn_exit 1' 1 2 13 15
22925
17635
}
22926
17636
# Create a (secure) tmp directory for tmp files.
22927
17637
 
22932
17642
{
22933
17643
  tmp=./conf$$-$RANDOM
22934
17644
  (umask 077 && mkdir "$tmp")
22935
 
} ||
22936
 
{
22937
 
   echo "$me: cannot create a temporary directory in ." >&2
22938
 
   { (exit 1); exit 1; }
22939
 
}
22940
 
 
22941
 
#
22942
 
# Set up the sed scripts for CONFIG_FILES section.
22943
 
#
22944
 
 
22945
 
# No need to generate the scripts if there are no CONFIG_FILES.
22946
 
# This happens for instance when ./config.status config.h
 
17645
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
17646
 
 
17647
# Set up the scripts for CONFIG_FILES section.
 
17648
# No need to generate them if there are no CONFIG_FILES.
 
17649
# This happens for instance with `./config.status config.h'.
22947
17650
if test -n "$CONFIG_FILES"; then
22948
17651
 
22949
 
_ACEOF
22950
 
 
22951
 
 
22952
 
 
22953
 
ac_delim='%!_!# '
22954
 
for ac_last_try in false false false false false :; do
22955
 
  cat >conf$$subs.sed <<_ACEOF
22956
 
SHELL!$SHELL$ac_delim
22957
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22958
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22959
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22960
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22961
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22962
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22963
 
exec_prefix!$exec_prefix$ac_delim
22964
 
prefix!$prefix$ac_delim
22965
 
program_transform_name!$program_transform_name$ac_delim
22966
 
bindir!$bindir$ac_delim
22967
 
sbindir!$sbindir$ac_delim
22968
 
libexecdir!$libexecdir$ac_delim
22969
 
datarootdir!$datarootdir$ac_delim
22970
 
datadir!$datadir$ac_delim
22971
 
sysconfdir!$sysconfdir$ac_delim
22972
 
sharedstatedir!$sharedstatedir$ac_delim
22973
 
localstatedir!$localstatedir$ac_delim
22974
 
includedir!$includedir$ac_delim
22975
 
oldincludedir!$oldincludedir$ac_delim
22976
 
docdir!$docdir$ac_delim
22977
 
infodir!$infodir$ac_delim
22978
 
htmldir!$htmldir$ac_delim
22979
 
dvidir!$dvidir$ac_delim
22980
 
pdfdir!$pdfdir$ac_delim
22981
 
psdir!$psdir$ac_delim
22982
 
libdir!$libdir$ac_delim
22983
 
localedir!$localedir$ac_delim
22984
 
mandir!$mandir$ac_delim
22985
 
DEFS!$DEFS$ac_delim
22986
 
ECHO_C!$ECHO_C$ac_delim
22987
 
ECHO_N!$ECHO_N$ac_delim
22988
 
ECHO_T!$ECHO_T$ac_delim
22989
 
LIBS!$LIBS$ac_delim
22990
 
build_alias!$build_alias$ac_delim
22991
 
host_alias!$host_alias$ac_delim
22992
 
target_alias!$target_alias$ac_delim
22993
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22994
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22995
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
22996
 
am__isrc!$am__isrc$ac_delim
22997
 
CYGPATH_W!$CYGPATH_W$ac_delim
22998
 
PACKAGE!$PACKAGE$ac_delim
22999
 
VERSION!$VERSION$ac_delim
23000
 
ACLOCAL!$ACLOCAL$ac_delim
23001
 
AUTOCONF!$AUTOCONF$ac_delim
23002
 
AUTOMAKE!$AUTOMAKE$ac_delim
23003
 
AUTOHEADER!$AUTOHEADER$ac_delim
23004
 
MAKEINFO!$MAKEINFO$ac_delim
23005
 
install_sh!$install_sh$ac_delim
23006
 
STRIP!$STRIP$ac_delim
23007
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
23008
 
mkdir_p!$mkdir_p$ac_delim
23009
 
AWK!$AWK$ac_delim
23010
 
SET_MAKE!$SET_MAKE$ac_delim
23011
 
am__leading_dot!$am__leading_dot$ac_delim
23012
 
AMTAR!$AMTAR$ac_delim
23013
 
am__tar!$am__tar$ac_delim
23014
 
am__untar!$am__untar$ac_delim
23015
 
CC!$CC$ac_delim
23016
 
CFLAGS!$CFLAGS$ac_delim
23017
 
LDFLAGS!$LDFLAGS$ac_delim
23018
 
CPPFLAGS!$CPPFLAGS$ac_delim
23019
 
ac_ct_CC!$ac_ct_CC$ac_delim
23020
 
EXEEXT!$EXEEXT$ac_delim
23021
 
OBJEXT!$OBJEXT$ac_delim
23022
 
DEPDIR!$DEPDIR$ac_delim
23023
 
am__include!$am__include$ac_delim
23024
 
am__quote!$am__quote$ac_delim
23025
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
23026
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
23027
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
23028
 
CCDEPMODE!$CCDEPMODE$ac_delim
23029
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
23030
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
23031
 
CXX!$CXX$ac_delim
23032
 
CXXFLAGS!$CXXFLAGS$ac_delim
23033
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
23034
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
23035
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
23036
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
23037
 
build!$build$ac_delim
23038
 
build_cpu!$build_cpu$ac_delim
23039
 
build_vendor!$build_vendor$ac_delim
23040
 
build_os!$build_os$ac_delim
23041
 
host!$host$ac_delim
23042
 
host_cpu!$host_cpu$ac_delim
23043
 
host_vendor!$host_vendor$ac_delim
23044
 
host_os!$host_os$ac_delim
23045
 
SED!$SED$ac_delim
23046
 
GREP!$GREP$ac_delim
23047
 
EGREP!$EGREP$ac_delim
23048
 
LN_S!$LN_S$ac_delim
23049
 
ECHO!$ECHO$ac_delim
23050
 
AR!$AR$ac_delim
23051
 
RANLIB!$RANLIB$ac_delim
23052
 
DLLTOOL!$DLLTOOL$ac_delim
23053
 
_ACEOF
23054
 
 
23055
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
23056
 
    break
23057
 
  elif $ac_last_try; then
23058
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23059
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23060
 
   { (exit 1); exit 1; }; }
23061
 
  else
23062
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23063
 
  fi
23064
 
done
23065
 
 
23066
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23067
 
if test -n "$ac_eof"; then
23068
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23069
 
  ac_eof=`expr $ac_eof + 1`
23070
 
fi
23071
 
 
23072
 
cat >>$CONFIG_STATUS <<_ACEOF
23073
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23074
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23075
 
_ACEOF
23076
 
sed '
23077
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23078
 
s/^/s,@/; s/!/@,|#_!!_#|/
23079
 
:n
23080
 
t n
23081
 
s/'"$ac_delim"'$/,g/; t
23082
 
s/$/\\/; p
23083
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23084
 
' >>$CONFIG_STATUS <conf$$subs.sed
23085
 
rm -f conf$$subs.sed
23086
 
cat >>$CONFIG_STATUS <<_ACEOF
23087
 
CEOF$ac_eof
23088
 
_ACEOF
23089
 
 
23090
 
 
23091
 
ac_delim='%!_!# '
23092
 
for ac_last_try in false false false false false :; do
23093
 
  cat >conf$$subs.sed <<_ACEOF
23094
 
AS!$AS$ac_delim
23095
 
OBJDUMP!$OBJDUMP$ac_delim
23096
 
CPP!$CPP$ac_delim
23097
 
CXXCPP!$CXXCPP$ac_delim
23098
 
F77!$F77$ac_delim
23099
 
FFLAGS!$FFLAGS$ac_delim
23100
 
ac_ct_F77!$ac_ct_F77$ac_delim
23101
 
LIBTOOL!$LIBTOOL$ac_delim
23102
 
LTNOUNDEF!$LTNOUNDEF$ac_delim
23103
 
ALLOCA!$ALLOCA$ac_delim
23104
 
ALLOCA_H!$ALLOCA_H$ac_delim
23105
 
DVIPS!$DVIPS$ac_delim
23106
 
TEXI2PDF!$TEXI2PDF$ac_delim
23107
 
PERL!$PERL$ac_delim
23108
 
LIBOBJS!$LIBOBJS$ac_delim
23109
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
23110
 
_ACEOF
23111
 
 
23112
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 16; then
23113
 
    break
23114
 
  elif $ac_last_try; then
23115
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23116
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23117
 
   { (exit 1); exit 1; }; }
23118
 
  else
23119
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23120
 
  fi
23121
 
done
23122
 
 
23123
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23124
 
if test -n "$ac_eof"; then
23125
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23126
 
  ac_eof=`expr $ac_eof + 1`
23127
 
fi
23128
 
 
23129
 
cat >>$CONFIG_STATUS <<_ACEOF
23130
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23131
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23132
 
_ACEOF
23133
 
sed '
23134
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23135
 
s/^/s,@/; s/!/@,|#_!!_#|/
23136
 
:n
23137
 
t n
23138
 
s/'"$ac_delim"'$/,g/; t
23139
 
s/$/\\/; p
23140
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23141
 
' >>$CONFIG_STATUS <conf$$subs.sed
23142
 
rm -f conf$$subs.sed
23143
 
cat >>$CONFIG_STATUS <<_ACEOF
23144
 
:end
23145
 
s/|#_!!_#|//g
23146
 
CEOF$ac_eof
23147
 
_ACEOF
23148
 
 
 
17652
 
 
17653
ac_cr=`echo X | tr X '\015'`
 
17654
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
17655
# But we know of no other shell where ac_cr would be empty at this
 
17656
# point, so we can use a bashism as a fallback.
 
17657
if test "x$ac_cr" = x; then
 
17658
  eval ac_cr=\$\'\\r\'
 
17659
fi
 
17660
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
17661
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
17662
  ac_cs_awk_cr='\r'
 
17663
else
 
17664
  ac_cs_awk_cr=$ac_cr
 
17665
fi
 
17666
 
 
17667
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
17668
_ACEOF
 
17669
 
 
17670
 
 
17671
{
 
17672
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
17673
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
17674
  echo "_ACEOF"
 
17675
} >conf$$subs.sh ||
 
17676
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
17677
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
17678
ac_delim='%!_!# '
 
17679
for ac_last_try in false false false false false :; do
 
17680
  . ./conf$$subs.sh ||
 
17681
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
17682
 
 
17683
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
17684
  if test $ac_delim_n = $ac_delim_num; then
 
17685
    break
 
17686
  elif $ac_last_try; then
 
17687
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
17688
  else
 
17689
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
17690
  fi
 
17691
done
 
17692
rm -f conf$$subs.sh
 
17693
 
 
17694
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
17695
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
17696
_ACEOF
 
17697
sed -n '
 
17698
h
 
17699
s/^/S["/; s/!.*/"]=/
 
17700
p
 
17701
g
 
17702
s/^[^!]*!//
 
17703
:repl
 
17704
t repl
 
17705
s/'"$ac_delim"'$//
 
17706
t delim
 
17707
:nl
 
17708
h
 
17709
s/\(.\{148\}\)..*/\1/
 
17710
t more1
 
17711
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
17712
p
 
17713
n
 
17714
b repl
 
17715
:more1
 
17716
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
17717
p
 
17718
g
 
17719
s/.\{148\}//
 
17720
t nl
 
17721
:delim
 
17722
h
 
17723
s/\(.\{148\}\)..*/\1/
 
17724
t more2
 
17725
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
17726
p
 
17727
b
 
17728
:more2
 
17729
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
17730
p
 
17731
g
 
17732
s/.\{148\}//
 
17733
t delim
 
17734
' <conf$$subs.awk | sed '
 
17735
/^[^""]/{
 
17736
  N
 
17737
  s/\n//
 
17738
}
 
17739
' >>$CONFIG_STATUS || ac_write_fail=1
 
17740
rm -f conf$$subs.awk
 
17741
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
17742
_ACAWK
 
17743
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
17744
  for (key in S) S_is_set[key] = 1
 
17745
  FS = ""
 
17746
 
 
17747
}
 
17748
{
 
17749
  line = $ 0
 
17750
  nfields = split(line, field, "@")
 
17751
  substed = 0
 
17752
  len = length(field[1])
 
17753
  for (i = 2; i < nfields; i++) {
 
17754
    key = field[i]
 
17755
    keylen = length(key)
 
17756
    if (S_is_set[key]) {
 
17757
      value = S[key]
 
17758
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
17759
      len += length(value) + length(field[++i])
 
17760
      substed = 1
 
17761
    } else
 
17762
      len += 1 + keylen
 
17763
  }
 
17764
 
 
17765
  print line
 
17766
}
 
17767
 
 
17768
_ACAWK
 
17769
_ACEOF
 
17770
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
17771
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
17772
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
17773
else
 
17774
  cat
 
17775
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
17776
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
17777
_ACEOF
23149
17778
 
23150
17779
# VPATH may cause trouble with some makes, so we remove $(srcdir),
23151
17780
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23162
17791
}'
23163
17792
fi
23164
17793
 
23165
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
17794
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23166
17795
fi # test -n "$CONFIG_FILES"
23167
17796
 
23168
 
 
23169
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
17797
# Set up the scripts for CONFIG_HEADERS section.
 
17798
# No need to generate them if there are no CONFIG_HEADERS.
 
17799
# This happens for instance with `./config.status Makefile'.
 
17800
if test -n "$CONFIG_HEADERS"; then
 
17801
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
17802
BEGIN {
 
17803
_ACEOF
 
17804
 
 
17805
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
17806
# here-document in config.status, that substitutes the proper values into
 
17807
# config.h.in to produce config.h.
 
17808
 
 
17809
# Create a delimiter string that does not exist in confdefs.h, to ease
 
17810
# handling of long lines.
 
17811
ac_delim='%!_!# '
 
17812
for ac_last_try in false false :; do
 
17813
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
17814
  if test -z "$ac_t"; then
 
17815
    break
 
17816
  elif $ac_last_try; then
 
17817
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 
17818
  else
 
17819
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
17820
  fi
 
17821
done
 
17822
 
 
17823
# For the awk script, D is an array of macro values keyed by name,
 
17824
# likewise P contains macro parameters if any.  Preserve backslash
 
17825
# newline sequences.
 
17826
 
 
17827
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
17828
sed -n '
 
17829
s/.\{148\}/&'"$ac_delim"'/g
 
17830
t rset
 
17831
:rset
 
17832
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
17833
t def
 
17834
d
 
17835
:def
 
17836
s/\\$//
 
17837
t bsnl
 
17838
s/["\\]/\\&/g
 
17839
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
17840
D["\1"]=" \3"/p
 
17841
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
17842
d
 
17843
:bsnl
 
17844
s/["\\]/\\&/g
 
17845
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
17846
D["\1"]=" \3\\\\\\n"\\/p
 
17847
t cont
 
17848
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
17849
t cont
 
17850
d
 
17851
:cont
 
17852
n
 
17853
s/.\{148\}/&'"$ac_delim"'/g
 
17854
t clear
 
17855
:clear
 
17856
s/\\$//
 
17857
t bsnlc
 
17858
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
17859
d
 
17860
:bsnlc
 
17861
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
17862
b cont
 
17863
' <confdefs.h | sed '
 
17864
s/'"$ac_delim"'/"\\\
 
17865
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
17866
 
 
17867
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
17868
  for (key in D) D_is_set[key] = 1
 
17869
  FS = ""
 
17870
}
 
17871
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
17872
  line = \$ 0
 
17873
  split(line, arg, " ")
 
17874
  if (arg[1] == "#") {
 
17875
    defundef = arg[2]
 
17876
    mac1 = arg[3]
 
17877
  } else {
 
17878
    defundef = substr(arg[1], 2)
 
17879
    mac1 = arg[2]
 
17880
  }
 
17881
  split(mac1, mac2, "(") #)
 
17882
  macro = mac2[1]
 
17883
  prefix = substr(line, 1, index(line, defundef) - 1)
 
17884
  if (D_is_set[macro]) {
 
17885
    # Preserve the white space surrounding the "#".
 
17886
    print prefix "define", macro P[macro] D[macro]
 
17887
    next
 
17888
  } else {
 
17889
    # Replace #undef with comments.  This is necessary, for example,
 
17890
    # in the case of _POSIX_SOURCE, which is predefined and required
 
17891
    # on some systems where configure will not decide to define it.
 
17892
    if (defundef == "undef") {
 
17893
      print "/*", prefix defundef, macro, "*/"
 
17894
      next
 
17895
    }
 
17896
  }
 
17897
}
 
17898
{ print }
 
17899
_ACAWK
 
17900
_ACEOF
 
17901
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
17902
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 
17903
fi # test -n "$CONFIG_HEADERS"
 
17904
 
 
17905
 
 
17906
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
17907
shift
 
17908
for ac_tag
23170
17909
do
23171
17910
  case $ac_tag in
23172
17911
  :[FHLC]) ac_mode=$ac_tag; continue;;
23173
17912
  esac
23174
17913
  case $ac_mode$ac_tag in
23175
17914
  :[FHL]*:*);;
23176
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23177
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23178
 
   { (exit 1); exit 1; }; };;
 
17915
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
23179
17916
  :[FH]-) ac_tag=-:-;;
23180
17917
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23181
17918
  esac
23203
17940
           [\\/$]*) false;;
23204
17941
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23205
17942
           esac ||
23206
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23207
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23208
 
   { (exit 1); exit 1; }; };;
 
17943
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23209
17944
      esac
23210
 
      ac_file_inputs="$ac_file_inputs $ac_f"
 
17945
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
17946
      as_fn_append ac_file_inputs " '$ac_f'"
23211
17947
    done
23212
17948
 
23213
17949
    # Let's still pretend it is `configure' which instantiates (i.e., don't
23214
17950
    # use $as_me), people would be surprised to read:
23215
17951
    #    /* config.h.  Generated by config.status.  */
23216
 
    configure_input="Generated from "`IFS=:
23217
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
17952
    configure_input='Generated from '`
 
17953
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
17954
        `' by configure.'
23218
17955
    if test x"$ac_file" != x-; then
23219
17956
      configure_input="$ac_file.  $configure_input"
23220
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
23221
 
echo "$as_me: creating $ac_file" >&6;}
 
17957
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
17958
$as_echo "$as_me: creating $ac_file" >&6;}
23222
17959
    fi
 
17960
    # Neutralize special characters interpreted by sed in replacement strings.
 
17961
    case $configure_input in #(
 
17962
    *\&* | *\|* | *\\* )
 
17963
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
17964
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
17965
    *) ac_sed_conf_input=$configure_input;;
 
17966
    esac
23223
17967
 
23224
17968
    case $ac_tag in
23225
 
    *:-:* | *:-) cat >"$tmp/stdin";;
 
17969
    *:-:* | *:-) cat >"$tmp/stdin" \
 
17970
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
23226
17971
    esac
23227
17972
    ;;
23228
17973
  esac
23232
17977
         X"$ac_file" : 'X\(//\)[^/]' \| \
23233
17978
         X"$ac_file" : 'X\(//\)$' \| \
23234
17979
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23235
 
echo X"$ac_file" |
23236
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23237
 
            s//\1/
23238
 
            q
23239
 
          }
23240
 
          /^X\(\/\/\)[^/].*/{
23241
 
            s//\1/
23242
 
            q
23243
 
          }
23244
 
          /^X\(\/\/\)$/{
23245
 
            s//\1/
23246
 
            q
23247
 
          }
23248
 
          /^X\(\/\).*/{
23249
 
            s//\1/
23250
 
            q
23251
 
          }
23252
 
          s/.*/./; q'`
23253
 
  { as_dir="$ac_dir"
23254
 
  case $as_dir in #(
23255
 
  -*) as_dir=./$as_dir;;
23256
 
  esac
23257
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23258
 
    as_dirs=
23259
 
    while :; do
23260
 
      case $as_dir in #(
23261
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23262
 
      *) as_qdir=$as_dir;;
23263
 
      esac
23264
 
      as_dirs="'$as_qdir' $as_dirs"
23265
 
      as_dir=`$as_dirname -- "$as_dir" ||
23266
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23267
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
23268
 
         X"$as_dir" : 'X\(//\)$' \| \
23269
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23270
 
echo X"$as_dir" |
23271
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23272
 
            s//\1/
23273
 
            q
23274
 
          }
23275
 
          /^X\(\/\/\)[^/].*/{
23276
 
            s//\1/
23277
 
            q
23278
 
          }
23279
 
          /^X\(\/\/\)$/{
23280
 
            s//\1/
23281
 
            q
23282
 
          }
23283
 
          /^X\(\/\).*/{
23284
 
            s//\1/
23285
 
            q
23286
 
          }
23287
 
          s/.*/./; q'`
23288
 
      test -d "$as_dir" && break
23289
 
    done
23290
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
23291
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23292
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
23293
 
   { (exit 1); exit 1; }; }; }
 
17980
$as_echo X"$ac_file" |
 
17981
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
17982
            s//\1/
 
17983
            q
 
17984
          }
 
17985
          /^X\(\/\/\)[^/].*/{
 
17986
            s//\1/
 
17987
            q
 
17988
          }
 
17989
          /^X\(\/\/\)$/{
 
17990
            s//\1/
 
17991
            q
 
17992
          }
 
17993
          /^X\(\/\).*/{
 
17994
            s//\1/
 
17995
            q
 
17996
          }
 
17997
          s/.*/./; q'`
 
17998
  as_dir="$ac_dir"; as_fn_mkdir_p
23294
17999
  ac_builddir=.
23295
18000
 
23296
18001
case "$ac_dir" in
23297
18002
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23298
18003
*)
23299
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
18004
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
23300
18005
  # A ".." for each directory in $ac_dir_suffix.
23301
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
18006
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23302
18007
  case $ac_top_builddir_sub in
23303
18008
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23304
18009
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23343
18048
  esac
23344
18049
_ACEOF
23345
18050
 
23346
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
18051
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23347
18052
# If the template does not know about datarootdir, expand it.
23348
18053
# FIXME: This hack should be removed a few years after 2.60.
23349
18054
ac_datarootdir_hack=; ac_datarootdir_seen=
23350
 
 
23351
 
case `sed -n '/datarootdir/ {
 
18055
ac_sed_dataroot='
 
18056
/datarootdir/ {
23352
18057
  p
23353
18058
  q
23354
18059
}
23356
18061
/@docdir@/p
23357
18062
/@infodir@/p
23358
18063
/@localedir@/p
23359
 
/@mandir@/p
23360
 
' $ac_file_inputs` in
 
18064
/@mandir@/p'
 
18065
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
23361
18066
*datarootdir*) ac_datarootdir_seen=yes;;
23362
18067
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23363
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23364
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
18068
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
18069
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23365
18070
_ACEOF
23366
 
cat >>$CONFIG_STATUS <<_ACEOF
 
18071
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23367
18072
  ac_datarootdir_hack='
23368
18073
  s&@datadir@&$datadir&g
23369
18074
  s&@docdir@&$docdir&g
23370
18075
  s&@infodir@&$infodir&g
23371
18076
  s&@localedir@&$localedir&g
23372
18077
  s&@mandir@&$mandir&g
23373
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
18078
  s&\\\${datarootdir}&$datarootdir&g' ;;
23374
18079
esac
23375
18080
_ACEOF
23376
18081
 
23377
18082
# Neutralize VPATH when `$srcdir' = `.'.
23378
18083
# Shell code in configure.ac might set extrasub.
23379
18084
# FIXME: do we really want to maintain this feature?
23380
 
cat >>$CONFIG_STATUS <<_ACEOF
23381
 
  sed "$ac_vpsub
 
18085
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
18086
ac_sed_extra="$ac_vpsub
23382
18087
$extrasub
23383
18088
_ACEOF
23384
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
18089
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23385
18090
:t
23386
18091
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23387
 
s&@configure_input@&$configure_input&;t t
 
18092
s|@configure_input@|$ac_sed_conf_input|;t t
23388
18093
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
18094
s&@top_build_prefix@&$ac_top_build_prefix&;t t
23389
18095
s&@srcdir@&$ac_srcdir&;t t
23390
18096
s&@abs_srcdir@&$ac_abs_srcdir&;t t
23391
18097
s&@top_srcdir@&$ac_top_srcdir&;t t
23396
18102
s&@INSTALL@&$ac_INSTALL&;t t
23397
18103
s&@MKDIR_P@&$ac_MKDIR_P&;t t
23398
18104
$ac_datarootdir_hack
23399
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
18105
"
 
18106
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
18107
  || as_fn_error "could not create $ac_file" "$LINENO" 5
23400
18108
 
23401
18109
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23402
18110
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23403
18111
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23404
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
18112
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23405
18113
which seems to be undefined.  Please make sure it is defined." >&5
23406
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
18114
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23407
18115
which seems to be undefined.  Please make sure it is defined." >&2;}
23408
18116
 
23409
18117
  rm -f "$tmp/stdin"
23410
18118
  case $ac_file in
23411
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
23412
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23413
 
  esac
 
18119
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
18120
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
18121
  esac \
 
18122
  || as_fn_error "could not create $ac_file" "$LINENO" 5
23414
18123
 ;;
23415
18124
  :H)
23416
18125
  #
23417
18126
  # CONFIG_HEADER
23418
18127
  #
23419
 
_ACEOF
23420
 
 
23421
 
# Transform confdefs.h into a sed script `conftest.defines', that
23422
 
# substitutes the proper values into config.h.in to produce config.h.
23423
 
rm -f conftest.defines conftest.tail
23424
 
# First, append a space to every undef/define line, to ease matching.
23425
 
echo 's/$/ /' >conftest.defines
23426
 
# Then, protect against being on the right side of a sed subst, or in
23427
 
# an unquoted here document, in config.status.  If some macros were
23428
 
# called several times there might be several #defines for the same
23429
 
# symbol, which is useless.  But do not sort them, since the last
23430
 
# AC_DEFINE must be honored.
23431
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23432
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23433
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
23434
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
23435
 
# just an empty string.
23436
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
23437
 
ac_dB='\\)[      (].*,\\1define\\2'
23438
 
ac_dC=' '
23439
 
ac_dD=' ,'
23440
 
 
23441
 
uniq confdefs.h |
23442
 
  sed -n '
23443
 
        t rset
23444
 
        :rset
23445
 
        s/^[     ]*#[    ]*define[       ][      ]*//
23446
 
        t ok
23447
 
        d
23448
 
        :ok
23449
 
        s/[\\&,]/\\&/g
23450
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23451
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23452
 
  ' >>conftest.defines
23453
 
 
23454
 
# Remove the space that was appended to ease matching.
23455
 
# Then replace #undef with comments.  This is necessary, for
23456
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
23457
 
# on some systems where configure will not decide to define it.
23458
 
# (The regexp can be short, since the line contains either #define or #undef.)
23459
 
echo 's/ $//
23460
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
23461
 
 
23462
 
# Break up conftest.defines:
23463
 
ac_max_sed_lines=50
23464
 
 
23465
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23466
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23467
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23468
 
# et cetera.
23469
 
ac_in='$ac_file_inputs'
23470
 
ac_out='"$tmp/out1"'
23471
 
ac_nxt='"$tmp/out2"'
23472
 
 
23473
 
while :
23474
 
do
23475
 
  # Write a here document:
23476
 
    cat >>$CONFIG_STATUS <<_ACEOF
23477
 
    # First, check the format of the line:
23478
 
    cat >"\$tmp/defines.sed" <<\\CEOF
23479
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
23480
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
23481
 
b
23482
 
:def
23483
 
_ACEOF
23484
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
23485
 
  echo 'CEOF
23486
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23487
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
23488
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
23489
 
  grep . conftest.tail >/dev/null || break
23490
 
  rm -f conftest.defines
23491
 
  mv conftest.tail conftest.defines
23492
 
done
23493
 
rm -f conftest.defines conftest.tail
23494
 
 
23495
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
23496
 
cat >>$CONFIG_STATUS <<\_ACEOF
23497
18128
  if test x"$ac_file" != x-; then
23498
 
    echo "/* $configure_input  */" >"$tmp/config.h"
23499
 
    cat "$ac_result" >>"$tmp/config.h"
23500
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
23501
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23502
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
18129
    {
 
18130
      $as_echo "/* $configure_input  */" \
 
18131
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
18132
    } >"$tmp/config.h" \
 
18133
      || as_fn_error "could not create $ac_file" "$LINENO" 5
 
18134
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
18135
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 
18136
$as_echo "$as_me: $ac_file is unchanged" >&6;}
23503
18137
    else
23504
 
      rm -f $ac_file
23505
 
      mv "$tmp/config.h" $ac_file
 
18138
      rm -f "$ac_file"
 
18139
      mv "$tmp/config.h" "$ac_file" \
 
18140
        || as_fn_error "could not create $ac_file" "$LINENO" 5
23506
18141
    fi
23507
18142
  else
23508
 
    echo "/* $configure_input  */"
23509
 
    cat "$ac_result"
 
18143
    $as_echo "/* $configure_input  */" \
 
18144
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
18145
      || as_fn_error "could not create -" "$LINENO" 5
23510
18146
  fi
23511
 
  rm -f "$tmp/out12"
23512
 
# Compute $ac_file's index in $config_headers.
 
18147
# Compute "$ac_file"'s index in $config_headers.
 
18148
_am_arg="$ac_file"
23513
18149
_am_stamp_count=1
23514
18150
for _am_header in $config_headers :; do
23515
18151
  case $_am_header in
23516
 
    $ac_file | $ac_file:* )
 
18152
    $_am_arg | $_am_arg:* )
23517
18153
      break ;;
23518
18154
    * )
23519
18155
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
23520
18156
  esac
23521
18157
done
23522
 
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
23523
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23524
 
         X$ac_file : 'X\(//\)[^/]' \| \
23525
 
         X$ac_file : 'X\(//\)$' \| \
23526
 
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
23527
 
echo X$ac_file |
 
18158
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
18159
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
18160
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
18161
         X"$_am_arg" : 'X\(//\)$' \| \
 
18162
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
18163
$as_echo X"$_am_arg" |
23528
18164
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23529
18165
            s//\1/
23530
18166
            q
23544
18180
          s/.*/./; q'`/stamp-h$_am_stamp_count
23545
18181
 ;;
23546
18182
 
23547
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23548
 
echo "$as_me: executing $ac_file commands" >&6;}
 
18183
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
18184
$as_echo "$as_me: executing $ac_file commands" >&6;}
23549
18185
 ;;
23550
18186
  esac
23551
18187
 
23552
18188
 
23553
18189
  case $ac_file$ac_mode in
23554
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
23555
 
  # Strip MF so we end up with the name of the file.
23556
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
23557
 
  # Check whether this is an Automake generated Makefile or not.
23558
 
  # We used to match only the files named `Makefile.in', but
23559
 
  # some people rename them; so instead we look at the file content.
23560
 
  # Grep'ing the first line is not enough: some people post-process
23561
 
  # each Makefile.in and add a new line on top of each file to say so.
23562
 
  # Grep'ing the whole file is not good either: AIX grep has a line
23563
 
  # limit of 2048, but all sed's we know have understand at least 4000.
23564
 
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
23565
 
    dirpart=`$as_dirname -- "$mf" ||
 
18190
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
18191
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
18192
  # are listed without --file.  Let's play safe and only enable the eval
 
18193
  # if we detect the quoting.
 
18194
  case $CONFIG_FILES in
 
18195
  *\'*) eval set x "$CONFIG_FILES" ;;
 
18196
  *)   set x $CONFIG_FILES ;;
 
18197
  esac
 
18198
  shift
 
18199
  for mf
 
18200
  do
 
18201
    # Strip MF so we end up with the name of the file.
 
18202
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
18203
    # Check whether this is an Automake generated Makefile or not.
 
18204
    # We used to match only the files named `Makefile.in', but
 
18205
    # some people rename them; so instead we look at the file content.
 
18206
    # Grep'ing the first line is not enough: some people post-process
 
18207
    # each Makefile.in and add a new line on top of each file to say so.
 
18208
    # Grep'ing the whole file is not good either: AIX grep has a line
 
18209
    # limit of 2048, but all sed's we know have understand at least 4000.
 
18210
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
18211
      dirpart=`$as_dirname -- "$mf" ||
23566
18212
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23567
18213
         X"$mf" : 'X\(//\)[^/]' \| \
23568
18214
         X"$mf" : 'X\(//\)$' \| \
23569
18215
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23570
 
echo X"$mf" |
 
18216
$as_echo X"$mf" |
23571
18217
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23572
18218
            s//\1/
23573
18219
            q
23585
18231
            q
23586
18232
          }
23587
18233
          s/.*/./; q'`
23588
 
  else
23589
 
    continue
23590
 
  fi
23591
 
  # Extract the definition of DEPDIR, am__include, and am__quote
23592
 
  # from the Makefile without running `make'.
23593
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
23594
 
  test -z "$DEPDIR" && continue
23595
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
23596
 
  test -z "am__include" && continue
23597
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
23598
 
  # When using ansi2knr, U may be empty or an underscore; expand it
23599
 
  U=`sed -n 's/^U = //p' < "$mf"`
23600
 
  # Find all dependency output files, they are included files with
23601
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
23602
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
23603
 
  # expansion.
23604
 
  for file in `sed -n "
23605
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23606
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23607
 
    # Make sure the directory exists.
23608
 
    test -f "$dirpart/$file" && continue
23609
 
    fdir=`$as_dirname -- "$file" ||
 
18234
    else
 
18235
      continue
 
18236
    fi
 
18237
    # Extract the definition of DEPDIR, am__include, and am__quote
 
18238
    # from the Makefile without running `make'.
 
18239
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
18240
    test -z "$DEPDIR" && continue
 
18241
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
18242
    test -z "am__include" && continue
 
18243
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
18244
    # When using ansi2knr, U may be empty or an underscore; expand it
 
18245
    U=`sed -n 's/^U = //p' < "$mf"`
 
18246
    # Find all dependency output files, they are included files with
 
18247
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
18248
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
18249
    # expansion.
 
18250
    for file in `sed -n "
 
18251
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
18252
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
18253
      # Make sure the directory exists.
 
18254
      test -f "$dirpart/$file" && continue
 
18255
      fdir=`$as_dirname -- "$file" ||
23610
18256
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23611
18257
         X"$file" : 'X\(//\)[^/]' \| \
23612
18258
         X"$file" : 'X\(//\)$' \| \
23613
18259
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23614
 
echo X"$file" |
23615
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23616
 
            s//\1/
23617
 
            q
23618
 
          }
23619
 
          /^X\(\/\/\)[^/].*/{
23620
 
            s//\1/
23621
 
            q
23622
 
          }
23623
 
          /^X\(\/\/\)$/{
23624
 
            s//\1/
23625
 
            q
23626
 
          }
23627
 
          /^X\(\/\).*/{
23628
 
            s//\1/
23629
 
            q
23630
 
          }
23631
 
          s/.*/./; q'`
23632
 
    { as_dir=$dirpart/$fdir
23633
 
  case $as_dir in #(
23634
 
  -*) as_dir=./$as_dir;;
23635
 
  esac
23636
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23637
 
    as_dirs=
23638
 
    while :; do
23639
 
      case $as_dir in #(
23640
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23641
 
      *) as_qdir=$as_dir;;
23642
 
      esac
23643
 
      as_dirs="'$as_qdir' $as_dirs"
23644
 
      as_dir=`$as_dirname -- "$as_dir" ||
23645
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23646
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
23647
 
         X"$as_dir" : 'X\(//\)$' \| \
23648
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23649
 
echo X"$as_dir" |
23650
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23651
 
            s//\1/
23652
 
            q
23653
 
          }
23654
 
          /^X\(\/\/\)[^/].*/{
23655
 
            s//\1/
23656
 
            q
23657
 
          }
23658
 
          /^X\(\/\/\)$/{
23659
 
            s//\1/
23660
 
            q
23661
 
          }
23662
 
          /^X\(\/\).*/{
23663
 
            s//\1/
23664
 
            q
23665
 
          }
23666
 
          s/.*/./; q'`
23667
 
      test -d "$as_dir" && break
 
18260
$as_echo X"$file" |
 
18261
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
18262
            s//\1/
 
18263
            q
 
18264
          }
 
18265
          /^X\(\/\/\)[^/].*/{
 
18266
            s//\1/
 
18267
            q
 
18268
          }
 
18269
          /^X\(\/\/\)$/{
 
18270
            s//\1/
 
18271
            q
 
18272
          }
 
18273
          /^X\(\/\).*/{
 
18274
            s//\1/
 
18275
            q
 
18276
          }
 
18277
          s/.*/./; q'`
 
18278
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
18279
      # echo "creating $dirpart/$file"
 
18280
      echo '# dummy' > "$dirpart/$file"
23668
18281
    done
23669
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
23670
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23671
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
23672
 
   { (exit 1); exit 1; }; }; }
23673
 
    # echo "creating $dirpart/$file"
23674
 
    echo '# dummy' > "$dirpart/$file"
23675
18282
  done
23676
 
done
 
18283
}
23677
18284
 ;;
23678
 
    "Makefile":F)
23679
 
  sed -e "s,\`test -f \\\$< || echo '\\\$(srcdir)/'\`\\\$<,\\\$<," -e "s,\`test -f '\\\$<' || echo '\\\$(srcdir)/'\`\\\$<,\\\$<," < $ac_file > $ac_file.tmp
23680
 
  mv $ac_file.tmp $ac_file
23681
 
 
23682
 
 
23683
 
  sed -e '/@rm -f \$''@/d' < $ac_file > $ac_file.tmp
23684
 
  mv $ac_file.tmp $ac_file
 
18285
    "libtool":C)
 
18286
 
 
18287
    # See if we are running on zsh, and set the options which allow our
 
18288
    # commands through without removal of \ escapes.
 
18289
    if test -n "${ZSH_VERSION+set}" ; then
 
18290
      setopt NO_GLOB_SUBST
 
18291
    fi
 
18292
 
 
18293
    cfgfile="${ofile}T"
 
18294
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
18295
    $RM "$cfgfile"
 
18296
 
 
18297
    cat <<_LT_EOF >> "$cfgfile"
 
18298
#! $SHELL
 
18299
 
 
18300
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
18301
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
18302
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
18303
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
18304
#
 
18305
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
18306
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
18307
#   Written by Gordon Matzigkeit, 1996
 
18308
#
 
18309
#   This file is part of GNU Libtool.
 
18310
#
 
18311
# GNU Libtool is free software; you can redistribute it and/or
 
18312
# modify it under the terms of the GNU General Public License as
 
18313
# published by the Free Software Foundation; either version 2 of
 
18314
# the License, or (at your option) any later version.
 
18315
#
 
18316
# As a special exception to the GNU General Public License,
 
18317
# if you distribute this file as part of a program or library that
 
18318
# is built using GNU Libtool, you may include this file under the
 
18319
# same distribution terms that you use for the rest of that program.
 
18320
#
 
18321
# GNU Libtool is distributed in the hope that it will be useful,
 
18322
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
18323
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
18324
# GNU General Public License for more details.
 
18325
#
 
18326
# You should have received a copy of the GNU General Public License
 
18327
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
18328
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
18329
# obtained by writing to the Free Software Foundation, Inc.,
 
18330
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
18331
 
 
18332
 
 
18333
# The names of the tagged configurations supported by this script.
 
18334
available_tags="CXX "
 
18335
 
 
18336
# ### BEGIN LIBTOOL CONFIG
 
18337
 
 
18338
# Which release of libtool.m4 was used?
 
18339
macro_version=$macro_version
 
18340
macro_revision=$macro_revision
 
18341
 
 
18342
# Assembler program.
 
18343
AS=$AS
 
18344
 
 
18345
# DLL creation program.
 
18346
DLLTOOL=$DLLTOOL
 
18347
 
 
18348
# Object dumper program.
 
18349
OBJDUMP=$OBJDUMP
 
18350
 
 
18351
# Whether or not to build shared libraries.
 
18352
build_libtool_libs=$enable_shared
 
18353
 
 
18354
# Whether or not to build static libraries.
 
18355
build_old_libs=$enable_static
 
18356
 
 
18357
# What type of objects to build.
 
18358
pic_mode=$pic_mode
 
18359
 
 
18360
# Whether or not to optimize for fast installation.
 
18361
fast_install=$enable_fast_install
 
18362
 
 
18363
# The host system.
 
18364
host_alias=$host_alias
 
18365
host=$host
 
18366
host_os=$host_os
 
18367
 
 
18368
# The build system.
 
18369
build_alias=$build_alias
 
18370
build=$build
 
18371
build_os=$build_os
 
18372
 
 
18373
# A sed program that does not truncate output.
 
18374
SED=$lt_SED
 
18375
 
 
18376
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
18377
Xsed="\$SED -e 1s/^X//"
 
18378
 
 
18379
# A grep program that handles long lines.
 
18380
GREP=$lt_GREP
 
18381
 
 
18382
# An ERE matcher.
 
18383
EGREP=$lt_EGREP
 
18384
 
 
18385
# A literal string matcher.
 
18386
FGREP=$lt_FGREP
 
18387
 
 
18388
# A BSD- or MS-compatible name lister.
 
18389
NM=$lt_NM
 
18390
 
 
18391
# Whether we need soft or hard links.
 
18392
LN_S=$lt_LN_S
 
18393
 
 
18394
# What is the maximum length of a command?
 
18395
max_cmd_len=$max_cmd_len
 
18396
 
 
18397
# Object file suffix (normally "o").
 
18398
objext=$ac_objext
 
18399
 
 
18400
# Executable file suffix (normally "").
 
18401
exeext=$exeext
 
18402
 
 
18403
# whether the shell understands "unset".
 
18404
lt_unset=$lt_unset
 
18405
 
 
18406
# turn spaces into newlines.
 
18407
SP2NL=$lt_lt_SP2NL
 
18408
 
 
18409
# turn newlines into spaces.
 
18410
NL2SP=$lt_lt_NL2SP
 
18411
 
 
18412
# How to create reloadable object files.
 
18413
reload_flag=$lt_reload_flag
 
18414
reload_cmds=$lt_reload_cmds
 
18415
 
 
18416
# Method to check whether dependent libraries are shared objects.
 
18417
deplibs_check_method=$lt_deplibs_check_method
 
18418
 
 
18419
# Command to use when deplibs_check_method == "file_magic".
 
18420
file_magic_cmd=$lt_file_magic_cmd
 
18421
 
 
18422
# The archiver.
 
18423
AR=$lt_AR
 
18424
AR_FLAGS=$lt_AR_FLAGS
 
18425
 
 
18426
# A symbol stripping program.
 
18427
STRIP=$lt_STRIP
 
18428
 
 
18429
# Commands used to install an old-style archive.
 
18430
RANLIB=$lt_RANLIB
 
18431
old_postinstall_cmds=$lt_old_postinstall_cmds
 
18432
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
18433
 
 
18434
# A C compiler.
 
18435
LTCC=$lt_CC
 
18436
 
 
18437
# LTCC compiler flags.
 
18438
LTCFLAGS=$lt_CFLAGS
 
18439
 
 
18440
# Take the output of nm and produce a listing of raw symbols and C names.
 
18441
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
18442
 
 
18443
# Transform the output of nm in a proper C declaration.
 
18444
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
18445
 
 
18446
# Transform the output of nm in a C name address pair.
 
18447
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
18448
 
 
18449
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
18450
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
18451
 
 
18452
# The name of the directory that contains temporary libtool files.
 
18453
objdir=$objdir
 
18454
 
 
18455
# Shell to use when invoking shell scripts.
 
18456
SHELL=$lt_SHELL
 
18457
 
 
18458
# An echo program that does not interpret backslashes.
 
18459
ECHO=$lt_ECHO
 
18460
 
 
18461
# Used to examine libraries when file_magic_cmd begins with "file".
 
18462
MAGIC_CMD=$MAGIC_CMD
 
18463
 
 
18464
# Must we lock files when doing compilation?
 
18465
need_locks=$lt_need_locks
 
18466
 
 
18467
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
18468
DSYMUTIL=$lt_DSYMUTIL
 
18469
 
 
18470
# Tool to change global to local symbols on Mac OS X.
 
18471
NMEDIT=$lt_NMEDIT
 
18472
 
 
18473
# Tool to manipulate fat objects and archives on Mac OS X.
 
18474
LIPO=$lt_LIPO
 
18475
 
 
18476
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
18477
OTOOL=$lt_OTOOL
 
18478
 
 
18479
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
18480
OTOOL64=$lt_OTOOL64
 
18481
 
 
18482
# Old archive suffix (normally "a").
 
18483
libext=$libext
 
18484
 
 
18485
# Shared library suffix (normally ".so").
 
18486
shrext_cmds=$lt_shrext_cmds
 
18487
 
 
18488
# The commands to extract the exported symbol list from a shared archive.
 
18489
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
18490
 
 
18491
# Variables whose values should be saved in libtool wrapper scripts and
 
18492
# restored at link time.
 
18493
variables_saved_for_relink=$lt_variables_saved_for_relink
 
18494
 
 
18495
# Do we need the "lib" prefix for modules?
 
18496
need_lib_prefix=$need_lib_prefix
 
18497
 
 
18498
# Do we need a version for libraries?
 
18499
need_version=$need_version
 
18500
 
 
18501
# Library versioning type.
 
18502
version_type=$version_type
 
18503
 
 
18504
# Shared library runtime path variable.
 
18505
runpath_var=$runpath_var
 
18506
 
 
18507
# Shared library path variable.
 
18508
shlibpath_var=$shlibpath_var
 
18509
 
 
18510
# Is shlibpath searched before the hard-coded library search path?
 
18511
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
18512
 
 
18513
# Format of library name prefix.
 
18514
libname_spec=$lt_libname_spec
 
18515
 
 
18516
# List of archive names.  First name is the real one, the rest are links.
 
18517
# The last name is the one that the linker finds with -lNAME
 
18518
library_names_spec=$lt_library_names_spec
 
18519
 
 
18520
# The coded name of the library, if different from the real name.
 
18521
soname_spec=$lt_soname_spec
 
18522
 
 
18523
# Permission mode override for installation of shared libraries.
 
18524
install_override_mode=$lt_install_override_mode
 
18525
 
 
18526
# Command to use after installation of a shared archive.
 
18527
postinstall_cmds=$lt_postinstall_cmds
 
18528
 
 
18529
# Command to use after uninstallation of a shared archive.
 
18530
postuninstall_cmds=$lt_postuninstall_cmds
 
18531
 
 
18532
# Commands used to finish a libtool library installation in a directory.
 
18533
finish_cmds=$lt_finish_cmds
 
18534
 
 
18535
# As "finish_cmds", except a single script fragment to be evaled but
 
18536
# not shown.
 
18537
finish_eval=$lt_finish_eval
 
18538
 
 
18539
# Whether we should hardcode library paths into libraries.
 
18540
hardcode_into_libs=$hardcode_into_libs
 
18541
 
 
18542
# Compile-time system search path for libraries.
 
18543
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
18544
 
 
18545
# Run-time system search path for libraries.
 
18546
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
18547
 
 
18548
# Whether dlopen is supported.
 
18549
dlopen_support=$enable_dlopen
 
18550
 
 
18551
# Whether dlopen of programs is supported.
 
18552
dlopen_self=$enable_dlopen_self
 
18553
 
 
18554
# Whether dlopen of statically linked programs is supported.
 
18555
dlopen_self_static=$enable_dlopen_self_static
 
18556
 
 
18557
# Commands to strip libraries.
 
18558
old_striplib=$lt_old_striplib
 
18559
striplib=$lt_striplib
 
18560
 
 
18561
 
 
18562
# The linker used to build libraries.
 
18563
LD=$lt_LD
 
18564
 
 
18565
# Commands used to build an old-style archive.
 
18566
old_archive_cmds=$lt_old_archive_cmds
 
18567
 
 
18568
# A language specific compiler.
 
18569
CC=$lt_compiler
 
18570
 
 
18571
# Is the compiler the GNU compiler?
 
18572
with_gcc=$GCC
 
18573
 
 
18574
# Compiler flag to turn off builtin functions.
 
18575
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
18576
 
 
18577
# How to pass a linker flag through the compiler.
 
18578
wl=$lt_lt_prog_compiler_wl
 
18579
 
 
18580
# Additional compiler flags for building library objects.
 
18581
pic_flag=$lt_lt_prog_compiler_pic
 
18582
 
 
18583
# Compiler flag to prevent dynamic linking.
 
18584
link_static_flag=$lt_lt_prog_compiler_static
 
18585
 
 
18586
# Does compiler simultaneously support -c and -o options?
 
18587
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
18588
 
 
18589
# Whether or not to add -lc for building shared libraries.
 
18590
build_libtool_need_lc=$archive_cmds_need_lc
 
18591
 
 
18592
# Whether or not to disallow shared libs when runtime libs are static.
 
18593
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
18594
 
 
18595
# Compiler flag to allow reflexive dlopens.
 
18596
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
18597
 
 
18598
# Compiler flag to generate shared objects directly from archives.
 
18599
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
18600
 
 
18601
# Whether the compiler copes with passing no objects directly.
 
18602
compiler_needs_object=$lt_compiler_needs_object
 
18603
 
 
18604
# Create an old-style archive from a shared archive.
 
18605
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
18606
 
 
18607
# Create a temporary old-style archive to link instead of a shared archive.
 
18608
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
18609
 
 
18610
# Commands used to build a shared archive.
 
18611
archive_cmds=$lt_archive_cmds
 
18612
archive_expsym_cmds=$lt_archive_expsym_cmds
 
18613
 
 
18614
# Commands used to build a loadable module if different from building
 
18615
# a shared archive.
 
18616
module_cmds=$lt_module_cmds
 
18617
module_expsym_cmds=$lt_module_expsym_cmds
 
18618
 
 
18619
# Whether we are building with GNU ld or not.
 
18620
with_gnu_ld=$lt_with_gnu_ld
 
18621
 
 
18622
# Flag that allows shared libraries with undefined symbols to be built.
 
18623
allow_undefined_flag=$lt_allow_undefined_flag
 
18624
 
 
18625
# Flag that enforces no undefined symbols.
 
18626
no_undefined_flag=$lt_no_undefined_flag
 
18627
 
 
18628
# Flag to hardcode \$libdir into a binary during linking.
 
18629
# This must work even if \$libdir does not exist
 
18630
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
18631
 
 
18632
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
18633
# during linking.  This must work even if \$libdir does not exist.
 
18634
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
18635
 
 
18636
# Whether we need a single "-rpath" flag with a separated argument.
 
18637
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
18638
 
 
18639
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
18640
# DIR into the resulting binary.
 
18641
hardcode_direct=$hardcode_direct
 
18642
 
 
18643
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
18644
# DIR into the resulting binary and the resulting library dependency is
 
18645
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
18646
# library is relocated.
 
18647
hardcode_direct_absolute=$hardcode_direct_absolute
 
18648
 
 
18649
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
18650
# into the resulting binary.
 
18651
hardcode_minus_L=$hardcode_minus_L
 
18652
 
 
18653
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
18654
# into the resulting binary.
 
18655
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
18656
 
 
18657
# Set to "yes" if building a shared library automatically hardcodes DIR
 
18658
# into the library and all subsequent libraries and executables linked
 
18659
# against it.
 
18660
hardcode_automatic=$hardcode_automatic
 
18661
 
 
18662
# Set to yes if linker adds runtime paths of dependent libraries
 
18663
# to runtime path list.
 
18664
inherit_rpath=$inherit_rpath
 
18665
 
 
18666
# Whether libtool must link a program against all its dependency libraries.
 
18667
link_all_deplibs=$link_all_deplibs
 
18668
 
 
18669
# Fix the shell variable \$srcfile for the compiler.
 
18670
fix_srcfile_path=$lt_fix_srcfile_path
 
18671
 
 
18672
# Set to "yes" if exported symbols are required.
 
18673
always_export_symbols=$always_export_symbols
 
18674
 
 
18675
# The commands to list exported symbols.
 
18676
export_symbols_cmds=$lt_export_symbols_cmds
 
18677
 
 
18678
# Symbols that should not be listed in the preloaded symbols.
 
18679
exclude_expsyms=$lt_exclude_expsyms
 
18680
 
 
18681
# Symbols that must always be exported.
 
18682
include_expsyms=$lt_include_expsyms
 
18683
 
 
18684
# Commands necessary for linking programs (against libraries) with templates.
 
18685
prelink_cmds=$lt_prelink_cmds
 
18686
 
 
18687
# Specify filename containing input files.
 
18688
file_list_spec=$lt_file_list_spec
 
18689
 
 
18690
# How to hardcode a shared library path into an executable.
 
18691
hardcode_action=$hardcode_action
 
18692
 
 
18693
# The directories searched by this compiler when creating a shared library.
 
18694
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
 
18695
 
 
18696
# Dependencies to place before and after the objects being linked to
 
18697
# create a shared library.
 
18698
predep_objects=$lt_predep_objects
 
18699
postdep_objects=$lt_postdep_objects
 
18700
predeps=$lt_predeps
 
18701
postdeps=$lt_postdeps
 
18702
 
 
18703
# The library search path used internally by the compiler when linking
 
18704
# a shared library.
 
18705
compiler_lib_search_path=$lt_compiler_lib_search_path
 
18706
 
 
18707
# ### END LIBTOOL CONFIG
 
18708
 
 
18709
_LT_EOF
 
18710
 
 
18711
  case $host_os in
 
18712
  aix3*)
 
18713
    cat <<\_LT_EOF >> "$cfgfile"
 
18714
# AIX sometimes has problems with the GCC collect2 program.  For some
 
18715
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
18716
# vanish in a puff of smoke.
 
18717
if test "X${COLLECT_NAMES+set}" != Xset; then
 
18718
  COLLECT_NAMES=
 
18719
  export COLLECT_NAMES
 
18720
fi
 
18721
_LT_EOF
 
18722
    ;;
 
18723
  esac
 
18724
 
 
18725
 
 
18726
ltmain="$ac_aux_dir/ltmain.sh"
 
18727
 
 
18728
 
 
18729
  # We use sed instead of cat because bash on DJGPP gets confused if
 
18730
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
18731
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
18732
  # is reportedly fixed, but why not run on old versions too?
 
18733
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
18734
    || (rm -f "$cfgfile"; exit 1)
 
18735
 
 
18736
  case $xsi_shell in
 
18737
  yes)
 
18738
    cat << \_LT_EOF >> "$cfgfile"
 
18739
 
 
18740
# func_dirname file append nondir_replacement
 
18741
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
18742
# otherwise set result to NONDIR_REPLACEMENT.
 
18743
func_dirname ()
 
18744
{
 
18745
  case ${1} in
 
18746
    */*) func_dirname_result="${1%/*}${2}" ;;
 
18747
    *  ) func_dirname_result="${3}" ;;
 
18748
  esac
 
18749
}
 
18750
 
 
18751
# func_basename file
 
18752
func_basename ()
 
18753
{
 
18754
  func_basename_result="${1##*/}"
 
18755
}
 
18756
 
 
18757
# func_dirname_and_basename file append nondir_replacement
 
18758
# perform func_basename and func_dirname in a single function
 
18759
# call:
 
18760
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
18761
#             add APPEND to the result, otherwise set result
 
18762
#             to NONDIR_REPLACEMENT.
 
18763
#             value returned in "$func_dirname_result"
 
18764
#   basename: Compute filename of FILE.
 
18765
#             value retuned in "$func_basename_result"
 
18766
# Implementation must be kept synchronized with func_dirname
 
18767
# and func_basename. For efficiency, we do not delegate to
 
18768
# those functions but instead duplicate the functionality here.
 
18769
func_dirname_and_basename ()
 
18770
{
 
18771
  case ${1} in
 
18772
    */*) func_dirname_result="${1%/*}${2}" ;;
 
18773
    *  ) func_dirname_result="${3}" ;;
 
18774
  esac
 
18775
  func_basename_result="${1##*/}"
 
18776
}
 
18777
 
 
18778
# func_stripname prefix suffix name
 
18779
# strip PREFIX and SUFFIX off of NAME.
 
18780
# PREFIX and SUFFIX must not contain globbing or regex special
 
18781
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
18782
# dot (in which case that matches only a dot).
 
18783
func_stripname ()
 
18784
{
 
18785
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
18786
  # positional parameters, so assign one to ordinary parameter first.
 
18787
  func_stripname_result=${3}
 
18788
  func_stripname_result=${func_stripname_result#"${1}"}
 
18789
  func_stripname_result=${func_stripname_result%"${2}"}
 
18790
}
 
18791
 
 
18792
# func_opt_split
 
18793
func_opt_split ()
 
18794
{
 
18795
  func_opt_split_opt=${1%%=*}
 
18796
  func_opt_split_arg=${1#*=}
 
18797
}
 
18798
 
 
18799
# func_lo2o object
 
18800
func_lo2o ()
 
18801
{
 
18802
  case ${1} in
 
18803
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
18804
    *)    func_lo2o_result=${1} ;;
 
18805
  esac
 
18806
}
 
18807
 
 
18808
# func_xform libobj-or-source
 
18809
func_xform ()
 
18810
{
 
18811
  func_xform_result=${1%.*}.lo
 
18812
}
 
18813
 
 
18814
# func_arith arithmetic-term...
 
18815
func_arith ()
 
18816
{
 
18817
  func_arith_result=$(( $* ))
 
18818
}
 
18819
 
 
18820
# func_len string
 
18821
# STRING may not start with a hyphen.
 
18822
func_len ()
 
18823
{
 
18824
  func_len_result=${#1}
 
18825
}
 
18826
 
 
18827
_LT_EOF
 
18828
    ;;
 
18829
  *) # Bourne compatible functions.
 
18830
    cat << \_LT_EOF >> "$cfgfile"
 
18831
 
 
18832
# func_dirname file append nondir_replacement
 
18833
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
18834
# otherwise set result to NONDIR_REPLACEMENT.
 
18835
func_dirname ()
 
18836
{
 
18837
  # Extract subdirectory from the argument.
 
18838
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
18839
  if test "X$func_dirname_result" = "X${1}"; then
 
18840
    func_dirname_result="${3}"
 
18841
  else
 
18842
    func_dirname_result="$func_dirname_result${2}"
 
18843
  fi
 
18844
}
 
18845
 
 
18846
# func_basename file
 
18847
func_basename ()
 
18848
{
 
18849
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
18850
}
 
18851
 
 
18852
 
 
18853
# func_stripname prefix suffix name
 
18854
# strip PREFIX and SUFFIX off of NAME.
 
18855
# PREFIX and SUFFIX must not contain globbing or regex special
 
18856
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
18857
# dot (in which case that matches only a dot).
 
18858
# func_strip_suffix prefix name
 
18859
func_stripname ()
 
18860
{
 
18861
  case ${2} in
 
18862
    .*) func_stripname_result=`$ECHO "X${3}" \
 
18863
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
18864
    *)  func_stripname_result=`$ECHO "X${3}" \
 
18865
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
18866
  esac
 
18867
}
 
18868
 
 
18869
# sed scripts:
 
18870
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
18871
my_sed_long_arg='1s/^-[^=]*=//'
 
18872
 
 
18873
# func_opt_split
 
18874
func_opt_split ()
 
18875
{
 
18876
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
18877
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
18878
}
 
18879
 
 
18880
# func_lo2o object
 
18881
func_lo2o ()
 
18882
{
 
18883
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
18884
}
 
18885
 
 
18886
# func_xform libobj-or-source
 
18887
func_xform ()
 
18888
{
 
18889
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
18890
}
 
18891
 
 
18892
# func_arith arithmetic-term...
 
18893
func_arith ()
 
18894
{
 
18895
  func_arith_result=`expr "$@"`
 
18896
}
 
18897
 
 
18898
# func_len string
 
18899
# STRING may not start with a hyphen.
 
18900
func_len ()
 
18901
{
 
18902
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
18903
}
 
18904
 
 
18905
_LT_EOF
 
18906
esac
 
18907
 
 
18908
case $lt_shell_append in
 
18909
  yes)
 
18910
    cat << \_LT_EOF >> "$cfgfile"
 
18911
 
 
18912
# func_append var value
 
18913
# Append VALUE to the end of shell variable VAR.
 
18914
func_append ()
 
18915
{
 
18916
  eval "$1+=\$2"
 
18917
}
 
18918
_LT_EOF
 
18919
    ;;
 
18920
  *)
 
18921
    cat << \_LT_EOF >> "$cfgfile"
 
18922
 
 
18923
# func_append var value
 
18924
# Append VALUE to the end of shell variable VAR.
 
18925
func_append ()
 
18926
{
 
18927
  eval "$1=\$$1\$2"
 
18928
}
 
18929
 
 
18930
_LT_EOF
 
18931
    ;;
 
18932
  esac
 
18933
 
 
18934
 
 
18935
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
18936
    || (rm -f "$cfgfile"; exit 1)
 
18937
 
 
18938
  mv -f "$cfgfile" "$ofile" ||
 
18939
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
18940
  chmod +x "$ofile"
 
18941
 
 
18942
 
 
18943
    cat <<_LT_EOF >> "$ofile"
 
18944
 
 
18945
# ### BEGIN LIBTOOL TAG CONFIG: CXX
 
18946
 
 
18947
# The linker used to build libraries.
 
18948
LD=$lt_LD_CXX
 
18949
 
 
18950
# Commands used to build an old-style archive.
 
18951
old_archive_cmds=$lt_old_archive_cmds_CXX
 
18952
 
 
18953
# A language specific compiler.
 
18954
CC=$lt_compiler_CXX
 
18955
 
 
18956
# Is the compiler the GNU compiler?
 
18957
with_gcc=$GCC_CXX
 
18958
 
 
18959
# Compiler flag to turn off builtin functions.
 
18960
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
 
18961
 
 
18962
# How to pass a linker flag through the compiler.
 
18963
wl=$lt_lt_prog_compiler_wl_CXX
 
18964
 
 
18965
# Additional compiler flags for building library objects.
 
18966
pic_flag=$lt_lt_prog_compiler_pic_CXX
 
18967
 
 
18968
# Compiler flag to prevent dynamic linking.
 
18969
link_static_flag=$lt_lt_prog_compiler_static_CXX
 
18970
 
 
18971
# Does compiler simultaneously support -c and -o options?
 
18972
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
 
18973
 
 
18974
# Whether or not to add -lc for building shared libraries.
 
18975
build_libtool_need_lc=$archive_cmds_need_lc_CXX
 
18976
 
 
18977
# Whether or not to disallow shared libs when runtime libs are static.
 
18978
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
 
18979
 
 
18980
# Compiler flag to allow reflexive dlopens.
 
18981
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
 
18982
 
 
18983
# Compiler flag to generate shared objects directly from archives.
 
18984
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
 
18985
 
 
18986
# Whether the compiler copes with passing no objects directly.
 
18987
compiler_needs_object=$lt_compiler_needs_object_CXX
 
18988
 
 
18989
# Create an old-style archive from a shared archive.
 
18990
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
 
18991
 
 
18992
# Create a temporary old-style archive to link instead of a shared archive.
 
18993
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
 
18994
 
 
18995
# Commands used to build a shared archive.
 
18996
archive_cmds=$lt_archive_cmds_CXX
 
18997
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
 
18998
 
 
18999
# Commands used to build a loadable module if different from building
 
19000
# a shared archive.
 
19001
module_cmds=$lt_module_cmds_CXX
 
19002
module_expsym_cmds=$lt_module_expsym_cmds_CXX
 
19003
 
 
19004
# Whether we are building with GNU ld or not.
 
19005
with_gnu_ld=$lt_with_gnu_ld_CXX
 
19006
 
 
19007
# Flag that allows shared libraries with undefined symbols to be built.
 
19008
allow_undefined_flag=$lt_allow_undefined_flag_CXX
 
19009
 
 
19010
# Flag that enforces no undefined symbols.
 
19011
no_undefined_flag=$lt_no_undefined_flag_CXX
 
19012
 
 
19013
# Flag to hardcode \$libdir into a binary during linking.
 
19014
# This must work even if \$libdir does not exist
 
19015
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
 
19016
 
 
19017
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
19018
# during linking.  This must work even if \$libdir does not exist.
 
19019
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
 
19020
 
 
19021
# Whether we need a single "-rpath" flag with a separated argument.
 
19022
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
 
19023
 
 
19024
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
19025
# DIR into the resulting binary.
 
19026
hardcode_direct=$hardcode_direct_CXX
 
19027
 
 
19028
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
19029
# DIR into the resulting binary and the resulting library dependency is
 
19030
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
19031
# library is relocated.
 
19032
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
 
19033
 
 
19034
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
19035
# into the resulting binary.
 
19036
hardcode_minus_L=$hardcode_minus_L_CXX
 
19037
 
 
19038
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
19039
# into the resulting binary.
 
19040
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
 
19041
 
 
19042
# Set to "yes" if building a shared library automatically hardcodes DIR
 
19043
# into the library and all subsequent libraries and executables linked
 
19044
# against it.
 
19045
hardcode_automatic=$hardcode_automatic_CXX
 
19046
 
 
19047
# Set to yes if linker adds runtime paths of dependent libraries
 
19048
# to runtime path list.
 
19049
inherit_rpath=$inherit_rpath_CXX
 
19050
 
 
19051
# Whether libtool must link a program against all its dependency libraries.
 
19052
link_all_deplibs=$link_all_deplibs_CXX
 
19053
 
 
19054
# Fix the shell variable \$srcfile for the compiler.
 
19055
fix_srcfile_path=$lt_fix_srcfile_path_CXX
 
19056
 
 
19057
# Set to "yes" if exported symbols are required.
 
19058
always_export_symbols=$always_export_symbols_CXX
 
19059
 
 
19060
# The commands to list exported symbols.
 
19061
export_symbols_cmds=$lt_export_symbols_cmds_CXX
 
19062
 
 
19063
# Symbols that should not be listed in the preloaded symbols.
 
19064
exclude_expsyms=$lt_exclude_expsyms_CXX
 
19065
 
 
19066
# Symbols that must always be exported.
 
19067
include_expsyms=$lt_include_expsyms_CXX
 
19068
 
 
19069
# Commands necessary for linking programs (against libraries) with templates.
 
19070
prelink_cmds=$lt_prelink_cmds_CXX
 
19071
 
 
19072
# Specify filename containing input files.
 
19073
file_list_spec=$lt_file_list_spec_CXX
 
19074
 
 
19075
# How to hardcode a shared library path into an executable.
 
19076
hardcode_action=$hardcode_action_CXX
 
19077
 
 
19078
# The directories searched by this compiler when creating a shared library.
 
19079
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
 
19080
 
 
19081
# Dependencies to place before and after the objects being linked to
 
19082
# create a shared library.
 
19083
predep_objects=$lt_predep_objects_CXX
 
19084
postdep_objects=$lt_postdep_objects_CXX
 
19085
predeps=$lt_predeps_CXX
 
19086
postdeps=$lt_postdeps_CXX
 
19087
 
 
19088
# The library search path used internally by the compiler when linking
 
19089
# a shared library.
 
19090
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
 
19091
 
 
19092
# ### END LIBTOOL TAG CONFIG: CXX
 
19093
_LT_EOF
 
19094
 
23685
19095
 ;;
23686
19096
 
23687
19097
  esac
23688
19098
done # for ac_tag
23689
19099
 
23690
19100
 
23691
 
{ (exit 0); exit 0; }
 
19101
as_fn_exit 0
23692
19102
_ACEOF
23693
 
chmod +x $CONFIG_STATUS
23694
19103
ac_clean_files=$ac_clean_files_save
23695
19104
 
 
19105
test $ac_write_fail = 0 ||
 
19106
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
19107
 
23696
19108
 
23697
19109
# configure is writing to config.log, and then calls config.status.
23698
19110
# config.status does its own redirection, appending to config.log.
23712
19124
  exec 5>>config.log
23713
19125
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23714
19126
  # would make configure fail if this is the last instruction.
23715
 
  $ac_cs_success || { (exit 1); exit 1; }
 
19127
  $ac_cs_success || as_fn_exit $?
 
19128
fi
 
19129
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
19130
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
19131
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23716
19132
fi
23717
19133